X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fscratch-writer.c;h=e4d977fbfcfbef9d90588c0e43cac23041f8b386;hb=c90c44ab307b3ba49f606d2bae80e6aff1e228d7;hp=70a65ce9b67760ec585c9a54878174f4abc300bf;hpb=707848060e414fe93458834446dd7cdbf800667f;p=pspp diff --git a/src/data/scratch-writer.c b/src/data/scratch-writer.c index 70a65ce9b6..e4d977fbfc 100644 --- a/src/data/scratch-writer.c +++ b/src/data/scratch-writer.c @@ -34,6 +34,8 @@ #include "xalloc.h" +#define N_(msgid) (msgid) + /* A scratch file writer. */ struct scratch_writer { @@ -60,7 +62,9 @@ scratch_writer_open (struct file_handle *fh, size_t dict_value_cnt; /* Get exclusive write access to handle. */ - lock = fh_lock (fh, FH_REF_SCRATCH, "scratch file", FH_ACC_WRITE, true); + /* TRANSLATORS: this fragment will be interpolated into + messages in fh_lock() that identify types of files. */ + lock = fh_lock (fh, FH_REF_SCRATCH, N_("scratch file"), FH_ACC_WRITE, true); if (lock == NULL) return NULL;