Closed
Bug 437341
Opened 16 years ago
Closed 16 years ago
Integrate scripts into Verbatim
Categories
(Webtools Graveyard :: Verbatim, defect, P1)
Webtools Graveyard
Verbatim
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: dschafer)
References
Details
Attachments
(1 file)
3.02 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
We're writing .po translation scripts in some other bugs and we need to figure out how to integrate them into Verbatim. Since these aren't a part of the translate toolkit we'll need to figure out a way to store them separately. Maybe a config variable and Pootle can look into that directory and the translate toolkit directory?
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → dschafer
Status: ASSIGNED → NEW
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•16 years ago
|
Assignee | ||
Comment 1•16 years ago
|
||
As part of this, we need to figure out how to tell Pootle that the PO file being changed was created from a non-PO file, and thus it needs to update the original file with the new translations in the PO. My current plan is to just make sure all of the original files are in the same directory as their PO counterparts, and if a file with the same name but different extension exists, convert the PO to that format. Any thoughts?
Reporter | ||
Comment 2•16 years ago
|
||
Seems like we should store the conversion process on a per-project basis since our scripts take different arguments (.po<->.lang and .amopo<->.po is different). I'd like a default rule for a project type but something we can change if we need to (like if a file isn't named 'messages.po' for instance).
Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
Assignee | ||
Comment 3•16 years ago
|
||
A basic foundation for this was included in revision 7750; see attachment 329573 [details] [diff] [review].
Assignee | ||
Comment 4•16 years ago
|
||
This adds a new option to pootle.prefs for "scripts". Inside the scripts directory are two sub-directories: precommit/ and postcommit/. If {projectname} exists as an executable script in one of those folders, it will be executed at the requisite time: precommmits before the `svn commit`, postcommits after a successful commit.
Attachment #329854 -
Flags: review?(clouserw)
Reporter | ||
Updated•16 years ago
|
Attachment #329854 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 5•16 years ago
|
||
In revision 7770; tentatively marking this FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•