From f6d8725c968eef5e6e74ecfb8e489fe58a5d24bd Mon Sep 17 00:00:00 2001 From: stathis Date: Wed, 16 Sep 2026 22:26:13 +0300 Subject: [PATCH] fix(mail): add missing Greek language support for mail reply/forward Replying to a message with Greek selected as the interface language was broken: SOGoMailObject+Draft.m builds the reply page class name dynamically as SOGoMailReply and instantiates it via pageWithName:, but no SOGoMailGreekReply class was ever declared in SOGoMailReply.h/.m, even though the Greek.lproj translations and the SOGoMailGreekReply.wo template already existed on disk. Also add SOGoMailGreekForward.wo and SOGoMailGreekReply.wo to Mailer_RESOURCE_FILES in the GNUmakefile. Without this, neither template gets installed into the built bundle, so Greek mail forwarding was silently broken too, despite the SOGoMailGreekForward class already existing in code. Co-Authored-By: Claude Sonnet 5 --- SoObjects/Mailer/GNUmakefile | 2 ++ SoObjects/Mailer/SOGoMailReply.h | 3 +++ SoObjects/Mailer/SOGoMailReply.m | 3 +++ 3 files changed, 8 insertions(+) diff --git a/SoObjects/Mailer/GNUmakefile b/SoObjects/Mailer/GNUmakefile index 2aaf772ec..665a7ca7b 100644 --- a/SoObjects/Mailer/GNUmakefile +++ b/SoObjects/Mailer/GNUmakefile @@ -80,6 +80,8 @@ Mailer_RESOURCE_FILES += \ SOGoMailCroatianReply.wo \ SOGoMailGermanForward.wo \ SOGoMailGermanReply.wo \ + SOGoMailGreekForward.wo \ + SOGoMailGreekReply.wo \ SOGoMailHebrewForward.wo \ SOGoMailHebrewReply.wo \ SOGoMailHungarianForward.wo \ diff --git a/SoObjects/Mailer/SOGoMailReply.h b/SoObjects/Mailer/SOGoMailReply.h index 329902ad1..98583970f 100644 --- a/SoObjects/Mailer/SOGoMailReply.h +++ b/SoObjects/Mailer/SOGoMailReply.h @@ -90,6 +90,9 @@ @interface SOGoMailGermanReply : SOGoMailReply @end +@interface SOGoMailGreekReply : SOGoMailReply +@end + @interface SOGoMailHebrewReply : SOGoMailReply @end diff --git a/SoObjects/Mailer/SOGoMailReply.m b/SoObjects/Mailer/SOGoMailReply.m index 2fcdcbeaf..b4b62062b 100644 --- a/SoObjects/Mailer/SOGoMailReply.m +++ b/SoObjects/Mailer/SOGoMailReply.m @@ -146,6 +146,9 @@ @implementation SOGoMailGermanReply @end +@implementation SOGoMailGreekReply +@end + @implementation SOGoMailHebrewReply @end