Skip to content

Commit

Permalink
feat(i18n): add Italian localization (keshavbhatt#55)
Browse files Browse the repository at this point in the history
* chore: add some entries to .gitignore

* chore: general enhancements to original strings

* feat(i18n): add Italian localization
  • Loading branch information
M0Rf30 authored Jun 25, 2022
1 parent 66d20d3 commit ced5547
Show file tree
Hide file tree
Showing 11 changed files with 1,100 additions and 29 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ compile_commands.json

# QtCreator local machine specific files for imported projects
*creator.user*

qtwebengine_dictionaries
whatsie
3 changes: 3 additions & 0 deletions src/WhatsApp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ FORMS += \
rateapp.ui \
settingswidget.ui

TRANSLATIONS += \
i18n/it_IT.ts

qtPrepareTool(CONVERT_TOOL, qwebengine_convert_dict)

DICTIONARIES_DIR = qtwebengine_dictionaries
Expand Down
6 changes: 3 additions & 3 deletions src/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ About::About(QWidget *parent) : QWidget(parent), ui(new Ui::About) {

// init
appName = QApplication::applicationName();
appDescription = "WhatsApp Web clinet for Linux Desktop";
appDescription = "WhatsApp Web client for Linux Desktop";
isOpenSource = true;
appAuthorName = "Keshav Bhatt";
appAuthorEmail = "[email protected]";
Expand All @@ -35,8 +35,8 @@ About::About(QWidget *parent) : QWidget(parent), ui(new Ui::About) {
QString("<p><span style=' font-weight:600;'>Designed &amp; Developed "
"by:</span>"
" %1 </p><p><span style=' font-weight:600;'>"
"Developer Email address: </span>%2</p>"
"<p><span style=' font-weight:600;'>Developer Website:</span>"
"Email: </span>%2</p>"
"<p><span style=' font-weight:600;'>Website:</span>"
" %3</p>")
.arg(appAuthorName, appAuthorEmail, appAuthorLink));

Expand Down
6 changes: 3 additions & 3 deletions src/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLabel" name="desc2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Designed &amp;amp; Developed by:&lt;/span&gt; Keshav Bhatt &lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Developer Email address: &lt;/span&gt;[email protected]&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Developer Website:&lt;/span&gt; http://ktechpit.com&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Designed &amp;amp; Developed by:&lt;/span&gt; Keshav Bhatt &lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Email: &lt;/span&gt;[email protected]&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Website:&lt;/span&gt; http://ktechpit.com&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -168,7 +168,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QPushButton" name="donate">
<property name="text">
<string>Donate Paypal</string>
<string>Donate PayPal</string>
</property>
</widget>
</item>
Expand All @@ -193,7 +193,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QPushButton" name="more_apps">
<property name="text">
<string>More Application by Developer</string>
<string>More Applications</string>
</property>
</widget>
</item>
Expand Down
Loading

0 comments on commit ced5547

Please sign in to comment.