Fix hardcoded resources

This commit is contained in:
Paulo Gustavo Veiga 2022-03-14 15:18:31 -03:00
parent 034d514cb5
commit b84d7f3338
8 changed files with 9 additions and 3 deletions

View File

@ -79,7 +79,7 @@ const DE = {
MULTIPLE_LINES: 'Füge mehrer Textzeilen hinzu',
BACK_TO_MAP_LIST: 'Zurück zur Kartenliste',
KEYBOARD_SHOTCUTS: 'Tastaturkürzel',
PASTE_URL_HERE: 'Fügen Sie hier die gewünschte URL-Adresse ein:',
};
export default DE;

View File

@ -79,6 +79,7 @@ const EN = {
MULTIPLE_LINES: 'Add multiple text lines',
BACK_TO_MAP_LIST: 'Back to Maps List',
KEYBOARD_SHOTCUTS: 'Keyboard Shorcuts',
PASTE_URL_HERE: 'Paste your url address here:',
};
export default EN;

View File

@ -79,6 +79,7 @@ const ES = {
MULTIPLE_LINES: 'Ajouter plusieurs lignes de texte',
BACK_TO_MAP_LIST: 'Volver a la lista de mapas',
KEYBOARD_SHOTCUTS: 'Métodos abreviados de teclado',
PASTE_URL_HERE: 'Copie la URL que desea aca:',
};
export default ES;

View File

@ -79,6 +79,7 @@ const FR = {
MULTIPLE_LINES: 'Ajouter plusieurs lignes de texte',
BACK_TO_MAP_LIST: 'Retour à la liste des cartes',
KEYBOARD_SHOTCUTS: 'Raccourcis clavier',
PASTE_URL_HERE: 'Collez l\'adresse URL souhaitée ici :',
};
export default FR;

View File

@ -79,6 +79,7 @@ const EN = {
MULTIPLE_LINES: 'Add multiple text lines',
BACK_TO_MAP_LIST: 'Back to Maps List',
KEYBOARD_SHOTCUTS: 'Keyboard Shorcuts',
PASTE_URL_HERE: 'Вставьте нужный URL-адрес здесь:',
};
export default EN;

View File

@ -79,6 +79,8 @@ const ZH = {
MULTIPLE_LINES: '添加多行文本',
BACK_TO_MAP_LIST: '回到脑图列表',
KEYBOARD_SHOTCUTS: '键盘快捷键',
PASTE_URL_HERE: '在此处粘贴所需的 URL 地址:',
};
export default ZH;

View File

@ -49,7 +49,7 @@ class LinkEditor extends BootstrapDialog {
action: 'none',
id: 'linkFormId',
});
const text = $('<p></p>').text('Paste your url here:');
const text = $('<p></p>').text($msg('PASTE_URL_HERE'));
text.css('margin', '0px 0px 20px');
this.form.append(text);

View File

@ -23,7 +23,7 @@ import { $msg } from '../Messages';
class NoteEditor extends BootstrapDialog {
constructor(model) {
$assert(model, 'model can not be null');
super($msg('Note'), {
super($msg('NOTE'), {
cancelButton: true,
closeButton: true,
acceptButton: true,