Added translations for en, en_GB and german

This commit is contained in:
Roland Lehmann 2012-08-11 06:44:33 +02:00
parent 8b923ca84a
commit 06bb08b594
4 changed files with 53 additions and 1 deletions

View File

@ -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
View 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
View 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
View 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"