ref: refs/heads/master
commit e72f27cf2cc3afb3ee4475e2765b477451ee6fc2
Author: Josef Reidinger
Date: Tue Aug 4 10:20:52 2009 +0200
localize warning if no permissions is available
---
.../app/controllers/system_time_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/systemtime/app/controllers/system_time_controller.rb b/plugins/systemtime/app/controllers/system_time_controller.rb
index 738ec0e..04aa1c1 100644
--- a/plugins/systemtime/app/controllers/system_time_controller.rb
+++ b/plugins/systemtime/app/controllers/system_time_controller.rb
@@ -55,7 +55,7 @@ class SystemTimeController < ApplicationController
end
unless @permissions[:read]
- flash[:warning] = "No permissions for time module"
+ flash[:warning] = _("No permissions for time module")
redirect_to root_path
return false
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org