![]() |
#1 |
Reader
![]() ![]() Posts: 46
Karma: 162
Join Date: Nov 2010
Location: Hannover
Device: Kindle KB and Kindle Fire HD 8.9
|
Translations in de.po
In the file de.po are translations that do not work in searches.
#: /home/kovid/work/calibre/src/calibre/library/caches.py:397 msgid "thismonth" msgstr "in diesem Monat" #: /home/kovid/work/calibre/src/calibre/library/caches.py:400 #: /home/kovid/work/calibre/src/calibre/library/caches.py:401 msgid "daysago" msgstr "vor Tagen" The search: last_modified:>"in diesem monat" gives no result. Is it possible that in searches no spaces are allowed? in that case it could be changed in: old: in diesem Monat New: diesemMonat old: vor Tagen New: vorTagen ![]() but it's also possible that I do something wrong. ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,916
Karma: 7176769
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
First, you are putting the quote marks in the wrong place. To quote a value in searches, the opening quote goes after the colon, as in last_modified:">in diesem monat"
However, even after doing that the searches won't work. ![]() I have submitted a fix for the capital letter problem. While there, I also added the possibility to use values that are never translated: _today, _yesterday, _daysago, _thismonth. These changes will be available in the next release of calibre. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Reader
![]() ![]() Posts: 46
Karma: 162
Join Date: Nov 2010
Location: Hannover
Device: Kindle KB and Kindle Fire HD 8.9
|
thank you Chaley. (also for the quick response)
![]() |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2013
Device: Kobo
|
A hint on the translations, the possibility of using an underscore and how to find out the exact translated words should go in the manual. They are kind of hard to guess...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Translations - More than one Language? | BearMountainBooks | General Discussions | 15 | 12-19-2010 07:06 AM |
UK-US-OZ translations? | James_Wilde | Writers' Corner | 2 | 12-08-2010 04:49 PM |
Translations | seagull | Upload Help | 0 | 03-01-2010 10:47 AM |
Translations and copyright | Hedonismbot | Reading Recommendations | 2 | 09-01-2009 08:26 AM |
Capek translations | Nate the great | Workshop | 2 | 01-29-2008 05:33 AM |