mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-18 17:23:28 +00:00
escape commas in translation texts
This commit is contained in:
parent
4543348f3a
commit
70ceecfc5a
@ -47,7 +47,9 @@ async function translationsToCsv() {
|
||||
for (let key of translationKeys) {
|
||||
let row = key;
|
||||
for (let lang of languages) {
|
||||
row += '","' + (translations[lang][key] || '').replace(/"/g, '""');
|
||||
row += '","' + (translations[lang][key] || '')
|
||||
.replace(/"/g, '""')
|
||||
.replace(/,/g, '\\,');
|
||||
}
|
||||
csv += row + '"\n';
|
||||
if (key !== translationKeys[translationKeys.length - 1]) {
|
||||
|
@ -51,6 +51,7 @@ export default {
|
||||
"no_contacts_in_list": "No contacts in list",
|
||||
"no_followers_yet": "Share your profile link so others can follow you:",
|
||||
"no_notifications_yet": "No notifications yet",
|
||||
"no_followers_yet_info": "Your posts, replies and likes are only shown to your followers and their network.",
|
||||
"none": "None",
|
||||
"note_to_self": "Note to Self",
|
||||
"nothing": "Nothing",
|
||||
|
Loading…
Reference in New Issue
Block a user