mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #11709 from overleaf/jpa-cleanup-more-locales
[web] scripts: translations: exclude more places from i18n tracking GitOrigin-RevId: bd2204c59b73638358348c0742cc3b2cb45f248a
This commit is contained in:
parent
ce79f03b87
commit
6811b9085a
2 changed files with 5 additions and 4 deletions
|
@ -1635,8 +1635,6 @@
|
||||||
"x_price_for_first_month": "<0>__price__</0> for your first month",
|
"x_price_for_first_month": "<0>__price__</0> for your first month",
|
||||||
"x_price_for_first_year": "<0>__price__</0> for your first year",
|
"x_price_for_first_year": "<0>__price__</0> for your first year",
|
||||||
"x_price_for_y_months": "<0>__price__</0> for your first __discountMonths__ months",
|
"x_price_for_y_months": "<0>__price__</0> for your first __discountMonths__ months",
|
||||||
"x_price_per_month": "<0>__price__</0> per month",
|
|
||||||
"x_price_per_year": "<0>__price__</0> per year",
|
|
||||||
"year": "year",
|
"year": "year",
|
||||||
"yes_move_me_to_personal_plan": "Yes, move me to the Personal plan",
|
"yes_move_me_to_personal_plan": "Yes, move me to the Personal plan",
|
||||||
"yes_that_is_correct": "Yes, that’s correct",
|
"yes_that_is_correct": "Yes, that’s correct",
|
||||||
|
|
|
@ -26,6 +26,8 @@ async function main() {
|
||||||
// - exclude locales files
|
// - exclude locales files
|
||||||
// - exclude public assets
|
// - exclude public assets
|
||||||
// - exclude third-party dependencies
|
// - exclude third-party dependencies
|
||||||
|
// - exclude scripts
|
||||||
|
// - exclude tests
|
||||||
// - read all the source files
|
// - read all the source files
|
||||||
`
|
`
|
||||||
find . -type f \
|
find . -type f \
|
||||||
|
@ -33,8 +35,9 @@ async function main() {
|
||||||
-not -path './frontend/extracted-translations.json' \
|
-not -path './frontend/extracted-translations.json' \
|
||||||
-not -path './locales/*' \
|
-not -path './locales/*' \
|
||||||
-not -path './public/*' \
|
-not -path './public/*' \
|
||||||
-not -path '*node_modules/*' \
|
-not -path '*/node_modules/*' \
|
||||||
-not -path ./scripts/ukamf/ukfederation-metadata.xml \
|
-not -path '*/scripts/*' \
|
||||||
|
-not -path '*/tests/*' \
|
||||||
| xargs cat
|
| xargs cat
|
||||||
`,
|
`,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue