Skip to content

Commit c69c2ea

Browse files
CyberShadowdylanwh
authored andcommitted
Bug 1446236 - Allow customizing link to bug writing guidelines
1 parent e1f4934 commit c69c2ea

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

extensions/BMO/template/en/default/bug/create/create-web-bounty.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function validateAndSubmit() {
8888
<input type="hidden" name="token" value="[% token FILTER html %]">
8989

9090
<div class="head_desc">
91-
<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">
91+
<a href="[% terms.BugWritingGuidelinesURL %]">
9292
[% terms.Bug %] writing guidelines</a>
9393
</div>
9494

extensions/BMO/template/en/default/bug/create/user-message.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[% END +%]
1818
[% UNLESS no_bug_guidelines %]
1919
Before reporting a [% terms.bug %], make sure you've read our
20-
<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">
20+
<a href="[% terms.BugWritingGuidelinesURL %]">
2121
[% terms.bug %] writing guidelines</a> and double checked that your [% terms.bug %] hasn't already
2222
been reported. Consult our list of <a href="https://bugzilla.mozilla.org/duplicates.cgi">
2323
most frequently reported [% terms.bugs %]</a> and <a href="https://bugzilla.mozilla.org/query.cgi">

extensions/BMO/template/en/default/pages/bug-writing.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
#%]
88

99
[% PROCESS global/redirect.html.tmpl
10-
url = "https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines"
10+
url = "[% terms.BugWritingGuidelinesURL %]"
1111
%]

extensions/BMO/template/en/default/pages/etiquette.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<h2>See Also</h2>
174174

175175
<p>
176-
<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">The [% terms.Bug %] Writing Guidelines</a>.
176+
<a href="[% terms.BugWritingGuidelinesURL %]">The [% terms.Bug %] Writing Guidelines</a>.
177177
</p>
178178

179179
[% INCLUDE global/footer.html.tmpl %]

extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Product: <b><span id="dupes_product_name">?</span></b>:
356356
<ul>
357357
<li>Please fill out this form clearly, precisely and in as much detail as you can manage.</li>
358358
<li>Please report only a single problem at a time.</li>
359-
<li><a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines" target="_blank" rel="noopener noreferrer">These guidelines</a>
359+
<li><a href="[% terms.BugWritingGuidelinesURL %]" target="_blank" rel="noopener noreferrer">These guidelines</a>
360360
explain how to write effective [% terms.bug %] reports.</li>
361361
</ul>
362362

template/en/default/bug/create/user-message.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
[% PROCESS global/variables.none.tmpl %]
3131

3232
Before reporting [% terms.abug %], please read the
33-
<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">
33+
<a href="[% terms.BugWritingGuidelinesURL %]">
3434
[% terms.bug %] writing guidelines</a>, please look at the list of
3535
<a href="duplicates.cgi">most frequently reported [% terms.bugs %]</a>, and please
3636
<a href="query.cgi">search</a> for the [% terms.bug %].

template/en/default/bug/new_bug.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<h2>Create New [% terms.Bug %]</h2>
2828
<p>
2929
Before reporting a [% terms.bug %], make sure you've read our
30-
<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">
30+
<a href="[% terms.BugWritingGuidelinesURL %]">
3131
[% terms.bug %] writing guidelines</a> and double checked that your [% terms.bug %] hasn't already
3232
been reported. Consult our list of <a href="https://bugzilla.mozilla.org/duplicates.cgi">
3333
most frequently reported [% terms.bugs %]</a> and <a href="https://bugzilla.mozilla.org/query.cgi">

template/en/default/global/variables.none.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"bugs" => "bugs",
3838
"Bugs" => "Bugs",
3939
"zeroSearchResults" => "Zarro Boogs found",
40-
"Bugzilla" => "Bugzilla"
40+
"Bugzilla" => "Bugzilla",
41+
42+
"BugWritingGuidelinesURL" => "https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines",
4143
}
4244
%]
4345

template/en/default/index.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<a href="page.cgi?id=etiquette.html">[%- terms.Bugzilla %] Etiquette</a>
7676
</li>
7777
<li>
78-
| <a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines">[%- terms.Bug %] Writing Guidelines</a>
78+
| <a href="[% terms.BugWritingGuidelinesURL %]">[%- terms.Bug %] Writing Guidelines</a>
7979
</li>
8080
[% Hook.process('additional_links') %]
8181
</ul>

0 commit comments

Comments
 (0)