cah4a / dart_gettext_parser Goto Github PK
View Code? Open in Web Editor NEWPlatform agnostic lib to parse and compile gettext po and mo files with dart
Home Page: https://pub.dartlang.org/packages/gettext_parser
License: MIT License
Platform agnostic lib to parse and compile gettext po and mo files with dart
Home Page: https://pub.dartlang.org/packages/gettext_parser
License: MIT License
This is a request to add support for null safety to package:gettext_parser
.
We depend on your awesome package, so would be great to have null safety enabled.
The Dart/Flutter team already encourages publishing the migrated packages: See this blog post.
See the migration guide for details about enabling null safety.
Trying to import a .PO file with \r\n
makes the parser fail with
package:gettext_parser/src/po/parser.dart 117:5 Node.parse
dart:_internal ListIterable.fold
package:gettext_parser/src/po/parser.dart 7:52 PoParser.parse
package:gettext_parser/gettext_parser.dart 52:19 _Po.parse
FormatException
I'm not sure if the .PO file standard (if there even is one) mandates using \n as newlines but this would be easy enough to solve.
Related: marcglasberg/i18n_extension#65
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.