Committer: esavintcev
LJSV-1423: Time of comment is doubled in Russian localisation of some stylesU trunk/bin/upgrading/s2layers/i18nc/ru1.s2
Modified: trunk/bin/upgrading/s2layers/i18nc/ru1.s2 =================================================================== --- trunk/bin/upgrading/s2layers/i18nc/ru1.s2 2011-08-23 09:02:44 UTC (rev 19811) +++ trunk/bin/upgrading/s2layers/i18nc/ru1.s2 2011-08-23 09:15:32 UTC (rev 19812) @@ -200,7 +200,7 @@ var string main_date; if ($this.time_remote) { - $datefmt = ($datefmt->contains("%%a%%m") ? "%%dayord%% %%month%% %%yyyy%%" : $datefmt); + $datefmt = ($datefmt->contains("%%a%%m") or $datefmt->contains("%%min%%") or $datefmt->contains("%%H%%") or $datefmt->contains("%%HH%%") or $datefmt->contains("%%h%%") or $datefmt->contains("%%hh%%") ? "%%dayord%% %%month%% %%yyyy%%" : $datefmt); $main_date = $this.time_remote->date_format($datefmt); $main = $main_date; $main = $main + " " + $this.time_remote->time_format("short") + " (местное)";