diff options
author | Justin Mayer <entroP@gmail.com> | 2016-12-13 10:33:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 10:33:27 -0800 |
commit | b6ab2ad418b634eda366026855be0574703281d7 (patch) | |
tree | 218cfce1037c099a650cbb382b69d50de681f5e8 /pelican-bootstrap3/templates/includes/cc-license.html | |
parent | 30c807519db25e1c9246a6c53b7545b36a2f1895 (diff) | |
parent | db5388e47885b76083ee6a169863b5e718ca1246 (diff) | |
download | pelican-themes-b6ab2ad418b634eda366026855be0574703281d7.tar.gz |
Merge pull request #441 from jranke/i18n
Make pelican-bootstrap3 multilingual
Diffstat (limited to 'pelican-bootstrap3/templates/includes/cc-license.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/cc-license.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pelican-bootstrap3/templates/includes/cc-license.html b/pelican-bootstrap3/templates/includes/cc-license.html index a1592e6..fca507d 100644 --- a/pelican-bootstrap3/templates/includes/cc-license.html +++ b/pelican-bootstrap3/templates/includes/cc-license.html @@ -54,12 +54,12 @@ {% endif %} {% endif %} {% set cc_title, cc_uri, cc_icon = ("Creative Commons AttributionCCSUFFIX 4.0 International License","https://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %} - <a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}"><img alt="Creative Commons License" style="border-width:0" src="{{ cc_icon|replace('CCNAME',cc_name) }}" /></a> + <a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}deed.{{ attr_props['lang'] }}"><img alt="Creative Commons License" style="border-width:0" src="{{ cc_icon|replace('CCNAME',cc_name) }}" /></a> {% if br_after_img %}<br/>{% endif %} {% if attr_markup %} "<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">{{ attr_props['title'] }}</span>" by <a xmlns:cc="http://creativecommons.org/ns#" href="{{ attr_props['url'] }}" property="cc:attributionName" rel="cc:attributionURL">{{ attr_props['name'] }}</a> is {% else %} - Content + {{ _('Content') }} {% endif %} - licensed under a <a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}">{{ cc_title|replace('CCSUFFIX',cc_title_suffix) }}</a>, except where indicated otherwise. + {{ _('licensed under a') }} <a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}deed.{{ attr_props['lang'] }}">{{ cc_title|replace('CCSUFFIX',cc_title_suffix) }}</a>, {{ _('except where indicated otherwise') }}. {% endmacro %} |