Projects
Eulaceura:Factory
erlang-erlydtl
_service:obs_scm:erlang-erlydtl-0002-No-such-fu...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:erlang-erlydtl-0002-No-such-function-exported-gettext_compile-write_pret.patch of Package erlang-erlydtl
From: Peter Lemenkov <lemenkov@gmail.com> Date: Thu, 19 May 2016 19:08:13 +0300 Subject: [PATCH] No such function exported gettext_compile:write_pretty/1 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> diff --git a/src/i18n/po_generator.erl b/src/i18n/po_generator.erl index 99f0f6e..0fa61f5 100644 --- a/src/i18n/po_generator.erl +++ b/src/i18n/po_generator.erl @@ -37,9 +37,9 @@ write_entries(Items)-> Fi = gettext_compile:fmt_fileinfo(Finfo), io:format(Fd, "~n#: ~s~n", [Fi]), ok = file:write(Fd, "msgid \"\"\n"), - gettext_compile:write_pretty(Id), + gettext_compile:write_pretty(Id, Fd), ok = file:write(Fd, "msgstr \"\"\n"), - gettext_compile:write_pretty(Translation) + gettext_compile:write_pretty(Translation, Fd) end, lists:foreach(F, Items). @@ -49,9 +49,9 @@ write_fuzzy_entries(Items) -> F = fun({Id,Translation,_}) -> ok = file:write(Fd, "#, fuzzy\n"), ok = file:write(Fd, "msgid \"\"\n"), - gettext_compile:write_pretty(Id), + gettext_compile:write_pretty(Id, Fd), ok = file:write(Fd, "msgstr \"\"\n"), - gettext_compile:write_pretty(Translation), + gettext_compile:write_pretty(Translation, Fd), ok = file:write(Fd, "\n") end, lists:foreach(F, Items).
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2