Simple translation for gallery
This commit is contained in:
parent
5ecc10b756
commit
3ec5ffe24e
|
@ -1,4 +1,7 @@
|
||||||
<?php $TRANSLATIONS = array(
|
<?php $TRANSLATIONS = array(
|
||||||
|
"Contacts" => "Kontakty",
|
||||||
|
"Addressbooks" => "Książki adresowe",
|
||||||
|
"Add" => "Dodaj",
|
||||||
"This is not your addressbook." => "To nie jest twoja książka adresowa.",
|
"This is not your addressbook." => "To nie jest twoja książka adresowa.",
|
||||||
"Contact could not be found." => "Kontakt nie znaleziony.",
|
"Contact could not be found." => "Kontakt nie znaleziony.",
|
||||||
"vCard could not be read." => "Nie można odczytać vCard.",
|
"vCard could not be read." => "Nie można odczytać vCard.",
|
||||||
|
|
|
@ -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_Scanner'] = 'apps/gallery/lib/scanner.php';
|
||||||
OC::$CLASSPATH['OC_Gallery_Hooks_Handlers'] = 'apps/gallery/lib/hooks_handlers.php';
|
OC::$CLASSPATH['OC_Gallery_Hooks_Handlers'] = 'apps/gallery/lib/hooks_handlers.php';
|
||||||
|
|
||||||
|
$l = new OC_L10N('gallery');
|
||||||
|
|
||||||
OC_App::register(array(
|
OC_App::register(array(
|
||||||
'order' => 20,
|
'order' => 20,
|
||||||
'id' => 'gallery',
|
'id' => 'gallery',
|
||||||
|
@ -36,7 +38,7 @@ OC_App::addNavigationEntry( array(
|
||||||
'order' => 20,
|
'order' => 20,
|
||||||
'href' => OC_Helper::linkTo('gallery', 'index.php'),
|
'href' => OC_Helper::linkTo('gallery', 'index.php'),
|
||||||
'icon' => OC_Helper::imagePath('core', 'places/picture.svg'),
|
'icon' => OC_Helper::imagePath('core', 'places/picture.svg'),
|
||||||
'name' => 'Gallery'));
|
'name' => $l->t('Gallery')));
|
||||||
|
|
||||||
class OC_GallerySearchProvider extends OC_Search_Provider{
|
class OC_GallerySearchProvider extends OC_Search_Provider{
|
||||||
function search($query){
|
function search($query){
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php $TRANSLATIONS = array(
|
||||||
|
"Gallery" => "Galerie",
|
||||||
|
"Back" => "Zurück"
|
||||||
|
);
|
||||||
|
?>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?php $TRANSLATIONS = array(
|
||||||
|
"Gallery" => "Galeria",
|
||||||
|
"Rescan" => "Przeskanuj",
|
||||||
|
"Back" => "Wróć"
|
||||||
|
);
|
||||||
|
?>
|
|
@ -2,11 +2,12 @@
|
||||||
OC_Util::addStyle('gallery', 'styles');
|
OC_Util::addStyle('gallery', 'styles');
|
||||||
OC_Util::addScript('gallery', 'albums');
|
OC_Util::addScript('gallery', 'albums');
|
||||||
OC_Util::addScript('gallery', 'album_cover');
|
OC_Util::addScript('gallery', 'album_cover');
|
||||||
|
$l = new OC_L10N('gallery');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="notification"><div id="gallery_notification_text">Creating thumbnails</div></div>
|
<div id="notification"><div id="gallery_notification_text">Creating thumbnails</div></div>
|
||||||
<div id="controls">
|
<div id="controls">
|
||||||
<input type="button" value="Rescan" onclick="javascript:scanForAlbums();" />
|
<input type="button" value="<?php echo $l->t('Rescan');?>" onclick="javascript:scanForAlbums();" />
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
<div id="gallery_list">
|
<div id="gallery_list">
|
||||||
|
|
|
@ -5,6 +5,7 @@ OC_Util::addScript('gallery', 'album_cover');
|
||||||
OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
||||||
OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
||||||
OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
||||||
|
$l = new OC_L10N('gallery');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
@ -15,7 +16,7 @@ OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="controls">
|
<div id="controls">
|
||||||
<a href="?"><input type="button" value="Back" /></a>
|
<a href="?"><input type="button" value="<? echo $l->t('Back');?>" /></a>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue