- files.c: do_writeout() - Expanded strings to not use %s and ?: to determine write/append string to be nice to translators
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@791 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
759d3523fc
commit
9519eb0c88
|
@ -23,6 +23,10 @@ CVS code -
|
|||
New functions do_find_bracket(), changes to findnextstr(),
|
||||
command is Meta-] (hope you dont mind since I already sold off
|
||||
Meta-O to the MacOS file code Ken...)
|
||||
- files.c:
|
||||
do_writeout()
|
||||
- Expanded strings to not use %s and ?: to determine
|
||||
write/append string to be nice to translators.
|
||||
- nano.c:
|
||||
main()
|
||||
- Added vars oldcurrent and oldcurrent_x to check whether cursor
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
|
||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
#undef C_ALLOCA
|
||||
|
|
24
files.c
24
files.c
|
@ -1284,14 +1284,26 @@ int do_writeout(char *path, int exiting, int append)
|
|||
}
|
||||
|
||||
while (1) {
|
||||
|
||||
/* Be nice to the translation folks */
|
||||
#ifndef NANO_SMALL
|
||||
if (ISSET(MARK_ISSET) && !exiting)
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, "",
|
||||
_("%s Selection to File"), append ? _("Append") : _("Write"));
|
||||
else
|
||||
if (ISSET(MARK_ISSET) && !exiting) {
|
||||
if (append)
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, "",
|
||||
_("Append Selection to File"));
|
||||
else
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, "",
|
||||
_("Write Selection to File"));
|
||||
} else {
|
||||
#endif
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, answer,
|
||||
_("File Name to %s"), append ? _("Append") : _("Write"));
|
||||
if (append)
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, answer,
|
||||
_("File Name to Append"));
|
||||
else
|
||||
i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, answer,
|
||||
_("File Name to Write"));
|
||||
|
||||
}
|
||||
|
||||
if (i != -1) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue