Skip to content

Commit

Permalink
Add base Japanese localization (Issue #58)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Apr 19, 2022
1 parent ef6d5a5 commit c96565a
Show file tree
Hide file tree
Showing 4 changed files with 1,984 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pappl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ STRINGS = \
strings/en.strings \
strings/es.strings \
strings/fr.strings \
strings/it.strings
strings/it.strings \
strings/ja.strings

DOCFLAGS = \
--author "Michael R Sweet" \
Expand Down
6 changes: 6 additions & 0 deletions pappl/loc.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "strings/es_strings.h"
#include "strings/fr_strings.h"
#include "strings/it_strings.h"
#include "strings/ja_strings.h"


//
Expand Down Expand Up @@ -210,6 +211,11 @@ _papplLocLoadAll(pappl_system_t *system)// I - System
r.data = (const void *)it_strings;

_papplLocCreate(system, &r);

r.language = "ja";
r.data = (const void *)ja_strings;

_papplLocCreate(system, &r);
}


Expand Down
Loading

0 comments on commit c96565a

Please sign in to comment.