Skip to content
Commit 901a0821 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

build: i18n-scan.pl: use xgettext to extract message strings



Using xgettext has a few benefits compared to the previous perl extraction
approach. The xgettext utility is able to properly distinguish commented
from uncommented code and it is able handle concatenated constant
expressions such as `_("Some " + "string")`.

A further benefit is the ability to extract translations with disambiguation
contexts and plural translation calls.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent c43fa199
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment