forked from cromer/pamac-classic
add vala 0.36 support
This commit is contained in:
parent
c44c9ed991
commit
c0bb696fdc
@ -2192,7 +2192,7 @@ private int cb_fetch (string fileurl, string localpath, int force) {
|
||||
string hostname = url.get_uri ().split("/")[2];
|
||||
pamac_daemon.emit_log ((uint) Alpm.LogLevel.ERROR,
|
||||
_("failed retrieving file '%s' from %s : %s\n").printf (
|
||||
url.get_basename (), hostname, error_buffer));
|
||||
url.get_basename (), hostname, (string) error_buffer));
|
||||
}
|
||||
ret = -1;
|
||||
break;
|
||||
|
@ -1105,10 +1105,10 @@ namespace Pamac {
|
||||
action = dgettext (null, "Downloading required keys") + "...";
|
||||
break;
|
||||
case 39: //Alpm.Event.Type.PACNEW_CREATED
|
||||
detailed_action = dgettext (null, "%s installed as %s.pacnew").printf (details[0]);
|
||||
detailed_action = dgettext (null, "%s installed as %s.pacnew").printf (details[0], details[0]);
|
||||
break;
|
||||
case 40: //Alpm.Event.Type.PACSAVE_CREATED
|
||||
detailed_action = dgettext (null, "%s installed as %s.pacsave").printf (details[0]);
|
||||
detailed_action = dgettext (null, "%s installed as %s.pacsave").printf (details[0], details[0]);
|
||||
break;
|
||||
case 41: //Alpm.Event.Type.HOOK_START
|
||||
switch (secondary_event) {
|
||||
|
Loading…
Reference in New Issue
Block a user