Skip to content

Commit

Permalink
updated language files
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhaninan committed May 12, 2019
1 parent e0537d3 commit 4d7ae9e
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 71 deletions.
148 changes: 85 additions & 63 deletions stacer/Pages/Search/search_page.ui
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,53 @@
<property name="spacing">
<number>10</number>
</property>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="lblErrorMsg">
<property name="text">
<string/>
<item row="7" column="0" colspan="2">
<widget class="QTableView" name="tableFoundResults">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</widget>
</item>
<item row="9" column="0" alignment="Qt::AlignLeft">
<widget class="QLabel" name="lblFoundFilesInfo">
<property name="lineWidth">
<number>0</number>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="scaledContents">
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="textElideMode">
<enum>Qt::ElideMiddle</enum>
</property>
<property name="gridStyle">
<enum>Qt::SolidLine</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="cornerButtonEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item row="2" column="0" colspan="2">
Expand Down Expand Up @@ -141,53 +161,14 @@
</item>
</layout>
</item>
<item row="7" column="0" colspan="2">
<widget class="QTableView" name="tableFoundResults">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="textElideMode">
<enum>Qt::ElideMiddle</enum>
</property>
<property name="gridStyle">
<enum>Qt::SolidLine</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="lblErrorMsg">
<property name="text">
<string/>
</property>
<property name="cornerButtonEnabled">
<bool>true</bool>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item row="8" column="0" colspan="2" alignment="Qt::AlignHCenter">
Expand Down Expand Up @@ -678,6 +659,47 @@
</item>
</layout>
</item>
<item row="9" column="0">
<widget class="QLabel" name="lblFoundFilesInfo">
<property name="lineWidth">
<number>0</number>
</property>
<property name="text">
<string/>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="1" alignment="Qt::AlignRight">
<widget class="QLabel" name="lblBetaInfo">
<property name="styleSheet">
<string notr="true">color: rgb(252, 175, 62);</string>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="text">
<string>BETA version</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
Expand Down
12 changes: 9 additions & 3 deletions stacer/stacer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -121,20 +121,26 @@ FORMS += \

TRANSLATIONS += \
../translations/stacer_ar.ts \
../translations/stacer_ca-es.ts \
../translations/stacer_de.ts \
../translations/stacer_en.ts \
../translations/stacer_ca-es.ts \
../translations/stacer_es.ts \
../translations/stacer_fr.ts \
../translations/stacer_hi.ts \
../translations/stacer_hi.ts \
../translations/stacer_it.ts \
../translations/stacer_kn.ts \
../translations/stacer_ml.ts \
../translations/stacer_nl.ts \
../translations/stacer_oc.ts \
../translations/stacer_pl.ts \
../translations/stacer_pt.ts \
../translations/stacer_ru.ts \
../translations/stacer_sv.ts \
../translations/stacer_tr.ts \
../translations/stacer_zh-cn.ts
../translations/stacer_ua.ts \
../translations/stacer_vn.ts \
../translations/stacer_zh-cn.ts \
../translations/stacer_zh-tw.ts

RESOURCES += \
static.qrc
Expand Down
12 changes: 7 additions & 5 deletions stacer/static/languages.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
[
{"value" : "ar", "text": "العربية"},
{"value" : "ca-es", "text": "Català"},
{"value" : "de", "text": "Deutsch"},
{"value" : "en", "text": "English"},
{"value" : "ca-es", "text": "Català"},
{"value" : "en", "text": "English"},
{"value" : "es", "text": "Español"},
{"value" : "fr", "text": "Français"},
{"value" : "hi", "text": "हिंदी"},
{"value" : "hi", "text": "हिंदी"},
{"value" : "it", "text": "Italiano"},
{"value" : "kn", "text": "ಕನ್ನಡ"},
{"value" : "ml", "text": "മലയാളം"},
{"value" : "nl", "text": "Nederlands"},
{"value" : "oc", "text": "Occitan"},
{"value" : "pl", "text": "Polski"},
{"value" : "pt", "text": "Português - Brasil"},
{"value" : "ru", "text": "Русский"},
{"value" : "sv", "text": "Svenska"},
{"value" : "tr", "text": "Türkçe"},
{"value" : "uk", "text": "Українська"},
{"value" : "vi", "text": "Tiếng việt"},
{"value" : "ua", "text": "Українська"},
{"value" : "vn", "text": "Tiếng việt"},
{"value" : "zh-cn", "text": "简体中文"},
{"value" : "zh-tw", "text": "正體中文"}
]
File renamed without changes.
File renamed without changes.

0 comments on commit 4d7ae9e

Please sign in to comment.