From 80257558af202cbfb242cd3ab8ef31511f52aa51 Mon Sep 17 00:00:00 2001 From: Kamil Domanski Date: Sun, 19 Jun 2011 22:15:38 +0200 Subject: [PATCH] admin templates are now translateable --- admin/templates/app.php | 6 +++--- admin/templates/app_noconn.php | 4 ++-- admin/templates/apps.php | 8 ++++---- admin/templates/system.php | 4 ++-- admin/templates/users.php | 28 ++++++++++++++-------------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/admin/templates/app.php b/admin/templates/app.php index 1ea31bdecd..c8989e323c 100644 --- a/admin/templates/app.php +++ b/admin/templates/app.php @@ -6,7 +6,7 @@ $app=$_['app']; ?>

'.$app['typename'].''); ?>
-
+l('datetime', $app["changed"]); ?>
@@ -19,9 +19,9 @@ $app=$_['app']; - +

- read more
'); ?> + '.$l->t( 'read more' ).'
'); ?>
INSTALLt( 'INSTALL' ); ?>
diff --git a/admin/templates/app_noconn.php b/admin/templates/app_noconn.php index 2ca3d15d44..70b7d9b311 100644 --- a/admin/templates/app_noconn.php +++ b/admin/templates/app_noconn.php @@ -3,5 +3,5 @@ * Template for Apps when can't connect to app store */ ?> -

Apps Repository

-

Cannot connect to apps repository

\ No newline at end of file +

t( 'Apps Repository' ); ?>

+

t( 'Cannot connect to apps repository' ); ?>

diff --git a/admin/templates/apps.php b/admin/templates/apps.php index 36a7cd5302..593aad6318 100644 --- a/admin/templates/apps.php +++ b/admin/templates/apps.php @@ -3,15 +3,15 @@ * Template for Apps */ ?> -

Apps Repository

+

t( 'Apps Repository' ); ?>

- - + + @@ -19,7 +19,7 @@ - + diff --git a/admin/templates/system.php b/admin/templates/system.php index 4087b40a48..92ff9c836a 100644 --- a/admin/templates/system.php +++ b/admin/templates/system.php @@ -3,6 +3,6 @@ * Template for admin pages */ ?> -

Administration

-

System Settings

+

t( 'Administration' ); ?>

+

t( 'System Settings' ); ?>

#TBD \ No newline at end of file diff --git a/admin/templates/users.php b/admin/templates/users.php index 235df5bf82..c6ee57a61d 100644 --- a/admin/templates/users.php +++ b/admin/templates/users.php @@ -3,22 +3,22 @@
NameModifiedt( 'Name' ); ?>t( 'Modified' ); ?>
"") { echo(''); } ?> " title="">
'.$app['typename'].''); ?>
l('datetime', $app["changed"]); ?>
- + - + @@ -37,17 +37,17 @@ "> - +
Namet( 'Name' ); ?> Groups
   
removet( 'remove' ); ?>
-

Groups

+

t( 'Groups' ); ?>

- + @@ -55,7 +55,7 @@ - + @@ -65,7 +65,7 @@
Namet( 'Name' ); ?>
- remove + t( 'remove' ); ?>   @@ -91,22 +91,22 @@
- Do you really want to delete user $user? + t( 'Do you really want to delete user' ); ?> $user?
- Do you really want to delete group $group? + t( 'Do you really want to delete group' ); ?> $group?