Skip to content

Commit

Permalink
feat: complete dialog box common library
Browse files Browse the repository at this point in the history
1. add question dialog

log: complete common library
  • Loading branch information
HJC5305 authored and deepin-mozart committed Sep 1, 2023
1 parent 0c64fbc commit 06ee23a
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 80 deletions.
70 changes: 41 additions & 29 deletions assets/translations/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,47 +45,47 @@
<context>
<name>BinaryToolsConfigView</name>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="69"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="70"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="70"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="71"/>
<source>Delete</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="71"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="72"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="72"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="73"/>
<source>Combine</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="79"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="80"/>
<source>Binary configuration:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="92"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="93"/>
<source>command combination:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="93"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="94"/>
<source>Use Combination Command</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="138"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="139"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="139"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="140"/>
<source>Please select working directory.</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -100,83 +100,83 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="300"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="313"/>
<source>Delete Configuration?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="301"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="314"/>
<source>Do you really want to delete the command &lt;b&gt;%1&lt;/b&gt;?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="325"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="336"/>
<source>Rename...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="326"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="337"/>
<source>New name for command &lt;b&gt;%1&lt;/b&gt;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="382"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="393"/>
<source>Command:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="386"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="397"/>
<source>Tool arguments:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="388"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="399"/>
<source>Input your arguments.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="391"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="402"/>
<source>Executable:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="393"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="398"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="404"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="409"/>
<source>Browse...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="396"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="407"/>
<source>Working directory:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="401"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="412"/>
<source>Envrioment: Base environment for this command configuration.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="402"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="413"/>
<source>&amp;Append</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="403"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="414"/>
<source>&amp;Delete</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="404"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="415"/>
<source>&amp;Reset</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="432"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="443"/>
<source>Select Executabel Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="440"/>
<location filename="../../src/plugins/binarytools/mainframe/binarytoolsconfigview.cpp" line="451"/>
<source>Select Working Directory</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -782,6 +782,11 @@ The dap port is not ready, please retry.
</context>
<context>
<name>DetailWidget</name>
<message>
<location filename="../../src/plugins/template/wizard/detailwidget.cpp" line="73"/>
<source>Browse...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/template/wizard/detailwidget.cpp" line="79"/>
<source>Choose path</source>
Expand Down Expand Up @@ -2371,14 +2376,21 @@ storage: %2
<message>
<location filename="../../src/common/dialog/contextdialog.cpp" line="29"/>
<location filename="../../src/common/dialog/contextdialog.cpp" line="52"/>
<source>OK</source>
<location filename="../../src/common/dialog/contextdialog.cpp" line="69"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/common/dialog/contextdialog.cpp" line="30"/>
<location filename="../../src/common/dialog/contextdialog.cpp" line="71"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/common/dialog/contextdialog.cpp" line="70"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/plugins/cxx/cmake/project/mainframe/properties/buildpropertywidget.cpp" line="38"/>
<source>Build Steps</source>
Expand Down Expand Up @@ -2412,14 +2424,14 @@ storage: %2
<context>
<name>QPushButton</name>
<message>
<location filename="../../src/common/dialog/contextdialog.cpp" line="69"/>
<location filename="../../src/common/dialog/contextdialog.cpp" line="94"/>
<location filename="../../src/plugins/collaborators/mainframe/svn/checkoutdialog.cpp" line="47"/>
<location filename="../../src/plugins/collaborators/mainframe/svn/loggindialog.cpp" line="14"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/common/dialog/contextdialog.cpp" line="70"/>
<location filename="../../src/common/dialog/contextdialog.cpp" line="95"/>
<location filename="../../src/plugins/codeeditor/textedittabwidget/textedittitlebar.cpp" line="50"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
Expand Down
Loading

0 comments on commit 06ee23a

Please sign in to comment.