Gerald 9 лет назад
Родитель
Сommit
671f8e115d

+ 2 - 2
README.md

@@ -11,8 +11,8 @@ Language localization
 
 * If you are working with an existed locale file, the newly added items will
   have empty `message`s.
-  You may then check out `src/_locales/en/messages.yml` for the English version
-  and translate it.
+  You may then check out `src/_locales/en/messages.yml` for the English version and
+  translate it, or just leave it blank to use the English version as a fallback.
 
 Development
 ---

+ 2 - 2
src/_locales/cs/messages.yml

@@ -149,7 +149,7 @@ labelRelated:
   message: 'Související odkazy: '
 anchorSupportPage:
   description: Link to the support page of Violentmonkey.
-  message: '<a href=https://github.com/gera2ld/Violentmonkey/wiki target=_blank>Violentmonkey</a>'
+  message: ''
 labelDonate:
   description: Label of link to donate page.
   message: Přispět
@@ -161,7 +161,7 @@ labelAuthor:
   message: 'Autor: '
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: ''
 labelTranslator:
   description: Label of translator.
   message: 'Překladatel: '

+ 2 - 2
src/_locales/de/messages.yml

@@ -149,7 +149,7 @@ labelRelated:
   message: 'Links: '
 anchorSupportPage:
   description: Link to the support page of Violentmonkey.
-  message: '<a href=https://github.com/gera2ld/Violentmonkey/wiki target=_blank>Violentmonkey</a>'
+  message: ''
 labelDonate:
   description: Label of link to donate page.
   message: Spenden
@@ -161,7 +161,7 @@ labelAuthor:
   message: 'Autor: '
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: ''
 labelTranslator:
   description: Label of translator.
   message: 'Übersetzer: '

+ 4 - 4
src/_locales/en/messages.yml

@@ -6,7 +6,7 @@ extDescription:
   message: Userscript support for Opera.
 extTranslator:
   description: Information of the translator.
-  message: 'Gerald <[email protected]>'
+  message: 'Gerald <[email protected]>'
   touched: false
 msgUpdated:
   description: Message shown when a script is updated/reinstalled.
@@ -149,7 +149,7 @@ labelRelated:
   message: 'Related links: '
 anchorSupportPage:
   description: Link to the support page of Violentmonkey.
-  message: '<a href=https://github.com/Violentmonkey/Violentmonkey/wiki target=_blank>Violentmonkey</a>'
+  message: '<a href=https://violentmonkey.github.io/violentmonkey/ target=_blank>Violentmonkey</a>'
 labelDonate:
   description: Label of link to donate page.
   message: Donate
@@ -161,13 +161,13 @@ labelAuthor:
   message: 'Author: '
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: '<a href=mailto:[email protected]>Gerald</a>'
 labelTranslator:
   description: Label of translator.
   message: 'Translator: '
 anchorTranslator:
   description: Translator shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: '<a href=mailto:[email protected]>Gerald</a>'
 labelCurrentLang:
   description: Label of current language.
   message: 'Current Language: '

+ 2 - 2
src/_locales/pl/messages.yml

@@ -149,7 +149,7 @@ labelRelated:
   message: 'Related links: '
 anchorSupportPage:
   description: Link to the support page of Violentmonkey.
-  message: '<a href=https://github.com/gera2ld/Violentmonkey/wiki target=_blank>Violentmonkey</a>'
+  message: ''
 labelDonate:
   description: Label of link to donate page.
   message: Dotacja
@@ -161,7 +161,7 @@ labelAuthor:
   message: 'Autor: '
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: ''
 labelTranslator:
   description: Label of translator.
   message: 'Tłumacze: '

+ 2 - 2
src/_locales/ru/messages.yml

@@ -149,7 +149,7 @@ labelRelated:
   message: 'Связанные ссылки: '
 anchorSupportPage:
   description: Link to the support page of Violentmonkey.
-  message: '<a href=https://github.com/gera2ld/Violentmonkey/wiki target=_blank>Violentmonkey</a>'
+  message: ''
 labelDonate:
   description: Label of link to donate page.
   message: Пожертвовать
@@ -161,7 +161,7 @@ labelAuthor:
   message: 'Автор: '
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: ''
 labelTranslator:
   description: Label of translator.
   message: 'Переводчик: '

+ 3 - 3
src/_locales/zh/messages.yml

@@ -6,7 +6,7 @@ extDescription:
   message: 为Opera提供用户脚本支持。
 extTranslator:
   description: Information of the translator.
-  message: 'Gerald <[email protected]>'
+  message: 'Gerald <[email protected]>'
   touched: false
 msgUpdated:
   description: Message shown when a script is updated/reinstalled.
@@ -161,13 +161,13 @@ labelAuthor:
   message: 作者:
 anchorAuthor:
   description: Author shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: ''
 labelTranslator:
   description: Label of translator.
   message: 翻译者:
 anchorTranslator:
   description: Translator shown on about tab.
-  message: '<a href=mailto:[email protected]>Gerald</a>'
+  message: '<a href=mailto:[email protected]>Gerald</a>'
 labelCurrentLang:
   description: Label of current language.
   message: 当前语言:

+ 2 - 2
src/options/templates/tab-about.html

@@ -8,7 +8,7 @@
     <label data-i18n=labelRelated></label>
     <span data-i18n=anchorSupportPage></span> |
     <a href=http://gerald.top/donate target=_blank data-i18n=labelDonate></a> |
-    <a href=https://github.com/Violentmonkey/Violentmonkey/issues target=_blank data-i18n=labelFeedback></a>
+    <a href=https://github.com/violentmonkey/violentmonkey/issues target=_blank data-i18n=labelFeedback></a>
   </div>
   <div class=line>
     <label data-i18n=labelAuthor></label>
@@ -21,7 +21,7 @@
   <div class=line>
     <label data-i18n=labelCurrentLang></label>
     <span id="currentLang"><%= navigator.language %></span> |
-    <a href=http://cotrans.geraldl.net target=_blank>
+    <a href=https://violentmonkey.github.io/localization.html target=_blank>
       Help with translation
       <i class="fa fa-language"></i>
     </a>