Skip to content

Commit

Permalink
Change term Artist into Musician
Browse files Browse the repository at this point in the history
  • Loading branch information
Viljami Hirvonen committed Sep 16, 2021
1 parent f08c9ec commit 24fb089
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 20 deletions.
Binary file modified lang/fi.mo
Binary file not shown.
18 changes: 11 additions & 7 deletions lang/fi.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: TMS Theme Filharmonia\n"
"POT-Creation-Date: 2021-09-14 13:22+0300\n"
"PO-Revision-Date: 2021-09-14 13:41+0300\n"
"POT-Creation-Date: 2021-09-16 14:40+0300\n"
"PO-Revision-Date: 2021-09-16 14:41+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fi\n"
Expand All @@ -28,17 +28,17 @@ msgctxt "text direction"
msgid "ltr"
msgstr ""

#: lib/PostType/Artist.php:56
#: lib/PostType/Artist.php:57
msgctxt "theme CPT"
msgid "Artists"
msgstr "Taiteilijat"
msgid "Musicians"
msgstr "Muusikot"

#: lib/PostType/Artist.php:166
#: lib/PostType/Artist.php:165
msgctxt "Breadcrumbs"
msgid "Home"
msgstr "Etusivu"

#: lib/PostType/Artist.php:171
#: lib/PostType/Artist.php:170
msgctxt "Breadcrumb text"
msgid "Orchestra"
msgstr "Orkesteri"
Expand Down Expand Up @@ -144,3 +144,7 @@ msgstr ""
#. Author URI of the plugin/theme
msgid "https://geniem.fi"
msgstr ""

#~ msgctxt "theme CPT"
#~ msgid "Artists"
#~ msgstr "Taiteilijat"
19 changes: 12 additions & 7 deletions lang/tms-theme-filharmonia.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: TMS Theme Filharmonia\n"
"POT-Creation-Date: 2021-09-14 13:11+0300\n"
"POT-Creation-Date: 2021-09-16 14:40+0300\n"
"PO-Revision-Date: 2021-09-14 13:10+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -16,8 +16,8 @@ msgstr ""
"X-Poedit-WPHeader: style.css\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
"X-Poedit-SearchPathExcluded-1: vendor\n"
Expand All @@ -28,21 +28,26 @@ msgctxt "text direction"
msgid "ltr"
msgstr ""

#: lib/PostType/Artist.php:56
#: lib/PostType/Artist.php:57
msgctxt "theme CPT"
msgid "Artists"
msgid "Musicians"
msgstr ""

#: lib/PostType/Artist.php:166
#: lib/PostType/Artist.php:165
msgctxt "Breadcrumbs"
msgid "Home"
msgstr ""

#: lib/PostType/Artist.php:171
#: lib/PostType/Artist.php:170
msgctxt "Breadcrumb text"
msgid "Orchestra"
msgstr ""

#: models/archive-artist.php:72
msgctxt "Archive Title"
msgid "Orchestra"
msgstr ""

#: models/archive-artist.php:83
msgid "Search for artist"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion lib/ACF/ArtistGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct() {
*/
protected function register_fields() : void {
try {
$field_group = ( new Group( 'Taiteilijan lisätiedot' ) )
$field_group = ( new Group( 'Muusikon lisätiedot' ) )
->set_key( 'fg_artist_fields' );

$rule_group = ( new RuleGroup() )
Expand Down
10 changes: 5 additions & 5 deletions lib/PostType/Artist.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Artist implements PostType {
*/
public function __construct() {
$this->url_slug = 'artist';
$this->description = _x( 'Artists', 'theme CPT', 'tms-theme-filharmonia' );
$this->description = _x( 'Musicians', 'theme CPT', 'tms-theme-filharmonia' );
}

/**
Expand Down Expand Up @@ -92,10 +92,10 @@ public function get_post_type() : string {
*/
private function register() {
$labels = [
'name' => 'Taiteilijat',
'singular_name' => 'Taiteilija',
'menu_name' => 'Taiteilijat',
'name_admin_bar' => 'Taiteilijat',
'name' => 'Muusikko',
'singular_name' => 'Muusikko',
'menu_name' => 'Muusikot',
'name_admin_bar' => 'Muusikot',
'archives' => 'Arkistot',
'attributes' => 'Ominaisuudet',
'parent_item_colon' => 'Vanhempi:',
Expand Down

0 comments on commit 24fb089

Please sign in to comment.