Skip to content

Comments

feat(i18n): add support for package translations and update scripts for Crowdin integration#273

Draft
MaikoTan wants to merge 1 commit intomainfrom
i18n/pkg-translation-support
Draft

feat(i18n): add support for package translations and update scripts for Crowdin integration#273
MaikoTan wants to merge 1 commit intomainfrom
i18n/pkg-translation-support

Conversation

@MaikoTan
Copy link
Member

This PR adds several scripts to extract localisable text from package.json of each package, so we could ease our localisation process a little

@github-actions
Copy link

PR Health

Build ✅

Details
esbuild: packages/core/src/index.ts -> packages/core/lib/index.js
esbuild: packages/danbooru/src/index.ts -> packages/danbooru/lib/index.js
esbuild: packages/derpibooru/src/index.ts -> packages/derpibooru/lib/index.js
esbuild: packages/e621/src/index.ts -> packages/e621/lib/index.js
esbuild: packages/gelbooru/src/index.ts -> packages/gelbooru/lib/index.js
esbuild: packages/konachan/src/index.ts -> packages/konachan/lib/index.js
esbuild: packages/local/src/index.ts -> packages/local/lib/index.js
esbuild: packages/lolibooru/src/index.ts -> packages/lolibooru/lib/index.js
esbuild: packages/lolicon/src/index.ts -> packages/lolicon/lib/index.js
esbuild: packages/moehu/src/index.ts -> packages/moehu/lib/index.js
esbuild: packages/pixiv/src/index.ts -> packages/pixiv/lib/index.js
esbuild: packages/safebooru/src/index.ts -> packages/safebooru/lib/index.js
esbuild: packages/sankaku/src/index.ts -> packages/sankaku/lib/index.js
esbuild: packages/yande/src/index.ts -> packages/yande/lib/index.js

Lint ❌

Details
/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/danbooru/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/derpibooru/src/index.ts
 2:29  error    Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved
10:3   warning  Useless constructor                                     @typescript-eslint/no-useless-constructor

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/e621/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/gelbooru/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/konachan/src/index.ts
4:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/local/src/index.ts
7:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/lolibooru/src/index.ts
4:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/lolicon/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/moehu/src/index.ts
3:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/pixiv/src/index.ts
9:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/safebooru/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/sankaku/src/index.ts
2:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

/home/runner/work/koishi-plugin-booru/koishi-plugin-booru/packages/yande/src/index.ts
4:29  error  Unable to resolve path to module 'koishi-plugin-booru'  import/no-unresolved

✖ 14 problems (13 errors, 1 warning)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant