{"id":19777488,"url":"https://github.com/ilib-js/ilib-loctool-webos-dart","last_synced_at":"2025-04-30T19:32:36.128Z","repository":{"id":214164521,"uuid":"734631774","full_name":"iLib-js/ilib-loctool-webos-dart","owner":"iLib-js","description":"About Dart file handler plugin for webOS platform loctool","archived":false,"fork":false,"pushed_at":"2024-07-22T00:32:47.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-09-22T06:16:58.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ilib-loctool-webos-dart","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iLib-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-22T07:29:49.000Z","updated_at":"2024-07-22T00:32:49.000Z","dependencies_parsed_at":"2024-01-29T08:42:17.162Z","dependency_job_id":"f5856cd6-ccc7-44ff-98e2-55b1c36ab690","html_url":"https://github.com/iLib-js/ilib-loctool-webos-dart","commit_stats":null,"previous_names":["ilib-js/ilib-loctool-webos-dart"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iLib-js","download_url":"https://codeload.github.com/iLib-js/ilib-loctool-webos-dart/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224222279,"owners_count":17275983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T05:25:16.305Z","updated_at":"2025-04-30T19:32:36.120Z","avatar_url":"https://github.com/iLib-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003e :warning: **Deprecation Notice** :warning:\n\u003e This repository has been deprecated. Please use the corresponding package from the [ilib-mono-webos](https://github.com/iLib-js/ilib-mono-webos) instead.\n\n# ilib-loctool-webos-dart\n\nilib-webos-loctool-dart is a plugin for the loctool that\nallows it to read and localize [Dart](https://docs.fileformat.com/programming/dart/) files. This plugin is optimized for the webOS platform.\n\n### Dart FileType\nThis plugin expects the code uses the [flutter_translate](https://pub.dev/packages/flutter_translate) library.  \n\nHowever, it has some different behavior on webOS.   \nThis is because we are using the `flutter_translate` library with some modifications to meet the needs of webOS.   \n**The key of translation() must not be split by dot(.) symbol.**   \nbecause webOS localization is plain-text based (not text-IDased).  \nThe localization tool doesn't generate resources in nested JSON format except for the case of the plural.\n\nIt extracts string usages used in the examples below by considering them as strings that need to be translated.\n\n```dart\ntranslate(\"High\")\ntranslate(\"High\", key: \"home_connect_210\")\ntranslate(\"{arg1} app cannot be deleted.\", args:{\"arg1\": \"Settings\"})\ntranslate(\"The lowest temperature is {arg1} and the highest temperature is {arg2}.\", args:{\"arg1\": 15, \"arg2\": 30})\n\ntranslatePlural('plural.demo', _counter);\ntranslatePlural('1#At least 1 letter|#At least {num} letters', num);\n```\n\n#### Sample\nThe simple sample is provided in the [ilib-loctool-samples](https://github.com/iLib-js/ilib-loctool-samples) repository.\nPlease check the [webos-dart](https://github.com/iLib-js/ilib-loctool-samples/tree/main/webos-dart) sample to see how the JavaScript file type is localized.\n\n## License\n\nCopyright (c) 2023-2025, JEDLSoft\n\nThis plugin is license under Apache2. See the [LICENSE](./LICENSE)\nfile for more details.\n\n## Release Notes\n\n### v1.1.0\n* Fixed to generate the pseudo localization data correctly.\n* Fixed a bug where strings were not extracted when there were spaces between `}` and `)`.\n\n### v1.0.1\n* Fixed the filename in the `package.json` to publish files correctly.\n\n### v1.0.0\n* initial version","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filib-js%2Filib-loctool-webos-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-dart/lists"}