Skip to content

Commit

Permalink
user interface: translations
Browse files Browse the repository at this point in the history
* NEW Updates the translations.
* FIX Corrects some source strings.
* FIX Corrects template code for translations.
* FIX Ignores the angular builds when extracting messages to translate.
* FIX Adds a favicon for apple touche devices.

Signed-off-by: Igor Milhit <[email protected]>
  • Loading branch information
Igor Milhit committed Mar 12, 2019
1 parent 955ed46 commit 0dfb364
Show file tree
Hide file tree
Showing 16 changed files with 4,825 additions and 5,226 deletions.
1 change: 1 addition & 0 deletions babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ extensions = jinja2.ext.autoescape, jinja2.ext.with_, webassets.ext.jinja2.Asset
silent=false

# Extraction from JavaScript files
[ignore: static/js/rero_ils/admin/**]
[javascript: **.js]
encoding = utf-8
extract_messages = $._, jQuery._
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion rero_ils/static/templates/rero_ils/facets.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-->
<section class="card mb-4" ng-init="tree=[];tree_more=[]" ng-repeat="aggr in orderedAggs track by $index" ng-if="aggr.value.buckets.length">
<div ng-if="aggr.value.buckets.length > 0 && aggr.key !== 'years'">
<a class="card-link {{ aggr.value.expand ? '' : 'collapsed' }}" data-toggle="collapse" data-target="#collapse-{{ aggr.key }}" aria-expanded="true" translate>
<a class="card-link {{ aggr.value.expand ? '' : 'collapsed' }}" data-toggle="collapse" data-target="#collapse-{{ aggr.key }}" aria-expanded="true">
<header class="card-header">
<h6 class="card-title mb-0">{{ aggr.key | translate }}<i class="fa fa-caret-down"></i></h6>
</header>
Expand Down
Loading

0 comments on commit 0dfb364

Please sign in to comment.