Skip to content

Commit 07cca7f

Browse files
committed
Traduction
* Set up the traduction keys * Translate in french
1 parent 6a6736c commit 07cca7f

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

language/en_UK/plugin.lang.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
<?php
2-
2+
$lang['Use this API'] = "Use this API";
3+
$lang['Generate tags'] = "Generate tags";
4+
$lang['Generate tags for this image'] = "Generate tags for this image";
5+
$lang['Maximum number'] = "Maximum number";
6+
$lang['Language code'] = "Language code";
7+
$lang['%d request left this month'] = "%d request left this month";
8+
$lang['There is an error with the API'] = "There is an error with the API";
9+
$lang['No more requests left this month'] = "No more requests left this month";
10+
$lang['Proposed tags'] = "Proposed tags";
11+
$lang['Click on tags to select them'] = "Click on tags to select them";
12+
$lang['Apply tags'] = "Apply tags";
13+
$lang['Fetching the API...'] = "Fetching the API...";
14+
$lang['Tags successfully added'] = "Tags successfully added";
315
?>

language/fr_FR/plugin.lang.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,16 @@
55
// | For copyright and license information, please view the COPYING.txt |
66
// | file that was distributed with this source code. |
77
// +-----------------------------------------------------------------------+
8+
$lang['Use this API'] = "Utiliser cette API";
9+
$lang['Generate tags'] = "Générer des tags";
10+
$lang['Generate tags for this image'] = "Générer des tags pour cette image";
11+
$lang['Maximum number'] = "Maximum de tag";
12+
$lang['Language code'] = "Code de langue";
13+
$lang['%d request left this month'] = "Il reste %d requête ce mois ci";
14+
$lang['There is an error with the API'] = "Il y a un problème avec cette API";
15+
$lang['No more requests left this month'] = "Il ne reste plus de requête ce mois-ci";
16+
$lang['Proposed tags'] = "Tags Proposés";
17+
$lang['Click on tags to select them'] = "Cliquez sur les tags pour les sélectionner";
18+
$lang['Apply tags'] = "Appliquer les tags";
19+
$lang['Fetching the API...'] = "Récupération des données de l'API...";
20+
$lang['Tags successfully added'] = "Les tags ont été ajoutés";

template/picture_modify.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
const ACTUAL_API = '{$ACTUAL_API}'
1010
const str_left_this_month = '{'%d request left this month'|@translate}';
1111
const str_there_is_an_error = '{'There is an error with the API'|@translate}';
12-
const str_no_more_request = '{'There are no more requests left this month'|@translate}';
12+
const str_no_more_request = '{'No more requests left this month'|@translate}';
1313
const str_loading = '{'Loading...'|@translate}';
1414
const language = null;
1515
{/footer_script}
@@ -54,7 +54,6 @@
5454
<div class="tr-panel tr-panel-succeed">
5555
<div class="tr-panel-header">
5656
<span class="tr-panel-title">{'Tags successfully added'|@translate}</span>
57-
<span class="tr-panel-hint">{'Refresh the page or save settings to see them'|@translate}</span>
5857
</div>
5958
<div class="tr-dropdown-actions">
6059
<div class="tr-button-1 tr-action-cancel">{'Ok'|@translate}</div>

0 commit comments

Comments
 (0)