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:
@@ -527,7 +527,8 @@ class ProcessLanguageTranslator extends Process {
|
|||||||
$this->_('Each of the inputs below represents a block of text to translate.') . ' ' .
|
$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) . ' ' .
|
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 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>";
|
"</p>";
|
||||||
|
|
||||||
$translations = $this->translator->getTranslations($textdomain);
|
$translations = $this->translator->getTranslations($textdomain);
|
||||||
|
Reference in New Issue
Block a user