Diff for "Translations/Specs/UpstreamImportIntoUbuntu/FixingIsImported"

Not logged in - Log In / Register

Differences between revisions 12 and 13
Revision 12 as of 2010-07-30 12:01:07
Size: 2147
Editor: jtv
Comment:
Revision 13 as of 2011-01-12 09:21:53
Size: 3260
Editor: jtv
Comment:
Deletions are marked like this. Additions are marked like this.
Line 51: Line 51:


=== Q/A ===

==== Import and sharing ====

 * OK: Upstream import replaces Ubuntu tracking translation (without Ubuntu-side privileges).
 * OK: Upstream import does not replace Ubuntu non-tracking translation (without Ubuntu-side privileges).
 * OK: Upstream import does not replace Ubuntu non-tracking translation (with Ubuntu-side privileges).
 * '''BAD:''' First upstream import does not replace Ubuntu-only translation.
 * OK: Importing a first translation in Ubuntu without upstream privileges creates a translation in Ubuntu only.
 * OK: Import without upstream privileges updates a non-tracking Ubuntu message, but leaves the upstream-side message alone.
 * OK: Import on Ubuntu without upstream privileges updates a tracking Ubuntu message, but not the upstream message (so that it becomes non-tracking).
 * OK: Import on Ubuntu with upstream privileges updates a tracking message on both sides (so that it continues to track).
 * OK: Import on Ubuntu with upstream privileges updates a non-tracking Ubuntu message, but not the upstream message (so that it continues to be non-tracking).

Fixing is_imported flag to indicate upstream translations

Basically:

  • is_current -> is_current_in_ubuntu

  • is_imported -> is_current_upstream

Implementation

  • (Implemented) 544420 Rename is_current/is_imported flags to is_current_ubuntu/is_current_upstream (cleanup)

  • 564477 Provide isCurrent and makeCurrent methods to hide distinction when needed (convenience)

  • (Implemented) 545100 Rename is_published to from_upstream on TranslationImportQueue (cleanup)

  • (Implemented) 545123 Change 'changed in Launchpad' terminology to be 'changed in Ubuntu'

  • (Implemented) 545365 Remove reference to 'published' uploads from the UI (cleanup)

  • (Implemented) 545070 Change terminology in ExistingPOFileInDatabase (cleanup)

  • updateTranslation cleanup and changes
    • Find exact same translationmessage
    • Privilege checks for updateTranslation replacement calls
    • (Implemented) 546334 Sanitization and validation code into utility

    • (Implemented) 546521 submitSuggestion method

    • 562858 Clearing/unsetting translations

    • (Implemented) Dismiss suggestions
    • (Implemented) setCurrentTranslation

    • Diverge translation
    • Replace updateTranslation calls with calls to new methods
  • 546310 Adapt UI to work with new flags and new semantics for upstream projects

  • 611668 Make getPOTMsgSetsWithNewSuggestions side-aware.

  • 611674 Check for conflicts on import.

  • 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
  • 545354 Enable sharing between templates in products and Ubuntu

Q/A

Import and sharing

  • OK: Upstream import replaces Ubuntu tracking translation (without Ubuntu-side privileges).
  • OK: Upstream import does not replace Ubuntu non-tracking translation (without Ubuntu-side privileges).
  • OK: Upstream import does not replace Ubuntu non-tracking translation (with Ubuntu-side privileges).
  • BAD: First upstream import does not replace Ubuntu-only translation.

  • OK: Importing a first translation in Ubuntu without upstream privileges creates a translation in Ubuntu only.
  • OK: Import without upstream privileges updates a non-tracking Ubuntu message, but leaves the upstream-side message alone.
  • OK: Import on Ubuntu without upstream privileges updates a tracking Ubuntu message, but not the upstream message (so that it becomes non-tracking).
  • OK: Import on Ubuntu with upstream privileges updates a tracking message on both sides (so that it continues to track).
  • OK: Import on Ubuntu with upstream privileges updates a non-tracking Ubuntu message, but not the upstream message (so that it continues to be non-tracking).

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