Closed Bug 2052044 Opened 22 days ago Closed 9 days ago

Expose the l10n coverage via the `mozILocaleService` interface

Categories

(Core :: Internationalization: Localization, task)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

The goal is to implement these 2 methods:

boolean isLocalizedEnough(in ACString aFtlPath, in ACString aOverridePref, in double aMinCoverage);
boolean areMessagesLocalized(in ACString aFtlPath, in Array<ACString> aRequiredIds, in ACString aOverridePref);
Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
Pushed by amarchesini@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/47c59fd14685 https://hg.mozilla.org/integration/autoland/rev/ea3707c91339 Expose the l10n coverage via the `mozILocaleService` interface r=necko-reviewers,eemeli
Pushed by ctuns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0cdaaad5e264 https://hg.mozilla.org/integration/autoland/rev/445469dff64f Revert "Bug 2052044 - Expose the l10n coverage via the `mozILocaleService` interface r=necko-reviewers,eemeli" for causing xpcshell failures in central on test_localeService_coverage.js

Backed out for causing xpcshell failures in central.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | intl/locale/tests/unit/test_localeService_coverage.js | test_coverage_walks_past_locale_without_coverage - [test_coverage_walks_past_locale_without_coverage : 75] A message missing from de's coverage is not localized (chain walked past ja) - true === false
Flags: needinfo?(amarchesini)
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 154 Branch → ---

Can you share some failures? I don't see any failures in previous treeherder pushes.

Flags: needinfo?(amarchesini) → needinfo?(csabou)
Flags: needinfo?(amarchesini)

Please check comment 4.

Flags: needinfo?(csabou)
Flags: needinfo?(amarchesini)
Pushed by amarchesini@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/040a5202a744 https://hg.mozilla.org/integration/autoland/rev/228ff7e79586 Expose the l10n coverage via the `mozILocaleService` interface r=necko-reviewers,eemeli
Status: REOPENED → RESOLVED
Closed: 12 days ago9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: