l10n 2.0.19

Creates translatable PO-Files, strong orientation to xgettext

0
likes
50 / 110
pub points
78 %
popularity

We analyzed this package on Oct 22, 2020, and awarded it 50 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:57:4

   ╷
57 │ <p><a href="http://l10n4dart.example.mikemitterer.at/">Browser-Example Live-Version</a>
   │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

Links in `CHANGELOG.md` should be secure. 14 links are insecure.

CHANGELOG.md:3:5

  ╷
3 │ <h2><a href="http://github.com/mikemitterer/dart-l10n-gettext/compare/v2.0...HEAD">Unreleased</a></h2>
  │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

10/10 points: 20% or more of the public API has dartdoc comments

  • 70 out of 199 API elements (35.2 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
0 / 30

0/30 points: code has no errors, warnings, lints, or formatting issues

Found 131 issues. Showing the first 2:

ERROR: The name 'MapLiteral' isn't defined, so it can't be used in an 'is' expression.

lib/extractor/L10NMessageExtraction.dart:159:56

    ╷
159 │         if(arguments.length == 2 && arguments.last is! MapLiteral) {
    │                                                        ^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/extractor/L10NMessageExtraction.dart

INFO: Prefer using /// for doc comments.

bin/argparser/Config.dart:3:1

  ╷
3 │ ┌ /**
4 │ │  * Defines default-configurations.
5 │ │  * Most of these configs can be overwritten by commandline args.
6 │ └  */
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/argparser/Config.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
analyzer>=0.32.0 <1.0.00.39.170.40.4
args^1.4.01.6.01.6.0
console_log_handler>=1.1.0 <2.0.01.1.61.1.6
intl^0.15.00.15.80.16.1
intl_translation^0.17.00.17.10+10.17.10+1
logging>=0.11.3 <1.0.00.11.40.11.4
optional^3.0.03.1.05.0.0
path^1.0.01.7.01.7.0
validate^1.0.01.7.01.7.0
where^4.3.04.4.08.0.0
yaml^2.1.02.2.12.2.1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-7.0.011.0.0
ansicolor-1.0.51.0.5
async-2.4.22.4.2
build_cli_annotations-1.2.01.2.0
charcode-1.1.31.1.3
cli_util-0.2.00.2.0
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
csslib-0.16.20.16.2
dart_style-1.3.61.3.8
glob-1.2.01.2.0
html-0.14.0+40.14.0+4
js-0.6.20.6.2
meta-1.2.31.2.3
node_interop-1.1.11.1.1
node_io-1.1.11.1.1
package_config-1.9.31.9.3
pedantic-1.9.21.9.2
petitparser-3.1.03.1.0
pub_semver-1.4.41.4.4
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0
watcher-0.9.7+150.9.7+15

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.15.0` on intl does not support the latest published version `0.16.1`

pubspec.yaml:23:9

   ╷
23 │   intl: ^0.15.0
   │         ^^^^^^^
   ╵
The constraint `^3.0.0` on optional does not support the latest published version `5.0.0`

pubspec.yaml:35:13

   ╷
35 │   optional: ^3.0.0
   │             ^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
50
pub points
78%
popularity

Creates translatable PO-Files, strong orientation to xgettext

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

office@mikemitterer.at

License

Apache 2.0 (LICENSE)

Dependencies

analyzer, args, console_log_handler, intl, intl_translation, logging, optional, path, validate, where, yaml

More

Packages that depend on l10n