taskLinterna Mágica - Tasks: task #11056, Split translations in separate...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #11056: Split translations in separate userscript files

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Mon 04 Apr 2011 09:16:14 AM UTC  
 
Should Start On: Mon 04 Apr 2011 12:00:00 AM UTCShould be Finished on: Mon 18 Apr 2011 12:00:00 AM UTC
Category: Code and framework changesPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Ivaylo Valkov <valkov>Open/Closed: Closed
Planned Release: 0.0.10

Wed 06 Apr 2011 12:03:13 PM UTC, comment #1:

Finished in revision 34.

The @require tag in Greasemonkey is useless. It must be used with path/url to file.

With Greasemonkey (the actual extension) it is not straightforward to make script-to-script communication. The only way to expose data between scripts is trough variables in the page itself.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Mon 04 Apr 2011 09:16:14 AM UTC, original submission:

The current framework makes all translations available to everyone. This increases the size of the userscript file. If new translations are made, the size will increase even more. Most people will not need most of the translations.

Every translation must be in separate file that depends on the main userscript. This will be achieved by using the Greasemonkey @require tag. For browsers that do not support it, code in the main module will have to check for translation objects. It is best to not use code in the translation modules.

Each translation should have property that indicates the direction of the language (RTL/LTR). See bug #32740.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by valkov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Apr 2011 12:03:13 PM UTCvalkovStatusIn Progress=>Done
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1