Sfoglia il codice sorgente

Merge remote-tracking branch 'upstream/master'

own3mall 8 anni fa
parent
commit
ff34f124f5

+ 4 - 1
lang/Arabic/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "المهام المجدولة");
 define('there_are_no_scheduled_jobs', "لا توجد أية مهام مجدولة");
 define('cron_events', "أحداث الCron");
 define('refresh_interval', "الفاصل الزمني للتحديث");
-?>
+define('cron_no_servers_tied_to_account', "لا توجد خوادم لعبة تعيين مباشرة إلى حسابك.");
+define('cron_admin_link_display_text', "إدارة كرون (جميع الخوادم)");
+define('cron_admin_no_ogp_servers_to_display', "ليست هناك أي ملقمات اللعبة التي تم تكوينها حاليا في أوبن قيم بانل");
+?>

+ 4 - 1
lang/Danish/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Scheduled jobs");
 define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
 define('cron_events', "Cron Events");
 define('refresh_interval', "Log genopfrisker interval");
-?>
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 4 - 1
lang/French/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Actions planifiées");
 define('there_are_no_scheduled_jobs', "Pas d'actions planifiées");
 define('cron_events', "Logs des Événements Planifiés");
 define('refresh_interval', "Intervalle d'actualisation");
-?>
+define('cron_no_servers_tied_to_account', "Il n'y a pas de serveur assigné sur votre compte.");
+define('cron_admin_link_display_text', "Administration Cron (Tous les Serveurs)");
+define('cron_admin_no_ogp_servers_to_display', "Il n'y a pas de serveur de jeu configuré dans OGP.");
+?>

+ 4 - 1
lang/German/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Geplante Aufgaben");
 define('there_are_no_scheduled_jobs', "Es gibt keine geplanten Aufgaben");
 define('cron_events', "Cron Ereignisse");
 define('refresh_interval', "Aktualisierungsinterval");
-?>
+define('cron_no_servers_tied_to_account', "Ihrem Konto sind keine Spieleserver direkt zugeordnet.");
+define('cron_admin_link_display_text', "Cron Administration (Alle Server)");
+define('cron_admin_no_ogp_servers_to_display', "Derzeit sind keine Spieleserver in OGP konfiguriert.");
+?>

+ 5 - 2
lang/Hungarian/modules/cron.php

@@ -28,7 +28,7 @@ define('day', "Nap");
 define('month', "Hónap");
 define('day_of_the_week', "N/Hét");
 define('action', "Művelet");
-define('steam_auto_update', "Steam Automatikus Frissítés");
+define('steam_auto_update', "Steam automatikus frissítés");
 define('stop', "Leállítás");
 define('start', "Elindítás");
 define('restart', "Újraindítás");
@@ -41,4 +41,7 @@ define('scheduled_jobs', "Ütemezett feladatok");
 define('there_are_no_scheduled_jobs', "Nincsenek ütemezett feladatok");
 define('cron_events', "Cron események");
 define('refresh_interval', "Frissítési intervallum");
-?>
+define('cron_no_servers_tied_to_account', "Nincsenek játékszerverek közvetlenül hozzárendelve a fiókodhoz.");
+define('cron_admin_link_display_text', "Cron adminisztráció (minden szerver)");
+define('cron_admin_no_ogp_servers_to_display', "Jelenleg nincsenek játékszerverek beállítva az OGP-ben.");
+?>

+ 4 - 1
lang/Italian/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Scheduled jobs");
 define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
 define('cron_events', "Cron Events");
 define('refresh_interval', "Refresh Interval");
-?>
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 47 - 0
lang/Persian/modules/cron.php

@@ -0,0 +1,47 @@
+<?php
+/*
+ *
+ * OGP - Open Game Panel
+ * Copyright (C) 2008 - 2017 The OGP Development Team
+ *
+ * http://www.opengamepanel.org/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ */
+
+define('minute', "دقیقه");
+define('hour', "ساعت");
+define('day', "روز");
+define('month', "ماه");
+define('day_of_the_week', "روز هفته");
+define('action', "Action");
+define('steam_auto_update', "به روزرسانی خودکار از Steam");
+define('stop', "توقف");
+define('start', "شروع");
+define('restart', "شروع دوباره");
+define('command', "دستور");
+define('add', "اضافه کردن");
+define('remove', "حذف کردن");
+define('now', "حالا");
+define('schedule_new_job', "Schedule a new job");
+define('scheduled_jobs', "Scheduled jobs");
+define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
+define('cron_events', "رویداد های Cron");
+define('refresh_interval', "Refresh Interval");
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 4 - 1
lang/Polish/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Zaplanowane zadania");
 define('there_are_no_scheduled_jobs', "Brak zaplanowanych zadań");
 define('cron_events', "Wydarzenia Cron");
 define('refresh_interval', "Powtórne Odświeżenie");
