5
0
mirror of git://git.proxmox.com/git/proxmox-i18n.git synced 2025-01-10 09:17:41 +03:00

copied scripts from pve-manager, modified to support proxmox-widget-toolkit

This commit is contained in:
Dietmar Maurer 2017-10-02 07:31:35 +02:00
parent 10aa3b385c
commit 3f7b114386
18 changed files with 8272 additions and 0 deletions

3
.gitmodules vendored
View File

@ -5,3 +5,6 @@
[submodule "proxmox-widget-toolkit"] [submodule "proxmox-widget-toolkit"]
path = proxmox-widget-toolkit path = proxmox-widget-toolkit
url = ssh://gitolite3@proxdev.maurer-it.com/pve/proxmox-widget-toolkit url = ssh://gitolite3@proxdev.maurer-it.com/pve/proxmox-widget-toolkit
[submodule "pve-manager"]
path = pve-manager
url = ssh://gitolite3@proxdev.maurer-it.com/pve/pve-manager

60
Makefile Normal file
View File

@ -0,0 +1,60 @@
LINGUAS=de
VERSION=1.0
PKGREL=1
PVE_I18N_DEB=pve-i18n_${VERSION}-${PKGREL}_all.deb
PMG_I18N_DEB=pmg-i18n_${VERSION}-${PKGREL}_all.deb
DEBS=${PMG_I18N_DEB} ${PVE_I18N_DEB}
PMGLOCALEDIR=${DESTDIR}/usr/share/pmg-i18n
PVELOCALEDIR=${DESTDIR}/usr/share/pve-i18n
PMG_LANG_FILES=$(patsubst %, pmg-lang-%.js, $(LINGUAS))
PVE_LANG_FILES=$(patsubst %, pve-lang-%.js, $(LINGUAS))
all:
.PHONY: deb
deb: $(DEBS)
$(DEBS):
rm -rf dest
mkdir dest
rsync -a debian dest
make DESTDIR=dest install
cd dest; dpkg-buildpackage -b -us -uc
lintian ${PMG_I18N_DEB}
lintian ${PVE_I18N_DEB}
.PHONY: install
install: ${PMG_LANG_FILES} ${PVE_LANG_FILES}
install -d ${PMGLOCALEDIR}
install -m 0644 ${PMG_LANG_FILES} ${PMGLOCALEDIR}
install -d ${PVELOCALEDIR}
install -m 0644 ${PVE_LANG_FILES} ${PVELOCALEDIR}
pmg-lang-%.js: proxmox-widget-toolkit-%.po proxmox-mailgateway-%.po
./po2js.pl $? > pmg-lang-$*.js
pve-lang-%.js: proxmox-widget-toolkit-%.po pve-manager-%.po
./po2js.pl $? > pve-lang-$*.js
.PHONY: update
update:
./jsgettext.pl -o proxmox-widget-toolkit.pot proxmox-widget-toolkit/
./jsgettext.pl -o proxmox-mailgateway.pot -b proxmox-widget-toolkit.pot proxmox-mailgateway-gui/js/
./jsgettext.pl -o pve-manager.pot -b proxmox-widget-toolkit.pot pve-manager/www/manager6/
for j in proxmox-widget-toolkit proxmox-mailgateway pve-manager; do for i in $(LINGUAS); do echo -n "$$j-$$i: ";msgmerge -s -v $$j-$$i.po $$j.pot >$$j-$$i.po.tmp && mv $$j-$$i.po.tmp $$j-$$i.po; done; done
# try to generate po files when someone add a new language
#.SECONDARY: # do not delete generated intermediate file
#%.po:
# msginit -i messages.pot -l $*
.PHONY: clean
clean:
find . -name '*~' -exec rm {} ';'
rm -rf dest *.po.tmp *.js.tmp *.deb *.buildinfo *.changes pve-lang-*.js pmg-lang-*.js

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
pmg-i18n (1.0-1) unstable; urgency=medium
* first try
-- Proxmox Support Team <support@proxmox.com> Mon, 02 Oct 2017 07:39:55 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

20
debian/control vendored Normal file
View File

