Merge pull request #19 from keithbowes/gettext

* Added gettext catalogs

* Adapted from Openbox to hopefully give us a lot of mostly complete translations immediately.

* Added building the .pot and .gmo files

* Prepared strings for translation

* Using wlr_log() instead of printf() for logging messages

* A hopefully acceptable solution

* Openbox-esque help

* Cut down the blank lines in the debug logs

* It seems that wlr_log already outputs an end-of-line character

* Removed the messages which make no sense in Wayland

* Cleaned up the .po files

* Proper translation notes and where to report bugs

* More debugging messages
This commit is contained in:
Keith Bowes 2021-04-06 16:41:46 -04:00 committed by GitHub
commit ab16a76696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 16878 additions and 17 deletions

View file

@ -19,6 +19,11 @@
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
#include <libintl.h>
#include <locale.h>
#define _ gettext
#include "waybox/output.h"
#include "waybox/cursor.h"