дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
fix(i18n): translate the Edit Commit Message warning title and allow the var() swatch tooltip (#8057)
textCatalog.test.ts failed on main: the pushed-history warning of Edit Commit Message passed an untranslated "Edit commit message" literal as its title, now the action's catalog title "Edit Commit Message"; and the color gutter's var(--name) = value tooltip is CSS shown as written, now listed in TEMPLATES_AS_WRITTEN.
Цей коміт міститься в:
1 джерело
535f7584ee
коміт
24fdbb54db
2 files changed
+3
-2
No files matched your search
@@ -321,8 +321,8 @@ async function rewordRange(target: Commit): Promise<RewriteRange | null> {
|
||||
};
|
||||
if (await rangeTouchesUpstream(branch, range, repo)) {
|
||||
const ok = await confirmDialog({
|
||||
title: "Edit commit message",
|
||||
message: pushedWarning("Edit commit message", branch),
|
||||
title: "Edit Commit Message",
|
||||
message: pushedWarning("Edit Commit Message", branch),
|
||||
okLabel: "Continue",
|
||||
danger: true,
|
||||
});
|
||||
|
||||
@@ -331,6 +331,7 @@ const COMPLETE_LOCALES = new Set(["zh"]);
|
||||
const TEMPLATES_AS_WRITTEN = new Set<string>([
|
||||
"{name} (#[cfg(test)])", // Rust attribute after a module name
|
||||
"HEAD ({renamedFrom})", // Git revision and a path
|
||||
"var({m}) = {fill}", // a CSS custom property and the color it resolves to
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Заблокувати користувача