Diff for "Translations/Specs/UpstreamImportIntoUbuntu/FixingIsImported"

Not logged in - Log In / Register

Differences between revisions 1 and 2
Revision 1 as of 2010-03-17 16:56:25
Size: 258
Editor: danilo
Comment:
Revision 2 as of 2010-03-25 22:15:21
Size: 1607
Editor: danilo
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
=== Privileges === === Implementation ===
Line 9: Line 9:
Should be simple semantically.   * Rename is_current/is_imported flags to is_current_ubuntu/is_current_upstream (cleanup)
Line 11: Line 11:
More details to be added.   * Rename is_published to from_upstream on TranslationImportQueue (cleanup)

  * Change 'changed in Launchpad' terminology to be 'changed in Ubuntu'

  * Remove reference to 'published' uploads from the UI (cleanup)

  * Change terminology in ExistingPOFileInDatabase (cleanup)

  * updateTranslation cleanup and changes
    * Find exact same translationmessage
    * Privilege checks for updateTranslation replacement calls
    * Sanitization and validation code into utility
    * submitSuggestion
    * Clearing/unsetting translations
    * Dismiss suggestions
    * setUpstream/UbuntuTranslation
    * Diverge translation
    * Replace updateTranslation calls with calls to new methods

  * Adapt UI to work with new flags and new semantics for upstream projects

  * Translations overview pages for projects (statistics update)

  * POFile:+translate filters

  * Privileges for updateTranslation

  * Migration script: set is_current_upstream from is_current_ubuntu flag on upstream projects, clear is_current_ubuntu if there is no link

  * Update message-sharing-merge script for the new semantics

  * Fix up gettext-check-messages script to be symmetric for is_current_upstream and is_current_ubuntu flags

  * Enable sharing between templates in products and Ubuntu

Fixing is_imported flag to indicate upstream translations

Basically:

  • is_current -> is_current_in_ubuntu

  • is_imported -> is_current_upstream

Implementation

  • Rename is_current/is_imported flags to is_current_ubuntu/is_current_upstream (cleanup)
  • Rename is_published to from_upstream on TranslationImportQueue (cleanup)

  • Change 'changed in Launchpad' terminology to be 'changed in Ubuntu'
  • Remove reference to 'published' uploads from the UI (cleanup)
  • Change terminology in ExistingPOFileInDatabase (cleanup)
  • updateTranslation cleanup and changes
    • Find exact same translationmessage
    • Privilege checks for updateTranslation replacement calls
    • Sanitization and validation code into utility
    • submitSuggestion
    • Clearing/unsetting translations
    • Dismiss suggestions
    • setUpstream/UbuntuTranslation
    • Diverge translation
    • Replace updateTranslation calls with calls to new methods
  • Adapt UI to work with new flags and new semantics for upstream projects
  • Translations overview pages for projects (statistics update)
  • POFile:+translate filters

  • Privileges for updateTranslation
  • Migration script: set is_current_upstream from is_current_ubuntu flag on upstream projects, clear is_current_ubuntu if there is no link
  • Update message-sharing-merge script for the new semantics
  • Fix up gettext-check-messages script to be symmetric for is_current_upstream and is_current_ubuntu flags
  • Enable sharing between templates in products and Ubuntu

Translations/Specs/UpstreamImportIntoUbuntu/FixingIsImported (last edited 2011-01-13 17:11:05 by henninge)