Skip to content

Commit

Permalink
i18n: Update translations; add Ukrainian
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed May 8, 2023
1 parent 4b39cb7 commit fe4e37f
Show file tree
Hide file tree
Showing 11 changed files with 467 additions and 204 deletions.
1 change: 1 addition & 0 deletions lang/two-factor-provider-webauthn-js-uk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"","plural-forms":""},"This key is already registered.":["Цій ключ вже зареєстровано."],"Fetching registration information…":["Отримання інформації про реєстрацію…"],"Generating credentials…":["Генерація облікових даних…"],"Registering credentials…":["Реєстрація облікових даних…"],"Unable to create public key credentials":["Не вдалося створити облікові дані публічного ключа"],"The key has been registered.":["Ключ було зареєстровано."],"Sending request…":["Надсилання запиту…"],"The key has been revoked.":["Ключ було відкликано."],"The key has been renamed.":["Ключ було перейменовано."],"WebAuthn is not supported by the browser.":["WebAuthn не підтримується браузером."],"Unable to get a public key credential.":["Не вдалося отримати облікові дані публічного ключа."],"The request is not allowed.":["Запит не дозволено."],"The operation is insecure.":["Операція небезпечна."],"The operation is not supported.":["Операція не підтримується."],"The operation was canceled.":["Операцію скасовано."],"You cannot use this key to log in.":["Ви не можете використовувати цей ключ для входу."]}}}
Binary file added lang/two-factor-provider-webauthn-js-uk.mo
Binary file not shown.
68 changes: 68 additions & 0 deletions lang/two-factor-provider-webauthn-js-uk.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"X-Generator: babel-plugin-makepot\n"

#: assets/lang.ts:10
msgid "This key is already registered."
msgstr "Цій ключ вже зареєстровано."

#: assets/lang.ts:11
msgid "Fetching registration information…"
msgstr "Отримання інформації про реєстрацію…"

#: assets/lang.ts:12
msgid "Generating credentials…"
msgstr "Генерація облікових даних…"

#: assets/lang.ts:13
msgid "Registering credentials…"
msgstr "Реєстрація облікових даних…"

#: assets/lang.ts:14
msgid "Unable to create public key credentials"
msgstr "Не вдалося створити облікові дані публічного ключа"

#: assets/lang.ts:15
msgid "The key has been registered."
msgstr "Ключ було зареєстровано."

#: assets/lang.ts:16
msgid "Sending request…"
msgstr "Надсилання запиту…"

#: assets/lang.ts:17
msgid "The key has been revoked."
msgstr "Ключ було відкликано."

#: assets/lang.ts:18
msgid "The key has been renamed."
msgstr "Ключ було перейменовано."

#: assets/lang.ts:2
msgid "WebAuthn is not supported by the browser."
msgstr "WebAuthn не підтримується браузером."

#: assets/lang.ts:3
msgid "Unable to get a public key credential."
msgstr "Не вдалося отримати облікові дані публічного ключа."

#: assets/lang.ts:4
msgid "The request is not allowed."
msgstr "Запит не дозволено."

#: assets/lang.ts:5
msgid "The operation is insecure."
msgstr "Операція небезпечна."

#: assets/lang.ts:6
msgid "The operation is not supported."
msgstr "Операція не підтримується."

#: assets/lang.ts:7
msgid "The operation was canceled."
msgstr "Операцію скасовано."

