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
This commit is contained in:
J. Alexander Treuman
2007-01-08 03:15:33 +00:00
parent 4730666b26
commit bcb493cfd3
5 changed files with 127 additions and 41 deletions
+3
View File
@@ -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();