Skip to content

Commit 90b626b

Browse files
committed
fix locale length
1 parent a44a481 commit 90b626b

29 files changed

+31
-28
lines changed

doc/insertLocale.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ def addBasicDescription(jsonDict, locale):
173173
if "appDesc" not in jsonDict:
174174
jsonDict["appDesc"] = {"message": translate(appDesc, locale)}
175175

176+
if "appDesc" in jsonDict:
177+
jsonDict["appDesc"] = {"message": jsonDict["appDesc"]["message"][:130]}
178+
176179

177180
def getI18IdList():
178181
return [getI18Id(i18) for i18 in i18List]

public/_locales/ar/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "مترجم تلميح الأدوات بالفأرة"
262262
},
263263
"appDesc": {
264-
"message": "ترجمة نص تحت مؤشر الفأرة باستخدام محركات ترجمة مختلفة من ضمنها Googleو Bingو Yandexو DeepLو Naver Papagoو. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "ترجمة نص تحت مؤشر الفأرة باستخدام محركات ترجمة مختلفة من ضمنها Googleو Bingو Yandexو DeepLو Naver Papago"
265265
}
266266
}

public/_locales/ca/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Traductor d'eines de ratolí With Google Translator"
262262
},
263263
"appDesc": {
264-
"message": "Traductor de Tool Tip Tra Translate Text MouseOver mitjançant Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Traductor de Tool Tip Tra Translate Text MouseOver mitjançant Google Translate. Support OCR, TTS, manga translator & pdf translato"
265265
}
266266
}

public/_locales/cs/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Překladator pozemního nástroje myši - Web Page Translate"
262262
},
263263
"appDesc": {
264-
"message": "Překladatel překladatele nástrojů myši překládat text myši pomocí Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Překladatel překladatele nástrojů myši překládat text myši pomocí Google Translate. Support OCR, TTS, manga translator & pdf trans"
265265
}
266266
}

public/_locales/da/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Mus Tooltip Translator"
262262
},
263263
"appDesc": {
264-
"message": "Mus Tooltip Translator Translate Mouseover -tekst ved hjælp af Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Mus Tooltip Translator Translate Mouseover -tekst ved hjælp af Google Translate. Support OCR, TTS, manga translator & pdf translat"
265265
}
266266
}

public/_locales/el/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translate Image"
262262
},
263263
"appDesc": {
264-
"message": "Μεταφραστής εργαλείων ποντικιού Μεταφράστε κείμενο ποντικιού χρησιμοποιώντας το Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Μεταφραστής εργαλείων ποντικιού Μεταφράστε κείμενο ποντικιού χρησιμοποιώντας το Google Translate. Support OCR, TTS, manga translat"
265265
}
266266
}

public/_locales/es_419/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Traductor Emergente con el Mouse"
262262
},
263263
"appDesc": {
264-
"message": "El traductor de ventana emergente al pasar con el mouse utiliza Google Translate. Ofrece soporte para OCR, TTS, Manga Translator & PDF Translator."
264+
"message": "El traductor de ventana emergente al pasar con el mouse utiliza Google Translate. Ofrece soporte para OCR, TTS, Manga Translator &"
265265
}
266266
}

public/_locales/fi/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT with Google Dictionary"
262262
},
263263
"appDesc": {
264-
"message": "Hiiren työkaluvihje kääntäjä Käännä hiirensiirtoteksti Google Translate -sovelluksella. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Hiiren työkaluvihje kääntäjä Käännä hiirensiirtoteksti Google Translate -sovelluksella. Support OCR, TTS, manga translator & pdf t"
265265
}
266266
}

public/_locales/fr/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Traduction Souris Info-bulle : Learn Language"
262262
},
263263
"appDesc": {
264-
"message": "Traduire le texte pointé par la souris à l'aide de différent moteur de traduction. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Traduire le texte pointé par la souris à l'aide de différent moteur de traduction. Support OCR, TTS, manga translator & pdf transl"
265265
}
266266
}

public/_locales/gu/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT use Google translator"
262262
},
263263
"appDesc": {
264-
"message": "ગૂગલ ટ્રાન્સલેશનનો ઉપયોગ કરીને માઉસ ટૂલટિપ અનુવાદક માઉસઓવર ટેક્સ્ટનું ભાષાંતર કરે છે. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "ગૂગલ ટ્રાન્સલેશનનો ઉપયોગ કરીને માઉસ ટૂલટિપ અનુવાદક માઉસઓવર ટેક્સ્ટનું ભાષાંતર કરે છે. Support OCR, TTS, manga translator & pdf tra"
265265
}
266266
}

