Opened 3 years ago

Last modified 3 years ago

#4489 closed change

Shorten <fix> translation string variable syntax in CMS — at Version 1

Reported by: juliandoucette Assignee:
Priority: Unknown Milestone:
Module: Sitescripts Keywords:
Cc: kvas, fhd, saroyanm, trev, lisabielik Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by juliandoucette)

Background

We surround all brand names and numbers within translated strings in our CMS with <fix> tags so that they appear as variables within crowdin.

Although this is effective, it is inconvenient because:

  • It requires HTML syntax inside of Markdown
  • It is awkward to type repetitively

What to change

Suggestion 1

Convert all markdown pre tags (created by surrounding text with a single backtick) into translation string variables.

  • because <pre> is almost always semantically incorrect (in favor of <code>, <samp>, <kbd>, etc)
  • because content within <pre> is almost always not translatable

Suggestion 2

Convert all (insert some combination of one or two non-shift characters) into translation string variables.

Notes ===

It would be best not to break backwards compatibility if this change is accepted.

Change History (1)

comment:1 Changed 3 years ago by juliandoucette

  • Description modified (diff)
Note: See TracTickets for help on using tickets.