Skip to content

Commit 01f86a2

Browse files
committed
minor fixes for internationalisation
1 parent 63c7275 commit 01f86a2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

archive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
} elseif (is_tag()) {
3232
printf(
3333
__('Posts Tagged %s', 'multiloquent'),
34-
single_tag_title()
34+
single_cat_title('', false)
3535
);
3636
} elseif (is_day()) {
3737
printf(

home.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
<div class="jumbotron">
1717
<div class="container">
1818
<header>
19-
<h1 class="article_title">Featured Posts</h1>
19+
<h1 class="article_title">
20+
<?php
21+
printf(
22+
__('Featured Posts','multiloquent')
23+
);
24+
?>
25+
</h1>
2026
</header>
2127
</div>
2228
</div>

tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<?php
2121
printf(
2222
__('Posts Tagged %s', 'multiloquent'),
23-
single_tag_title()
23+
single_cat_title('', false)
2424
);
2525
?>
2626
</h1>

0 commit comments

Comments
 (0)