25 changed files with 584 additions and 55 deletions
-
91admin/l10n/messages.pot
-
5admin/l10n/xgettextfiles
-
1docs/createtranslation.pl
-
18docs/getstrings.pl
-
2index.php
-
43js/js.js
-
26js/setup.js
-
11l10n/de.php
-
120l10n/de.po
-
34l10n/javascript.php
-
120l10n/messages.pot
-
7l10n/xgettextfiles
-
20lib/l10n.php
-
14log/l10n/da.php
-
67log/l10n/da.po
-
1log/l10n/log
-
2templates/404.php
-
36templates/installation.php
-
3templates/layout.admin.php
-
5templates/layout.guest.php
-
3templates/layout.user.php
-
2templates/login.php
-
2templates/logout.php
-
4templates/part.pagenavi.php
-
2templates/part.searchbox.php
@ -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-19 23:32+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 |
|||
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 "" |
|||
@ -0,0 +1,5 @@ |
|||
../templates/app.php |
|||
../templates/app_noconn.php |
|||
../templates/apps.php |
|||
../templates/system.php |
|||
../templates/users.php |
|||
@ -0,0 +1,18 @@ |
|||
#!/usr/bin/perl |
|||
use strict; |
|||
|
|||
if( -e 'messages.pot' ){ |
|||
`xgettext --files-from=xgettextfiles --join-existing --output=messages.pot --keyword=t` |
|||
} |
|||
else{ |
|||
`xgettext --files-from=xgettextfiles --output=messages.pot --keyword=t` |
|||
} |
|||
|
|||
opendir( DIR, '.' ); |
|||
my @files = readdir( DIR ); |
|||
closedir( DIR ); |
|||
|
|||
foreach my $i ( @files ){ |
|||
next unless $i =~ m/^(.*)\.po$/; |
|||
`xgettext --files-from=xgettextfiles --join-existing --output=$i --keyword=t` |
|||
} |
|||
@ -1,26 +1,23 @@ |
|||
$(document).ready(function() { |
|||
// Hide the MySQL config div if needed :
|
|||
if(!$('#mysql').is(':checked') && $('#hasSQLite').val()=='true') { |
|||
$('#use_mysql').hide(); |
|||
var _l10ncache = {}; |
|||
function t(app,text){ |
|||
if( !( app in _l10ncache )){ |
|||
$.post( oc_webroot+'/l10n/javascript.php', {'app': app}, function(jsondata){ |
|||
_l10ncache[app] = jsondata.data; |
|||
}); |
|||
|
|||
// Bad answer ...
|
|||
if( !( app in _l10ncache )){ |
|||
_l10ncache[app] = []; |
|||
} |
|||
} |
|||
|
|||
$('#datadirField').hide(250); |
|||
if($('#hasSQLite').val()=='true'){ |
|||
$('#databaseField').hide(250); |
|||
if( typeof( _l10ncache[app][text] ) !== 'undefined' ){ |
|||
return _l10ncache[app][text]; |
|||
} |
|||
|
|||
$('#sqlite').click(function() { |
|||
$('#use_mysql').slideUp(250); |
|||
}); |
|||
|
|||
$('#mysql').click(function() { |
|||
$('#use_mysql').slideDown(250); |
|||
}); |
|||
|
|||
$('#showAdvanced').click(function() { |
|||
$('#datadirField').slideToggle(250); |
|||
if($('#hasSQLite').val()=='true'){ |
|||
$('#databaseField').slideToggle(250); |
|||
} |
|||
}); |
|||
else{ |
|||
return text; |
|||
} |
|||
} |
|||
|
|||
$(document).ready(function(){ |
|||
// Put fancy stuff in here
|
|||
}); |
|||
@ -0,0 +1,26 @@ |
|||
$(document).ready(function() { |
|||
// Hide the MySQL config div if needed :
|
|||
if(!$('#mysql').is(':checked') && $('#hasSQLite').val()=='true') { |
|||
$('#use_mysql').hide(); |
|||
} |
|||
|
|||
$('#datadirField').hide(250); |
|||
if($('#hasSQLite').val()=='true'){ |
|||
$('#databaseField').hide(250); |
|||
} |
|||
|
|||
$('#sqlite').click(function() { |
|||
$('#use_mysql').slideUp(250); |
|||
}); |
|||
|
|||
$('#mysql').click(function() { |
|||
$('#use_mysql').slideDown(250); |
|||
}); |
|||
|
|||
$('#showAdvanced').click(function() { |
|||
$('#datadirField').slideToggle(250); |
|||
if($('#hasSQLite').val()=='true'){ |
|||
$('#databaseField').slideToggle(250); |
|||
} |
|||
}); |
|||
}); |
|||
@ -0,0 +1,11 @@ |
|||
<?php $TRANSLATIONS = array( |
|||
"You are logged out." => "Sie wurden abgemeldet.", |
|||
"Set where to store the data." => "Speicherort der Daten", |
|||
"Advanced" => "Erweitert", |
|||
"prev" => "zurück", |
|||
"Login:" => "Benutzername:", |
|||
"Login failed!" => "Anmeldung Fehlgeschlagen!", |
|||
"next" => "weiter", |
|||
"Password:" => "Passwort:", |
|||
"Search" => "Suchen" |
|||
); |
|||
@ -0,0 +1,120 @@ |
|||
# 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-19 23:27+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 "" |
|||
|
|||
#: ../templates/installation.php:6 |
|||
msgid "Welcome to <strong>ownCloud</strong>, your personnal cloud." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:7 |
|||
msgid "To finish the installation, please follow the steps below." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:26 |
|||
msgid "Create an <strong>admin account.</strong>" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:27 |
|||
msgid "Login:" |
|||
msgstr "Benutzername:" |
|||
|
|||
#: ../templates/installation.php:28 |
|||
msgid "Password:" |
|||
msgstr "Passwort:" |
|||
|
|||
#: ../templates/installation.php:31 |
|||
msgid "Advanced" |
|||
msgstr "Erweitert" |
|||
|
|||
#: ../templates/installation.php:34 |
|||
msgid "Set where to store the data." |
|||
msgstr "Speicherort der Daten" |
|||
|
|||
#: ../templates/installation.php:35 |
|||
msgid "Data directory:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:39 |
|||
msgid "Configure your database." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:43 |
|||
msgid "I will use a SQLite database. You have nothing to do!" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:46 |
|||
msgid "SQLite" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:53 |
|||
msgid "I will use a MySQL database." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:59 |
|||
msgid "Host:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:60 |
|||
msgid "Database name:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:61 |
|||
msgid "Table prefix:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:62 |
|||
msgid "MySQL user login:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:63 |
|||
msgid "MySQL user password:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/layout.guest.php:17 ../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 "" |
|||
|
|||
#: ../templates/login.php:6 |
|||
msgid "Login failed!" |
|||
msgstr "Anmeldung Fehlgeschlagen!" |
|||
|
|||
#: ../templates/logout.php:1 |
|||
msgid "You are logged out." |
|||
msgstr "Sie wurden abgemeldet." |
|||
|
|||
#: ../templates/part.pagenavi.php:6 |
|||
msgid "prev" |
|||
msgstr "zurück" |
|||
|
|||
#: ../templates/part.pagenavi.php:26 |
|||
msgid "next" |
|||
msgstr "weiter" |
|||
|
|||
#: ../templates/part.searchbox.php:3 |
|||
msgid "Search" |
|||
msgstr "Suchen" |
|||
|
|||
#: ../templates/installation.php:68 |
|||
msgid "Finish setup" |
|||
msgstr "" |
|||
@ -0,0 +1,34 @@ |
|||
<?php |
|||
|
|||
/** |
|||
* ownCloud - ajax frontend |
|||
* |
|||
* @author Jakob Sack |
|||
* @copyright 2011 Jakob Sack kde@jakobsack.de |
|||
* |
|||
* This library is free software; you can redistribute it and/or |
|||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
* License as published by the Free Software Foundation; either |
|||
* version 3 of the License, or any later version. |
|||
* |
|||
* This library is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|||
* |
|||
* You should have received a copy of the GNU Affero General Public |
|||
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
|||
* |
|||
*/ |
|||
|
|||
// Init owncloud
|
|||
require_once('../lib/base.php'); |
|||
|
|||
$app = $_POST["app"]; |
|||
|
|||
// We send json data
|
|||
header( "Content-Type: application/jsonrequest" ); |
|||
$l = new OC_L10N( $app ); |
|||
|
|||
echo json_encode( array( 'status' => 'success', 'data' => $l->getTranslations())); |
|||
?>
|
|||
@ -0,0 +1,120 @@ |
|||
# 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-19 23:27+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/404.php:15 |
|||
msgid "Error 404, Cloud not found" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:6 |
|||
msgid "Welcome to <strong>ownCloud</strong>, your personnal cloud." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:7 |
|||
msgid "To finish the installation, please follow the steps below." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:26 |
|||
msgid "Create an <strong>admin account.</strong>" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:27 |
|||
msgid "Login:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:28 |
|||
msgid "Password:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:31 |
|||
msgid "Advanced" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:34 |
|||
msgid "Set where to store the data." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:35 |
|||
msgid "Data directory:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:39 |
|||
msgid "Configure your database." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:43 |
|||
msgid "I will use a SQLite database. You have nothing to do!" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:46 |
|||
msgid "SQLite" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:53 |
|||
msgid "I will use a MySQL database." |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:59 |
|||
msgid "Host:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:60 |
|||
msgid "Database name:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:61 |
|||
msgid "Table prefix:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:62 |
|||
msgid "MySQL user login:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:63 |
|||
msgid "MySQL user password:" |
|||
msgstr "" |
|||
|
|||
#: ../templates/installation.php:68 |
|||
msgid "Finish setup" |
|||
msgstr "" |
|||
|
|||
#: ../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 "" |
|||
|
|||
#: ../templates/login.php:6 |
|||
msgid "Login failed!" |
|||
msgstr "" |
|||
|
|||
#: ../templates/logout.php:1 |
|||
msgid "You are logged out." |
|||
msgstr "" |
|||
|
|||
#: ../templates/part.pagenavi.php:6 |
|||
msgid "prev" |
|||
msgstr "" |
|||
|
|||
#: ../templates/part.pagenavi.php:26 |
|||
msgid "next" |
|||
msgstr "" |
|||
|
|||
#: ../templates/part.searchbox.php:3 |
|||
msgid "Search" |
|||
msgstr "" |
|||
@ -0,0 +1,7 @@ |
|||
../templates/404.php |
|||
../templates/installation.php |
|||
../templates/layout.guest.php |
|||
../templates/login.php |
|||
../templates/logout.php |
|||
../templates/part.pagenavi.php |
|||
../templates/part.searchbox.php |
|||
@ -0,0 +1,14 @@ |
|||
<?php $TRANSLATIONS = array( |
|||
"Show:" => "Vis:", |
|||
"Uploads" => "Uploads", |
|||
"Filter:" => "Filter:", |
|||
"Logouts" => "Logouts", |
|||
"Logins" => "Logins", |
|||
"When" => "Hvornår", |
|||
"Downloads" => "Downloads", |
|||
"Clear log entries before" => "Slet log poster før", |
|||
"What" => "Hvilket", |
|||
"entries per page." => "poster pr side.", |
|||
"Creations" => "Oprettelser", |
|||
"Deletions" => "Sletninger" |
|||
); |
|||
@ -0,0 +1,67 @@ |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# |
|||
# Mikkel Bjerg Larsen <mikkelbjerglarsen@gmail.com>, 2011. |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-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" |
|||
"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:" |
|||
msgstr "Filter:" |
|||
|
|||
#: ../templates/index.php:7 |
|||
msgid "Logins" |
|||
msgstr "Logins" |
|||
|
|||
#: ../templates/index.php:8 |
|||
msgid "Logouts" |
|||
msgstr "Logouts" |
|||
|
|||
#: ../templates/index.php:9 |
|||
msgid "Downloads" |
|||
msgstr "Downloads" |
|||
|
|||
#: ../templates/index.php:10 |
|||
msgid "Uploads" |
|||
msgstr "Uploads" |
|||
|
|||
#: ../templates/index.php:11 |
|||
msgid "Creations" |
|||
msgstr "Oprettelser" |
|||
|
|||
#: ../templates/index.php:12 |
|||
msgid "Deletions" |
|||
msgstr "Sletninger" |
|||
|
|||
#: ../templates/index.php:15 |
|||
msgid "Show:" |
|||
msgstr "Vis:" |
|||
|
|||
#: ../templates/index.php:16 |
|||
msgid "entries per page." |
|||
msgstr "poster pr side." |
|||
|
|||
#: ../templates/index.php:26 |
|||
msgid "What" |
|||
msgstr "Hvilket" |
|||
|
|||
#: ../templates/index.php:27 |
|||
msgid "When" |
|||
msgstr "Hvornår" |
|||
|
|||
#: ../templates/index.php:45 |
|||
msgid "Clear log entries before" |
|||
msgstr "Slet log poster før" |
|||
|
|||
@ -1,3 +1,4 @@ |
|||
[General] |
|||
LangCode=de |
|||
ProjectID=oc_log |
|||
TargetLangCode=de |
|||
@ -1 +1 @@ |
|||
You are logged out. |
|||
<?php echo $l->t( 'You are logged out.' ); ?>
|
|||
@ -1,4 +1,4 @@ |
|||
<form class='searchbox' action='<?php echo $_['searchurl']?>' method='post'> |
|||
<input name='query' value='<?php if(isset($_POST['query'])){echo $_POST['query'];};?>'/> |
|||
<input type='submit' value='Search' class='prettybutton'/> |
|||
<input type='submit' value='<?php echo $l->t( 'Search' ); ?>' class='prettybutton'/> |
|||
</form> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue