- fix: app name in the title bar not translated

- use new app icon
This commit is contained in:
royqh1979@gmail.com 2021-10-22 17:29:15 +08:00
parent 3cb737441f
commit 2d0e00beef
3 changed files with 37 additions and 30 deletions

View File

@ -1,5 +1,7 @@
Version 0.7.1
- fix: can't add bookmark at a breakpoint line
- fix: app name in the title bar not translated
- use new app icon
Version 0.7.0
- fix: Backspace still works in readonly mode

View File

@ -133,17 +133,17 @@
<translation>&apos;%1&apos;.</translation>
</message>
<message>
<location filename="widgets/bookmarkmodel.cpp" line="238"/>
<location filename="widgets/bookmarkmodel.cpp" line="237"/>
<source>Description</source>
<translation></translation>
</message>
<message>
<location filename="widgets/bookmarkmodel.cpp" line="240"/>
<location filename="widgets/bookmarkmodel.cpp" line="239"/>
<source>Line</source>
<translation></translation>
</message>
<message>
<location filename="widgets/bookmarkmodel.cpp" line="242"/>
<location filename="widgets/bookmarkmodel.cpp" line="241"/>
<source>Filename</source>
<translation></translation>
</message>
@ -1011,7 +1011,7 @@ Are you really want to continue?</source>
<context>
<name>Editor</name>
<message>
<location filename="editor.cpp" line="82"/>
<location filename="editor.cpp" line="83"/>
<source>untitled</source>
<translation></translation>
</message>
@ -1024,76 +1024,76 @@ Are you really want to continue?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="editor.cpp" line="219"/>
<location filename="editor.cpp" line="233"/>
<location filename="editor.cpp" line="309"/>
<location filename="editor.cpp" line="1142"/>
<location filename="editor.cpp" line="1147"/>
<location filename="editor.cpp" line="1165"/>
<location filename="editor.cpp" line="1170"/>
<location filename="editor.cpp" line="225"/>
<location filename="editor.cpp" line="239"/>
<location filename="editor.cpp" line="315"/>
<location filename="editor.cpp" line="1148"/>
<location filename="editor.cpp" line="1153"/>
<location filename="editor.cpp" line="1171"/>
<location filename="editor.cpp" line="1176"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="220"/>
<location filename="editor.cpp" line="226"/>
<source>File %1 is not writable!</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location filename="editor.cpp" line="262"/>
<location filename="editor.cpp" line="268"/>
<source>Save As</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="1143"/>
<location filename="editor.cpp" line="1149"/>
<source>The text to be copied exceeds count limit!</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="1148"/>
<location filename="editor.cpp" line="1154"/>
<source>The text to be copied exceeds character limit!</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="1166"/>
<location filename="editor.cpp" line="1172"/>
<source>The text to be cut exceeds count limit!</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="1171"/>
<location filename="editor.cpp" line="1177"/>
<source>The text to be cut exceeds character limit!</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="2159"/>
<location filename="editor.cpp" line="2165"/>
<source>Print Document</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="2706"/>
<location filename="editor.cpp" line="2743"/>
<location filename="editor.cpp" line="2794"/>
<location filename="editor.cpp" line="2712"/>
<location filename="editor.cpp" line="2749"/>
<location filename="editor.cpp" line="2800"/>
<source>Ctrl+click for more info</source>
<translation>Ctrl+</translation>
</message>
<message>
<location filename="editor.cpp" line="3141"/>
<location filename="editor.cpp" line="3171"/>
<location filename="editor.cpp" line="3147"/>
<location filename="editor.cpp" line="3177"/>
<source>Symbol &apos;%1&apos; not found!</source>
<translation>&apos;%1&apos;!</translation>
</message>
<message>
<location filename="editor.cpp" line="3586"/>
<location filename="editor.cpp" line="3592"/>
<source>Break point condition</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="3587"/>
<location filename="editor.cpp" line="3593"/>
<source>Enter the condition of the breakpoint:</source>
<translation>:</translation>
</message>
<message>
<location filename="editor.cpp" line="3766"/>
<location filename="editor.cpp" line="3772"/>
<source>Readonly</source>
<translation></translation>
</message>
@ -3631,7 +3631,7 @@ Are you really want to continue?</source>
</message>
<message>
<location filename="mainwindow.ui" line="2004"/>
<location filename="mainwindow.cpp" line="4703"/>
<location filename="mainwindow.cpp" line="4705"/>
<source>Open Folder</source>
<translation></translation>
</message>
@ -3855,6 +3855,11 @@ Are you really want to continue?</source>
<source>Insert Snippet</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="559"/>
<source>Red Panda Dev-C++</source>
<translation>Dev-C++</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1707"/>
<source>Remove</source>
@ -4983,12 +4988,12 @@ Are you really want to continue?</source>
<context>
<name>QObject</name>
<message>
<location filename="editorlist.cpp" line="119"/>
<location filename="editorlist.cpp" line="120"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="editorlist.cpp" line="120"/>
<location filename="editorlist.cpp" line="121"/>
<source>Save changes to %1?</source>
<translation>&quot;%1&quot;</translation>
</message>

View File

@ -556,7 +556,7 @@ void MainWindow::setActiveBreakpoint(QString FileName, int Line, bool setFocus)
void MainWindow::updateAppTitle()
{
QString appName("Red Panda Dev-C++");
QString appName=tr("Red Panda Dev-C++");
Editor *e = mEditorList->getEditor();
QCoreApplication *app = QApplication::instance();
if (e && !e->inProject()) {