An open API service indexing awesome lists of open source software.

https://github.com/zbraniecki/convert_xul_to_fluent

Convert XUL+DTD to Fluent
https://github.com/zbraniecki/convert_xul_to_fluent

Last synced: 3 months ago
JSON representation

Convert XUL+DTD to Fluent

Awesome Lists containing this project

README

          

This is an attempt to develop a script that aids Firefox migration to Fluent.

Installing:

```
pip3 install -r requirements.txt
```

Example usage (taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1592043):

```
# If the FTL file doesn't exist yet:
touch ~/Code/mozilla-central/devtools/client/locales/en-US/toolbox.ftl

python3 convert.py --bug_id 1592043 --description "Migrate toolbox options strings from DTD to FTL" --mc ~/Code/mozilla-central --dom devtools/client/framework/toolbox-options.xhtml --dtd devtools/client/locales/en-US/toolbox.dtd --ftl devtools/client/locales/en-US/toolbox.ftl
```