Skip to content

Commit

Permalink
card-set-create-localizations: use documented grammaticalGender value
Browse files Browse the repository at this point in the history
(not a Spanish translation of "masculine")
  • Loading branch information
ksmurchison committed Jun 21, 2023
1 parent ff7ca3a commit 1c3383c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sub test_card_set_create_localizations
},
speakToAs => {
'@type' => 'SpeakToAs',
grammaticalGender => 'masculino',
grammaticalGender => 'neuter',
pronouns => {
k19 => {
'@type' => 'Pronouns',
Expand Down Expand Up @@ -158,7 +158,7 @@ sub test_card_set_create_localizations
$self->assert_matches(qr/ADR;ALTID=addr1;LANGUAGE=en:;;;Tokyo;;;/, $card);
$self->assert_matches(qr/TITLE;ALTID=t1:Novelista/, $card);
$self->assert_matches(qr/TITLE;ALTID=t1;LANGUAGE=en:Novelist/, $card);
$self->assert_matches(qr/GRAMGENDER:masculino/, $card);
$self->assert_matches(qr/GRAMGENDER:NEUTER/, $card);
$self->assert_matches(qr/GRAMGENDER;LANGUAGE=en:MASCULINE/, $card);
$self->assert_matches(qr/PRONOUNS;ALTID=k19:/, $card);
$self->assert_matches(qr/PRONOUNS;ALTID=k19;LANGUAGE=de:er/, $card);
Expand Down

0 comments on commit 1c3383c

Please sign in to comment.