Page MenuHomePhabricator

Provide a rough import/export pathway for translation files in Translatewiki format
ClosedPublic

Authored by epriestley on Nov 6 2016, 9:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 25 2024, 11:09 AM
Unknown Object (File)
Aug 22 2024, 8:17 PM
Unknown Object (File)
Aug 14 2024, 5:12 AM
Unknown Object (File)
Aug 8 2024, 7:15 AM
Unknown Object (File)
Aug 5 2024, 8:29 AM
Unknown Object (File)
Aug 5 2024, 8:00 AM
Unknown Object (File)
Aug 3 2024, 6:23 PM
Unknown Object (File)
Aug 3 2024, 3:38 PM
Subscribers

Details

Summary

Ref T5267. This converts from Phabricator's internal format to Translatewiki's format, and from Translatewiki's format back to Phabricator.

Support isn't perfect, but this should get things started, at least.

Test Plan
  • Exported Phabricator translations.
  • Generated some pirate translations.

Diff Detail

Repository
rTRANSLATEWIKI Translatewiki Bindings
Branch
master
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/management/TranslatewikiManagementGenerateWorkflow.php:337XHP16TODO Comment
Unit
No Test Coverage
Build Status
Buildable 14372
Build 18714: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Provide a rough import/export pathway for translation files in Translatewiki format.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Generate better links to pht() callsites.
chad edited edge metadata.

tldr;

This revision is now accepted and ready to land.Nov 7 2016, 3:48 AM

(I changed PhabricatorHash::digestForIndex() to a more-portable sha1() locally, since this may ease interoperability down the line and the strength/fanciness/length of the hash isn't important.)

This revision was automatically updated to reflect the committed changes.