int update_cmd(UAContext *ua, const char *cmd)
{
static const char *kw[] = {
- N_("media"), /* 0 */
- N_("volume"), /* 1 */
- N_("pool"), /* 2 */
- N_("slots"), /* 3 */
+ NT_("media"), /* 0 */
+ NT_("volume"), /* 1 */
+ NT_("pool"), /* 2 */
+ NT_("slots"), /* 3 */
NULL};
if (!open_db(ua)) {
{
POOL_MEM query(PM_MESSAGE);
const char *kw[] = {
- N_("Append"),
- N_("Archive"),
- N_("Disabled"),
- N_("Full"),
- N_("Used"),
- N_("Cleaning"),
- N_("Recycle"),
- N_("Read-Only"),
+ NT_("Append"),
+ NT_("Archive"),
+ NT_("Disabled"),
+ NT_("Full"),
+ NT_("Used"),
+ NT_("Cleaning"),
+ NT_("Recycle"),
+ NT_("Read-Only"),
NULL};
bool found = false;
int i;
/* Modify Volume Status */
bsendmsg(ua, _("Current Volume status is: %s\n"), mr.VolStatus);
start_prompt(ua, _("Possible Values are:\n"));
- add_prompt(ua, N_("Append"));
- add_prompt(ua, N_("Archive"));
- add_prompt(ua, N_("Disabled"));
- add_prompt(ua, N_("Full"));
- add_prompt(ua, N_("Used"));
- add_prompt(ua, N_("Cleaning"));
- if (strcmp(mr.VolStatus, N_("Purged")) == 0) {
- add_prompt(ua, N_("Recycle"));
+ add_prompt(ua, NT_("Append"));
+ add_prompt(ua, NT_("Archive"));
+ add_prompt(ua, NT_("Disabled"));
+ add_prompt(ua, NT_("Full"));
+ add_prompt(ua, NT_("Used"));
+ add_prompt(ua, NT_("Cleaning"));
+ if (strcmp(mr.VolStatus, NT_("Purged")) == 0) {
+ add_prompt(ua, NT_("Recycle"));
}
- add_prompt(ua, N_("Read-Only"));
+ add_prompt(ua, NT_("Read-Only"));
if (do_prompt(ua, "", _("Choose new Volume Status"), ua->cmd, sizeof(mr.VolStatus)) < 0) {
return 1;
}