Skip to content

Commit

Permalink
Generate i18n/sample json
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzeunert committed Feb 2, 2019
1 parent e378523 commit 5bbd284
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4444,8 +4444,6 @@
"i18n": {
"rendererFormattedStrings": {
"auditGroupExpandTooltip": "Show audits",
"codeSnippetCollapseBtnLabel": "Collapse snippet",
"codeSnippetExpandBtnLabel": "Expand snippet",
"crcInitialNavigation": "Initial Navigation",
"crcLongestDurationLabel": "Maximum critical path latency:",
"errorLabel": "Error!",
Expand All @@ -4458,6 +4456,8 @@
"opportunitySavingsColumnLabel": "Estimated Savings",
"passedAuditsGroupTitle": "Passed audits",
"scorescaleLabel": "Score scale:",
"snippetCollapseBtnLabel": "Collapse snippet",
"snippetExpandBtnLabel": "Expand snippet",
"toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:",
"varianceDisclaimer": "Values are estimated and may vary.",
"warningAuditsGroupTitle": "Passed audits but with warnings",
Expand Down
4 changes: 2 additions & 2 deletions proto/lighthouse-result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@ message I18n {
string warning_audits_group_title = 17;

// The label for the button to show all lines of a snippet
string code_snippet_expand_btn_label = 18;
string snippet_expand_btn_label = 18;

// The label for the button to show only a few lines of a snippet
string code_snippet_collapse_btn_label = 19;
string snippet_collapse_btn_label = 19;
}

// The message holding all formatted strings
Expand Down
4 changes: 2 additions & 2 deletions proto/sample_v2_round_trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -3367,8 +3367,6 @@
"i18n": {
"rendererFormattedStrings": {
"auditGroupExpandTooltip": "Show audits",
"codeSnippetCollapseBtnLabel": "Collapse snippet",
"codeSnippetExpandBtnLabel": "Expand snippet",
"crcInitialNavigation": "Initial Navigation",
"crcLongestDurationLabel": "Maximum critical path latency:",
"errorLabel": "Error!",
Expand All @@ -3381,6 +3379,8 @@
"opportunitySavingsColumnLabel": "Estimated Savings",
"passedAuditsGroupTitle": "Passed audits",
"scorescaleLabel": "Score scale:",
"snippetCollapseBtnLabel": "Collapse snippet",
"snippetExpandBtnLabel": "Expand snippet",
"toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:",
"varianceDisclaimer": "Values are estimated and may vary.",
"warningAuditsGroupTitle": "Passed audits but with warnings",
Expand Down

0 comments on commit 5bbd284

Please sign in to comment.