related to #1869 added translations for MCS

This commit is contained in:
MatthieuLP
2023-06-26 16:04:37 +02:00
parent c6eebad0cb
commit d50d7ba620
4 changed files with 36 additions and 19 deletions
+8
View File
@@ -418,4 +418,12 @@ $lang['Related albums'] = 'Related albums';
$lang['Album name, 1 → 5 → 10 → 100'] = 'Album name, 1 → 5 → 10 → 100';
$lang['Album name, 100 → 10 → 5 → 1'] = 'Album name, 100 → 10 → 5 → 1';
$lang['Start-Date'] = 'Start date';
$lang['Added by'] = 'Added by';
$lang['Filters'] = 'Filters';
$lang['Validate'] = 'Validate';
$lang['Cancel'] = 'Cancel';
$lang['Search in :'] = 'Search in :';
$lang['Album title'] = 'Album title';
$lang['File name'] = 'File name';
$lang['Album description'] = 'Album description';
?>
+8
View File
@@ -418,3 +418,11 @@ $lang['Password: ********** (no copy by email)'] = 'Mot de passe : ********** (p
$lang['Album name, 1 → 5 → 10 → 100'] = 'Nom d\'album, 1 → 5 → 10 → 100';
$lang['Album name, 100 → 10 → 5 → 1'] = 'Nom d\'album, 100 → 10 → 5 → 1';
$lang['Start-Date'] = 'Date de début';
$lang['Added by'] = 'Ajouté par';
$lang['Filters'] = 'Filtres';
$lang['Validate'] = 'Valider';
$lang['Cancel'] = 'Annuler';
$lang['Search in :'] = 'Rechercher dans :';
$lang['Album title'] = 'Titre de l\'album';
$lang['File name'] = 'Nom de fichier';
$lang['Album description'] = 'Description de l\'album';
+1 -1
View File
@@ -175,7 +175,7 @@ $(document).ready(function () {
$(".filter-added_by").addClass("filter-filled");
$(".filter.filter-added_by .search-words").text(added_search_str.slice(0, -2));
} else {
$(".filter.filter-added_by .search-words").text("Added by");
$(".filter.filter-added_by .search-words").text(str_added_by_widget_label);
}
+19 -18
View File
@@ -21,6 +21,7 @@ str_word_widget_label = "{'Search for words'|@translate}";
str_tags_widget_label = "{'Search tags'|@translate}";
str_album_widget_label = "{'Search in albums'|@translate}";
str_author_widget_label = "{'Search for Author'|@translate}";
str_added_by_widget_label = "{'Added by'|@translate}";
{/footer_script}
@@ -201,7 +202,7 @@ str_author_widget_label = "{'Search for Author'|@translate}";
<div class="filter-manager-popin-container">
<span class="pwg-icon-cancel filter-manager-close"></span>
<div class="mcs-popin-title">Filtres</div>
<div class="mcs-popin-title">{'Filtres'|@translate}</div>
<div class="filter-manager-controller-container">
<label>
@@ -222,23 +223,23 @@ str_author_widget_label = "{'Search for Author'|@translate}";
</label>
<label>
<input data-wid='added_by' class="filter-manager-controller added_by" type="checkbox"/>
<span class="mcs-icon pwg-icon-user">Added by</span>
<span class="mcs-icon pwg-icon-user">{'Added by'|@translate}</span>
</label>
</div>
<div class="filter-manager-actions">
<div class="filter-cancel">
Cancel
{'Cancel'|@translate}
</div>
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>
</div>
<div class="filter-manager">
<span class="mcs-icon pwg-icon-cog"></span>Filters
<span class="mcs-icon pwg-icon-cog"></span>{'Filtres'|@translate}
</div>
<i class="filter-spinner pwg-icon-spin6 animate-spin"></i>
@@ -257,36 +258,36 @@ str_author_widget_label = "{'Search for Author'|@translate}";
</div>
<input type="text" id="word-search" name="word">
<span class="search-params-title">Search in :</span>
<span class="search-params-title">{'Search in :'|@translate}</span>
<div class="search-params">
<div>
<input type="checkbox" id="cat-title" name="cat-title">
<label for="cat-title">Album title</label>
<label for="cat-title">{'Album title'|@translate}</label>
</div>
<div>
<input type="checkbox" id="tags" name="tags">
<label for="tags">Tags</label>
<label for="tags">{'Tags'|@translate}</label>
</div>
<div>
<input type="checkbox" id="file" name="file">
<label for="file">File name</label>
<label for="file">{'File name'|@translate}</label>
</div>
<div>
<input type="checkbox" id="name" name="name">
<label for="name">Photo title</label>
<label for="name">{'Photo title'|@translate}</label>
</div>
<div>
<input type="checkbox" id="comment" name="comment">
<label for="comment">Photo description</label>
<label for="comment">{'Photo description'|@translate}</label>
</div>
<div>
<input type="checkbox" id="cat-desc" name="cat-desc">
<label for="cat-desc">Album description</label>
<label for="cat-desc">{'Album description'|@translate}</label>
</div>
</div>
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>
@@ -315,7 +316,7 @@ str_author_widget_label = "{'Search for Author'|@translate}";
</select>
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>
@@ -368,12 +369,12 @@ str_author_widget_label = "{'Search for Author'|@translate}";
</div>
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>
{include file='admin/themes/default/template/include/album_selector.inc.tpl'
title={'Search in album'|@translate}
title={'Search in albums'|@translate}
searchPlaceholder={'Search'|@translate}
show_root_btn=false
api_method='pwg.categories.getList'
@@ -395,7 +396,7 @@ str_author_widget_label = "{'Search for Author'|@translate}";
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>
@@ -417,7 +418,7 @@ str_author_widget_label = "{'Search for Author'|@translate}";
</select>
<div class="filter-validate">
<i class="loading pwg-icon-spin6 animate-spin"></i>
<span class="validate-text">Validate</span>
<span class="validate-text">{'Validate'|@translate}</span>
</div>
</div>
</div>