public/_locales/hu/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Egér ToolTip fordító : Subtitle Translator"
262262
},
263263
"appDesc": {
264-
"message": "Egér ToolTip Translator fordítása MouseOver szöveget a Google Translate segítségével. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Egér ToolTip Translator fordítása MouseOver szöveget a Google Translate segítségével. Support OCR, TTS, manga translator & pdf tra"
265265
}
266266
}

public/_locales/id/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Penerjemah Tooltip Mouse: AI Translator"
262262
},
263263
"appDesc": {
264-
"message": "Penerjemah Tooltip Mouse yang Menerjemahkan Teks Saat Diarahkan Mouse Menggunakan Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Penerjemah Tooltip Mouse yang Menerjemahkan Teks Saat Diarahkan Mouse Menggunakan Google Translate. Support OCR, TTS, manga transl"
265265
}
266266
}

public/_locales/it/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Traduttore di tooltip del mouse: Image OCR"
262262
},
263263
"appDesc": {
264-
"message": "Traduttore di tooltip del mouse Translate Testo del mouseover usando Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Traduttore di tooltip del mouse Translate Testo del mouseover usando Google Translate. Support OCR, TTS, manga translator & pdf tr"
265265
}
266266
}

public/_locales/kn/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translate Japanese"
262262
},
263263
"appDesc": {
264-
"message": "ಮೌಸ್ ಟೂಲ್ಟಿಪ್ ಅನುವಾದಕ ಗೂಗಲ್ ಅನುವಾದವನ್ನು ಬಳಸಿಕೊಂಡು ಮೌಸೋವರ್ ಪಠ್ಯವನ್ನು ಅನುವಾದಿಸಿ. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "ಮೌಸ್ ಟೂಲ್ಟಿಪ್ ಅನುವಾದಕ ಗೂಗಲ್ ಅನುವಾದವನ್ನು ಬಳಸಿಕೊಂಡು ಮೌಸೋವರ್ ಪಠ್ಯವನ್ನು ಅನುವಾದಿಸಿ. Support OCR, TTS, manga translator & pdf translator"
265265
}
266266
}

public/_locales/lv/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translate Manga"
262262
},
263263
"appDesc": {
264-
"message": "Peles rīka padomu tulkotājs tulkot peles pārsniegšanas tekstu, izmantojot Google tulkojumu. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Peles rīka padomu tulkotājs tulkot peles pārsniegšanas tekstu, izmantojot Google tulkojumu. Support OCR, TTS, manga translator & p"
265265
}
266266
}

public/_locales/ml/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "മൗസ് ടൂൾടിപ്പ് പരിഭാഷകൻ: translate pdf subtitle"
262262
},
263263
"appDesc": {
264-
"message": "മ mouse സ് ടൂൾടിപ്പ് ട്രാൻസ്ലേറ്റർ വിവർത്തനം ചെയ്യുക മസോവർ ടെക്സ്റ്റ് Google വിവർത്തനം ഉപയോഗിച്ച്. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "മ mouse സ് ടൂൾടിപ്പ് ട്രാൻസ്ലേറ്റർ വിവർത്തനം ചെയ്യുക മസോവർ ടെക്സ്റ്റ് Google വിവർത്തനം ഉപയോഗിച്ച്. Support OCR, TTS, manga transla"
265265
}
266266
}

public/_locales/ms/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT with Dual Subtitle"
262262
},
263263
"appDesc": {
264-
"message": "Penterjemah Tooltip Mouse Terjemahkan Teks Mouseover Menggunakan Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Penterjemah Tooltip Mouse Terjemahkan Teks Mouseover Menggunakan Google Translate. Support OCR, TTS, manga translator & pdf transl"
265265
}
266266
}

public/_locales/nl/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT translate chatgpt"
262262
},
263263
"appDesc": {
264-
"message": "Muis Toltip Translator vertaalt mouseover -tekst met behulp van Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Muis Toltip Translator vertaalt mouseover -tekst met behulp van Google Translate. Support OCR, TTS, manga translator & pdf transla"
265265
}
266266
}

public/_locales/no/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT TTS translator"
262262
},
263263
"appDesc": {
264-
"message": "Mus ToolTip Translator Translate Mouseover -tekst ved hjelp av Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Mus ToolTip Translator Translate Mouseover -tekst ved hjelp av Google Translate. Support OCR, TTS, manga translator & pdf translat"
265265
}
266266
}

