Bug 1922252 - Rename tbxchannel to tb_l10n and update references. r=dandarnell,aleca

Differential Revision: https://phabricator.services.mozilla.com/D224557

--HG--
rename : python/l10n/tbxchannel/__init__.py => python/l10n/tb_l10n/__init__.py
rename : python/l10n/tbxchannel/l10n_merge.py => python/l10n/tb_l10n/l10n_merge.py
rename : python/l10n/missing_ftl/__init__.py => python/l10n/tb_l10n/missing_ftl.py
rename : python/l10n/tbxchannel/tb_migration_test.py => python/l10n/tb_l10n/tb_migration_test.py
extra : moz-landing-system : lando
This commit is contained in:
Rob Lemley 2024-10-10 22:49:51 +00:00
Родитель 5f1856f4a9
Коммит f0390651ad
9 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -35,14 +35,13 @@ known-first-party = [
"mozrelease",
"mozterm",
"mozversioncontrol",
"mozxchannel",
"tbxchannel",
"gecko_taskgraph",
"buildconfig",
]
known-local-folder = [
"rocboot",
"rocbuild",
"tb_l10n",
"thirdroc",
"comm_taskgraph",
]

Просмотреть файл

@ -25,7 +25,7 @@ GECKO_PATH = COMM_PATH.parent
COMM_PYTHON_L10N = os.path.join(COMM_PATH, "python/l10n")
sys.path.insert(1, COMM_PYTHON_L10N)
from tbxchannel.l10n_merge import (
from tb_l10n.l10n_merge import (
COMM_STRINGS_PATTERNS,
FIREFOX_L10N,
GECKO_STRINGS_PATTERNS,

Просмотреть файл

@ -34,7 +34,7 @@ def tb_add_missing_ftls(command_context, merge, locale):
repositories in favor of creating the files during l10m-repackaging.
This code assumes that mach compare-locales --merge has already run.
"""
from missing_ftl import add_missing_ftls, get_lang_ftls, get_source_ftls
from tb_l10n.missing_ftl import add_missing_ftls, get_lang_ftls, get_source_ftls
print("Checking for missing .ftl files in locale {}".format(locale))
comm_src_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
@ -58,7 +58,7 @@ def run_migration_tests(command_context, test_paths=None, **kwargs):
test_paths = []
command_context.activate_virtualenv()
import tbxchannel.tb_migration_test as fmt
import tb_l10n.tb_migration_test as fmt
rv = 0
with_context = []

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -24,7 +24,7 @@ import mozpack.path as mozpath
from mach.util import get_state_dir
L10N_SOURCE_NAME = "tb-l10n-source"
L10N_SOURCE_REPO = "https://github.com/thunderbird-l10n/thunderbird-l10n-source.git"
L10N_SOURCE_REPO = "https://github.com/thunderbird/thunderbird-l10n-source.git"
PULL_AFTER = timedelta(days=2)

Просмотреть файл

@ -22,7 +22,8 @@ from mozharness.mozilla.l10n.locales import LocalesMixin
from mozpack.archive import create_tar_from_files
from mozpack.copier import FileRegistry
from mozpack.files import FileFinder
from tbxchannel.l10n_merge import COMM_STRINGS_PATTERNS, GECKO_STRINGS_PATTERNS
from tb_l10n.l10n_merge import COMM_STRINGS_PATTERNS, GECKO_STRINGS_PATTERNS
class CommMultiLocale(LocalesMixin, AutomationMixin, VCSMixin, BaseScript):

Просмотреть файл

@ -1173,7 +1173,6 @@ files_changed:
- comm/python/l10n/tb_fluent_migrations/completed/bug_1889422_fluent_migration_chat_properties_files_12_.py
- comm/python/l10n/tb_fluent_migrations/completed/bug_1889422_fluent_migration_chat_properties_files_13_.py
- comm/python/l10n/tb_fluent_migrations/completed/bug_697706_archive_options.py
- comm/python/l10n/tbxchannel/l10n_merge.py
- comm/python/thirdroc/rnp_generated.py
- comm/rust/.cargo/config.toml.in
- comm/rust/Cargo.lock