#: assets/lang.ts:8
msgid "You cannot use this key to log in."
msgstr "Ви не можете використовувати цей ключ для входу."
2 changes: 1 addition & 1 deletion lang/two-factor-provider-webauthn-js-zh_TW.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"zh_TW","plural-forms":"nplurals=1; plural=0;"},"This key is already registered.":["\u9019\u500b\u91d1\u9470\u5df2\u8a3b\u518a\u3002"],"Fetching registration information…":["\u6b63\u5728\u64f7\u53d6\u8a3b\u518a\u8cc7\u8a0a..."],"Generating credentials…":["\u6b63\u5728\u7522\u751f\u8a8d\u8b49..."],"Registering credentials…":["\u6b63\u5728\u8a3b\u518a\u8a8d\u8b49..."],"Unable to create public key credentials":["\u7121\u6cd5\u5efa\u7acb\u516c\u958b\u91d1\u9470\u8a8d\u8b49\u3002"],"The key has been registered.":["\u91d1\u9470\u5df2\u8a3b\u518a\u3002"],"Sending request…":["\u6b63\u5728\u50b3\u9001\u8981\u6c42..."],"The key has been revoked.":["\u91d1\u9470\u5df2\u64a4\u92b7\u3002"],"The key has been renamed.":["\u91d1\u9470\u5df2\u91cd\u65b0\u547d\u540d\u3002"],"WebAuthn is not supported by the browser.":["\u76ee\u524d\u4f7f\u7528\u7684\u700f\u89bd\u5668\u4e0d\u652f\u63f4 WebAuthn\u3002"],"Unable to get a public key credential.":["\u7121\u6cd5\u53d6\u5f97\u516c\u958b\u91d1\u9470\u8a8d\u8b49\u3002"],"The request is not allowed.":["\u4e0d\u5141\u8a31\u9019\u500b\u8981\u6c42\u3002"],"The operation is insecure.":["\u9019\u9805\u64cd\u4f5c\u4e0d\u5b89\u5168\u3002"],"The operation is not supported.":["\u9019\u9805\u64cd\u4f5c\u4e0d\u652f\u63f4\u3002"],"The operation was canceled.":["\u9019\u9805\u64cd\u4f5c\u5df2\u53d6\u6d88\u3002"],"You cannot use this key to log in.":["\u4e0d\u80fd\u4f7f\u7528\u9019\u500b\u91d1\u9470\u9032\u884c\u767b\u5165\u3002"]}}}
{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"zh_TW","plural-forms":"nplurals=1; plural=0;"},"This key is already registered.":["這個金鑰已註冊。"],"Fetching registration information…":["正在擷取註冊資訊..."],"Generating credentials…":["正在產生認證..."],"Registering credentials…":["正在註冊認證..."],"Unable to create public key credentials":["無法建立公開金鑰認證。"],"The key has been registered.":["金鑰已註冊。"],"Sending request…":["正在傳送要求..."],"The key has been revoked.":["金鑰已撤銷。"],"The key has been renamed.":["金鑰已重新命名。"],"WebAuthn is not supported by the browser.":["目前使用的瀏覽器不支援 WebAuthn。"],"Unable to get a public key credential.":["無法取得公開金鑰認證。"],"The request is not allowed.":["不允許這個要求。"],"The operation is insecure.":["這項操作不安全。"],"The operation is not supported.":["這項操作不支援。"],"The operation was canceled.":["這項操作已取消。"],"You cannot use this key to log in.":["不能使用這個金鑰進行登入。"]}}}
Binary file modified lang/two-factor-provider-webauthn-ru_RU.mo
Binary file not shown.
103 changes: 55 additions & 48 deletions lang/two-factor-provider-webauthn-ru_RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ msgstr ""
"Project-Id-Version: WebAuthn Provider for Two Factor 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-two-factor-"
"provider-webauthn\n"
"POT-Creation-Date: 2022-05-17T07:26:06+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"POT-Creation-Date: 2023-05-08T19:22:41+03:00\n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -36,26 +33,26 @@ msgstr "Настройки TwoFactor WebAuthn"
msgid "TwoFactor WebAuthn"
msgstr "TwoFactor WebAuthn"

#: inc/class-adminsettings.php:47
#: inc/class-adminsettings.php:49
msgid "Authenticator Attachment Modality"
msgstr ""
msgstr "Модальность подключения аутентификатора"

#: inc/class-adminsettings.php:54
#: inc/class-adminsettings.php:56
msgctxt "Authenticator attachment modality"
msgid "None"
msgstr "Нет"

#: inc/class-adminsettings.php:55
#: inc/class-adminsettings.php:57
msgctxt "Authenticator attachment modality"
msgid "Cross-platform"
msgstr "Кросс-платформенная"

