Removed the context from the translatable text messages, because that is not necessary anymore.
This commit is contained in:
@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: mia 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-08-06 23:47+0800\n"
|
||||
"PO-Revision-Date: 2020-08-06 01:46+0800\n"
|
||||
"POT-Creation-Date: 2020-08-06 23:59+0800\n"
|
||||
"PO-Revision-Date: 2020-08-07 00:01+0800\n"
|
||||
"Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n"
|
||||
"Language-Team: Traditional Chinese <imacat@mail.imacat.idv.tw>\n"
|
||||
"Language: Traditional Chinese\n"
|
||||
@ -37,112 +37,81 @@ msgid "All Time"
|
||||
msgstr "全部"
|
||||
|
||||
#: mia_core/period.py:583 mia_core/period.py:616
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:60
|
||||
#: mia_core/templatetags/mia_core.py:213
|
||||
msgid "This Month"
|
||||
msgstr "這個月"
|
||||
|
||||
#: mia_core/period.py:624 mia_core/templatetags/mia_core.py:220
|
||||
#: mia_core/period.py:624
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:63
|
||||
#: mia_core/templatetags/mia_core.py:220
|
||||
msgid "Last Month"
|
||||
msgstr "上個月"
|
||||
|
||||
#: mia_core/period.py:639
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:76
|
||||
msgid "This Year"
|
||||
msgstr "今年"
|
||||
|
||||
#: mia_core/period.py:641
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:79
|
||||
msgid "Last Year"
|
||||
msgstr "去年"
|
||||
|
||||
#: mia_core/period.py:656 mia_core/templatetags/mia_core.py:193
|
||||
#: mia_core/period.py:656
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:95
|
||||
#: mia_core/templatetags/mia_core.py:193
|
||||
msgid "Today"
|
||||
msgstr "今天"
|
||||
|
||||
#: mia_core/period.py:658 mia_core/templatetags/mia_core.py:195
|
||||
#: mia_core/period.py:658
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:98
|
||||
#: mia_core/templatetags/mia_core.py:195
|
||||
msgid "Yesterday"
|
||||
msgstr "昨天"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:37
|
||||
msgctxt "Period|"
|
||||
msgid "Choosing Your Period"
|
||||
msgstr "選擇時間區間"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:46
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:45
|
||||
msgid "Month"
|
||||
msgstr "月"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:49
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:48
|
||||
msgid "Year"
|
||||
msgstr "年"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:52
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:51
|
||||
msgid "Day"
|
||||
msgstr "日"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:55
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:54
|
||||
msgid "Custom"
|
||||
msgstr "自訂"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:61
|
||||
msgctxt "Period|"
|
||||
msgid "This Month"
|
||||
msgstr "這個月"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:64
|
||||
msgctxt "Period|"
|
||||
msgid "Last Month"
|
||||
msgstr "上個月"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:67
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:66
|
||||
msgid "Since Last Month"
|
||||
msgstr "上個月至今"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:77
|
||||
msgctxt "Period|"
|
||||
msgid "This Year"
|
||||
msgstr "今年"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:80
|
||||
msgctxt "Period|"
|
||||
msgid "Last Year"
|
||||
msgstr "去年"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:96
|
||||
msgctxt "Period|"
|
||||
msgid "Today"
|
||||
msgstr "今天"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:99
|
||||
msgctxt "Period|"
|
||||
msgid "Yesterday"
|
||||
msgstr "昨天"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:104
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:103
|
||||
msgid "Date:"
|
||||
msgstr "日期:"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:108
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:126
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:107
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:125
|
||||
msgid "Confirm"
|
||||
msgstr "確定"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:114
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:113
|
||||
msgid "All"
|
||||
msgstr "全部"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:118
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:117
|
||||
msgid "From:"
|
||||
msgstr "從:"
|
||||
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:122
|
||||
msgctxt "Period|"
|
||||
#: mia_core/templates/mia_core/include/period-chooser.html:121
|
||||
msgid "To:"
|
||||
msgstr "到:"
|
||||
|
||||
|
@ -34,8 +34,7 @@ First written: 2020/7/10
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
{% trans "Choosing Your Period" context "Period|" as text %}
|
||||
{{ text|force_escape }}
|
||||
{{ _("Choosing Your Period")|force_escape }}
|
||||
</h4>
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
</div>
|
||||
@ -43,28 +42,28 @@ First written: 2020/7/10
|
||||
<!-- Modal body -->
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="nav-item">
|
||||
<span id="period-tab-month" class="period-tab nav-link active">{% trans "Month" context "Period|" as text %}{{ text|force_escape }}</span>
|
||||
<span id="period-tab-month" class="period-tab nav-link active">{{ _("Month")|force_escape }}</span>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<span id="period-tab-year" class="period-tab nav-link">{% trans "Year" context "Period|" as text %}{{ text|force_escape }}</span>
|
||||
<span id="period-tab-year" class="period-tab nav-link">{{ _("Year")|force_escape }}</span>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<span id="period-tab-day" class="period-tab nav-link">{% trans "Day" context "Period|" as text %}{{ text|force_escape }}</span>
|
||||
<span id="period-tab-day" class="period-tab nav-link">{{ _("Day")|force_escape }}</span>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<span id="period-tab-custom" class="period-tab nav-link">{% trans "Custom" context "Period|" as text %}{{ text|force_escape }}</span>
|
||||
<span id="period-tab-custom" class="period-tab nav-link">{{ _("Custom")|force_escape }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="period-content-month" class="period-content modal-body">
|
||||
<div class="period-shortcuts">
|
||||
{% if period.this_month is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.this_month %}">{% trans "This Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.this_month %}">{{ _("This Month")|force_escape }}</a>
|
||||
{% endif %}
|
||||
{% if period.last_month is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.last_month %}">{% trans "Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.last_month %}">{{ _("Last Month")|force_escape }}</a>
|
||||
{% endif %}
|
||||
{% if period.since_last_month is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.since_last_month %}">{% trans "Since Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.since_last_month %}">{{ _("Since Last Month")|force_escape }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if period.has_months_to_choose %}
|
||||
@ -74,10 +73,10 @@ First written: 2020/7/10
|
||||
<div id="period-content-year" class="period-content modal-body d-none">
|
||||
<div class="period-shortcuts">
|
||||
{% if period.this_year is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.this_year %}">{% trans "This Year" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.this_year %}">{{ _("This Year")|force_escape }}</a>
|
||||
{% endif %}
|
||||
{% if period.last_year is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.last_year %}">{% trans "Last Year" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.last_year %}">{{ _("Last Year")|force_escape }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if period.has_years_to_choose %}
|
||||
@ -93,15 +92,15 @@ First written: 2020/7/10
|
||||
<div id="period-content-day" class="period-content modal-body d-none">
|
||||
<div class="period-shortcuts">
|
||||
{% if period.today is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.today %}">{% trans "Today" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.today %}">{{ _("Today")|force_escape }}</a>
|
||||
{% endif %}
|
||||
{% if period.yesterday is not None %}
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.yesterday %}">{% trans "Yesterday" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period period.yesterday %}">{{ _("Yesterday")|force_escape }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if period.has_days_to_choose %}
|
||||
<div>
|
||||
<label for="day-picker">{% trans "Date:" context "Period|" as text %}{{ text|force_escape }}</label>
|
||||
<label for="day-picker">{{ _("Date:")|force_escape }}</label>
|
||||
<input id="day-picker" type="date" value="{{ period.chosen_day }}" min="{{ period.data_start }}" max="{{ period.data_end }}" required="required" />
|
||||
</div>
|
||||
<div>
|
||||
@ -111,15 +110,15 @@ First written: 2020/7/10
|
||||
</div>
|
||||
<div id="period-content-custom" class="period-content modal-body d-none">
|
||||
<div class="period-shortcuts">
|
||||
<a class="btn btn-primary" role="button" href="{% url_period "-" %}">{% trans "All" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||
<a class="btn btn-primary" role="button" href="{% url_period "-" %}">{{ _("All")|force_escape }}</a>
|
||||
</div>
|
||||
{% if period.has_days_to_choose %}
|
||||
<div>
|
||||
<label for="period-start">{% trans "From:" context "Period|" as text %}{{ text|force_escape }}</label>
|
||||
<label for="period-start">{{ _("From:")|force_escape }}</label>
|
||||
<input id="period-start" type="date" value="{{ period.chosen_start }}" min="{{ period.data_start }}" max="{{ period.chosen_end }}" required="required" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="period-end">{% trans "To:" context "Period|" as text %}{{ text|force_escape }}</label>
|
||||
<label for="period-end">{{ _("To:")|force_escape }}</label>
|
||||
<input id="period-end" type="date" value="{{ period.chosen_end }}" min="{{ period.chosen_start }}" max="{{ period.data_end }}" required="required" />
|
||||
</div>
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user