Closed Bug 1434998 Opened 2 years ago Closed 2 years ago

python-fluent migrations code should allow for REPLACE elements to be patterns

Categories

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

enhancement
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zbraniecki, Assigned: stas)

References

Details

Spin-off from bug 1424682 comment 29:

> This also won't work because CONCAT returns a Pattern while REPLACE expects the 
> replacement values to be Expressions and wraps them in Placeables.

Seems like we need to make it work for bug 1424682.
https://github.com/projectfluent/python-fluent/commit/3d791a7119f1f80bf3157a1015a9764d1988fa31
Assignee: nobody → stas
Status: NEW → RESOLVED
Closed: 2 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.