jenkins-bot has submitted this change and it was merged. Change subject: Fix typo ......................................................................
Fix typo * Change Eu/Euro to Euro/Ro Change-Id: Ie06b13b46325a88af19210d50733e79827b3bc90 --- M Josa.class.php M Josa.i18n.magic.php M tests/parserTests.txt 3 files changed, 8 insertions(+), 8 deletions(-) Approvals: devunt: Looks good to me, approved jenkins-bot: Verified diff --git a/Josa.class.php b/Josa.class.php index fa85966..91adf1a 100644 --- a/Josa.class.php +++ b/Josa.class.php @@ -13,7 +13,7 @@ 'E/Ga' => array( '이', '가', '이(가)' ), # 곶감이 / 사과가 'Gwa/Wa' => array( '과', '와', '과(와)' ), # 곶감과 / 사과와 'A/Ya' => array( '아', '야', '아(야)' ), # 태준아 / 철수야 - 'Eu/Euro' => array( '으로', '로', '(으)로' ), # 집으로 / 학교로 + 'Euro/Ro' => array( '으로', '로', '(으)로' ), # 집으로 / 학교로 'E/' => array( '이', '', '(이)' ), # 태준이가 / 철수가 ); @@ -49,8 +49,8 @@ $idx = 2; # Not hangul } elseif ( ( $chr - 0xAC00 ) % 28 == 0 ) { $idx = 1; # No trailing consonant - } elseif ( ( $type === 'Eu/Euro' ) && ( ( $chr - 0xAC00 ) % 28 == 8 ) ) { - $idx = 1; # $type is Eu/Euro and trailing consonant is rieul(ㄹ). This is exception on Korean postposition rules. + } elseif ( ( $type === 'Euro/Ro' ) && ( ( $chr - 0xAC00 ) % 28 == 8 ) ) { + $idx = 1; # $type is Euro/Ro and trailing consonant is rieul(ㄹ). This is exception on Korean postposition rules. } else { $idx = 0; # Trailing consonant exists } diff --git a/Josa.i18n.magic.php b/Josa.i18n.magic.php index e56d0ef..9b7421e 100644 --- a/Josa.i18n.magic.php +++ b/Josa.i18n.magic.php @@ -7,7 +7,7 @@ 'E/Ga' => array( 0, 'EGa' ), 'Gwa/Wa' => array( 0, 'GwaWa' ), 'A/Ya' => array( 0, 'AYa' ), - 'Eu/Euro' => array( 0, 'Euro' ), + 'Euro/Ro' => array( 0, 'Euro' ), 'E/' => array( 0, 'E' ), ); @@ -17,6 +17,6 @@ 'E/Ga' => array( 0, '이가' ), 'Gwa/Wa' => array( 0, '과와' ), 'A/Ya' => array( 0, '아야' ), - 'Eu/Euro' => array( 0, '으로' ), + 'Euro/Ro' => array( 0, '으로' ), 'E/' => array( 0, '이' ), ); diff --git a/tests/parserTests.txt b/tests/parserTests.txt index 34d80f9..b89de83 100644 --- a/tests/parserTests.txt +++ b/tests/parserTests.txt @@ -4,7 +4,7 @@ E/Ga Gwa/Wa A/Ya -Eu/Euro +Euro/Ro E/ !! endfunctionhooks @@ -119,7 +119,7 @@ !! end !! test -Josa {{#Eu/Euro:}} -> Euro: Hangul +Josa {{#Euro/Ro:}} -> Euro: Hangul !! options language=ko !! input @@ -130,7 +130,7 @@ !! end !! test -Josa {{#Eu/Euro:}} -> Ro: Hangul +Josa {{#Euro/Ro:}} -> Ro: Hangul !! options language=ko !! input -- To view, visit https://gerrit.wikimedia.org/r/211020 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie06b13b46325a88af19210d50733e79827b3bc90 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Josa Gerrit-Branch: master Gerrit-Owner: devunt <dev...@gmail.com> Gerrit-Reviewer: devunt <dev...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits