зеркало из https://github.com/mozilla/bedrock.git
Remove pontoon config
It's not typical for our WNP templates to include special FTL files. The only exceptions are an MDN-focused one and s2d (evergreen default). Removing this all locale logic for now until it's confirmed we want to go ahead with this many pontoon translations.
This commit is contained in:
Родитель
148629c967
Коммит
38872ffec7
|
@ -20,7 +20,7 @@
|
|||
{% set main_title = 'Zoomez sur les fonctionnalités de Firefox' %}
|
||||
{% set main_tagline = 'Naviguez sur Firefox rapidement avec <strong>cmd/ctrl +</strong> et <strong>cmd/ctrl -</strong> pour facilement redimensionner le contenu d’une page web.' %}
|
||||
{% set main_cta = 'Découvrir plus de raccourcis' %}
|
||||
{% elif LANG.startswith('en-') %}
|
||||
{% else %}
|
||||
{% set main_title = 'Zoom in to Firefox functions' %}
|
||||
{% set main_tagline = 'Navigate Firefox quickly and use <strong>cmd/ctrl +</strong> and <strong>cmd/ctrl -</strong> to easily resize content, making it larger or smaller.' %}
|
||||
{% set main_cta = 'Find more shortcuts' %}
|
||||
|
@ -32,27 +32,9 @@
|
|||
<section class="wnp-content-main">
|
||||
<div class="mzp-l-content mzp-t-content-sm">
|
||||
<img width="182" height="69" class="wnp-main-image" src="{{ l10n_img('firefox/wnp-135/shortcuts.svg') }}" alt="">
|
||||
<h1 class="wnp-main-title">
|
||||
{% if main_title %}
|
||||
{{ main_title }}
|
||||
{% else %}
|
||||
{{ ftl('whatsnew-shortcuts-title')}}
|
||||
{% endif %}
|
||||
</h1>
|
||||
<p class="wnp-main-tagline">
|
||||
{% if main_tagline %}
|
||||
{{ main_tagline | safe }}
|
||||
{% else %}
|
||||
{{ ftl('whatsnew-shortcuts-tagline')}}
|
||||
{% endif %}
|
||||
</p>
|
||||
<a class="mzp-c-button mzp-t-product" data-cta-text="Find more shortcuts" href="{{ main_cta_link }}">
|
||||
{% if main_cta %}
|
||||
{{ main_cta }}
|
||||
{% else %}
|
||||
{{ ftl('whatsnew-shortcuts-cta')}}
|
||||
{% endif %}
|
||||
</a>
|
||||
<h1 class="wnp-main-title">{{ main_title }}</h1>
|
||||
<p class="wnp-main-tagline">{{ main_tagline | safe }}</p>
|
||||
<a class="mzp-c-button mzp-t-product" data-cta-text="Find more shortcuts" href="{{ main_cta_link }}">{{ main_cta }}</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -505,7 +505,7 @@ class WhatsnewView(L10nTemplateView):
|
|||
"firefox/whatsnew/whatsnew-fx134-gb.html": ["firefox/whatsnew/whatsnew"],
|
||||
"firefox/whatsnew/whatsnew-fx134-de.html": ["firefox/whatsnew/whatsnew"],
|
||||
"firefox/whatsnew/whatsnew-fx134-fr.html": ["firefox/whatsnew/whatsnew"],
|
||||
"firefox/whatsnew/whatsnew-fx135.html": ["firefox/whatsnew/whatsnew-shortcuts", "firefox/whatsnew/whatsnew"],
|
||||
"firefox/whatsnew/whatsnew-fx135.html": ["firefox/whatsnew/whatsnew"],
|
||||
}
|
||||
|
||||
# specific templates that should not be rendered in
|
||||
|
|
|
@ -369,105 +369,3 @@ locales = [
|
|||
[[paths]]
|
||||
reference = "en/products/vpn/features.ftl"
|
||||
l10n = "{locale}/products/vpn/features.ftl"
|
||||
[[paths]]
|
||||
reference = "en/firefox/whatsnew/whatsnew-shortcuts.ftl"
|
||||
l10n = "{locale}/firefox/whatsnew/whatsnew-shortcuts.ftl"
|
||||
locales = [
|
||||
"ach",
|
||||
"af",
|
||||
"am",
|
||||
"an",
|
||||
"ast",
|
||||
"az",
|
||||
"azz",
|
||||
"be",
|
||||
"bg",
|
||||
"bn",
|
||||
"br",
|
||||
"bs",
|
||||
"ca",
|
||||
"cak",
|
||||
"crh",
|
||||
"cs",
|
||||
"cy",
|
||||
"da",
|
||||
"dsb",
|
||||
"el",
|
||||
"eo",
|
||||
"es-AR",
|
||||
"es-CL",
|
||||
"es-ES",
|
||||
"es-MX",
|
||||
"et",
|
||||
"eu",
|
||||
"fa",
|
||||
"ff",
|
||||
"fi",
|
||||
"fy-NL",
|
||||
"ga-IE",
|
||||
"gd",
|
||||
"gl",
|
||||
"gn",
|
||||
"gu-IN",
|
||||
"he",
|
||||
"hr",
|
||||
"hsb",
|
||||
"hu",
|
||||
"hy-AM",
|
||||
"ia",
|
||||
"is",
|
||||
"it",
|
||||
"ka",
|
||||
"kab",
|
||||
"kk",
|
||||
"km",
|
||||
"kn",
|
||||
"ko",
|
||||
"lij",
|
||||
"lo",
|
||||
"lt",
|
||||
"ltg",
|
||||
"lv",
|
||||
"mk",
|
||||
"ml",
|
||||
"mr",
|
||||
"my",
|
||||
"nb-NO",
|
||||
"ne-NP",
|
||||
"nl",
|
||||
"nn-NO",
|
||||
"oc",
|
||||
"pa-IN",
|
||||
"pl",
|
||||
"pt-BR",
|
||||
"pt-PT",
|
||||
"rm",
|
||||
"ro",
|
||||
"ru",
|
||||
"sco",
|
||||
"scn",
|
||||
"si",
|
||||
"sk",
|
||||
"skr",
|
||||
"sl",
|
||||
"son",
|
||||
"sq",
|
||||
"sr",
|
||||
"sv-SE",
|
||||
"ta",
|
||||
"te",
|
||||
"tg",
|
||||
"th",
|
||||
"tl",
|
||||
"tr",
|
||||
"trs",
|
||||
"uk",
|
||||
"ur",
|
||||
"uz",
|
||||
"vi",
|
||||
"wo",
|
||||
"xh",
|
||||
"zam",
|
||||
"zh-CN",
|
||||
"zh-TW",
|
||||
]
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
### URL: https://www-dev.allizom.org/firefox/135.0/whatsnew/
|
||||
|
||||
whatsnew-shortcuts-title = Zoom in to { -brand-name-firefox } functions
|
||||
# "cmd/ctrl +" and "cmd/ctrl -" are keyboard commands to zoom browser view in or out
|
||||
whatsnew-shortcuts-tagline = Navigate { -brand-name-firefox } quickly and use <strong>cmd/ctrl +</strong> and <strong>cmd/ctrl -</strong> to easily resize content, making it larger or smaller.
|
||||
whatsnew-shortcuts-cta = Find more shortcuts
|
Загрузка…
Ссылка в новой задаче