Skip to content

Commit

Permalink
PP-4124 Fix locales/*.json formatting and add EditorConfig rule to ig…
Browse files Browse the repository at this point in the history
…nore locale files
  • Loading branch information
DanailMinchev committed Oct 1, 2018
1 parent ae83ba8 commit 8b77db6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
24 changes: 17 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,21 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Ignore paths

[**vendor**]
indent_size =
indent_style =
charset =
end_of_line =
insert_final_newline =
trim_trailing_whitespace =
max_line_length =
indent_size = ignore
indent_style = ignore
charset = ignore
end_of_line = ignore
insert_final_newline = ignore
trim_trailing_whitespace = ignore
max_line_length = ignore

[/locales/**]
indent_size = ignore
indent_style = ignore
charset = ignore
end_of_line = ignore
insert_final_newline = ignore
trim_trailing_whitespace = ignore
8 changes: 4 additions & 4 deletions locales/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"email": "E-bost",
"emailHint": "Byddwn yn anfon eich cadarnhad taliad yma",
"emailConfirmation": "Byddwn an anfon e-bost i:",
"corporateCreditCardSurchargeMessage": "Mae ffi o £%s am ddefnyddio cerdyn credyd corfforaethol",
"corporateDebitCardSurchargeMessage": "Mae ffi o £%s am ddefnyddio cerdyn ddebyd corfforaethol"
"corporateCreditCardSurchargeMessage": "Mae ffi o £%s am ddefnyddio cerdyn credyd corfforaethol",
"corporateDebitCardSurchargeMessage": "Mae ffi o £%s am ddefnyddio cerdyn ddebyd corfforaethol"
},
"commonButtons": {
"continueButton": "Parhau",
Expand All @@ -49,8 +49,8 @@
},
"paymentSummary": {
"title": "Crynodeb y taliad",
"amount": "Swm:",
"corporateCardFee": "Ffi cerdyn corfforaethol:",
"amount": "Swm:",
"corporateCardFee": "Ffi cerdyn corfforaethol:",
"totalAmount": "Cyfanswm:"
},
"errorViews": {
Expand Down
8 changes: 4 additions & 4 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"email": "Email",
"emailHint": "We’ll send your payment confirmation here",
"emailConfirmation": "An email will be sent to:",
"corporateCreditCardSurchargeMessage": "There is a fee of £%s for using a corporate credit card",
"corporateDebitCardSurchargeMessage": "There is a fee of £%s for using a corporate debit card"
"corporateCreditCardSurchargeMessage": "There is a fee of £%s for using a corporate credit card",
"corporateDebitCardSurchargeMessage": "There is a fee of £%s for using a corporate debit card"
},
"commonButtons": {
"continueButton": "Continue",
Expand All @@ -49,8 +49,8 @@
},
"paymentSummary": {
"title": "Payment summary",
"amount": "Amount:",
"corporateCardFee": "Corporate card fee:",
"amount": "Amount:",
"corporateCardFee": "Corporate card fee:",
"totalAmount": "Total amount:"
},
"errorViews": {
Expand Down

0 comments on commit 8b77db6

Please sign in to comment.