Skip to content

Commit 45cf5e7

Browse files
committed
Language: #add missing, #remove deprecated and #fix legacy language terms (assets/locales update from commands)
1 parent 76fb574 commit 45cf5e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+118
-118
lines changed

public/main/lp/learnpath.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7773,7 +7773,7 @@ public function getFinalItemForm()
77737773
$form->addButtonSave($buttonText);
77747774
$form->addHtml(
77757775
Display::return_message(
7776-
'Variables :</br></br> <b>((certificate))</b> </br> <b>((skill))</b>',
7776+
'Variables :<br><br> <b>((certificate))</b> <br> <b>((skill))</b>',
77777777
'normal',
77787778
false
77797779
)

public/main/search/load_search.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
$userForm = new FormValidator('user_form', 'post', api_get_self());
202202

203203
$userForm->addStartPanel('filiere', get_lang('I would like to choose a sector'));
204-
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers specialized course session. Your answers will allow you to access the island corresponding to your field if it exists.</br></br>Check one or more answers or fill in the blank.').'</p>');
204+
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers specialized course session. Your answers will allow you to access the island corresponding to your field if it exists.<br><br>Check one or more answers or fill in the blank.').'</p>');
205205

206206
$fieldsToShow = [
207207
'statusocial',
@@ -228,7 +228,7 @@
228228
$userForm->addEndPanel();
229229

230230
$userForm->addStartPanel('dispo', get_lang('Availability during my internship/mobility'));
231-
$userForm->addHtml('<p class="text-info">'.get_lang('You can continue working on the platform during your internship. Your answers will help us offer you a personalized program based on your availability. </br></br>Indicate the dates and your availability').'</p>');
231+
$userForm->addHtml('<p class="text-info">'.get_lang('You can continue working on the platform during your internship. Your answers will help us offer you a personalized program based on your availability. <br><br>Indicate the dates and your availability').'</p>');
232232

233233
$fieldsToShow = [
234234
'datedebutstage',
@@ -318,7 +318,7 @@
318318
}
319319

320320
$form->addStartPanel('dispo_avant', '<input type="checkbox" name="search_using_1" '.$searchChecked1.' />&nbsp;'.get_lang('Availability before my internship/mobility'));
321-
$form->addHtml('<p class="text-info">'.get_lang('The platform offers numerous resources and learning courses available on specific dates. The first step is to assess your availability to be able to offer you a suitable learning program.</br></br>Indicate the dates and your availability').'</p>')
321+
$form->addHtml('<p class="text-info">'.get_lang('The platform offers numerous resources and learning courses available on specific dates. The first step is to assess your availability to be able to offer you a suitable learning program.<br><br>Indicate the dates and your availability').'</p>');
322322

323323
// Session fields
324324
$showOnlyThisFields = [
@@ -421,7 +421,7 @@
421421
$form->addEndPanel();
422422

423423
$form->addStartPanel('niveau_langue', '<input type="checkbox" name="search_using_3" '.$searchChecked3.' />&nbsp;'.get_lang('My language level'));
424-
$form->addHtml("<p class=\"text-info\">".get_lang("The platform's resources are adapted to different language levels. The goal here is to take stock of what you can or already know how to do.</br></br>Tick the level that best suits you for each skill (listening, reading, participating in a conversation, speaking continuously, and writing).</br></br>")."</p>");
424+
$form->addHtml("<p class=\"text-info\">".get_lang("The platform's resources are adapted to different language levels. The goal here is to take stock of what you can or already know how to do.<br><br>Tick the level that best suits you for each skill (listening, reading, participating in a conversation, speaking continuously, and writing).<br><br>")."</p>");
425425

426426
$showOnlyThisFields = [
427427
'ecouter',

public/main/search/search.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@
238238
</script>';
239239

240240
$userForm->addStartPanel('diagnostic', get_lang('Skills and objectives assessment'));
241-
$userForm->addHtml(get_lang('Welcome to the platforme! Do you want to brush up on your skills? The platform offers you a personalized program where, depending on your priorities and availability, you have access to numerous resources and can participate in learning courses. </br></br>The following questionnaire has two objectives: on the one hand, to make you reflect on your needs and understand your interests and on the other hand, to gather information to offer you a tailor-made learning trail.</br></br>Happy learning on the platform!'));
241+
$userForm->addHtml(get_lang('Welcome to the platform! Do you want to brush up on your skills? The platform offers you a personalized program where, depending on your priorities and availability, you have access to numerous resources and can participate in learning courses. <br><br>The following questionnaire has two objectives: on the one hand, to make you reflect on your needs and understand your interests and on the other hand, to gather information to offer you a tailor-made learning trail.<br><br>Happy learning on the platform!'));
242242
$userForm->addEndPanel();
243243

244244
$userForm->addStartPanel('filiere', get_lang('I would like to choose a sector'));
245-
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers specialized course session. Your answers will allow you to access the sessions corresponding to your field if it exists.</br></br>Check one or more answers or fill in the blank.').'</p>');
245+
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers specialized course session. Your answers will allow you to access the sessions corresponding to your field if it exists.<br><br>Check one or more answers or fill in the blank.').'</p>');
246246

247247
$fieldsToShow = [
248248
'statusocial',
@@ -289,7 +289,7 @@
289289
$userForm->addEndPanel();
290290

291291
$userForm->addStartPanel('dispo', get_lang('Availability before my internship/mobility'));
292-
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers numerous resources and learning courses available on specific dates. The first step is to assess your availability to be able to offer you a suitable learning program.</br></br>Indicate the dates and your availability').'</p>');
292+
$userForm->addHtml('<p class="text-info">'.get_lang('The platform offers numerous resources and learning courses available on specific dates. The first step is to assess your availability to be able to offer you a suitable learning program.<br><br>Indicate the dates and your availability').'</p>');
293293

294294
$extra = $extraFieldSession->addElements(
295295
$userForm,
@@ -344,7 +344,7 @@
344344
$userForm->addEndPanel();
345345

346346
$userForm->addStartPanel('dispo_pendant_stage', get_lang('Availability during my internship/mobility'));
347-
$userForm->addHtml('<p class="text-info">'.get_lang('You can continue working on the platform during your internship. Your answers will help us offer you a personalized program based on your availability. </br></br>Indicate the dates and your availability').'</p>');
347+
$userForm->addHtml('<p class="text-info">'.get_lang('You can continue working on the platform during your internship. Your answers will help us offer you a personalized program based on your availability. <br><br>Indicate the dates and your availability').'</p>');
348348

349349
$fieldsToShow = [
350350
'datedebutstage',
@@ -386,8 +386,8 @@
386386
$userForm->addHtml("<p class=\"text-info\">".get_lang("The platform offers numerous resources and thematic learning courses to develop your skills. Now it's time to take stock of your interests to be offer you a personalized course program.")."</p>");
387387

388388
$introductionTextList = [
389-
'domaine' => get_lang('The learning courses are designed around the following main areas. Choose them in order of preference according to your priorities and interests.</br></br>'),
390-
$theme => get_lang('Once the areas have been selected, choose 5 themes and objectives in order of preference.</br></br>'),
389+
'domaine' => get_lang('The learning courses are designed around the following main areas. Choose them in order of preference according to your priorities and interests.<br><br>'),
390+
$theme => get_lang('Once the areas have been selected, choose 5 themes and objectives in order of preference.<br><br>'),
391391
];
392392

393393
$fieldsToShow = [
@@ -431,7 +431,7 @@
431431
$userForm->addEndPanel();
432432

433433
$userForm->addStartPanel('niveau_langue', get_lang('My language level'));
434-
$userForm->addHtml('<p class="text-info">'.get_lang("The platform's resources are adapted to different language levels. The goal here is to take stock of what you can or already know how to do.</br></br>Tick the level that best suits you for each skill (listening, reading, participating in a conversation, speaking continuously, and writing).</br></br>").'</p>');
434+
$userForm->addHtml('<p class="text-info">'.get_lang("The platform's resources are adapted to different language levels. The goal here is to take stock of what you can or already know how to do.<br><br>Tick the level that best suits you for each skill (listening, reading, participating in a conversation, speaking continuously, and writing).<br><br>").'</p>');
435435

436436
$fieldsToShow = [
437437
//'competenceniveau'

public/main/social/personal_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
if ('true' === api_get_setting('allow_terms_conditions')) {
3737
$form = new FormValidator('delete_term', 'post', api_get_self().'?action=delete_legal&user_id='.$userId);
38-
$form->addHtml(Display::return_message(get_lang('You can ask below for your legal agreement to be deleted or your account to be deleted.</br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.</br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data.'), 'normal', false));
38+
$form->addHtml(Display::return_message(get_lang('You can ask below for your legal agreement to be deleted or your account to be deleted.<br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.<br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data.'), 'normal', false));
3939
$form->addTextarea('explanation', [get_lang('Delete legal agreement'), get_lang('Please tell us why you want to withdraw the rights you previously gave us, to let us make it in the smoothest way possible.')], [], true);
4040
$form->addHidden('action', 'delete_legal');
4141
$form->addButtonSave(get_lang('Delete legal agreement'));

public/plugin/BuyCourses/view/list.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
<a href="{{ _p.web_plugin ~ 'BuyCourses/src/services_add.php' }}" class="btn btn--primary">
162162
<em class="fa fa-cart-plus fa-fw"></em> {{ 'NewService'| get_plugin_lang('BuyCoursesPlugin') }}
163163
</a>
164-
</br>
165-
</br>
164+
<br>
165+
<br>
166166
<table id="services_table" class="table">
167167
<thead>
168168
<tr>

public/plugin/BuyCourses/view/service_sales_report.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
role="tab">{{ 'Services'|get_plugin_lang('BuyCoursesPlugin') }}</a>
1212
</li>
1313
</ul>
14-
</br>
15-
</br>
14+
<br>
15+
<br>
1616
<div class="row">
1717
<div class="col-md-3 col-sm-12 col-xs-12">
1818
<h4><b>{{ 'Filter'|get_lang }}</b></h4>

translations/messages.ar.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22801,7 +22801,7 @@ msgstr "يرجى اخبارنا بسبب سحب الصلاحيات التي قد
2280122801
msgid "Explain in this box why you want your account deleted"
2280222802
msgstr "اشرح لماذا تريد حذف حسابك"
2280322803

22804-
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.</br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.</br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
22804+
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.<br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.<br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
2280522805
msgstr "يمكنك الطلب ادناه لحذف الاتفاق القانوني حول حسابك الذي سوف يحذف."
2280622806

2280722807
msgid "Personal data protection"

translations/messages.ast_ES.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22788,7 +22788,7 @@ msgstr ""
2278822788
msgid "Explain in this box why you want your account deleted"
2278922789
msgstr ""
2279022790

22791-
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.</br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.</br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
22791+
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.<br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.<br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
2279222792
msgstr ""
2279322793

2279422794
msgid "Personal data protection"

translations/messages.bg.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22788,7 +22788,7 @@ msgstr ""
2278822788
msgid "Explain in this box why you want your account deleted"
2278922789
msgstr ""
2279022790

22791-
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.</br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.</br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
22791+
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.<br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.<br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
2279222792
msgstr ""
2279322793

2279422794
msgid "Personal data protection"

translations/messages.bn.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22784,7 +22784,7 @@ msgstr ""
2278422784
msgid "Explain in this box why you want your account deleted"
2278522785
msgstr ""
2278622786

22787-
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.</br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.</br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
22787+
msgid "You can ask below for your legal agreement to be deleted or your account to be deleted.<br>In the case of the legal agreement, once deleted you will have to accept it again on your next login to be able to access the platform and recover your access, because we cannot reasonably at the same time give you a personal environment and not treat your personal data.<br>In the case of an account deletion, your account will be deleted along with all of your course subscriptions and all the information related to your account. Please select the corresponding option with care. In both cases, one of our administrators will review your request before it is effective, to avoid any misunderstanding and definitive loss of your data."
2278822788
msgstr ""
2278922789

2279022790
msgid "Personal data protection"

0 commit comments

Comments
 (0)