mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-17 11:56:50 +08:00
This commit adds a little indicator in each post that shares the original post language. It only shows up when experimental_inline_translation is enabled, and if the post's language is not matching the user's locale. We're currently using the LocaleSiteSetting values to determine the name of the language, so we will get values like "Español" instead of "Spanish". In the future we will consider localized language names (internal /151409)
15 lines
564 B
YAML
15 lines
564 B
YAML
en:
|
|
admin_js:
|
|
admin:
|
|
site_settings:
|
|
categories:
|
|
discourse_translator: "Discourse Translator"
|
|
js:
|
|
translator:
|
|
view_translation: "View translation"
|
|
hide_translation: "Hide translation"
|
|
content_not_translated: "Page not translated. Click to translate"
|
|
content_translated: "Page is machine-translated. Click to view original"
|
|
translated_from: "Translated from %{language} by %{translator}"
|
|
translating: "Translating"
|
|
originally_written_in: "This post was originally written in %{language}"
|