mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Fix compile-time error with de.po, runtime error with db.c
One string in de.po differed pretty strongly with its translated version. It may still be totally wrong as far as translations go, but it compiles now. Get translater to check. Also, ensure the proper dbpath gets set in the db when it's created. Signed-off-by: Travis Willard <travis@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b3a1619457
commit
824b7fd27b
@ -783,7 +783,11 @@ pmdb_t *_alpm_db_register_sync(const char *treename)
|
||||
}
|
||||
}
|
||||
|
||||
db = _alpm_db_new(dbpath, treename);
|
||||
/* Ensure the db gets the real path. */
|
||||
path[0] = '\0';
|
||||
snprintf(path, PATH_MAX, "%ssync/", dbpath);
|
||||
|
||||
db = _alpm_db_new(path, treename);
|
||||
if(db == NULL) {
|
||||
RET_ERR(PM_ERR_DB_CREATE, NULL);
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ msgstr "Datenbank-Pfad ist nicht definiert"
|
||||
|
||||
#: lib/libalpm/deps.c:187
|
||||
msgid "dependency cycle detected\n"
|
||||
msgstr "Abhängigkeits-Zyklus entdeckt: %s"
|
||||
msgstr "Abhängigkeits-Zyklus entdeckt\n"
|
||||
|
||||
#: lib/libalpm/deps.c:646
|
||||
#, c-format
|
||||
|
Loading…
Reference in New Issue
Block a user