diff --git a/messages/en.json b/messages/en.json index 2feeb86a5..efb8bfa43 100644 --- a/messages/en.json +++ b/messages/en.json @@ -146,6 +146,7 @@ "hosted": "Hosted with $1 on $2.", "hover-to-exclude": "To exclude pages from view, hover over their names and click the ✖", "images": "Images", + "individual-projects": "Individual projects", "info": "Info", "include-subcategories": "Include all subcategories", "invalid-category-url": "Invalid category! Please enter the full wiki URL of the category.", diff --git a/messages/qqq.json b/messages/qqq.json index 8283a8137..a7b747541 100644 --- a/messages/qqq.json +++ b/messages/qqq.json @@ -159,6 +159,7 @@ "hosted": "Footer message about where the tool is hosted. $1 is a heart symbol (meaning 'love'). $2 is the name of the hosting service, for example, 'Tool Labs'.", "hover-to-exclude": "Placeholder in the input of the Topviews application, instructing to hover over entries and click on the X to exclude them from view", "images": "The word 'images'.\n{{Identical|Image}}", + "individual-projects": "Label for the option to view data on individual projects in Siteviews, as opposed to 'All projects'.", "info": "A link to the wiki page information page of the article. This appears in the 'info tiles' on Pageviews Analysis\n{{Identical|Info}}", "invalid-category-url": "Error message saying the user inputted wiki URL is not a valid category (as in the Category namespace).", "invalid-lang-project": "Error message saying the given value is not a valid WMF multilingual project. $1 is the name of the project.", diff --git a/public_html/siteviews/index.php b/public_html/siteviews/index.php index e705841c0..d07fc5c17 100644 --- a/public_html/siteviews/index.php +++ b/public_html/siteviews/index.php @@ -125,10 +125,14 @@
- +
diff --git a/views/siteviews/index.haml b/views/siteviews/index.haml index a13901eb6..094e77a03 100644 --- a/views/siteviews/index.haml +++ b/views/siteviews/index.haml @@ -84,10 +84,12 @@ %option(value="spider") = $I18N->msg( 'spider' ) %div.all-projects-selector - %label Query for: + %label + = $I18N->msg( 'query-for' ) %div.radio %label - %input.all-projects-radio(type="radio" name="all-projects" value="0" checked="checked") Individual projects + %input.all-projects-radio(type="radio" name="all-projects" value="0" checked="checked") + = $I18N->msg( 'individual-projects' ) %div.radio %label %input.all-projects-radio#all-projects(type="radio" name="all-projects" value="1")