Code Monkey home page Code Monkey logo

Comments (9)

vegerot avatar vegerot commented on July 30, 2024

dibs too

from quick-lint-js.

strager avatar strager commented on July 30, 2024

I'm currently overhauling quick-lint-js' error system. The overhaul will make it easy to add translations, and we could implement --snarky as a translation.

I suggest waiting until I complete the rewrite.

from quick-lint-js.

strager avatar strager commented on July 30, 2024

The error system has been rewritten. We can now build a translation system, and build a snarky translation.

from quick-lint-js.

vegerot avatar vegerot commented on July 30, 2024

Well let me know when you're ready for some writers

from quick-lint-js.

strager avatar strager commented on July 30, 2024

Translation infrastructure was introduced in commit 42db1be. It should be straightforward to create po/[email protected] now.

from quick-lint-js.

strager avatar strager commented on July 30, 2024

If you create po/[email protected], you'd run ./tools/compile-translations and rebuild quick-lint-js, then test by running quick-lint-js' CLI with LANGUAGE=en@snarky.

from quick-lint-js.

strager avatar strager commented on July 30, 2024

I think these steps are necessary to complete this task:

  • Run ./tools/compile-translations to create an en_US@snarky translation.
  • Write some snarky translations.
  • Add code to parse the --snarky option in src/options.cpp and test/test-options.cpp.
  • Add code to set the language to the @snarky variant based on the --snarky option in src/main.cpp or src/translation.cpp or both.

from quick-lint-js.

DaviddHub avatar DaviddHub commented on July 30, 2024

Hello

from quick-lint-js.

strager avatar strager commented on July 30, 2024

Implemented in b624c25. (Thanks, @DaviddHub!)

from quick-lint-js.

Related Issues (20)

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.