-?>
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 47 - 0
lang/Portuguese(Brazil)/modules/cron.php

@@ -0,0 +1,47 @@
+<?php
+/*
+ *
+ * OGP - Open Game Panel
+ * Copyright (C) 2008 - 2017 The OGP Development Team
+ *
+ * http://www.opengamepanel.org/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ */
+
+define('minute', "Minuto");
+define('hour', "Hora");
+define('day', "Dia");
+define('month', "Mês");
+define('day_of_the_week', "D/Semana");
+define('action', "Ação");
+define('steam_auto_update', "Atualização automática do Steam");
+define('stop', "Pare");
+define('start', "Iniciar");
+define('restart', "Reiniciar");
+define('command', "Comando");
+define('add', "Adicionar");
+define('remove', "Remover");
+define('now', "Agora");
+define('schedule_new_job', "Agendar um novo trabalho");
+define('scheduled_jobs', "Trabalhos agendados");
+define('there_are_no_scheduled_jobs', "Não existem trabalhos agendados");
+define('cron_events', "Tarefas Cron");
+define('refresh_interval', "Intervalo de atualização");
+define('cron_no_servers_tied_to_account', "Não há servidores de jogos diretamente atribuídos à sua conta.");
+define('cron_admin_link_display_text', "Administração de Cron (todos os servers)");
+define('cron_admin_no_ogp_servers_to_display', "Não há nenhum servidor de jogos atualmente configurado no painel.");
+?>

+ 12 - 9
lang/Portuguese/modules/cron.php

@@ -26,19 +26,22 @@ define('minute', "Minuto");
 define('hour', "Hora");
 define('day', "Dia");
 define('month', "Mês");
-define('day_of_the_week', "D/Semana");
+define('day_of_the_week', "Dia de Semana");
 define('action', "Ação");
-define('steam_auto_update', "Atualização automática do Steam");
-define('stop', "Pare");
+define('steam_auto_update', "Actualização automática via STEAM");
+define('stop', "Parar");
 define('start', "Iniciar");
 define('restart', "Reiniciar");
 define('command', "Comando");
 define('add', "Adicionar");
 define('remove', "Remover");
 define('now', "Agora");
-define('schedule_new_job', "Agendar um novo trabalho");
-define('scheduled_jobs', "Trabalhos agendados");
-define('there_are_no_scheduled_jobs', "Não existem trabalhos agendados");
-define('cron_events', "Tarefas Cron");
-define('refresh_interval', "Intervalo de atualização");
-?>
+define('schedule_new_job', "Programar uma nova tarefa");
+define('scheduled_jobs', "Tarefas programadas");
+define('there_are_no_scheduled_jobs', "Não existem tarefas programadas");
+define('cron_events', "Tarefas Cron \"agendada de trabalho com base no tempo\"");
+define('refresh_interval', "Intervalo de actualização");
+define('cron_no_servers_tied_to_account', "Ups... Não há servidores de jogos directamente ainda atribuídos à sua conta.");
+define('cron_admin_link_display_text', "Administração de tarefas Cron (todos os servers)");
+define('cron_admin_no_ogp_servers_to_display', "Não há nenhum servidor de jogos actualmente configurado no painel.");
+?>

+ 47 - 0
lang/Romanian(Romania)/modules/cron.php

@@ -0,0 +1,47 @@
+<?php
+/*
+ *
+ * OGP - Open Game Panel
+ * Copyright (C) 2008 - 2017 The OGP Development Team
+ *
+ * http://www.opengamepanel.org/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ */
+
+define('minute', "Minute");
+define('hour', "Hour");
+define('day', "Day");
+define('month', "Month");
+define('day_of_the_week', "D/Week");
+define('action', "Action");
+define('steam_auto_update', "Steam Auto Update");
+define('stop', "Stop");
+define('start', "Start");
+define('restart', "Restart");
+define('command', "Command");
+define('add', "Add");
+define('remove', "Remove");
+define('now', "Now");
+define('schedule_new_job', "Schedule a new job");
+define('scheduled_jobs', "Scheduled jobs");
+define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
+define('cron_events', "Cron Events");
+define('refresh_interval', "Refresh Interval");
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 20 - 17
lang/Russian/modules/cron.php

@@ -22,23 +22,26 @@
  *
  */
 
