Add locale support
This commit is contained in:
parent
3edabbe27c
commit
49cbf77640
5 changed files with 240 additions and 31 deletions
98
extension/_locales/en/messages.json
Normal file
98
extension/_locales/en/messages.json
Normal file
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"extensionName": {
|
||||
"message": "User-Agent Switcher and Manager",
|
||||
"description": "Name of the extension."
|
||||
},
|
||||
"extensionDescription": {
|
||||
"message": "Spoof websites trying to gather information about your web navigation to deliver distinct content you may not want",
|
||||
"description": "Description of the extension."
|
||||
},
|
||||
"testUA": {
|
||||
"message": "Test UA",
|
||||
"description": ""
|
||||
},
|
||||
"userAgentSwitcherandManagerOptions": {
|
||||
"message": "User-Agent Switcher and Manager :: Options",
|
||||
"description": ""
|
||||
},
|
||||
"blackListMode": {
|
||||
"message": "Black-List Mode",
|
||||
"description": ""
|
||||
},
|
||||
"description": {
|
||||
"message": "Description",
|
||||
"description": ""
|
||||
},
|
||||
"blackListModeDescription": {
|
||||
"message": "Apply the custom user-agent string to all tabs except the tabs with the following top-level hostnames (comma-separated list of hostnames). Note that even if a window-based user-agent string is set from the toolbar popup, your browser's default user-agent string is used.",
|
||||
"description": ""
|
||||
},
|
||||
"whiteListMode": {
|
||||
"message": "White-List Mode",
|
||||
"description": ""
|
||||
},
|
||||
"whiteListModeDescription": {
|
||||
"message": "Only apply the custom user-agent string to the tabs with following top-level hostnames. Note that if a window-based user-agent string is set from the toolbar popup, this user-agent will overwrite the global one.",
|
||||
"description": ""
|
||||
},
|
||||
"customMode": {
|
||||
"message": "Custom Mode",
|
||||
"description": ""
|
||||
},
|
||||
"cache": {
|
||||
"message": "Use caching to improve performance (recommended value is true). Uncheck this option only if you are using the custom mode and also you need the user-agent string to be altered from the provided list on every single request.",
|
||||
"description": ""
|
||||
},
|
||||
"exactMatch": {
|
||||
"message": "Use exact matching (if checked, you will need to insert all sub-domains in the white-list and black-list modes to be considered. If unchecked, all the sub-domains are passing the matching condition (e.g: www.google.com passes the matching if google.com is in the list))",
|
||||
"description": ""
|
||||
},
|
||||
"faqs": {
|
||||
"message": "Open FAQs page on updates",
|
||||
"description": ""
|
||||
},
|
||||
"log": {
|
||||
"message": "Display debugging info in the browser console",
|
||||
"description": ""
|
||||
},
|
||||
"disableSpoofing": {
|
||||
"message": "Disable Spoofing",
|
||||
"description": ""
|
||||
},
|
||||
"disableSpoofingDescription": {
|
||||
"message": "A comma-separated list of keywords that the extension should not spoof the user-agent header. Use this list to protect URLs that contain these protected keywords. Each keyword need to be at least 5 char long.",
|
||||
"description": ""
|
||||
},
|
||||
"customUserAgentParsing": {
|
||||
"message": "Custom User-Agent Parsing",
|
||||
"description": ""
|
||||
},
|
||||
"siblingHostnames": {
|
||||
"message": "Sibling Hostnames",
|
||||
"description": ""
|
||||
},
|
||||
"importSettings": {
|
||||
"message": "Import Settings",
|
||||
"description": ""
|
||||
},
|
||||
"exportSettings": {
|
||||
"message": "Export Settings",
|
||||
"description": ""
|
||||
},
|
||||
"help": {
|
||||
"message": "FAQs Page (Help)",
|
||||
"description": ""
|
||||
},
|
||||
"donate": {
|
||||
"message": "Support Development",
|
||||
"description": ""
|
||||
},
|
||||
"reset": {
|
||||
"message": "Reset",
|
||||
"description": ""
|
||||
},
|
||||
"save": {
|
||||
"message": "Save",
|
||||
"description": ""
|
||||
}
|
||||
}
|
98
extension/_locales/ru/messages.json
Normal file
98
extension/_locales/ru/messages.json
Normal file
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"extensionName": {
|
||||
"message": "User-Agent Switcher and Manager",
|
||||
"description": "Name of the extension."
|
||||
},
|
||||
"extensionDescription": {
|
||||
"message": "Подменяет User-Agent на веб-сайтах, пытающихся собрать информацию о ваших путешествиях по сети и выдать не нужное вам содержимое",
|
||||
"description": "Description of the extension."
|
||||
},
|
||||
"testUA": {
|
||||
"message": "Тест UA",
|
||||
"description": ""
|
||||
},
|
||||
"userAgentSwitcherandManagerOptions": {
|
||||
"message": "User-Agent Switcher and Manager :: Настройки",
|
||||
"description": ""
|
||||
},
|
||||
"blackListMode": {
|
||||
"message": "Режим черного списка",
|
||||
"description": ""
|
||||
},
|
||||
"description": {
|
||||
"message": "Описание",
|
||||
"description": ""
|
||||
},
|
||||
"blackListModeDescription": {
|
||||
"message": "Применить заданную строку User-Agent ко всем вкладкам за исключением содержащих следующие домены верхнего уровня (список доменов разделяется запятыми). Важно: даже если применяемая к окну строка User-Agent задана из всплывающего окна, для этого списка будет использоваться строка User-Agent вашего браузера по умолчанию.",
|
||||
"description": ""
|
||||
},
|
||||
"whiteListMode": {
|
||||
"message": "Режим белого списка",
|
||||
"description": ""
|
||||
},
|
||||
"whiteListModeDescription": {
|
||||
"message": "Применять заданную строку User-Agent только к вкладкам, содержащим следующие домены верхнего уровня. Важно: даже если применяемая к окну строка User-Agent задана из всплывающего окна, данный User-Agent заменит собой глобальный.",
|
||||
"description": ""
|
||||
},
|
||||
"customMode": {
|
||||
"message": "Режим настройки",
|
||||
"description": ""
|
||||
},
|
||||
"cache": {
|
||||
"message": "Использовать кэширование для улучшения производительности (рекомендуемое значение true). Отключите эту опцию только при использовании режима настройки, когда нужно изменять строку User-Agent с помощью списка при каждом запросе.",
|
||||
"description": ""
|
||||
},
|
||||
"exactMatch": {
|
||||
"message": "Использовать точное совпадение (если включено, вам нужно добавлять все поддомены в черный и белый списки как задумано. Если выключено, все поддомены проходят проверку на совпадение (например, www.google.com проходит проверку, если google.com находится в списке))",
|
||||
"description": ""
|
||||
},
|
||||
"faqs": {
|
||||
"message": "Открывать страницу FAQ при обновлении",
|
||||
"description": ""
|
||||
},
|
||||
"log": {
|
||||
"message": "Отображать отладочную информацию в консоли браузера",
|
||||
"description": ""
|
||||
},
|
||||
"disableSpoofing": {
|
||||
"message": "Отключить подмену User-Agent",
|
||||
"description": ""
|
||||
},
|
||||
"disableSpoofingDescription": {
|
||||
"message": "Разделяемый запятыми список ключевых слов, на которых расширение не должно подменять заголовок User-Agent. Используйте этот список для защиты URL, содержащих эти ключевые слова. Каждое ключевое слово должно быть длиной не менее 5 символов.",
|
||||
"description": ""
|
||||
},
|
||||
"customUserAgentParsing": {
|
||||
"message": "Парсинг заданного User-Agent",
|
||||
"description": ""
|
||||
},
|
||||
"siblingHostnames": {
|
||||
"message": "Родственные домены",
|
||||
"description": ""
|
||||
},
|
||||
"importSettings": {
|
||||
"message": "Импортировать настройки",
|
||||
"description": ""
|
||||
},
|
||||
"exportSettings": {
|
||||
"message": "Экспортировать настройки",
|
||||
"description": ""
|
||||
},
|
||||
"help": {
|
||||
"message": "Страница FAQ (Помощь)",
|
||||
"description": ""
|
||||
},
|
||||
"donate": {
|
||||
"message": "Поддержать разработку",
|
||||
"description": ""
|
||||
},
|
||||
"reset": {
|
||||
"message": "Сбросить",
|
||||
"description": ""
|
||||
},
|
||||
"save": {
|
||||
"message": "Сохранить",
|
||||
"description": ""
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue