Skip to content

Commit

Permalink
Set text for empty document lists (GCRC#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao1 authored May 14, 2024
1 parent f854580 commit 1285a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nunaliit2-js/src/main/js/nunaliit2/n2.couchShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,7 @@ var Show = $n2.Class({
// If empty, set class to report it
} else {
$elem.addClass('n2show_documentList_empty');
$elem.text(_loc('No documents found.'));
};
};
});
Expand Down
1 change: 1 addition & 0 deletions nunaliit2-js/src/main/js/nunaliit2/nunaliit2.fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ $n2.l10n.addLocalizedStrings('fr',{
,"{docId} transformed and saved":"{docId} transformé et sauvegardé"
,"{index}/{count}":"{index}/{count}"
,"{label} definition ({key}) already exists - not loaded or updated":"Définition {label} ({key}) existe déjà - ignorée"
,"No documents found.": "Aucun document n'a été trouvé."
});

if( $ && $.datepicker ) {
Expand Down

0 comments on commit 1285a6b

Please sign in to comment.