diff --git a/code/controller/TranslatableCMSMainExtension.php b/code/controller/TranslatableCMSMainExtension.php index 0d48307..21b39b4 100644 --- a/code/controller/TranslatableCMSMainExtension.php +++ b/code/controller/TranslatableCMSMainExtension.php @@ -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', diff --git a/lang/de.yml b/lang/de.yml new file mode 100644 index 0000000..c02cae5 --- /dev/null +++ b/lang/de.yml @@ -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" + diff --git a/lang/en.yml b/lang/en.yml new file mode 100644 index 0000000..67de457 --- /dev/null +++ b/lang/en.yml @@ -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" diff --git a/lang/en_GB.yml b/lang/en_GB.yml new file mode 100644 index 0000000..b746955 --- /dev/null +++ b/lang/en_GB.yml @@ -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"