2008-09-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/*: Updated translations from Launchpad. Thanks to all contributors. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f8aed8b5c3
commit
6f0c9b6908
|
@ -1,3 +1,8 @@
|
|||
2008-09-22 Jorge Gonzalez <jorgegonz@artica.es>
|
||||
|
||||
* include/languages/*: Updated translations from Launchpad. Thanks
|
||||
to all contributors.
|
||||
|
||||
2008-09-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||
|
||||
* godmode/agentes/configurar_agente.php: Fixed small bug when renaming
|
||||
|
|
|
@ -330,49 +330,49 @@ echo "<input type='text' name='height' value='$height' size=6>";
|
|||
|
||||
switch ($period) {
|
||||
case 3600:
|
||||
$period_label = __('Hour');
|
||||
$period_label = __('1 hour');
|
||||
break;
|
||||
case 7200:
|
||||
$period_label = __('2 Hours');
|
||||
$period_label = __('2 hours');
|
||||
break;
|
||||
case 10800:
|
||||
$period_label = __('3 Hours');
|
||||
$period_label = __('3 hours');
|
||||
break;
|
||||
case 21600:
|
||||
$period_label = __('6 Hours');
|
||||
$period_label = __('6 hours');
|
||||
break;
|
||||
case 43200:
|
||||
$period_label = __('12 Hours');
|
||||
$period_label = __('12 hours');
|
||||
break;
|
||||
case 86400:
|
||||
$period_label = __('Day');
|
||||
$period_label = __('1 day');
|
||||
break;
|
||||
case 172800:
|
||||
$period_label = __('Two days');
|
||||
$period_label = __('2 days');
|
||||
break;
|
||||
case 345600:
|
||||
$period_label = __('Four days');
|
||||
$period_label = __('4 days');
|
||||
break;
|
||||
case 604800:
|
||||
$period_label = __('Last Week');
|
||||
$period_label = __('Last week');
|
||||
break;
|
||||
case 1296000:
|
||||
$period_label = __('15 Days');
|
||||
$period_label = __('15 days');
|
||||
break;
|
||||
case 2592000:
|
||||
$period_label = __('Last Month');
|
||||
$period_label = __('Last month');
|
||||
break;
|
||||
case 5184000:
|
||||
$period_label = __('Two Month');
|
||||
$period_label = __('2 months');
|
||||
break;
|
||||
case 15552000:
|
||||
$period_label = __('Six Months');
|
||||
$period_label = __('6 months');
|
||||
break;
|
||||
case 31104000:
|
||||
$period_label = __('One year');
|
||||
$period_label = __('1 year');
|
||||
break;
|
||||
default:
|
||||
$period_label = __('Day');
|
||||
$period_label = __('1 day');
|
||||
}
|
||||
|
||||
|
||||
|
@ -392,12 +392,12 @@ echo "<option value=10800>".__('3 hours')."</option>";
|
|||
echo "<option value=21600>".__('6 hours')."</option>";
|
||||
echo "<option value=43200>".__('12 hours')."</option>";
|
||||
echo "<option value=86400>".__('Last day')."</option>";
|
||||
echo "<option value=172800>".__('Two days')."</option>";
|
||||
echo "<option value=172800>".__('2 days')."</option>";
|
||||
echo "<option value=604800>".__('Last week')."</option>";
|
||||
echo "<option value=1296000>".__('15 days')."</option>";
|
||||
echo "<option value=2592000>".__('Last month')."</option>";
|
||||
echo "<option value=5184000>".__('Two months')."</option>";
|
||||
echo "<option value=15552000>".__('Six months')."</option>";
|
||||
echo "<option value=5184000>".__('2 months')."</option>";
|
||||
echo "<option value=15552000>".__('6 months')."</option>";
|
||||
echo "</select>";
|
||||
|
||||
echo "<td class='datos'>";
|
||||
|
|
|
@ -380,17 +380,17 @@ if ($edit_sla_report_content) {
|
|||
$table->data[0][1] = print_select ($types, 'type', -1, '', '--', -1, true);
|
||||
$table->data[1][0] = __('Period');
|
||||
$periods = array ();
|
||||
$periods[1] = __('One hour');
|
||||
$periods[1] = __('1 hour');
|
||||
$periods[2] = '2 '.__('hours');
|
||||
$periods[3] = '3 '.__('hours');
|
||||
$periods[6] = '6 '.__('hours');
|
||||
$periods[12] = '12 '.__('hours');
|
||||
$periods[24] = __('One day');
|
||||
$periods[48] = __('Two days');
|
||||
$periods[180] = __('One week');
|
||||
$periods[360] = __('Two weeks');
|
||||
$periods[720] = __('One month');
|
||||
$periods[4320] = __('Six months');
|
||||
$periods[24] = __('1 day');
|
||||
$periods[48] = __('2 days');
|
||||
$periods[180] = __('1 week');
|
||||
$periods[360] = __('2 weeks');
|
||||
$periods[720] = __('1 month');
|
||||
$periods[4320] = __('6 months');
|
||||
$table->data[1][1] = print_select ($periods, 'period', 0, '', '--', 0, true);
|
||||
|
||||
$table->data[2][0] = __('Source agent');
|
||||
|
|
|
@ -524,40 +524,40 @@ function human_time_description ($period) {
|
|||
|
||||
switch ($period) {
|
||||
case 3600:
|
||||
return __('One hour');
|
||||
return __('1 hour');
|
||||
break;
|
||||
case 7200:
|
||||
return __('Two hours');
|
||||
return __('2 hours');
|
||||
break;
|
||||
case 21600:
|
||||
return __('Six hours');
|
||||
return __('6 hours');
|
||||
break;
|
||||
case 43200:
|
||||
return __('12 hours');
|
||||
break;
|
||||
case 86400:
|
||||
return __('One day');
|
||||
return __('1 day');
|
||||
break;
|
||||
case 172800:
|
||||
return __('Two days');
|
||||
return __('2 days');
|
||||
break;
|
||||
case 432000:
|
||||
return __('Five days');
|
||||
return __('5 days');
|
||||
break;
|
||||
case 604800:
|
||||
return __('One week');
|
||||
return __('1 week');
|
||||
break;
|
||||
case 1296000:
|
||||
return __('15 days');
|
||||
break;
|
||||
case 2592000:
|
||||
return __('One month');
|
||||
return __('1 month');
|
||||
break;
|
||||
case 5184000:
|
||||
return __('Two months');
|
||||
return __('2 months');
|
||||
break;
|
||||
case 15552000:
|
||||
return __('Six months');
|
||||
return __('6 months');
|
||||
break;
|
||||
default:
|
||||
return human_time_description_raw ($period);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all: ast.mo ca.mo de.mo eu.mo es.mo fr.mo gl.mo it.mo pl.mo pt_br.mo ru.mo sv.mo zh_CN.mo zh_TW.mo
|
||||
all: ast.mo ca.mo cs.mo de.mo eu.mo es.mo fr.mo hi.mo hu.mo gl.mo it.mo pl.mo pt_BR.mo ro.mo ru.mo sv.mo zh_CN.mo zh_TW.mo
|
||||
xgettext `find ../../ -name "*\.php"` --output=index.pot --keyword=__ --add-comments=///
|
||||
|
||||
ast.mo: ast.po
|
||||
|
@ -7,6 +7,9 @@ ast.mo: ast.po
|
|||
ca.mo: ca.po
|
||||
msgfmt ca.po -o ca.mo
|
||||
|
||||
cs.mo: cs.po
|
||||
msgfmt cs.po -o cs.mo
|
||||
|
||||
de.mo: de.po
|
||||
msgfmt de.po -o de.mo
|
||||
|
||||
|
@ -19,6 +22,12 @@ es.mo: es.po
|
|||
fr.mo: fr.po
|
||||
msgfmt fr.po -o fr.mo
|
||||
|
||||
hi.mo: hi.po
|
||||
msgfmt hi.po -o hi.mo
|
||||
|
||||
hu.mo: hu.po
|
||||
msgfmt hu.po -o hu.mo
|
||||
|
||||
gl.mo: gl.po
|
||||
msgfmt gl.po -o gl.mo
|
||||
|
||||
|
@ -28,8 +37,11 @@ it.mo: it.po
|
|||
pl.mo: pl.po
|
||||
msgfmt pl.po -o pl.mo
|
||||
|
||||
pt_br.mo: pt_br.po
|
||||
msgfmt pt_br.po -o pt_br.mo
|
||||
pt_BR.mo: pt_BR.po
|
||||
msgfmt pt_BR.po -o pt_BR.mo
|
||||
|
||||
ro.mo: ro.po
|
||||
msgfmt ro.po -o ro.mo
|
||||
|
||||
ru.mo: ru.po
|
||||
msgfmt ru.po -o ru.mo
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -119,16 +119,16 @@ border=1 alt=''>";
|
|||
echo "<b>".__('Period')."</b>";
|
||||
echo "<td class='datos'>";
|
||||
$periods = array ();
|
||||
$periods[1] = __('One hour');
|
||||
$periods[1] = __('1 hour');
|
||||
$periods[2] = '2 '.__('hours');
|
||||
$periods[3] = '3 '.__('hours');
|
||||
$periods[6] = '6 '.__('hours');
|
||||
$periods[12] = '12 '.__('hours');
|
||||
$periods[24] = __('One day');
|
||||
$periods[48] = __('Two days');
|
||||
$periods[360] = __('One week');
|
||||
$periods[720] = __('One month');
|
||||
$periods[4320] = __('Six months');
|
||||
$periods[24] = __('1 day');
|
||||
$periods[48] = __('2 days');
|
||||
$periods[360] = __('1 week');
|
||||
$periods[720] = __('1 month');
|
||||
$periods[4320] = __('6 months');
|
||||
print_select ($periods, 'period', intval ($period / 3600), '', '', 0);
|
||||
|
||||
echo "<td class='datos'>";
|
||||
|
|
|
@ -1041,7 +1041,7 @@ function grafico_incidente_prioridad () {
|
|||
__('Medium'),
|
||||
__('Serious'),
|
||||
__('Very serious'),
|
||||
__('Maintance'));
|
||||
__('Maintenance'));
|
||||
generic_pie_graph (320, 200, $data, $legend);
|
||||
}
|
||||
|
||||
|
|
|
@ -50,29 +50,29 @@ if (!isset($_GET["period"]) OR (!isset($_GET["id"]))) {
|
|||
$period = get_parameter ( "period", 3600);
|
||||
|
||||
switch ($period) {
|
||||
case 3600: $period_label = __('One hour');
|
||||
case 3600: $period_label = __('1 hour');
|
||||
break;
|
||||
case 7200: $period_label = __('Two hours');
|
||||
case 7200: $period_label = __('2 hours');
|
||||
break;
|
||||
case 21600: $period_label = __('Six hours');
|
||||
case 21600: $period_label = __('6 hours');
|
||||
break;
|
||||
case 43200: $period_label = __('12 hours');
|
||||
break;
|
||||
case 86400: $period_label = __('One day');
|
||||
case 86400: $period_label = __('1 day');
|
||||
break;
|
||||
case 172800: $period_label = __('Two days');
|
||||
case 172800: $period_label = __('2 days');
|
||||
break;
|
||||
case 432000: $period_label = __('Five days');
|
||||
case 432000: $period_label = __('5 days');
|
||||
break;
|
||||
case 604800: $period_label = __('One week');
|
||||
case 604800: $period_label = __('1 week');
|
||||
break;
|
||||
case 1296000: $period_label = __('15 days');
|
||||
break;
|
||||
case 2592000: $period_label = __('One month');
|
||||
case 2592000: $period_label = __('1 month');
|
||||
break;
|
||||
case 5184000: $period_label = __('Two months');
|
||||
case 5184000: $period_label = __('2 months');
|
||||
break;
|
||||
case 15552000: $period_label = __('Six months');
|
||||
case 15552000: $period_label = __('6 months');
|
||||
break;
|
||||
default: $period_label = human_time_description_raw ($period);
|
||||
}
|
||||
|
@ -215,18 +215,18 @@ if ($start_date != $current){
|
|||
echo "<td>";
|
||||
echo "<select name='period'>";
|
||||
echo "<option value=$period>".$period_label;
|
||||
echo "<option value=3600>".__('One hour');
|
||||
echo "<option value=7200>".__('Two hours');
|
||||
echo "<option value=21600>".__('Six hours');
|
||||
echo "<option value=3600>".__('1 hour');
|
||||
echo "<option value=7200>".__('2 hours');
|
||||
echo "<option value=21600>".__('6 hours');
|
||||
echo "<option value=43200>".__('12 hours');
|
||||
echo "<option value=86400>".__('One day');
|
||||
echo "<option value=172800>".__('Two days');
|
||||
echo "<option value=432000>".__('Five days');
|
||||
echo "<option value=604800>".__('One week');
|
||||
echo "<option value=86400>".__('1 day');
|
||||
echo "<option value=172800>".__('2 days');
|
||||
echo "<option value=432000>".__('5 days');
|
||||
echo "<option value=604800>".__('1 week');
|
||||
echo "<option value=1296000>".__('15 days');
|
||||
echo "<option value=2592000>".__('One month');
|
||||
echo "<option value=5184000>".__('Two months');
|
||||
echo "<option value=15552000>".__('Six months');
|
||||
echo "<option value=2592000>".__('1 month');
|
||||
echo "<option value=5184000>".__('2 months');
|
||||
echo "<option value=15552000>".__('6 months');
|
||||
echo "</select>";
|
||||
|
||||
echo "<tr><td>";
|
||||
|
|
Loading…
Reference in New Issue