public/_locales/ro/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translate ChatGPT"
262262
},
263263
"appDesc": {
264-
"message": "Traducător de instrumente de mouse -ul traduce textul mouseover folosind Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Traducător de instrumente de mouse -ul traduce textul mouseover folosind Google Translate. Support OCR, TTS, manga translator & pd"
265265
}
266266
}

public/_locales/ru/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Переводчик контекста мышью"
262262
},
263263
"appDesc": {
264-
"message": "Переводчик для подсказки для мыши переводчик перевод текста MouseOver с помощью Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Переводчик для подсказки для мыши переводчик перевод текста MouseOver с помощью Google Translate. Support OCR, TTS, manga translat"
265265
}
266266
}

public/_locales/sl/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translator Extension"
262262
},
263263
"appDesc": {
264-
"message": "Prevajalec za mišjo orodje Translate MuseOver besedilo z uporabo Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Prevajalec za mišjo orodje Translate MuseOver besedilo z uporabo Google Translate. Support OCR, TTS, manga translator & pdf transl"
265265
}
266266
}

public/_locales/sw/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Manga Translator"
262262
},
263263
"appDesc": {
264-
"message": "Tafsiri ya Tooltip ya Panya Tafsiri maandishi ya Mouseover kwa kutumia Google Tafsiri. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Tafsiri ya Tooltip ya Panya Tafsiri maandishi ya Mouseover kwa kutumia Google Tafsiri. Support OCR, TTS, manga translator & pdf tr"
265265
}
266266
}

public/_locales/ta/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT EBOOK Translator"
262262
},
263263
"appDesc": {
264-
"message": "மவுஸ் உதவிக்குறிப்பு மொழிபெயர்ப்பாளர் கூகிள் மொழிபெயர்ப்பைப் பயன்படுத்தி மவுஸ்ஓவர் உரையை மொழிபெயர்க்கவும். Support OCR, TTS, manga translator & pdf translator."
264+
"message": "மவுஸ் உதவிக்குறிப்பு மொழிபெயர்ப்பாளர் கூகிள் மொழிபெயர்ப்பைப் பயன்படுத்தி மவுஸ்ஓவர் உரையை மொழிபெயர்க்கவும். Support OCR, TTS, manga"
265265
}
266266
}

public/_locales/te/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Translate manga"
262262
},
263263
"appDesc": {
264-
"message": "మౌస్ టూల్టిప్ అనువాదకుడు గూగుల్ అనువాదం ఉపయోగించి మౌస్‌ఓవర్ వచనాన్ని అనువదించండి. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "మౌస్ టూల్టిప్ అనువాదకుడు గూగుల్ అనువాదం ఉపయోగించి మౌస్‌ఓవర్ వచనాన్ని అనువదించండి. Support OCR, TTS, manga translator & pdf transla"
265265
}
266266
}

public/_locales/th/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "น้องเมาส์นักแปลภาษา Mouse Tooltip Translator"
262262
},
263263
"appDesc": {
264-
"message": "น้องเมาส์นักแปลภาษา Mouse Tooltip Translator แปลข้อความ Mouse Over โดยใช้ Google Translate รองรับ OCR, TTS, โปรแกรมแปลมังงะ และโปรแกรมแปล PDF"
264+
"message": "น้องเมาส์นักแปลภาษา Mouse Tooltip Translator แปลข้อความ Mouse Over โดยใช้ Google Translate รองรับ OCR, TTS, โปรแกรมแปลมังงะ และโปร"
265265
}
266266
}

public/_locales/tr/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "Fare araç ipucu çevirmen"
262262
},
263263
"appDesc": {
264-
"message": "Fare araç ipucu çevirmen google çevirisini kullanarak mouseover metnini çevir. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Fare araç ipucu çevirmen google çevirisini kullanarak mouseover metnini çevir. Support OCR, TTS, manga translator & pdf translator"
265265
}
266266
}

public/_locales/uk/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@
261261
"message": "MTT Writing Translator"
262262
},
263263
"appDesc": {
264-
"message": "Перекладач підказки миші перекладати текст MouseOver за допомогою Google Translate. Support OCR, TTS, manga translator & pdf translator."
264+
"message": "Перекладач підказки миші перекладати текст MouseOver за допомогою Google Translate. Support OCR, TTS, manga translator & pdf trans"
265265
}
266266
}

public/pdfjs/web/viewer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
y<!DOCTYPE html>
22
<!--
33
Copyright 2012 Mozilla Foundation
44

0 commit comments

Comments
 (0)