Skip to content

Commit

Permalink
make more strings translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
amit9838 committed Mar 10, 2024
1 parent 366580f commit e36258f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 10 additions & 6 deletions po/mousam.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 1.1.0\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-10 14:30+0530\n"
"POT-Creation-Date: 2024-03-10 23:18+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -287,13 +287,17 @@ msgstr ""
msgid "N"
msgstr ""

#: src/mousam.py:276 src/weatherData.py:120 src/weatherData.py:133
#: src/weatherData.py:142
#: src/mousam.py:260
msgid "Dewpoint"
msgstr ""

#: src/mousam.py:276 src/mousam.py:286 src/weatherData.py:120
#: src/weatherData.py:133 src/weatherData.py:142
msgid "High"
msgstr ""

#: src/mousam.py:277 src/weatherData.py:116 src/weatherData.py:129
#: src/weatherData.py:138
#: src/mousam.py:277 src/mousam.py:287 src/weatherData.py:116
#: src/weatherData.py:129 src/weatherData.py:138
msgid "Low"
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions src/mousam.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_weather(self, reload_type=None, title=""):
main_val=cw_data.relativehumidity_2m.get("data"),
main_val_unit="%",
desc=cw_data.relativehumidity_2m.get("level_str"),
sub_desc_heading="Dewpoint",
sub_desc_heading=_("Dewpoint"),
sub_desc="{0} {1}".format(
cw_data.dewpoint_2m.get("data"), cw_data.dewpoint_2m.get("unit")
),
Expand All @@ -283,8 +283,8 @@ def get_weather(self, reload_type=None, title=""):
title="UV Index",
main_val=cw_data.uv_index.get("data"),
desc=cw_data.uv_index.get("level_str"),
text_up="High",
text_low="Low",
text_up=_("High"),
text_low=_("Low"),
)
widget_grid.attach(card_obj.card, 1, 1, 1, 1)

Expand Down

0 comments on commit e36258f

Please sign in to comment.