Contest Translations

pull/2548/head
HB9HIL 2023-10-06 10:48:01 +02:00
rodzic e8c5c33206
commit 65c9f5e9fb
17 zmienionych plików z 60 dodań i 13 usunięć

Wyświetl plik

@ -114,7 +114,7 @@ class Contesting extends CI_Controller {
$data['contest'] = $this->Contesting_model->contest($item_id_clean);
$data['page_title'] = "Edit Contest";
$data['page_title'] = lang('admin_contest_edit_update_contest');
$this->form_validation->set_rules('name', 'Contest Name', 'required');
$this->form_validation->set_rules('adifname', 'Adif Contest Name', 'required');

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = '设置';
$lang['admin_create_user'] = '创建用户';
$lang['admin_delete'] = '删除用户';
$lang['admin_edit'] = '编辑用户';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Možnosti';
$lang['admin_create_user'] = 'Vytvořit uživatele';
$lang['admin_delete'] = 'Smazat';
$lang['admin_edit'] = 'Upravit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Valinnat';
$lang['admin_create_user'] = 'Luo käyttäjä';
$lang['admin_delete'] = 'Poista';
$lang['admin_edit'] = 'Muokkaa';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Creation d\'un utilisateur';
$lang['admin_delete'] = 'Supprimer';
$lang['admin_edit'] = 'Editer';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Optionen';
$lang['admin_create_user'] = 'Benutzer anlegen';
$lang['admin_delete'] = 'Löschen';
$lang['admin_edit'] = 'Editieren';
$lang['admin_save'] = 'Speichern';
$lang['admin_close'] = 'Schliessen';
$lang['admin_user_accounts'] = 'Benutzerkonten';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deaktiviere Alle';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Der Name des Contest';
$lang['admin_contest_name_of_adif'] = 'Der Name des Contest in ADIF Spezifikation';
$lang['admin_contest_edit_active_hint'] = 'Wähle "Aktiv" um den Contest in der Contest-Liste anzuzeigen';
$lang['admin_contest_edit_update_contest'] = 'Aktualisiere Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Опции';
$lang['admin_create_user'] = 'Создать пользователя';
$lang['admin_delete'] = 'Удалить';
$lang['admin_edit'] = 'Редактировать';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'Аккаунты пользователей';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Alternativ';
$lang['admin_create_user'] = 'Skapa användare';
$lang['admin_delete'] = 'Radera';
$lang['admin_edit'] = 'Redigera';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -16,6 +16,7 @@ $lang['admin_options'] = 'Options';
$lang['admin_create_user'] = 'Create user';
$lang['admin_delete'] = 'Delete';
$lang['admin_edit'] = 'Edit';
$lang['admin_save'] = 'Save';
$lang['admin_close'] = 'Close';
$lang['admin_user_accounts'] = 'User Accounts';
@ -40,4 +41,6 @@ $lang['admin_contest_all_deactive'] = 'Deactivate All';
$lang['admin_contest_name_adif'] = 'Contest ADIF Name';
$lang['admin_contest_name_of_contest'] = 'Name of the Contest';
$lang['admin_contest_name_of_adif'] = 'Name of Contest in ADIF-specification';
$lang['admin_contest_edit_active_hint'] = 'Set to active if to be listed in Contest-list';
$lang['admin_contest_edit_update_contest'] = 'Update Contest';

Wyświetl plik

@ -28,29 +28,31 @@
<form method="post" action="<?php echo site_url('contesting/edit/'); ?><?php echo $contest->id; ?>" name="edit_contest">
<div class="form-group">
<label for="contestnameInput">Contest Name</label>
<label for="contestnameInput"><?php echo lang('contesting_contest_name'); ?></label>
<input type="text" class="form-control" name="name" id="nameInput" aria-describedby="contestnameInputHelp" value="<?php if(set_value('name') != "") { echo set_value('name'); } else { echo $contest->name; } ?>" required>
<small id="contestnameInputHelp" class="form-text text-muted">Name of Contest</small>
<small id="contestnameInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_contest'); ?></small>
</div>
<div class="form-group">
<label for="adifnameInput">ADIF Contest Name</label>
<label for="adifnameInput"><?php echo lang('admin_contest_name_adif'); ?></label>
<input type="text" class="form-control" name="adifname" id="adifnameInput" aria-describedby="adifnameInputHelp" value="<?php if(set_value('adifname') != "") { echo set_value('adifname'); } else { echo $contest->adifname; } ?>">
<small id="adifnameInputHelp" class="form-text text-muted">Name of Contest in ADIF-specification</small>
<small id="adifnameInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_adif'); ?></small>
</div>
<div class="form-group">
<label for="activeInput">Active</label>
<label for="activeInput"><?php echo lang('admin_contest_menu_active'); ?></label>
<select id="activeInput" class="form-control mode form-control-sm" name="active">
<?php
printf("<option value=\"1\" %s>active</option>", $contest->active==1?"selected=\"selected\"":"");
printf("<option value=\"0\" %s>not active</option>", $contest->active==0?"selected=\"selected\"":"");
?>
</select>
<small id="activeInputHelp" class="form-text text-muted">Set to active if to be listed in Contest-list</small>
<option value="1" <?php echo $contest->active == 1 ? "selected=\"selected\"" : ""; ?>>
<?php echo lang('admin_contest_menu_active'); ?>
</option>
<option value="0" <?php echo $contest->active == 0 ? "selected=\"selected\"" : ""; ?>>
<?php echo lang('admin_contest_menu_n_active'); ?>
</option>
</select>
<small id="activeInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_edit_active_hint'); ?></small>
</div>
<button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> Update Contest</button>
<button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> <?php echo lang('admin_save'); ?></button>
</form>
</div>