Giter Site home page Giter Site logo

seeyouspacecorgi / cooklang-obsidian Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cooklang/cooklang-obsidian

1.0 1.0 1.0 1.26 MB

Edit and display CookLang recipes in Obsidian

License: MIT License

JavaScript 8.45% TypeScript 85.57% SCSS 5.98%

cooklang-obsidian's People

Contributors

actions-user avatar deathau avatar seeyouspacecorgi avatar

Stargazers

 avatar

Forkers

savissimo

cooklang-obsidian's Issues

Per-recipe language

The current language is currently being read from Obsidian's metadata, which is fine for most uses. Do you think it would be feasible to apply the localization according to the recipe's own metadata? This way, we could allow for recipes in different languages in the same vault.

A recipe could have something like:

>> language: it

which indicates that that recipe is in Italian, while others keep their own value or the default one.

Timers don't support localized input (Missing text labels)

I've noticed some text labels are not translated. For instance, if I insert a timer with ~{19%minuti} and another one with ~{4%ore}, this is what I get:

image

The timer in hours (4 ore) is ignored for the total time if it's written in Italian, while it's counted if I write ~{4%hours}, which doesn't happen with minuti/minutes - but this is probably out of the scope of this fork - I'm not sure about this.

However, what I wanted to point out is that the timers list uses the values verbatim, but the total time uses its own "hours" and "minutes" labels. Can we translate those ones too? I'll take a look into that if I manage to, but maybe you already know where to look.

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.