fix: Fixed the issue of missing Chinese translation in the 'invalid file name' window after renaming files (#207)

Co-authored-by: xy <eq_software@foxmail.com>
This commit is contained in:
XY0797 2024-02-22 10:30:41 +08:00 committed by GitHub
parent b18b431546
commit 77bca7fd78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 394 additions and 368 deletions

View File

@ -103,6 +103,10 @@
#include <windows.h>
#endif
static const char *Translation[] =
{
QT_TRANSLATE_NOOP("QFileSystemModel", "<b>The name \"%1\" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks.")
};
static int findTabIndex(QTabWidget* tabWidget , QWidget* w) {
for (int i=0;i<tabWidget->count();i++) {

View File

@ -6476,6 +6476,13 @@
<translation type="obsolete">Configurações</translation>
</message>
</context>
<context>
<name>QFileSystemModel</name>
<message>
<source>&lt;b&gt;The name &quot;%1&quot; cannot be used.&lt;/b&gt;&lt;p&gt;Try using another name, with fewer characters or no punctuation marks.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>

File diff suppressed because it is too large Load Diff

View File

@ -6120,6 +6120,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QFileSystemModel</name>
<message>
<source>&lt;b&gt;The name &quot;%1&quot; cannot be used.&lt;/b&gt;&lt;p&gt;Try using another name, with fewer characters or no punctuation marks.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>