Changeset 381311b in git for lib/survex.pot


Ignore:
Timestamp:
05/03/15 00:52:04 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
9435c45
Parents:
40b02e8
Message:

lib/survex.pot,src/img_hosted.c: Include the filename when we run
out of memory while reading a file with img, which avoids the %.0s
hack and is more helpful for users.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/survex.pot

    r40b02e8 r381311b  
    2020#, c-format
    2121msgid "Out of memory (couldn’t find %lu bytes)."
     22msgstr ""
     23
     24#. TRANSLATORS: %s will be replaced by the filename that we were trying
     25#. to read when we ran out of memory.
     26#: ../src/img_hosted.c:34
     27#: n:38
     28#, c-format
     29msgid "Out of memory trying to read file “%s”"
    2230msgstr ""
    2331
     
    368376#, c-format
    369377msgid "Invalid units “%s” for quantity"
    370 msgstr ""
    371 
    372 #. TRANSLATORS: nasty hack - this message is for the .3d img code, and all
    373 #. errors there take a filename parameter - we don’t really want it here,
    374 #. so lose it with "%.0s" (which should display 0 characters from the
    375 #. filename) FIXME: sort out this
    376 #: ../src/img_hosted.c:35
    377 #: n:38
    378 msgid "Out of memory %.0s"
    379378msgstr ""
    380379
Note: See TracChangeset for help on using the changeset viewer.