Skip to content

Commit

Permalink
Add Tooltip to database backup location text field.
Browse files Browse the repository at this point in the history
  • Loading branch information
libklein committed Oct 24, 2021
1 parent ac393f8 commit 7d74520
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions share/translations/keepassxc_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,15 +449,15 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>?</source>
<source>Backup destination</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Backup destination</source>
<source>Specifies the database backup file location. Occurences of &quot;{DB_FILENAME}&quot; are replaced with the filename of the saved database without extension. {TIME:&lt;format&gt;} is replaced with the backup time, see https://doc.qt.io/qt-5/qdatetime.html#toString. &lt;format&gt; defaults to format string &quot;dd_MM_yyyy_hh-mm-ss&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>{DB_NAME}.old.kdbx</source>
<source>{DB_FILENAME}.old.kdbx</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
7 changes: 5 additions & 2 deletions src/gui/ApplicationSettingsWidgetGeneral.ui
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>573</width>
<height>1102</height>
<width>664</width>
<height>1215</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
Expand Down Expand Up @@ -301,6 +301,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Specifies the database backup file location. Occurences of &quot;{DB_FILENAME}&quot; are replaced with the filename of the saved database without extension. {TIME:&lt;format&gt;} is replaced with the backup time, see https://doc.qt.io/qt-5/qdatetime.html#toString. &lt;format&gt; defaults to format string &quot;dd_MM_yyyy_hh-mm-ss&quot;.</string>
</property>
<property name="placeholderText">
<string>{DB_FILENAME}.old.kdbx</string>
</property>
Expand Down

0 comments on commit 7d74520

Please sign in to comment.