mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-22054 converting block name strings to pluginname
AMOS START MOV [blockname,block_tag_flickr],[pluginname,block_tag_flickr] AMOS END
This commit is contained in:
parent
513d33d678
commit
b2fe457ccd
@ -9,7 +9,7 @@ define('DEFAULT_NUMBER_OF_PHOTOS', 6);
|
||||
class block_tag_flickr extends block_base {
|
||||
|
||||
function init() {
|
||||
$this->title = get_string('defaulttile','block_tag_flickr');
|
||||
$this->title = get_string('pluginname','block_tag_flickr');
|
||||
$this->version = 2007101509;
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ class block_tag_flickr extends block_base {
|
||||
}
|
||||
|
||||
function specialization() {
|
||||
$this->title = !empty($this->config->title) ? $this->config->title : get_string('blockname', 'block_tag_flickr');
|
||||
$this->title = !empty($this->config->title) ? $this->config->title : get_string('pluginname', 'block_tag_flickr');
|
||||
}
|
||||
|
||||
function instance_allow_multiple() {
|
||||
|
@ -23,7 +23,6 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['blockname'] = 'Flickr';
|
||||
$string['configtitle'] = 'Title';
|
||||
$string['date-posted-asc'] = 'Date Posted ASC';
|
||||
$string['date-posted-desc'] = 'Date Posted DESC';
|
||||
@ -35,5 +34,6 @@ $string['includerelatedtags'] = 'Include related tags in query';
|
||||
$string['interestingness-asc'] = 'Interestingness ASC';
|
||||
$string['interestingness-desc'] = 'Interestingness DESC';
|
||||
$string['numberofphotos'] = 'Number of photos';
|
||||
$string['pluginname'] = 'Flickr';
|
||||
$string['relevance'] = 'Relevance';
|
||||
$string['sortby'] = 'Sort by';
|
||||
|
Loading…
x
Reference in New Issue
Block a user