Просмотр исходного кода

Merge branch 'master' of https://github.com/gera2ld/Violentmonkey

Gerald 11 лет назад
Родитель
Сommit
8fdb6cc479
7 измененных файлов с 25 добавлено и 25 удалено
  1. 2 2
      _locales/cs/messages.json
  2. 4 4
      _locales/en/messages.json
  3. 12 12
      _locales/pl/messages.json
  4. 2 2
      _locales/ru/messages.json
  5. 3 3
      _locales/zh/messages.json
  6. 1 1
      options.html
  7. 1 1
      options.js

+ 2 - 2
_locales/cs/messages.json

@@ -139,7 +139,7 @@
 		"message": "Importovat ze souboru zip",
 		"message": "Importovat ze souboru zip",
 		"description": "Button to choose a file for data import."
 		"description": "Button to choose a file for data import."
 	},
 	},
-	"buttonVacuumData": {
+	"buttonVacuum": {
 		"message": "Vyprázdnit data",
 		"message": "Vyprázdnit data",
 		"description": "Button to vacuum extension data."
 		"description": "Button to vacuum extension data."
 	},
 	},
@@ -311,7 +311,7 @@
 		"message": "Čištení dat...",
 		"message": "Čištení dat...",
 		"description": "Message shown when data vacuum is in progress."
 		"description": "Message shown when data vacuum is in progress."
 	},
 	},
-	"hintVacuumData": {
+	"hintVacuum": {
 		"message": "Zbavit se nadbytečného a zkusit znovu načíst chybějící zdroje v cache.",
 		"message": "Zbavit se nadbytečného a zkusit znovu načíst chybějící zdroje v cache.",
 		"description": "Hint for vacuuming data."
 		"description": "Hint for vacuuming data."
 	},
 	},

+ 4 - 4
_locales/en/messages.json

@@ -139,8 +139,8 @@
 		"message": "Import from zip",
 		"message": "Import from zip",
 		"description": "Button to choose a file for data import."
 		"description": "Button to choose a file for data import."
 	},
 	},
-	"buttonVacuumData": {
-		"message": "Vacuum data",
+	"buttonVacuum": {
+		"message": "Vacuum database",
 		"description": "Button to vacuum extension data."
 		"description": "Button to vacuum extension data."
 	},
 	},
 	"labelDataExport": {
 	"labelDataExport": {
@@ -311,7 +311,7 @@
 		"message": "Vacuuming data...",
 		"message": "Vacuuming data...",
 		"description": "Message shown when data vacuum is in progress."
 		"description": "Message shown when data vacuum is in progress."
 	},
 	},
-	"hintVacuumData": {
+	"hintVacuum": {
 		"message": "Discard the redundancy and try to reload the missing resources in cache.",
 		"message": "Discard the redundancy and try to reload the missing resources in cache.",
 		"description": "Hint for vacuuming data."
 		"description": "Hint for vacuuming data."
 	},
 	},
@@ -355,4 +355,4 @@
 		"message": "All",
 		"message": "All",
 		"description": "Button to replace all matches."
 		"description": "Button to replace all matches."
 	}
 	}
-}
+}

+ 12 - 12
_locales/pl/messages.json

@@ -64,7 +64,7 @@
 		"description": "Button to close window."
 		"description": "Button to close window."
 	},
 	},
 	"msgScriptURL": {
 	"msgScriptURL": {
-		"message": "Skrypt URL: $1",
+		"message": "Adres URL skryptu: $1",
 		"description": "URL of the script to be installed on confirm page."
 		"description": "URL of the script to be installed on confirm page."
 	},
 	},
 	"msgErrorLoadingJS": {
 	"msgErrorLoadingJS": {
@@ -80,11 +80,11 @@
 		"description": "Message shown on confirm page when the script to be installed is loading."
 		"description": "Message shown on confirm page when the script to be installed is loading."
 	},
 	},
 	"msgLoadingRequirements": {
 	"msgLoadingRequirements": {
-		"message": "Wymagania ładowania... ($1/$2)",
+		"message": "Wczytywanie wymagań... ($1/$2)",
 		"description": "Message shown on confirm page when the requirements are being downloaded."
 		"description": "Message shown on confirm page when the requirements are being downloaded."
 	},
 	},
 	"msgErrorLoadingRequirements": {
 	"msgErrorLoadingRequirements": {
-		"message": "Błąd podczas ładowania wymagania.",
+		"message": "Błąd podczas wczytywania wymagań.",
 		"description": "Message shown when not all requirements are loaded successfully."
 		"description": "Message shown when not all requirements are loaded successfully."
 	},
 	},
 	"anchorGetMoreScripts": {
 	"anchorGetMoreScripts": {
@@ -108,7 +108,7 @@
 		"description": "Button to create a new script."
 		"description": "Button to create a new script."
 	},
 	},
 	"anchorUpdateAll": {
 	"anchorUpdateAll": {
-		"message": "Sprawdź aktualizacje dla wszystkich",
+		"message": "Sprawdź aktualizacje dla wszystkich skryptów",
 		"description": "Check all scripts for updates."
 		"description": "Check all scripts for updates."
 	},
 	},
 	"msgLoading": {
 	"msgLoading": {
@@ -139,7 +139,7 @@
 		"message": "Importuj z pliku zip",
 		"message": "Importuj z pliku zip",
 		"description": "Button to choose a file for data import."
 		"description": "Button to choose a file for data import."
 	},
 	},
