mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 09:05:59 +00:00
Fixed untranslated string and updated translations
This commit is contained in:
parent
16429a1f9b
commit
fbc85eb964
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The Translatable decorator allows your DataObjects to have versions in different languages,
|
* The Translatable decorator allows your DataObjects to have versions in different languages,
|
||||||
* defining which fields are can be translated. Translatable can be applied
|
* defining which fields are can be translated. Translatable can be applied
|
||||||
@ -1765,7 +1765,7 @@ class Translatable_Transformation extends FormTransformation {
|
|||||||
$nonEditableField->setValue($this->original->$fieldname);
|
$nonEditableField->setValue($this->original->$fieldname);
|
||||||
$nonEditableField->setName($fieldname.'_original');
|
$nonEditableField->setName($fieldname.'_original');
|
||||||
$nonEditableField->addExtraClass('originallang');
|
$nonEditableField->addExtraClass('originallang');
|
||||||
$nonEditableField->setTitle('Original '.$originalField->Title());
|
$nonEditableField->setTitle(_t('Translatable.ORIGINAL', 'Original').' '.$originalField->Title());
|
||||||
|
|
||||||
$nonEditableField_holder->insertBefore($originalField, $fieldname.'_original');
|
$nonEditableField_holder->insertBefore($originalField, $fieldname.'_original');
|
||||||
return $nonEditableField_holder;
|
return $nonEditableField_holder;
|
||||||
|
@ -13,6 +13,7 @@ en:
|
|||||||
EXISTING: 'Existing translations'
|
EXISTING: 'Existing translations'
|
||||||
NEWLANGUAGE: 'New language'
|
NEWLANGUAGE: 'New language'
|
||||||
NOTICENEWPAGE: 'Please save this page before creating a translation'
|
NOTICENEWPAGE: 'Please save this page before creating a translation'
|
||||||
|
ORIGINAL: Original
|
||||||
TRANSLATEALLPERMISSION: 'Translate into all available languages'
|
TRANSLATEALLPERMISSION: 'Translate into all available languages'
|
||||||
TRANSLATEPERMISSION: 'Translate %s'
|
TRANSLATEPERMISSION: 'Translate %s'
|
||||||
TRANSLATIONS: Translations
|
TRANSLATIONS: Translations
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
et_EE:
|
et_EE:
|
||||||
CMSMain:
|
CMSMain:
|
||||||
LANGUAGEDROPDOWNLABEL: "Keel"
|
LANGUAGEDROPDOWNLABEL: Keel
|
||||||
CMSMain_left.ss:
|
CMSMain_left.ss:
|
||||||
GO: "Mine"
|
GO: Mine
|
||||||
Form:
|
Form:
|
||||||
LANGAVAIL: "Saadaolevad keeled"
|
LANGAOTHER: 'Muud keeled'
|
||||||
LANGAOTHER: "Muud keeled"
|
LANGAVAIL: 'Saadaolevad keeled'
|
||||||
Translatable:
|
Translatable:
|
||||||
TRANSLATIONS: "Tõlked"
|
|
||||||
CREATE: "Loo uus tõlge"
|
|
||||||
NEWLANGUAGE: "Uus keel"
|
|
||||||
CREATEBUTTON: "Loo"
|
|
||||||
EXISTING: "Olemasolevad tõlked:"
|
|
||||||
NOTICENEWPAGE: "Enne tõlke loomist salvestage see leht"
|
|
||||||
TRANSLATEPERMISSION: "Tõlgi: %s"
|
|
||||||
TRANSLATEALLPERMISSION: "Tõlgi kõigisse saadaolevatesse keeltesse"
|
|
||||||
ALLCREATED: 'Kõik lubatud tõlked on loodud.'
|
ALLCREATED: 'Kõik lubatud tõlked on loodud.'
|
||||||
|
CREATE: 'Loo uus tõlge'
|
||||||
|
CREATEBUTTON: Loo
|
||||||
|
EXISTING: 'Olemasolevad tõlked'
|
||||||
|
NEWLANGUAGE: 'Uus keel'
|
||||||
|
NOTICENEWPAGE: 'Enne tõlke loomist salvestage see leht'
|
||||||
|
ORIGINAL: Originaal
|
||||||
|
TRANSLATEALLPERMISSION: 'Tõlgi kõigisse saadaolevatesse keeltesse'
|
||||||
|
TRANSLATEPERMISSION: 'Tõlgi: %s'
|
||||||
|
TRANSLATIONS: Tõlked
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user