Mailing List Archive

[MediaWiki-commits] [Gerrit] Add missing i18n for search region - change (wikimedia/wikimania-scholarships)
BryanDavis has uploaded a new change for review.

https://gerrit.wikimedia.org/r/106460


Change subject: Add missing i18n for search region
......................................................................

Add missing i18n for search region

Bug: 59844
Change-Id: Ia41fdf3984f46abbe4d9183cbee49572c2cc4721
---
M data/i18n/en.json
M data/i18n/qqq.json
M data/templates/review/search.html
3 files changed, 7 insertions(+), 5 deletions(-)


git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships refs/changes/60/106460/1

diff --git a/data/i18n/en.json b/data/i18n/en.json
index 4ba4ac0..95e4761 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -246,5 +246,6 @@
"no-results": "No results found",

"csrf-heading": "Invalid request",
- "csrf-message": "The request that was submitted was missing the request forgery protection token. Please return to the form, reload the page and try again."
+ "csrf-message": "The request that was submitted was missing the request forgery protection token. Please return to the form, reload the page and try again.",
+ "search-region": "Geographic region:"
}
diff --git a/data/i18n/qqq.json b/data/i18n/qqq.json
index 858e23e..b2f0b94 100644
--- a/data/i18n/qqq.json
+++ b/data/i18n/qqq.json
@@ -211,5 +211,6 @@
"page-of-pages": "Paginated report page indicator. Parameters:\n* $1 - current page number\n* $2 - total page count",
"no-results": "Content for report with no results",
"csrf-heading": "Header for cross site request forgery (CSRF) error page",
- "csrf-message": "Cross site request forgery (CSRF) error page body"
-}
\ No newline at end of file
+ "csrf-message": "Cross site request forgery (CSRF) error page body",
+ "search-region": "Input label, followed by text box",
+}
diff --git a/data/templates/review/search.html b/data/templates/review/search.html
index 6b5f255..c4522d9 100644
--- a/data/templates/review/search.html
+++ b/data/templates/review/search.html
@@ -23,8 +23,8 @@
<input type="text" name="r" id="residence" placeholder="{{ wgLang.message( 'form-residence' ) }}" value="{{ r }}">
</div>
<div class="form-group">
- <label class="sr-only" for="region">{{ wgLang.message( 'form-region' ) }}</label>
- <input type="text" name="rg" id="region" placeholder="{{ wgLang.message( 'form-region' ) }}" value="{{ rg }}">
+ <label class="sr-only" for="region">{{ wgLang.message( 'search-region' ) }}</label>
+ <input type="text" name="rg" id="region" placeholder="{{ wgLang.message( 'search-region' ) }}" value="{{ rg }}">
</div>
<div class="form-group">
<input type="submit" class="btn btn-sm btn-primary" value="{{ wgLang.message( 'search' ) }}" />

--
To view, visit https://gerrit.wikimedia.org/r/106460
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia41fdf3984f46abbe4d9183cbee49572c2cc4721
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bdavis@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add missing i18n for search region - change (wikimedia/wikimania-scholarships) [ In reply to ]
jenkins-bot has submitted this change and it was merged.

Change subject: Add missing i18n for search region
......................................................................


Add missing i18n for search region

Bug: 59844
Change-Id: Ia41fdf3984f46abbe4d9183cbee49572c2cc4721
---
M data/i18n/en.json
M data/i18n/qqq.json
M data/templates/review/search.html
3 files changed, 7 insertions(+), 5 deletions(-)

Approvals:
Chad: Looks good to me, but someone else must approve
Siebrand: Looks good to me, approved
jenkins-bot: Verified



diff --git a/data/i18n/en.json b/data/i18n/en.json
index 4ba4ac0..95e4761 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -246,5 +246,6 @@
"no-results": "No results found",

"csrf-heading": "Invalid request",
- "csrf-message": "The request that was submitted was missing the request forgery protection token. Please return to the form, reload the page and try again."
+ "csrf-message": "The request that was submitted was missing the request forgery protection token. Please return to the form, reload the page and try again.",
+ "search-region": "Geographic region:"
}
diff --git a/data/i18n/qqq.json b/data/i18n/qqq.json
index 858e23e..b2f0b94 100644
--- a/data/i18n/qqq.json
+++ b/data/i18n/qqq.json
@@ -211,5 +211,6 @@
"page-of-pages": "Paginated report page indicator. Parameters:\n* $1 - current page number\n* $2 - total page count",
"no-results": "Content for report with no results",
"csrf-heading": "Header for cross site request forgery (CSRF) error page",
- "csrf-message": "Cross site request forgery (CSRF) error page body"
-}
\ No newline at end of file
+ "csrf-message": "Cross site request forgery (CSRF) error page body",
+ "search-region": "Input label, followed by text box",
+}
diff --git a/data/templates/review/search.html b/data/templates/review/search.html
index 6b5f255..c4522d9 100644
--- a/data/templates/review/search.html
+++ b/data/templates/review/search.html
@@ -23,8 +23,8 @@
<input type="text" name="r" id="residence" placeholder="{{ wgLang.message( 'form-residence' ) }}" value="{{ r }}">
</div>
<div class="form-group">
- <label class="sr-only" for="region">{{ wgLang.message( 'form-region' ) }}</label>
- <input type="text" name="rg" id="region" placeholder="{{ wgLang.message( 'form-region' ) }}" value="{{ rg }}">
+ <label class="sr-only" for="region">{{ wgLang.message( 'search-region' ) }}</label>
+ <input type="text" name="rg" id="region" placeholder="{{ wgLang.message( 'search-region' ) }}" value="{{ rg }}">
</div>
<div class="form-group">
<input type="submit" class="btn btn-sm btn-primary" value="{{ wgLang.message( 'search' ) }}" />

--
To view, visit https://gerrit.wikimedia.org/r/106460
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia41fdf3984f46abbe4d9183cbee49572c2cc4721
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bdavis@wikimedia.org>
Gerrit-Reviewer: Chad <chadh@wikimedia.org>
Gerrit-Reviewer: Siebrand <siebrand@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits