diff options
-rw-r--r-- | admin/l10n/da.php | 20 | ||||
-rw-r--r-- | core/ajax/translations.php (renamed from core/l10n/javascript.php) | 0 | ||||
-rw-r--r-- | core/l10n/da.php | 27 | ||||
-rw-r--r-- | help/l10n/xgettextfiles | 1 | ||||
-rw-r--r-- | l10n/da/admin.po | 91 | ||||
-rw-r--r-- | l10n/da/core.po | 122 | ||||
-rw-r--r-- | l10n/da/help.po | 26 | ||||
-rw-r--r-- | l10n/da/log.po (renamed from log/l10n/da.po) | 17 | ||||
-rw-r--r-- | l10n/da/settings.po | 86 | ||||
-rw-r--r-- | l10n/de/admin.po (renamed from admin/l10n/messages.pot) | 10 | ||||
-rw-r--r-- | l10n/de/core.po (renamed from core/l10n/de.po) | 2 | ||||
-rw-r--r-- | l10n/de/help.po | 26 | ||||
-rw-r--r-- | l10n/de/log.po (renamed from log/l10n/de.po) | 18 | ||||
-rw-r--r-- | l10n/de/settings.po (renamed from settings/l10n/messages.pot) | 2 | ||||
-rw-r--r-- | l10n/l10n.pl | 105 | ||||
-rw-r--r-- | l10n/nl/admin.po | 91 | ||||
-rw-r--r-- | l10n/nl/core.po (renamed from core/l10n/nl.po) | 18 | ||||
-rw-r--r-- | l10n/nl/help.po | 26 | ||||
-rw-r--r-- | l10n/nl/log.po (renamed from log/l10n/nl.po) | 2 | ||||
-rw-r--r-- | l10n/nl/settings.po (renamed from settings/l10n/nl.po) | 17 | ||||
-rw-r--r-- | l10n/templates/admin.pot | 91 | ||||
-rw-r--r-- | l10n/templates/core.pot (renamed from core/l10n/messages.pot) | 2 | ||||
-rw-r--r-- | l10n/templates/help.pot | 26 | ||||
-rw-r--r-- | l10n/templates/log.pot (renamed from log/l10n/messages.pot) | 2 | ||||
-rw-r--r-- | l10n/templates/settings.pot | 86 | ||||
-rw-r--r-- | lib/l10n.php | 8 | ||||
-rw-r--r-- | log/l10n/log | 4 | ||||
-rw-r--r-- | log/l10n/nl.php | 13 | ||||
-rw-r--r-- | settings/l10n/da.php | 19 |
29 files changed, 890 insertions, 68 deletions
diff --git a/admin/l10n/da.php b/admin/l10n/da.php new file mode 100644 index 00000000000..4601616efc0 --- /dev/null +++ b/admin/l10n/da.php @@ -0,0 +1,20 @@ +<?php $TRANSLATIONS = array( +"remove" => "slet", +"Password" => "Kodeord", +"Administration" => "Administration", +"Name" => "Navn", +"Do you really want to delete group" => "Vil du virkelig slette denne gruppe", +"System Settings" => "System indstillinger", +"Create group" => "Lav gruppe", +"Modified" => "Ændret", +"read more" => "læs mere", +"INSTALL" => "INSTALLER", +"Set" => "Indstil", +"Apps Repository" => "Applikation arkiv", +"Force new password:" => "Tving ny adgangskode", +"Add user" => "Tilføj bruger", +"Groups" => "Grupper", +"Cannot connect to apps repository" => "Kan ikke tilslutte applikations arkivet", +"Do you really want to delete user" => "Vil du virkelig slette denne bruger", +"Create user" => "Lav bruger" +); diff --git a/core/l10n/javascript.php b/core/ajax/translations.php index a1e84487f63..a1e84487f63 100644 --- a/core/l10n/javascript.php +++ b/core/ajax/translations.php diff --git a/core/l10n/da.php b/core/l10n/da.php new file mode 100644 index 00000000000..d7aa3855d48 --- /dev/null +++ b/core/l10n/da.php @@ -0,0 +1,27 @@ +<?php $TRANSLATIONS = array( +"Create an <strong>admin account.</strong>" => "Lav en <strong>administrator konto.</strong>", +"Welcome to <strong>ownCloud</strong>, your personnal cloud." => "Velkommen til <strong>ownCloud</strong>, Din personlige Sky.", +"You are logged out." => "Du er nu logget ud", +"MySQL user password:" => "MySQL bruger password:", +"Error 404, Cloud not found" => "Fejl 404, Skyen kan ikke findes", +"Database name:" => "Database navn:", +"Set where to store the data." => "Indstil data mappe.", +"Advanced" => "Avanceret", +"To finish the installation, please follow the steps below." => "For at fuldføre installationen, følg venligst nedenstående trin", +"Host:" => "Host:", +"Table prefix:" => "Tabel prefix:", +"prev" => "forrige", +"Login:" => "Login:", +"Login failed!" => "Login misslykkedes", +"I will use a MySQL database." => "Jeg vil benytte en MySQL database.", +"next" => "næste", +"Password:" => "Kodeord:", +"SQLite" => "SQLite", +"MySQL user login:" => "MySQL bruger login:", +"<a href=\"http://owncloud.org/\">ownCloud</a> is a personal cloud which runs on your own server.</p>" => "<a href=\"http://owncloud.org/\">ownCloud</a> er din personly sky der køre på din egen server.</p>", +"Search" => "Søg", +"Data directory:" => "Data mappe:", +"Finish setup" => "Afslut installation", +"Configure your database." => "Konfigurer din database.", +"I will use a SQLite database. You have nothing to do!" => "Jeg vil benytte en SQLite database. Du skal ikke gøre noget!" +); diff --git a/help/l10n/xgettextfiles b/help/l10n/xgettextfiles new file mode 100644 index 00000000000..a24bcc89a85 --- /dev/null +++ b/help/l10n/xgettextfiles @@ -0,0 +1 @@ +../templates/index.php diff --git a/l10n/da/admin.po b/l10n/da/admin.po new file mode 100644 index 00000000000..26f34e599ae --- /dev/null +++ b/l10n/da/admin.po @@ -0,0 +1,91 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/app.php:22 +msgid "read more" +msgstr "læs mere" + +#: ../templates/app.php:24 +msgid "INSTALL" +msgstr "INSTALLER" + +#: ../templates/app_noconn.php:6 ../templates/apps.php:6 +msgid "Apps Repository" +msgstr "Applikation arkiv" + +#: ../templates/app_noconn.php:7 +msgid "Cannot connect to apps repository" +msgstr "Kan ikke tilslutte applikations arkivet" + +#: ../templates/apps.php:13 ../templates/users.php:6 ../templates/users.php:20 +#: ../templates/users.php:50 +msgid "Name" +msgstr "Navn" + +#: ../templates/apps.php:14 +msgid "Modified" +msgstr "Ændret" + +#: ../templates/system.php:6 +msgid "Administration" +msgstr "Administration" + +#: ../templates/system.php:7 +msgid "System Settings" +msgstr "System indstillinger" + +#: ../templates/users.php:13 +msgid "Add user" +msgstr "Tilføj bruger" + +#: ../templates/users.php:21 +msgid "Password" +msgstr "Kodeord" + +#: ../templates/users.php:30 +msgid "Create user" +msgstr "Lav bruger" + +#: ../templates/users.php:40 ../templates/users.php:68 +msgid "remove" +msgstr "slet" + +#: ../templates/users.php:46 ../templates/users.php:7 +msgid "Groups" +msgstr "Grupper" + +#: ../templates/users.php:58 +msgid "Create group" +msgstr "Lav gruppe" + +#: ../templates/users.php:94 +msgid "Force new password:" +msgstr "Tving ny adgangskode" + +#: ../templates/users.php:96 +msgid "Set" +msgstr "Indstil" + +#: ../templates/users.php:102 +msgid "Do you really want to delete user" +msgstr "Vil du virkelig slette denne bruger" + +#: ../templates/users.php:109 +msgid "Do you really want to delete group" +msgstr "Vil du virkelig slette denne gruppe" diff --git a/l10n/da/core.po b/l10n/da/core.po new file mode 100644 index 00000000000..b31b7b93dbc --- /dev/null +++ b/l10n/da/core.po @@ -0,0 +1,122 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/404.php:15 +msgid "Error 404, Cloud not found" +msgstr "Fejl 404, Skyen kan ikke findes" + +#: ../templates/installation.php:6 +msgid "Welcome to <strong>ownCloud</strong>, your personnal cloud." +msgstr "Velkommen til <strong>ownCloud</strong>, Din personlige Sky." + +#: ../templates/installation.php:7 +msgid "To finish the installation, please follow the steps below." +msgstr "For at fuldføre installationen, følg venligst nedenstående trin" + +#: ../templates/installation.php:26 +msgid "Create an <strong>admin account.</strong>" +msgstr "Lav en <strong>administrator konto.</strong>" + +#: ../templates/installation.php:27 +msgid "Login:" +msgstr "Login:" + +#: ../templates/installation.php:28 +msgid "Password:" +msgstr "Kodeord:" + +#: ../templates/installation.php:31 +msgid "Advanced" +msgstr "Avanceret" + +#: ../templates/installation.php:34 +msgid "Set where to store the data." +msgstr "Indstil data mappe." + +#: ../templates/installation.php:35 +msgid "Data directory:" +msgstr "Data mappe:" + +#: ../templates/installation.php:39 +msgid "Configure your database." +msgstr "Konfigurer din database." + +#: ../templates/installation.php:43 +msgid "I will use a SQLite database. You have nothing to do!" +msgstr "Jeg vil benytte en SQLite database. Du skal ikke gøre noget!" + +#: ../templates/installation.php:46 +msgid "SQLite" +msgstr "SQLite" + +#: ../templates/installation.php:53 +msgid "I will use a MySQL database." +msgstr "Jeg vil benytte en MySQL database." + +#: ../templates/installation.php:59 +msgid "Host:" +msgstr "Host:" + +#: ../templates/installation.php:60 +msgid "Database name:" +msgstr "Database navn:" + +#: ../templates/installation.php:61 +msgid "Table prefix:" +msgstr "Tabel prefix:" + +#: ../templates/installation.php:62 +msgid "MySQL user login:" +msgstr "MySQL bruger login:" + +#: ../templates/installation.php:63 +msgid "MySQL user password:" +msgstr "MySQL bruger password:" + +#: ../templates/installation.php:68 +msgid "Finish setup" +msgstr "Afslut installation" + +#: ../templates/layout.guest.php:20 +msgid "" +"<a href=\"http://owncloud.org/\">ownCloud</a> is a personal cloud which runs " +"on your own server.</p>" +msgstr "" +"<a href=\"http://owncloud.org/\">ownCloud</a> er din personly sky der køre " +"på din egen server.</p>" + +#: ../templates/login.php:6 +msgid "Login failed!" +msgstr "Login misslykkedes" + +#: ../templates/logout.php:1 +msgid "You are logged out." +msgstr "Du er nu logget ud" + +#: ../templates/part.pagenavi.php:6 +msgid "prev" +msgstr "forrige" + +#: ../templates/part.pagenavi.php:26 +msgid "next" +msgstr "næste" + +#: ../templates/part.searchbox.php:3 +msgid "Search" +msgstr "Søg" diff --git a/l10n/da/help.po b/l10n/da/help.po new file mode 100644 index 00000000000..cd06f9b10ad --- /dev/null +++ b/l10n/da/help.po @@ -0,0 +1,26 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:2 +msgid "Questions and Answers" +msgstr "" + +#: ../templates/index.php:21 +msgid "ASK A QUESTION" +msgstr "" diff --git a/log/l10n/da.po b/l10n/da/log.po index 5a88aedee94..4c81d97ea4b 100644 --- a/log/l10n/da.po +++ b/l10n/da/log.po @@ -1,21 +1,21 @@ +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # -# Mikkel Bjerg Larsen <mikkelbjerglarsen@gmail.com>, 2011. +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 16:53+0200\n" -"PO-Revision-Date: 2011-06-19 21:09+0200\n" -"Last-Translator: Mikkel Bjerg Larsen <mikkelbjerglarsen@gmail.com>\n" -"Language-Team: American English <kde-i18n-doc@kde.org>\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.2\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../templates/index.php:4 msgid "Filter:" @@ -64,4 +64,3 @@ msgstr "Hvornår" #: ../templates/index.php:45 msgid "Clear log entries before" msgstr "Slet log poster før" - diff --git a/l10n/da/settings.po b/l10n/da/settings.po new file mode 100644 index 00000000000..b00f26b052a --- /dev/null +++ b/l10n/da/settings.po @@ -0,0 +1,86 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:3 +msgid "Account information" +msgstr "Konto information" + +#: ../templates/index.php:5 +msgid "You're currently using" +msgstr "Du udnytter i øjeblikket" + +#: ../templates/index.php:5 +msgid "of your" +msgstr "af din" + +#: ../templates/index.php:5 +msgid "space" +msgstr "plads" + +#: ../templates/index.php:11 +msgid "Change Password" +msgstr "Ændre adgangskode" + +#: ../templates/index.php:12 +msgid "Your password got changed" +msgstr "Din adgangskode er ændret" + +#: ../templates/index.php:15 +msgid "Old password:" +msgstr "Gamle adgangskode" + +#: ../templates/index.php:19 +msgid "New password" +msgstr "Ny adgangskode" + +#: ../templates/index.php:24 +msgid "Show new password" +msgstr "Vis den nye adgangskode" + +#: ../templates/index.php:34 +msgid "Language" +msgstr "Sprog" + +#: ../ajax/changepassword.php:13 ../ajax/setlanguage.php:13 +msgid "Authentication error" +msgstr "Godkendelsesfejl" + +#: ../ajax/changepassword.php:19 +msgid "You have to enter the old and the new password!" +msgstr "Du skal indtaste din gamle og nye adganskode" + +#: ../ajax/changepassword.php:25 +msgid "Your old password is wrong!" +msgstr "Dit gamle adgangskode er forkert!" + +#: ../ajax/changepassword.php:31 +msgid "Password changed" +msgstr "Adgangskoden er ændret" + +#: ../ajax/changepassword.php:34 +msgid "Unable to change password" +msgstr "Kan ikke ændre din adgangskode" + +#: ../ajax/setlanguage.php:21 +msgid "Language changed" +msgstr "Sprog ændret" + +#: ../ajax/setlanguage.php:23 +msgid "Invalid request" +msgstr "Invalid forespørgsel" diff --git a/admin/l10n/messages.pot b/l10n/de/admin.po index c30a4454311..94134e44397 100644 --- a/admin/l10n/messages.pot +++ b/l10n/de/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 23:32+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -50,6 +50,10 @@ msgstr "" msgid "System Settings" msgstr "" +#: ../templates/users.php:7 ../templates/users.php:46 +msgid "Groups" +msgstr "" + #: ../templates/users.php:13 msgid "Add user" msgstr "" @@ -66,10 +70,6 @@ msgstr "" msgid "remove" msgstr "" -#: ../templates/users.php:46 -msgid "Groups" -msgstr "" - #: ../templates/users.php:58 msgid "Create group" msgstr "" diff --git a/core/l10n/de.po b/l10n/de/core.po index 19b12ca4aac..8b232607d98 100644 --- a/core/l10n/de.po +++ b/l10n/de/core.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 23:27+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/l10n/de/help.po b/l10n/de/help.po new file mode 100644 index 00000000000..cd06f9b10ad --- /dev/null +++ b/l10n/de/help.po @@ -0,0 +1,26 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:2 +msgid "Questions and Answers" +msgstr "" + +#: ../templates/index.php:21 +msgid "ASK A QUESTION" +msgstr "" diff --git a/log/l10n/de.po b/l10n/de/log.po index a901754f1a6..2bb4104b307 100644 --- a/log/l10n/de.po +++ b/l10n/de/log.po @@ -1,21 +1,21 @@ +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # -# Jakob Sack <mail@jakobsack.de>, 2011. +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 16:44+0200\n" -"PO-Revision-Date: 2011-06-19 16:54+0200\n" -"Last-Translator: Jakob Sack <mail@jakobsack.de>\n" -"Language-Team: German <kde-i18n-de@kde.org>\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.2\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" #: ../templates/index.php:4 msgid "Filter:" @@ -64,5 +64,3 @@ msgstr "Wann" #: ../templates/index.php:45 msgid "Clear log entries before" msgstr "Lösche Einträge vor dem" - - diff --git a/settings/l10n/messages.pot b/l10n/de/settings.po index 705d583ee76..55f3298f6f9 100644 --- a/settings/l10n/messages.pot +++ b/l10n/de/settings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-20 14:47+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/l10n/l10n.pl b/l10n/l10n.pl new file mode 100644 index 00000000000..a5fab01a2fd --- /dev/null +++ b/l10n/l10n.pl @@ -0,0 +1,105 @@ +#!/usr/bin/perl +use strict; +use Locale::PO; +use Cwd; +use Data::Dumper; + +sub crawl{ + my( $dir ) = @_; + my @found = (); + + opendir( DIR, $dir ); + my @files = readdir( DIR ); + closedir( DIR ); + + foreach my $i ( @files ){ + next if substr( $i, 0, 1 ) eq '.'; + if( -d $dir.'/'.$i ){ + push( @found, crawl( $dir.'/'.$i )); + } + elsif( $i eq 'xgettextfiles' ){ + push( @found, $dir ); + } + } + + return @found; +} + +my $task = shift( @ARGV ); +my $place = '..'; + +die( "Usuage: l10n.pl task\ntask: read, write\n") unless $task && $place; + +# Where are i18n-files? +my @dirs = crawl( $place ); + +# Languages +mkdir( 'templates' ) unless -d 'templates'; + +my @languages = (); +opendir( DIR, '.' ); +my @files = readdir( DIR ); +closedir( DIR ); +foreach my $i ( @files ){ + push( @languages, $i ) if -d $i && substr( $i, 0, 1 ) ne '.'; +} + +# Our current position +my $whereami = cwd(); + +if( $task eq 'read' ){ + foreach my $dir ( @dirs ){ + my @temp = split( /\//, $dir ); + pop( @temp ); + my $app = pop( @temp ); + chdir( $dir ); + foreach my $language ( @languages ){ + my $output = "${whereami}/$language/$app.po"; + $output .= 't' if $language eq 'templates'; + + if( -e $output ){ + `xgettext --files-from=xgettextfiles --join-existing --output="$output" --keyword=t` + } + else{ + `xgettext --files-from=xgettextfiles --output="$output" --keyword=t` + } + } + chdir( $whereami ); + } +} +elsif( $task eq 'write' ){ + foreach my $dir ( @dirs ){ + my @temp = split( /\//, $dir ); + pop( @temp ); + my $app = pop( @temp ); + chdir( $dir ); + foreach my $language ( @languages ){ + next if $language eq 'templates'; + + my $input = "${whereami}/$language/$app.po"; + next unless -e $input; + + my $hash = Locale::PO->load_file_ashash( $input ); + + # Create array + my @strings = (); + foreach my $key ( keys( %{$hash} )){ + next if $key eq '""'; + next if $hash->{$key}->msgstr() eq '""'; + push( @strings, $hash->{$key}->msgid()." => ".$hash->{$key}->msgstr()); + } + next if $#strings == -1; # Skip empty files + + # Write PHP file + open( OUT, ">$language.php" ); + print OUT "<?php \$TRANSLATIONS = array(\n"; + print OUT join( ",\n", @strings ); + print OUT "\n);\n"; + close( OUT ); + } + chdir( $whereami ); + } +} +else{ + print "unknown task!\n"; +} diff --git a/l10n/nl/admin.po b/l10n/nl/admin.po new file mode 100644 index 00000000000..94134e44397 --- /dev/null +++ b/l10n/nl/admin.po @@ -0,0 +1,91 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/app.php:22 +msgid "read more" +msgstr "" + +#: ../templates/app.php:24 +msgid "INSTALL" +msgstr "" + +#: ../templates/app_noconn.php:6 ../templates/apps.php:6 +msgid "Apps Repository" +msgstr "" + +#: ../templates/app_noconn.php:7 +msgid "Cannot connect to apps repository" +msgstr "" + +#: ../templates/apps.php:13 ../templates/users.php:6 ../templates/users.php:20 +#: ../templates/users.php:50 +msgid "Name" +msgstr "" + +#: ../templates/apps.php:14 +msgid "Modified" +msgstr "" + +#: ../templates/system.php:6 +msgid "Administration" +msgstr "" + +#: ../templates/system.php:7 +msgid "System Settings" +msgstr "" + +#: ../templates/users.php:7 ../templates/users.php:46 +msgid "Groups" +msgstr "" + +#: ../templates/users.php:13 +msgid "Add user" +msgstr "" + +#: ../templates/users.php:21 +msgid "Password" +msgstr "" + +#: ../templates/users.php:30 +msgid "Create user" +msgstr "" + +#: ../templates/users.php:40 ../templates/users.php:68 +msgid "remove" +msgstr "" + +#: ../templates/users.php:58 +msgid "Create group" +msgstr "" + +#: ../templates/users.php:94 +msgid "Force new password:" +msgstr "" + +#: ../templates/users.php:96 +msgid "Set" +msgstr "" + +#: ../templates/users.php:102 +msgid "Do you really want to delete user" +msgstr "" + +#: ../templates/users.php:109 +msgid "Do you really want to delete group" +msgstr "" diff --git a/core/l10n/nl.po b/l10n/nl/core.po index 7a819e81dd8..9aa3851d86f 100644 --- a/core/l10n/nl.po +++ b/l10n/nl/core.po @@ -1,21 +1,21 @@ +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # -# Robin Appelman <icewind1991@gmail.com>, 2011. +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 23:27+0200\n" -"PO-Revision-Date: 2011-06-20 14:19+0200\n" -"Last-Translator: Robin Appelman <icewind1991@gmail.com>\n" -"Language-Team: American English <kde-i18n-doc@kde.org>\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.2\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../templates/404.php:15 msgid "Error 404, Cloud not found" @@ -121,5 +121,3 @@ msgstr "volgende" #: ../templates/part.searchbox.php:3 msgid "Search" msgstr "Zoeken" - - diff --git a/l10n/nl/help.po b/l10n/nl/help.po new file mode 100644 index 00000000000..cd06f9b10ad --- /dev/null +++ b/l10n/nl/help.po @@ -0,0 +1,26 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:2 +msgid "Questions and Answers" +msgstr "" + +#: ../templates/index.php:21 +msgid "ASK A QUESTION" +msgstr "" diff --git a/log/l10n/nl.po b/l10n/nl/log.po index 2da2355a3ab..c73912a6262 100644 --- a/log/l10n/nl.po +++ b/l10n/nl/log.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 16:53+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/settings/l10n/nl.po b/l10n/nl/settings.po index 5b38f84b775..11c325d5fcb 100644 --- a/settings/l10n/nl.po +++ b/l10n/nl/settings.po @@ -1,21 +1,21 @@ +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # -# Robin Appelman <icewind1991@gmail.com>, 2011. +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-20 14:47+0200\n" -"PO-Revision-Date: 2011-06-20 14:48+0200\n" -"Last-Translator: Robin Appelman <icewind1991@gmail.com>\n" -"Language-Team: American English <kde-i18n-doc@kde.org>\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.2\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../templates/index.php:3 msgid "Account information" @@ -84,4 +84,3 @@ msgstr "Taal aangepast" #: ../ajax/setlanguage.php:23 msgid "Invalid request" msgstr "Ongeldige aanvraag" - diff --git a/l10n/templates/admin.pot b/l10n/templates/admin.pot new file mode 100644 index 00000000000..c683082b6f8 --- /dev/null +++ b/l10n/templates/admin.pot @@ -0,0 +1,91 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/app.php:22 +msgid "read more" +msgstr "" + +#: ../templates/app.php:24 +msgid "INSTALL" +msgstr "" + +#: ../templates/app_noconn.php:6 ../templates/apps.php:6 +msgid "Apps Repository" +msgstr "" + +#: ../templates/app_noconn.php:7 +msgid "Cannot connect to apps repository" +msgstr "" + +#: ../templates/apps.php:13 ../templates/users.php:6 ../templates/users.php:20 +#: ../templates/users.php:50 +msgid "Name" +msgstr "" + +#: ../templates/apps.php:14 +msgid "Modified" +msgstr "" + +#: ../templates/system.php:6 +msgid "Administration" +msgstr "" + +#: ../templates/system.php:7 +msgid "System Settings" +msgstr "" + +#: ../templates/users.php:13 +msgid "Add user" +msgstr "" + +#: ../templates/users.php:21 +msgid "Password" +msgstr "" + +#: ../templates/users.php:30 +msgid "Create user" +msgstr "" + +#: ../templates/users.php:40 ../templates/users.php:68 +msgid "remove" +msgstr "" + +#: ../templates/users.php:46 ../templates/users.php:7 +msgid "Groups" +msgstr "" + +#: ../templates/users.php:58 +msgid "Create group" +msgstr "" + +#: ../templates/users.php:94 +msgid "Force new password:" +msgstr "" + +#: ../templates/users.php:96 +msgid "Set" +msgstr "" + +#: ../templates/users.php:102 +msgid "Do you really want to delete user" +msgstr "" + +#: ../templates/users.php:109 +msgid "Do you really want to delete group" +msgstr "" diff --git a/core/l10n/messages.pot b/l10n/templates/core.pot index 591a1c724e3..ef4f80b580b 100644 --- a/core/l10n/messages.pot +++ b/l10n/templates/core.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 23:27+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/l10n/templates/help.pot b/l10n/templates/help.pot new file mode 100644 index 00000000000..cd06f9b10ad --- /dev/null +++ b/l10n/templates/help.pot @@ -0,0 +1,26 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:2 +msgid "Questions and Answers" +msgstr "" + +#: ../templates/index.php:21 +msgid "ASK A QUESTION" +msgstr "" diff --git a/log/l10n/messages.pot b/l10n/templates/log.pot index 2da2355a3ab..c73912a6262 100644 --- a/log/l10n/messages.pot +++ b/l10n/templates/log.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-19 16:53+0200\n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/l10n/templates/settings.pot b/l10n/templates/settings.pot new file mode 100644 index 00000000000..55f3298f6f9 --- /dev/null +++ b/l10n/templates/settings.pot @@ -0,0 +1,86 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-20 22:00+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../templates/index.php:3 +msgid "Account information" +msgstr "" + +#: ../templates/index.php:5 +msgid "You're currently using" +msgstr "" + +#: ../templates/index.php:5 +msgid "of your" +msgstr "" + +#: ../templates/index.php:5 +msgid "space" +msgstr "" + +#: ../templates/index.php:11 +msgid "Change Password" +msgstr "" + +#: ../templates/index.php:12 +msgid "Your password got changed" +msgstr "" + +#: ../templates/index.php:15 +msgid "Old password:" +msgstr "" + +#: ../templates/index.php:19 +msgid "New password" +msgstr "" + +#: ../templates/index.php:24 +msgid "Show new password" +msgstr "" + +#: ../templates/index.php:34 +msgid "Language" +msgstr "" + +#: ../ajax/changepassword.php:13 ../ajax/setlanguage.php:13 +msgid "Authentication error" +msgstr "" + +#: ../ajax/changepassword.php:19 +msgid "You have to enter the old and the new password!" +msgstr "" + +#: ../ajax/changepassword.php:25 +msgid "Your old password is wrong!" +msgstr "" + +#: ../ajax/changepassword.php:31 +msgid "Password changed" +msgstr "" + +#: ../ajax/changepassword.php:34 +msgid "Unable to change password" +msgstr "" + +#: ../ajax/setlanguage.php:21 +msgid "Language changed" +msgstr "" + +#: ../ajax/setlanguage.php:23 +msgid "Invalid request" +msgstr "" diff --git a/lib/l10n.php b/lib/l10n.php index 729310825dd..ff0238241a6 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -81,9 +81,9 @@ class OC_L10N{ } } - if( file_exists( $SERVERROOT.'/l10n/l10n-'.$lang.'.php' )){ + if( file_exists( $SERVERROOT.'/core/l10n/l10n-'.$lang.'.php' )){ // Include the file, save the data from $CONFIG - include( $SERVERROOT.'/l10n/l10n-'.$lang.'.php' ); + include( $SERVERROOT.'/core/l10n/l10n-'.$lang.'.php' ); if( isset( $LOCALIZATIONS ) && is_array( $LOCALIZATIONS )){ $this->localizations = array_merge( $this->localizations, $LOCALIZATIONS ); } @@ -231,8 +231,8 @@ class OC_L10N{ global $SERVERROOT; // find the i18n dir - $i18ndir = $SERVERROOT.'/l10n/'; - if( $app != 'core' && $app != '' ){ + $i18ndir = $SERVERROOT.'/core/l10n/'; + if( $app != '' ){ // Check if the app is in the app folder if( file_exists( $SERVERROOT.'/apps/'.$app.'/l10n/' )){ $i18ndir = $SERVERROOT.'/apps/'.$app.'/l10n/'; diff --git a/log/l10n/log b/log/l10n/log deleted file mode 100644 index f70eb6af3fe..00000000000 --- a/log/l10n/log +++ /dev/null @@ -1,4 +0,0 @@ -[General] -LangCode=de -ProjectID=oc_log -TargetLangCode=de diff --git a/log/l10n/nl.php b/log/l10n/nl.php index 1eab84ef152..34178b68632 100644 --- a/log/l10n/nl.php +++ b/log/l10n/nl.php @@ -1,14 +1,3 @@ <?php $TRANSLATIONS = array( -"Show:" => "Laat", -"Uploads" => "Uploads", -"Filter:" => "Filter: ", -"Logouts" => "Afmeldingen", -"Logins" => "Aanmeldingen", -"When" => "Wanneer", -"Downloads" => "Downloades", -"Clear log entries before" => "Verwijder logboek elementen ouder dan", -"What" => "Wat", -"entries per page." => "elementen per pagina zien.", -"Creations" => "Creaties", -"Deletions" => "Verwijderingen" + ); diff --git a/settings/l10n/da.php b/settings/l10n/da.php new file mode 100644 index 00000000000..4d403042e1e --- /dev/null +++ b/settings/l10n/da.php @@ -0,0 +1,19 @@ +<?php $TRANSLATIONS = array( +"space" => "plads", +"You're currently using" => "Du udnytter i øjeblikket", +"Unable to change password" => "Kan ikke ændre din adgangskode", +"New password" => "Ny adgangskode", +"Authentication error" => "Godkendelsesfejl", +"Your password got changed" => "Din adgangskode er ændret", +"Language changed" => "Sprog ændret", +"Invalid request" => "Invalid forespørgsel", +"Account information" => "Konto information", +"of your" => "af din", +"Password changed" => "Adgangskoden er ændret", +"Old password:" => "Gamle adgangskode", +"Your old password is wrong!" => "Dit gamle adgangskode er forkert!", +"Show new password" => "Vis den nye adgangskode", +"You have to enter the old and the new password!" => "Du skal indtaste din gamle og nye adganskode", +"Language" => "Sprog", +"Change Password" => "Ændre adgangskode" +); |