1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00

Add PR #151 - Show Textdomain in Language Translator

Co-authored-by: tiefenb <markus.tiefenbacher@gmail.com>
This commit is contained in:
Ryan Cramer
2021-05-07 15:06:51 -04:00
parent 1a71b77010
commit 437df97435

View File

@@ -527,7 +527,8 @@ class ProcessLanguageTranslator extends Process {
$this->_('Each of the inputs below represents a block of text to translate.') . ' ' .
sprintf($this->_('The text shown immediately above each input is the text that should be translated to %s.'), $this->language->title) . ' ' .
$this->_('If you leave an input blank, the non-translated text will be used.') . ' ' .
$this->_('If the translation will be identical to the original, you may also enter a single "=" (equals sign) for the translation and it will be marked as translated.') .
$this->_('If the translation will be identical to the original, you may also enter a single "=" (equals sign) for the translation and it will be marked as translated.') . ' ' .
sprintf($this->_('The textdomain for this file is: %s'), $textdomain) .
"</p>";
$translations = $this->translator->getTranslations($textdomain);