From: Bartek Przybylski Date: Sun, 15 Jan 2012 11:11:04 +0000 (+0100) Subject: Simple translation for gallery X-Git-Tag: v3.0~40^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ec5ffe24e9d1c50dcfedc1d18af01be500f8df5;p=nextcloud-server.git Simple translation for gallery --- diff --git a/apps/contacts/l10n/pl.php b/apps/contacts/l10n/pl.php index 0302b0e3eea..43ee14f930e 100644 --- a/apps/contacts/l10n/pl.php +++ b/apps/contacts/l10n/pl.php @@ -1,4 +1,7 @@ "Kontakty", +"Addressbooks" => "Książki adresowe", +"Add" => "Dodaj", "This is not your addressbook." => "To nie jest twoja książka adresowa.", "Contact could not be found." => "Kontakt nie znaleziony.", "vCard could not be read." => "Nie można odczytać vCard.", diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php index 9c665fd3500..da872274497 100644 --- a/apps/gallery/appinfo/app.php +++ b/apps/gallery/appinfo/app.php @@ -26,6 +26,8 @@ OC::$CLASSPATH['OC_Gallery_Photo'] = 'apps/gallery/lib/photo.php'; OC::$CLASSPATH['OC_Gallery_Scanner'] = 'apps/gallery/lib/scanner.php'; OC::$CLASSPATH['OC_Gallery_Hooks_Handlers'] = 'apps/gallery/lib/hooks_handlers.php'; +$l = new OC_L10N('gallery'); + OC_App::register(array( 'order' => 20, 'id' => 'gallery', @@ -36,7 +38,7 @@ OC_App::addNavigationEntry( array( 'order' => 20, 'href' => OC_Helper::linkTo('gallery', 'index.php'), 'icon' => OC_Helper::imagePath('core', 'places/picture.svg'), - 'name' => 'Gallery')); + 'name' => $l->t('Gallery'))); class OC_GallerySearchProvider extends OC_Search_Provider{ function search($query){ diff --git a/apps/gallery/l10n/de.php b/apps/gallery/l10n/de.php new file mode 100644 index 00000000000..4ca5c83249c --- /dev/null +++ b/apps/gallery/l10n/de.php @@ -0,0 +1,5 @@ + "Galerie", + "Back" => "Zurück" +); +?> diff --git a/apps/gallery/l10n/pl.php b/apps/gallery/l10n/pl.php new file mode 100644 index 00000000000..d0c51c0f814 --- /dev/null +++ b/apps/gallery/l10n/pl.php @@ -0,0 +1,6 @@ + "Galeria", + "Rescan" => "Przeskanuj", + "Back" => "Wróć" +); +?> diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php index 7c6e91a468e..eb6ebd1bb7b 100644 --- a/apps/gallery/templates/index.php +++ b/apps/gallery/templates/index.php @@ -2,11 +2,12 @@ OC_Util::addStyle('gallery', 'styles'); OC_Util::addScript('gallery', 'albums'); OC_Util::addScript('gallery', 'album_cover'); +$l = new OC_L10N('gallery'); ?>
- +