Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-03-24 10:02:17 +03:00
parent 6be374717a
commit 2b9bcb667e
2 changed files with 27 additions and 1 deletions

View File

@@ -260,6 +260,18 @@ func normalizeBedenLabelGo(v string) string {
// 2⃣ Uppercase
s = strings.ToUpper(s)
// Yas bedenleri: 2Y / 2YAS / 2YAŞ -> 2
for _, suf := range []string{"YAS", "YAŞ", "Y"} {
if strings.HasSuffix(s, suf) {
num := strings.TrimSpace(strings.TrimSuffix(s, suf))
if num != "" {
if _, err := strconv.Atoi(num); err == nil {
return num
}
}
}
}
/* --------------------------------------------------
🔥 AKSBİR ÖZEL (STD eş anlamlıları)
-------------------------------------------------- */