Closed Bug 1530139 Opened 7 years ago Closed 4 years ago

[project config] Resource paths are misleading in projects using project configs

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: flod, Unassigned)

Details

https://pontoon.mozilla.org/ab/common-voice/

The two files listed are

web/locales/en/cross-locale.ftl
web/locales/en/messages.ftl

Setting to major, because I wonder what's going to happen when a localizer there approves something (do we overwrite en-US and mess it up for all other locales).

For the same reason I've also disabled sync for this project

We've switched common-voice to have project config, and I recall a conversation where the l10n resource name was that of the reference locale. M can confrim.

Confirming these are paths to reference files.

Pontoon only stores paths to reference files in the DB (in Resource.path); before using project config that was sufficient, because relative paths to reference files and l10n files had to be the same.

With project config, paths can be different:
https://github.com/mozilla-mobile/focus-android/blob/master/l10n.toml#L108

It would be nice to add TranslatedResource.path for storing l10n paths.

Ugh, didn't think of checking other locales. I've re-enabled sync, and we should change the bug summary at this point.

Summary: Abkhaz (ab) points to English files for Common Voice → Resource paths are misleading in projects using project configs
Severity: major → normal
Priority: -- → P3
Summary: Resource paths are misleading in projects using project configs → [project config] Resource paths are misleading in projects using project configs
*This bug has been moved to GitHub.* *Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.