-	"buttonVacuumData": {
+	"buttonVacuum": {
 		"message": "Wyczyść dane",
 		"message": "Wyczyść dane",
 		"description": "Button to vacuum extension data."
 		"description": "Button to vacuum extension data."
 	},
 	},
@@ -176,7 +176,7 @@
 		"description": "Link to the support page of Violentmonkey."
 		"description": "Link to the support page of Violentmonkey."
 	},
 	},
 	"labelAuthor": {
 	"labelAuthor": {
-		"message": "Autor skryptu: ",
+		"message": "Autor: ",
 		"description": "Label of author shown in the details of a script."
 		"description": "Label of author shown in the details of a script."
 	},
 	},
 	"anchorAuthor": {
 	"anchorAuthor": {
@@ -196,7 +196,7 @@
 		"description": "Shown in the title of the script editing page."
 		"description": "Shown in the title of the script editing page."
 	},
 	},
 	"buttonCustomMeta": {
 	"buttonCustomMeta": {
-		"message": "Własne dane meta",
+		"message": "Własne metadane",
 		"description": "Button to edit the custom meta data of a script."
 		"description": "Button to edit the custom meta data of a script."
 	},
 	},
 	"labelName": {
 	"labelName": {
@@ -204,7 +204,7 @@
 		"description": "Label of script name."
 		"description": "Label of script name."
 	},
 	},
 	"labelRunAt": {
 	"labelRunAt": {
-		"message": "Uruchom gdy:",
+		"message": "Uruchom podczas:",
 		"description": "Label of script @run-at properties in custom meta data."
 		"description": "Label of script @run-at properties in custom meta data."
 	},
 	},
 	"labelRunAtDefault": {
 	"labelRunAtDefault": {
@@ -260,7 +260,7 @@
 		"description": "Label of custom @exclude rules."
 		"description": "Label of custom @exclude rules."
 	},
 	},
 	"labelAllowUpdate": {
 	"labelAllowUpdate": {
-		"message": "Zezwól na aktualizacje",
+		"message": "Zezwalaj na aktualizacje",
 		"description": "Option to allow checking updates for a script."
 		"description": "Option to allow checking updates for a script."
 	},
 	},
 	"buttonSave": {
 	"buttonSave": {
@@ -296,7 +296,7 @@
 		"description": "Check a script for updates."
 		"description": "Check a script for updates."
 	},
 	},
 	"confirmNotSaved": {
 	"confirmNotSaved": {
-		"message": "Modyfikacje nie zostały zapisane! Kliknij OK aby wyjść lub Anuluj aby zostać.",
+		"message": "Modyfikacje nie zostały zapisane! Kliknij OK, aby wyjść lub Anuluj aby zostać.",
 		"description": "Confirm message shown when there are unsaved script modifications."
 		"description": "Confirm message shown when there are unsaved script modifications."
 	},
 	},
 	"hintSearchLink": {
 	"hintSearchLink": {
@@ -311,7 +311,7 @@
 		"message": "Czyszczenie danych...",
 		"message": "Czyszczenie danych...",
 		"description": "Message shown when data vacuum is in progress."
 		"description": "Message shown when data vacuum is in progress."
 	},
 	},
-	"hintVacuumData": {
+	"hintVacuum": {
 		"message": "Usuń nadmiarowość i spróbuj przeładować brakujące dane w cache.",
 		"message": "Usuń nadmiarowość i spróbuj przeładować brakujące dane w cache.",
 		"description": "Hint for vacuuming data."
 		"description": "Hint for vacuuming data."
 	},
 	},
