Skip to content

Commit d5a9bc7

Browse files
authored
implements methods to be usen when Runtime translation is setted and DoNotTranslateLiterals=y in config.gx (#530)
Issue: 95001
1 parent 70a1d83 commit d5a9bc7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

java/src/main/java/com/genexus/internet/HttpContext.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,16 @@ private synchronized void addCachedLanguageMessage(String language, Messages msg
16211621
cachedMessages.putIfAbsent(language, msg);
16221622
}
16231623

1624+
public int getYearLimit()
1625+
{
1626+
return Application.getClientPreferences().getYEAR_LIMIT();
1627+
}
1628+
1629+
public int getStorageTimezone()
1630+
{
1631+
return Application.getClientPreferences().getStorageTimezonePty();
1632+
}
1633+
16241634
public String getLanguageProperty(String property)
16251635
{
16261636
String _language = getLanguage();

0 commit comments

Comments
 (0)