Merge branch 'gt-externalize-app-views-instance_statistics' into 'master'

Externalize strings from `/app/views/instance_statistics`

See merge request gitlab-org/gitlab-ce!24809
This commit is contained in:
Fatih Acet 2019-02-04 17:01:31 +00:00
commit 11f9edec0c
6 changed files with 42 additions and 10 deletions

View File

@ -2,12 +2,12 @@
.user-callout{ data: { uid: 'convdev_intro_callout_dismissed' } }
.bordered-box.landing.content-block
%button.btn.btn-default.close.js-close-callout{ type: 'button',
'aria-label' => 'Dismiss ConvDev introduction' }
'aria-label' => _('Dismiss ConvDev introduction') }
= icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
.user-callout-copy
%h4
Introducing Your Conversational Development Index
= _('Introducing Your Conversational Development Index')
%p
Your Conversational Development Index gives an overview of how you are using GitLab from a feature perspective. View how you compare with other organizations, discover features you are not using, and learn best practices through blog posts and white papers.
= _('Your Conversational Development Index gives an overview of how you are using GitLab from a feature perspective. View how you compare with other organizations, discover features you are not using, and learn best practices through blog posts and white papers.')
.svg-container.convdev
= custom_icon('convdev_overview')

View File

@ -9,11 +9,11 @@
.board-card-score
.board-card-score-value
= format_score(card.instance_score)
.board-card-score-name You
.board-card-score-name= _('You')
.board-card-score
.board-card-score-value
= format_score(card.leader_score)
.board-card-score-name Lead
.board-card-score-name= _('Lead')
.board-card-score-big
= number_to_percentage(card.percentage_score, precision: 1)
.board-card-buttons

View File

@ -1,7 +1,7 @@
.container.convdev-empty
.col-sm-12.justify-content-center.text-center
= custom_icon('convdev_no_data')
%h4 Data is still calculating...
%h4= _('Data is still calculating...')
%p
In order to gather accurate feature usage data, it can take 1 to 2 weeks to see your index.
= link_to 'Learn more', help_page_path('user/instance_statistics/convdev'), target: '_blank'
= _('In order to gather accurate feature usage data, it can take 1 to 2 weeks to see your index.')
= link_to _('Learn more'), help_page_path('user/instance_statistics/convdev'), target: '_blank'

View File

@ -17,9 +17,9 @@
%h2.convdev-header-title{ class: "convdev-#{score_level(@metric.average_percentage_score)}-score" }
= number_to_percentage(@metric.average_percentage_score, precision: 1)
.convdev-header-subtitle
index
= _('index')
%br
score
= _('score')
= link_to icon('question-circle', 'aria-hidden' => 'true'), help_page_path('user/instance_statistics/convdev')
.convdev-cards.board-card-container

View File

@ -0,0 +1,5 @@
---
title: Externalize strings from `/app/views/instance_statistics`
merge_request: 24809
author: George Tsiolis
type: other

View File

@ -2426,6 +2426,9 @@ msgstr ""
msgid "DashboardProjects|Personal"
msgstr ""
msgid "Data is still calculating..."
msgstr ""
msgid "Debug"
msgstr ""
@ -2707,6 +2710,9 @@ msgstr ""
msgid "Dismiss"
msgstr ""
msgid "Dismiss ConvDev introduction"
msgstr ""
msgid "Dismiss Cycle Analytics introduction box"
msgstr ""
@ -3837,6 +3843,9 @@ msgstr ""
msgid "In order to enable instance-level analytics, please ask an admin to enable %{usage_ping_link_start}usage ping%{usage_ping_link_end}."
msgstr ""
msgid "In order to gather accurate feature usage data, it can take 1 to 2 weeks to see your index."
msgstr ""
msgid "In the next step, you'll be able to select the projects you want to import."
msgstr ""
@ -3906,6 +3915,9 @@ msgstr ""
msgid "Introducing Cycle Analytics"
msgstr ""
msgid "Introducing Your Conversational Development Index"
msgstr ""
msgid "Invitation"
msgstr ""
@ -4145,6 +4157,9 @@ msgstr ""
msgid "Latest pipeline for this branch"
msgstr ""
msgid "Lead"
msgstr ""
msgid "Learn more"
msgstr ""
@ -8139,6 +8154,9 @@ msgstr ""
msgid "Yesterday"
msgstr ""
msgid "You"
msgstr ""
msgid "You are an admin, which means granting access to <strong>%{client_name}</strong> will allow them to interact with GitLab as an admin as well. Proceed with caution."
msgstr ""
@ -8277,6 +8295,9 @@ msgstr ""
msgid "YouTube"
msgstr ""
msgid "Your Conversational Development Index gives an overview of how you are using GitLab from a feature perspective. View how you compare with other organizations, discover features you are not using, and learn best practices through blog posts and white papers."
msgstr ""
msgid "Your Groups"
msgstr ""
@ -8443,6 +8464,9 @@ msgstr ""
msgid "in project %{link_to_project}"
msgstr ""
msgid "index"
msgstr ""
msgid "issue boards"
msgstr ""
@ -8727,6 +8751,9 @@ msgid_plural "replies"
msgstr[0] ""
msgstr[1] ""
msgid "score"
msgstr ""
msgid "should be higher than %{access} inherited membership from group %{group_name}"
msgstr ""