Merge pull request #3265 from overleaf/jpa-i18n-drop-html-from-vars

[misc] i18n: drop html from vars

GitOrigin-RevId: 3cf2aa5a70cc8710693c24bd4b65bddcd4ba09e8
This commit is contained in:
Jakob Ackermann
2020-10-31 03:05:46 +00:00
committed by Copybot
parent b99690d365
commit 36f81a93b9
15 changed files with 58 additions and 32 deletions
@@ -13,7 +13,29 @@
localeKey: ['key1', 'key2']
click_here_to_view_sl_in_lng: ['lngName']
*/
const MAPPING = {}
const MAPPING = {
support_lots_of_features: ['help_guides_link'],
nothing_to_install_ready_to_go: ['start_now'],
all_packages_and_templates: ['templatesLink'],
github_merge_failed: ['sharelatex_branch', 'master_branch'],
kb_suggestions_enquiry: ['kbLink'],
sure_you_want_to_restore_before: ['filename'],
you_have_added_x_of_group_size_y: ['addedUsersSize', 'groupSize'],
x_price_per_month: ['price'],
x_price_per_year: ['price'],
x_price_for_first_month: ['price'],
x_price_for_first_year: ['price'],
sure_you_want_to_change_plan: ['planName'],
subscription_canceled_and_terminate_on_x: ['terminateDate'],
next_payment_of_x_collectected_on_y: ['paymentAmmount', 'collectionDate'],
currently_subscribed_to_plan: ['planName'],
recurly_email_update_needed: ['recurlyEmail', 'userEmail'],
change_to_annual_billing_and_save: ['percentage', 'yearlySaving'],
project_ownership_transfer_confirmation_1: ['user', 'project'],
you_introed_high_number: ['numberOfPeople'],
you_introed_small_number: ['numberOfPeople'],
click_here_to_view_sl_in_lng: ['lngName']
}
const { transformLocales } = require('./transformLocales')
@@ -13,7 +13,10 @@
localeKey: ['keyLinkOpen', 'keyLinkClose']
faq_pay_by_invoice_answer: ['payByInvoiceLinkOpen', 'payByInvoiceLinkClose']
*/
const MAPPING = {}
const MAPPING = {
also_provides_free_plan: ['registerLinkOpen', 'registerLinkClose'],
faq_pay_by_invoice_answer: ['payByInvoiceLinkOpen', 'payByInvoiceLinkClose']
}
const { transformLocales } = require('./transformLocales')