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', MULTIPLE_LINES: 'Füge mehrer Textzeilen hinzu',
BACK_TO_MAP_LIST: 'Zurück zur Kartenliste', BACK_TO_MAP_LIST: 'Zurück zur Kartenliste',
KEYBOARD_SHOTCUTS: 'Tastaturkürzel', KEYBOARD_SHOTCUTS: 'Tastaturkürzel',
PASTE_URL_HERE: 'Fügen Sie hier die gewünschte URL-Adresse ein:',
}; };
export default DE; export default DE;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -49,7 +49,7 @@ class LinkEditor extends BootstrapDialog {
action: 'none', action: 'none',
id: 'linkFormId', 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'); text.css('margin', '0px 0px 20px');
this.form.append(text); this.form.append(text);

View File

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