Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: templates/info.js.tmpl

Issue 30061555: Noissue - Added info.locale (Closed)
Patch Set: Created Oct. 4, 2019, 11:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « templates/geckoInfo.js.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {# This Source Code Form is subject to the terms of the Mozilla Public
2 License, v. 2.0. If a copy of the MPL was not distributed with this
3 file, You can obtain one at http://mozilla.org/MPL/2.0/. -#}
4
5 "use strict";
6
7 exports.addonName = {{ basename|json }};
8 exports.addonVersion = {{ version|json }};
9
10 exports.locale = browser.i18n.getUILanguage()
11 {#- https://bugzilla.mozilla.org/show_bug.cgi?id=1374552 #}
12 {%- if type == 'gecko' %}.replace("_", "-"){% endif %};
13
14 {% include type + 'Info.js.tmpl' %}
OLDNEW
« no previous file with comments | « templates/geckoInfo.js.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld