* Make it all build again
* retro-actively add this ChangeLog entry
* Removed bogus po/dpkg.po file
+ * No longer translater internal errors.. we want to see the English text
+ in bugreports
Fri Oct 29 20:16:43 EDT 1999 Ben Collins <bcollins@debian.org>
case urqr_fail:
break;
default:
- internerr(_("unknown menufn"));
+ internerr("unknown menufn");
}
refreshmenu(); dme(cursor,1);
} else if (c==C('l')) {
case sso_unsorted:
break;
default:
- internerr(_("unknown statsortorder in affectedmatches"));
+ internerr("unknown statsortorder in affectedmatches");
}
if (comparewith->priority != pkginfo::pri_unset &&
(comparewith->priority != pkg->priority ||
case sso_avail: statsortorder= sso_state; break;
case sso_state: statsortorder= sso_unsorted; break;
case sso_unsorted: statsortorder= sso_avail; break;
- default: internerr(_("unknown statsort in kd_swapstatorder"));
+ default: internerr("unknown statsort in kd_swapstatorder");
}
resortredisplay();
}
case so_section: sortorder= so_alpha; break;
case so_alpha: sortorder= so_priority; break;
case so_unsorted: return;
- default: internerr(_("unknown sort in kd_swaporder"));
+ default: internerr("unknown sort in kd_swaporder");
}
resortredisplay();
}
case vdo_both: versiondisplayopt= vdo_none; break;
case vdo_none: versiondisplayopt= vdo_available; break;
case vdo_available: versiondisplayopt= vdo_both; break;
- default: internerr(_("unknown versiondisplayopt in kd_versiondisplay"));
+ default: internerr("unknown versiondisplayopt in kd_versiondisplay");
}
setwidths();
leftofscreen= 0;
return 0;
default:
- internerr(_("unknown deptype"));
+ internerr("unknown deptype");
}
/* never reached, make gcc happy */
return 1;
description_column= versionavailable_column + versionavailable_width + gap_width;
break;
default:
- internerr(_("unknown versiondisplayopt in setwidths"));
+ internerr("unknown versiondisplayopt in setwidths");
}
total_width= TOTAL_LIST_WIDTH;
waddnstr(titlewin, _(" (status, section)"), xmax-x);
break;
default:
- internerr(_("bad statsort in redrawtitle/so_section"));
+ internerr("bad statsort in redrawtitle/so_section");
}
break;
case so_priority:
waddnstr(titlewin, _(" (status, priority)"), xmax-x);
break;
default:
- internerr(_("bad statsort in redrawtitle/so_priority"));
+ internerr("bad statsort in redrawtitle/so_priority");
}
break;
case so_alpha:
waddnstr(titlewin, _(" (by status)"), xmax-x);
break;
default:
- internerr(_("bad statsort in redrawtitle/so_priority"));
+ internerr("bad statsort in redrawtitle/so_priority");
}
break;
waddnstr(titlewin, _(" (alphabetically)"), xmax-x);
case so_unsorted:
break;
default:
- internerr(_("bad sort in redrawtitle"));
+ internerr("bad sort in redrawtitle");
}
}
const char *helpstring= readwrite ? (verbose ? _(" mark:+/=/- terse:v help:?")
case sso_unsorted:
break;
default:
- internerr(_("unknown statsortorder in compareentries"));
+ internerr("unknown statsortorder in compareentries");
}
const char *asection= a->pkg->section;
return c_name;
case so_unsorted:
default:
- internerr(_("unsorted or unknown in compareentries"));
+ internerr("unsorted or unknown in compareentries");
}
/* never reached, make gcc happy */
return 1;
}
break;
default:
- internerr(_("unknown stat in ensurestatsortinfo sso_avail"));
+ internerr("unknown stat in ensurestatsortinfo sso_avail");
}
if (debug)
fprintf(debug,"packagelist[%p]::ensurestatsortinfos() i=%d ssavail=%d\n",
table[index]->ssstate= sss_installed;
break;
default:
- internerr(_("unknown stat in ensurestatsortinfo sso_state"));
+ internerr("unknown stat in ensurestatsortinfo sso_state");
}
if (debug)
fprintf(debug,"packagelist[%p]::ensurestatsortinfos() i=%d ssstate=%d\n",
calcsssdone= 1;
break;
default:
- internerr(_("unknown statsortorder in ensurestatsortinfo"));
+ internerr("unknown statsortorder in ensurestatsortinfo");
}
}
case dvr_earlierstrict: info(" (<< "); break;
case dvr_laterstrict: info(" (>> "); break;
case dvr_exact: info(" (= "); break;
- default: internerr(_("unknown verrel"));
+ default: internerr("unknown verrel");
}
info(versiondescribe(&possi->version,vdew_never));
info(")");
case sso_unsorted:
break;
default:
- internerr(_("unknown statsortrder in describemany all"));
+ internerr("unknown statsortrder in describemany all");
}
if (!prioritystring) {
case msdbrw_readonly:
cstatus= msdbrw_readonly; break;
default:
- internerr(_("unknown readwritereq"));
+ internerr("unknown readwritereq");
}
updatefnbuf= m_malloc(strlen(adir)+sizeof(UPDATESDIR)+IMPORTANTMAXLEN+5);
varbufprintf(vb,"%lu:",version->epoch);
break;
default:
- internerr(_("bad versiondisplayepochwhen in varbufversion"));
+ internerr("bad versiondisplayepochwhen in varbufversion");
}
if (version->version) varbufaddstr(vb,version->version);
if (version->revision && *version->revision) {
case dvr_earlierstrict: return r < 0;
case dvr_laterstrict: return r > 0;
case dvr_exact: return r == 0;
- default: internerr(_("unknown verrel"));
+ default: internerr("unknown verrel");
}
}
newtarobject_allmodes(fnamenewvb.buf,ti);
break;
default:
- internerr(_("bad tar type, but already checked"));
+ internerr("bad tar type, but already checked");
}
/*
* Now we have extracted the new object in .dpkg-new (or, if the
case act_avail:
break;
default:
- internerr(_("unknown action"));
+ internerr("unknown action");
}
modstatdb_shutdown();
switch (cc) {
case 'i': case 'y': what= cfof_install | cfof_backup; break;
case 'n': case 'o': what= cfof_keep | cfof_backup; break;
- default: internerr(_("unknown response"));
+ default: internerr("unknown response");
}
}
break;
default:
- internerr(_("unknown what"));
+ internerr("unknown what");
}
conff->hash= nfstrsave(newdisthash);
case dep_predepends: varbufaddstr(addto, _(" pre-depends on ")); break;
case dep_recommends: varbufaddstr(addto, _(" recommends ")); break;
case dep_conflicts: varbufaddstr(addto, _(" conflicts with ")); break;
- default: internerr(_("unknown deptype"));
+ default: internerr("unknown deptype");
}
varbufdependency(addto, dep);
}
case stat_halfconfigured: case stat_unpacked:
return 1;
default:
- internerr(_("unknown status depending"));
+ internerr("unknown status depending");
}
break;
case itb_installnew: case itb_preinstall:
break;
default:
- internerr(_("unknown istobe depending"));
+ internerr("unknown istobe depending");
}
/* Describe the dependency, in case we have to moan about it. */
}
break;
default:
- internerr(_("unknown istobe depended"));
+ internerr("unknown istobe depended");
}
varbufaddstr(whynot, linebuf);
gettext(statusstrings[provider->up->up->status]));
break;
default:
- internerr(_("unknown istobe provider"));
+ internerr("unknown istobe provider");
}
varbufaddstr(whynot, linebuf);
}
}
break;
default:
- internerr(_("unknown istobe conflict"));
+ internerr("unknown istobe conflict");
}
}
}
break;
default:
- internerr(_("unknown istobe conflict provider"));
+ internerr("unknown istobe conflict provider");
}
}
}
*thissect= pkg->section && *pkg->section ? pkg->section : _("<unknown>");
return 1;
default:
- internerr(_("unknown status checking for unpackedness"));
+ internerr("unknown status checking for unpackedness");
}
}
break;
default:
- internerr(_("unknown action"));
+ internerr("unknown action");
}
putchar('\n');
switch (cipaction->arg) {
case act_printarch: arch= archp->to; break;
case act_printgnuarch: arch= archp->gnu; break;
- default: internerr(_("unknown action in printarch"));
+ default: internerr("unknown action in printarch");
}
if (!arch) {
*q= 0; arch= p;
i->u.low.current= allfiles;
break;
default:
- internerr(_("iterfilestart no f_largemem"));
+ internerr("iterfilestart no f_largemem");
}
return i;
}
i->u.low.current= i->u.low.current->next;
break;
default:
- internerr(_("iterfilenext no f_largemem"));
+ internerr("iterfilenext no f_largemem");
}
return r;
}
}
break;
default:
- internerr(_("filesdbinit no f_largemem"));
+ internerr("filesdbinit no f_largemem");
}
}
case -1:
return findnamenode_low(name);
default:
- internerr(_("findnamenode no f_largemem"));
+ internerr("findnamenode no f_largemem");
}
}
continue;
break;
default:
- internerr(_("unknown action for pending"));
+ internerr("unknown action for pending");
}
add_to_queue(pkg);
}
switch (cipaction->arg) {
case act_configure: case act_install: istobe= itb_installnew; break;
case act_remove: case act_purge: istobe= itb_remove; break;
- default: internerr(_("unknown action for queue start"));
+ default: internerr("unknown action for queue start");
}
for (rundown= queuehead; rundown; rundown= rundown->next) {
ensure_package_clientdata(rundown->pkg);
rundown->pkg->name);
break;
default:
- internerr(_("unknown action in duplicate"));
+ internerr("unknown action in duplicate");
}
rundown->pkg= 0;
} else {
deferred_remove(pkg);
break;
default:
- internerr(_("unknown action in queue"));
+ internerr("unknown action in queue");
}
if (ferror(stdout)) werr("stdout");
if (ferror(stderr)) werr("stderr");
case 3:
break;
default:
- internerr(_("unknown value for found"));
+ internerr("unknown value for found");
}
}
if (ok == 0 && (pkg->clientdata && pkg->clientdata->istobe == itb_remove))
badusage(_("--%s needs exactly one Packages file argument"),cipaction->olong);
break;
default:
- internerr(_("bad cipaction->arg in updateavailable"));
+ internerr("bad cipaction->arg in updateavailable");
}
if (!f_noact) {
case act_avclear:
break;
default:
- internerr(_("bad cipaction->arg in update available"));
+ internerr("bad cipaction->arg in update available");
}
varbufaddstr(&vb,admindir);