diff --git a/public/css/rm-groups.css b/public/css/rm-groups.css
index 499f59873..6e12164b2 100644
--- a/public/css/rm-groups.css
+++ b/public/css/rm-groups.css
@@ -87,7 +87,7 @@
}
#rm_group_members:empty::before {
- content: 'Group is empty';
+ content: attr(group_empty_text);
font-weight: bolder;
width: 100%;
@@ -115,7 +115,7 @@
}
#rm_group_add_members:empty::before {
- content: 'No characters available';
+ content: attr(no_characters_text);
font-weight: bolder;
width: 100%;
diff --git a/public/index.html b/public/index.html
index 6f1dfa016..3f8cc407f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -2052,8 +2052,8 @@
${texts[roll]}
-
There are no items to display.
+
` + t`There are no items to display.` + `
`;
return $(emptyBlock);
}
@@ -1443,7 +1446,7 @@ function getHiddenBlock(hidden) {
const hiddenBlock = `
- ${hidden} ${hidden > 1 ? 'characters' : 'character'} hidden.
+
` + t`${hidden} ${hidden > 1 ? 'characters' : 'character'} hidden.` + `
`;
@@ -1568,6 +1571,7 @@ export async function printCharacters(fullRefresh = false) {
if (hidden > 0 && entitiesFilter.hasAnyFilter()) {
$(listId).append(getHiddenBlock(hidden));
}
+ localizePagination($('#rm_print_characters_pagination'));
eventSource.emit(event_types.CHARACTER_PAGE_LOADED);
},
@@ -8429,7 +8433,7 @@ export function callPopup(text, type, inputValue = '', { okButton, rows, wide, w
} else if (['delete_extension'].includes(popup_type)) {
return okButton ?? 'Ok';
} else if (['new_chat', 'confirm'].includes(popup_type)) {
- return okButton ?? 'Yes';
+ return okButton ?? t`Yes`;
} else if (['input'].includes(popup_type)) {
return okButton ?? t`Save`;
}
diff --git a/public/scripts/backgrounds.js b/public/scripts/backgrounds.js
index 308aac532..2352df253 100644
--- a/public/scripts/backgrounds.js
+++ b/public/scripts/backgrounds.js
@@ -291,7 +291,7 @@ async function onDeleteBackgroundClick(e) {
const bgToDelete = $(this).closest('.bg_example');
const url = bgToDelete.data('url');
const isCustom = bgToDelete.attr('custom') === 'true';
- const confirm = await callPopup('If you want to merge all references to this tag into another tag, select it below:
+ ` + t`If you want to merge all references to this tag into another tag, select it below:` + `