#: inc/class-adminsettings.php:56
#: inc/class-adminsettings.php:58
msgctxt "Authenticator attachment modality"
msgid "Platform"
msgstr "Платформозависимая"

#: inc/class-adminsettings.php:58
#: inc/class-adminsettings.php:60
msgid ""
"<em>Platform attachment</em> is for authenticators physically bound to a "
"client device (like a fingerprint scanner on a smartphone).<br/><em>Cross-"
Expand All @@ -65,27 +62,35 @@ msgid ""
"authenticators.<br/><a href=\"https://www.w3.org/TR/webauthn-2/"
"#authenticator-attachment-modality\">Details</a>"
msgstr ""

#: inc/class-adminsettings.php:71
"<em>Платформозависимое подключение</em> предназначено для аутентификаторов, "
"физически привязанных к устройству клиента (например, сканер отпечатков "
"пальцев на смартфоне).<br/><em>Кросс-платформенное подключение</em> "
"предназначено для съёмных аутентификаторов, которые могут перемещаться между "
"устройствами клиента (например, ключ безопасности).<br/>Выберите <em>Нет</"
"em>, если Вам не требуется ограничивать пользователей определённым классом "
"аутентификаторов.<br/><a href=\"https://www.w3.org/TR/webauthn-2/"
"#authenticator-attachment-modality\">Подробнее</a>"

#: inc/class-adminsettings.php:73
msgid "User Verification Requirement"
msgstr "Требование проверки пользователя"

#: inc/class-adminsettings.php:78
#: inc/class-adminsettings.php:80
msgctxt "User Verification Requirement"
msgid "Discouraged"
msgstr "Не проверять"

#: inc/class-adminsettings.php:79
#: inc/class-adminsettings.php:81
msgctxt "User Verification Requirement"
msgid "Preferred"
msgstr "По возможности"

#: inc/class-adminsettings.php:80
#: inc/class-adminsettings.php:82
msgctxt "User Verification Requirement"
msgid "Required"
msgstr "Обязательно проверять"

#: inc/class-adminsettings.php:82
#: inc/class-adminsettings.php:84
msgid ""
"<em>Discouraged</em>: user verification is not required (e.g., in the "
"interest of minimizing disruption to the user interaction flow).<br/"
Expand All @@ -94,29 +99,31 @@ msgid ""
"em>: user verification is required for successful authentication. Please "
"note that not all browsers support this setting.<br/>"
msgstr ""
"<em>Не проверять</em>: проверка пользователя не требуется (например, по соображениям "
"сведения к минимуму вмешательств в процесс взаимодействия с пользователем).<br/"
"><em>По возможности</em>: проверка пользователя (например, ввод PIN-кода) "
"может выполняться, но не является необходимой для успешной аутентификации.<br/><em>Проверять</"
"em>: проверка пользователя необходима для успешной аутентификации. Обратите внимение, что не все браузеры поддерживают данную опцию.<br/>"

#: inc/class-adminsettings.php:94
"<em>Не проверять</em>: проверка пользователя не требуется (например, по "
"соображениям сведения к минимуму вмешательств в процесс взаимодействия с "
"пользователем).<br/><em>По возможности</em>: проверка пользователя "
"(например, ввод PIN-кода) может выполняться, но не является необходимой для "
"успешной аутентификации.<br/><em>Проверять</em>: проверка пользователя "
"необходима для успешной аутентификации. Обратите внимение, что не все "
"браузеры поддерживают данную опцию.<br/>"

#: inc/class-adminsettings.php:96
msgid "Timeout"
msgstr "Таймаут"

#: inc/class-adminsettings.php:101
#: inc/class-adminsettings.php:103
msgid ""
"The default timeout for security key operations, in seconds. Set to 0 to use "
"the browser default value."
msgstr ""
"Значение таймаута для операций с ключами безопасности по умолчанию (в "
"секундах). Установите в 0 для использования значения браузера по умолчанию."

