Comments (3)
Hmm. I can find the strings in the pot file though??
from muzika.
They aren't in ngettext format.
#: src/pages/playlist.ts:254
#, c-format
msgid "%d song removed from playlist"
msgstr ""
#: src/pages/playlist.ts:255
#, c-format
msgid "%d songs removed from playlist"
msgstr ""
#. Translators: %s is a song's name
#: src/player/queue.ts:392 src/player/queue.ts:447
#, c-format
msgid "Playing “%s” next"
msgstr ""
#: src/player/queue.ts:448
#, c-format
msgid "Playing %d songs next"
msgstr ""
#: src/player/queue.ts:454
#, c-format
msgid "Added %d songs to queue"
msgstr ""
The code should be something like that
return Gettext.ngettext("%d day ago", "%d days ago", days).format(days);
And pot file should be something like that
#: src/utils.ts:55
#, c-format
msgid "%d day ago"
msgid_plural "%d days ago"
msgstr[0] ""
msgstr[1] ""
from muzika.
Oh you're correct. Thanks, I will try to fix that soon™
from muzika.
Related Issues (20)
- Arch Linux package issue HOT 5
- crash on start with "JS ERROR: Error: Failed to create gtk4paintablesink" HOT 3
- long
- Flatpak won't open HOT 5
- Use a bottom navigation bar on mobile
- Mini Player for desktop
- The nightly link is broken
- I cant install nightly flatpak. Remote Devel-Origin not found HOT 1
- Can't switch between track and video on desktop
- Use separators in PlaylistItemView
- Rework Carousel
- Use single ListView for the search page
- Desktop sidebar panel always showing one item
- Allow playing videos as audio-only HOT 2
- Previous song action annoying behavior HOT 3
- No way to play video on desktop HOT 2
- Mobile artist page too cluttered HOT 1
- Time-synced lyrics gone? HOT 1
- Volume Bar on mobile HOT 1
- Add LrcLib as a lyric provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muzika.