v0.248.0: i18n slice 1 release A — apps and settings in English, Hungarian byte-identical (R-556)
gates / gates (push) Successful in 20s
gates / gates (push) Successful in 20s
Ten pages converted against fixtures captured from unconverted templates (6be55a0); marker
coverage test; English page mask narrowed; English retrieval-promise stems; common keys;
title keys and infraMeta from the bundle; old wording tests read the Hungarian expansion.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -114,7 +114,7 @@ func TestSettingsSectionInventory(t *testing.T) {
|
||||
}
|
||||
var union strings.Builder
|
||||
for _, f := range []string{"settings_system.html", "settings_notifications.html", "settings_security.html", "storage.html", "storage_network.html"} {
|
||||
b, err := templateFS.ReadFile("templates/" + f)
|
||||
b, err := huTemplateSource("templates/" + f)
|
||||
if err != nil {
|
||||
t.Fatalf("read %s: %v", f, err)
|
||||
}
|
||||
@@ -224,7 +224,7 @@ func TestStorageNoNativeConfirm(t *testing.T) {
|
||||
// allow the pre-existing type-to-confirm overlay helper names
|
||||
allow := regexp.MustCompile(`openConfirm|__closeConfirm|confirmEject|confirmWipe|typeToConfirm|confirm-`)
|
||||
for _, f := range []string{"storage.html", "storage_network.html", "settings_system.html", "settings_notifications.html", "settings_security.html"} {
|
||||
b, err := templateFS.ReadFile("templates/" + f)
|
||||
b, err := huTemplateSource("templates/" + f)
|
||||
if err != nil {
|
||||
t.Fatalf("read %s: %v", f, err)
|
||||
}
|
||||
@@ -239,7 +239,7 @@ func TestStorageNoNativeConfirm(t *testing.T) {
|
||||
// TestStorageAgentDownNote (D1 Scenario C, static): the enrichment JS has an error path that
|
||||
// renders the exact warn note into #agent-warn-note (graceful degradation when the agent is down).
|
||||
func TestStorageAgentDownNote(t *testing.T) {
|
||||
b, err := templateFS.ReadFile("templates/storage.html")
|
||||
b, err := huTemplateSource("templates/storage.html")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -282,7 +282,7 @@ func TestNoEmojiInTemplates(t *testing.T) {
|
||||
if !strings.HasSuffix(e.Name(), ".html") {
|
||||
continue
|
||||
}
|
||||
b, err := templateFS.ReadFile("templates/" + e.Name())
|
||||
b, err := huTemplateSource("templates/" + e.Name())
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user