Bug 1734220 - Migrate translation-notification.js to Fluent, part 3
author:stoyan <stoyan@gmx.com>
Sat, 03 Sep 2022 07:22:10 +0200
changeset 2765 b94a66f964e4a2b7b7dc6cc503bb16425bf6a0af
parent 2764 f282f179e340d3899e0f8823841d9b18bc9f9b8a
child 2766 def3cfe8fe39058078211a13bffe03717f284658
push id1502
push userflodolo@mozilla.com
push dateSat, 03 Sep 2022 05:22:15 +0000
bugs1734220
Bug 1734220 - Migrate translation-notification.js to Fluent, part 3
browser/browser/translationNotification.ftl
--- a/browser/browser/translationNotification.ftl
+++ b/browser/browser/translationNotification.ftl
@@ -7,19 +7,25 @@
 ## showing the detected language of the current web page.
 ## In en-US it looks like this:
 ##   This page is in [detected language] Translate this page?
 ## "detected language" here is a language name coming from the
 ## toolkit/intl/languageNames.ftl file; for some locales it may not be in
 ## the correct grammar case to keep the same structure of the original
 ## sentence.
 
+translation-notification-this-page-is-in =
+    .value = Страницата е на
+translation-notification-translate-this-page =
+    .value = език. Превеждане на страницата?
 
 ##
 
+translation-notification-translate-button =
+    .label = Превеждане
 translation-notification-not-now-button =
     .label = Не сега
 translation-notification-translating-content =
     .value = Превеждане съдържанието на страницата…
 
 ## These 3 strings are used to construct a sentence that contains 2 dropdowns
 ## showing the source and target language of a translated web page.
 ## In en-US it looks like this:
@@ -39,15 +45,30 @@ translation-notification-translated-to-s
     .value = { "" }
 
 ##
 
 translation-notification-show-original-button =
     .label = Показване на оригинала
 translation-notification-show-translation-button =
     .label = Показване на превода
+translation-notification-error-translating =
+    .value = Възникна грешка при превода на страницата.
+translation-notification-try-again-button =
+    .label = Нов опит
 translation-notification-service-unavailable =
     .value = Превеждането е недостъпно в момента. Моля, опитайте по-късно.
 translation-notification-options-menu =
     .label = Настройки
 
 ## The accesskey values used here should not clash with each other
 
+# Variables:
+#  $langName (String): a language name coming from the toolkit/intl/languageNames.ftl file.
+translation-notification-options-never-for-language =
+    .label = Без превод на { $langName }
+    .accesskey = п
+translation-notification-options-never-for-site =
+    .label = Без превод на този сайт
+    .accesskey = с
+translation-notification-options-preferences =
+    .label = Настройки на превода
+    .accesskey = Н