Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d7402f470 | ||
|
|
daeab0518d | ||
|
|
090e2cf726 | ||
|
|
7a707670d6 | ||
|
|
f9217437ad | ||
|
|
fda622c0cd | ||
|
|
bccf2fa1c9 | ||
|
|
34de1a6706 |
30
ChangeLog
30
ChangeLog
@@ -1,3 +1,31 @@
|
||||
GNU nano 2.3.1 - 2011.05.10
|
||||
2011-05-10 Chris Allegretta <chrisa@asty.org>
|
||||
* text.c (do_enter): Only increment totsize by the auto-indented amount, size the previous line's size was
|
||||
already counted. Fixes bug reported by Robert Spanjaard.
|
||||
|
||||
2011-05-08 Chris Allegretta <chrisa@asty.org>
|
||||
* doc/syntax/Makefile.am: Finally get around to sorting the syntax file list
|
||||
|
||||
2011-05-08 Matthew Wild <mattj100@Savannah>
|
||||
* doc/syntax/spec.nanorc: New lua syntax highlighting config
|
||||
|
||||
2011-03-28 Asterios Dramis <asterios.dramis@gmail.com>
|
||||
* doc/syntax/spec.nanorc: New RPM spec file highlighting config
|
||||
|
||||
2011-03-12 Chris Allegretta <chrisa@asty.org>
|
||||
* po/*: Sync latest translation fixes, add an update_linguas.sh script. Rename
|
||||
existing update.pl to update_sources.pl to make it more specific.
|
||||
|
||||
2011-03-04 Chris Allegretta <chrisa@asty.org>
|
||||
* color.c (color_update): Add check for whether the file even exists
|
||||
before we try to run the magic check on it. Fixes error messages to stderr
|
||||
when reading in files that don't exist, reported by Mike Frysinger.
|
||||
|
||||
2011-03-03 Chris Allegretta <chrisa@asty.org>
|
||||
* color.c (color_update): Remove unneeded debugging message from
|
||||
libmagic commit. Fixed extra messages going to stderr reported by Mike Frysinger.
|
||||
|
||||
GNU nano 2.3.0 - 2011.02.26
|
||||
2011-02-26 Chris Allegretta <chrisa@asty.org>
|
||||
* Change RAW in function_type enum to RAWINPUT, to fix compilation on AIX,
|
||||
reported by Richard G Daniel <skunk@iskunk.org>.
|
||||
@@ -11,7 +39,7 @@
|
||||
|
||||
2011-02-22 Chris Allegretta <chrisa@asty.org>
|
||||
* color.c (nfreeregex): Fix that we were trying to set the pointer passed by value
|
||||
to NULL. Fixes crashes on file save reported by Ken Tyler and Matthieu Lejeune.
|
||||
to NULL. Fixes crashes on file save reported by Ken Tyler and Matthieu Lejeune.
|
||||
|
||||
2011-02-18 Chris Allegretta <chrisa@asty.org>
|
||||
* New saved cursor position history option. Command line option -P or --poslog, rc file
|
||||
|
||||
8
NEWS
8
NEWS
@@ -1,4 +1,10 @@
|
||||
GNU nano 2.3.0 - 2011.02.26
|
||||
2011.05.10 - GNU nano 2.3.1 "I'm in space" is released. This
|
||||
release includes some fixes for the new libmagic code, as
|
||||
well as a fix for improper character counts when using
|
||||
auto-indent. Also included are new syntax highlighting
|
||||
definitions for RPM spec and lua files. Thanks for
|
||||
using nano and keep circulating the tapes.
|
||||
|
||||
2011.02.26 - GNU nano 2.3.0 "Septic surprise" is released. This first
|
||||
release in the 2.3 unstable series bring several new
|
||||
features. First, libmagic support for syntax highlighting
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#
|
||||
# $Id$
|
||||
|
||||
AC_INIT([GNU nano], [2.3.0], [nano-devel@gnu.org], [nano])
|
||||
AC_INIT([GNU nano], [2.3.1], [nano-devel@gnu.org], [nano])
|
||||
AC_CONFIG_SRCDIR([src/nano.c])
|
||||
AC_CANONICAL_TARGET([])
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
@@ -1,30 +1,32 @@
|
||||
pkgdata_DATA = asm.nanorc \
|
||||
c.nanorc \
|
||||
awk.nanorc \
|
||||
cmake.nanorc \
|
||||
c.nanorc \
|
||||
css.nanorc \
|
||||
debian.nanorc \
|
||||
fortran.nanorc \
|
||||
gentoo.nanorc \
|
||||
groff.nanorc \
|
||||
html.nanorc \
|
||||
java.nanorc \
|
||||
lua.nanorc \
|
||||
makefile.nanorc \
|
||||
man.nanorc \
|
||||
mgp.nanorc \
|
||||
mutt.nanorc \
|
||||
nanorc.nanorc \
|
||||
objc.nanorc \
|
||||
ocaml.nanorc \
|
||||
patch.nanorc \
|
||||
perl.nanorc \
|
||||
php.nanorc \
|
||||
pov.nanorc \
|
||||
python.nanorc \
|
||||
ruby.nanorc \
|
||||
sh.nanorc \
|
||||
tex.nanorc \
|
||||
spec.nanorc \
|
||||
tcl.nanorc \
|
||||
php.nanorc \
|
||||
gentoo.nanorc \
|
||||
debian.nanorc \
|
||||
awk.nanorc \
|
||||
css.nanorc \
|
||||
xml.nanorc \
|
||||
ocaml.nanorc \
|
||||
objc.nanorc \
|
||||
fortran.nanorc \
|
||||
makefile.nanorc \
|
||||
mgp.nanorc
|
||||
tex.nanorc \
|
||||
xml.nanorc
|
||||
|
||||
EXTRA_DIST = $(pkgdata_DATA)
|
||||
|
||||
76
doc/syntax/lua.nanorc
Normal file
76
doc/syntax/lua.nanorc
Normal file
@@ -0,0 +1,76 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Lua syntax highlighting for Nano.
|
||||
#
|
||||
# Author: Matthew Wild <mwild1 (at) gmail.com>
|
||||
# License: GPL 3 or later
|
||||
#
|
||||
# Version: 2011-05-05
|
||||
#
|
||||
# Notes: Originally based on Ruby syntax rc by Josef 'Jupp' Schugt
|
||||
##############################################################################
|
||||
|
||||
|
||||
# Automatically use for '.lua' files
|
||||
syntax "lua" "\.lua$"
|
||||
|
||||
color brightwhite "\[\[.*\]\]"
|
||||
|
||||
# Operators
|
||||
color brightyellow ":|\*|/|%|\+|-|\^|>|>=|<|<=|~=|=|\.\.|\<(not|and|or)\>"
|
||||
|
||||
# Statements
|
||||
color brightblue "\<(do|end|while|repeat|until|if|elseif|then|else|for|in|function|local|return|break)\>"
|
||||
|
||||
# Keywords
|
||||
color brightyellow "\<(debug|string|math|table|io|coroutine|os)\>\."
|
||||
color brightyellow "\<(_G|_VERSION|assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\s*\("
|
||||
|
||||
# Standard library
|
||||
color brightyellow "io\.\<(close|flush|input|lines|open|output|popen|read|tmpfile|type|write|stdin|stdout|stderr)\>"
|
||||
color brightyellow "math\.\<(abs|acos|asin|atan2|atan|ceil|cosh|cos|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log|max|min|mod|modf|pi|pow|rad|random|randomseed|sinh|tan)\>"
|
||||
color brightyellow "os\.\<(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)\>"
|
||||
color brightyellow "package\.\<(cpath|loaded|loadlib|path|preload|seeall)\>"
|
||||
color brightyellow "string\.\<(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)\>"
|
||||
color brightyellow "table\.\<(concat|insert|maxn|remove|sort)\>"
|
||||
color brightyellow "coroutine\.\<(create|resume|running|status|wrap|yield)\>"
|
||||
color brightyellow "debug\.\<(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)\>"
|
||||
|
||||
# File handle methods
|
||||
color brightyellow "\:\<(close|flush|lines|read|seek|setvbuf|write)\>"
|
||||
|
||||
# false, nil, true
|
||||
color brightmagenta "\<(false|nil|true)\>"
|
||||
|
||||
# External files
|
||||
color brightgreen "\<(dofile|require)\>"
|
||||
|
||||
# Numbers
|
||||
color red "\<([0-9]+)\>"
|
||||
|
||||
# Symbols
|
||||
color brightmagenta "(\(|\)|\[|\]|\{|\})"
|
||||
|
||||
|
||||
# Shebang
|
||||
color brightcyan "^#!.*"
|
||||
|
||||
# Simple comments
|
||||
color green "\-\-.*$"
|
||||
|
||||
# Multiline comments
|
||||
color green start="\-\-\[\[" end="\]\]"
|
||||
|
||||
# Strings
|
||||
#color green "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'"
|
||||
|
||||
# Strings
|
||||
color red "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'"
|
||||
|
||||
# color red start="\[\[" end="\]\]"
|
||||
|
||||
|
||||
# Hex literals
|
||||
color red "0x[0-9a-fA-F]*"
|
||||
|
||||
|
||||
38
doc/syntax/spec.nanorc
Normal file
38
doc/syntax/spec.nanorc
Normal file
@@ -0,0 +1,38 @@
|
||||
# RPM spec files syntax highlighting
|
||||
# Parts taken from kate (KDE) syntax highlighting
|
||||
# Asterios Dramis
|
||||
syntax "spec" "\.(spec$|spec\.*)"
|
||||
# Main tags
|
||||
color brightblue "((Icon|ExclusiveOs|ExcludeOs)[[:space:]]*:)"
|
||||
color brightblue "((BuildArch|BuildArchitectures|ExclusiveArch|ExcludeArch)[[:space:]]*:)"
|
||||
color brightblue "((Conflicts|Obsoletes|Provides|Requires|Requires\(.*\)|Enhances|Suggests|BuildConflicts|BuildRequires|Recommends|PreReq|Supplements)[[:space:]]*:)"
|
||||
color brightblue "((Epoch|Serial|Nosource|Nopatch)[[:space:]]*:)"
|
||||
color brightblue "((AutoReq|AutoProv|AutoReqProv)[[:space:]]*:)"
|
||||
color brightblue "((Copyright|License|Summary|Summary\(.*\)|Distribution|Vendor|Packager|Group|Source\d*|Patch\d*|BuildRoot|Prefix)[[:space:]]*:)"
|
||||
color brightblue "((Name|Version|Release|Url|URL)[[:space:]]*:)"
|
||||
color brightblue start="^Source" end=":" start="^Patch" end=":"
|
||||
# Architectures
|
||||
color brightred "(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)"
|
||||
# Architectures conditionals
|
||||
color brightred "(ifarch|ifnarch)"
|
||||
# OS conditionals
|
||||
color brightred "(ifos|ifnos)"
|
||||
# %* strings
|
||||
color green "%([A-Z_a-z_0-9_]*)"
|
||||
color magenta "%_([A-Z_a-z_0-9_]*)"
|
||||
color yellow start="%__" end="\ "
|
||||
color magenta start="%\{" end="\}"
|
||||
color yellow start="%\{__" end="\}"
|
||||
# Sections
|
||||
color red "^%(build$|changelog|check$|clean$|description|files|install$|package|pre|prep$|preun|post|postun)"
|
||||
color red "^%(trigger|triggerin|triggerpostun|triggerun|verifyscript)"
|
||||
# Conditionals and Defines
|
||||
color brightred "%(if|else|endif|define|global|undefine)"
|
||||
# Comments
|
||||
color cyan "#.*$"
|
||||
# "# norootforbuild" is handled as main tag
|
||||
color brightblue "^# norootforbuild"
|
||||
# %changelog date entries
|
||||
color brightyellow "^\* .*\)$"
|
||||
# Trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
@@ -1,2 +1,2 @@
|
||||
# List of available languages.
|
||||
bg ca cs da de es eu fi fr ga gl hu id it ms nb nl nn pl pt_BR ro ru rw sr sv tr uk vi zh_CN zh_TW
|
||||
bg ca cs da de eo es eu fi fr ga gl hu id it ms nb nl nn pl pt_BR ro ru rw sr sv tr uk vi zh_CN zh_TW
|
||||
|
||||
34
po/de.po
34
po/de.po
@@ -3,19 +3,20 @@
|
||||
# This file is distributed under the same license as the nano package.
|
||||
# Karl Eichwalder <keichwa@gmx.net>, 2001.
|
||||
# Florian König <floki@bigfoot.com>, 2000, 2001.
|
||||
# Michael Piefel <piefel@informatik.hu-berlin.de>, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010.
|
||||
# Michael Piefel <piefel@informatik.hu-berlin.de>, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 2.2.4pre2\n"
|
||||
"Project-Id-Version: nano 2.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-26 09:24-0500\n"
|
||||
"PO-Revision-Date: 2010-04-15 15:28+0100\n"
|
||||
"PO-Revision-Date: 2011-03-07 20:08+0100\n"
|
||||
"Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de>\n"
|
||||
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
|
||||
#: src/browser.c:220
|
||||
@@ -232,6 +233,7 @@ msgstr "Taste unzulässig wenn nicht im Multibuffer-Modus"
|
||||
#: src/files.c:1384
|
||||
msgid "Failed to write backup file, continue saving? (Say N if unsure) "
|
||||
msgstr ""
|
||||
"Konnte Sicherungs-Datei nicht schreiben, weiter speichern? (N wenn unsicher)"
|
||||
|
||||
#: src/files.c:1507
|
||||
#, c-format
|
||||
@@ -327,11 +329,13 @@ msgid "(more)"
|
||||
msgstr "(mehr)"
|
||||
|
||||
#: src/files.c:2737
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Press Enter to continue\n"
|
||||
msgstr "Drücken Sie die Eingabetaste zum Fortfahren\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Drücken Sie die Eingabetaste zum Fortfahren\n"
|
||||
|
||||
#: src/files.c:2754
|
||||
#, c-format
|
||||
@@ -339,6 +343,9 @@ msgid ""
|
||||
"Unable to create directory %s: %s\n"
|
||||
"It is required for saving/loading search history or cursor position\n"
|
||||
msgstr ""
|
||||
"Kann Verzeichnis %s nicht anlegen: %s\n"
|
||||
"Es wird benötigt, um Suchhistorie und Cursorposition zu speichern und zu "
|
||||
"laden\n"
|
||||
|
||||
#: src/files.c:2759
|
||||
#, c-format
|
||||
@@ -346,6 +353,8 @@ msgid ""
|
||||
"Path %s is not a directory and needs to be.\n"
|
||||
"Nano will be unable to load or save search or cursor position history\n"
|
||||
msgstr ""
|
||||
"Pfad %s ist kein Verzeichnis, obwohl er eines sein muss.\n"
|
||||
"Nano wird Suchhistorie und Cursorposition nicht laden oder speichern können\n"
|
||||
|
||||
#: src/files.c:2775
|
||||
#, c-format
|
||||
@@ -353,6 +362,9 @@ msgid ""
|
||||
"Detected a legacy nano history file (%s) which I tried to move\n"
|
||||
"to the preferred location (%s) but encountered an error: %s"
|
||||
msgstr ""
|
||||
"Eine altertümliche nano-Historien-Datei (%s) gefunden, welche\n"
|
||||
"ich versucht habe an die neue bevorzugte Stelle (%s) zu schieben,\n"
|
||||
"stieß aber auf Fehler: %s"
|
||||
|
||||
#: src/files.c:2778
|
||||
#, c-format
|
||||
@@ -361,6 +373,9 @@ msgid ""
|
||||
"to the preferred location (%s)\n"
|
||||
"(see the nano FAQ about this change)"
|
||||
msgstr ""
|
||||
"Eine altertümliche nano-Historien-Datei (%s) gefunden, welche\n"
|
||||
"ich an die neue bevorzugte Stelle (%s) geschoben habe\n"
|
||||
"(siehe die nano-FAQ bezüglich dieser Änderung)"
|
||||
|
||||
#. TRANSLATORS: Try to keep the next five strings at most 10 characters.
|
||||
#: src/global.c:461 src/prompt.c:1288
|
||||
@@ -1434,9 +1449,8 @@ msgid "Use one more line for editing"
|
||||
msgstr "eine Zeile mehr zum Editieren verwenden"
|
||||
|
||||
#: src/nano.c:865
|
||||
#, fuzzy
|
||||
msgid "Log & read location of cursor position"
|
||||
msgstr "einen Tabulator an der Cursorposition einfügen"
|
||||
msgstr "Cursorposition aufzeichnen und lesen"
|
||||
|
||||
#: src/nano.c:868
|
||||
msgid "-Q <str>"
|
||||
@@ -1729,16 +1743,14 @@ msgid "The \"default\" syntax must take no extensions"
|
||||
msgstr "Die Syntax „default“ darf keine Erweiterungen haben"
|
||||
|
||||
#: src/rcfile.c:379
|
||||
#, fuzzy
|
||||
msgid "Cannot add a magic string regex without a syntax command"
|
||||
msgstr ""
|
||||
"Kann keinen reg. Ausdruck für Header hinzufügen, ohne einen Syntaxbefehl zu "
|
||||
"Kann keinen magischen reg. Ausdruck hinzufügen, ohne einen Syntaxbefehl zu "
|
||||
"haben"
|
||||
|
||||
#: src/rcfile.c:384
|
||||
#, fuzzy
|
||||
msgid "Missing magic string name"
|
||||
msgstr "Fehlender regulärer Ausdruck"
|
||||
msgstr "Fehlender Name für magische Zeichenkette"
|
||||
|
||||
#: src/rcfile.c:458 src/rcfile.c:555
|
||||
msgid "Missing key name"
|
||||
|
||||
516
po/fi.po
516
po/fi.po
@@ -1,22 +1,23 @@
|
||||
# GNU nano Finnish Translation.
|
||||
# Copyright © 2000, 2001, 2003, 2009, 2010 Free Software Foundation, Inc.
|
||||
# Copyright © 2000, 2001, 2003, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
# This file is distributed under the same license as the nano package.
|
||||
# Pauli Virtanen <pauli.virtanen@saunalahti.fi>, 2000, 2001.
|
||||
# Kalle Kivimaa <kalle.kivimaa@iki.fi>, 2003.
|
||||
# Kalle Olavi Niemitalo <kon@iki.fi>, 2003.
|
||||
# Jorma Karvonen <karvonen.jorma@gmail.com>, 2009-2010
|
||||
# Jorma Karvonen <karvonen.jorma@gmail.com>, 2009-2011
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 2.2.4pre2\n"
|
||||
"Project-Id-Version: nano 2.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-26 09:24-0500\n"
|
||||
"PO-Revision-Date: 2010-04-08 10:55+0200\n"
|
||||
"PO-Revision-Date: 2011-03-07 15:42+0200\n"
|
||||
"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
|
||||
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fi\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
|
||||
#: src/browser.c:220
|
||||
@@ -235,6 +236,8 @@ msgstr "Virheellinen näppäin yhden puskurin tilassa"
|
||||
#: src/files.c:1384
|
||||
msgid "Failed to write backup file, continue saving? (Say N if unsure) "
|
||||
msgstr ""
|
||||
"Varmuuskopiotiedoston kirjoittaminen epäonnistui, jatketaanko tallentamista? "
|
||||
"(Sanoi N jos olet epävarma) "
|
||||
|
||||
#: src/files.c:1507
|
||||
#, c-format
|
||||
@@ -336,11 +339,13 @@ msgid "(more)"
|
||||
msgstr "(jatkuu)"
|
||||
|
||||
#: src/files.c:2737
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Press Enter to continue\n"
|
||||
msgstr "Paina return-painiketta jatkaaksesi Nanon käynnistämistä\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Paina return-painiketta jatkaaksesi Nanon käynnistämistä\n"
|
||||
|
||||
#: src/files.c:2754
|
||||
#, c-format
|
||||
@@ -348,6 +353,9 @@ msgid ""
|
||||
"Unable to create directory %s: %s\n"
|
||||
"It is required for saving/loading search history or cursor position\n"
|
||||
msgstr ""
|
||||
"Ei kyetä luomaan hakemistoa %s: %s\n"
|
||||
"Se on vaadittu kohdistinkoordinaatin etsintähistorian tallentamiseksi/"
|
||||
"lataamiseksi\n"
|
||||
|
||||
#: src/files.c:2759
|
||||
#, c-format
|
||||
@@ -355,6 +363,9 @@ msgid ""
|
||||
"Path %s is not a directory and needs to be.\n"
|
||||
"Nano will be unable to load or save search or cursor position history\n"
|
||||
msgstr ""
|
||||
"Polku %s ei ole hakemisto ja sen pitää olla.\n"
|
||||
"Nano ei kykene lataamaan tai tallentamaan etsintää tai "
|
||||
"kohdistinkoordinaattihistoriaa\n"
|
||||
|
||||
#: src/files.c:2775
|
||||
#, c-format
|
||||
@@ -362,6 +373,8 @@ msgid ""
|
||||
"Detected a legacy nano history file (%s) which I tried to move\n"
|
||||
"to the preferred location (%s) but encountered an error: %s"
|
||||
msgstr ""
|
||||
"Havaittu perinteinen nano-historiatiedosto (%s), jota yritettiin siirtää\n"
|
||||
"parempana pidettyyn sijaintipaikkaan (%s), mutta kohdattiin virhe: %s"
|
||||
|
||||
#: src/files.c:2778
|
||||
#, c-format
|
||||
@@ -370,6 +383,9 @@ msgid ""
|
||||
"to the preferred location (%s)\n"
|
||||
"(see the nano FAQ about this change)"
|
||||
msgstr ""
|
||||
"Havaittu perinteinen nano-historiatiedosto (%s), joka siirrettiin\n"
|
||||
"parempana pidettyyn sijaintipaikkaan (%s)\n"
|
||||
"(katso nano FAQ tästä muutoksesta)"
|
||||
|
||||
#. TRANSLATORS: Try to keep the next five strings at most 10 characters.
|
||||
#: src/global.c:461 src/prompt.c:1288
|
||||
@@ -1456,9 +1472,8 @@ msgid "Use one more line for editing"
|
||||
msgstr "Käytä yhtä lisäriviä muokkaukseen"
|
||||
|
||||
#: src/nano.c:865
|
||||
#, fuzzy
|
||||
msgid "Log & read location of cursor position"
|
||||
msgstr "Lisää sarkain kohdistimen kohdalle"
|
||||
msgstr "Kirjaa lokiin ja lue kohdistinkoordinaatin sijainti"
|
||||
|
||||
#: src/nano.c:868
|
||||
msgid "-Q <str>"
|
||||
@@ -1753,14 +1768,13 @@ msgid "The \"default\" syntax must take no extensions"
|
||||
msgstr "Syntaksi ”default” ei saa ottaa laajennuksia"
|
||||
|
||||
#: src/rcfile.c:379
|
||||
#, fuzzy
|
||||
msgid "Cannot add a magic string regex without a syntax command"
|
||||
msgstr "Ei voi lisätä säännöllistä otsakelauseketta ilman syntaksikomentoa"
|
||||
msgstr ""
|
||||
"Ei voi lisätä maagista säännöllistä otsakelauseketta ilman syntaksikomentoa"
|
||||
|
||||
#: src/rcfile.c:384
|
||||
#, fuzzy
|
||||
msgid "Missing magic string name"
|
||||
msgstr "Puuttuva säännöllinen lausekemerkkijono"
|
||||
msgstr "Puuttuva maaginen säännöllinen lausekemerkkijono"
|
||||
|
||||
#: src/rcfile.c:458 src/rcfile.c:555
|
||||
msgid "Missing key name"
|
||||
@@ -2187,481 +2201,3 @@ msgstr "Kiitos Nanon käyttämisestä!"
|
||||
|
||||
#~ msgid "File to insert [from ./] "
|
||||
#~ msgstr "Lisättävä tiedosto [hakemistosta ./] "
|
||||
|
||||
# Oikeasti ohjelma tuossa kohtaa vasta avaa tiedoston, mutta eipä
|
||||
# englanninkielinenkään versio käyttäjälle sitä kerro.
|
||||
#~ msgid "Could not read %s for backup: %s"
|
||||
#~ msgstr "Tiedostoa %s ei voitu lukea varmuuskopioitavaksi: %s"
|
||||
|
||||
#~ msgid "Couldn't write backup: %s"
|
||||
#~ msgstr "Varmuuskopiota ei voitu kirjoittaa: %s"
|
||||
|
||||
# Allatiivi kuulostaa väärältä.
|
||||
#~ msgid "Could not set permissions %o on backup %s: %s"
|
||||
#~ msgstr "Oikeuksia %o ei voitu asettaa varmuuskopiolle %s: %s"
|
||||
|
||||
# Allatiivi kuulostaa väärältä.
|
||||
#
|
||||
# "Varmuuskopion %3$s omistajaa ei voitu asettaa %1$d:ksi ja ryhmää %2$d:ksi: %4$s"?
|
||||
# "Varmuuskopiota %3$s ei voitu siirtää käyttäjän %1$d ja ryhmän %2$d omistukseen: %4$s"?
|
||||
# "Käyttäjää %d ja ryhmää %d ei voitu asettaa varmuuskopion %s omistajaksi: %s"?
|
||||
#~ msgid "Could not set owner %d/group %d on backup %s: %s"
|
||||
#~ msgstr "Omistajaa %d ja ryhmää %d ei voitu asettaa varmuuskopiolle %s: %s"
|
||||
|
||||
# Allatiivi kuulostaa väärältä.
|
||||
#
|
||||
# Mitenhän ajat pitäisi kääntää? Unixissa niitä on kolme:
|
||||
# * atime = access time
|
||||
# - milloin tiedoston sisältöä on luettu (read, execve)
|
||||
# - "käyttöaika", "lukuaika"?
|
||||
# * mtime = modification time
|
||||
# - milloin tiedoston sisältöä on muutettu (write)
|
||||
# - "muutosaika", "kirjoitusaika"?
|
||||
# * ctime = change time
|
||||
# - milloin metatietoja on muutettu (chown, chmod, link, unlink)
|
||||
# - "luontiaika"?
|
||||
#~ msgid "Could not set access/modification time on backup %s: %s"
|
||||
#~ msgstr "Varmuuskopion %s käyttö- ja muutosaikaa ei voitu asettaa: %s"
|
||||
|
||||
#~ msgid "Could not open file for writing: %s"
|
||||
#~ msgstr "Tiedostoa ei voitu avata kirjoitettavaksi: %s"
|
||||
|
||||
#~ msgid "Could not close %s: %s"
|
||||
#~ msgstr "Tiedostoa %s ei voitu sulkea: %s"
|
||||
|
||||
#~ msgid "Could not reopen %s: %s"
|
||||
#~ msgstr "Tiedostoa %s ei voitu avata uudestaan: %s"
|
||||
|
||||
# Ohjelma on tallentanut puskurin väliaikaiseen tiedostoon. Nyt se avaa
|
||||
# alkuperäisen tiedoston ja kopioi sen sisällön väliaikaistiedoston
|
||||
# perään. Jos tämä onnistuu, niin seuraavaksi se siirtää
|
||||
# väliaikaistiedoston alkuperäisen tilalle.
|
||||
#~ msgid "Could not open %s for prepend: %s"
|
||||
#~ msgstr "Tiedostoa %s ei voitu avata alkuun kirjoittamista varten: %s"
|
||||
|
||||
# Allatiivi kuulostaa väärältä.
|
||||
#~ msgid "Could not set permissions %o on %s: %s"
|
||||
#~ msgstr "Oikeuksia %o ei voitu asettaa tiedostolle %s: %s"
|
||||
|
||||
#~ msgid "Can't open \"%s\": %s"
|
||||
#~ msgstr "Hakemistoa ”%s” ei voi avata: %s"
|
||||
|
||||
#~ msgid "Goto Cancelled"
|
||||
#~ msgstr "Siirtyminen peruttu"
|
||||
|
||||
#~ msgid "Unable to open ~/.nano_history file, %s"
|
||||
#~ msgstr "Ei voi avata tiedostoa ~/.nano_history: %s"
|
||||
|
||||
#~ msgid "Unable to write ~/.nano_history file, %s"
|
||||
#~ msgstr "Ei voi kirjoittaa tiedostoa ~/.nano_history: %s"
|
||||
|
||||
# Perään tulee "käytössä" tai "ei käytössä".
|
||||
#~ msgid "Writing file in DOS format"
|
||||
#~ msgstr "Tiedoston kirjoitus DOS-muodossa"
|
||||
|
||||
# Perään tulee "käytössä" tai "ei käytössä".
|
||||
#~ msgid "Writing file in Mac format"
|
||||
#~ msgstr "Tiedoston kirjoitus Mac-muodossa"
|
||||
|
||||
# Perään tulee "käytössä" tai "ei käytössä".
|
||||
#~ msgid "Backing up file"
|
||||
#~ msgstr "Varmuuskopiointi"
|
||||
|
||||
#~ msgid "Auto wrap"
|
||||
#~ msgstr "Automaattinen rivitys"
|
||||
|
||||
#~ msgid "Invoke the help menu"
|
||||
#~ msgstr "Avaa ohjevalikko"
|
||||
|
||||
#~ msgid "Unjustify after a justify"
|
||||
#~ msgstr "Poista tasaus tasauksen jälkeen"
|
||||
|
||||
#~ msgid "Replace text within the editor"
|
||||
#~ msgstr "Etsi ja korvaa tekstiä"
|
||||
|
||||
#~ msgid "Search for text within the editor"
|
||||
#~ msgstr "Etsi tekstiä"
|
||||
|
||||
#~ msgid "Move up one line"
|
||||
#~ msgstr "Siirry yksi rivi yläspäin"
|
||||
|
||||
#~ msgid "Move down one line"
|
||||
#~ msgstr "Siirry yksi rivi alaspäin"
|
||||
|
||||
#~ msgid "Insert a tab character"
|
||||
#~ msgstr "Lisää sarkainmerkki"
|
||||
|
||||
# 80 sarakkeen näytöllä mahtuu 56 merkkiä.
|
||||
#~ msgid "Make the current search or replace case (in)sensitive"
|
||||
#~ msgstr "Muuta, huomioiko etsintä tai korvaus kirjainkokoa (a/A)"
|
||||
|
||||
#~ msgid "Prepend to the current file"
|
||||
#~ msgstr "Lisää levyllä olevan tiedoston alkuun"
|
||||
|
||||
#~ msgid "Search backwards"
|
||||
#~ msgstr "Etsi taaksepäin"
|
||||
|
||||
#~ msgid "Write file out in DOS format"
|
||||
#~ msgstr "Kirjoita tiedosto DOS-muodossa"
|
||||
|
||||
#~ msgid "Write file out in Mac format"
|
||||
#~ msgstr "Kirjoita tiedosto Mac-muodossa"
|
||||
|
||||
# "tallennettaessa"?
|
||||
#~ msgid "Back up original file when saving"
|
||||
#~ msgstr "Tee varmuuskopio alkuperäisestä tiedostosta talletettaessa"
|
||||
|
||||
#~ msgid "Find other bracket"
|
||||
#~ msgstr "Etsi toinen suljemerkki"
|
||||
|
||||
# "edellinen"?
|
||||
#~ msgid "Open previously loaded file"
|
||||
#~ msgstr "Avaa viimeksi ladattu tiedosto"
|
||||
|
||||
# "seuraavaksi"?
|
||||
#~ msgid "Open next loaded file"
|
||||
#~ msgstr "Avaa seuraava ladattu tiedosto"
|
||||
|
||||
#~ msgid "Up"
|
||||
#~ msgstr "Yläs"
|
||||
|
||||
#~ msgid "Down"
|
||||
#~ msgstr "Alas"
|
||||
|
||||
#~ msgid "Direction"
|
||||
#~ msgstr "Suunta"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Usage: nano [+LINE] [GNU long option] [option] [file]\n"
|
||||
#~ "\n"
|
||||
#~ msgstr ""
|
||||
#~ "Käyttö: nano [+RIVI] [GNU pitkät valitsimet] [valitsimet] [tiedosto]\n"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Usage: nano [+LINE] [option] [file]\n"
|
||||
#~ "\n"
|
||||
#~ msgstr ""
|
||||
#~ "Käyttö: nano [+RIVI] [valitsimet] [tiedosto]\n"
|
||||
#~ "\n"
|
||||
|
||||
#~ msgid "+LINE"
|
||||
#~ msgstr "+RIVI"
|
||||
|
||||
#~ msgid "Use alternate keypad routines"
|
||||
#~ msgstr "Käytä vaihtoehtoisia näppäimistörutiineja"
|
||||
|
||||
#~ msgid "Do regular expression searches"
|
||||
#~ msgstr "Etsi säännällisillä lausekkeilla"
|
||||
|
||||
#~ msgid "-T [num]"
|
||||
#~ msgstr "-T [luku]"
|
||||
|
||||
#~ msgid "Set fill cols to (wrap lines at) #cols"
|
||||
#~ msgstr "Rivitä annettua pidemmät rivit"
|
||||
|
||||
#~ msgid "Could not create a temporary filename: %s"
|
||||
#~ msgstr "Väliaikaista tiedostonnimeä ei voitu luoda: %s"
|
||||
|
||||
#~ msgid "Spell checking failed: unable to write temp file!"
|
||||
#~ msgstr "Oikoluku epäonnistui: väliaikaistiedostoa ei voitu kirjoittaa"
|
||||
|
||||
#~ msgid "Cannot resize top win"
|
||||
#~ msgstr "Yläikkunan kokoa ei voi muuttaa"
|
||||
|
||||
#~ msgid "Cannot move top win"
|
||||
#~ msgstr "Yläikkunaa ei voi siirtää"
|
||||
|
||||
#~ msgid "Cannot resize edit win"
|
||||
#~ msgstr "Muokkausikkunan kokoa ei voi muuttaa"
|
||||
|
||||
#~ msgid "Cannot move edit win"
|
||||
#~ msgstr "Muokkausikkunaa ei voi siirtää"
|
||||
|
||||
#~ msgid "Cannot resize bottom win"
|
||||
#~ msgstr "Alaikkunan kokoa ei voi muuttaa"
|
||||
|
||||
#~ msgid "Cannot move bottom win"
|
||||
#~ msgstr "Alaikkunaa ei voi siirtää"
|
||||
|
||||
#~ msgid "NumLock glitch detected. Keypad will malfunction with NumLock off"
|
||||
#~ msgstr ""
|
||||
#~ "NumLock-ongelma: Numeronäppäimistö toimii väärin, kun NumLock ei ole "
|
||||
#~ "päällä."
|
||||
|
||||
#~ msgid "Tab size is too small for nano...\n"
|
||||
#~ msgstr "Sarkaimen leveys on liian pieni Nanolle...\n"
|
||||
|
||||
#~ msgid "Errors found in .nanorc file"
|
||||
#~ msgstr "Tiedostossa .nanorc oli virheitä"
|
||||
|
||||
#~ msgid "Unable to open ~/.nanorc file, %s"
|
||||
#~ msgstr "Ei voi avata tiedostoa ~/.nanorc: %s"
|
||||
|
||||
#~ msgid "\"%s...\" not found"
|
||||
#~ msgstr "”%s...” ei löytynyt"
|
||||
|
||||
#~ msgid "Invalid regex ”%s”"
|
||||
#~ msgstr "Virheellinen säännöllinen lauseke ”%s”"
|
||||
|
||||
#~ msgid "Search Cancelled"
|
||||
#~ msgstr "Etsintä peruttu"
|
||||
|
||||
#~ msgid "Replace Cancelled"
|
||||
#~ msgstr "Korvaus peruttu"
|
||||
|
||||
#~ msgid "Replace failed: unknown subexpression!"
|
||||
#~ msgstr "Korvaus epäonnistui: tuntematon alilauseke!"
|
||||
|
||||
#~ msgid "Aborted"
|
||||
#~ msgstr "Keskeytetty"
|
||||
|
||||
#~ msgid " File: ..."
|
||||
#~ msgstr " Tiedosto: ..."
|
||||
|
||||
#~ msgid " DIR: ..."
|
||||
#~ msgstr " HAKEMISTO: ..."
|
||||
|
||||
#~ msgid "Refusing 0 length regex match"
|
||||
#~ msgstr "En hyväksy 0-pituista säännöllisen lausekkeen osumaa"
|
||||
|
||||
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
|
||||
#~ msgstr "add_to_cutbuffer() kutsuttu, inptr->data = %s\n"
|
||||
|
||||
#~ msgid "Blew away cutbuffer =)\n"
|
||||
#~ msgstr "Leiketila katosi =)\n"
|
||||
|
||||
#~ msgid "filename is %s\n"
|
||||
#~ msgstr "tiedoston nimi on %s\n"
|
||||
|
||||
#~ msgid "%s: free'd a node, YAY!\n"
|
||||
#~ msgstr "%s: solmu vapautettu, YAY!\n"
|
||||
|
||||
#~ msgid "%s: free'd last node.\n"
|
||||
#~ msgstr "%s: viimeinen solmu vapautettu.\n"
|
||||
|
||||
#~ msgid "Backing up %s to %s\n"
|
||||
#~ msgstr "Kopioin tiedoston %s tiedostoksi %s\n"
|
||||
|
||||
#~ msgid "Wrote >%s\n"
|
||||
#~ msgstr "Kirjoitettu: >%s\n"
|
||||
|
||||
#~ msgid "current->data now = \"%s\"\n"
|
||||
#~ msgstr "current->data nyt = ”%s”\n"
|
||||
|
||||
#~ msgid "After, data = \"%s\"\n"
|
||||
#~ msgstr "Jälkeenpäin data = ”%s”\n"
|
||||
|
||||
#~ msgid "Main: set up windows\n"
|
||||
#~ msgstr "Pääohjelma: ikkunoiden asettelu\n"
|
||||
|
||||
#~ msgid "Main: bottom win\n"
|
||||
#~ msgstr "Pääohjelma: alaikkuna\n"
|
||||
|
||||
#~ msgid "Main: open file\n"
|
||||
#~ msgstr "Pääohjelma: avaa tiedosto\n"
|
||||
|
||||
#~ msgid "AHA! %c (%d)\n"
|
||||
#~ msgstr "Ahaa! %c (%d)\n"
|
||||
|
||||
#~ msgid "I got Alt-O-%c! (%d)\n"
|
||||
#~ msgstr "Vastaanotettu Alt-O-%c! (%d)\n"
|
||||
|
||||
#~ msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
#~ msgstr "Vastaanotettu Alt-[-1-%c! (%d)\n"
|
||||
|
||||
#~ msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
#~ msgstr "Vastaanotettu Alt-[-2-%c! (%d)\n"
|
||||
|
||||
#~ msgid "I got Alt-[-%c! (%d)\n"
|
||||
#~ msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
|
||||
|
||||
#~ msgid "I got Alt-%c! (%d)\n"
|
||||
#~ msgstr "Vastaanotettu Alt-%c! (%d)\n"
|
||||
|
||||
#~ msgid "I got %c (%d)!\n"
|
||||
#~ msgstr "Vastaanotettu %c (%d)!\n"
|
||||
|
||||
#~ msgid "Adding new syntax after 1st\n"
|
||||
#~ msgstr "Lisään syntaksin ensimmäisen jälkeen\n"
|
||||
|
||||
#~ msgid "Starting a new syntax type\n"
|
||||
#~ msgstr "Aloitan uuden syntaksityypin\n"
|
||||
|
||||
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
|
||||
#~ msgstr "Aloitan uuden värimerkkijonon fg: %d bg: %d\n"
|
||||
|
||||
#~ msgid "Adding new entry for fg %d bg %d\n"
|
||||
#~ msgstr "Lisään uuden määrityksen fg: %d bg: %d\n"
|
||||
|
||||
#~ msgid "%s: Read a comment\n"
|
||||
#~ msgstr "%s: Luki kommentin\n"
|
||||
|
||||
#~ msgid "%s: Parsing option %s\n"
|
||||
#~ msgstr "%s: Tulkitsee asetusta %s\n"
|
||||
|
||||
#~ msgid "set flag %d!\n"
|
||||
#~ msgstr "asetti lipun %d!\n"
|
||||
|
||||
#~ msgid "actual_x for xplus=%d returns %d\n"
|
||||
#~ msgstr "actual_x parametrilla xplus=%d palauttaa %d\n"
|
||||
|
||||
#~ msgid "Aha! '%c' (%d)\n"
|
||||
#~ msgstr "Ahaa! '%c' (%d)\n"
|
||||
|
||||
#~ msgid "input '%c' (%d)\n"
|
||||
#~ msgstr "syäte '%c' (%d)\n"
|
||||
|
||||
#~ msgid "Moved to (%d, %d) in edit buffer\n"
|
||||
#~ msgstr "Kohtaan (%d,%d) siirrytty muokkausruudussa\n"
|
||||
|
||||
#~ msgid "I got \"%s\"\n"
|
||||
#~ msgstr "Saatiin ”%s”\n"
|
||||
|
||||
#~ msgid "Dumping file buffer to stderr...\n"
|
||||
#~ msgstr "Syöttää tiedoston stderriin...\n"
|
||||
|
||||
#~ msgid "Dumping cutbuffer to stderr...\n"
|
||||
#~ msgstr "Syöttää leiketilan stderriin...\n"
|
||||
|
||||
#~ msgid "Dumping a buffer to stderr...\n"
|
||||
#~ msgstr "Syöttää tekstin stderriin...\n"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\n"
|
||||
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"
|
||||
#~ "The Pico compatibility flag has been removed as nano\n"
|
||||
#~ "now fully Pico compatible. Please see the nano FAQ\n"
|
||||
#~ "for more info on this change...\n"
|
||||
#~ "\n"
|
||||
#~ "Press return to continue\n"
|
||||
#~ msgstr ""
|
||||
#~ "\n"
|
||||
#~ "-p-valitsin tarkoittaa nyt Picon ”preserve”-valitsinta.\n"
|
||||
#~ "Pico-yhteensopivuusvalitsin on poistettu, koska Nano on\n"
|
||||
#~ "nyt täysin Pico-yhteensopiva. Lue Nanon FAQ:sta\n"
|
||||
#~ "lisätietoja tästä muutoksesta...\n"
|
||||
#~ "\n"
|
||||
#~ "Paina enteriä jatkaaksesi\n"
|
||||
|
||||
#~ msgid "Generic error"
|
||||
#~ msgstr "Yleinen virhe"
|
||||
|
||||
#~ msgid "Can't visit parent in restricted mode"
|
||||
#~ msgstr "Ei voi siirtyä ylähakemistoon rajoitetussa tilassa"
|
||||
|
||||
#~ msgid "delete_node(): free'd a node, YAY!\n"
|
||||
#~ msgstr "delete_node(): solmu vapautettu, YAY!\n"
|
||||
|
||||
#~ msgid "delete_node(): free'd last node.\n"
|
||||
#~ msgstr "delete_node(): viimeinen solmu vapautettu.\n"
|
||||
|
||||
#~ msgid "read_line: not on first line and prev is NULL"
|
||||
#~ msgstr "read_line: ei ensimmäisellä rivillä ja prev on NULL"
|
||||
|
||||
#~ msgid "Pico mode"
|
||||
#~ msgstr "Pico-tila"
|
||||
|
||||
#~ msgid "Emulate Pico as closely as possible"
|
||||
#~ msgstr "Jäljittele Picoa mahdollisimman tarkasti"
|
||||
|
||||
#~ msgid "Replaced 1 occurrence"
|
||||
#~ msgstr "Korvattu 1 tapahtuma"
|
||||
|
||||
#~ msgid "Replace with [%s]"
|
||||
#~ msgstr "Korvaa merkkijonolla [%s]"
|
||||
|
||||
#~ msgid "nano: realloc: out of memory!"
|
||||
#~ msgstr "nano: realloc: muisti loppui!"
|
||||
|
||||
#~ msgid " -T \t\t--tabsize=[num]\t\tSet width of a tab to num\n"
|
||||
#~ msgstr " -T \t\t--tabsize=[luku]\tAseta sarkaimen leveys\n"
|
||||
|
||||
#~ msgid " -R\t\t--regexp\t\tUse regular expressions for search\n"
|
||||
#~ msgstr " -R\t\t--regexp\t\tEtsi säännöllisillä lausekkeilla\n"
|
||||
|
||||
#~ msgid " -V \t\t--version\t\tPrint version information and exit\n"
|
||||
#~ msgstr " -V \t\t--version\t\tTulosta versiotiedot ja lopeta\n"
|
||||
|
||||
#~ msgid " -c \t\t--const\t\t\tConstantly show cursor position\n"
|
||||
#~ msgstr " -c \t\t--const\t\t\tNäytä kohdistimen sijainti jatkuvasti\n"
|
||||
|
||||
#~ msgid " -h \t\t--help\t\t\tShow this message\n"
|
||||
#~ msgstr " -h \t\t--help\t\t\tNäytä tämä ohje\n"
|
||||
|
||||
#~ msgid " -k \t\t--cut\t\t\tLet ^K cut from cursor to end of line\n"
|
||||
#~ msgstr " -k \t\t--cut\t\t\t^K leikkaa rivin loppuun saakka\n"
|
||||
|
||||
#~ msgid " -i \t\t--autoindent\t\tAutomatically indent new lines\n"
|
||||
#~ msgstr " -i \t\t--autoindent\t\tSisennä uudet rivit automaattisesti\n"
|
||||
|
||||
#~ msgid " -l \t\t--nofollow\t\tDon't follow symbolic links, overwrite\n"
|
||||
#~ msgstr ""
|
||||
#~ " -l \t\t--nofollow\t\tÄlä seuraa symbolisia linkkejä, vaan\n"
|
||||
#~ "\t\t\t\t\tkorvaa ne tiedostoilla.\n"
|
||||
|
||||
#~ msgid " -m \t\t--mouse\t\t\tEnable mouse\n"
|
||||
#~ msgstr " -m \t\t--mouse\t\t\tKäytä hiirtä\n"
|
||||
|
||||
#~ msgid ""
|
||||
#~ " -r [#cols] \t--fill=[#cols]\t\tSet fill cols to (wrap lines at) #cols\n"
|
||||
#~ msgstr " -r [#lkm] \t--fill=[#lkm]\t\tRivitä annettua pidemmät rivit\n"
|
||||
|
||||
#~ msgid " -p\t \t--pico\t\t\tEmulate Pico as closely as possible\n"
|
||||
#~ msgstr " -p\t \t--pico\t\t\tJäljittele Picoa mahdollisimman tarkasti\n"
|
||||
|
||||
#~ msgid " -s [prog] \t--speller=[prog]\tEnable alternate speller\n"
|
||||
#~ msgstr ""
|
||||
#~ " -s [ohjelma] \t--speller=[ohjelma]\tKäytä annettua oikolukuohjelmaa\n"
|
||||
|
||||
#~ msgid " -t \t\t--tempfile\t\tAuto save on exit, don't prompt\n"
|
||||
#~ msgstr ""
|
||||
#~ " -t \t\t--tempfile\t\tTallenna tiedosto kysymättä\n"
|
||||
#~ "\t\t\t\t\tpoistuttaessa \n"
|
||||
|
||||
#~ msgid " -v \t\t--view\t\t\tView (read only) mode\n"
|
||||
#~ msgstr " -v \t\t--view\t\t\tKatselutila (vain luku)\n"
|
||||
|
||||
#~ msgid " -w \t\t--nowrap\t\tDon't wrap long lines\n"
|
||||
#~ msgstr " -w \t\t--nowrap\t\tÄlä rivitä pitkiä rivejä\n"
|
||||
|
||||
#~ msgid " -x \t\t--nohelp\t\tDon't show help window\n"
|
||||
#~ msgstr " -x \t\t--nohelp\t\tÄlä näytä ohjeikkunaa\n"
|
||||
|
||||
#~ msgid " -z \t\t--suspend\t\tEnable suspend\n"
|
||||
#~ msgstr " -z \t\t--suspend\t\tMahdollista keskeyttäminen\n"
|
||||
|
||||
#~ msgid " +LINE\t\t\t\t\tStart at line number LINE\n"
|
||||
#~ msgstr " +RIVI\t\t\t\t\tSiirry riville RIVI\n"
|
||||
|
||||
#~ msgid " -R\t\tUse regular expressions for search\n"
|
||||
#~ msgstr " -R\t\tEtsi säännöllisillä lausekkeilla\n"
|
||||
|
||||
#~ msgid "check_wrap called with inptr->data=\"%s\"\n"
|
||||
#~ msgstr "check_wrap-funktion parametri inptr->data=”%s”\n"
|
||||
|
||||
#~ msgid "Case Sensitive Search%s%s"
|
||||
#~ msgstr "Kirjainkokotarkka etsintä%s%s"
|
||||
|
||||
#~ msgid "Pavel Curtis, Zeyd Ben-Halim and Eric S. Raymond for ncurses"
|
||||
#~ msgstr "Pavel Curtis, Zeyd Ben-Halim ja Eric S. Raymond ncursesista"
|
||||
|
||||
#~ msgid "Backwards search"
|
||||
#~ msgstr "Taaksepäin etsintä"
|
||||
|
||||
#~ msgid "Goto"
|
||||
#~ msgstr "Siirry"
|
||||
|
||||
#~ msgid "nano: calloc: out of memory!"
|
||||
#~ msgstr "nano: calloc: muisti loppui!"
|
||||
|
||||
#~ msgid " -D \t\t--dos\t\t\tWrite file in DOS format\n"
|
||||
#~ msgstr " -D \t\t--dos\t\t\tKirjoita tiedosto DOS-muodossa\n"
|
||||
|
||||
#~ msgid " -F \t\t--multibuffer\t\tEnable multiple file buffers\n"
|
||||
#~ msgstr " -F \t\t--multibuffer\t\tMahdollista useiden puskureiden käyttö\n"
|
||||
|
||||
#~ msgid " -M \t\t--mac\t\t\tWrite file in Mac format\n"
|
||||
#~ msgstr " -M \t\t--mac\t\t\tKirjoita tiedosto Mac-muodossa\n"
|
||||
|
||||
#~ msgid " -S\t\t--smooth\t\tSmooth scrolling\n"
|
||||
#~ msgstr " -S\t\t--smooth\t\tPehmeä vieritys\n"
|
||||
|
||||
38
po/fr.po
38
po/fr.po
@@ -6,19 +6,21 @@
|
||||
# Pierre Tane <tanep@bigfoot.com>, 2000.
|
||||
# Clement Laforet <sheep.killer@free.fr>, 2000.
|
||||
# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2001.
|
||||
# Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>, 2001-2010.
|
||||
# Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>, 2001-2010, 2011.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 2.2.4pre2\n"
|
||||
"Project-Id-Version: nano 2.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-26 09:24-0500\n"
|
||||
"PO-Revision-Date: 2010-10-30 15:43+0200\n"
|
||||
"PO-Revision-Date: 2011-03-07 21:19+0100\n"
|
||||
"Last-Translator: Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir."
|
||||
"org>\n"
|
||||
"Language-Team: French <traduc@traduc.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#
|
||||
@@ -418,6 +420,8 @@ msgstr "Touche illégale hors du mode multi-espace"
|
||||
#: src/files.c:1384
|
||||
msgid "Failed to write backup file, continue saving? (Say N if unsure) "
|
||||
msgstr ""
|
||||
"Impossible d'écrire la copie de sécurité, sauvegarder quand même ? (Dites N "
|
||||
"en cas de doute) "
|
||||
|
||||
#
|
||||
# File: src/files.c, line: 1286
|
||||
@@ -609,13 +613,13 @@ msgstr "(suite)"
|
||||
# File: src/files.c, line: 2379
|
||||
# File: src/rcfile.c, line: 848
|
||||
#: src/files.c:2737
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Press Enter to continue\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Appuyez sur « Entrée » pour poursuivre le démarrage de nano.\n"
|
||||
"Appuyez sur « Entrée » pour continuer\n"
|
||||
|
||||
#: src/files.c:2754
|
||||
#, c-format
|
||||
@@ -623,6 +627,9 @@ msgid ""
|
||||
"Unable to create directory %s: %s\n"
|
||||
"It is required for saving/loading search history or cursor position\n"
|
||||
msgstr ""
|
||||
"Impossible de créer le répertoire %s : %s\n"
|
||||
"Il permet de conserver l'historique des recherches\n"
|
||||
"et la position du curseur\n"
|
||||
|
||||
#: src/files.c:2759
|
||||
#, c-format
|
||||
@@ -630,6 +637,9 @@ msgid ""
|
||||
"Path %s is not a directory and needs to be.\n"
|
||||
"Nano will be unable to load or save search or cursor position history\n"
|
||||
msgstr ""
|
||||
"Le chemin %s n'est pas un répertoire et devrait l'être.\n"
|
||||
"Nano ne pourra pas conserver l'historique des recherches\n"
|
||||
"et la position du curseur\n"
|
||||
|
||||
#: src/files.c:2775
|
||||
#, c-format
|
||||
@@ -637,6 +647,9 @@ msgid ""
|
||||
"Detected a legacy nano history file (%s) which I tried to move\n"
|
||||
"to the preferred location (%s) but encountered an error: %s"
|
||||
msgstr ""
|
||||
"Un ancien fichier d'historique (%s) a été détecté, mais une\n"
|
||||
"tentative de déplacement vers le nouvel emplacement (%s)\n"
|
||||
"a rencontré une erreur : %s"
|
||||
|
||||
#: src/files.c:2778
|
||||
#, c-format
|
||||
@@ -645,6 +658,9 @@ msgid ""
|
||||
"to the preferred location (%s)\n"
|
||||
"(see the nano FAQ about this change)"
|
||||
msgstr ""
|
||||
"Un ancien fichier d'historique (%s) a été détecté, et déplacé\n"
|
||||
"vers le nouvel emplacement (%s)\n"
|
||||
"(consultez la FAQ nano pour plus d'information)"
|
||||
|
||||
#
|
||||
# File: src/global.c, line: 264
|
||||
@@ -2319,9 +2335,8 @@ msgstr "Utiliser 1 ligne de plus pour l'édition"
|
||||
# File: src/global.c, line: 389
|
||||
# File: src/global.c, line: 389
|
||||
#: src/nano.c:865
|
||||
#, fuzzy
|
||||
msgid "Log & read location of cursor position"
|
||||
msgstr "Insérer une tabulation à la position du curseur"
|
||||
msgstr "Mémoriser la position du curseur"
|
||||
|
||||
#
|
||||
# File: src/nano.c, line: 771
|
||||
@@ -2353,7 +2368,7 @@ msgstr "Mode restreint"
|
||||
|
||||
#: src/nano.c:874
|
||||
msgid "Scroll by line instead of half-screen"
|
||||
msgstr "Défilement ligne par ligne*"
|
||||
msgstr "Défilement ligne par ligne"
|
||||
|
||||
#
|
||||
# File: src/nano.c, line: 778
|
||||
@@ -2820,18 +2835,15 @@ msgstr "la syntaxe « default » ne doit être associée à aucune extension"
|
||||
# File: src/rcfile.c, line: 460
|
||||
# File: src/rcfile.c, line: 460
|
||||
#: src/rcfile.c:379
|
||||
#, fuzzy
|
||||
msgid "Cannot add a magic string regex without a syntax command"
|
||||
msgstr ""
|
||||
"impossible d'ajouter un motif d'en-tête non précédé d'une commande « syntax »"
|
||||
msgstr "impossible d'ajouter un motif Magic sans commande « syntax »"
|
||||
|
||||
#
|
||||
# File: src/rcfile.c, line: 503
|
||||
# File: src/rcfile.c, line: 503
|
||||
#: src/rcfile.c:384
|
||||
#, fuzzy
|
||||
msgid "Missing magic string name"
|
||||
msgstr "chaîne d'expr. rationnelle manquante"
|
||||
msgstr "chaîne de motif Magic manquante"
|
||||
|
||||
#
|
||||
# File: src/rcfile.c, line: 247
|
||||
|
||||
37
po/nl.po
37
po/nl.po
@@ -1,22 +1,23 @@
|
||||
# Dutch translations for nano.
|
||||
# Copyright (C) 2010 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
# This file is distributed under the same license as the nano package.
|
||||
#
|
||||
# Guus Sliepen <guus@sliepen.eu.org>, 2003.
|
||||
# Reinout van Schouwen <reinout@cs.vu.nl>, 2005.
|
||||
# Erwin Poeze <erwin.poeze@gmail.com>, 2009.
|
||||
# Benno Schulenberg <benno@vertaalt.nl>, 2005, 2006, 2007, 2008, 2010.
|
||||
# Benno Schulenberg <benno@vertaalt.nl>, 2005, 2006, 2007, 2008, 2010, 2011.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano-2.2.4pre2\n"
|
||||
"Project-Id-Version: nano-2.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-26 09:24-0500\n"
|
||||
"PO-Revision-Date: 2010-04-09 20:25+0200\n"
|
||||
"PO-Revision-Date: 2011-03-10 11:57+0100\n"
|
||||
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
|
||||
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 1.0\n"
|
||||
|
||||
@@ -237,7 +238,7 @@ msgstr "In Kijkmodus is deze toets alleen geldig in multibuffermodus"
|
||||
|
||||
#: src/files.c:1384
|
||||
msgid "Failed to write backup file, continue saving? (Say N if unsure) "
|
||||
msgstr ""
|
||||
msgstr "Maken van reservekopie is mislukt; toch opslaan? (N als onzeker) "
|
||||
|
||||
#: src/files.c:1507
|
||||
#, c-format
|
||||
@@ -331,13 +332,13 @@ msgid "(more)"
|
||||
msgstr "(meer)"
|
||||
|
||||
#: src/files.c:2737
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Press Enter to continue\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Druk op Enter om verder te gaan met het starten van nano.\n"
|
||||
"Druk op Enter om verder te gaan.\n"
|
||||
|
||||
#: src/files.c:2754
|
||||
#, c-format
|
||||
@@ -345,6 +346,9 @@ msgid ""
|
||||
"Unable to create directory %s: %s\n"
|
||||
"It is required for saving/loading search history or cursor position\n"
|
||||
msgstr ""
|
||||
"Kan map %s niet aanmaken: %s\n"
|
||||
"Deze is vereist voor opslaan en inlezen van zoekgeschiedenis en "
|
||||
"cursorpositie.\n"
|
||||
|
||||
#: src/files.c:2759
|
||||
#, c-format
|
||||
@@ -352,6 +356,8 @@ msgid ""
|
||||
"Path %s is not a directory and needs to be.\n"
|
||||
"Nano will be unable to load or save search or cursor position history\n"
|
||||
msgstr ""
|
||||
"Pad %s is geen map maar moet dit zijn.\n"
|
||||
"Nano kan nu de zoekgeschiedenis en cursorpositie niet opslaan noch inlezen.\n"
|
||||
|
||||
#: src/files.c:2775
|
||||
#, c-format
|
||||
@@ -359,6 +365,9 @@ msgid ""
|
||||
"Detected a legacy nano history file (%s) which I tried to move\n"
|
||||
"to the preferred location (%s) but encountered an error: %s"
|
||||
msgstr ""
|
||||
"Er werd een oud nano-geschiedenisbestand gevonden (%s);\n"
|
||||
"maar bij het verplaatsen ervan naar de voorkeurslocatie (%s)\n"
|
||||
"trad er een fout op: %s"
|
||||
|
||||
#: src/files.c:2778
|
||||
#, c-format
|
||||
@@ -367,6 +376,9 @@ msgid ""
|
||||
"to the preferred location (%s)\n"
|
||||
"(see the nano FAQ about this change)"
|
||||
msgstr ""
|
||||
"Er werd een oud nano-geschiedenisbestand gevonden (%s);\n"
|
||||
"deze is nu naar de voorkeurslocatie (%s) verplaatst.\n"
|
||||
"(Zie de nano-FAQ voor uitleg over deze verandering.)"
|
||||
|
||||
#. TRANSLATORS: Try to keep the next five strings at most 10 characters.
|
||||
#: src/global.c:461 src/prompt.c:1288
|
||||
@@ -1433,9 +1445,8 @@ msgid "Use one more line for editing"
|
||||
msgstr "bewerkingsvenster een beetje vergroten"
|
||||
|
||||
#: src/nano.c:865
|
||||
#, fuzzy
|
||||
msgid "Log & read location of cursor position"
|
||||
msgstr "Een tab invoegen op de cursorpositie"
|
||||
msgstr "cursorpositie opslaan en later herstellen"
|
||||
|
||||
#: src/nano.c:868
|
||||
msgid "-Q <str>"
|
||||
@@ -1732,14 +1743,14 @@ msgid "The \"default\" syntax must take no extensions"
|
||||
msgstr "Bij het woordje 'default' horen geen extensies"
|
||||
|
||||
#: src/rcfile.c:379
|
||||
#, fuzzy
|
||||
msgid "Cannot add a magic string regex without a syntax command"
|
||||
msgstr "Kan geen topregel-expressie verwerken zonder een 'syntax'-commando"
|
||||
msgstr ""
|
||||
"Kan geen reguliere expressie voor magische tekenreeks toevoegen zonder een "
|
||||
"'syntax'-commando"
|
||||
|
||||
#: src/rcfile.c:384
|
||||
#, fuzzy
|
||||
msgid "Missing magic string name"
|
||||
msgstr "Ontbrekende reg.exp.-tekenreeks"
|
||||
msgstr "Ontbrekende naam van magische tekenreeks"
|
||||
|
||||
#: src/rcfile.c:458 src/rcfile.c:555
|
||||
msgid "Missing key name"
|
||||
|
||||
21
po/update_linguas.sh
Executable file
21
po/update_linguas.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
echo "Updating translations via TP" && \
|
||||
rsync -Lrtvz translationproject.org::tp/latest/nano/ .
|
||||
#
|
||||
NEWSTUFF=`svn status | grep "^\? .*.po$" | awk '{ print $NF }'`
|
||||
if [ "x$NEWSTUFF" != "x" ]; then
|
||||
echo "Adding new languaes to SVN"
|
||||
svn add $NEWSTUFF
|
||||
fi
|
||||
#
|
||||
echo "Updating LINGUAS for all translations"
|
||||
FILE=LINGUAS
|
||||
echo "# List of available languages." >$FILE
|
||||
/bin/ls *.po | tr '\n' ' ' | sed 's/\.po//g' >>$FILE
|
||||
echo >> $FILE
|
||||
#
|
||||
if [ "x$NEWSTUFF" != "x" ]; then
|
||||
echo -n "New langs found, re-running configure and make at top level (silently)..."
|
||||
(cd .. && ./configure && make) >/dev/null
|
||||
echo "done"
|
||||
fi
|
||||
32
po/zh_CN.po
32
po/zh_CN.po
@@ -1,20 +1,21 @@
|
||||
# Simplified Chinese Messages for the nano editor
|
||||
# Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2004, 2005, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
# This file is distributed under the same license as the nano package.
|
||||
# LI Daobing <lidaobing@gmail.com>, 2007, 2008, 2009.
|
||||
# Aron Xu <happyaron.xu@gmail.com>, 2009, 2010.
|
||||
# Aron Xu <happyaron.xu@gmail.com>, 2009, 2010, 2011.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 2.2.4pre2\n"
|
||||
"Project-Id-Version: nano 2.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-26 09:24-0500\n"
|
||||
"PO-Revision-Date: 2010-04-07 17:10+0800\n"
|
||||
"PO-Revision-Date: 2011-03-08 03:15+0800\n"
|
||||
"Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
|
||||
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: src/browser.c:220
|
||||
@@ -214,7 +215,7 @@ msgstr "非多重缓冲区模式中此按键无效"
|
||||
|
||||
#: src/files.c:1384
|
||||
msgid "Failed to write backup file, continue saving? (Say N if unsure) "
|
||||
msgstr ""
|
||||
msgstr "写入备份文件失败,继续保存吗?(如果不确定请输入N)"
|
||||
|
||||
#: src/files.c:1507
|
||||
#, c-format
|
||||
@@ -307,13 +308,13 @@ msgid "(more)"
|
||||
msgstr "(更多)"
|
||||
|
||||
#: src/files.c:2737
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"Press Enter to continue\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"按下回车键继续启动 nano\n"
|
||||
"按下回车键继续\n"
|
||||
|
||||
#: src/files.c:2754
|
||||
#, c-format
|
||||
@@ -321,6 +322,8 @@ msgid ""
|
||||
"Unable to create directory %s: %s\n"
|
||||
"It is required for saving/loading search history or cursor position\n"
|
||||
msgstr ""
|
||||
"无法创建目录 %s:%s\n"
|
||||
"然而保存和载入搜索历史或光标位置需要它。\n"
|
||||
|
||||
#: src/files.c:2759
|
||||
#, c-format
|
||||
@@ -328,6 +331,8 @@ msgid ""
|
||||
"Path %s is not a directory and needs to be.\n"
|
||||
"Nano will be unable to load or save search or cursor position history\n"
|
||||
msgstr ""
|
||||
"路径%s 应为一个目录,但现在不是。\n"
|
||||
"Nano 将无法载入或保存搜索历史或光标位置\n"
|
||||
|
||||
#: src/files.c:2775
|
||||
#, c-format
|
||||
@@ -335,6 +340,8 @@ msgid ""
|
||||
"Detected a legacy nano history file (%s) which I tried to move\n"
|
||||
"to the preferred location (%s) but encountered an error: %s"
|
||||
msgstr ""
|
||||
"检测到了旧版的Nano 历史文件(%s)并试图移动到默认位置(%s)。\n"
|
||||
"此操作出现错误:%s"
|
||||
|
||||
#: src/files.c:2778
|
||||
#, c-format
|
||||
@@ -343,6 +350,8 @@ msgid ""
|
||||
"to the preferred location (%s)\n"
|
||||
"(see the nano FAQ about this change)"
|
||||
msgstr ""
|
||||
"检测到了旧版的Nano 历史文件(%s)并已移动到默认位置(%s)。\n"
|
||||
"(关于这个变更请参阅Nano 常见问题解答)"
|
||||
|
||||
#. TRANSLATORS: Try to keep the next five strings at most 10 characters.
|
||||
#: src/global.c:461 src/prompt.c:1288
|
||||
@@ -1383,9 +1392,8 @@ msgid "Use one more line for editing"
|
||||
msgstr "编辑时多使用一行"
|
||||
|
||||
#: src/nano.c:865
|
||||
#, fuzzy
|
||||
msgid "Log & read location of cursor position"
|
||||
msgstr "插入制表符于游标位置"
|
||||
msgstr "记录并读取光标位置"
|
||||
|
||||
#: src/nano.c:868
|
||||
msgid "-Q <str>"
|
||||
@@ -1678,14 +1686,12 @@ msgid "The \"default\" syntax must take no extensions"
|
||||
msgstr "\"default\" 语法必须不含任何副文件名"
|
||||
|
||||
#: src/rcfile.c:379
|
||||
#, fuzzy
|
||||
msgid "Cannot add a magic string regex without a syntax command"
|
||||
msgstr "无法直接增加头部正则表达式而没有语法行"
|
||||
msgstr "无法在没有语法命令的情况下添加魔字符串"
|
||||
|
||||
#: src/rcfile.c:384
|
||||
#, fuzzy
|
||||
msgid "Missing magic string name"
|
||||
msgstr "缺少正则表示式字符串"
|
||||
msgstr "缺少魔字符串名称"
|
||||
|
||||
#: src/rcfile.c:458 src/rcfile.c:555
|
||||
msgid "Missing key name"
|
||||
|
||||
@@ -131,6 +131,7 @@ void color_update(void)
|
||||
const char *magicstring = NULL;
|
||||
const char *magicerr = NULL;
|
||||
magic_t m;
|
||||
struct stat fileinfo;
|
||||
#endif /* HAVE_LIBMAGIC */
|
||||
|
||||
|
||||
@@ -160,7 +161,7 @@ void color_update(void)
|
||||
|
||||
#ifdef HAVE_LIBMAGIC
|
||||
|
||||
if (strcmp(openfile->filename,"")) {
|
||||
if (strcmp(openfile->filename,"") && stat(openfile->filename, &fileinfo) == 0) {
|
||||
m = magic_open(MAGIC_SYMLINK |
|
||||
#ifdef DEBUG
|
||||
MAGIC_DEBUG | MAGIC_CHECK |
|
||||
@@ -244,7 +245,6 @@ void color_update(void)
|
||||
#endif /* DEBUG */
|
||||
|
||||
if (magicstring && regexec(e->ext, magicstring, 0, NULL, 0) == 0) {
|
||||
fprintf(stderr,"We matched!\n");
|
||||
openfile->syntax = tmpsyntax;
|
||||
openfile->colorstrings = tmpsyntax->color;
|
||||
break;
|
||||
|
||||
@@ -711,7 +711,7 @@ void do_enter(bool undoing)
|
||||
#ifndef NANO_TINY
|
||||
if (ISSET(AUTOINDENT)) {
|
||||
strncpy(newnode->data, openfile->current->data, extra);
|
||||
openfile->totsize += mbstrlen(newnode->data);
|
||||
openfile->totsize += extra;
|
||||
}
|
||||
#endif
|
||||
null_at(&openfile->current->data, openfile->current_x);
|
||||
|
||||
Reference in New Issue
Block a user