#: inc/class-adminsettings.php:110
#: inc/class-adminsettings.php:112
msgid "U2F compatibility hack"
msgstr "Хак для совместивости с U2F"

#: inc/class-adminsettings.php:116
#: inc/class-adminsettings.php:118
msgid ""
"Chrome for Android sometimes ignores the AppID extension required for "
"interoperability between the old U2F and the modern WebAuthn protocol.<br/"
Expand All @@ -129,41 +136,45 @@ msgstr ""
"зарегистрирован при помощи U2F; если да, то поддержка AppID включается "
"принудительно."

#: inc/class-adminsettings.php:127
#: inc/class-adminsettings.php:129
msgid "Disable old U2F provider"
msgstr ""
msgstr "Отключить старый провайдер U2F"

#: inc/class-adminsettings.php:133
#: inc/class-adminsettings.php:135
msgid ""
"This option allows you to turn off the old U2F provider in the Two Factor "
"plugin."
msgstr "Данная опция позволяет отключить старый провайдер U2F в плагине Two Factor."
msgstr ""
"Данная опция позволяет отключить старый провайдер U2F в плагине Two Factor."

#: inc/class-ajax.php:32
#: inc/class-ajax.php:35
msgid "The nonce has expired. Please reload the page and try again."
msgstr ""
"Срок действия одноразового номера истёк. Пожалуйста, обновите страницу и "
"попытайтесь выполнить действие снова."

#: inc/class-ajax.php:84
#: inc/class-ajax.php:90
msgid "Unable to retrieve the registration context."
msgstr "Не удалось получить контекст регистрации."

#: inc/class-ajax.php:94 inc/class-ajax.php:123
#: inc/class-webauthn-provider.php:118
#: inc/class-ajax.php:100 inc/class-ajax.php:157
#: inc/class-webauthn-provider.php:119
msgid "Bad request."
msgstr "Неверный запрос."

#: inc/class-ajax.php:110
#, fuzzy
#: inc/class-ajax.php:128 inc/class-webauthn-credential-store.php:123
msgid "New Key"
msgstr "Новый ключ"

#: inc/class-ajax.php:144
msgid "Unable to save the key to the database."
msgstr "Не удалось получить контекст регистрации."
msgstr "Не удалось сохранить ключ в базу данных."

#: inc/class-ajax.php:150
#: inc/class-ajax.php:181
msgid "Key name cannot be empty."
msgstr "Имя ключа не может быть пустым."

#: inc/class-ajax.php:159
#: inc/class-ajax.php:190
msgid "Failed to rename the key."
msgstr "Не удалось переименовать ключ."

Expand Down Expand Up @@ -191,28 +202,24 @@ msgstr "Переименовать"
msgid "Revoke"
msgstr "Отозвать"

#: inc/class-webauthn-credential-store.php:121
msgid "New Key"
msgstr "Новый ключ"

#: inc/class-webauthn-provider.php:47
#: inc/class-webauthn-provider.php:49
msgctxt "Provider label"
msgid "WebAuthn"
msgstr "WebAuthn"

#: inc/class-webauthn-provider.php:59
#: inc/class-webauthn-provider.php:60
msgid ""
"WebAuthn requires an HTTPS connection. Please use an alternative second "
"factor method."
msgstr ""
"Для использования WebAuthn требуется соединение HTTPS. Пожалуйста, "
"воспользуйтесь альтернативным методом двухфакторной аутентификации."

#: inc/class-webauthn-provider.php:107
#: inc/class-webauthn-provider.php:108
msgid "Unable to retrieve the authentication context."
msgstr "Не удалось получить контекст аутентификации."

#: inc/class-webauthn-user.php:52
#: inc/class-webauthn-user.php:54
msgid "Unable to save the user handle to the database."
msgstr "Не удалось сохранить дескриптор пользователя в базу данных."

Expand Down
Binary file added lang/two-factor-provider-webauthn-uk.mo
Binary file not shown.
Loading

0 comments on commit fe4e37f

Please sign in to comment.