Fix and update lang vars from Buy Course plugin - refs #7896

1.10.x
Angel Fernando Quiroz Campos 9 years ago
parent 66532e0669
commit 22263820bf
  1. 5
      plugin/buycourses/lang/english.php
  2. 5
      plugin/buycourses/lang/french.php
  3. 5
      plugin/buycourses/lang/spanish.php
  4. 2
      plugin/buycourses/src/paymentsetup.php
  5. 4
      plugin/buycourses/src/sales_report.php
  6. 2
      plugin/buycourses/view/message_transfer.tpl
  7. 2
      plugin/buycourses/view/paymentsetup.tpl
  8. 2
      plugin/buycourses/view/process_confirm.tpl

@ -88,3 +88,8 @@ $strings['VisibleInCatalog'] = "Visible in catalog";
$strings['Beneficiaries'] = "Beneficiaries";
$strings['AvailableCourse'] = "Available course";
$strings['ShowOnCourseCatalog'] = "Show on course catalog";
$strings['ByStatus'] = "By status";
$strings['ByUser'] = "By user";
$strings['PaymentMethod'] = "Payment method";
$strings['SWIFT'] = "SWIFT code";
$strings['SWIFT_help'] = "Standard format of Bank Identifier Codes (BIC) and serves as a unique identifier for a bank or financial institution";

@ -88,3 +88,8 @@ $strings['VisibleInCatalog'] = "Visible dans le catalogue";
$strings['Beneficiaries'] = "Bénéficiaires";
$strings['AvailableCourse'] = "Cours disponibles";
$strings['ShowOnCourseCatalog'] = "Afficher dans le catalogue de cours";
$strings['ByStatus'] = "Par statut";
$strings['ByUser'] = "Par utilisateur";
$strings['PaymentMethod'] = "Méthodes de paiement";
$strings['SWIFT'] = "Code SWIFT";
$strings['SWIFT_help'] = "Format standard des codes d'identification de banque (BIC) et sert un identifiant unique pour une banque ou une institution financière.";

@ -88,3 +88,8 @@ $strings['VisibleInCatalog'] = "Visible en el catálogo";
$strings['Beneficiaries'] = "Beneficiarios";
$strings['AvailableCourse'] = "Curso disponible";
$strings['ShowOnCourseCatalog'] = "Mostrar en el catálogo de cursos";
$strings['ByStatus'] = "Por estado";
$strings['ByUser'] = "Por usuario";
$strings['PaymentMethod'] = "Método de pago";
$strings['SWIFT'] = "Código SWIFT";
$strings['SWIFT_help'] = "Formato estándar de los Códigos de Identificación Bancaria (BIC) que sirve como identificador único para un banco o institución financiera.";

@ -142,7 +142,7 @@ $transferForm->addText(
);
$transferForm->addText(
'tswift',
get_lang('SWIFT'),
[$plugin->get_lang('SWIFT'), $plugin->get_lang('SWIFT_help')],
false,
['cols-size' => [3, 8, 1]]
);

@ -87,7 +87,7 @@ if ($form->validate()) {
$form->addRadio(
'filter_type',
get_lang('FilterBy'),
get_lang('Filter'),
[$plugin->get_lang('ByStatus'), $plugin->get_lang('ByUser')]
);
$form->addHtml('<div id="report-by-status" ' . ($selectedFilterType !== '0' ? 'style="display:none"' : '') . '>');
@ -96,7 +96,7 @@ $form->addHtml('</div>');
$form->addHtml('<div id="report-by-user" ' . ($selectedFilterType !== '1' ? 'style="display:none"' : '') . '>');
$form->addText('user', get_lang('UserName'), false);
$form->addHtml('</div>');
$form->addButtonFilter($plugin->get_lang('SearchByStatus'));
$form->addButtonFilter(get_lang('Search'));
$form->setDefaults([
'filter_type' => $selectedFilterType,
'status' => $selectedStatus

@ -19,7 +19,7 @@
<tr>
<th>{{ 'Name'|get_lang }}</th>
<th>{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
<th>{{ 'SWIFT'|get_lang }}</th>
<th>{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
</tr>
</thead>
<tbody>

@ -49,7 +49,7 @@
<tr>
<th>{{ 'Name'|get_lang }}</th>
<th>{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
<th>{{ 'SWIFT'|get_lang }}</th>
<th>{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
<th>{{ 'Actions'|get_lang }}</th>
</tr>
</thead>

@ -66,7 +66,7 @@
<tr>
<th>{{ 'Name'|get_lang }}</th>
<th class="text-center">{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
<th class="text-center">{{ 'SWIFT'|get_lang }}</th>
<th class="text-center">{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
</tr>
</thead>
<tbody>

Loading…
Cancel
Save