Code Monkey home page Code Monkey logo

dart_gettext_parser's People

Contributors

bauerj avatar bigkrp avatar cah4a avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bigkrp bauerj

dart_gettext_parser's Issues

Support null safety

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.

.PO parser fails if Windows newlines (CRLF) are used instead of LF

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.