-define('minute', "Minute");
-define('hour', "Hour");
-define('day', "Day");
-define('month', "Month");
-define('day_of_the_week', "D/Week");
-define('action', "Action");
-define('steam_auto_update', "Steam Auto Update");
-define('stop', "Stop");
+define('minute', "Минуты");
+define('hour', "Часы");
+define('day', "Дни");
+define('month', "Месяц");
+define('day_of_the_week', "Неделя");
+define('action', "Действие");
+define('steam_auto_update', "Автообновление Steam");
+define('stop', "Стоп");
 define('start', "Запуск");
-define('restart', "Restart");
+define('restart', "Перезапустить");
 define('command', "RCON&nbsp;команда");
-define('add', "Add");
-define('remove', "Remove");
-define('now', "Now");
-define('schedule_new_job', "Schedule a new job");
-define('scheduled_jobs', "Scheduled jobs");
-define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
-define('cron_events', "Cron Events");
+define('add', "Добавить");
+define('remove', "Удалить");
+define('now', "Сейчас");
+define('schedule_new_job', "Запланировать новое задание");
+define('scheduled_jobs', "Запланированные задания");
+define('there_are_no_scheduled_jobs', "Запланированных заданий нет");
+define('cron_events', "События задания");
 define('refresh_interval', "Интервал обновления консоли");
-?>
+define('cron_no_servers_tied_to_account', "Для вашей учетной записи не назначен ни один игровой сервер.");
+define('cron_admin_link_display_text', "Администрирование Планировщика (все сервера)");
+define('cron_admin_no_ogp_servers_to_display', "Нет ни одного игрового сервер в конфигурации OGP.");
+?>

+ 4 - 1
lang/Spanish/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Tareas programadas");
 define('there_are_no_scheduled_jobs', "No hay tareas programadas");
 define('cron_events', "Eventos de Cron");
 define('refresh_interval', "Intervalo de refresco");
-?>
+define('cron_no_servers_tied_to_account', "No hay servidores de juego directamente asignados a su cuenta.");
+define('cron_admin_link_display_text', "Administración de Cron (todos los servidores)");
+define('cron_admin_no_ogp_servers_to_display', "No hay ningún servidor de juego actualmente configurado en OGP.");
+?>

+ 47 - 0
lang/Swedish(Sweden)/modules/cron.php

@@ -0,0 +1,47 @@
+<?php
+/*
+ *
+ * OGP - Open Game Panel
+ * Copyright (C) 2008 - 2017 The OGP Development Team
+ *
+ * http://www.opengamepanel.org/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ */
+
+define('minute', "Minute");
+define('hour', "Hour");
+define('day', "Day");
+define('month', "Month");
+define('day_of_the_week', "D/Week");
+define('action', "Action");
+define('steam_auto_update', "Steam Auto Update");
+define('stop', "Stop");
+define('start', "Start");
+define('restart', "Restart");
+define('command', "Command");
+define('add', "Add");
+define('remove', "Remove");
+define('now', "Now");
+define('schedule_new_job', "Schedule a new job");
+define('scheduled_jobs', "Scheduled jobs");
+define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
+define('cron_events', "Cron Events");
+define('refresh_interval', "Refresh Interval");
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 4 - 1
lang/Turkish/modules/cron.php

@@ -41,4 +41,7 @@ define('scheduled_jobs', "Scheduled jobs");
 define('there_are_no_scheduled_jobs', "There are no scheduled jobs");
 define('cron_events', "Cron Events");
 define('refresh_interval', "Refresh Interval");
-?>
+define('cron_no_servers_tied_to_account', "There are no game servers directly assigned to your account.");
+define('cron_admin_link_display_text', "Cron Administration (All Servers)");
+define('cron_admin_no_ogp_servers_to_display', "There aren't any game servers currently configured in OGP.");
+?>

+ 1 - 1
modules/cron/cron.php

@@ -131,7 +131,7 @@ function exec_ogp_module()
 															  "mod_name" => $game_home['mod_name'],
 															  "def_precmd" => $game_home['def_precmd'],
 															  "def_postcmd" => $game_home['def_postcmd']);
-			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port'], $remote->what_os());
+			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port'], $db);
 			$cpu = $game_home['cpu_affinity'];
 			$nice = $game_home['nice'];
 			

+ 1 - 1
modules/cron/user_cron.php

@@ -141,7 +141,7 @@ function exec_ogp_module()
 															  "mod_name" => $game_home['mod_name'],
 															  "def_precmd" => $game_home['def_precmd'],
 															  "def_postcmd" => $game_home['def_postcmd']);
-			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port'], $remote->what_os());
+			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port'], $db);
 			$cpu = $game_home['cpu_affinity'];
 			$nice = $game_home['nice'];