diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-01-08 03:15:33 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-01-08 03:15:33 +0000 |
commit | bcb493cfd3e838695e19b675f919112e81506c45 (patch) | |
tree | cb8af92f07a51394dd8cd05ce4537772006d78db /src/main.c | |
parent | 4730666b26c3f6dd9776a7adf29b30814c900f37 (diff) | |
download | mpd-bcb493cfd3e838695e19b675f919112e81506c45.tar.gz mpd-bcb493cfd3e838695e19b675f919112e81506c45.tar.xz mpd-bcb493cfd3e838695e19b675f919112e81506c45.zip |
Moving localization stuff from path.c to localization.c so we can reuse it
for log messages when outputting to console.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5225 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 04f8a6ed5..a09e8a6ad 100644 --- a/src/main.c +++ b/src/main.c @@ -42,6 +42,7 @@ #include "../config.h" #include "utils.h" #include "normalize.h" +#include "localization.h" #include <stdio.h> #include <sys/select.h> @@ -437,6 +438,7 @@ int main(int argc, char *argv[]) open_log_files(options.stdOutput); + initLocalization(); initPaths(); initPermissions(); initPlaylist(); @@ -489,6 +491,7 @@ int main(int argc, char *argv[]) finishAudioConfig(); finishVolume(); finishPaths(); + finishLocalization(); finishPermissions(); finishCommands(); finishInputPlugins(); |