Skip to content

Commit

Permalink
rename kansai-ben past to -ta
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 12, 2024
1 parent bd6f223 commit 8b0fb3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ext/js/language/ja/japanese-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ export const japaneseTransforms = {
i18n: [
{
language: 'ja',
name: '過去形',
name: '~た・かった形',
},
],
rules: [
Expand Down Expand Up @@ -1615,14 +1615,14 @@ export const japaneseTransforms = {
suffixInflection('ゆうて', 'いって', ['-te'], ['-te']),
],
},
'kansai-ben past': {
'kansai-ben -ta': {
name: 'kansai-ben',
description: 'past form of kansai-ben terms',
description: '-ta form of kansai-ben terms',
i18n: [
{
language: 'ja',
name: '関西弁',
description: '過去形 (関西弁)',
description: '~た・かった形 (関西弁)',
},
],
rules: [
Expand Down
12 changes: 6 additions & 6 deletions test/language/japanese-transforms.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import {japaneseTransforms} from '../../ext/js/language/ja/japanese-transforms.js';
import {LanguageTransformer} from '../../ext/js/language/language-transformer.js';
import {testLanguageTransformer} from '../fixtures/language-transformer-test.js';
import { japaneseTransforms } from '../../ext/js/language/ja/japanese-transforms.js';

Check failure on line 19 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space after '{'

Check failure on line 19 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space before '}'
import { LanguageTransformer } from '../../ext/js/language/language-transformer.js';

Check failure on line 20 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space after '{'

Check failure on line 20 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space before '}'
import { testLanguageTransformer } from '../fixtures/language-transformer-test.js';

Check failure on line 21 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space after '{'

Check failure on line 21 in test/language/japanese-transforms.test.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space before '}'

/* eslint-disable @stylistic/no-multi-spaces */
const tests = [
Expand Down Expand Up @@ -1494,9 +1494,9 @@ const tests = [
category: 'past form of kansai-ben terms',
valid: true,
tests: [
{term: '買う', source: '買うた', rule: null, reasons: ['-ta', 'kansai-ben past']},
{term: 'かう', source: 'こうた', rule: null, reasons: ['-ta', 'kansai-ben past']},
{term: 'はう', source: 'ほうた', rule: null, reasons: ['-ta', 'kansai-ben past']},
{term: '買う', source: '買うた', rule: null, reasons: ['-ta', 'kansai-ben -ta']},
{term: 'かう', source: 'こうた', rule: null, reasons: ['-ta', 'kansai-ben -ta']},
{term: 'はう', source: 'ほうた', rule: null, reasons: ['-ta', 'kansai-ben -ta']},
],
},
{
Expand Down

0 comments on commit 8b0fb3d

Please sign in to comment.