From 362a728f81a296b9c01bb21bfbe4e7a454bb1ba9 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Mon, 22 Jun 2009 03:45:24 +0000 Subject: [PATCH] "MDL-13766, added more language strings for repository api" --- lang/en_utf8/repository.php | 5 ++++- lang/en_utf8/repository_local.php | 1 + repository/boxnet/repository.class.php | 2 +- repository/filepicker.php | 2 +- repository/flickr/repository.class.php | 2 +- repository/flickr_public/repository.class.php | 2 +- repository/local/repository.class.php | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lang/en_utf8/repository.php b/lang/en_utf8/repository.php index 10d23c55d38..d3296d37fe5 100644 --- a/lang/en_utf8/repository.php +++ b/lang/en_utf8/repository.php @@ -1,7 +1,8 @@ '; echo ''; echo ''; - echo ''; + echo ''; } } diff --git a/repository/filepicker.php b/repository/filepicker.php index 45db02d020a..8ed99b8a601 100755 --- a/repository/filepicker.php +++ b/repository/filepicker.php @@ -250,7 +250,7 @@ default: } echo ''; } - echo '
'.get_string('add', 'repository').'
'; + echo '
'.get_string('addfile', 'repository').'
'; print_footer('empty'); break; } diff --git a/repository/flickr/repository.class.php b/repository/flickr/repository.class.php index 0a14a620b4e..1bee4a27bad 100755 --- a/repository/flickr/repository.class.php +++ b/repository/flickr/repository.class.php @@ -133,7 +133,7 @@ class repository_flickr extends repository { $ret['login'] = array($popup_btn); return $ret; } else { - echo 'Login'; + echo ''.get_string('login', 'repository').''; } } diff --git a/repository/flickr_public/repository.class.php b/repository/flickr_public/repository.class.php index 3eda509317a..84a27117a56 100644 --- a/repository/flickr_public/repository.class.php +++ b/repository/flickr_public/repository.class.php @@ -182,7 +182,7 @@ class repository_flickr_public extends repository { echo ''; echo ''; - echo ''; + echo ''; } } diff --git a/repository/local/repository.class.php b/repository/local/repository.class.php index a17c76081d3..d94b03dfa26 100755 --- a/repository/local/repository.class.php +++ b/repository/local/repository.class.php @@ -89,7 +89,7 @@ class repository_local extends repository { $context = get_system_context(); // append draft files directory $node = array( - 'title' => 'Current use files', + 'title' => get_string('currentusefiles', 'repository_local'), 'size' => 0, 'date' => '', 'path' => 'draft',