Closed Bug 1412808 Opened 7 years ago Closed 7 years ago

Remove the LITERAL helper

Categories

(Localization Infrastructure and Tools :: Fluent Migration, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

Details

Attachments

(1 file)

54 bytes, text/x-github-pull-request
Pike
: review+
Details | Review
Its most common use-case can be fullfilled with a simple FTL.TextElement() because CONCAT is also capable of concatenating TextElements and Placables. Its other use-case (defining a hard-coded value for a Message) is rare and the alternative is not too bad: FTL.Pattern([ FTL.TextElement("Hardcoded value") ]) Its third use-case was in REPLACE as the foreach function. That's already covered by the default value of foreach, however.
Attached file Pull Request
Assignee: nobody → stas
Status: NEW → ASSIGNED
Attachment #8923346 - Flags: review?(l10n)
Attachment #8923346 - Flags: review?(l10n) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
No longer blocks: fluent.migrate
Component: Python Library → Fluent Migration
Product: L20n → Localization Infrastructure and Tools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: