Commit 807071cb authored by Thomas Greiner's avatar Thomas Greiner

Issue 6641 - Fixed: Year in copyright notice was hardcoded

parent 51608208
Pipeline #29676661 passed with stages
in 6 minutes and 21 seconds
......@@ -376,7 +376,7 @@
<!-- About Adblock Plus -->
<div id="dialog-content-about" class="dialog-content">
<p id="abp-version"></p>
<p class="i18n_options_dialog_about_copyright"></p>
<p id="copyright"></p>
<p class="i18n_options_dialog_about_trademark"></p>
<p>
<button class="i18n_options_close primary default-focus" data-action="close-dialog"></button>
......
......@@ -964,6 +964,8 @@ function onDOMLoaded()
{
setElementLinks("enable-acceptable-ads-description", link);
});
setElementText($("#copyright"), "options_dialog_about_copyright",
[new Date().getFullYear()]);
setElementText($("#tracking-warning-1"), "options_tracking_warning_1",
[getMessage("common_feature_privacy_title"),
getMessage("options_acceptableAds_ads_label")]);
......
......@@ -403,7 +403,7 @@
"message": "Copyright © $currentYear$ eyeo GmbH.",
"placeholders": {
"currentYear": {
"content": "2017",
"content": "$1",
"example": "2017"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment