MT#3961 Update German localization.

agranig/pbxapi
Andreas Granig 13 years ago
parent 1f9e407377
commit 0f26d8fcbe

@ -0,0 +1,13 @@
lib/NGCP/Panel/Role
lib/NGCP/Panel/Field
lib/NGCP/Panel/AuthenticationStore
lib/NGCP/Panel/Form
lib/NGCP/Panel/Render
lib/NGCP/Panel/Controller
lib/NGCP/Panel/Model
lib/NGCP/Panel/Utils
lib/NGCP/Panel/Widget
lib/NGCP/Panel/View
lib/NGCP/Panel/Cache
share/templates
share/layout

@ -91,7 +91,7 @@ sub index :Path Form {
return;
} else {
$c->log->debug("*** Login::index auth failed");
$form->add_form_error('Invalid username/password');
$form->add_form_error($c->loc('Invalid username/password'));
}
} else {
# initial get

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -45,7 +45,7 @@ sub localize {
$c->loc('The country code that will be used for routing of dialed numbers without a country code. Defaults to the country code of the E.164 number if the subscriber has one.');
$c->loc('Area Code');
$c->loc('The area code that will be used for routing of dialed numbers without an area code. Defaults to the area code of the E.164 number if the subscriber has one.');
$c->loc('Emergency Prefix variable');
$c->loc('Emergency Prefix varible');
$c->loc('A numeric string intended to be used in rewrite rules for emergency numbers.');
$c->loc('Internal NCOS Level #');
$c->loc('Internal Administrative NCOS Level #');
@ -73,6 +73,8 @@ sub localize {
$c->loc('Maximum number of concurrent outgoing sessions (calls) coming from a subscriber or going to a peer.');
$c->loc('Allowed CLIs for outbound calls');
$c->loc('A list of shell patterns specifying which CLIs are allowed to be set by the subscriber. "*", "?" and "~[x-y~]" with "x" and "y" representing numbers from 0 to 9 may be used as wildcards as usual in shell patterns.');
$c->loc('Force outbound calls to peer');
$c->loc('Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!');
$c->loc('Internal Contract #');
$c->loc('External Contract #');
$c->loc('External Subscriber #');
@ -171,16 +173,14 @@ sub localize {
$c->loc('The members (as SIP URIs) of the PBX hunt group.');
$c->loc('CLI of CloudPBX Pilot Subscriber');
$c->loc('The base CLI for the PBX extension.');
$c->loc('User-Agent header passing mode.');
$c->loc('The string to be used as a User-Agent header replacement if ua_header_mode is set to "replace".');
$c->loc('The content to put into the History-Info header for outbound calls (use "None" to not set header at all)');
$c->loc('Export subscriber to shared XMPP Buddylist');
$c->loc('Export this subscriber into the shared XMPP buddy list for the customer.');
$c->loc('Network-Provided Display Name');
$c->loc('The network-provided display name used for XMPP contacts and optionally SIP outbound header manipulation.');
$c->loc('Customer Sound Set');
$c->loc('Customer specific Sound Set used for PBX auto-attendant prompts, customer-specific announcements etc.');
$c->loc('Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!');
$c->loc('api test pref');
$c->loc('api test pref');
$c->loc('Call Forwards');
$c->loc('Call Blockings');
$c->loc('Access Restrictions');
@ -271,9 +271,12 @@ sub form_strings {
#NGCP::Panel::Form::Sound::File
#NGCP::Panel::Form::Sound::ResellerSet
#NGCP::Panel::Form::Subscriber::AutoAttendant
#NGCP::Panel::Form::Subscriber::EditWebpass
#NGCP::Panel::Form::Subscriber::Location
#NGCP::Panel::Form::Subscriber::SpeedDial
#NGCP::Panel::Form::Subscriber::SubscriberAPI
#NGCP::Panel::Form::Subscriber::TrustedSource
#NGCP::Panel::Form::Subscriber::Webfax
#NGCP::Panel::Form::Voicemail::Attach
#NGCP::Panel::Form::Voicemail::Delete
#NGCP::Panel::Form::Voicemail::Email
@ -284,19 +287,19 @@ sub form_strings {
$c->loc('Line/Key');
$c->loc('Loopplay');
$c->loc('October');
$c->loc('base fee charged per billing interval, float, specifying Euro');
$c->loc('Field');
$c->loc('Password');
$c->loc('YYYY-MM-DD HH:mm:ss');
$c->loc('Slot add');
$c->loc('Subscriber');
$c->loc('Source');
$c->loc('Comma-Separated list of Email addresses to send notifications when tresholds are exceeded.');
$c->loc('Host:');
$c->loc('First Name');
$c->loc('Is master');
$c->loc('SIP Username');
$c->loc('currency symbol or ISO code, string, will be used on invoices and webinterfaces');
$c->loc('Caller');
$c->loc('Send');
$c->loc('Line add');
$c->loc('Period');
$c->loc('PDF');
@ -304,22 +307,26 @@ sub form_strings {
$c->loc('Offpeak follow rate');
$c->loc('Create Device Configuration');
$c->loc('Wednesday');
$c->loc('The billing zone id this fee belongs to.');
$c->loc('Rewrite Rule Set');
$c->loc('lock accounts if the daily limit is exceeded');
$c->loc('Sn');
$c->loc('Upload');
$c->loc('PIN');
$c->loc('The length of the first interval');
$c->loc('The contract used for this subscriber.');
$c->loc('IVR Slots');
$c->loc('Soundfile');
$c->loc('Outbound');
$c->loc('Voicemail');
$c->loc('whitelist');
$c->loc('The status of the contract.');
$c->loc('The contact id this contract belongs to.');
$c->loc('End');
$c->loc('Numbers');
$c->loc('Manage Time Sets');
$c->loc('Purge existing');
$c->loc('Interval free cash');
$c->loc('PBX Group');
$c->loc('The contract used for this reseller.');
$c->loc('#');
$c->loc('outbound');
$c->loc('Send Copies');
@ -329,9 +336,12 @@ sub form_strings {
$c->loc('Rm');
$c->loc('Fraud daily notify');
$c->loc('Name in Fax Header');
$c->loc('The fraud detection threshold per month (in cents, e.g. 10000).');
$c->loc('Uri');
$c->loc('only once');
$c->loc('Is PBX Group?');
$c->loc('Start Date/Time');
$c->loc('The fraud detection threshold per day (in cents, e.g. 1000).');
$c->loc('Login');
$c->loc('Year');
$c->loc('Inbound');
@ -350,10 +360,14 @@ sub form_strings {
$c->loc('incoming and outgoing');
$c->loc('Supports Private Line');
$c->loc('Extension Number, e.g. 101');
$c->loc('The length of each following interval in seconds (e.g. 30).');
$c->loc('everyday');
$c->loc('Currency');
$c->loc('Bootstrap Sync Parameters');
$c->loc('Whether the subscriber can configure other subscribers within his Customer account.');
$c->loc('The fully qualified domain name (e.g. sip.example.org).');
$c->loc('Is superuser');
$c->loc('The username for SIP and XMPP services.');
$c->loc('Create Contact');
$c->loc('Interval charge');
$c->loc('Supports Busy Lamp Field');
@ -361,13 +375,12 @@ sub form_strings {
$c->loc('Create Group');
$c->loc('Firmware File');
$c->loc('Match pattern');
$c->loc('string, e.g.: on-net');
$c->loc('The surname of the contact.');
$c->loc('Company');
$c->loc('included time per billing interval, integer, specifying seconds');
$c->loc('string, POSIX regular expression, e.g.: ^431.+$');
$c->loc('global (including CSC)');
$c->loc('included money per billing interval, float, specifying EUR, USD, etc.');
$c->loc('The base fee charged per billing interval (a monthly fixed fee, e.g. 10) in Euro/Dollars/etc. This fee can be used on the invoice.');
$c->loc('global');
$c->loc('Whether free minutes may be used when calling this destination.');
$c->loc('Zone Detail');
$c->loc('Clone');
$c->loc('The end time in format hh:mm:ss');
@ -381,14 +394,16 @@ sub form_strings {
$c->loc('Contact URI');
$c->loc('during Time Set');
$c->loc('Number');
$c->loc('Whether customers using this profile are handled prepaid.');
$c->loc('Monthly Fraud Limit');
$c->loc('VAT Rate');
$c->loc('Delete');
$c->loc('Profile');
$c->loc('Manage Destination Sets');
$c->loc('The name of the reseller.');
$c->loc('Mday');
$c->loc('Alias Number');
$c->loc('string, e.g.: voicebox');
$c->loc('Alias numbers');
$c->loc('Alias number');
$c->loc('where e-mail notifications are sent, a list of e-mail addreses separated by comma');
$c->loc('Level Name');
@ -399,10 +414,13 @@ sub form_strings {
$c->loc('Hunting Policy');
$c->loc('Edit time sets');
$c->loc('Detail');
$c->loc('string, empty or POSIX regular expression, e.g.: ^431.+$');
$c->loc('URI/Number');
$c->loc('Options to lock customer if the daily limit is exceeded.');
$c->loc('The included free money per billing interval (in Euro, Dollars etc., e.g. 10).');
$c->loc('Mode');
$c->loc('The reseller id this profile belongs to.');
$c->loc('The human-readable display name (e.g. John Doe)');
$c->loc('The number to send the fax to');
$c->loc('Alias number add');
$c->loc('Billing profile');
$c->loc('TLS');
@ -415,6 +433,7 @@ sub form_strings {
$c->loc('The password to log into the CSC Panel');
$c->loc('Name');
$c->loc('TCP');
$c->loc('Whether the fees already incluside VAT.');
$c->loc('E164 Number');
$c->loc('The username to log into the CSC Panel');
$c->loc('Area Code, e.g. 212 for NYC or 1 for Vienna');
@ -423,14 +442,15 @@ sub form_strings {
$c->loc('string, rule description');
$c->loc('terminated');
$c->loc('Fraud Monthly Notify');
$c->loc('The length of the following intervals');
$c->loc('Onpeak follow rate');
$c->loc('Download CA Certificate');
$c->loc('The contact priority for serial forking (float value, higher is stronger) between -1.00 to 1.00');
$c->loc('Web Password');
$c->loc('Generate Certificate');
$c->loc('SIP Domain');
$c->loc('The number of Lines/Keys in this range, indexed from 0 in the config template array phone.lineranges~[~].lines~[~]');
$c->loc('PDF14');
$c->loc('A human readable profile name.');
$c->loc('foreign');
$c->loc('Download PKCS12');
$c->loc('New Description');
@ -445,19 +465,27 @@ sub form_strings {
$c->loc('Postcode');
$c->loc('If active and a customer is selected, this sound set is used for all existing and new subscribers within this customer if no specific sound set is specified for the subscribers');
$c->loc('If active, this sound set is used for all existing and new subscribers if no specific sound set is specified for them');
$c->loc('The cost of each following interval in cents per second (e.g. 0.90).');
$c->loc('July');
$c->loc('June');
$c->loc('Device Profile');
$c->loc('The call direction when to apply this fee (either for inbound or outbound calls).');
$c->loc('The email address of the contact.');
$c->loc('Thursday');
$c->loc('Download in PKCS12 Format');
$c->loc('The VAT rate in percentage (e.g. 20).');
$c->loc('The status of the reseller.');
$c->loc('The subscriber to use on this line/key');
$c->loc('The cost of each following interval in cents per second (e.g 0.90)');
$c->loc('The two-letter ISO 3166-1 country code of the contact (e.g. US or DE).');
$c->loc('Monday');
$c->loc('Country');
$c->loc('The main E.164 number (containing a cc, ac and sn attribute) used for inbound and outbound calls.');
$c->loc('From Pattern');
$c->loc('A unique identifier string (only alphanumeric chars and _).');
$c->loc('The person\'s name, which is then used in XMPP contact lists or auto-provisioned phones, and which can be used as network-provided display name in SIP calls.');
$c->loc('Line/Key Range');
$c->loc('lock accounts if the monthly limit is exceeded');
$c->loc('A POSIX regex matching against the full Request-URI (e.g. \'^sip:.+@example\.org$\' or \'^sip:431\')');
$c->loc('The status of the subscriber.');
$c->loc('Default for Subscribers');
$c->loc('Cf actions');
$c->loc('Active');
@ -466,24 +494,28 @@ sub form_strings {
$c->loc('Receive Reports');
$c->loc('Minute');
$c->loc('Lines/Keys in this range can be used as regular phone lines. Value is accessible in the config template via phone.lineranges~[~].lines~[~].can_private');
$c->loc('Options to lock customer if the monthly limit is exceeded.');
$c->loc('MAC Address Image');
$c->loc('Simple');
$c->loc('The currency symbol or ISO code, used on invoices and webinterfaces.');
$c->loc('Offpeak init interval');
$c->loc('pending');
$c->loc('The cost of the first interval in cents per second (e.g. 0.90).');
$c->loc('The line/key to use');
$c->loc('Group');
$c->loc('Download');
$c->loc('Whether this subscriber is used as PBX group.');
$c->loc('The SIP username for the User-Agents');
$c->loc('unique identifier string (only alphanumeric chars)');
$c->loc('after ring timeout');
$c->loc('all outgoing calls');
$c->loc('The street name of the contact.');
$c->loc('Number of Lines/Keys');
$c->loc('Source IP');
$c->loc('The company name of the contact.');
$c->loc('February');
$c->loc('Include local area code');
$c->loc('The SIP password for the User-Agents');
$c->loc('POST');
$c->loc('integer, specifying the percentage');
$c->loc('locked');
$c->loc('Last Name');
$c->loc('Deliver Incoming Faxes');
@ -494,22 +526,30 @@ sub form_strings {
$c->loc('Display Name');
$c->loc('Linerange add');
$c->loc('Profile Name');
$c->loc('The lock level of the subscriber.');
$c->loc('An external id, e.g. provided by a 3rd party provisioning');
$c->loc('Destination add');
$c->loc('The detailed name for the zone (e.g. US Mobile Numbers).');
$c->loc('Status');
$c->loc('Web Username');
$c->loc('Contract #');
$c->loc('A short name for the zone (e.g. US).');
$c->loc('The password to log into the CSC Panel.');
$c->loc('December');
$c->loc('Username');
$c->loc('GET');
$c->loc('Create Device Model');
$c->loc('Destination Number');
$c->loc('Bootstrap Sync HTTP Method');
$c->loc('Lock Level');
$c->loc('active');
$c->loc('trough');
$c->loc('Via Route');
$c->loc('Customer');
$c->loc('An external id, e.g. provided by a 3rd party provisioning.');
$c->loc('A POSIX regular expression to match the calling number (e.g. ^.+$).');
$c->loc('Save');
$c->loc('Priority (q-value)');
$c->loc('Callee prefix');
$c->loc('Lawful intercept');
$c->loc('Device Vendor');
@ -517,24 +557,29 @@ sub form_strings {
$c->loc('City');
$c->loc('Caller pattern');
$c->loc('Subscriber can configure other subscribers within the Customer Account');
$c->loc('Free minutes may be used when calling this destination');
$c->loc('Repeat');
$c->loc('for (seconds)');
$c->loc('Onpeak init interval');
$c->loc('for (seconds)');
$c->loc('Offpeak init rate');
$c->loc('Sign In');
$c->loc('The domain name or domain id this subscriber belongs to.');
$c->loc('Push Provisioning URL');
$c->loc('Download CA Cert');
$c->loc('The billing profile id used to charge this contract.');
$c->loc('The city name of the contact.');
$c->loc('outgoing');
$c->loc('or File');
$c->loc('The username to log into the CSC Panel.');
$c->loc('The PBX group id this subscriber belongs to.');
$c->loc('Fraud Monthly Limit');
$c->loc('Port');
$c->loc('Lines/Keys in this range can be used as shared lines. Value is accessible in the config template via phone.lineranges~[~].lines~[~].can_shared');
$c->loc('Content Type');
$c->loc('through');
$c->loc('Callee pattern');
$c->loc('Additional E.164 numbers (each containing a cc, ac and sn attribute) mapped to this subscriber for inbound calls.');
$c->loc('PS');
$c->loc('all calls');
$c->loc('check if fees are inclusive VAT');
$c->loc('Street');
$c->loc('Cash Balance');
$c->loc('Direction');
@ -544,9 +589,12 @@ sub form_strings {
$c->loc('Extension');
$c->loc('Sunday');
$c->loc('ANY');
$c->loc('The reseller id to assign this domain to.');
$c->loc('The length of the first interval in seconds (e.g. 60).');
$c->loc('Weekday');
$c->loc('Serial Ringing');
$c->loc('Destination Set');
$c->loc('A POSIX regular expression to match the called number (e.g. ^431.+$).');
$c->loc('Domain');
$c->loc('Replacement Pattern');
$c->loc('Attach WAV');
@ -569,16 +617,17 @@ sub form_strings {
$c->loc('The IVR key to press for this destination');
$c->loc('Cc');
$c->loc('Front Image');
$c->loc('Ac');
$c->loc('Id');
$c->loc('The cost of the init interval in cents per second (e.g 0.90)');
$c->loc('human readable profile name');
$c->loc('Ac');
$c->loc('Create Reseller');
$c->loc('UDP');
$c->loc('Delete WAV');
$c->loc('The given name of the contact.');
$c->loc('The reseller id this contact belongs to.');
$c->loc('Content');
$c->loc('Device Model');
$c->loc('Protocol');
$c->loc('The postal code of the contact.');
$c->loc('Contact');
$c->loc('Slot');
$c->loc('Callee prefix, eg: 43');
@ -587,12 +636,14 @@ sub form_strings {
$c->loc('Contract');
$c->loc('Lines/Keys in this range can be used as Busy Lamp Field. Value is accessible in the config template via phone.lineranges~[~].lines~[~].can_blf');
$c->loc('Product');
$c->loc('Create PBX Group');
$c->loc('Create Billing Profile');
$c->loc('Hostname');
$c->loc('Download PEM');
$c->loc('Add');
$c->loc('Advanced');
$c->loc('May');
$c->loc('Supported File Types are TXT, PDF, PS, TIFF');
$c->loc('Lines/Keys');
$c->loc('The start time in format hh:mm:ss');
$c->loc('Generate');
@ -603,6 +654,7 @@ sub form_strings {
$c->loc('Time');
$c->loc('Incoming Email as CC');
$c->loc('Bootstrap Sync URI');
$c->loc('The phone number of the contact.');
$c->loc('on weekdays');
$c->loc('Simple View');
$c->loc('Deliver Outgoing Faxes');
@ -615,13 +667,16 @@ sub form_strings {
$c->loc('Month');
$c->loc('MAC Address / Identifier');
$c->loc('Prepaid');
$c->loc('A full SIP URI like sip:user@ip:port');
$c->loc('Active callforward');
$c->loc('Advanced View');
$c->loc('Saturday');
$c->loc('Supports Shared Line');
$c->loc('The included free minutes per billing interval (in seconds, e.g. 60000 for 1000 free minutes).');
$c->loc('IP Address');
$c->loc('Notify Emails');
$c->loc('Description');
$c->loc('The password to authenticate for SIP and XMPP services.');
$c->loc('Handle');
$c->loc('Delete Key');

@ -0,0 +1,22 @@
#!/bin/bash -e
POT="lib/NGCP/Panel/I18N/messages.pot"
DIRS=""
for d in $(cat etc/i18n.inc); do
DIRS="$DIRS --directory $d";
done
echo; echo "Dumping DB and Form strings"; echo
perl -I../sipwise-base/lib -I../ngcp-schema/lib -Ilib script/ngcp_panel_dump_db_strings.pl
echo; echo "Creating $POT"; echo
xgettext.pl \
--output=$POT \
$DIRS \
-P perl=tt,pm
for po in $(find lib/NGCP/Panel/I18N -name "*.po"); do
echo; echo "Merging $po"; echo
msgmerge --update $po $POT
done

@ -1,4 +1,4 @@
[% site_config.title = c.loc('Domain "[_1]" Preferences', domain.domain) -%]
[% site_config.title = c.loc('Domain "[_1]" - Preferences', domain.domain) -%]
[%
helper.name = c.loc('Domain');

@ -1,4 +1,4 @@
[% site_config.title = c.loc('Peer Host "[_1]" Preferences',server.name) -%]
[% site_config.title = c.loc('Peer Host "[_1]" - Preferences',server.name) -%]
[%
helper.messages = messages;

Loading…
Cancel
Save