mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Got rid of langMap in opds_dumper.cpp
Language code to human friendly name translation is now done with the help of the ICU library. It works if the line ``` -include $(LANGSRCDIR)/resfiles.mk ``` in the file `source/data/Makefile.in` of the icu4c dependency is not commented out. Currently, the said line is commented out (along with some other include's) by the `icu4c_custom_data.patch` patch of the `kiwix-build` tool.
This commit is contained in:
committed by
Matthieu Gautier
parent
8a4248e48e
commit
dd118df612
@ -1043,7 +1043,7 @@ TEST_F(LibraryServerTest, catalog_v2_languages)
|
||||
<content type="text">All entries in English.</content>
|
||||
</entry>
|
||||
<entry>
|
||||
<title>Français</title>
|
||||
<title>français</title>
|
||||
<dc:language>fra</dc:language>
|
||||
<link rel="subsection"
|
||||
href="/catalog/v2/entries?lang=fra"
|
||||
@ -1053,7 +1053,7 @@ TEST_F(LibraryServerTest, catalog_v2_languages)
|
||||
<content type="text">All entries in French.</content>
|
||||
</entry>
|
||||
<entry>
|
||||
<title>Русский</title>
|
||||
<title>русский</title>
|
||||
<dc:language>rus</dc:language>
|
||||
<link rel="subsection"
|
||||
href="/catalog/v2/entries?lang=rus"
|
||||
|
Reference in New Issue
Block a user