Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 0 additions & 92 deletions bedrock/firefox/templates/firefox/features/pdf-complete-fr.html

This file was deleted.

103 changes: 0 additions & 103 deletions bedrock/firefox/templates/firefox/features/pdf-editor-fr.html

This file was deleted.

88 changes: 0 additions & 88 deletions bedrock/firefox/templates/firefox/features/pdf-free-fr.html

This file was deleted.

14 changes: 0 additions & 14 deletions bedrock/firefox/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,6 @@
),
name="firefox.features.tips",
),
path(
"firefox/features/complete-pdf/",
VariationTemplateView.as_view(
template_name="firefox/features/pdf-complete-fr.html", ftl_files=["firefox/features/shared"], active_locales=["fr"]
),
name="firefox.features.pdf-complete",
),
path(
"firefox/features/free-pdf-editor/",
VariationTemplateView.as_view(
template_name="firefox/features/pdf-free-fr.html", ftl_files=["firefox/features/shared"], active_locales=["fr"]
),
name="firefox.features.pdf-free",
),
path("firefox/ios/testflight/", views.ios_testflight, name="firefox.ios.testflight"),
page("firefox/unsupported-systems/", "firefox/unsupported-systems.html"),
path("firefox/download/thanks/", views.DownloadThanksView.as_view(), name="firefox.download.thanks"),
Expand Down
11 changes: 1 addition & 10 deletions bedrock/firefox/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,20 +994,11 @@ def get_template_names(self):


class firefox_features_pdf(L10nTemplateView):
template_name = "firefox/features/pdf-editor.html"
ftl_files_map = {
"firefox/features/pdf-editor.html": ["firefox/features/pdf-editor-2023", "firefox/features/shared"],
"firefox/features/pdf-editor-fr.html": ["firefox/features/shared"],
}

def get_template_names(self):
locale = l10n_utils.get_locale(self.request)
if locale == "fr":
template_name = "firefox/features/pdf-editor-fr.html"
else:
template_name = "firefox/features/pdf-editor.html"

return [template_name]


class firefox_features_adblocker(L10nTemplateView):
ftl_files_map = {
Expand Down
Loading