lib/fiona7/workspace.rb in infopark_fiona7-1.5.3.2.0 vs lib/fiona7/workspace.rb in infopark_fiona7-1.5.4.3.0

- old
+ new

@@ -24,11 +24,12 @@ @version_helper = VersionHelper.new(@id) end def title if self.id == :rtc - 'Arbeitskopie' + + self.localized_title else nil end end @@ -72,7 +73,13 @@ end protected attr_reader :version_helper + def localized_title + locale = Scrivito::Configuration.ui_locale || I18n.locale + I18n.t(:"fiona7.workspace.rtc", locale: locale) + rescue + 'Arbeitskopie ' + end end end