Skip to content

Instantly share code, notes, and snippets.

@flodolo
Created October 19, 2022 10:02
Show Gist options
  • Save flodolo/33f88c9ee3ab64a10945de620f536fcd to your computer and use it in GitHub Desktop.
Save flodolo/33f88c9ee3ab64a10945de620f536fcd to your computer and use it in GitHub Desktop.
Translations without DTDs
{
"extensionName": {
"message": "Firefox Translations",
"description": "Name of the extension. Do NOT translate, keep the name in English."
},
"extensionDescription": {
"message": "Translate websites in your browser without using the cloud.",
"description": "Description of the extension."
},
"loadingTranslationEngine": {
"message": "Loading Translation Engine…",
"description": "Tells the user the translation engine is being loaded."
},
"translationLoadedWithErrors": {
"message": "Automatic translation is enabled but we found errors.",
"description": "Tells the user the translation engine was loaded but errors were found."
},
"checksumErrorsDownloadingEngine": {
"message": "We found checksum errors when downloading the translation engine.",
"description": "Tells the user there were errors downloading the translation engine."
},
"notfoundErrorsDownloadingEngine": {
"message": "We could not find the translation engine to download.",
"description": "Tells the user the translation engine could not be found to download."
},
"nodataDownloadingEngine": {
"message": "We found no data when downloading the translation engine.",
"description": "Tells the user the translation engine had not data when downloading."
},
"translationEnabled": {
"message": "Automatic Translation enabled.",
"description": "Tells the user the automatic translation was enabled."
},
"translationEnabledNoOT": {
"message": "Automatic Translation enabled but translation of forms is not supported for this language.",
"description": "Tells the user the automatic translation was enabled but form translations is not supported."
},
"timeoutDownloadingEngine": {
"message": "Timeout downloading the translation engine.",
"description": "Tells the user the download of the translation engine timed out."
},
"errorLoadingWasm": {
"message": "We found an error loading the translation engine.",
"description": "Tells the user we found and error loading the translation engine."
},
"statsMessage": {
"message": "Translation enabled. Words translated per second: $WORDSPERSECOND$.",
"description": "Tells the user that translation is enabled and the current performance metric of words translated per second.",
"placeholders": {
"wordspersecond" : {
"content" : "$1",
"example" : "500"
}
}
},
"downloadProgress": {
"message": "Downloaded (bytes): $RECEIVEDLENGTH$ of $CONTENTLENGTH$.",
"description": "Tells the user the download progress of the engine artifacts.",
"placeholders": {
"receivedlength" : {
"content" : "$1",
"example" : "100"
},
"contentlength" : {
"content" : "$2",
"example" : "1000"
}
}
},
"displayStatisticsMessage": {
"message": "Display statistics",
"description": "Option in menu to show statistics in the infobar (display is intended as a verb)."
},
"surveyMessage": {
"message": "Participate in survey",
"description": "A message to invite a user to participate in survey. It's displayed on a button so it has to be short!"
},
"outboundTranslationsMessage": {
"message": "Enable translations of forms",
"description": "Checkbox to enable the translation of forms."
},
"formtranslationsReady": {
"message": "Ready",
"description":"Notifies that the form translation is ready to be used."
},
"formtranslationsTyping": {
"message": "Typing…",
"description":"Notifies the user that typing is occuring in the form translations area."
},
"formtranslationsTranslationInProgress": {
"message": "Translation in progress…",
"description":"Notifies the user that the translation of the input text is happening."
},
"formtranslationsTranslationCompleted": {
"message": "Translation completed",
"description":"Notifies the user that the translation of the input text is completed."
},
"formtranslationsDescription": {
"message": "This is the form translation feature by Firefox Translations. Type in the field on the left in <em>$navigatorLanguage$</em> and the translation in <em>$pageLanguage$</em> will be inserted in the original form. The field on the right shows the text translated back from <em>$pageLanguage$</em> to <em>$navigatorLanguage$</em> for verification purpose.",
"description":"Usage instructions of form translations to be displayed to the user.",
"placeholders": {
"navigatorLanguage" : {
"content" : "$1",
"example" : "English"
},
"pageLanguage" : {
"content" : "$2",
"example" : "Portuguese"
}
}
},
"languageDefaultOption": {
"message": "Choose a language",
"description": "Default option in the language dropdown."
},
"translateAsBrowseOn": {
"message": "Translate this tab automatically as you browse",
"description": "Message displayed to the user (as a button), asking if they want to turn on automatic translation for the tab."
},
"translateAsBrowseOff": {
"message": "Turn off automatic translation as you browse in this tab",
"description": "Message displayed to the user (as a button) to turn off automatic translation in the tab."
},
"translationProgress": {
"message": "Elements pending to translate: $ELEMENTSPENDING$",
"description": "Number of elements still pending to be translated by the engine.",
"placeholders": {
"elementspending" : {
"content" : "$1",
"example" : "100"
}
}
},
"tlsIncompatibility": {
"message": "Firefox Translations only works on secure (HTTPS) pages.",
"description":"Informs the user that the extension doesn't work on non-https pages."
},
"datacollectionConsentPageTitle": {
"message": "Allow Firefox Translations to send technical and interaction data to Mozilla?",
"description": "Header of the data collection consent page"
},
"datacollectionConsentPageDescription": {
"message": "This includes high-level user interaction and error reports. Changes to this setting can be made any time in settings. Data is stored securely and without personally identifying information.",
"description": "Description of the data collection consent page"
},
"datacollectionConsentPageUserInteractionOption": {
"message": "Report high-level user interaction",
"description": "Title for the option that allows Mozilla to collect high level user-interaction"
},
"datacollectionConsentPageErrorsOption": {
"message": "Report errors",
"description": "Title for the option that allows Mozilla to collect error reports"
},
"errorHighlightingMessage": {
"message": "Highlight potential errors in red",
"description":"Checkbox to highlight translation errors in the page in red."
},
"showChangelogOption": {
"message": "Show changelog on updates",
"description": "Title for the option that toggles if the changelog is shown on an extension update"
},
"translationBarPageIsIn": {
"message": "This page is in",
"description": "This message is followed by a dropdown list of language names. If this doesn't work for your locale, you can translate it as ”Language of the page:”"
},
"translationBarTranslateButton": {
"message": "Translate",
"description": "Label for the button to start the translation"
},
"translationBarOptionsButton": {
"message": "Options",
"description": "Label for an Options button that will display a dropdown menu"
},
"translationBarNeverThisSiteLabel": {
"message": "Never translate this site",
"description": "Label for a checkbox to never translate the current website"
},
"translationBarNeverThisSiteAccesskey": {
"message": "e",
"description": "Accesskey for a checkbox to never translate the current website"
},
"optionsMenuLabel": {
"message": "Translation preferences",
"description": "Label for options menu item in the Options dropdown"
},
"optionsMenuAccesskey": {
"message": "T",
"description": "Accesskey for options menu item in the Options dropdown"
},
"closeNotification": {
"message": "Close this message",
"description": "Close notification tooltip"
},
"neverForLanguageLabel": {
"message": "Never translate $LANGUAGE$",
"description": "Label for options menu item in the Options dropdown. Language is replaced by a language name.",
"placeholders": {
"language": {
"content": "$1",
"example": "Italian"
}
}
},
"neverForLanguageAccesskey": {
"message": "N",
"description": "Accesskey for options menu item in the Options dropdown."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment