fix(i18n): rename country labels to '寄出国/到达国' to avoid ambiguity
This commit is contained in:
@@ -123,8 +123,8 @@
|
|||||||
"pc_form.number_hint": "Format: AB-1234567",
|
"pc_form.number_hint": "Format: AB-1234567",
|
||||||
"pc_form.status": "Status",
|
"pc_form.status": "Status",
|
||||||
"pc_form.recipient": "Recipient",
|
"pc_form.recipient": "Recipient",
|
||||||
"pc_form.country": "Country",
|
"pc_form.country_from": "From country",
|
||||||
"pc_form.country_from": "From",
|
"pc_form.country_to": "To country",
|
||||||
"pc_form.send_time": "Sent date",
|
"pc_form.send_time": "Sent date",
|
||||||
"pc_form.arrival_time": "Arrival date",
|
"pc_form.arrival_time": "Arrival date",
|
||||||
"pc_form.sender": "Sender",
|
"pc_form.sender": "Sender",
|
||||||
|
|||||||
@@ -123,8 +123,8 @@
|
|||||||
"pc_form.number_hint": "格式:AB-1234567",
|
"pc_form.number_hint": "格式:AB-1234567",
|
||||||
"pc_form.status": "状态",
|
"pc_form.status": "状态",
|
||||||
"pc_form.recipient": "收件人",
|
"pc_form.recipient": "收件人",
|
||||||
"pc_form.country": "国家/地区",
|
"pc_form.country_from": "寄出国",
|
||||||
"pc_form.country_from": "寄出地",
|
"pc_form.country_to": "到达国",
|
||||||
"pc_form.send_time": "寄出时间",
|
"pc_form.send_time": "寄出时间",
|
||||||
"pc_form.arrival_time": "到达时间",
|
"pc_form.arrival_time": "到达时间",
|
||||||
"pc_form.sender": "发件人",
|
"pc_form.sender": "发件人",
|
||||||
|
|||||||
@@ -26,10 +26,10 @@
|
|||||||
<label>{{ 'pc_form.receive_time'|t(user.language) }} *</label>
|
<label>{{ 'pc_form.receive_time'|t(user.language) }} *</label>
|
||||||
<input type="date" name="receive_time" value="{{ postcard.receive_time.strftime('%Y-%m-%d') if is_edit and postcard.receive_time else today }}">
|
<input type="date" name="receive_time" value="{{ postcard.receive_time.strftime('%Y-%m-%d') if is_edit and postcard.receive_time else today }}">
|
||||||
|
|
||||||
<label>{{ 'pc_form.country_from'|t(user.language) }}</label>
|
<label>{{ 'pc_form.country_to_from'|t(user.language) }}</label>
|
||||||
<input type="text" name="country_from" value="{{ postcard.country_from if is_edit and postcard.country_from else '' }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
<input type="text" name="country_from" value="{{ postcard.country_from if is_edit and postcard.country_from else '' }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||||
|
|
||||||
<label>{{ 'pc_form.country'|t(user.language) }}</label>
|
<label>{{ 'pc_form.country_to'|t(user.language) }}</label>
|
||||||
<input type="text" name="country_to" value="{{ postcard.country_to if is_edit and postcard.country_to else (profile.country if profile else '') }}" maxlength="2" placeholder="JP" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
<input type="text" name="country_to" value="{{ postcard.country_to if is_edit and postcard.country_to else (profile.country if profile else '') }}" maxlength="2" placeholder="JP" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -61,10 +61,10 @@
|
|||||||
<input type="date" name="arrival_time" id="input-arrival" value="{{ postcard.arrival_time.strftime('%Y-%m-%d') if is_edit and postcard.arrival_time else '' }}" {% if is_new or (is_edit and edit_status=='sent') %}disabled{% endif %}>
|
<input type="date" name="arrival_time" id="input-arrival" value="{{ postcard.arrival_time.strftime('%Y-%m-%d') if is_edit and postcard.arrival_time else '' }}" {% if is_new or (is_edit and edit_status=='sent') %}disabled{% endif %}>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label>{{ 'pc_form.country_from'|t(user.language) }}</label>
|
<label>{{ 'pc_form.country_to_from'|t(user.language) }}</label>
|
||||||
<input type="text" name="country_from" value="{{ postcard.country_from if is_edit and postcard.country_from else (profile.country if profile else '') }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
<input type="text" name="country_from" value="{{ postcard.country_from if is_edit and postcard.country_from else (profile.country if profile else '') }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||||
|
|
||||||
<label>{{ 'pc_form.country'|t(user.language) }}</label>
|
<label>{{ 'pc_form.country_to'|t(user.language) }}</label>
|
||||||
<input type="text" name="country_to" value="{{ postcard.country_to if is_edit and postcard.country_to else '' }}" maxlength="2" placeholder="JP" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
<input type="text" name="country_to" value="{{ postcard.country_to if is_edit and postcard.country_to else '' }}" maxlength="2" placeholder="JP" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user