diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_artist.inc.php | 4 | ||||
-rw-r--r-- | templates/show_edit_catalog.inc.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_artist.inc.php b/templates/show_artist.inc.php index 3bb8ffec..1d6906a6 100644 --- a/templates/show_artist.inc.php +++ b/templates/show_artist.inc.php @@ -19,10 +19,10 @@ */ $web_path = Config::get('web_path'); -$title = _('Albums by') . " " . $artist->full_name; +$title = sprintf(_('Albums by %s'), $artist->full_name); ?> <?php -show_box_top(_(ucfirst($object_type) . 's by') . ' ' . $artist->f_name,'info-box'); +show_box_top(sprintf(ngettext('%s by %s', '%ss by %s', count(ucfirst($object_type))) , ucfirst($object_type) ,$artist->f_name),'info-box'); if (Config::get('ratings')) { ?> <div id="rating_"<?php echo intval($artist->id); ?>"_artist" style="display:inline;"> diff --git a/templates/show_edit_catalog.inc.php b/templates/show_edit_catalog.inc.php index baf9db79..d62d7afb 100644 --- a/templates/show_edit_catalog.inc.php +++ b/templates/show_edit_catalog.inc.php @@ -19,7 +19,7 @@ */ ?> -<?php show_box_top(_('Settings for') . ' ' . $catalog->name . ' (' . $catalog->path . ')'); ?> +<?php show_box_top(sprintf(_('Settings for %s') , $catalog->name . ' (' . $catalog->path . ')')); ?> <form method="post" action="<?php echo Config::get('web_path'); ?>/admin/catalog.php" enctype="multipart/form-data"> <table cellspacing="0" cellpadding="0"> <tr> |