Reduce redundancy in age rating translations

This commit is contained in:
Tetrakern 2024-08-19 13:56:02 +02:00
parent 5067f077e9
commit 3120cf6f5a
2 changed files with 10 additions and 50 deletions

View File

@ -1858,10 +1858,10 @@ function fictioneer_render_story_meta_metabox( $post ) {
$post,
'fictioneer_story_rating',
array(
'Everyone' => _x( 'Everyone', 'Story age rating select option.', 'fictioneer' ),
'Teen' => _x( 'Teen', 'Story age rating select option.', 'fictioneer' ),
'Mature' => _x( 'Mature', 'Story age rating select option.', 'fictioneer' ),
'Adult' => _x( 'Adult', 'Story age rating select option.', 'fictioneer' )
'Everyone' => fcntr( 'Everyone' ),
'Teen' => fcntr( 'Teen' ),
'Mature' => fcntr( 'Mature' ),
'Adult' => fcntr( 'Adult' )
),
array(
'label' => _x( 'Age Rating', 'Story age rating meta field label.', 'fictioneer' ),
@ -2623,10 +2623,10 @@ function fictioneer_render_chapter_meta_metabox( $post ) {
'fictioneer_chapter_rating',
array(
'0' => __( '— Unset —', 'fictioneer' ),
'Everyone' => _x( 'Everyone', 'Chapter age rating select option.', 'fictioneer' ),
'Teen' => _x( 'Teen', 'Chapter age rating select option.', 'fictioneer' ),
'Mature' => _x( 'Mature', 'Chapter age rating select option.', 'fictioneer' ),
'Adult' => _x( 'Adult', 'Chapter age rating select option.', 'fictioneer' )
'Everyone' => fcntr( 'Everyone' ),
'Teen' => fcntr( 'Teen' ),
'Mature' => fcntr( 'Mature' ),
'Adult' => fcntr( 'Adult' )
),
array(
'label' => _x( 'Age Rating', 'Chapter age rating meta field label.', 'fictioneer' ),

View File

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Fictioneer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-19 11:21+0000\n"
"POT-Creation-Date: 2024-08-19 11:56+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: \n"
@ -2793,26 +2793,6 @@ msgctxt "Chapter age rating meta field label."
msgid "Age Rating"
msgstr ""
#: includes/functions/_setup-meta-fields.php:2629
msgctxt "Chapter age rating select option."
msgid "Adult"
msgstr ""
#: includes/functions/_setup-meta-fields.php:2626
msgctxt "Chapter age rating select option."
msgid "Everyone"
msgstr ""
#: includes/functions/_setup-meta-fields.php:2628
msgctxt "Chapter age rating select option."
msgid "Mature"
msgstr ""
#: includes/functions/_setup-meta-fields.php:2627
msgctxt "Chapter age rating select option."
msgid "Teen"
msgstr ""
#: includes/functions/_setup-types-and-terms.php:187
msgid "Chapter Archives"
msgstr ""
@ -10116,7 +10096,7 @@ msgstr ""
#: partials/_latest-stories.php:235
#: partials/_latest-recommendations-compact.php:186
#: partials/_latest-stories-compact.php:253 partials/_latest-updates.php:299
#: partials/_latest-stories-compact.php:253 partials/_latest-updates.php:301
#: partials/_latest-updates-compact.php:272
#, php-format
msgctxt "Small card: by {Author} —."
@ -10314,26 +10294,6 @@ msgctxt "Story age rating meta field label."
msgid "Age Rating"
msgstr ""
#: includes/functions/_setup-meta-fields.php:1864
msgctxt "Story age rating select option."
msgid "Adult"
msgstr ""
#: includes/functions/_setup-meta-fields.php:1861
msgctxt "Story age rating select option."
msgid "Everyone"
msgstr ""
#: includes/functions/_setup-meta-fields.php:1863
msgctxt "Story age rating select option."
msgid "Mature"
msgstr ""
#: includes/functions/_setup-meta-fields.php:1862
msgctxt "Story age rating select option."
msgid "Teen"
msgstr ""
#: includes/functions/_setup-types-and-terms.php:118
msgid "Story Archives"
msgstr ""