Merge pull request #8119 from robulik/develop
[minor] fixes of translatable strings in web pages
This commit is contained in:
commit
214ea8f2c8
@ -4,7 +4,7 @@
|
||||
<div class="col-xs-3">
|
||||
<span class="indicator {{ "red" if doc.address_type=="Office" else "green" if doc.address_type=="Billing" else "blue" if doc.address_type=="Shipping" else "darkgrey" }}">{{ doc.address_title }}</span>
|
||||
</div>
|
||||
<div class="col-xs-2"> {{ doc.address_type }} </div>
|
||||
<div class="col-xs-2"> {{ _(doc.address_type) }} </div>
|
||||
<div class="col-xs-2"> {{ doc.city }} </div>
|
||||
<div class="col-xs-5 text-right small text-muted">
|
||||
{{ frappe.get_doc(doc).get_display() }}
|
||||
|
@ -15,7 +15,7 @@
|
||||
{{ _("Manage Addresses") }}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="h6 text-uppercase">Billing Address</div>
|
||||
<div class="h6 text-uppercase">{{ _("Billing Address") }}</div>
|
||||
<div id="cart-billing-address" class="panel-group"
|
||||
data-fieldname="customer_address">
|
||||
{% for address in billing_addresses %}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% extends "templates/web.html" %}
|
||||
|
||||
{% block title %} {{ "Shopping Cart" }} {% endblock %}
|
||||
{% block title %} {{ _("Shopping Cart") }} {% endblock %}
|
||||
|
||||
{% block header %}<h2>{{ _("My Cart") }}</h2>{% endblock %}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
{% extends "templates/web.html" %}
|
||||
|
||||
{% block title %} {{ "Product Search" }} {% endblock %}
|
||||
{% block title %} {{ _("Product Search") }} {% endblock %}
|
||||
|
||||
{% block header %}<h2>Product Search</h2>{% endblock %}
|
||||
{% block header %}<h2>{{ _("Product Search") }}</h2>{% endblock %}
|
||||
|
||||
{% block page_content %}
|
||||
<script>{% include "templates/includes/product_list.js" %}</script>
|
||||
@ -10,7 +10,7 @@
|
||||
<script>
|
||||
frappe.ready(function() {
|
||||
var txt = get_url_arg("search");
|
||||
$(".search-results").html("Search results for: " + txt);
|
||||
$(".search-results").html("{{ _('Search results for') }}: " + txt);
|
||||
window.search = txt;
|
||||
window.start = 0;
|
||||
window.get_product_list();
|
||||
@ -18,14 +18,14 @@ frappe.ready(function() {
|
||||
</script>
|
||||
|
||||
<div class="product-search-content">
|
||||
<h3 class="search-results">Search Results</h3>
|
||||
<h3 class="search-results">{{ _("Search Results") }}</h3>
|
||||
<div id="search-list" class="row">
|
||||
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<div class="more-btn"
|
||||
style="display: none; text-align: center;">
|
||||
<button class="btn btn-default">More...</button>
|
||||
<button class="btn btn-default">{{ _("More...") }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user