From a87c959e998034b9cdee170fc0518adaec434dd0 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 6 Sep 2020 16:54:23 +0200 Subject: [PATCH] [meson] Added po/LINGUAS and po/POTFILES --- meson.build | 1 + po/LINGUAS | 1 + po/POTFILES | 631 +++++++++++++++++++++++++++++++++++++++++++++++++ po/meson.build | 8 + 4 files changed, 641 insertions(+) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES create mode 100644 po/meson.build diff --git a/meson.build b/meson.build index 3487032a..daf929e8 100644 --- a/meson.build +++ b/meson.build @@ -748,4 +748,5 @@ configure_file(input : 'config2.h.in', output : 'config.h', configuration : conf_data) +subdir('po') subdir('src') diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..1f4a1145 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +af be bg ca cs da de el es et fi fr gl hr hu id is it ja lt nb nl pl pt_BR pt ro ru sk sr sv tr uk diff --git a/po/POTFILES b/po/POTFILES new file mode 100644 index 00000000..4006788f --- /dev/null +++ b/po/POTFILES @@ -0,0 +1,631 @@ +src/bfu/button.c +src/bfu/button.h +src/bfu/checkbox.c +src/bfu/checkbox.h +src/bfu/common.h +src/bfu/dialog.c +src/bfu/dialog.h +src/bfu/group.c +src/bfu/group.h +src/bfu/hierbox.c +src/bfu/hierbox.h +src/bfu/hotkey.c +src/bfu/hotkey.h +src/bfu/inpfield.c +src/bfu/inpfield.h +src/bfu/inphist.c +src/bfu/inphist.h +src/bfu/leds.c +src/bfu/leds.h +src/bfu/listbox.c +src/bfu/listbox.h +src/bfu/listmenu.c +src/bfu/listmenu.h +src/bfu/menu.c +src/bfu/menu.h +src/bfu/msgbox.c +src/bfu/msgbox.h +src/bfu/style.c +src/bfu/style.h +src/bfu/text.c +src/bfu/text.h +src/bfu/widget.c +src/bfu/widget.h +src/bookmarks/backend/common.c +src/bookmarks/backend/common.h +src/bookmarks/backend/default.c +src/bookmarks/backend/default.h +src/bookmarks/backend/xbel.c +src/bookmarks/backend/xbel.h +src/bookmarks/bookmarks.c +src/bookmarks/bookmarks.h +src/bookmarks/dialogs.c +src/bookmarks/dialogs.h +src/cache/cache.c +src/cache/cache.h +src/cache/dialogs.c +src/cache/dialogs.h +src/config/actions-edit.inc +src/config/actions-main.inc +src/config/actions-menu.inc +src/config/cmdline.c +src/config/cmdline.h +src/config/conf.c +src/config/conf.h +src/config/dialogs.c +src/config/dialogs.h +src/config/domain.c +src/config/domain.h +src/config/home.c +src/config/home.h +src/config/kbdbind.c +src/config/kbdbind.h +src/config/options.c +src/config/options.h +src/config/options.inc +src/config/opttypes.c +src/config/opttypes.h +src/config/timer.c +src/config/timer.h +src/config/urlhist.c +src/config/urlhist.h +src/cookies/cookies-t.c +src/cookies/cookies.c +src/cookies/cookies.h +src/cookies/dialogs.c +src/cookies/dialogs.h +src/cookies/parser.c +src/cookies/parser.h +src/cookies/parsetst.c +src/cookies/path.c +src/cookies/path.h +src/dialogs/document.c +src/dialogs/document.h +src/dialogs/download.c +src/dialogs/download.h +src/dialogs/edit.c +src/dialogs/edit.h +src/dialogs/exmode.c +src/dialogs/exmode.h +src/dialogs/info.c +src/dialogs/info.h +src/dialogs/menu.c +src/dialogs/menu.h +src/dialogs/options.c +src/dialogs/options.h +src/dialogs/progress.c +src/dialogs/progress.h +src/dialogs/status.c +src/dialogs/status.h +src/document/css/apply.c +src/document/css/apply.h +src/document/css/css.c +src/document/css/css.h +src/document/css/parser.c +src/document/css/parser.h +src/document/css/property.c +src/document/css/property.h +src/document/css/scanner.c +src/document/css/scanner.h +src/document/css/stylesheet.c +src/document/css/stylesheet.h +src/document/css/value.c +src/document/css/value.h +src/document/docdata.c +src/document/docdata.h +src/document/document.c +src/document/document.h +src/document/dom/renderer.c +src/document/dom/renderer.h +src/document/dom/rss.c +src/document/dom/rss.h +src/document/dom/source.c +src/document/dom/source.h +src/document/dom/util.c +src/document/dom/util.h +src/document/format.c +src/document/format.h +src/document/forms.c +src/document/forms.h +src/document/html/frames.c +src/document/html/frames.h +src/document/html/internal.h +src/document/html/parse-meta-refresh.c +src/document/html/parse-meta-refresh.h +src/document/html/parser.c +src/document/html/parser.h +src/document/html/parser/forms.c +src/document/html/parser/forms.h +src/document/html/parser/general.c +src/document/html/parser/general.h +src/document/html/parser/link.c +src/document/html/parser/link.h +src/document/html/parser/parse.c +src/document/html/parser/parse.h +src/document/html/parser/stack.c +src/document/html/parser/stack.h +src/document/html/parser/table.c +src/document/html/parser/table.h +src/document/html/renderer.c +src/document/html/renderer.h +src/document/html/tables.c +src/document/html/tables.h +src/document/html/test/parse-meta-refresh-test.c +src/document/html/test/test-parse-meta-refresh +src/document/libdom/renderer.c +src/document/libdom/renderer.h +src/document/options.c +src/document/options.h +src/document/plain/renderer.c +src/document/plain/renderer.h +src/document/refresh.c +src/document/refresh.h +src/document/renderer.c +src/document/renderer.h +src/document/view.h +src/dom/code.h +src/dom/configuration.c +src/dom/configuration.h +src/dom/css/scanner.c +src/dom/css/scanner.h +src/dom/node.c +src/dom/node.h +src/dom/scanner.c +src/dom/scanner.h +src/dom/select.c +src/dom/select.h +src/dom/sgml/docbook/attribute.inc +src/dom/sgml/docbook/docbook.c +src/dom/sgml/docbook/docbook.h +src/dom/sgml/docbook/element.inc +src/dom/sgml/dump.c +src/dom/sgml/dump.h +src/dom/sgml/html/attribute.inc +src/dom/sgml/html/element.inc +src/dom/sgml/html/html.c +src/dom/sgml/html/html.h +src/dom/sgml/parser.c +src/dom/sgml/parser.h +src/dom/sgml/rss/attribute.inc +src/dom/sgml/rss/element.inc +src/dom/sgml/rss/rss.c +src/dom/sgml/rss/rss.h +src/dom/sgml/scanner.c +src/dom/sgml/scanner.h +src/dom/sgml/sgml.c +src/dom/sgml/sgml.h +src/dom/sgml/xbel/attribute.inc +src/dom/sgml/xbel/element.inc +src/dom/sgml/xbel/xbel.c +src/dom/sgml/xbel/xbel.h +src/dom/stack.c +src/dom/stack.h +src/dom/string.h +src/dom/test/dom-select.c +src/dom/test/html-mangle.c +src/dom/test/sgml-parser.c +src/dom/test/test-dom-configuration-basic +src/dom/test/test-sgml-dump-basic +src/dom/test/test-sgml-parser-basic +src/ecmascript/ecmascript.c +src/ecmascript/ecmascript.h +src/ecmascript/spidermonkey-shared.c +src/ecmascript/spidermonkey-shared.h +src/ecmascript/spidermonkey.c +src/ecmascript/spidermonkey.h +src/ecmascript/spidermonkey/document.c +src/ecmascript/spidermonkey/document.h +src/ecmascript/spidermonkey/form.c +src/ecmascript/spidermonkey/form.h +src/ecmascript/spidermonkey/heartbeat.c +src/ecmascript/spidermonkey/heartbeat.h +src/ecmascript/spidermonkey/location.c +src/ecmascript/spidermonkey/location.h +src/ecmascript/spidermonkey/navigator.c +src/ecmascript/spidermonkey/navigator.h +src/ecmascript/spidermonkey/unibar.c +src/ecmascript/spidermonkey/unibar.h +src/ecmascript/spidermonkey/util.h +src/ecmascript/spidermonkey/window.c +src/ecmascript/spidermonkey/window.h +src/elinks.h +src/encoding/brotli.c +src/encoding/brotli.h +src/encoding/bzip2.c +src/encoding/bzip2.h +src/encoding/deflate.c +src/encoding/deflate.h +src/encoding/encoding.c +src/encoding/encoding.h +src/encoding/lzma.c +src/encoding/lzma.h +src/encoding/zstd.c +src/encoding/zstd.h +src/formhist/dialogs.c +src/formhist/dialogs.h +src/formhist/formhist.c +src/formhist/formhist.h +src/globhist/dialogs.c +src/globhist/dialogs.h +src/globhist/globhist.c +src/globhist/globhist.h +src/intl/charsets.c +src/intl/charsets.h +src/intl/codepage.inc +src/intl/entity.inc +src/intl/gettext/bindtextdom.c +src/intl/gettext/dcgettext.c +src/intl/gettext/dcigettext.c +src/intl/gettext/dcngettext.c +src/intl/gettext/dgettext.c +src/intl/gettext/dngettext.c +src/intl/gettext/explodename.c +src/intl/gettext/finddomain.c +src/intl/gettext/gettext.c +src/intl/gettext/gettext.h +src/intl/gettext/gettextP.h +src/intl/gettext/hash-string.h +src/intl/gettext/intl-compat.c +src/intl/gettext/l10nflist.c +src/intl/gettext/libgettext.h +src/intl/gettext/libgnuintl.h +src/intl/gettext/libintl.c +src/intl/gettext/libintl.h +src/intl/gettext/loadinfo.h +src/intl/gettext/loadmsgcat.c +src/intl/gettext/localcharset.c +src/intl/gettext/localealias.c +src/intl/gettext/ngettext.c +src/intl/gettext/plural.c +src/intl/gettext/textdomain.c +src/intl/test/utf8-step-test.c +src/intl/uni_7b.inc +src/intl/width.c +src/main/event.c +src/main/event.h +src/main/interlink.c +src/main/interlink.h +src/main/main.c +src/main/main.h +src/main/module.c +src/main/module.h +src/main/object.h +src/main/select.c +src/main/select.h +src/main/timer.c +src/main/timer.h +src/main/version.c +src/main/version.h +src/mime/backend/common.c +src/mime/backend/common.h +src/mime/backend/default.c +src/mime/backend/default.h +src/mime/backend/mailcap.c +src/mime/backend/mailcap.h +src/mime/backend/mimetypes.c +src/mime/backend/mimetypes.h +src/mime/dialogs.c +src/mime/dialogs.h +src/mime/mime.c +src/mime/mime.h +src/network/connection.c +src/network/connection.h +src/network/dns.c +src/network/dns.h +src/network/progress.c +src/network/progress.h +src/network/socket.c +src/network/socket.h +src/network/ssl/match-hostname.c +src/network/ssl/match-hostname.h +src/network/ssl/socket.c +src/network/ssl/socket.h +src/network/ssl/ssl.c +src/network/ssl/ssl.h +src/network/ssl/test/match-hostname-test.c +src/network/state.c +src/network/state.h +src/osdep/ascii.h +src/osdep/beos/beos.c +src/osdep/beos/beos.h +src/osdep/beos/overrides.c +src/osdep/beos/overrides.h +src/osdep/beos/sysinfo.h +src/osdep/generic.h +src/osdep/getifaddrs.c +src/osdep/getifaddrs.h +src/osdep/newwin.c +src/osdep/newwin.h +src/osdep/os2/os2.c +src/osdep/os2/os2.h +src/osdep/os2/sysinfo.h +src/osdep/osdep.c +src/osdep/osdep.h +src/osdep/riscos/riscos.c +src/osdep/riscos/riscos.h +src/osdep/riscos/sysinfo.h +src/osdep/signals.c +src/osdep/signals.h +src/osdep/stat.h +src/osdep/stub.c +src/osdep/stub.h +src/osdep/sysname.c +src/osdep/sysname.h +src/osdep/system.h +src/osdep/types.h +src/osdep/unix/bsd.c +src/osdep/unix/sysinfo.h +src/osdep/unix/unix.c +src/osdep/unix/unix.h +src/osdep/win32/overrides.c +src/osdep/win32/overrides.h +src/osdep/win32/sysinfo.h +src/osdep/win32/vt100.c +src/osdep/win32/vt100.h +src/osdep/win32/win32.c +src/osdep/win32/win32.h +src/protocol/about.c +src/protocol/about.h +src/protocol/auth/auth.c +src/protocol/auth/auth.h +src/protocol/auth/dialogs.c +src/protocol/auth/dialogs.h +src/protocol/auth/digest.c +src/protocol/auth/digest.h +src/protocol/bittorrent/bencoding.c +src/protocol/bittorrent/bencoding.h +src/protocol/bittorrent/bittorrent.c +src/protocol/bittorrent/bittorrent.h +src/protocol/bittorrent/common.c +src/protocol/bittorrent/common.h +src/protocol/bittorrent/connection.c +src/protocol/bittorrent/connection.h +src/protocol/bittorrent/dialogs.c +src/protocol/bittorrent/dialogs.h +src/protocol/bittorrent/peerconnect.c +src/protocol/bittorrent/peerconnect.h +src/protocol/bittorrent/peerwire.c +src/protocol/bittorrent/peerwire.h +src/protocol/bittorrent/piececache.c +src/protocol/bittorrent/piececache.h +src/protocol/bittorrent/tracker.c +src/protocol/bittorrent/tracker.h +src/protocol/common.c +src/protocol/common.h +src/protocol/data.c +src/protocol/data.h +src/protocol/date.c +src/protocol/date.h +src/protocol/file/cgi.c +src/protocol/file/cgi.h +src/protocol/file/file.c +src/protocol/file/file.h +src/protocol/file/mailcap.c +src/protocol/file/mailcap.h +src/protocol/finger/finger.c +src/protocol/finger/finger.h +src/protocol/fsp/fsp.c +src/protocol/fsp/fsp.h +src/protocol/ftp/ftp-parser.c +src/protocol/ftp/ftp.c +src/protocol/ftp/ftp.h +src/protocol/ftp/parse.c +src/protocol/ftp/parse.h +src/protocol/gopher/gopher.c +src/protocol/gopher/gopher.h +src/protocol/header.c +src/protocol/header.h +src/protocol/http/blacklist.c +src/protocol/http/blacklist.h +src/protocol/http/codes.c +src/protocol/http/codes.h +src/protocol/http/http.c +src/protocol/http/http.h +src/protocol/http/http_negotiate.c +src/protocol/http/http_negotiate.h +src/protocol/http/post.c +src/protocol/http/post.h +src/protocol/nntp/codes.h +src/protocol/nntp/connection.c +src/protocol/nntp/connection.h +src/protocol/nntp/nntp.c +src/protocol/nntp/nntp.h +src/protocol/nntp/response.c +src/protocol/nntp/response.h +src/protocol/protocol.c +src/protocol/protocol.h +src/protocol/proxy.c +src/protocol/proxy.h +src/protocol/rewrite/rewrite.c +src/protocol/rewrite/rewrite.h +src/protocol/smb/smb.h +src/protocol/smb/smb2.c +src/protocol/test/stub.c +src/protocol/test/uri-test.c +src/protocol/uri.c +src/protocol/uri.h +src/protocol/user.c +src/protocol/user.h +src/scripting/guile/core.c +src/scripting/guile/core.h +src/scripting/guile/guile.c +src/scripting/guile/guile.h +src/scripting/guile/hooks.c +src/scripting/guile/hooks.h +src/scripting/lua/core.c +src/scripting/lua/core.h +src/scripting/lua/hooks.c +src/scripting/lua/hooks.h +src/scripting/lua/lua.c +src/scripting/lua/lua.h +src/scripting/perl/core.c +src/scripting/perl/core.h +src/scripting/perl/hooks.c +src/scripting/perl/hooks.h +src/scripting/perl/perl.c +src/scripting/perl/perl.h +src/scripting/python/core.c +src/scripting/python/core.h +src/scripting/python/dialogs.c +src/scripting/python/dialogs.h +src/scripting/python/document.c +src/scripting/python/document.h +src/scripting/python/hooks.c +src/scripting/python/hooks.h +src/scripting/python/keybinding.c +src/scripting/python/keybinding.h +src/scripting/python/load.c +src/scripting/python/load.h +src/scripting/python/menu.c +src/scripting/python/menu.h +src/scripting/python/open.c +src/scripting/python/open.h +src/scripting/python/python.c +src/scripting/python/python.h +src/scripting/ruby/core.c +src/scripting/ruby/core.h +src/scripting/ruby/hooks.c +src/scripting/ruby/hooks.h +src/scripting/ruby/ruby.c +src/scripting/ruby/ruby.h +src/scripting/scripting.c +src/scripting/scripting.h +src/scripting/smjs/action_object.c +src/scripting/smjs/action_object.h +src/scripting/smjs/bookmarks.c +src/scripting/smjs/bookmarks.h +src/scripting/smjs/cache_object.c +src/scripting/smjs/cache_object.h +src/scripting/smjs/core.c +src/scripting/smjs/core.h +src/scripting/smjs/elinks_object.c +src/scripting/smjs/elinks_object.h +src/scripting/smjs/global_object.c +src/scripting/smjs/global_object.h +src/scripting/smjs/globhist.c +src/scripting/smjs/globhist.h +src/scripting/smjs/hooks.c +src/scripting/smjs/hooks.h +src/scripting/smjs/keybinding.c +src/scripting/smjs/keybinding.h +src/scripting/smjs/load_uri.c +src/scripting/smjs/load_uri.h +src/scripting/smjs/session_object.c +src/scripting/smjs/session_object.h +src/scripting/smjs/smjs.c +src/scripting/smjs/smjs.h +src/scripting/smjs/terminal_object.c +src/scripting/smjs/terminal_object.h +src/scripting/smjs/view_state_object.c +src/scripting/smjs/view_state_object.h +src/session/download.c +src/session/download.h +src/session/history.c +src/session/history.h +src/session/location.c +src/session/location.h +src/session/session.c +src/session/session.h +src/session/task.c +src/session/task.h +src/setup.h +src/terminal/color.c +src/terminal/color.h +src/terminal/draw.c +src/terminal/draw.h +src/terminal/event.c +src/terminal/event.h +src/terminal/hardio.c +src/terminal/hardio.h +src/terminal/itrm.h +src/terminal/kbd.c +src/terminal/kbd.h +src/terminal/key.inc +src/terminal/mouse.c +src/terminal/mouse.h +src/terminal/palette.inc +src/terminal/screen.c +src/terminal/screen.h +src/terminal/tab.c +src/terminal/tab.h +src/terminal/terminal.c +src/terminal/terminal.h +src/terminal/terminfo.c +src/terminal/terminfo.h +src/terminal/window.c +src/terminal/window.h +src/util/align.h +src/util/base64.c +src/util/base64.h +src/util/bitfield.h +src/util/box.h +src/util/color.c +src/util/color.h +src/util/color.inc +src/util/color_s.inc +src/util/conv.c +src/util/conv.h +src/util/env.c +src/util/env.h +src/util/error.c +src/util/error.h +src/util/fastfind.c +src/util/fastfind.h +src/util/file.c +src/util/file.h +src/util/hash.c +src/util/hash.h +src/util/lists.h +src/util/math.h +src/util/md5.c +src/util/md5.h +src/util/memdebug.c +src/util/memdebug.h +src/util/memlist.c +src/util/memlist.h +src/util/memory.c +src/util/memory.h +src/util/profile.h +src/util/random.c +src/util/random.h +src/util/scanner.c +src/util/scanner.h +src/util/secsave.c +src/util/secsave.h +src/util/sha1.c +src/util/sha1.h +src/util/snprintf.c +src/util/snprintf.h +src/util/string.c +src/util/string.h +src/util/test.h +src/util/time.c +src/util/time.h +src/vernum.c +src/vernum.h +src/viewer/action.c +src/viewer/action.h +src/viewer/dump/dump-color-mode.h +src/viewer/dump/dump-specialized.h +src/viewer/dump/dump.c +src/viewer/dump/dump.h +src/viewer/text/draw.c +src/viewer/text/draw.h +src/viewer/text/form.c +src/viewer/text/form.h +src/viewer/text/link.c +src/viewer/text/link.h +src/viewer/text/marks.c +src/viewer/text/marks.h +src/viewer/text/search.c +src/viewer/text/search.h +src/viewer/text/textarea.c +src/viewer/text/textarea.h +src/viewer/text/view.c +src/viewer/text/view.h +src/viewer/text/vs.c +src/viewer/text/vs.h +src/viewer/timer.c +src/viewer/timer.h +src/viewer/viewer.c +src/viewer/viewer.h diff --git a/po/meson.build b/po/meson.build new file mode 100644 index 00000000..e278475e --- /dev/null +++ b/po/meson.build @@ -0,0 +1,8 @@ +if conf_data.get('CONFIG_NLS') == 1 + i18n = import('i18n') + # define GETTEXT_PACKAGE + add_project_arguments('-DGETTEXT_PACKAGE="elinks"', language:'c') + i18n.gettext('elinks', + args: '--directory=' + meson.source_root() + ) +endif