@ -0,0 +1,20 @@
Source: pmg-i18n
Section: perl
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 9), liblocale-po-perl
Standards-Version: 3.9.5
Homepage: http://www.proxmox.com
Package: pmg-i18n
Architecture: all
Depends:
Description: Internationalization support for Proxmox Mail Gateway
This package provides the translations into all available languages.
Package: pve-i18n
Architecture: all
Depends:
Description: Internationalization support for Proxmox VE
This package provides the translations into all available languages.

16
debian/copyright vendored Normal file
View File

@ -0,0 +1,16 @@
Copyright (C) 2010-2017 Proxmox Server Solutions GmbH
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 program. If not, see <http://www.gnu.org/licenses/>.

1
debian/pmg-i18n.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/pmg-i18n/

1
debian/pve-i18n.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/pve-i18n/

9
debian/rules vendored Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@

127
jsgettext.pl Executable file
View File

@ -0,0 +1,127 @@
#!/usr/bin/perl
use strict;
use Time::Local;
use PVE::Tools;
use Data::Dumper;
use Locale::PO;
use Getopt::Std;
use Encode;
my $options = {};
getopts('o:b:', $options) ||
die "unable to parse options\n";
my $dirs = [@ARGV];
die "no directory specified\n" if !scalar(@$dirs);
foreach my $dir (@$dirs) {
die "no such directory '$dir'\n" if ! -d $dir;
}
my $basehref = {};
if (my $base = $options->{b}) {
my $aref = Locale::PO->load_file_asarray($base) ||
die "unable to load '$base'\n";
my $charset;
my $hpo = $aref->[0] || die "no header";
my $header = $hpo->dequote($hpo->msgstr);
if ($header =~ m|^Content-Type:\s+text/plain;\s+charset=(\S+)$|im) {
$charset = $1;
} else {
die "unable to get charset\n" if !$charset;
}
foreach my $po (@$aref) {
my $qmsgid = decode($charset, $po->msgid);
my $msgid = $po->dequote($qmsgid);
$basehref->{$msgid} = $po;
}
}
my $sources = [];
my $findcmd = [['find', @$dirs, '-name', '*.js'],['sort']];
PVE::Tools::run_command($findcmd, outfunc => sub {
my $line = shift;
print "F: $line\n";
push @$sources, $line;
});
my $header = <<__EOD;
Proxmox message catalog.
Copyright (C) 2011-2017 Proxmox Server Solutions GmbH
This file is distributed under the same license as the proxmox-mailgateway
package.
Proxmox Support Team <support\@proxmox.com>, 2017.
__EOD
my $ctime = scalar localtime;
my $href = {};
my $po = new Locale::PO(-msgid=> '',
-comment=> $header,
-fuzzy=> 1,
-msgstr=>
"Project-Id-Version: proxmox-mailgateway 5.0\n" .
"Report-Msgid-Bugs-To: <support\@proxmox.com>\n" .
"POT-Creation-Date: $ctime\n" .
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" .
"Last-Translator: FULL NAME <EMAIL\@ADDRESS>\n" .
"Language-Team: LANGUAGE <support\@proxmox.com>\n" .
"MIME-Version: 1.0\n" .
"Content-Type: text/plain; charset=UTF-8\n" .
"Content-Transfer-Encoding: 8bit\n");
$href->{''} = $po;
sub extract_msg {
my ($filename, $linenr, $line) = @_;
my $count = 0;
while(1) {
my $text;
if ($line =~ m/\Wgettext\s*\((("((?:[^"\\]++|\\.)*+)")|('((?:[^'\\]++|\\.)*+)'))\)/g) {
$text = $3 || $5;
}
last if !$text;
if ($basehref->{$text}) {
return;
}
$count++;
my $ref = "$filename:$linenr";
if (my $po = $href->{$text}) {
$po->reference($po->reference() . " $ref");
} else {
my $po = new Locale::PO(-msgid=> $text, -reference=> $ref, -msgstr=> '');
$href->{$text} = $po;
}
};
die "can't extract gettext message in '$filename' line $linenr\n"
if !$count;
}
foreach my $s (@$sources) {
open(SRC, $s) || die "unable to open file '$s' - $!\n";
while(defined(my $line = <SRC>)) {
next if $line =~ m/^function gettext/;
if ($line =~ m/gettext\s*\(/) {
extract_msg($s, $., $line);
}
}
close(SRC);
}
my $filename = $options->{o} // "messages.pot";
Locale::PO->save_file_fromhash($filename, $href);

104
po2js.pl Executable file
View File

@ -0,0 +1,104 @@
#!/usr/bin/perl
use strict;
use warnings;
use Locale::PO;
use JSON;
use Encode;
# current limits:
# - we do not support plural. forms
# - no message content support
die "no files specified\n" if !scalar(@ARGV);
#my $filename = shift || die "no po file specified\n";
# like FNV32a, but we only return 31 bits (positive numbers)
sub fnv31a {
my ($string) = @_;
my $hval = 0x811c9dc5;
foreach my $c (unpack('C*', $string)) {
$hval ^= $c;
$hval += (
(($hval << 1) ) +
(($hval << 4) ) +
(($hval << 7) ) +
(($hval << 8) ) +
(($hval << 24) ) );
$hval = $hval & 0xffffffff;
}
return $hval & 0x7fffffff;
}
my $catalog;
foreach my $filename (@ARGV) {
my $href = Locale::PO->load_file_ashash($filename) ||
die "unable to load '$filename'\n";
my $charset;
my $hpo = $href->{'""'} || die "no header";
my $header = $hpo->dequote($hpo->msgstr);
if ($header =~ m|^Content-Type:\s+text/plain;\s+charset=(\S+)$|im) {
$charset = $1;
} else {
die "unable to get charset\n" if !$charset;
}
foreach my $k (keys %$href) {
my $po = $href->{$k};
next if $po->fuzzy(); # skip fuzzy entries
my $ref = $po->reference();
my $qmsgid = decode($charset, $po->msgid);
my $msgid = $po->dequote($qmsgid);
my $qmsgstr = decode($charset, $po->msgstr);
my $msgstr = $po->dequote($qmsgstr);
next if !length($msgid); # skip header
#next if !length($msgstr); # skip untranslated entries
my $digest = fnv31a($msgid);
die "duplicate digest" if $catalog->{$digest};
$catalog->{$digest} = [ $msgstr ];
# later, we can add plural forms to the array
}
}
my $json = to_json($catalog, {canonical => 1, utf8 => 1});
print <<__EOD
PVE = { i18n_msgcat: $json }
function fnv31a(text) {
var len = text.length;
var hval = 0x811c9dc5;
for (var i = 0; i < len; i++) {
var c = text.charCodeAt(i);
hval ^= c;
hval += (hval << 1) + (hval << 4) + (hval << 7) + (hval << 8) + (hval << 24);
}
hval &= 0x7fffffff;
return hval;
}
function gettext(buf) {
var digest = fnv31a(buf);
var data = PVE.i18n_msgcat[digest];
if (!data) {
return buf;
}
return data[0] || buf;
}
__EOD

1405
proxmox-mailgateway-de.po Normal file

File diff suppressed because it is too large Load Diff

1179
proxmox-mailgateway.pot Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,537 @@
# Proxmox Mail Gateway message catalog.
# Copyright (C) 2011-2017 Proxmox Server Solutions GmbH
# This file is distributed under the same license as the proxmox-mailgateway
# package.
# Proxmox Support Team <support@proxmox.com>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: proxmox-mailgateway 5.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Mon Oct 2 11:23:10 2017\n"
"PO-Revision-Date: 2017-10-02 10:20+0200\n"
"Last-Translator: root <support@proxmox.com>\n"
"Language-Team: Language proxmox-widget-toolkit-de\n"
"Language: proxmox-widget-toolkit-de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: proxmox-widget-toolkit/node/NetworkView.js:260
msgid "Active"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:350
#: proxmox-widget-toolkit/window/Edit.js:225
msgid "Add"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:69 proxmox-widget-toolkit/Toolkit.js:82
#: proxmox-widget-toolkit/Toolkit.js:90
msgid "Allowed characters"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:125
msgid "Are you sure you want to remove entry {0}"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:49
#: proxmox-widget-toolkit/node/NetworkView.js:270
msgid "Autostart"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:65
#: proxmox-widget-toolkit/node/NetworkEdit.js:71
msgid "Bridge ports"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:138
#: proxmox-widget-toolkit/node/APT.js:167
msgid "Changelog"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:158
#: proxmox-widget-toolkit/node/NetworkView.js:321
msgid "Comment"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:47
msgid "Confirm"
msgstr ""
#: proxmox-widget-toolkit/window/PasswordEdit.js:33
msgid "Confirm password"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:205 proxmox-widget-toolkit/Utils.js:271
#: proxmox-widget-toolkit/Utils.js:273 proxmox-widget-toolkit/Utils.js:275
#: proxmox-widget-toolkit/Utils.js:277
msgid "Connection error"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:352
#: proxmox-widget-toolkit/node/NetworkView.js:152
#: proxmox-widget-toolkit/window/Edit.js:229
msgid "Create"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:43
msgid "DNS"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:21
#: proxmox-widget-toolkit/node/DNSEdit.js:28
#: proxmox-widget-toolkit/node/DNSEdit.js:35
#: proxmox-widget-toolkit/node/DNSView.js:25
#: proxmox-widget-toolkit/node/DNSView.js:26
#: proxmox-widget-toolkit/node/DNSView.js:27
msgid "DNS server"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:22
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:24
msgid "Day"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:51
#: proxmox-widget-toolkit/grid/ObjectGrid.js:130
msgid "Default"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:40
#: proxmox-widget-toolkit/node/ServiceView.js:172
#: proxmox-widget-toolkit/node/Tasks.js:142
msgid "Description"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:61
msgid "Details"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:59
msgid "Directory"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:47
msgid "Disabled"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:355
#: proxmox-widget-toolkit/node/DNSView.js:31
#: proxmox-widget-toolkit/node/NetworkView.js:83
#: proxmox-widget-toolkit/node/TimeView.js:42
msgid "Edit"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:46
msgid "Enabled"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:124
msgid "End Time"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:49 proxmox-widget-toolkit/Utils.js:302
#: proxmox-widget-toolkit/button/Button.js:140
#: proxmox-widget-toolkit/node/APT.js:99 proxmox-widget-toolkit/node/APT.js:156
#: proxmox-widget-toolkit/node/NetworkEdit.js:313
#: proxmox-widget-toolkit/node/NetworkView.js:46
#: proxmox-widget-toolkit/node/NetworkView.js:109
#: proxmox-widget-toolkit/node/NetworkView.js:229
#: proxmox-widget-toolkit/node/ServiceView.js:67
#: proxmox-widget-toolkit/window/Edit.js:122
#: proxmox-widget-toolkit/window/Edit.js:179
#: proxmox-widget-toolkit/window/TaskViewer.js:156
msgid "Error"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:11 proxmox-widget-toolkit/Toolkit.js:20
#: proxmox-widget-toolkit/Toolkit.js:26 proxmox-widget-toolkit/Toolkit.js:35
#: proxmox-widget-toolkit/Toolkit.js:41 proxmox-widget-toolkit/Toolkit.js:47
#: proxmox-widget-toolkit/Toolkit.js:54 proxmox-widget-toolkit/Toolkit.js:97
#: proxmox-widget-toolkit/Toolkit.js:108
msgid "Example"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:59 proxmox-widget-toolkit/Toolkit.js:64
#: proxmox-widget-toolkit/Toolkit.js:77
msgid "Format"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:245
#: proxmox-widget-toolkit/node/NetworkEdit.js:286
#: proxmox-widget-toolkit/node/NetworkView.js:306
msgid "Gateway"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:61
msgid "Group"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:107
msgid "Hash policy"
msgstr ""
#: proxmox-widget-toolkit/button/HelpButton.js:11
#: proxmox-widget-toolkit/button/HelpButton.js:79
msgid "Help"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:18
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:20
msgid "Hour"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:213
#: proxmox-widget-toolkit/node/NetworkView.js:284
msgid "IP address"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:252
msgid "IPv6 address"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:7
msgid "Keyboard Layout"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:168
msgid "Loading..."
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:71
msgid "Maximum characters"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:70 proxmox-widget-toolkit/Toolkit.js:83
#: proxmox-widget-toolkit/Toolkit.js:91
msgid "Minimum characters"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:115
#: proxmox-widget-toolkit/node/NetworkEdit.js:195
msgid "Mode"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:30
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:32
msgid "Month"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:85
msgid "Must end with"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:72 proxmox-widget-toolkit/Toolkit.js:84
#: proxmox-widget-toolkit/Toolkit.js:92
msgid "Must start with"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:273
#: proxmox-widget-toolkit/node/NetworkEdit.js:183
#: proxmox-widget-toolkit/node/NetworkView.js:247
#: proxmox-widget-toolkit/node/ServiceView.js:160
msgid "Name"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:360
msgid "Network Device"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:45
msgid "No"
msgstr ""
#: proxmox-widget-toolkit/button/HelpButton.js:79
msgid "No Help available"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:55
#: proxmox-widget-toolkit/node/NetworkView.js:345
msgid "No changes"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:194
msgid "No updates available."
msgstr ""
#: proxmox-widget-toolkit/Utils.js:309
msgid "No valid subscription"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:132
#: proxmox-widget-toolkit/window/TaskViewer.js:125
msgid "Node"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:127
msgid "Not a valid list of hosts"
msgstr ""
#: proxmox-widget-toolkit/window/Edit.js:232
msgid "OK"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:76
#: proxmox-widget-toolkit/node/NetworkEdit.js:96
#: proxmox-widget-toolkit/node/NetworkEdit.js:151
msgid "OVS options"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:101
msgid "Only Errors"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:183
msgid "Output"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:17
msgid "Package"
msgstr ""
#: proxmox-widget-toolkit/window/PasswordEdit.js:5
#: proxmox-widget-toolkit/window/PasswordEdit.js:17
msgid "Password"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:138
msgid "Passwords do not match"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:339
msgid "Pending changes"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:340
msgid "Please reboot to activate changes"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:238
msgid "Please wait..."
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:279
msgid "Ports/Slaves"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:259
msgid "Prefix length"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:129
msgid "Process ID"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:116
msgid "Refresh"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:101
#: proxmox-widget-toolkit/node/NetworkView.js:89
#: proxmox-widget-toolkit/window/Edit.js:227
msgid "Remove"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:99
msgid "Restart"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:219
msgid "Revert"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:15
msgid "Search domain"
msgstr ""
#: proxmox-widget-toolkit/node/TimeView.js:35
msgid "Server time"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:102
#: proxmox-widget-toolkit/node/NetworkEdit.js:203
msgid "Slaves"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:83
msgid "Start"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:116
#: proxmox-widget-toolkit/window/TaskViewer.js:133
msgid "Start Time"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:60
msgid "State"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:166
#: proxmox-widget-toolkit/node/Tasks.js:148
#: proxmox-widget-toolkit/window/TaskViewer.js:101
#: proxmox-widget-toolkit/window/TaskViewer.js:174
msgid "Status"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:91
#: proxmox-widget-toolkit/window/TaskViewer.js:162
#: proxmox-widget-toolkit/window/TaskViewer.js:168
msgid "Stop"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:220
#: proxmox-widget-toolkit/node/NetworkView.js:300
msgid "Subnet mask"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:212
msgid "Successful"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:46
#: proxmox-widget-toolkit/node/ServiceView.js:107
msgid "Syslog"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:53
msgid "Task"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:117
msgid "Task type"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:102
msgid "This is not a valid DNS name"
msgstr ""
#: proxmox-widget-toolkit/node/TimeEdit.js:13
#: proxmox-widget-toolkit/node/TimeEdit.js:21
#: proxmox-widget-toolkit/node/TimeView.js:31
msgid "Time zone"
msgstr ""
#: proxmox-widget-toolkit/panel/RRDChart.js:128
msgid "Toggle Legend"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:57
msgid "Total"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:252
msgid "Type"
msgstr ""
#: proxmox-widget-toolkit/panel/RRDChart.js:119
msgid "Undo Zoom"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:138
msgid "Unique task ID"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:50
msgid "Unknown"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:215
msgid "Unknown error"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:58
msgid "Used"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:89
#: proxmox-widget-toolkit/node/Tasks.js:137
#: proxmox-widget-toolkit/window/TaskViewer.js:121
msgid "User name"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:59
msgid "VLAN aware"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:20 proxmox-widget-toolkit/Toolkit.js:35
msgid "Valid CIDR Range"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:280
msgid "Value"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:23
msgid "Version"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:68
msgid "View"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:26
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:28
msgid "Week"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:34
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:36
msgid "Year"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:44
msgid "Yes"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:18
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:22
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:26
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:30
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:34
msgid "average"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:26
msgid "current"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:53
msgid "day"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:52
msgid "days"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:92
msgid "letter"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:20
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:24
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:28
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:32
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:36
msgid "maximum"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:56
msgid "never"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:32
msgid "new"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:48
msgid "none"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:54
msgid "running"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:55
msgid "stopped"
msgstr ""

459
proxmox-widget-toolkit.pot Normal file
View File

@ -0,0 +1,459 @@
# Proxmox message catalog.
# Copyright (C) 2011-2017 Proxmox Server Solutions GmbH
# This file is distributed under the same license as the proxmox-mailgateway
# package.
# Proxmox Support Team <support@proxmox.com>, 2017.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: proxmox-mailgateway 5.0\n"
"Report-Msgid-Bugs-To: <support@proxmox.com>\n"
"POT-Creation-Date: Mon Oct 2 11:23:10 2017\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <support@proxmox.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: proxmox-widget-toolkit/node/NetworkView.js:260
msgid "Active"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:350 proxmox-widget-toolkit/window/Edit.js:225
msgid "Add"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:69 proxmox-widget-toolkit/Toolkit.js:82 proxmox-widget-toolkit/Toolkit.js:90
msgid "Allowed characters"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:125
msgid "Are you sure you want to remove entry {0}"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:49 proxmox-widget-toolkit/node/NetworkView.js:270
msgid "Autostart"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:65 proxmox-widget-toolkit/node/NetworkEdit.js:71
msgid "Bridge ports"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:138 proxmox-widget-toolkit/node/APT.js:167
msgid "Changelog"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:158 proxmox-widget-toolkit/node/NetworkView.js:321
msgid "Comment"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:47
msgid "Confirm"
msgstr ""
#: proxmox-widget-toolkit/window/PasswordEdit.js:33
msgid "Confirm password"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:205 proxmox-widget-toolkit/Utils.js:271 proxmox-widget-toolkit/Utils.js:273 proxmox-widget-toolkit/Utils.js:275 proxmox-widget-toolkit/Utils.js:277
msgid "Connection error"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:352 proxmox-widget-toolkit/node/NetworkView.js:152 proxmox-widget-toolkit/window/Edit.js:229
msgid "Create"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:43
msgid "DNS"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:21 proxmox-widget-toolkit/node/DNSEdit.js:28 proxmox-widget-toolkit/node/DNSEdit.js:35 proxmox-widget-toolkit/node/DNSView.js:25 proxmox-widget-toolkit/node/DNSView.js:26 proxmox-widget-toolkit/node/DNSView.js:27
msgid "DNS server"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:22 proxmox-widget-toolkit/form/RRDTypeSelector.js:24
msgid "Day"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:51 proxmox-widget-toolkit/grid/ObjectGrid.js:130
msgid "Default"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:40 proxmox-widget-toolkit/node/ServiceView.js:172 proxmox-widget-toolkit/node/Tasks.js:142
msgid "Description"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:61
msgid "Details"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:59
msgid "Directory"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:47
msgid "Disabled"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:355 proxmox-widget-toolkit/node/DNSView.js:31 proxmox-widget-toolkit/node/NetworkView.js:83 proxmox-widget-toolkit/node/TimeView.js:42
msgid "Edit"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:46
msgid "Enabled"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:124
msgid "End Time"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:49 proxmox-widget-toolkit/Utils.js:302 proxmox-widget-toolkit/button/Button.js:140 proxmox-widget-toolkit/node/APT.js:99 proxmox-widget-toolkit/node/APT.js:156 proxmox-widget-toolkit/node/NetworkEdit.js:313 proxmox-widget-toolkit/node/NetworkView.js:46 proxmox-widget-toolkit/node/NetworkView.js:109 proxmox-widget-toolkit/node/NetworkView.js:229 proxmox-widget-toolkit/node/ServiceView.js:67 proxmox-widget-toolkit/window/Edit.js:122 proxmox-widget-toolkit/window/Edit.js:179 proxmox-widget-toolkit/window/TaskViewer.js:156
msgid "Error"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:11 proxmox-widget-toolkit/Toolkit.js:20 proxmox-widget-toolkit/Toolkit.js:26 proxmox-widget-toolkit/Toolkit.js:35 proxmox-widget-toolkit/Toolkit.js:41 proxmox-widget-toolkit/Toolkit.js:47 proxmox-widget-toolkit/Toolkit.js:54 proxmox-widget-toolkit/Toolkit.js:97 proxmox-widget-toolkit/Toolkit.js:108
msgid "Example"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:59 proxmox-widget-toolkit/Toolkit.js:64 proxmox-widget-toolkit/Toolkit.js:77
msgid "Format"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:245 proxmox-widget-toolkit/node/NetworkEdit.js:286 proxmox-widget-toolkit/node/NetworkView.js:306
msgid "Gateway"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:61
msgid "Group"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:107
msgid "Hash policy"
msgstr ""
#: proxmox-widget-toolkit/button/HelpButton.js:11 proxmox-widget-toolkit/button/HelpButton.js:79
msgid "Help"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:18 proxmox-widget-toolkit/form/RRDTypeSelector.js:20
msgid "Hour"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:213 proxmox-widget-toolkit/node/NetworkView.js:284
msgid "IP address"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:252
msgid "IPv6 address"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:7
msgid "Keyboard Layout"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:168
msgid "Loading..."
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:71
msgid "Maximum characters"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:70 proxmox-widget-toolkit/Toolkit.js:83 proxmox-widget-toolkit/Toolkit.js:91
msgid "Minimum characters"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:115 proxmox-widget-toolkit/node/NetworkEdit.js:195
msgid "Mode"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:30 proxmox-widget-toolkit/form/RRDTypeSelector.js:32
msgid "Month"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:85
msgid "Must end with"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:72 proxmox-widget-toolkit/Toolkit.js:84 proxmox-widget-toolkit/Toolkit.js:92
msgid "Must start with"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:273 proxmox-widget-toolkit/node/NetworkEdit.js:183 proxmox-widget-toolkit/node/NetworkView.js:247 proxmox-widget-toolkit/node/ServiceView.js:160
msgid "Name"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:360
msgid "Network Device"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:45
msgid "No"
msgstr ""
#: proxmox-widget-toolkit/button/HelpButton.js:79
msgid "No Help available"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:55 proxmox-widget-toolkit/node/NetworkView.js:345
msgid "No changes"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:194
msgid "No updates available."
msgstr ""
#: proxmox-widget-toolkit/Utils.js:309
msgid "No valid subscription"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:132 proxmox-widget-toolkit/window/TaskViewer.js:125
msgid "Node"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:127
msgid "Not a valid list of hosts"
msgstr ""
#: proxmox-widget-toolkit/window/Edit.js:232
msgid "OK"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:76 proxmox-widget-toolkit/node/NetworkEdit.js:96 proxmox-widget-toolkit/node/NetworkEdit.js:151
msgid "OVS options"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:101
msgid "Only Errors"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:183
msgid "Output"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:17
msgid "Package"
msgstr ""
#: proxmox-widget-toolkit/window/PasswordEdit.js:5 proxmox-widget-toolkit/window/PasswordEdit.js:17
msgid "Password"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:138
msgid "Passwords do not match"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:339
msgid "Pending changes"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:340
msgid "Please reboot to activate changes"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:238
msgid "Please wait..."
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:279
msgid "Ports/Slaves"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:259
msgid "Prefix length"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:129
msgid "Process ID"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:116
msgid "Refresh"
msgstr ""
#: proxmox-widget-toolkit/button/Button.js:101 proxmox-widget-toolkit/node/NetworkView.js:89 proxmox-widget-toolkit/window/Edit.js:227
msgid "Remove"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:99
msgid "Restart"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:219
msgid "Revert"
msgstr ""
#: proxmox-widget-toolkit/node/DNSEdit.js:15
msgid "Search domain"
msgstr ""
#: proxmox-widget-toolkit/node/TimeView.js:35
msgid "Server time"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:102 proxmox-widget-toolkit/node/NetworkEdit.js:203
msgid "Slaves"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:83
msgid "Start"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:116 proxmox-widget-toolkit/window/TaskViewer.js:133
msgid "Start Time"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:60
msgid "State"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:166 proxmox-widget-toolkit/node/Tasks.js:148 proxmox-widget-toolkit/window/TaskViewer.js:101 proxmox-widget-toolkit/window/TaskViewer.js:174
msgid "Status"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:91 proxmox-widget-toolkit/window/TaskViewer.js:162 proxmox-widget-toolkit/window/TaskViewer.js:168
msgid "Stop"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:220 proxmox-widget-toolkit/node/NetworkView.js:300
msgid "Subnet mask"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:212
msgid "Successful"
msgstr ""
#: proxmox-widget-toolkit/node/ServiceView.js:46 proxmox-widget-toolkit/node/ServiceView.js:107
msgid "Syslog"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:53
msgid "Task"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:117
msgid "Task type"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:102
msgid "This is not a valid DNS name"
msgstr ""
#: proxmox-widget-toolkit/node/TimeEdit.js:13 proxmox-widget-toolkit/node/TimeEdit.js:21 proxmox-widget-toolkit/node/TimeView.js:31
msgid "Time zone"
msgstr ""
#: proxmox-widget-toolkit/panel/RRDChart.js:128
msgid "Toggle Legend"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:57
msgid "Total"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkView.js:252
msgid "Type"
msgstr ""
#: proxmox-widget-toolkit/panel/RRDChart.js:119
msgid "Undo Zoom"
msgstr ""
#: proxmox-widget-toolkit/window/TaskViewer.js:138
msgid "Unique task ID"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:50
msgid "Unknown"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:215
msgid "Unknown error"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:58
msgid "Used"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:89 proxmox-widget-toolkit/node/Tasks.js:137 proxmox-widget-toolkit/window/TaskViewer.js:121
msgid "User name"
msgstr ""
#: proxmox-widget-toolkit/node/NetworkEdit.js:59
msgid "VLAN aware"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:20 proxmox-widget-toolkit/Toolkit.js:35
msgid "Valid CIDR Range"
msgstr ""
#: proxmox-widget-toolkit/grid/ObjectGrid.js:280
msgid "Value"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:23
msgid "Version"
msgstr ""
#: proxmox-widget-toolkit/node/Tasks.js:68
msgid "View"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:26 proxmox-widget-toolkit/form/RRDTypeSelector.js:28
msgid "Week"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:34 proxmox-widget-toolkit/form/RRDTypeSelector.js:36
msgid "Year"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:44
msgid "Yes"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:18 proxmox-widget-toolkit/form/RRDTypeSelector.js:22 proxmox-widget-toolkit/form/RRDTypeSelector.js:26 proxmox-widget-toolkit/form/RRDTypeSelector.js:30 proxmox-widget-toolkit/form/RRDTypeSelector.js:34
msgid "average"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:26
msgid "current"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:53
msgid "day"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:52
msgid "days"
msgstr ""
#: proxmox-widget-toolkit/Toolkit.js:92
msgid "letter"
msgstr ""
#: proxmox-widget-toolkit/form/RRDTypeSelector.js:20 proxmox-widget-toolkit/form/RRDTypeSelector.js:24 proxmox-widget-toolkit/form/RRDTypeSelector.js:28 proxmox-widget-toolkit/form/RRDTypeSelector.js:32 proxmox-widget-toolkit/form/RRDTypeSelector.js:36
msgid "maximum"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:56
msgid "never"
msgstr ""
#: proxmox-widget-toolkit/node/APT.js:32
msgid "new"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:48
msgid "none"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:54
msgid "running"
msgstr ""
#: proxmox-widget-toolkit/Utils.js:55
msgid "stopped"
msgstr ""

1
pve-manager Submodule

@ -0,0 +1 @@
Subproject commit 0557c80859f76c31978e170ef35ad0e03fa9a7bf

2456
pve-manager-de.po Normal file

File diff suppressed because it is too large Load Diff

1887
pve-manager.pot Normal file

File diff suppressed because it is too large Load Diff