@@ -348,7 +348,7 @@
 		"description": "Label for replace input in search box."
 		"description": "Label for replace input in search box."
 	},
 	},
 	"buttonReplace": {
 	"buttonReplace": {
-		"message": "Zastąp",
+		"message": "Zamień",
 		"description": "Button to replace the current match."
 		"description": "Button to replace the current match."
 	},
 	},
 	"buttonReplaceAll": {
 	"buttonReplaceAll": {

+ 2 - 2
_locales/ru/messages.json

@@ -139,7 +139,7 @@
 		"message": "Импорт из zip-файла",
 		"message": "Импорт из zip-файла",
 		"description": "Button to choose a file for data import."
 		"description": "Button to choose a file for data import."
 	},
 	},
-	"buttonVacuumData": {
+	"buttonVacuum": {
 		"message": "Сбросить кэш",
 		"message": "Сбросить кэш",
 		"description": "Button to vacuum extension data."
 		"description": "Button to vacuum extension data."
 	},
 	},
@@ -311,7 +311,7 @@
 		"message": "Очистка данных кэша...",
 		"message": "Очистка данных кэша...",
 		"description": "Message shown when data vacuum is in progress."
 		"description": "Message shown when data vacuum is in progress."
 	},
 	},
-	"hintVacuumData": {
+	"hintVacuum": {
 		"message": "Сбросить избыточность кэша и попробовать подгрузить недостающие ресурсы",
 		"message": "Сбросить избыточность кэша и попробовать подгрузить недостающие ресурсы",
 		"description": "Hint for vacuuming data."
 		"description": "Hint for vacuuming data."
 	},
 	},

+ 3 - 3
_locales/zh/messages.json

@@ -139,7 +139,7 @@
 		"message": "导入自zip文件",
 		"message": "导入自zip文件",
 		"description": "Button to choose a file for data import."
 		"description": "Button to choose a file for data import."
 	},
 	},
-	"buttonVacuumData": {
+	"buttonVacuum": {
 		"message": "整理数据",
 		"message": "整理数据",
 		"description": "Button to vacuum extension data."
 		"description": "Button to vacuum extension data."
 	},
 	},
@@ -311,7 +311,7 @@
 		"message": "正在整理...",
 		"message": "正在整理...",
 		"description": "Message shown when data vacuum is in progress."
 		"description": "Message shown when data vacuum is in progress."
 	},
 	},
-	"hintVacuumData": {
+	"hintVacuum": {
 		"message": "丢弃多余的数据,并尝试重新获取缺失的资源。",
 		"message": "丢弃多余的数据,并尝试重新获取缺失的资源。",
 		"description": "Hint for vacuuming data."
 		"description": "Hint for vacuuming data."
 	},
 	},
@@ -355,4 +355,4 @@
 		"message": "所有",
 		"message": "所有",
 		"description": "Button to replace all matches."
 		"description": "Button to replace all matches."
 	}
 	}
-}
+}

+ 1 - 1
options.html

@@ -52,7 +52,7 @@
 					<fieldset>
 					<fieldset>
 						<legend data-i18n=labelDataImport></legend>
 						<legend data-i18n=labelDataImport></legend>
 						<button id=bImport data-i18n=buttonImportData></button><input type=file class=hide id=iImport>
 						<button id=bImport data-i18n=buttonImportData></button><input type=file class=hide id=iImport>
-						<button id=bVacuum data-i18n=buttonVacuumData></button>
+						<button id=bVacuum data-i18n=buttonVacuum></button>
 					</fieldset>
 					</fieldset>
 					<fieldset>
 					<fieldset>
 						<legend data-i18n=labelDataExport></legend>
 						<legend data-i18n=labelDataExport></legend>

+ 1 - 1
options.js

@@ -191,7 +191,7 @@ V.onclick=function(){
 	this.innerHTML=_('buttonVacuuming');
 	this.innerHTML=_('buttonVacuuming');
 	chrome.runtime.sendMessage({cmd:'Vacuum'});
 	chrome.runtime.sendMessage({cmd:'Vacuum'});
 };
 };
-V.title=_('hintVacuumData');
+V.title=_('hintVacuum');
 
 
 // Export
 // Export
 var xL=$('#xList'),xE=$('#bExport'),xD=$('#cWithData');
 var xL=$('#xList'),xE=$('#bExport'),xD=$('#cWithData');