mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Added translations for en, en_GB and german
This commit is contained in:
parent
8b923ca84a
commit
06bb08b594
@ -124,7 +124,7 @@ class TranslatableCMSMainExtension extends Extension {
|
||||
if(Permission::checkMember($member, 'VIEW_LANGS')) {
|
||||
$field = new LanguageDropdownField(
|
||||
'Locale',
|
||||
_t('CMSMAIN.LanguageDropdownLabel', 'Language'),
|
||||
_t('CMSMain.LANGUAGEDROPDOWNLABEL', 'Language'),
|
||||
array(),
|
||||
'SiteTree',
|
||||
'Locale-English',
|
||||
|
18
lang/de.yml
Normal file
18
lang/de.yml
Normal file
@ -0,0 +1,18 @@
|
||||
de:
|
||||
CMSMain:
|
||||
LANGUAGEDROPDOWNLABEL: "Sprache"
|
||||
CMSMain_left.ss:
|
||||
GO: "Los"
|
||||
Form:
|
||||
LANGAVAIL: "Verfügbare Sprachen"
|
||||
LANGAOTHER: "Andere Sprachen"
|
||||
Translatable:
|
||||
TRANSLATIONS: "Übersetzungen"
|
||||
CREATE: "Neue Übersetzung erstellen"
|
||||
NEWLANGUAGE: "Neue Sprache"
|
||||
CREATEBUTTON: "Erstellen"
|
||||
EXISTING: "Bestehende Übersetzungen:"
|
||||
NOTICENEWPAGE: "Bitte speichern Sie diese Seite, bevor Sie eine Übersetzung erstellen."
|
||||
TRANSLATEPERMISSION: "In %s übersetzen"
|
||||
TRANSLATEALLPERMISSION: "In alle verfügbaren Sprachen übersetzen"
|
||||
|
17
lang/en.yml
Normal file
17
lang/en.yml
Normal file
@ -0,0 +1,17 @@
|
||||
en:
|
||||
CMSMain:
|
||||
LANGUAGEDROPDOWNLABEL: "Language"
|
||||
CMSMain_left.ss:
|
||||
GO: "Go"
|
||||
Form:
|
||||
LANGAVAIL: "Available languages"
|
||||
LANGAOTHER: "Other languages"
|
||||
Translatable:
|
||||
TRANSLATIONS: "Translations"
|
||||
CREATE: "Create new translation"
|
||||
NEWLANGUAGE: "New language"
|
||||
CREATEBUTTON: "Create"
|
||||
EXISTING: "Existing translations:"
|
||||
NOTICENEWPAGE: "Please save this page before creating a translation"
|
||||
TRANSLATEPERMISSION: "Translate %s"
|
||||
TRANSLATEALLPERMISSION: "Translate into all available languages"
|
17
lang/en_GB.yml
Normal file
17
lang/en_GB.yml
Normal file
@ -0,0 +1,17 @@
|
||||
en_GB:
|
||||
CMSMain:
|
||||
LANGUAGEDROPDOWNLABEL: "Language"
|
||||
CMSMain_left.ss:
|
||||
GO: "Go"
|
||||
Form:
|
||||
LANGAVAIL: "Available languages"
|
||||
LANGAOTHER: "Other languages"
|
||||
Translatable:
|
||||
TRANSLATIONS: "Translations"
|
||||
CREATE: "Create new translation"
|
||||
NEWLANGUAGE: "New language"
|
||||
CREATEBUTTON: "Create"
|
||||
EXISTING: "Existing translations:"
|
||||
NOTICENEWPAGE: "Please save this page before creating a translation"
|
||||
TRANSLATEPERMISSION: "Translate %s"
|
||||
TRANSLATEALLPERMISSION: "Translate into all available languages"
|
Loading…
Reference in New Issue
Block a user