瀏覽代碼

Added new js function for getting translations needed
changed strings that had quotes in them
updated ombi triangles - thanks burry

causefx 7 年之前
父節點
當前提交
43b0e36eb5
共有 5 個文件被更改,包括 22 次插入8 次删除
  1. 3 3
      api/functions/organizr-functions.php
  2. 16 4
      css/organizr.css
  3. 0 0
      css/organizr.min.css
  4. 1 0
      js/functions.js
  5. 2 1
      js/jquery-lang.js

+ 3 - 3
api/functions/organizr-functions.php

@@ -1035,12 +1035,12 @@ function getCustomizeAppearance()
 						<div class="panel-wrapper collapse in">
 							<div class="panel-body">
 								<ul class="list-icons">
-									<li lang="en"><i class="fa fa-caret-right text-info"></i> Click "Select your Favicon picture"</li>
+									<li lang="en"><i class="fa fa-caret-right text-info"></i> Click [Select your Favicon picture]</li>
 									<li lang="en"><i class="fa fa-caret-right text-info"></i> Choose your image to use</li>
 									<li lang="en"><i class="fa fa-caret-right text-info"></i> Edit settings to your liking</li>
-									<li lang="en"><i class="fa fa-caret-right text-info"></i> At bottom of page on "Favicon Generator Options" under "Path" choose "I cannot or I do not want to place favicon files at the root of my web site."</li>
+									<li lang="en"><i class="fa fa-caret-right text-info"></i> At bottom of page on [Favicon Generator Options] under [Path] choose [I cannot or I do not want to place favicon files at the root of my web site.]</li>
 									<li lang="en"><i class="fa fa-caret-right text-info"></i> Enter this path <code>plugins/images/faviconCustom</code></li>
-									<li lang="en"><i class="fa fa-caret-right text-info"></i> Click "Generate your Favicons and HTML code"</li>
+									<li lang="en"><i class="fa fa-caret-right text-info"></i> Click [Generate your Favicons and HTML code]</li>
 									<li lang="en"><i class="fa fa-caret-right text-info"></i> Download and unzip file and place in <code>plugins/images/faviconCustom</code></li>
 									<li lang="en"><i class="fa fa-caret-right text-info"></i> Copy code and paste inside left box</li>
 								</ul>

+ 16 - 4
css/organizr.css

@@ -423,6 +423,18 @@ th.fc-list-header > .fc-list-heading-alt {
     overflow: hidden;
     width: 32px;
     height: 32px;
+    transition: all .2s ease;
+    z-index: 1;
+}
+/* thanks burry */
+.item:hover .inside-over-request-div {
+    opacity: 0;
+    top: -60px;
+}
+
+.item:hover .inside-request-div {
+    opacity: 0;
+    top: -46px;
 }
 
 .inside-request-div {
@@ -464,7 +476,7 @@ th.fc-list-header > .fc-list-heading-alt {
 .hover-homepage-item:hover {
     background: radial-gradient(farthest-corner at 50% 50%, rgba(50, 50, 50, .5) 50%, #323232 100%);
     opacity: 1;
-    transition: linear .5s;
+    transition: linear .2s;
 }
 
 .hover-homepage-item {
@@ -526,9 +538,9 @@ input#inviteCodeInput {
     -ms-transform: perspective(2.5em) rotateX(15deg) scaleY(0.8);
     -o-transform: perspective(2.5em) rotateX(15deg) scaleY(0.8);
     transform: perspective(2.5em) rotateX(15deg) scaleY(0.8);
-    -webkit-transition: all 0.5s;
-    -moz-transition: all 0.5s;
-    transition: all 0.5s;
+    -webkit-transition: all 0.2s;
+    -moz-transition: all 0.2s;
+    transition: all 0.2s;
     display: inline-block;
     text-align: center;
     text-transform: uppercase;

File diff suppressed because it is too large
+ 0 - 0
css/organizr.min.css


+ 1 - 0
js/functions.js

@@ -1,5 +1,6 @@
 // Create language switcher instance
 var lang = new Lang();
+var langStrings = { "token": {} };
 loadLanguageList();
 lang.init({
 	defaultLang: 'en',

+ 2 - 1
js/jquery-lang.js

@@ -603,7 +603,8 @@
 
                 if (!translation) {
                     if (console && console.log) {
-                        console.log('Translation for "' + text + '" not found in language pack: ' + lang);
+                        console.log('Translation for "' + text + '" not found in language pack: ' + lang + ' Type or copy this string into this console to get a full strings missing output: console.log(JSON.stringify(langStrings))');
+                        langStrings['token'][text] = text;
                     }
                 }
 

Some files were not shown because too many files changed in this diff