* l3afpad-0.8.18.1.1

This commit is contained in:
Wen-Yen Chuang 2011-12-12 21:29:30 +08:00
commit 4d87dd6f37
114 changed files with 39265 additions and 0 deletions

5
AUTHORS Normal file
View File

@ -0,0 +1,5 @@
Bugs and feature requests please mail to:
Wen-Yen Chuang <caleb AT calno DOT com>
Forked from Leafpad 0.8.18.1, http://tarot.freeshell.org/leafpad/
Thanks to Tarot Osuji

339
COPYING Normal file
View File

@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

297
ChangeLog Normal file
View File

@ -0,0 +1,297 @@
2011-09-01
version 0.8.18.1.1:
* Ported to GTK+ 3.x
* Sync license data with latest files published by FSF
2010-12-23
version 0.8.18.1:
* Fixed saving (Jan-Erik Rediger, Edward Sheldrake).
2010-12-18
version 0.8.18:
* Fixed action when file name contains colon
(John Lindgren, Mikko Viinamaki).
* Fixed memory leak on saving file (Dmitry Artamonow).
* Fixed caseless search bug (Dmitry Artamonow).
* Fixed memory leak on line numbering (Hongwei Xi).
* Fixed truncation on saving file (Alex, brian m. carlson).
* Added translations: eo, gl.
* Updated translations: fi, hu.
2009-10-27
version 0.8.17:
* Fixed find dialog behaviour with GTK+ 2.18 (Radu-Cristian, MoD).
* Fixed SEGV when config file is 0 byte (Erik Suit).
* Added translations: br, nn, sl, sr.
* Updated translations: de, es, fr, id, lv, pl.
2008-12-18
version 0.8.16:
* Removed "Shift+Enter" key-binding (minhsien0330).
* Updated French translation (Marc Veillet).
* Updated Italian translation (Vincenzo Campanella).
2008-09-03
version 0.8.15:
* Named main window with gtk_widget_set_name (Cory Burgett).
* Added Brazilian Portuguese translation (Leslie Harlley Watter).
* Added Indonesian translation (Andhika Padmawan).
* Added Danish translation (Joe Hansen).
* Updated Traditional Chinese translation (Wei-Lun Chao).
* Updated Lithuanian translation (Gintautas Miliauskas).
2008-02-13
version 0.8.14:
* Added Basque translation (Mikel Olasagasti).
* Updated Vietnamese translation (Clytie Siddall).
* Updated Dutch translation (Benno Schulenberg).
* Updated Irish translation (Kevin Scannell).
* Updated Simplified Chinese translation (Li Daobing).
2007-12-15
version 0.8.13:
* Changed configuration file directory to XDG base (Glib >= 2.6)
(thanks Olivier Duclos).
* Fixed drag and DROP behaviour (GTK+ >= 2.10)
(thanks Markus Torstensson).
2007-09-17
version 0.8.12:
* Added Print Preview menu (GTK+ >= 2.10).
* Fixed one-by-one replace behaviour (GTK+ >= 2.10).
* Updated Vietnamese translation (Clytie Siddall).
2007-07-07
version 0.8.11:
* Followed GNOME Goals (AppIcon, ApplicationCategory, PoLinguas).
* Added GTK+ 2.10 Printing feature.
* Added "--jump=LINENUM" command line option.
* Added temporal "Always on Top" feature invoked by Ctrl+T.
* Fixed auto indentation behaviour.
* Updated Simplified Chinese translation (Li Daobing).
2007-04-08
version 0.8.10:
* Added icons for Tango Desktop (Lapo Calamandrei).
* Added Dutch translation (Wouter Van Hemel).
* Added Finnish translation (Eero Tamminen).
* Added Irish translation (Kevin Patrick Scannell).
* Added Korean translation (Seo Sanghyeon).
* Added Ukrainian translation (Youri Bulka).
* Updated Greek translation (Stavros Giannouris).
* Updated Bulgarian translation (Yavor Doganov).
* Updated German translation (Andreas Schweitzer).
* Updated Hungarian translation (Reviczky Adam Janos).
2006-04-14
version 0.8.9:
* Find proper font if no glyph found from current font when printing.
* Fixed word wrapping of wide character string when printing.
2006-04-07
version 0.8.8:
* Changed to use libgnomeprint22 for printing.
* Changed configure.ac to use newer functions automatically.
* Fixed pointer type error under sparc64 (thanks Steven Mestdagh).
2006-01-20
version 0.8.7:
* Implemented text DnD.
2006-01-03
version 0.8.6:
* Fixed "Replace all at once" with no string (thanks Marek).
* Updated Swedish translation (Isak Savo).
2005-11-12
version 0.8.5:
* Fixed curious highlighting behaviour.
* Attached 32*32 icon for some package maintainer.
* Updated Traditional Chinese translation (OLS3).
2005-09-24
version 0.8.4:
* Implemented GOption (thanks Magnus Bergman).
* Added '--tab-width' command line option.
* Inform read-only file by less/greater than sign bracket.
* Improved Korean auto-detection.
* Added Hebrew translation (Yo'av Moshe).
* Added Turkish translation (Kaya Oguz).
* Added Greek translation (Stavros Giannouris).
* Updated Italian translation (Alessio D'Ascanio).
2005-07-22
version 0.8.3:
* Implemented replaced word highlighting.
* Modified line-number margin.
* Fixed space-separeted filename bugs (thanks Andrea Antolini).
* Added Slovak translation (Peter Chabada).
* Updated Polish translation (Michal Wrobel).
2005-07-02
version 0.8.2:
* Improved dependency caused by intltool (thanks Machismo Ulverstein).
* Modified left margin.
* Fixed Macintosh return code bug (thanks young dave).
* Fixed "response" signal of about diaglog (thanks Muthiah Annamalai).
* Updated Bulgarian translation (Yavor Doganov).
* Updated Simplified Chinese translation (Carlos Z.F. Liu).
2005-05-14
version 0.8.1:
* Implemented searched word highlighting.
* Modified Up/Down/PageUp/PageDown behaviour when scroll-outed.
* Fixed space-separated filename bug (thanks Chris Everts).
* Added Bulgarian translation (Yavor Doganov).
* Added Vietnamese translation (Quy NGUYEN DAI).
* Updated Hungarian translation (Reviczky Adam Janos).
* Updated Polish translation (Michal Wrobel).
2005-04-29
version 0.8.0:
* Implemented glib-gettext & intltool.
* Added Print feature (only invoke lpr).
* Added load stdin feature.
* Added command line options.
* Added '--enable-chooser' configure option for GtkFileChooser.
* Modified some small points (DnD, caret, shadow, sensitivity...).
* Changed shortcut keys displayed on menu.
* Fixed replace question dialog behavior (thanks Keith).
* Added Portuguese translation (thanks Alan Kelon).
2004-12-26
version 0.7.9:
* Shrinked codeset menu.
* Fixed destroy response for question dialog (thanks Richard S).
* Removed local "G_BROKEN_FILENAMES" setting.
* Removed scrollbar_spacing manipulation.
* Updated Swedish translation (by Isak Savo).
* Added Lithuanian translation (thanks Lech Jankovski).
* Added Polish translation (thanks Michal Wrobel).
2004-12-03
version 0.7.8:
* Implemented widget sesnsitivity.
* Changed scrollbar_spacing to zero.
* Changed about dialog caption.
* Fixed undo sequency for Ctrl+V overwrite.
* Added Hungarian translation (thanks Reviczky Adam Janos).
* Added Catalan translation (thanks David Rosal).
* Added Tamil translation (thanks Vijay Durairaj).
* Added Italian translation (thanks Alessio D'Ascanio).
2004-11-21
version 0.7.7.1:
* Fixed undo function for the case start from '%' character.
2004-11-19
version 0.7.7:
* Improved undo behavior (by word).
* Fixed multi-line unindent properly.
* Updated German translation (thanks Ruediger Arp).
* Added Czech translation (thanks Petr Vyslouzil).
2004-11-12
version 0.7.6:
* Improved command line recognition of filename (uri & space-separated).
* Added MimeType entry to l3afpad.desktop (suggested by Carlos).
* Assigned Ctrl+G & Shift+Ctrl+G to Find Next/Previous.
* Added statements of copying permission to all source codes.
* Added French translation (thanks Luc Pionchon).
* Added Spanish translation (thanks Lucas Vieites).
2004-10-29
version 0.7.5:
* Added l3afpad.desktop file.
* Fixed DnD with space-separated filename (thanks Eugenia).
* Added Russian translation (thanks Artem Vakhitov).
* Added Swedish translation (thanks Isak Savo).
* Added German translation (thanks Sebastian Stach).
2004-10-22
version 0.7.4:
* Changed application icon to HIG based.
* Changed icon directory to "GNOME 2 developer's guide" based.
* Improved drag and drop (xffm ready).
* Improved Ctrl+W interrupt.
* Fixed undo manner for overwrite mode.
* Fixed scrolling manner for paste.
* Fixed auto-indent manner when selection bound exists.
2004-10-17
version 0.7.3.1:
* Fixed seg-fault caused by search_string (thanks UTSUMI Hirosi).
2004-10-15
version 0.7.3:
* Added drag and drop func (still single file only).
* Fixed initial value of search_string.
* Fixed cancel button action of font dialog.
* Fixed capital W input using with old GTK+.
* Added Traditional Chinese translation (thanks OLS3).
2004-10-01
version 0.7.2:
* Added "display line numbers" func.
* Added "toggle tab width" func (Ctrl+Tab).
* Changed "/File/New" action (create new window).
* Changed description to "simple text editor".
* Added Simplified Chinese translation (thanks Carlos Z.F. Liu).
2004-09-24
version 0.7.1:
* Added auto-indent func.
* Added multi-line indent func.
* Bracket title if the file not exist.
* Changed error message at codeset conversion error.
2004-09-17
version 0.7.0:
* Started recording ChangeLog.
* Added undo/redo func (still not word level).
* Added printing "modified" sign func.
* Removed app name from title.
* Improved auto-detection for windows-125x.
2004-xx-xx
version 0.6.x:
* Implemented gettext.
* Implemented autoconf/automake.
* Added search/replace func.
version 0.5.x:
* Added charset handling func.

365
INSTALL Normal file
View File

@ -0,0 +1,365 @@
Installation Instructions
*************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
Basic Installation
==================
Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
cache files.
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.
4. Type `make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
user, and only the `make install' phase executed with root
privileges.
5. Optionally, type `make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
regular user, particularly if the prior `make install' required
root privileges, verifies that the installation completed
correctly.
6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
7. Often, you can also type `make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.
8. Some packages, particularly those that use Automake, provide `make
distcheck', which can by used by developers to test that all other
targets like `make install' and `make uninstall' work correctly.
This target is generally not run by end users.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'. This
is known as a "VPATH" build.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them. In general, the
default for these options is expressed in terms of `${prefix}', so that
specifying just `--prefix' will affect all of the other directory
specifications that were not explicitly provided.
The most portable way to affect installation locations is to pass the
correct locations to `configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
`make install' command line to change installation locations without
having to reconfigure or recompile.
The first method involves providing an override variable for each
affected directory. For example, `make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
`${prefix}'. Any directories that were specified during `configure',
but not in terms of `${prefix}', must each be overridden at install
time for the entire installation to be relocated. The approach of
makefile variable overrides for each directory variable is required by
the GNU Coding Standards, and ideally causes no recompilation.
However, some platforms have known limitations with the semantics of
shared libraries that end up requiring recompilation when using this
method, particularly noticeable in packages that use GNU Libtool.
The second method involves providing the `DESTDIR' variable. For
example, `make install DESTDIR=/alternate/directory' will prepend
`/alternate/directory' before all installation names. The approach of
`DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of `${prefix}'
at `configure' time.
Optional Features
=================
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Some packages offer the ability to configure how verbose the
execution of `make' will be. For these packages, running `./configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with `make V=1'; while running `./configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with `make V=0'.
Particular systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
to try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
directory contains several dysfunctional programs; working variants of
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
in your `PATH', put it _after_ `/usr/bin'.
On Haiku, software installed for all users goes in `/boot/common',
not `/usr/local'. It is recommended to use the following options:
./configure --prefix=/boot/common
Specifying the System Type
==========================
There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS
KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug. Until the bug is fixed you can use this workaround:
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
`configure' recognizes the following options to control how it
operates.
`--help'
`-h'
Print a summary of all of the options to `configure', and exit.
`--help=short'
`--help=recursive'
Print a summary of the options unique to this package's
`configure', and exit. The `short' variant lists options used
only in the top level, while the `recursive' variant lists options
also present in any nested packages.
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--prefix=DIR'
Use DIR as the installation prefix. *note Installation Names::
for more details, including other options available for fine-tuning
the installation locations.
`--no-create'
`-n'
Run the configure checks, but stop before creating any output
files.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

4
Makefile.am Normal file
View File

@ -0,0 +1,4 @@
SUBDIRS = src data po
EXTRA_DIST = \
intltool-extract.in intltool-merge.in intltool-update.in

707
Makefile.in Normal file
View File

@ -0,0 +1,707 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
compile config.guess config.sub depcomp install-sh missing \
mkinstalldirs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
distdir dist dist-all distcheck
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d "$(distdir)" \
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr "$(distdir)"; }; }
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
ALL_LINGUAS = @ALL_LINGUAS@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLLIBS = @INTLLIBS@
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
INTLTOOL_MERGE = @INTLTOOL_MERGE@
INTLTOOL_PERL = @INTLTOOL_PERL@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
MSGFMT_OPTS = @MSGFMT_OPTS@
MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POSUB = @POSUB@
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = src data po
EXTRA_DIST = \
intltool-extract.in intltool-merge.in intltool-update.in
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
else :; fi
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@$(am__cd) '$(distuninstallcheck_dir)' \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile config.h
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
ctags-recursive install-am install-strip tags-recursive
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
distclean distclean-generic distclean-hdr distclean-tags \
distcleancheck distdir distuninstallcheck dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

0
NEWS Normal file
View File

68
README Normal file
View File

@ -0,0 +1,68 @@
L3afpad - GTK+ based simple text editor
Description
===========
L3afpad is a simple GTK+ text editor that emphasizes simplicity. As development
focuses on keeping weight down to a minimum, only the most essential features
are implemented in the editor. L3afpad is simple to use, is easily compiled,
requires few libraries, and starts up quickly.
This program is released under the GNU General Public License (GPL) version 2,
see the file 'COPYING' for more information.
Features
========
* Codeset option (Some OpenI18N registered)
* Auto codeset detection (UTF-8 and some codesets)
* Unlimitted Undo/Redo
* Auto/Multi-line Indent
* Display line numbers
* Drag and Drop
* Printing
Installation
============
L3afpad requires GTK+-3.x.x libraries.
Simple install procedure:
$ tar xzvf l3afpad-x.x.x.tar.gz # unpack the sources
$ cd l3afpad-x.x.x # change to the toplevel directory
$ ./configure # run the `configure' script
$ make # build L3afpad
[ Become root if necessary ]
# make install-strip # install L3afpad
See the file 'INSTALL' for more detailed information.
Keybindings
===========
Ctrl-N New
Ctrl-O Open
Ctrl-S Save
Shift-Ctrl-S Save As
Ctrl-W Close
Ctrl-P Print
Ctrl-Q Quit
Ctrl-Z Undo
Shift-Ctrl-Z (Ctrl-Y) Redo
Ctrl-X Cut
Ctrl-C Copy
Ctrl-V Paste
Ctrl-A Select All
Ctrl-F Find
Ctrl-G (F3) Find Next
Shift-Ctrl-G (Shift-F3) Find Previous
Ctrl-H (Ctrl-R) Replace
Ctrl-J Jump To
Ctrl-T Always on Top
Ctrl-Tab toggle tab width
Tab with selection bound multi-line indent
Shift-Tab with selection bound multi-line unindent

1818
aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

5
autogen.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
aclocal
autoheader
automake --gnu --add-missing --copy
autoconf

142
compile Normal file
View File

@ -0,0 +1,142 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand `-c -o'.
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file `INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
esac
ofile=
cfile=
eat=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we strip `-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

1533
config.guess vendored Normal file

File diff suppressed because it is too large Load Diff

85
config.h.in Normal file
View File

@ -0,0 +1,85 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if Emacs key theme is enabled. */
#undef ENABLE_EMACS
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
/* Define if print feature is enabled. */
#undef ENABLE_PRINT
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#undef HAVE_BIND_TEXTDOMAIN_CODESET
/* Define to 1 if you have the `dcgettext' function. */
#undef HAVE_DCGETTEXT
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define the location where the catalogs will be installed */
#undef LOCALEDIR
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION

1693
config.sub vendored Normal file

File diff suppressed because it is too large Load Diff

7885
configure vendored Executable file

File diff suppressed because it is too large Load Diff

36
configure.ac Normal file
View File

@ -0,0 +1,36 @@
AC_INIT(L3afpad, 0.8.18.1.1, caleb@calno.com)
AM_INIT_AUTOMAKE($PACKAGE_TARNAME, $PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
AC_PROG_INTLTOOL(, no-xml) # require >= 0.31 for autoreconf
AC_PROG_CC
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wextra"
fi
AM_PROG_CC_C_O
PKG_CHECK_MODULES(GTK, gtk+-3.0)
AC_ARG_ENABLE(print,
AC_HELP_STRING([--disable-print], [force to disable print feature]))
if test "$enable_print" != "no"; then
PKG_CHECK_EXISTS(gtk+-3.0 >= 3.0.10,
AC_DEFINE(ENABLE_PRINT, 1, [Define if print feature is enabled.]))
fi
AC_ARG_ENABLE(emacs,
AC_HELP_STRING([--enable-emacs], [implement Emacs key theme (experimental)]),
AC_DEFINE(ENABLE_EMACS, 1, [Define if Emacs key theme is enabled.])
)
GETTEXT_PACKAGE="$PACKAGE"
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(LOCALEDIR)
AC_OUTPUT([
Makefile
src/Makefile
data/Makefile
po/Makefile.in
])

11
data/Makefile.am Normal file
View File

@ -0,0 +1,11 @@
desktopdir = $(datadir)/applications
desktop_in_files = l3afpad.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = l3afpad.png l3afpad.xpm
EXTRA_DIST = \
$(desktop_DATA) $(desktop_in_files) \
$(pixmaps_DATA)

420
data/Makefile.in Normal file
View File

@ -0,0 +1,420 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = data
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pixmapsdir)"
DATA = $(desktop_DATA) $(pixmaps_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALL_LINGUAS = @ALL_LINGUAS@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLLIBS = @INTLLIBS@
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
INTLTOOL_MERGE = @INTLTOOL_MERGE@
INTLTOOL_PERL = @INTLTOOL_PERL@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
MSGFMT_OPTS = @MSGFMT_OPTS@
MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POSUB = @POSUB@
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
desktopdir = $(datadir)/applications
desktop_in_files = l3afpad.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = l3afpad.png l3afpad.xpm
EXTRA_DIST = \
$(desktop_DATA) $(desktop_in_files) \
$(pixmaps_DATA)
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu data/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-desktopDATA: $(desktop_DATA)
@$(NORMAL_INSTALL)
test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)"
@list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
done
uninstall-desktopDATA:
@$(NORMAL_UNINSTALL)
@list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(desktopdir)" && rm -f $$files
install-pixmapsDATA: $(pixmaps_DATA)
@$(NORMAL_INSTALL)
test -z "$(pixmapsdir)" || $(MKDIR_P) "$(DESTDIR)$(pixmapsdir)"
@list='$(pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapsdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapsdir)" || exit $$?; \
done
uninstall-pixmapsDATA:
@$(NORMAL_UNINSTALL)
@list='$(pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(pixmapsdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(pixmapsdir)" && rm -f $$files
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pixmapsdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-desktopDATA install-pixmapsDATA
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-desktopDATA uninstall-pixmapsDATA
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am \
install-desktopDATA install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-pixmapsDATA install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am uninstall uninstall-am uninstall-desktopDATA \
uninstall-pixmapsDATA
@INTLTOOL_DESKTOP_RULE@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

86
data/l3afpad.desktop Normal file
View File

@ -0,0 +1,86 @@
[Desktop Entry]
Encoding=UTF-8
Name=L3afpad
Name[bg]=L3afpad
Name[br]=L3afpad
Name[ca]=L3afpad
Name[cs]=L3afpad
Name[da]=L3afpad
Name[de]=L3afpad
Name[el]=L3afpad
Name[eo]=L3afpad
Name[es]=L3afpad
Name[eu]=L3afpad
Name[fi]=L3afpad
Name[fr]=L3afpad
Name[ga]=L3afpad
Name[gl]=L3afpad
Name[he]=L3afpad
Name[hu]=L3afpad
Name[id]=L3afpad
Name[it]=L3afpad
Name[ja]=L3afpad
Name[ko]=L3afpad
Name[lt]=L3afpad
Name[lv]=L3afpad
Name[nl]=L3afpad
Name[nn]=L3afpad
Name[pl]=L3afpad
Name[pt]=L3afpad
Name[pt_BR]=L3afpad
Name[ru]=L3afpad
Name[sk]=L3afpad
Name[sl]=L3afpad
Name[sr]=L3afpad
Name[sv]=L3afpad
Name[ta]=L3afpad
Name[tr]=L3afpad
Name[uk]=L3afpad
Name[vi]=L3afpad
Name[zh_CN]=L3afpad
Name[zh_TW]=L3afpad
Comment=Simple text editor
Comment[bg]=Опростен текстов редактор
Comment[br]=Embanner testennou eeun
Comment[ca]=Editor de text simple
Comment[cs]=Jednoduchý textový editor
Comment[da]=Enkel tekstbehandler
Comment[de]=Einfacher Texteditor
Comment[el]=Απλός επεξεργαστής κειμένου
Comment[eo]=Simpla tekstredaktilo
Comment[es]=Editor de texto simple
Comment[eu]=Testu editore sinplea
Comment[fi]=Yksinkertainen tekstieditori
Comment[fr]=Un éditeur de texte tout simple
Comment[ga]=Eagarthóir simplí
Comment[gl]=Editor de texto sinxelo
Comment[he]=עורך טקסט פשוט
Comment[hu]=Egyszerű szöveg szerkesztő
Comment[id]=Penyunting teks sederhana
Comment[it]=Semplice editor di testi
Comment[ja]=
Comment[ko]=
Comment[lt]=Paprastas teksto redaktorius
Comment[lv]=Vienkāršā teksta redaktors
Comment[nl]=Eenvoudige teksteditor
Comment[nn]=Enkel tekstredigering
Comment[pl]=Prosty edytor tekstu
Comment[pt]=Simples editor de texto
Comment[pt_BR]=Editor de texto simples
Comment[ru]=Простой текстовый редактор
Comment[sk]=Jednoduchý textový editor
Comment[sl]=Preprost urejevalnik besedila
Comment[sr]=Једноставан уређивач текста
Comment[sv]=Enkel textredigerare
Comment[ta]=ி ி
Comment[tr]=Basit metin düzenleyicisi
Comment[uk]=Проситий текстовий редактор
Comment[vi]=Mt trình son tho văn bn đơn gin
Comment[zh_CN]=
Comment[zh_TW]=
Exec=l3afpad %f
Icon=l3afpad
Terminal=false
Type=Application
MimeType=text/plain
Categories=GTK;Utility;TextEditor;

10
data/l3afpad.desktop.in Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
_Name=L3afpad
_Comment=Simple text editor
Exec=l3afpad %f
Icon=l3afpad
Terminal=false
Type=Application
MimeType=text/plain
Categories=GTK;Utility;TextEditor;

BIN
data/l3afpad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

180
data/l3afpad.xpm Normal file
View File

@ -0,0 +1,180 @@
/* XPM */
static char *l3afpad[] = {
/* columns rows colors chars-per-pixel */
"32 32 142 2 ",
" c #5D8404",
". c #5E8903",
"X c #648C04",
"o c #698F03",
"O c #678E0E",
"+ c #6C9403",
"@ c #6F9903",
"# c #719603",
"$ c #739B03",
"% c #7A9E03",
"& c #7B9F0A",
"* c #7B9D17",
"= c #77A203",
"- c #7DA204",
"; c #82A505",
": c #85A905",
"> c #8AAD06",
", c #82A40B",
"< c #89A709",
"1 c #86A909",
"2 c #8AAD0A",
"3 c #8CB106",
"4 c #8CB009",
"5 c #90B207",
"6 c #92B40C",
"7 c #97BA0B",
"8 c #9ABC0D",
"9 c #85AB14",
"0 c #8AAD13",
"q c #84A218",
"w c #8EB111",
"e c #8CB11A",
"r c #94B613",
"t c #95B811",
"y c #9CBD14",
"u c #95B51B",
"i c #9BBC1B",
"p c #A0BF11",
"a c #8CAE27",
"s c #90AB28",
"d c #91B020",
"f c #9DBC21",
"g c #98B62B",
"h c #9BB92B",
"j c #9CB73B",
"k c #A1BC3B",
"l c #9EC016",
"z c #9FC01F",
"x c #A1C10D",
"c c #A3C413",
"v c #A2C21C",
"b c #A8C71A",
"n c #ABCA1D",
"m c #A2C123",
"M c #A8C721",
"N c #A7C824",
"B c #ADCC22",
"V c #A6C52C",
"C c #A8C72D",
"Z c #ABCC2A",
"A c #B0D025",
"S c #A8C730",
"D c #ADCB32",
"F c #A8C339",
"G c #AFCC3D",
"H c #B3CE3F",
"J c #B0D036",
"K c #B3D23C",
"L c #B8D438",
"P c #8CAE4A",
"I c #94AF40",
"U c #96B156",
"Y c #9DBB51",
"T c #A2BA4B",
"R c #A4BD55",
"E c #A7C143",
"W c #A8C541",
"Q c #ACC843",
"! c #B3CD41",
"~ c #B3CB4C",
"^ c #B5D342",
"/ c #B8D24B",
"( c #ACC55A",
") c #B8CE59",
"_ c #BED851",
"` c #BED45A",
"' c #A6C066",
"] c #B8CE64",
"[ c #B7CE6E",
"{ c #B8CC6A",
"} c #BCD06F",
"| c #B9CD7C",
" . c #BAD075",
".. c #BED17B",
"X. c #C0D561",
"o. c #C5DB66",
"O. c #C1D76B",
"+. c #C5DB6A",
"@. c #C2D573",
"#. c #C2D579",
"$. c #C7DA7D",
"%. c #C9DC7B",
"&. c #B8CA80",
"*. c #B6CA8E",
"=. c #BFCF9A",
"-. c #C4D582",
";. c #CCDC85",
":. c #C5D58F",
">. c #CCDB8D",
",. c #CCDB96",
"<. c #C1D09D",
"1. c #CBD79C",
"2. c #D0DD93",
"3. c #D3DF9D",
"4. c #D3E291",
"5. c #D4E299",
"6. c #D9E79B",
"7. c #C7D7A6",
"8. c #C6D3AA",
"9. c #CEDBAF",
"0. c #CBD6B3",
"q. c #CDD8B4",
"w. c #D4DEB6",
"e. c #DAE8A1",
"r. c #D8E3AA",
"t. c #DBE4BB",
"y. c #DFE8BC",
"u. c #E0ECB4",
"i. c #E2EBBB",
"p. c #DAE2C9",
"a. c #E3EAC6",
"s. c #E4ECCC",
"d. c #E9F0CA",
"f. c #EAF0D0",
"g. c #EDF2DB",
"h. c #EAEFE0",
"j. c #EDF2E3",
"k. c #EFF2E8",
"l. c #F6F8EC",
"z. c #FCFCF7",
"x. c #FEFEFD",
"c. c None",
/* pixels */
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.=.w.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.} { -.r.g.l.c.c.c.c.c.c.c.c.c.<.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.( r 5 8 m k ` 5.i.c.c.c.c.x.j.9.j.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.T d r r r 7 5 7 y ! c.c.c.c.h.q.j.x.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.I & < u i f y y p c ! c.c.c.p.0.k.x.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.q % , u m V V f y z ~ c.c.8.&.;.e.u.c.c.c.c.c.c.c.",
"c.c.c.c.c.t.j - - % , w f S D C z Q s.8.| H J H V 2.c.c.c.c.c.c.",
"c.c.c.c.c.] > : - ; : ; > i V D V a U R G D G N v ` c.c.c.c.c.c.",
"c.c.c.c.>.f 5 > ; - % ; ; ; , q 9 O 1 i V D J J J +.c.c.c.c.c.",
"c.c.c.c.@.7 5 ; - # # o o o # % $ X # w y m D ^ ^ Z X.c.c.c.c.c.",
"c.c.c.c.~ 7 < % # # # # % % % % X # , 2 y v N J K L / c.c.c.c.c.",
"c.c.c.c.T h s q < % # - ; % # X X % : 1 t y v N N Z ^ c.c.c.c.c.",
"c.c.c.c.c.c.t.1.T ; - $ $ $ + . + ; : 2 7 y m v i i S c.c.c.c.c.",
"c.c.c.c.c.c.c.c.k - - = - - X $ % , 2 : 6 y i i i i c.c.c.c.c.c.",
"c.c.c.c.c.c.c.y.u ; - - - + X - - : 4 4 6 t l x i F c.c.c.c.c.c.",
"c.c.c.c.c.c.c.a.g ; - - $ X $ - ; 2 t 4 4 7 c 8 m @.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.f.f - $ - $ @ $ = - 2 f w 4 l b x ~ c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.3.u - - = $ @ @ $ - 4 #...4 l n n ! c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.@.w = $ $ = @ @ = - 5 $.g.g l n A _ c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.~ 2 - $ @ = $ $ - 4 l O.c.) c B ^ 4.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.~ : = @ @ @ @ = - 6 m %.c.4.A L 6.z.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.{ = + @ = $ @ = 3 6 ..c.c.c.+.+.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.Y + $ e e - = 9 W $.a.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.P ' | :.,.[ ( .d.z.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.*.7.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.",
"c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c."
};

589
depcomp Normal file
View File

@ -0,0 +1,589 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Run PROGRAMS ARGS to compile a file, generating dependencies
as side-effects.
Environment variables:
depmode Dependency tracking mode.
source Source file read by `PROGRAMS ARGS'.
object Object file output by `PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputing dependencies.
libtool Whether libtool is used (yes/no).
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "depcomp $scriptversion"
exit $?
;;
esac
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
depfile=${depfile-`echo "$object" |
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
## the command line argument order; so add the flags where they
## appear in depend2.am. Note that the slowdown incurred here
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
for arg
do
case $arg in
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
*) set fnord "$@" "$arg" ;;
esac
shift # fnord
shift # $arg
done
"$@"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.u
tmpdepfile2=$base.u
tmpdepfile3=$dir.libs/$base.u
"$@" -Wc,-M
else
tmpdepfile1=$dir$base.u
tmpdepfile2=$dir$base.u
tmpdepfile3=$dir$base.u
"$@" -M
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Intel's C compiler understands `-MD -MF file'. However on
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using \ :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp2)
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
# compilers, which have integrated preprocessors. The correct option
# to use with these is +Maked; it writes dependencies to a file named
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
"$@" -Wc,+Maked
else
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir$base.d
"$@" +Maked
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
# Add `dependent.h:' lines.
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
# With Tru64 cc, shared objects can also be used to make a
# static library. This mechanism is used in libtool 1.4 series to
# handle both shared and static libraries in a single compilation.
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
#
# With libtool 1.5 this exception was removed, and libtool now
# generates 2 separate objects for the 2 libraries. These two
# compilations output dependencies in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
tmpdepfile2=$dir$base.o.d # libtool 1.5
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD
else
tmpdepfile1=$dir$base.o.d
tmpdepfile2=$dir$base.d
tmpdepfile3=$dir$base.d
tmpdepfile4=$dir$base.d
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for `:'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
"$@" $dashmflag |
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

519
install-sh Normal file
View File

@ -0,0 +1,519 @@
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-12-25.00
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
nl='
'
IFS=" "" $nl"
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit=${DOITPROG-}
if test -z "$doit"; then
doit_exec=exec
else
doit_exec=$doit
fi
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_glob='?'
initialize_posix_glob='
test "$posix_glob" != "?" || {
if (set -f) 2>/dev/null; then
posix_glob=
else
posix_glob=:
fi
}
'
posix_mkdir=
# Desired mode of installed file.
mode=0755
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
no_target_directory=
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve the last data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-s $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
"
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *' '* | *'
'* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-s) stripcmd=$stripprog;;
-t) dst_arg=$2
shift;;
-T) no_target_directory=true;;
--version) echo "$0 $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call `install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
trap '(exit $?); exit' 1 2 13 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names starting with `-'.
case $src in
-*) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# Protect names starting with `-'.
case $dst in
-*) dst=./$dst;;
esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
if test -n "$no_target_directory"; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
# Prefer dirname, but fall back on a substitute if dirname fails.
dstdir=`
(dirname "$dst") 2>/dev/null ||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$dst" : 'X\(//\)[^/]' \| \
X"$dst" : 'X\(//\)$' \| \
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$dst" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'
`
test -d "$dstdir"
dstdir_status=$?
fi
fi
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# Create intermediate dirs using mode 755 as modified by the umask.
# This is like FreeBSD 'install' as of 1997-10-28.
umask=`umask`
case $stripcmd.$umask in
# Optimize common cases.
*[2367][2367]) mkdir_umask=$umask;;
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
*[0-7])
mkdir_umask=`expr $umask + 22 \
- $umask % 100 % 40 + $umask % 20 \
- $umask % 10 % 4 + $umask % 2
`;;
*) mkdir_umask=$umask,go-w;;
esac
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
case $umask in
*[123567][0-7][0-7])
# POSIX mkdir -p sets u+wx bits regardless of umask, which
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
;;
*)
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
if (umask $mkdir_umask &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writeable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
ls_ld_tmpdir=`ls -ld "$tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/d" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
fi
trap '' 0;;
esac;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# The umask is ridiculous, or mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
-*) prefix='./';;
*) prefix='';;
esac
eval "$initialize_posix_glob"
oIFS=$IFS
IFS=/
$posix_glob set -f
set fnord $dstdir
shift
$posix_glob set +f
IFS=$oIFS
prefixes=
for d
do
test -z "$d" && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask=$mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
rmtmp=$dstdir/_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
eval "$initialize_posix_glob" &&
$posix_glob set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
$posix_glob set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd -f "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

875
intltool-extract.in Normal file
View File

@ -0,0 +1,875 @@
#!@INTLTOOL_PERL@ -w
# -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
#
# The Intltool Message Extractor
#
# Copyright (C) 2000-2001, 2003 Free Software Foundation.
#
# Intltool is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# Intltool is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
#
# Authors: Kenneth Christiansen <kenneth@gnu.org>
# Darin Adler <darin@bentspoon.com>
#
## Release information
my $PROGRAM = "intltool-extract";
my $PACKAGE = "intltool";
my $VERSION = "0.37.1";
## Loaded modules
use strict;
use File::Basename;
use Getopt::Long;
## Scalars used by the option stuff
my $TYPE_ARG = "0";
my $LOCAL_ARG = "0";
my $HELP_ARG = "0";
my $VERSION_ARG = "0";
my $UPDATE_ARG = "0";
my $QUIET_ARG = "0";
my $SRCDIR_ARG = ".";
my $FILE;
my $OUTFILE;
my $gettext_type = "";
my $input;
my %messages = ();
my %loc = ();
my %count = ();
my %comments = ();
my $strcount = 0;
my $XMLCOMMENT = "";
## Use this instead of \w for XML files to handle more possible characters.
my $w = "[-A-Za-z0-9._:]";
## Always print first
$| = 1;
## Handle options
GetOptions (
"type=s" => \$TYPE_ARG,
"local|l" => \$LOCAL_ARG,
"help|h" => \$HELP_ARG,
"version|v" => \$VERSION_ARG,
"update" => \$UPDATE_ARG,
"quiet|q" => \$QUIET_ARG,
"srcdir=s" => \$SRCDIR_ARG,
) or &error;
&split_on_argument;
## Check for options.
## This section will check for the different options.
sub split_on_argument {
if ($VERSION_ARG) {
&version;
} elsif ($HELP_ARG) {
&help;
} elsif ($LOCAL_ARG) {
&place_local;
&extract;
} elsif ($UPDATE_ARG) {
&place_normal;
&extract;
} elsif (@ARGV > 0) {
&place_normal;
&message;
&extract;
} else {
&help;
}
}
sub place_normal {
$FILE = $ARGV[0];
$OUTFILE = "$FILE.h";
my $dirname = dirname ($OUTFILE);
if (! -d "$dirname" && $dirname ne "") {
system ("mkdir -p $dirname");
}
}
sub place_local {
$FILE = $ARGV[0];
$OUTFILE = fileparse($FILE, ());
if (!-e "tmp/") {
system("mkdir tmp/");
}
$OUTFILE = "./tmp/$OUTFILE.h"
}
sub determine_type {
if ($TYPE_ARG =~ /^gettext\/(.*)/) {
$gettext_type=$1
}
}
## Sub for printing release information
sub version{
print <<_EOF_;
${PROGRAM} (${PACKAGE}) $VERSION
Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Written by Kenneth Christiansen, 2000.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_EOF_
exit;
}
## Sub for printing usage information
sub help {
print <<_EOF_;
Usage: ${PROGRAM} [OPTION]... [FILENAME]
Generates a header file from an XML source file.
It grabs all strings between <_translatable_node> and its end tag in
XML files. Read manpage (man ${PROGRAM}) for more info.
--type=TYPE Specify the file type of FILENAME. Currently supports:
"gettext/glade", "gettext/ini", "gettext/keys"
"gettext/rfc822deb", "gettext/schemas",
"gettext/scheme", "gettext/xml", "gettext/quoted",
"gettext/quotedxml"
-l, --local Writes output into current working directory
(conflicts with --update)
--update Writes output into the same directory the source file
reside (conflicts with --local)
--srcdir Root of the source tree
-v, --version Output version information and exit
-h, --help Display this help and exit
-q, --quiet Quiet mode
Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE")
or send email to <xml-i18n-tools\@gnome.org>.
_EOF_
exit;
}
## Sub for printing error messages
sub error{
print STDERR "Try `${PROGRAM} --help' for more information.\n";
exit;
}
sub message {
print "Generating C format header file for translation.\n" unless $QUIET_ARG;
}
sub extract {
&determine_type;
&convert;
open OUT, ">$OUTFILE";
binmode (OUT) if $^O eq 'MSWin32';
&msg_write;
close OUT;
print "Wrote $OUTFILE\n" unless $QUIET_ARG;
}
sub convert {
## Reading the file
{
local (*IN);
local $/; #slurp mode
open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!";
$input = <IN>;
}
&type_ini if $gettext_type eq "ini";
&type_keys if $gettext_type eq "keys";
&type_xml if $gettext_type eq "xml";
&type_glade if $gettext_type eq "glade";
&type_scheme if $gettext_type eq "scheme";
&type_schemas if $gettext_type eq "schemas";
&type_rfc822deb if $gettext_type eq "rfc822deb";
&type_quoted if $gettext_type eq "quoted";
&type_quotedxml if $gettext_type eq "quotedxml";
}
sub entity_decode_minimal
{
local ($_) = @_;
s/&apos;/'/g; # '
s/&quot;/"/g; # "
s/&amp;/&/g;
return $_;
}
sub entity_decode
{
local ($_) = @_;
s/&apos;/'/g; # '
s/&quot;/"/g; # "
s/&lt;/</g;
s/&gt;/>/g;
s/&amp;/&/g;
return $_;
}
sub escape_char
{
return '\"' if $_ eq '"';
return '\n' if $_ eq "\n";
return '\\\\' if $_ eq '\\';
return $_;
}
sub escape
{
my ($string) = @_;
return join "", map &escape_char, split //, $string;
}
sub type_ini {
### For generic translatable desktop files ###
while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) {
if (defined($2)) {
$comments{$3} = $2;
}
$messages{$3} = [];
}
}
sub type_keys {
### For generic translatable mime/keys files ###
while ($input =~ /^\s*_\w+=(.*)$/mg) {
$messages{$1} = [];
}
}
sub type_xml {
### For generic translatable XML files ###
my $tree = readXml($input);
parseTree(0, $tree);
}
sub print_var {
my $var = shift;
my $vartype = ref $var;
if ($vartype =~ /ARRAY/) {
my @arr = @{$var};
print "[ ";
foreach my $el (@arr) {
print_var($el);
print ", ";
}
print "] ";
} elsif ($vartype =~ /HASH/) {
my %hash = %{$var};
print "{ ";
foreach my $key (keys %hash) {
print "$key => ";
print_var($hash{$key});
print ", ";
}
print "} ";
} else {
print $var;
}
}
# Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment)
sub getAttributeString
{
my $sub = shift;
my $do_translate = shift || 1;
my $language = shift || "";
my $translate = shift;
my $result = "";
foreach my $e (reverse(sort(keys %{ $sub }))) {
my $key = $e;
my $string = $sub->{$e};
my $quote = '"';
$string =~ s/^[\s]+//;
$string =~ s/[\s]+$//;
if ($string =~ /^'.*'$/)
{
$quote = "'";
}
$string =~ s/^['"]//g;
$string =~ s/['"]$//g;
## differences from intltool-merge.in.in
if ($key =~ /^_/) {
$comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT;
$messages{entity_decode($string)} = [];
$$translate = 2;
}
## differences end here from intltool-merge.in.in
$result .= " $key=$quote$string$quote";
}
return $result;
}
# Verbatim copy from intltool-merge.in.in
sub getXMLstring
{
my $ref = shift;
my $spacepreserve = shift || 0;
my @list = @{ $ref };
my $result = "";
my $count = scalar(@list);
my $attrs = $list[0];
my $index = 1;
$spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/));
$spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/));
while ($index < $count) {
my $type = $list[$index];
my $content = $list[$index+1];
if (! $type ) {
# We've got CDATA
if ($content) {
# lets strip the whitespace here, and *ONLY* here
$content =~ s/\s+/ /gs if (!$spacepreserve);
$result .= $content;
}
} elsif ( "$type" ne "1" ) {
# We've got another element
$result .= "<$type";
$result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements
if ($content) {
my $subresult = getXMLstring($content, $spacepreserve);
if ($subresult) {
$result .= ">".$subresult . "</$type>";
} else {
$result .= "/>";
}
} else {
$result .= "/>";
}
}
$index += 2;
}
return $result;
}
# Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed
# Translate list of nodes if necessary
sub translate_subnodes
{
my $fh = shift;
my $content = shift;
my $language = shift || "";
my $singlelang = shift || 0;
my $spacepreserve = shift || 0;
my @nodes = @{ $content };
my $count = scalar(@nodes);
my $index = 0;
while ($index < $count) {
my $type = $nodes[$index];
my $rest = $nodes[$index+1];
traverse($fh, $type, $rest, $language, $spacepreserve);
$index += 2;
}
}
# Based on traverse() in intltool-merge.in.in
sub traverse
{
my $fh = shift; # unused, to allow us to sync code between -merge and -extract
my $nodename = shift;
my $content = shift;
my $language = shift || "";
my $spacepreserve = shift || 0;
if ($nodename && "$nodename" eq "1") {
$XMLCOMMENT = $content;
} elsif ($nodename) {
# element
my @all = @{ $content };
my $attrs = shift @all;
my $translate = 0;
my $outattr = getAttributeString($attrs, 1, $language, \$translate);
if ($nodename =~ /^_/) {
$translate = 1;
$nodename =~ s/^_//;
}
my $lookup = '';
$spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/));
$spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/));
if ($translate) {
$lookup = getXMLstring($content, $spacepreserve);
if (!$spacepreserve) {
$lookup =~ s/^\s+//s;
$lookup =~ s/\s+$//s;
}
if ($lookup && $translate != 2) {
$comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT;
$messages{$lookup} = [];
} elsif ($translate == 2) {
translate_subnodes($fh, \@all, $language, 1, $spacepreserve);
}
} else {
$XMLCOMMENT = "";
my $count = scalar(@all);
if ($count > 0) {
my $index = 0;
while ($index < $count) {
my $type = $all[$index];
my $rest = $all[$index+1];
traverse($fh, $type, $rest, $language, $spacepreserve);
$index += 2;
}
}
}
$XMLCOMMENT = "";
}
}
# Verbatim copy from intltool-merge.in.in, $fh for compatibility
sub parseTree
{
my $fh = shift;
my $ref = shift;
my $language = shift || "";
my $name = shift @{ $ref };
my $cont = shift @{ $ref };
while (!$name || "$name" eq "1") {
$name = shift @{ $ref };
$cont = shift @{ $ref };
}
my $spacepreserve = 0;
my $attrs = @{$cont}[0];
$spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/));
traverse($fh, $name, $cont, $language, $spacepreserve);
}
# Verbatim copy from intltool-merge.in.in
sub intltool_tree_comment
{
my $expat = shift;
my $data = $expat->original_string();
my $clist = $expat->{Curlist};
my $pos = $#$clist;
$data =~ s/^<!--//s;
$data =~ s/-->$//s;
push @$clist, 1 => $data;
}
# Verbatim copy from intltool-merge.in.in
sub intltool_tree_cdatastart
{
my $expat = shift;
my $clist = $expat->{Curlist};
my $pos = $#$clist;
push @$clist, 0 => $expat->original_string();
}
# Verbatim copy from intltool-merge.in.in
sub intltool_tree_cdataend
{
my $expat = shift;
my $clist = $expat->{Curlist};
my $pos = $#$clist;
$clist->[$pos] .= $expat->original_string();
}
# Verbatim copy from intltool-merge.in.in
sub intltool_tree_char
{
my $expat = shift;
my $text = shift;
my $clist = $expat->{Curlist};
my $pos = $#$clist;
# Use original_string so that we retain escaped entities
# in CDATA sections.
#
if ($pos > 0 and $clist->[$pos - 1] eq '0') {
$clist->[$pos] .= $expat->original_string();
} else {
push @$clist, 0 => $expat->original_string();
}
}
# Verbatim copy from intltool-merge.in.in
sub intltool_tree_start
{
my $expat = shift;
my $tag = shift;
my @origlist = ();
# Use original_string so that we retain escaped entities
# in attribute values. We must convert the string to an
# @origlist array to conform to the structure of the Tree
# Style.
#
my @original_array = split /\x/, $expat->original_string();
my $source = $expat->original_string();
# Remove leading tag.
#
$source =~ s|^\s*<\s*(\S+)||s;
# Grab attribute key/value pairs and push onto @origlist array.
#
while ($source)
{
if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/)
{
$source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s;
push @origlist, $1;
push @origlist, '"' . $2 . '"';
}
elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/)
{
$source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s;
push @origlist, $1;
push @origlist, "'" . $2 . "'";
}
else
{
last;
}
}
my $ol = [ { @origlist } ];
push @{ $expat->{Lists} }, $expat->{Curlist};
push @{ $expat->{Curlist} }, $tag => $ol;
$expat->{Curlist} = $ol;
}
# Copied from intltool-merge.in.in and added comment handler.
sub readXml
{
my $xmldoc = shift || return;
my $ret = eval 'require XML::Parser';
if(!$ret) {
die "You must have XML::Parser installed to run $0\n\n";
}
my $xp = new XML::Parser(Style => 'Tree');
$xp->setHandlers(Char => \&intltool_tree_char);
$xp->setHandlers(Start => \&intltool_tree_start);
$xp->setHandlers(CdataStart => \&intltool_tree_cdatastart);
$xp->setHandlers(CdataEnd => \&intltool_tree_cdataend);
## differences from intltool-merge.in.in
$xp->setHandlers(Comment => \&intltool_tree_comment);
## differences end here from intltool-merge.in.in
my $tree = $xp->parse($xmldoc);
#print_var($tree);
# <foo><!-- comment --><head id="a">Hello <em>there</em></head><bar>Howdy<ref/></bar>do</foo>
# would be:
# [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar,
# [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ]
return $tree;
}
sub type_schemas {
### For schemas XML files ###
# FIXME: We should handle escaped < (less than)
while ($input =~ /
<locale\ name="C">\s*
(<default>\s*(?:<!--([^>]*?)-->\s*)?(.*?)\s*<\/default>\s*)?
(<short>\s*(?:<!--([^>]*?)-->\s*)?(.*?)\s*<\/short>\s*)?
(<long>\s*(?:<!--([^>]*?)-->\s*)?(.*?)\s*<\/long>\s*)?
<\/locale>
/sgx) {
my @totranslate = ($3,$6,$9);
my @eachcomment = ($2,$5,$8);
foreach (@totranslate) {
my $currentcomment = shift @eachcomment;
next if !$_;
s/\s+/ /g;
$messages{entity_decode_minimal($_)} = [];
$comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment));
}
}
}
sub type_rfc822deb {
### For rfc822-style Debian configuration files ###
my $lineno = 1;
my $type = '';
while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg)
{
my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5);
while ($pre =~ m/\n/g)
{
$lineno ++;
}
$lineno += length($newline);
my @str_list = rfc822deb_split(length($underscore), $text);
for my $str (@str_list)
{
$strcount++;
$messages{$str} = [];
$loc{$str} = $lineno;
$count{$str} = $strcount;
my $usercomment = '';
while($pre =~ s/(^|\n)#([^\n]*)$//s)
{
$usercomment = "\n" . $2 . $usercomment;
}
$comments{$str} = $tag . $usercomment;
}
$lineno += ($text =~ s/\n//g);
}
}
sub rfc822deb_split {
# Debian defines a special way to deal with rfc822-style files:
# when a value contain newlines, it consists of
# 1. a short form (first line)
# 2. a long description, all lines begin with a space,
# and paragraphs are separated by a single dot on a line
# This routine returns an array of all paragraphs, and reformat
# them.
# When first argument is 2, the string is a comma separated list of
# values.
my $type = shift;
my $text = shift;
$text =~ s/^[ \t]//mg;
return (split(/, */, $text, 0)) if $type ne 1;
return ($text) if $text !~ /\n/;
$text =~ s/([^\n]*)\n//;
my @list = ($1);
my $str = '';
for my $line (split (/\n/, $text))
{
chomp $line;
if ($line =~ /^\.\s*$/)
{
# New paragraph
$str =~ s/\s*$//;
push(@list, $str);
$str = '';
}
elsif ($line =~ /^\s/)
{
# Line which must not be reformatted
$str .= "\n" if length ($str) && $str !~ /\n$/;
$line =~ s/\s+$//;
$str .= $line."\n";
}
else
{
# Continuation line, remove newline
$str .= " " if length ($str) && $str !~ /\n$/;
$str .= $line;
}
}
$str =~ s/\s*$//;
push(@list, $str) if length ($str);
return @list;
}
sub type_quoted {
while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) {
my $message = $1;
my $before = $`;
$message =~ s/\\\"/\"/g;
$before =~ s/[^\n]//g;
$messages{$message} = [];
$loc{$message} = length ($before) + 2;
}
}
sub type_quotedxml {
while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) {
my $message = $1;
my $before = $`;
$message =~ s/\\\"/\"/g;
$message = entity_decode($message);
$before =~ s/[^\n]//g;
$messages{$message} = [];
$loc{$message} = length ($before) + 2;
}
}
sub type_glade {
### For translatable Glade XML files ###
my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message";
while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) {
# Glade sometimes uses tags that normally mark translatable things for
# little bits of non-translatable content. We work around this by not
# translating strings that only includes something like label4 or window1.
$messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/;
}
while ($input =~ /<items>(..[^<]*)<\/items>/sg) {
for my $item (split (/\n/, $1)) {
$messages{entity_decode($item)} = [];
}
}
## handle new glade files
while ($input =~ /<(property|atkproperty|col)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) {
$messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/;
if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) {
$comments{entity_decode($3)} = entity_decode($2) ;
}
}
while ($input =~ /<atkaction\s+action_name="([^>]*)"\s+description="([^>]+)"\/>/sg) {
$messages{entity_decode_minimal($2)} = [];
}
}
sub type_scheme {
my ($line, $i, $state, $str, $trcomment, $char);
for $line (split(/\n/, $input)) {
$i = 0;
$state = 0; # 0 - nothing, 1 - string, 2 - translatable string
while ($i < length($line)) {
if (substr($line,$i,1) eq "\"") {
if ($state == 2) {
$comments{$str} = $trcomment if ($trcomment);
$messages{$str} = [];
$str = '';
$state = 0; $trcomment = "";
} elsif ($state == 1) {
$str = '';
$state = 0; $trcomment = "";
} else {
$state = 1;
$str = '';
if ($i>0 && substr($line,$i-1,1) eq '_') {
$state = 2;
}
}
} elsif (!$state) {
if (substr($line,$i,1) eq ";") {
$trcomment = substr($line,$i+1);
$trcomment =~ s/^;*\s*//;
$i = length($line);
} elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) {
$trcomment = "";
}
} else {
if (substr($line,$i,1) eq "\\") {
$char = substr($line,$i+1,1);
if ($char ne "\"" && $char ne "\\") {
$str = $str . "\\";
}
$i++;
}
$str = $str . substr($line,$i,1);
}
$i++;
}
}
}
sub msg_write {
my @msgids;
if (%count)
{
@msgids = sort { $count{$a} <=> $count{$b} } keys %count;
}
else
{
@msgids = sort keys %messages;
}
for my $message (@msgids)
{
my $offsetlines = 1;
$offsetlines++ if $message =~ /%/;
if (defined ($comments{$message}))
{
while ($comments{$message} =~ m/\n/g)
{
$offsetlines++;
}
}
print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n"
if defined $loc{$message};
print OUT "/* ".$comments{$message}." */\n"
if defined $comments{$message};
print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/;
my @lines = split (/\n/, $message, -1);
for (my $n = 0; $n < @lines; $n++)
{
if ($n == 0)
{
print OUT "char *s = N_(\"";
}
else
{
print OUT " \"";
}
print OUT escape($lines[$n]);
if ($n < @lines - 1)
{
print OUT "\\n\"\n";
}
else
{
print OUT "\");\n";
}
}
}
}

1506
intltool-merge.in Normal file

File diff suppressed because it is too large Load Diff

1166
intltool-update.in Normal file

File diff suppressed because it is too large Load Diff

502
lgpl-2.1.txt Normal file
View File

@ -0,0 +1,502 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

367
missing Normal file
View File

@ -0,0 +1,367 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
run=:
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.ac; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
msg="missing on your system"
case $1 in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
shift
"$@" && exit 0
# Exit code 63 means version mismatch. This often happens
# when the user try to use an ancient version of a tool on
# a file that requires a minimum version. In this case we
# we should proceed has if the program had been absent, or
# if --run hadn't been passed.
if test $? = 63; then
run=:
msg="probably too old"
fi
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
--run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
autom4te touch the output file, or create a stub one
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
exit $?
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
esac
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
# the program).
case $1 in
lex|yacc)
# Not GNU programs, they don't have --version.
;;
tar)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
exit 1
fi
;;
*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
# Could not run --version or --help. This is probably someone
# running `$TOOL --version' or `$TOOL --help' to check whether
# $TOOL exists and not knowing $TOOL uses missing.
exit 1
fi
;;
esac
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
case $1 in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case $f in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
autom4te)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
proper tools for further handling them.
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n "$sed_output"`
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo "#! /bin/sh"
echo "# Created by GNU Automake missing as a replacement of"
echo "# $ $@"
echo "exit 0"
chmod +x $file
exit 1
fi
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if test $# -ne 1; then
eval LASTARG="\${$#}"
case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if test ! -f y.tab.h; then
echo >y.tab.h
fi
if test ! -f y.tab.c; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if test $# -ne 1; then
eval LASTARG="\${$#}"
case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if test -f "$SRCFILE"; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if test ! -f lex.yy.c; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
help2man)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
file=`echo "$*" | sed -n "$sed_output"`
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
exit 1
fi
;;
makeinfo)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
file=`echo "$*" | sed -n "$sed_output"`
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '
/^@setfilename/{
s/.* \([^ ]*\) *$/\1/
p
q
}' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
# If the file does not exist, the user really needs makeinfo;
# let's fail without touching anything.
test -f $file || exit 1
touch $file
;;
tar)
shift
# We have already tried tar in the generic part.
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case $firstarg in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
case $firstarg in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
;;
esac
fi
echo 1>&2 "\
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
exit 1
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and is $msg.
You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

161
mkinstalldirs Normal file
View File

@ -0,0 +1,161 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2006-05-11.19
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
IFS=" "" $nl"
errstatus=0
dirmode=
usage="\
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Create each directory DIR (with mode MODE, if specified), including all
leading file name components.
Report bugs to <bug-automake@gnu.org>."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage"
exit $?
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--version)
echo "$0 $scriptversion"
exit $?
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
# mkdir -p a/c at the same time, both will detect that a is missing,
# one will create a, then the other will try to create a and die with
# a "File exists" error. This is a problem when calling mkinstalldirs
# from a parallel make. We use --version in the probe to restrict
# ourselves to GNU mkdir, which is thread-safe.
case $dirmode in
'')
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
test -d ./-p && rmdir ./-p
test -d ./--version && rmdir ./--version
fi
;;
*)
if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
test ! -d ./--version; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
else
# Clean up after NextStep and OpenStep mkdir.
for d in ./-m ./-p ./--version "./$dirmode";
do
test -d $d && rmdir $d
done
fi
;;
esac
for file
do
case $file in
/*) pathcomp=/ ;;
*) pathcomp= ;;
esac
oIFS=$IFS
IFS=/
set fnord $file
shift
IFS=$oIFS
for d
do
test "x$d" = x && continue
pathcomp=$pathcomp$d
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp=$pathcomp/
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

291
po/ChangeLog Normal file
View File

@ -0,0 +1,291 @@
2010-12-07 Jorma Karvonen <karvonen.jorma@gmail.com>
* fi.po: Updated Finnish translation.
2010-12-03 Leandro Regueiro <leandro.regueiro@gmail.com>
* gl.po: Added Galician translation.
2010-07-13 Benno Schulenberg <benno@vertaalt.nl>
* eo.po: Added Esperanto translation.
2010-05-05 Kalman Kemenczy <kkemenczy@gmail.com>
* hu.po: Updated Hungarian translation.
2009-09-19 Clytie Siddall <clytie@riverland.net.au>
* vi.po: Updated Vietnamese translation.
2009-09-10 Jay A. Fleming <tito.nehru.naser@gmail.com>
* sr.po: Added Serbian translation.
2009-07-30 Rihards Prieditis <rprieditis@gmail.com>
* lv.po: Updated Latvian translation.
2009-07-06 Eivind <meinmycell-lists@yahoo.no>
* nn.po: Added Norwegian Nynorsk translation.
2009-07-06 Alan Monfort <alan.monfort@free.fr>
* br.po: Added Breton translation.
2009-06-28 Mario Blattermann <mario.blaettermann@t-online.de>
* de.po: Updated German translation.
2009-06-25 Marc Veillet <scouigne@gmail.com>
* fr.po: Updated French translation.
2009-06-25 Andhika Padmawan <andhika.padmawan@gmail.com>
* id.po: Updated Indonesian translation.
2009-06-25 Lucas Vieites <lucas@codexion.com>
* es.po: Updated Spanish translation.
2009-06-25 Michal Trzebiatowski <hippie_1968@hotmail.com>
* pl.po: Updated Polish translation.
2009-05-08 Alan Pepelko <alan.pepelko@gmail.com>
* sl.po: Added Slovenian translation.
2008-12-07 Vincenzo Campanella <vinz65@gmail.com>
* it.po: Updated Italian translation.
2008-09-15 Marc Veillet <scouigne@gmail.com>
* fr.po: Updated French translation.
2008-08-25 Joe Hansen <joedalton2@yahoo.dk>
* da.po: Added Danish translation.
2008-07-24 Andhika Padmawan <andhika.padmawan@gmail.com>
* id.po: Added Indonesian translation.
2008-07-21 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
2008-05-08 Leslie Harlley Watter <leslie@watter.org>
* pt_BR.po: Added Brazilian Portuguese translation.
2008-03-20 Wei-Lun Chao <chaoweilun@gmail.com>
* zh_TW.po: Updated Traditional Chinese translation.
2008-01-26 LI Daobing <lidaobing@gmail.com>
* zh_CN.po: Updated Simplified Chinese translation.
2008-01-15 Kevin Scannell <kscanne@gmail.com>
* ga.po: Updated Irish translation.
2008-01-15 Benno Schulenberg <benno@vertaalt.nl>
* nl.po: Updated Dutch translation.
2008-01-15 Clytie Siddall <clytie@riverland.net.au>
* vi.po: Updated Vietnamese translation.
2008-01-15 Mikel Olasagasti <hey_neken@mundurat.net>
* eu.po: Added Basque translation.
2007-07-14 Clytie Siddall <clytie@riverland.net.au>
* vi.po: Updated Vietnamese translation.
2007-06-25 LI Daobing <lidaobing@gmail.com>
* zh_CN.po: Updated Simplified Chinese translation.
2007-03-13 Youri Bulka <jblk@icmail.net>
* uk.po: Added Ukrainian translation.
2007-02-16 Reviczky Adam Janos <reviczky@freemail.hu>
* hu.po: Updated Hungarian translation.
2006-11-03 Seo Sanghyeon <sanxiyn@gmail.com>
* ko.po: Added Korean translation.
2006-08-29 Andreas Schweitzer <andy@bootblock.de>
* de.po: Updated German translation.
2006-05-20 Yavor Doganov <yavor@doganov.org>
* bg.po: Updated Bulgarian translation.
2006-05-20 Stavros Giannouris <stavrosg2002@freemail.gr>
* el.po: Updated Greek translation.
2006-05-04 Kevin Patrick Scannell <scannell@slu.edu>
* ga.po: Added Irish translation.
2006-04-29 Eero Tamminen <oak@helsinkinet.fi>
* fi.po: Added Finnish translation.
2006-04-20 Wouter Van Hemel <wouter@publica.duodecim.org>
* nl.po: Added Dutch translation.
2005-12-06 Isak Savo <iso01001@student.mdh.se>
* sv.po: Updated Swedish translation.
2005-10-13 OLS3 <ols3@lxer.idv.tw>
* zh_TW.po: Updated Traditional Chinese translation.
2005-09-03 Stavros Giannouris <stavrosg2002@freemail.gr>
* el.po: Added Greek translation.
2005-08-23 Alessio D'Ascanio <g3ntaro@gmail.com>
* it.po: Updated Italian translation.
2005-08-05 Kaya Oguz <kaya@kuzeykutbu.org>
* tr.po: Added Turkish translation.
2005-08-01 Yo'av Moshe <bjesus@gmail.com>
* he.po: Added Hebrew translation.
2005-07-11 Peter Chabada <peter@chabada.sk>
* sk.po: Added Slovak translation.
2005-07-07 Michal Wrobel <wrobel@task.gda.pl>
* pl.po: Updated Polish translation.
2005-05-19 Carlos Z.F. Liu <carlos_liu@yahoo.com>
* zh_CN.po: Updated Simplified Chinese translation.
2005-05-15 Yavor Doganov <yavor@doganov.org>
* bg.po: Updated Bulgarian translation.
2005-05-07 Quy NGUYEN DAI <nguyendaiquy@gmail.com>
* vi.po: Added Vietnamese translation.
2005-05-04 Michal Wrobel <wrobel@task.gda.pl>
* pl.po: Updated Polish translation.
2005-05-03 Yavor Doganov <yavor@doganov.org>
* bg.po: Added Bulgarian translation.
2005-04-30 Reviczky Adam Janos <reviczky@freemail.hu>
* hu.po: Updated Hungarian translation.
2004-12-29 Alan Kelon <alankelon@yahoo.com.br>
* pt.po: Added Portuguese translation.
2004-12-21 Michal Wrobel <wrobel@task.gda.pl>
* pl.po: Added Polish translation.
2004-12-18 Isak Savo <iso01001@student.mdh.se>
* sv.po: Updated Swedish translation.
2004-12-07 Lech Jankovski <godgard@gmail.com>
* lt.po: Added Lithuanian translation.
2004-11-29 Alessio D'Ascanio <g3ntaro@gmail.com>
* it.po: Added Italian translation.
2004-11-25 Vijay Durairaj <vjd81@yahoo.com>
* ta.po: Added Tamil translation.
2004-11-23 David Rosal <davidrr@users.sourceforge.net>
* ca.po: Added Catalan translation.
2004-11-20 Reviczky Adam Janos <reviczky@freemail.hu>
* hu.po: Added Hungarian translation.
2004-11-19 Petr Vyslouzil <evyslouz@volny.cz>
* cs.po: Added Czech translation.
2004-11-14 Ruediger Arp <ruediger@gmx.net>
* de.po: Updated German translation.
2004-11-09 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.in.in: Downgrade to gettext-0.11.4.
2004-11-09 Lucas Vieites <lucas@asixinformatica.com>
* es.po: Added Spanish translation.
2004-11-03 Luc Pionchon <luc@handhelds.org>
* fr.po: Added French translation.
2004-10-28 Sebastian Stach <sebsta@t-online.de>
* de.po: Added German translation.
2004-10-28 Isak Savo <iso01001@student.mdh.se>
* sv.po: Added Swedish translation.
2004-10-24 Artem Vakhitov <temcat@mail.ru>
* ru.po: Added Russian translation.
2004-10-04 OLS3 <ols3@lxer.idv.tw>
* zh_TW.po: Added Traditional Chinese translation.
2004-09-28 Carlos Z.F. Liu <carlos_liu@yahoo.com>
* zh_CN.po: Added Simplified Chinese translation.
2004-09-11 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.in.in: New file, from gettext-0.12.1.
* Rules-quot: New file, from gettext-0.12.1.
* boldquot.sed: New file, from gettext-0.12.1.
* en@boldquot.header: New file, from gettext-0.12.1.
* en@quot.header: New file, from gettext-0.12.1.
* insert-header.sin: New file, from gettext-0.12.1.
* quot.sed: New file, from gettext-0.12.1.
* remove-potcdate.sin: New file, from gettext-0.12.1.

41
po/LINGUAS Normal file
View File

@ -0,0 +1,41 @@
# please keep this list sorted alphabetically
#
bg
br
ca
cs
da
de
el
eo
es
eu
fi
fr
ga
gl
he
hu
id
it
ja
ko
lt
lv
nl
nn
pl
pt
pt_BR
ru
sk
sl
sr
sv
ta
tr
uk
vi
zh_CN
zh_TW

217
po/Makefile.in.in Normal file
View File

@ -0,0 +1,217 @@
# Makefile for program source directory in GNU NLS utilities package.
# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
#
# This file may be copied and used freely without restrictions. It may
# be used in projects which are not available under a GNU Public License,
# but which still want to provide support for the GNU gettext functionality.
#
# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
# instead of PACKAGE and to look for po2tbl in ./ not in intl/
#
# - Modified by jacob berkman <jacob@ximian.com> to install
# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
#
# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
#
# We have the following line for use by intltoolize:
# INTLTOOL_MAKEFILE
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
datarootdir = @datarootdir@
libdir = @libdir@
DATADIRNAME = @DATADIRNAME@
itlocaledir = $(prefix)/$(DATADIRNAME)/locale
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.
# Until it can be supposed, use the safe fallback:
mkdir_p = $(install_sh) -d
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
ALL_LINGUAS = @ALL_LINGUAS@
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi)
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
POTFILES = \
# This comment gets stripped out
CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
.SUFFIXES:
.SUFFIXES: .po .pox .gmo .mo .msg .cat
.po.pox:
$(MAKE) $(GETTEXT_PACKAGE).pot
$(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
.po.mo:
$(MSGFMT) -o $@ $<
.po.gmo:
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<
.po.cat:
sed -f ../intl/po2msg.sed < $< > $*.msg \
&& rm -f $@ && gencat $@ $*.msg
all: all-@USE_NLS@
all-yes: $(CATALOGS)
all-no:
$(GETTEXT_PACKAGE).pot: $(POTFILES)
$(GENPOT)
install: install-data
install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
$(mkdir_p) $$dir; \
if test -r $$lang.gmo; then \
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
else \
$(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
echo "installing $(srcdir)/$$lang.gmo as" \
"$$dir/$(GETTEXT_PACKAGE).mo"; \
fi; \
if test -r $$lang.gmo.m; then \
$(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
else \
if test -r $(srcdir)/$$lang.gmo.m ; then \
$(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
$$dir/$(GETTEXT_PACKAGE).mo.m; \
echo "installing $(srcdir)/$$lang.gmo.m as" \
"$$dir/$(GETTEXT_PACKAGE).mo.m"; \
else \
true; \
fi; \
fi; \
done
# Empty stubs to satisfy archaic automake needs
dvi info tags TAGS ID:
# Define this as empty until I found a useful application.
install-exec installcheck:
uninstall:
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
done
check: all $(GETTEXT_PACKAGE).pot
rm -f missing notexist
srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
if [ -r missing -o -r notexist ]; then \
exit 1; \
fi
mostlyclean:
rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
rm -f .intltool-merge-cache
clean: mostlyclean
distclean: clean
rm -f Makefile Makefile.in POTFILES stamp-it
rm -f *.mo *.msg *.cat *.cat.m *.gmo
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
rm -f Makefile.in.in
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir: $(DISTFILES)
dists="$(DISTFILES)"; \
extra_dists="$(EXTRA_DISTFILES)"; \
for file in $$extra_dists; do \
test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
done; \
for file in $$dists; do \
test -f $$file || file="$(srcdir)/$$file"; \
ln $$file $(distdir) 2> /dev/null \
|| cp -p $$file $(distdir); \
done
update-po: Makefile
$(MAKE) $(GETTEXT_PACKAGE).pot
tmpdir=`pwd`; \
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
echo "$$lang:"; \
result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
if $$result; then \
if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
rm -f $$tmpdir/$$lang.new.po; \
else \
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
:; \
else \
echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
rm -f $$tmpdir/$$lang.new.po; \
exit 1; \
fi; \
fi; \
else \
echo "msgmerge for $$lang.gmo failed!"; \
rm -f $$tmpdir/$$lang.new.po; \
fi; \
done
Makefile POTFILES: stamp-it
@if test ! -f $@; then \
rm -f stamp-it; \
$(MAKE) stamp-it; \
fi
stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
$(SHELL) ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

12
po/POTFILES.in Normal file
View File

@ -0,0 +1,12 @@
src/main.c
src/window.c
src/menu.c
src/callback.c
src/view.c
src/font.c
src/selector.c
src/file.c
src/search.c
# files added by intltool-prepare
data/l3afpad.desktop.in

269
po/bg.po Normal file
View File

@ -0,0 +1,269 @@
# Bulgarian translation of l3afpad.
# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Yavor Doganov <yavor@doganov.org>, 2005, 2006.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2006-05-20 13:05+0300\n"
"Last-Translator: Yavor Doganov <yavor@doganov.org>\n"
"Language-Team: Bulgarian <dict@fsa-bg.org>\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Файл"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Редактиране"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Търсене"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Настройки"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Помощ"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Нов"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Отваряне..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Запазване"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Запазване _като..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Преглед за печат"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Печат..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Изход"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Отмяна"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Повтаряне"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "От_рязване"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Копиране"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "По_ставяне"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Из_триване"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Избор на вси_чко"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Търсене..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Намиране на _следващ"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Намиране на п_редишен"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Замяна..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Отиване на..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Шрифт..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Относно"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Режим с _пренасяне"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Номера на редове"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Автоматичен отстъп"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Опростен текстов редактор, базиран на GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Явор Доганов <yavor@doganov.org>\n"
"\n"
"Проектът за превод на GNOME има нужда от подкрепа.\n"
"Научете повече за нас на http://gnome.cult.bg\n"
"Докладвайте за грешки на http://gnome.cult.bg/bugs"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Запазване на промените в „%s“?"
#: ../src/font.c:44
msgid "Font"
msgstr "Шрифт"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Текущ локал (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Друго кодиране на символите"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Кодиране на _символите:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "„%s“ не се поддържа"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Автоматично"
#: ../src/selector.c:300
msgid "Open"
msgstr "Отваряне"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Запазване като"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Ко_диране на символите:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "„%s“ вече съществува, да се презапише ли?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Неозаглавено"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Превръщането в кодиране „%s“ е невъзможно"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Файлът не може да бъде отворен за запис"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Файлът не може да бъде запазен"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Търсеният низ не е намерен"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Заменяне?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d низа са заменени"
#: ../src/search.c:298
msgid "Replace"
msgstr "Замяна"
#: ../src/search.c:305
msgid "Find"
msgstr "Търсене"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Търсене _на:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Замяна с:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "За_читане на малки/големи"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Замяна на _всички"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Отиване на"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Отиване на ред"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Ред номер:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Опростен текстов редактор"

275
po/br.po Normal file
View File

@ -0,0 +1,275 @@
# Breton translation for L3afpad
# Copyright (C) 2009 Free Software Foundation, Inc.
# This file is distributed under the same license as the L3afpad package.
#
# Denis ARNAUD <denisarnuad@yahoo.fr>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-07-04 16:58+0100\n"
"Last-Translator: Alan Monfort <alan.monfort@free.fr>\n"
"Language-Team: Breton Team <brenux@free.fr>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Breton\n"
"X-Poedit-Country: FRANCE\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Restr"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Embann"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Klask"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Dibarzhiou"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Skoazell"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nevez"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Digerin..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Enrollan"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Enrollan dind_an..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Alberz ar moullan"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Moullan..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Kuitaat"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Dizober"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Adober"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Troc'han"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Eilan"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Pegan"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Dilemel"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Diuzan pep tr_a"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Kavout..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Kavout an hi_ni da heul"
# Attention avec "an hini"
# s'il s'agit d'un mot : ger g. -iou : an hini kent
# pajenn b. -ou : an hini gent
# Kent mute comme un adjectif.
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Kavout an hini ken_t"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Am_savin..."
# [fr]aller a la ligne
# ligne de texte : arroudenn
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Mont da..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Nodrezh..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_A-zivout"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Distro emgefreek d'al linenn"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Niver al linennou/an arroudenn"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_EmDilinennan"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Embanner testennou eeun diazezet war GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Denis ARNAUD <denisarnuad@yahoo.fr>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Enrollan ar c'hemmou dindan '%s' ?"
#: ../src/font.c:44
msgid "Font"
msgstr "Nodrezh"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Lec'hadur bremanel (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Spletad arouezennou all"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Spletad arouezennou :"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "Anskoret eo '%s'"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "EmZinoin"
#: ../src/selector.c:300
msgid "Open"
msgstr "Digerin"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Enrollan dindan"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Bonegan an _arouezenn :"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' zo anezhan endeo. Flastran ?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Hep titl"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "N'haller ket amdrein spletad arouezennou da '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "N'haller ket digerin ar restr da skrivan"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "N'haller ket enrollan ar restr "
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Klask hedad ket kavet"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Amsavin ?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d hedad arouezennou amsavet"
#: ../src/search.c:298
msgid "Replace"
msgstr "Amsavin"
#: ../src/search.c:305
msgid "Find"
msgstr "Kavout"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Kla_sk petra :"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Am_savin gant :"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Teurel evezh eus ar pennlizherennou"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Amsavin pep tr_a"
# [fr]aller a la ligne
# ligne de texte : arroudenn
#: ../src/search.c:406
msgid "Jump To"
msgstr "Mont d'al linenn"
# [fr]aller a la ligne
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Mont d'al linenn"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Niverenn al _linenn :"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Embanner testennou eeun"

263
po/ca.po Normal file
View File

@ -0,0 +1,263 @@
# Catalan translation of L3afpad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# David Rosal <davidrr@users.sourceforge.net> 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.7.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2004-11-04 10:10+0100\n"
"Last-Translator: David Rosal <davidrr@users.sourceforge.net>\n"
"Language-Team: Catalan\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fitxer"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Cercar"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opcions"
#: ../src/menu.c:38
msgid "_Help"
msgstr "A_jut"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nou"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Obrir..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Guardar"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Guardar com _a..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Sortir"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Sortir"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Sortir"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Desfer"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refer"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Tallar"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copiar"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Enganxar"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Es_borrar"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Seleccionar-ho tot"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Cercar..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Cercar el _següent"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Cercar l'_anterior"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Substituir"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Saltar a la _línia..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Tipografia..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Respecte a"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Ajust de línia"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Numerar les línies"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Auto_indentació"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Editor de text simple, basat en GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "David Rosal <davidrr@users.sourceforge.net>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Vols desar els canvis fets a '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Tipografia"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Locale actual (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Una altra codificació"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Codificació:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' no és suportat"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Autodetectar"
#: ../src/selector.c:300
msgid "Open"
msgstr "Obrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Guardar com a"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Codificació de c_aràcters: "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' ja existeix. Vols sobreescriure'l?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sense nom"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "No es pot convertir la codificació a '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "No es pot obrir el fitxer per a escriure"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "No es pot escriure al fitxer"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "No s'ha trobat la cadena desitjada"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Substituir?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "S'han substituit %d cadenes"
#: ../src/search.c:298
msgid "Replace"
msgstr "Substituir"
#: ../src/search.c:305
msgid "Find"
msgstr "Cercar"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Cercar: "
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Substituir per: "
#: ../src/search.c:350
msgid "_Match case"
msgstr "Distingir _majúscules / minúscules"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Substituir-les _totes de cop"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Saltar a"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Saltar"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Número de _línia: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Editor de text simple"

263
po/cs.po Normal file
View File

@ -0,0 +1,263 @@
# Czech translation of l3afpad.
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Petr Vysloužil <evyslouz@volny.cz>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.7.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2004-11-18 23:58+0100\n"
"Last-Translator: Petr Vysloužil <evyslouz@volny.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Soubor"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "Ú_pravy"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Hledat"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Nástroje"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Nápověda"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nový"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Otevřít"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Uložit"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Uložit _jako..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Konec"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Konec"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Konec"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Zpět"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Zn_ovu"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Vyjmout"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopírovat"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "V_ložit"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Odstranit"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Vybrat vše"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Hledat"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Hledat _následující"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Hledat _předchozí"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Nah_radit"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Přejít na"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Písmo"
#: ../src/menu.c:61
msgid "_About"
msgstr "O _aplikaci"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Zalamovat řádky"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Čí_slovat řádky"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Automatické odsazování"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Jednoduchý GTK+ textový editor"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Petr Vyslouzil <evyslouz@volny.cz>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Uložit změny v '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Písmo"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Aktuální locale (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Jiná znaková sada"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Znaková _sada:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' není podporována"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Autodetekce"
#: ../src/selector.c:300
msgid "Open"
msgstr "Otevřít"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Uložit jako"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Kódování znaků:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' již existuje. Přepsat?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Nepojmenovaný"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Nemohu převést znakovou sadu na '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Nemohu otevřít soubor k zápisu"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Nemohu zapsat soubor"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Hledaný řetězec nenalezen"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Nahradit?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "nahrazeno '%d' řetězců"
#: ../src/search.c:298
msgid "Replace"
msgstr "Nahradit"
#: ../src/search.c:305
msgid "Find"
msgstr "Hledat"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Hledat:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Nahra_dit čím:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Rozlišovat velikost písmen"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Nahradit vš_e"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Jit na _řádek"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Přejít"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Číslo řádku:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Jednoduchý textový editor"

280
po/da.po Normal file
View File

@ -0,0 +1,280 @@
# Danish translation for L3afpad.
# Copyright (C) 2008 L3afpad.
# This file is distributed under the same license as the l3afpad package.
# Joe Hansen <joedalton2@yahoo.dk>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-08-24 00:00+0100\n"
"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fil"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Rediger"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Søg"
# Men det er jo ikke rigtigt, altså "options"
# betyder da ikke "funktioner".
# Det må være en eller anden form for specielt brug i OO,
# det kan være at OO folkene ved at det rent faktisk er funktioner der gemmer
# sig i den menu, men det er ikke rigtigt generelt. Når option står i et
# menupunkt sådan som det gør her, så oversættes det til
# "Indstillinger", hvis det ikke er i et menu-punkt er der lidt flere muligheder
# "valgmuligheder" og "indstillinger".
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Indstillinger"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Hjælp"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Ny"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Åbn..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Gem"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Gem _som..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Vis u_dskrift"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Udskriv..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Afslut"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Fortryd"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "G_endan"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "K_lip"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopier"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Sæt i_nd"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Slet"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Marker _alt"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Find..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Find _Næste"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Find _foregående"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Erstat..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Gå til..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Skrifttype..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Om"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Ordombrydning"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Linjenumre"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Automatisk indryk"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "En simpel GTK+-baseret tekstbehandler"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Joe Hansen <joedalton2@yahoo.dk>\n"
"\n"
"Dansk-gruppen <dansk@dansk-gruppen.dk>\n"
"Mere info: http://www.dansk-gruppen.dk"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Gem ændringer til »%s«?"
#: ../src/font.c:44
msgid "Font"
msgstr "Skrifttype"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Nuværende lokalitet (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Andre kodesæt"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Kode_sæt:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "»%s« understøttes ikke"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automatisk detektering"
#: ../src/selector.c:300
msgid "Open"
msgstr "Åbn"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Gem som"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Karakterkodning:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "»%s« eksisterer allerede. Overskriv?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Unavngivet"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Kan ikke konvertere kodesæt til »%s«"
# jeg ville tilføje "..til skrivning (ikke afklaret oversættelse)
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Kan ikke åbne fil"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Kan ikke skrive fil"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Søgestrengen blev ikke fundet"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Erstat?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d strenge erstattet"
#: ../src/search.c:298
msgid "Replace"
msgstr "Erstat"
#: ../src/search.c:305
msgid "Find"
msgstr "Søg"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Sø_g hvad:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Erstat med:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Søgestreng"
# på en gang" ligesom i originalen (ikke afklaret oversættelse af
# den her streng.
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Erstat _alle"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Gå til"
# Måske enkeltords-versionen virker bedre hvis du bruger
# "hop"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Gå"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Linjenummer:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Enkel tekstbehandler"

268
po/de.po Normal file
View File

@ -0,0 +1,268 @@
# German translation of L3afpad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the L3afpad package.
# Sebastian Stach <sebsta@t-online.de>, 2004.
# Ruediger Arp <ruediger@gmx.net>, 2004.
# Mario Blättermann <mario.blaettermann@t-online.de>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-06-28 13:12+0100\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@t-online.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Datei"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Bearbeiten"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Suchen"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Optionen"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Hilfe"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Neu"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "Ö_ffnen"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Speichern"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Speichern _unter"
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Druck_vorschau"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Drucken …"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Beenden"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Rückgängig"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Wiederholen"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Ausschneiden"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopieren"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "E_infügen"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Löschen"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Alles markieren"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Suchen …"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "_Weitersuchen"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "_Rückwärts suchen"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Ersetzen …"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Gehe zu …"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Schriftart …"
#: ../src/menu.c:61
msgid "_About"
msgstr "_Info"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Zeilenumbruch"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Zeilen_nummern"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Auto-Einzug"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Einfacher auf GTK+ basierender Texteditor"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Sebastian Stach <sebsta@t-online.de>\n"
"Ruediger Arp <ruediger@gmx.net>\n"
"Mario Blättermann <mariobl@gnome.org>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Änderungen an »%s« speichern?"
#: ../src/font.c:44
msgid "Font"
msgstr "Schriftart"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Derzeitige Standorteinstellung (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Anderer Zeichensatz"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Zeichensatz:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "»%s« wird nicht unterstützt"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automatisch erkennen"
#: ../src/selector.c:300
msgid "Open"
msgstr "Öffnen"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Speichern unter"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Zeic_henkodierung: "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "»%s« existiert bereits. Überschreiben?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Unbenannt"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Der Zeichensatz kann nicht nach »%s« konvertiert werden"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Die Datei kann nicht zum Schreiben geöffnet werden"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Die Datei kann nicht geschrieben werden"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Gesuchter Text wurde nicht gefunden"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ersetzen?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d Mal gefunden und ersetzt"
#: ../src/search.c:298
msgid "Replace"
msgstr "Ersetzen"
#: ../src/search.c:305
msgid "Find"
msgstr "Suchen"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Suchen nach: "
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Ersetzen durch: "
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Groß-/Kleinschreibung berücksichtigen"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Alles ersetzen"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Gehe zu"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Gehe zu"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Zeilen_nummer: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Einfacher Texteditor"

265
po/el.po Normal file
View File

@ -0,0 +1,265 @@
# Greek translation of l3afpad.pot
# Copyright (C) 2004-2005 Tarot Osuji <tarot@sdf.lonestar.org>
# This file is distributed under the same license as the l3afpad package.
# Stavros Giannouris <stavrosg2002@freemail.gr>, 2005-2006
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2006-04-23 00:52+0200\n"
"Last-Translator: Stavros Giannouris <stavrosg2002@freemail.gr>\n"
"Language-Team: Greek <nls@tux.hellug.gr>\n"
"Language: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Greek\n"
"X-Poedit-Country: GREECE\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Αρχείο"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Επεξεργασία"
#: ../src/menu.c:36
msgid "_Search"
msgstr "Ανα_ζήτηση:"
#: ../src/menu.c:37
msgid "_Options"
msgstr "Ειλογές"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Βοήθεια"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Νέο"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "Άν_οιγμα..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Αοθήκευση"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Αποθήκευση _ως..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Προεπισκόπιση εκτύπωσης"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Ε_κτύπωση..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Έξοδος"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Αναίρεση"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Εανάληψη"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Αποκοπή"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "Α_ντιγραφή"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Επικόλληση"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Διαγραφή"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Επιλογή _όλων"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Εύρεση..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Εύρεση Επόμε_νου"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Εύρεση _προηγούμενου"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Αντικατάσταση..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Μετάβαση σε..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Γραμματοσειρά..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Περί"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Αναδίπλωση λέξεων"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Α_ριθμοί γραμμών"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Αυ_τόματες εσοχές"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Ένας απλός επεξεργαστής κειμένου σε GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Σταύρος Γιαννούρης <stavrosg2002@freemail.gr>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Αποθήκευση αλλαγών στο '%s' ;"
#: ../src/font.c:44
msgid "Font"
msgstr "Γραμματοσειρά"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Τρέχον Locale (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Άλλες κωδικοποίησεις"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Σετ χαρακτήρων:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "το '%s' δεν υποστηρίζεται"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Αυτόματη αναγνώριση"
#: ../src/selector.c:300
msgid "Open"
msgstr "Άνοιγμα"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Αποθήκευση ως"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Κωδικοποίηση χ_αρακτήρων:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Το '%s' υπάρχει ήδη. Να αντικατασταθεί;"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Χωρίς τίτλο"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Αδυναμία μετατροπής της κωδικοσελίδας σε '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Αδυναμία εγγραφής σε αυτό το αρχείο."
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Αδύνατη η εγγραφή του αρχείου"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Δεν βρέθηκε ταίρι"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Αντικατάσταση;"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d επαναλήψεις αντικαταστάθηκαν."
#: ../src/search.c:298
msgid "Replace"
msgstr "Αντικατάσταση"
#: ../src/search.c:305
msgid "Find"
msgstr "Εύρεση"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Εύ_ρεση κειμένου:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Α_ντικατάσταση με:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Ταίριασμα πεζών-κεφαλαίων"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Αντικατάσταση _όλων"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Μετάβαση σε"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Μετάβαση"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Αριθμός γραμμής:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Απλός επεξεργαστής κειμένου"

262
po/eo.po Normal file
View File

@ -0,0 +1,262 @@
# Esperanto translations for l3afpad.
# This file is distributed under the same license as the l3afpad package.
#
# Benno Schulenberg <benno@vertaalt.nl>, 2010.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2010-07-12 20:53+0100\n"
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
"Language: eo\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Dosiero"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Redakti"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Serĉi"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Agordoj"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Helpo"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nova"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Malfermi..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Kon_servi"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Konservi _kiel..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Pres-antaŭ_vido"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Presi..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Eliri"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Malfari"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refari"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Eltondi"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopii"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Alglui"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Forigi"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Elekti ĉio_n"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Trovi..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Trovi sek_van"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Trovi a_ntaŭan"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Anstataŭigi"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Salti al..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Tiparo..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Pri"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Lini_faldo"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Lini_numeroj"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Aŭtomate krommarĝeni"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Simpla GTK+-bazita tekstredaktilo"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Benno Schulenberg <benno@vertaalt.nl>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Ĉu konservi la ŝanĝojn en '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Tiparo"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Nuna lokaĵo (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Alia signaro"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Signaro:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' ne subtenatas"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Aŭtomate detekti"
#: ../src/selector.c:300
msgid "Open"
msgstr "Malfermi"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Konservi kiel"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Signara kodo:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Dosiero '%s' jam ekzistas. Ĉu anstataŭigi?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sentitola"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Ne eblas konverti signaron al '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Ne eblas malfermi dosieron por skribi"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Ne eblas skribi dosieron"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Serĉata ĉeno ne trovitas"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ĉu anstataŭigi?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d ĉenoj anstataŭigitaj"
#: ../src/search.c:298
msgid "Replace"
msgstr "Anstataŭigi"
#: ../src/search.c:305
msgid "Find"
msgstr "Serĉi"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Serĉi kion:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Anstataŭigi per:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Usklece"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Anstataŭigi ĉiuj_n sen demandi"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Salti al"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Salti"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Lini_numero:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Simpla tekstredaktilo"

263
po/es.po Normal file
View File

@ -0,0 +1,263 @@
# Spanish/Spain translation of L3afpad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Lucas Vieites <lucas@codexion.com>,2004-2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-06-24 21:49+0200\n"
"Last-Translator: Lucas Vieites <lucas@codexion.com>\n"
"Language-Team: Spanish <es@li.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Archivo"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Buscar"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opciones"
#: ../src/menu.c:38
msgid "_Help"
msgstr "A_yuda"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nuevo"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Abrir..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Guardar"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Guardar _como..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Vista previa"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Im_primir"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Salir"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Deshacer"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Rehacer"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Cor_tar"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copiar"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Pegar"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Borrar"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Seleccionar _todo"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Buscar"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Buscar el _siguiente"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Buscar el an_terior"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Reemplazar"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Ira a la _línea"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "Tipogra_fía..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Acerca de"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Ajus_te de línea"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Numeración de líneas"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Autoindentación"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Editor de texto simple"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Lucas Vieites <lucas@asixinformatica.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "¿Desea guardar los cambios a «%s»?"
#: ../src/font.c:44
msgid "Font"
msgstr "Tipografía"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Locale actual (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Otro conjunto de códigos"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Con_junto de códigos:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "No se soporta «%s»"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Autodetectar"
#: ../src/selector.c:300
msgid "Open"
msgstr "Abrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Guardar como"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Codificación de c_aracteres:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "«%s» ya existe. ¿Desea sobrescribirlo?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sin nombre"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "No se puede convertir el conjunto de códigos a «%s»"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "No se puede abrir el archivo para escritura"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "No se puede escribir en el archivo"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "No se ha encontrado la cadena buscada"
#: ../src/search.c:189
msgid "Replace?"
msgstr "¿Desea reemplazar?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "Se han reemplazado %d cadenas"
#: ../src/search.c:298
msgid "Replace"
msgstr "Reemplazar"
#: ../src/search.c:305
msgid "Find"
msgstr "Buscar"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Buscar: "
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Reem_plazar con:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "Coi_ncidir con capitalización"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Reemplaz_ar todos"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Ir a"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Saltar"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Número de _línea:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Editor de texto simple"

266
po/eu.po Normal file
View File

@ -0,0 +1,266 @@
# Basque translation for l3afpad.
# Copyright (C) 2008 Free Software Foundation, Inc
# This file is distributed under the same license as the l3afpad package.
# Mikel Olasagasti Uranga <hey_neken@mundurat.net>, 2008.
# Inko Illarramendi Arancibia <inkoia@gmail.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-01-14 21:35+0900\n"
"Last-Translator: Mikel Olasagasti <hey_neken@mundurat.net>\n"
"Language-Team: Basque <translation-team-eu@lists.sourceforge.net>\n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Basque\n"
"X-Poedit-Country: SPAIN\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fitxategia"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editatu"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Bilatu"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Aukerak"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Laguntza"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Berria"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Ireki"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Gorde"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Gorde _Honela..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Inprimatze Aurre_bista"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "In_primatu"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "It_xi"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Desegin"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Be_rregin"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Eba_ki"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopiatu"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Itsatsi"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Ezabatu"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Hautatu Dena"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Bilatu"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Bilatu _hurrengoa"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Bilatu _aurrekoa"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Ordezkatu"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Jauzi Hona..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "Letra _Tipoa..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Honi buruz"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Hitz doiketa"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Lerro Zenbakiak"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Autoindentazioa"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+-n oinarritutako testu editore sinplea"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Inko Illarramendi <inkoia@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Aldaketak '%s'-n gorde?"
#: ../src/font.c:44
msgid "Font"
msgstr "Letra tipoa"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Uneko Locale-a (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Beste Kodeketa Multzoa"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Kodeketa_multzoa:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s'-entzat ez dago sostengurik"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Auto-Detektatu"
#: ../src/selector.c:300
msgid "Open"
msgstr "Ireki"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Gorde Honela"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "K_araktere Kodeketa:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' badago. Gainean idatzi?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Izengabea"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Ezin da kodeketa multzoa '%s'-ra bihurtu"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Ezin da fitxategia idazketarako ireki"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Ezin da fitxategian gorde"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Bilaketa katea ez da aurkitu"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ordezkatu?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d kate ordezkatuta"
#: ../src/search.c:298
msgid "Replace"
msgstr "Ordezkatu"
#: ../src/search.c:305
msgid "Find"
msgstr "Bilatu"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Zer _bilatu:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Zerekin _ordezkatu:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Maiuskulak/minuskulak kointziditu"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Guztiak ordezkatu"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Jauzi"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Jauzi"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Lerro zenbakia:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Testu editore sinplea"

265
po/fi.po Normal file
View File

@ -0,0 +1,265 @@
# Finnish messages for l3afpad.
# Copyright © 2010 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Eero Tamminen <eerot@sf>, 2006.
# Jorma Karvonen <karvonen.jorma@gmail.com>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2010-12-07 13:02+0200\n"
"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Tiedosto"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "Muo_kkaa"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Hae"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Asetukset"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Opaste"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Uusi"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Avaa..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Talle_nna"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Tallenna ni_mellä..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "E_sikatselu"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Tu_losta..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Poistu"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "Per_u"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Uu_delleen"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "L_eikkaa"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "Kop_ioi"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Liitä"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Poista"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Valitse kaikki"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Hae..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Hae _seuraava"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Hae _edellinen"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Korvaa..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Siirry riville..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Kirjasin..."
#: ../src/menu.c:61
msgid "_About"
msgstr "O_hjelmasta"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Rivitys"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Rivi_numerot"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Auto_maattinen sisennys"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+-pohjainen yksinkertainen tekstieditori"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Eero Tamminen, Jorma Karvonen"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Tallenna %s muutokset?"
#: ../src/font.c:44
msgid "Font"
msgstr "Kirjasin"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Nykyinen paikallisasetus (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Toinen koodaus"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Koodaus:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "%s ei ole tuettu"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automaattitunnistus"
#: ../src/selector.c:300
msgid "Open"
msgstr "Avaa"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Tallenna nimellä"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Merkistökoodaus:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "%s on jo olemassa. Korvataanko?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Nimetön"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Koodaukseen %s muunnos ei onnistu"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Tiedoston avaus kirjoitusta varten ei onnistu"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Tiedoston kirjoitus ei onnistu"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Haettua merkkijonoa ei löydy"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Korvaa?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d merkkijonoa korvattu"
#: ../src/search.c:298
msgid "Replace"
msgstr "Korvaa"
#: ../src/search.c:305
msgid "Find"
msgstr "Hae"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Etsi:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Ko_rvaa:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Tarkista pienet/ISOT"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Korvaa kaikki kerralla"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Siirry riville"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Siirry"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Rivinumero:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Yksinkertainen tekstieditori"

268
po/fr.po Normal file
View File

@ -0,0 +1,268 @@
# L3afpad - GTK+ based simple text editor
# Copyright (C) 2004 Tarot Osuji <tarot@sdf.lonestar.org>
# This file is distributed under the same license as the l3afpad package.
# Marc Veillet <scouigne@gmail.com>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-06-25 10:53-0500\n"
"Last-Translator: Marc Veillet <scouigne@gmail.com>\n"
"Language-Team: French <traduc@traduc.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-SourceCharset: iso-8859-1\n"
"X-Poedit-Country: CANADA\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fichier"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Édition"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Rechercher"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Options"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Aide"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nouveau"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Ouvrir..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Enregistrer"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Enregistrer _sous..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Aperçu avant _impression"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Im_primer"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Quitter"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Annuler"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refaire"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Co_uper"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copier"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "C_oller"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Supprimer"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Tout sélectionner"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Rechercher..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Rechercher le _suivant"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Rechercher le _précédent"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Re_mplacer..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Aller à la _ligne..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Fonte..."
#: ../src/menu.c:61
msgid "_About"
msgstr "À _propos"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Retour à la ligne automatique"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Numérotation des lignes"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Indentation automatique"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Un éditeur de texte tout simple, basé sur GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Luc Pionchon <luc@handhelds.org>, Marc Veillet 2009 <scouigne@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Enregistrer les changements pour '%s' ?"
#: ../src/font.c:44
msgid "Font"
msgstr "Fonte"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Locale courante (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Autre jeu de caractères"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Jeu de _caractères : "
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' n'est pas supporté"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Détection automatique"
#: ../src/selector.c:300
msgid "Open"
msgstr "Ouvrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Enregistrer sous"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Jeu de _caractères : "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr ""
"Le fichier '%s' existe déjà. Voulez-vous remplacer le fichier existant par "
"celui-ci ?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sans titre"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Erreur de conversion avec le jeu de caractères '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Impossible d'ouvrir le fichier en écriture"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Impossible d'enregistrer le fichier"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Le texte recherché n'a pas été trouvé"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Remplacer ?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d occurences trouvées et remplacées."
#: ../src/search.c:298
msgid "Replace"
msgstr "Remplacer"
#: ../src/search.c:305
msgid "Find"
msgstr "Trouver"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Rechercher :"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Remplacer _par :"
#: ../src/search.c:350
msgid "_Match case"
msgstr "Respecter la _casse"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Tout remplacer"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Aller à la ligne"
#: ../src/search.c:411
msgid "_Jump"
msgstr "Aller à la ligne"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Numéro de _ligne : "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Un éditeur de texte tout simple"

263
po/ga.po Normal file
View File

@ -0,0 +1,263 @@
# Irish translations for l3afpad.
# Copyright (C) 2005 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Kevin Patrick Scannell <scannell@SLU.EDU>, 2006, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-01-15 15:46-0500\n"
"Last-Translator: Kevin Scannell <kscanne@gmail.com>\n"
"Language-Team: Irish <gaeilge-gnulinux@lists.sourceforge.net>\n"
"Language: ga\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Comhad"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Eagar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Cuardach"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Roghanna"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Cabhair"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nua"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Oscail..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Sábháil"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Sábháil _Mar..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Réamh_amharc Priontála"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Priontáil..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Scoir"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Cealaigh"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Athdhéan"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Gearr"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "Cói_peáil"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "G_reamaigh"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Scrios"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Roghnaigh _Uile"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Aimsigh..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Ar A_ghaidh"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "_Roimhe Seo"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Ionadaigh..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Léim Go..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Cló..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Faoi seo"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Timfhilleadh"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Líne-Uimhreacha"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Eangú Uathoibríoch"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Eagarthóir simplí bunaithe ar GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Kevin Scannell <scannell@slu.edu>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Sábháil athruithe i '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Cló"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Logchaighdeán Reatha (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Ionchódú Eile"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Ionchódú:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "Ní thacaítear le '%s'"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Braith go hUathoibríoch"
#: ../src/selector.c:300
msgid "Open"
msgstr "Oscail"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Sábháil Mar"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Ionc_hódú Carachtar:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Tá '%s' ann cheana. Forscríobh?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Gan Teideal"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Ní féidir an t-ionchódú a thiontú go '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Ní féidir an comhad a oscailt chun scríobh ann"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Ní féidir an comhad a scríobh"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Teaghrán gan aimsiú"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ionadaigh?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "Ionadaíodh %d teaghrán"
#: ../src/search.c:298
msgid "Replace"
msgstr "Ionadaigh"
#: ../src/search.c:305
msgid "Find"
msgstr "Aimsigh"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Cad is mian leat _aimsiú:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Ionadaigh le:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Comhoiriúnaigh an cás"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Ionadaigh d'aon _iarraidh"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Léim Go"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Léim"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Líne-uimhir:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Eagarthóir simplí"

272
po/gl.po Normal file
View File

@ -0,0 +1,272 @@
# Galician translation for l3afpad package.
# This file is distributed under the same license as the l3afpad package.
# Copyright (C) 2010 Leandro Regueiro.
#
# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010.
#
# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
# colaborar connosco, podes atopar máis información en <http://www.trasno.net>
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2010-12-02 10:22+0100\n"
"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
"Language-Team: Galician <proxecto@trasno.net>\n"
"Language: gl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Ficheiro"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Buscar"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opcións"
#: ../src/menu.c:38
msgid "_Help"
msgstr "A_xuda"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Novo"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Abrir"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Gardar"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Gardar _como..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Pre_visualización da impresión"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Imprimir"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Saír"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Desfacer"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refacer"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Cor_tar"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copiar"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Pegar"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "E_liminar"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Seleccionar _todo"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Buscar..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Buscar segu_inte"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Buscar an_terior"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Substituír..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Ir á _liña..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Tipo de letra..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Sobre"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "A_xuste do texto"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Números de _liña"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Sangría automática"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Editor de texto sinxelo baseado en GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Leandro Regueiro <leandro.regueiro@gmail.com>, 2010.\n"
"\n"
"Proxecto Trasno - Adaptación de software libre á lingua galega: Se desexas\n"
"colaborar connosco, podes atopar máis información en <http://www.trasno.net>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Desexa gardar os cambios en '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Tipo de letra"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Configuración rexional actual (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Outra codificación de caracteres"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Codificación de caracteres:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "Non hai compatibilidade con '%s'"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Detectar automaticamente"
#: ../src/selector.c:300
msgid "Open"
msgstr "Abrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Abrir como"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Codificación de caracteres:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' xa existe. Desexa sobrescribilo?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sen nome"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Non foi posíbel converter a codificación de caracteres a '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Non foi posíbel abrir o ficheiro para escribir"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Non foi posíbel escribir o ficheiro"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Non se atopou a cadea de busca"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Desexa substituír?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d cadeas substituídas"
#: ../src/search.c:298
msgid "Replace"
msgstr "Substituír"
#: ../src/search.c:305
msgid "Find"
msgstr "Buscar"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Buscar por:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Substituír _con:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Diferenciar maiúsculas de minúsculas"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Substituír _todo"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Ir á liña"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Ir á liña"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Número de _liña:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Editor de texto sinxelo"

263
po/he.po Normal file
View File

@ -0,0 +1,263 @@
# Hebrew translation of L3afpad.
# Copyright (C) 2005 THE L3afpad'S COPYRIGHT HOLDER
# This file is distributed under the same license as the L3afpad package.
# Yo'av Moshe <black_jesus@myrealbox.com>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.8.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2005-07-31 22:54+0300\n"
"Last-Translator: Yo'av Moshe <black_jesus@myrealbox.com>\n"
"Language-Team: Hebrew\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_קובץ"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_עריכה"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_חיפוש"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_אפשרויות"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_עזרה"
#: ../src/menu.c:39
msgid "_New"
msgstr "_חדש"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_פתח..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_שמור"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "שמור _בשם..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_הדפס..."
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_הדפס..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "ייאה"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_בטל"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "ב_צע שוב"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_גזור"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_העתק"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "ה_דבק"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_מחק"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "בחר בה_כל"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_חפש..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "מצא את ה_בא"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "מצא את ה_קודם"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_החלף"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_עבור אל"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_גופן"
#: ../src/menu.c:61
msgid "_About"
msgstr "_אודות"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "ג_לישת שורות"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_מספרי שורות"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_עימוד אוטומטי"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "עורך טקסט פשוט מבוסס GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Yo´av Moshe <black_jesus@myrealbox.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "לשמור שינויים לקובץ '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "גופן"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "השפה שבשימוש (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "מערך תוים אחר"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_מערך תוים:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' לא נתמך"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "זיהוי אוטומטי"
#: ../src/selector.c:300
msgid "Open"
msgstr "פתח"
#: ../src/selector.c:300
msgid "Save As"
msgstr "שמור בשם"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "מערך תוים:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' כבר קיים. להחליף?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "ללא שם"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "אי-אפשר להמיר את מערך התוים אל '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "אי-אפשר לפתוח קובץ לכתיבה"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "אי-אפשר לכתוב קובץ"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "מחרוזת החיפוש לא נמצאה"
#: ../src/search.c:189
msgid "Replace?"
msgstr "להחליף?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d מחרוזות הוחלפו"
#: ../src/search.c:298
msgid "Replace"
msgstr "החלף"
#: ../src/search.c:305
msgid "Find"
msgstr "חפש"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "מה ל_חפש:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "להח_ליף ב:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "התייחס לאותיות גדולות וקטנות"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "החלף ה_כל בבת אחת"
#: ../src/search.c:406
msgid "Jump To"
msgstr "עבור אל"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_עבור"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_שורה מספר:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "עורך טקסט פשוט"

268
po/hu.po Normal file
View File

@ -0,0 +1,268 @@
# Hungarian translation of L3afpad
# Copyright (C) 2007 Free Software Foundation, Inc.
# This file is distributed under the same license as the L3afpad package.
# Reviczky Ádám János <reviczky@freemail.hu>, 2007.
# Kalman Kemenczy <kkemenczy@gmail.com>, 2010
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2010-05-04 10:02+0200\n"
"Last-Translator: Kalman Kemenczy <kkemenczy@gmail.com>\n"
"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 2.0.2\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fájl"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "Sz_erkesztés"
#: ../src/menu.c:36
msgid "_Search"
msgstr "Keres_és"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Beállítások"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Súgó"
#: ../src/menu.c:39
msgid "_New"
msgstr "Ú_j"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "Megny_itás..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Men_tés"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Ment Má_skent..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Ny_omtatási kép"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Nyomtatás..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Kilépés"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Visszavonás"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Ú_jra"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "K_ivágás"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "M_ásolás"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Beillesztés"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Tö_rlés"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Mindent Kije_lölés"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Keres..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "K_övetkező Keresése"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Elő_ző Keresése"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Csere..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Ugrás..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "Betütí_pus..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Névjegy"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Sortörés"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Sorszá_mok"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Automatikus Be_húzás"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+-ra épülő egyszerű szöveg szerkesztő"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Reviczky Ádám János <reviczky@freemail.hu>\n"
"Kéménczy Kálmán <kkemenczy@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Elmenti a változásokat ide: '%s' ?"
#: ../src/font.c:44
msgid "Font"
msgstr "Betűtípus"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Jelenlegi nyelv (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Más kódtábla"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Kód_tábla:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "A(z) '%s' nem támogatott"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automatikus felismerés"
#: ../src/selector.c:300
msgid "Open"
msgstr "Megnyitás"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Mentés másként"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "K_arakterkódolás:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "A(z) '%s' már létezik. Felülírja?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Névtelen"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "A kódtáblát nem lehet erre konvertálni: '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Nem lehet a fájlt írásra megnyitni"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Nem lehet a fájlt írni"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "A keresett szöveg nem található"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Kicseréli?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "A(z) %d szövegrészlet kicserélve"
#: ../src/search.c:298
msgid "Replace"
msgstr "Csere"
#: ../src/search.c:305
msgid "Find"
msgstr "Keresés"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Keresett szöveg:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Csere erre:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Kis- és nagybetű különbözik"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Mind_et egyszerre cseréli"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Ugrás Ide"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Ugrás"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "S_orszám:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Egyszerű szöveg szerkesztő"

263
po/id.po Normal file
View File

@ -0,0 +1,263 @@
# Indonesian translations for l3afpad package.
# Copyright (C) 2008 THE l3afpad'S COPYRIGHT HOLDER
# This file is distributed under the same license as the l3afpad package.
# Andhika Padmawan <andhika.padmawan@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-06-25 21:35+0700\n"
"Last-Translator: Andhika Padmawan <andhika.padmawan@gmail.com>\n"
"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Berkas"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Sunting"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Telusur"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opsi"
#: ../src/menu.c:38
msgid "_Help"
msgstr "B_antuan"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Baru"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "B_uka..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Simpan"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Simpan Se_bagai..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Pra_tayang Cetak"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Cetak..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Keluar"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Tak Jadi"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Jadi _Lagi"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Po_tong"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Salin"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Rekat"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Hapus"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Pilih Semua"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Cari..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Cari Selan_jutnya"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Cari _Sebelumnya"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Ganti..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Lompat Ke..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Fonta..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Tentang"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Pas Kata"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Nomor Baris"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Inden _Otomatis"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Penyunting teks sederhana berbasis GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Andhika Padmawan <andhika.padmawan@gmail.com>, 2008"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Simpan perubahan ke '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Fonta"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Lokalisasi saat ini (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Set Sandi Lain"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Set _sandi:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' tak didukung"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Deteksi Otomatis"
#: ../src/selector.c:300
msgid "Open"
msgstr "Buka"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Simpan Sebagai"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Pen_yandian Karakter:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' telah ada. Timpa?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Tak ada judul"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Tak dapat konversi set sandi ke '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Tak dapat buka berkas untuk ditulis"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Tak dapat menulis berkas"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Telusur tali tak ditemukan"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ganti?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d tali diganti!"
#: ../src/search.c:298
msgid "Replace"
msgstr "Ganti"
#: ../src/search.c:305
msgid "Find"
msgstr "Cari"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Ca_ri apa:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Ga_nti dengan:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Cocokkan huruf"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Ganti semu_a sekaligus"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Lompat Ke"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Lompat"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Nomor baris:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Penyunting teks sederhana"

266
po/it.po Normal file
View File

@ -0,0 +1,266 @@
# ITALIAN TRANSLATION OF L3AFPAD-0.8.13
# COPYRIGHT (C) 2008 THE L3AFPAD'S COPYRIGHT HOLDER
# This file is distributed under the same license as the l3afpad package.
#
# Alessio D'Ascanio <g3ntaro@gmail.com, 2005
# Vincenzo Campanella <vinz65@gmail.com>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-11-29 18:23+0100\n"
"Last-Translator: Vincenzo Campanella <vinz65@gmail.com>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"First-Translator: Alessio D'Ascanio <g3ntaro@gmail.com>\n"
"X-Generator: KBabel 1.11.4\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_File"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Modifica"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Cerca"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opzioni"
#: ../src/menu.c:38
msgid "_Help"
msgstr "A_iuto"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nuovo"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Apri..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Salva"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Sa_lva come..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Antepri_ma di stampa"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Stam_pa..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Esci"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Annulla"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Ripeti"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Taglia"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copia"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Incolla"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Eli_mina"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Seleziona tutto"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "Tr_ova..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Trova successi_vo"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Trova pr_ecedente"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Sostit_uisci..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Vai a..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Carattere..."
#: ../src/menu.c:61
msgid "_About"
msgstr "I_nformazioni..."
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "A ca_po automatico"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Numeri di riga"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Indentazione _automatica"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Semplice editor di testi basato su GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Vincenzo Campanella (vinz65@gmail.com)"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Salvare le modifiche a «%s»?"
#: ../src/font.c:44
msgid "Font"
msgstr "Carattere"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Localizzazione attuale (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Altra codifica"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Co_difica:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "«%s» non è supportato"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Rilevazione automatica"
#: ../src/selector.c:300
msgid "Open"
msgstr "Apri"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Salva come"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Co_difica del carattere:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "«%s» esiste già. Sovrascriverlo?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Senza titolo"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Impossibile convertire la codifica in «%s»"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Impossibile aprire il file per la scrittura"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Impossibile scrivere il file"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "La stringa cercata non è stata trovata"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Sostituire?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d stringhe sostituite"
#: ../src/search.c:298
msgid "Replace"
msgstr "Sostituisci"
#: ../src/search.c:305
msgid "Find"
msgstr "Trova"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Cerca:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Sostituisci con:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Maiuscole/minuscole"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Sostituisci _tutto"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Vai a"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Vai"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Numero di _riga:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Semplice editor di testi"

263
po/ja.po Normal file
View File

@ -0,0 +1,263 @@
# Japanese translation of L3afpad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the L3afpad package.
# Tarot Osuji <tarot@sdf.lonestar.org>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.8.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2007-05-06 20:26+0900\n"
"Last-Translator: Tarot Osuji <tarot@sdf.lonestar.org>\n"
"Language-Team: Japanese <ja@li.org>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "ファイル(_F)"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "編集(_E)"
#: ../src/menu.c:36
msgid "_Search"
msgstr "検索(_S)"
#: ../src/menu.c:37
msgid "_Options"
msgstr "オプション(_O)"
#: ../src/menu.c:38
msgid "_Help"
msgstr "ヘルプ(_H)"
#: ../src/menu.c:39
msgid "_New"
msgstr "新規(_N)"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "開く(_O)..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "保存(_S)"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "別名で保存(_A)..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "印刷プレビュー(_V)"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "印刷(_P)..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "終了(_Q)"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "元に戻す(_U)"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "やり直し(_R)"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "切り取り(_T)"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "コピー(_C)"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "貼り付け(_P)"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "削除(_D)"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "全て選択(_A)"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "検索(_F)..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "次を検索(_N)"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "前を検索(_P)"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "置換(_R)..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "行へジャンプ(_J)..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "フォント(_F)..."
#: ../src/menu.c:61
msgid "_About"
msgstr "情報(_A)"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "右端で折り返す(_W)"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "行番号を表示(_L)"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "自動インデント(_A)"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+ ベースのシンプルなテキストエディタ"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Tarot Osuji <tarot@sdf.lonestar.org>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "'%s' の変更を保存しますか?"
#: ../src/font.c:44
msgid "Font"
msgstr "フォント"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "現在のロケール (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "その他の文字コード"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "文字コード(_S):"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' はサポートされていません"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "自動検出"
#: ../src/selector.c:300
msgid "Open"
msgstr "開く"
#: ../src/selector.c:300
msgid "Save As"
msgstr "別名で保存"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "文字コード(_H):"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' は既に存在します. 上書きしますか?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "無題"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "文字コードを '%s' に変換できませんでした"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "ファイルを作成できませんでした"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "ファイルに書きこめませんでした"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "検索文字列が見つかりません"
#: ../src/search.c:189
msgid "Replace?"
msgstr "置換しますか?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d 個の文字列を置換しました"
#: ../src/search.c:298
msgid "Replace"
msgstr "置換"
#: ../src/search.c:305
msgid "Find"
msgstr "検索"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "検索する文字列(_N):"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "置換後の文字列(_P):"
#: ../src/search.c:350
msgid "_Match case"
msgstr "大文字と小文字を区別する(_M)"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "全て置換(_A)"
#: ../src/search.c:406
msgid "Jump To"
msgstr "行へジャンプ"
#: ../src/search.c:411
msgid "_Jump"
msgstr "ジャンプ(_J)"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "行番号(_L):"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "シンプルなテキストエディタ"

263
po/ko.po Normal file
View File

@ -0,0 +1,263 @@
# Korean translation of L3afpad
# Copyright (C) 2006 Seo Sanghyeon
# This file is distributed under the same license as the l3afpad package.
# Seo Sanghyeon <sanxiyn@gmail.com>, 2006.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.8.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2006-11-01 10:50+0900\n"
"Last-Translator: Seo Sanghyeon <sanxiyn@gmail.com>\n"
"Language-Team: Korean\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "파일(_F)"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "편집(_E)"
#: ../src/menu.c:36
msgid "_Search"
msgstr "검색(_S)"
#: ../src/menu.c:37
msgid "_Options"
msgstr "설정(_O)"
#: ../src/menu.c:38
msgid "_Help"
msgstr "도움말(_H)"
#: ../src/menu.c:39
msgid "_New"
msgstr "새로 만들기(_N)"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "열기(_O)..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "저장(_S)"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "다른 이름으로 저장(_A)..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "인쇄 미리보기"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "인쇄(_P)..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "끝내기(_Q)"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "실행 취소(_U)"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "다시 실행(_R)"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "잘라내기(_T)"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "복사(_C)"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "붙여넣기(_P)"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "삭제(_D)"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "모두 선택(_A)"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "찾기(_F)..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "다음 찾기(_N)"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "이전 찾기(_P)"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "바꾸기(_R)..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "이동(_J)..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "글꼴(_F)..."
#: ../src/menu.c:61
msgid "_About"
msgstr "정보(_A)"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "자동 줄 바꿈(_W)"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "줄 번호(_L)"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "자동 들여쓰기(_A)"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+로 만든 간단한 텍스트 편집기"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Seo Sanghyeon <sanxiyn@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "'%s'의 변경된 내용을 저장할까요?"
#: ../src/font.c:44
msgid "Font"
msgstr "글꼴"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "현재 로케일 (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr ""
#: ../src/selector.c:165
msgid "Code_set:"
msgstr ""
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr ""
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "자동 선택"
#: ../src/selector.c:300
msgid "Open"
msgstr "열기"
#: ../src/selector.c:300
msgid "Save As"
msgstr "다른 이름으로 저장"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "문자 인코딩(_H):"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s'은(는) 이미 있습니다. 덮어쓸까요?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "제목 없음"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr ""
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr ""
#: ../src/file.c:228
msgid "Can't write file"
msgstr ""
#: ../src/search.c:136
msgid "Search string not found"
msgstr "찾지 못했습니다"
#: ../src/search.c:189
msgid "Replace?"
msgstr "바꿀까요?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d번 바꿨습니다"
#: ../src/search.c:298
msgid "Replace"
msgstr "바꾸기"
#: ../src/search.c:305
msgid "Find"
msgstr "찾기"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "찾을 내용(_N):"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "바꿀 내용(_P):"
#: ../src/search.c:350
msgid "_Match case"
msgstr "대/소문자 구분(_M)"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "모두 바꾸기"
#: ../src/search.c:406
msgid "Jump To"
msgstr "이동"
#: ../src/search.c:411
msgid "_Jump"
msgstr "이동(_J)"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "줄 번호(_L):"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "간단한 텍스트 편집기"

263
po/lt.po Normal file
View File

@ -0,0 +1,263 @@
# Lithuanian translation of l3afpad.
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Lech Jankovski <godgard@gmail.com>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-07-20 21:29-0400\n"
"Last-Translator: Gintautas Miliauskas <gintas@akl.lt>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"Language: lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Failas"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Keisti"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Paieška"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Nustatymai"
#: ../src/menu.c:38
msgid "_Help"
msgstr "P_agalba"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nauja"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Atidaryti..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Įrašyti"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Įrašyti kaip _kaip..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Spaudinio _peržiūra"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Spausdinti"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Iš_eiti"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Atšaukti"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Grąžinti"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Iškirpti"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopijuoti"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Įdė_ti"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Pašalinti"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Pažymėti _viską"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Ieškoti..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Surask _sekantį"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Surask p_raeitą"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "P_akeisti..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Peršokti į..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "Š_riftas..."
#: ../src/menu.c:61
msgid "_About"
msgstr "A_pie"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Teksto _laužymas"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Eilučių numeracija"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Automatinis atitraukimas"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Paprastas teksto redaktorius paremtas GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Lech Jankovski <godgard@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Išsaugoti pokyčius į '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Šriftas"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Esama lokalė (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Kitas kodavimas"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Kodavimas:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "„%s“ nepalaikomas"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automatiškai aptikti"
#: ../src/selector.c:300
msgid "Open"
msgstr "Atverti"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Įrašyti kaip"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Si_mbolių kodavimas:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' jau egzistuoja. Perrašyti?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Bevardis"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Nepavyko pakeisti kodavimo į „%s“"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Neįmanoma atidaryti failo rašymui"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Neįmanoma įrašyti failo"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Ieškomas tekstas nerastas"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Pakeisti?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d tekstų pakeista"
#: ../src/search.c:298
msgid "Replace"
msgstr "Pakeisti"
#: ../src/search.c:305
msgid "Find"
msgstr "Ieškoti"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Ieškoti ko:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "P_akeisti kuo:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Skirti raidžių dydį"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Pakeisti _visus vienu metu"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Peršokti į"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Nušokti"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Eilutės numeris: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Paprastas teksto redaktorius"

267
po/lv.po Normal file
View File

@ -0,0 +1,267 @@
# Latvain translation of l3afpad.
# Copyright (C) 2009 l3afpad
# This file is distributed under the same license as the l3afpad package.
# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-07-30 12:44+0100\n"
"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
"Language: lv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Latvian\n"
"X-Poedit-Country: LATVIA\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
"2);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fails"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Rediģēt"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Meklēt"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Uzstādījumi"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Palīdzība"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Jauns"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Atvērt..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Saglabāt"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Saglabāt _kā..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Drukas priekšs_katījums"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Drukāt..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Iziet"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "At_saukt"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Atjaunot"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Izgriez_t"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopēt"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Ie_līmēt"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Izdzēst"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Atlasīt _visu"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Atrast..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Atrast _nākošo"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Atrast iep_riekšējo"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Ai_zstāt..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Pāriet uz..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Fonts..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Par"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Vārda aplaušana"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Rindu numuri"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Automātiska atkāpe"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Uz GTK+ balstīts vienkāršā teksta redaktors"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Arvis Lācis <arvis.lacis@inbox.lv>, 2009"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Saglabāt izmaiņas \"%s\"?"
#: ../src/font.c:44
msgid "Font"
msgstr "Fonts"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Pašreizējā lokāle (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Citi kodējumi"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Kodē_jums:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' netiek atbalstīts"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automātiska pamanīšana"
#: ../src/selector.c:300
msgid "Open"
msgstr "Atvērt"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Saglabāt kā"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Sim_bola kodējums:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' jau eksistē. Vai pārrakstīt?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Nenosaukts"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Nevar pārvērst kodējumu uz '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Nevar atvērt failu rakstīšanai"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Nevar rakstīt failu"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Meklējamā virkne netika atrasta"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Aizstāt?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d virknes aizstātas"
#: ../src/search.c:298
msgid "Replace"
msgstr "Aizstāt"
#: ../src/search.c:305
msgid "Find"
msgstr "Atrast"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "At_rast ko:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Aizstāt a_r:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Reģistra jūtīgs"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Aizstāt _visu vienlaicīgi"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Pāriet uz"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Pāriet"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Rindas numurs:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Vienkāršā teksta redaktors"

268
po/nl.po Normal file
View File

@ -0,0 +1,268 @@
# Translation of l3afpad-0.8.13 to Dutch.
# Copyright (C) 2004-2006 Tarot Osuji <tarot@sdf.lonestar.org>
# This file is distributed under the same license as the l3afpad package.
#
# Wouter Van Hemel <wouter-oss@publica.duodecim.org>, 2006.
# Benno Schulenberg <benno@vertaalt.nl>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-01-15 15:15+0100\n"
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Bestand"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "Be_werken"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Zoeken"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opties"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Hulp"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nieuw"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Openen..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Op_slaan"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Opslaan _als..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Afdruk_voorbeeld"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Af_drukken..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "A_fsluiten"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Ongedaan maken"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Opnieu_w"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "K_nippen"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopiëren"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Plakken"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Verwijderen"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Alles selecteren"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Zoeken..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "V_olgende zoeken"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Vorig_e zoeken"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Vervangen..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Naar regel..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Lettertype..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Info"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Regel_afbreking"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Regel_nummers"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Automatisch _inspringen"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Eenvoudige teksteditor gebouwd op GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Wouter Van Hemel <wouter-oss@publica.duodecim.org>\n"
"Benno Schulenberg <benno@vertaalt.nl>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Wijzigingen aan '%s' opslaan?"
#: ../src/font.c:44
msgid "Font"
msgstr "Lettertype"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Huidige taalomgeving (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Andere tekencodering"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Teken_codering:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' wordt niet ondersteund"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automatisch detecteren"
#: ../src/selector.c:300
msgid "Open"
msgstr "Openen"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Opslaan als"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Teken_codering:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Bestand '%s' bestaat al. Vervangen?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Naamloos"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Kan de tekenset niet omzetten naar '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Kan het te schrijven bestand niet openen"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Kan bestand niet wegschrijven"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Zoekterm niet gevonden"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Vervangen?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "Er zijn %d vondsten vervangen"
#: ../src/search.c:298
msgid "Replace"
msgstr "Vervangen"
#: ../src/search.c:305
msgid "Find"
msgstr "Zoeken"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Zoeken _naar:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Vervangen _door:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Hoofdlettergevoelig"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Alle v_ondsten vervangen"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Naar regel"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Spring"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Regel_nummer:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Eenvoudige teksteditor"

273
po/nn.po Normal file
View File

@ -0,0 +1,273 @@
# Norwegian Nynorsk translation for l3afpad.
# This file is distributed under the same license as the l3afpad package.
# Robert Grønning <robertg@bitstorm.no>, 2009.
# Åsmund Skjæveland <aasmunds@fys.uio.no>, 2009.
# Eskild Hustvedt <eskildh@gnome.org>, 2009.
# Eivind Ødegård <gingermig@yahoo.no>, 2009.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-07-03 13:59+0100\n"
"Last-Translator: Eivind Ødegård <meinmycell-lists@yahoo.no>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
"Language: nn\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Norwegian Nynorsk\n"
"X-Poedit-Country: NORWAY\n"
"X-Poedit-Basepath: /home/eivind/umseting/l3afpad\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Fil"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "R_ediger"
#: ../src/menu.c:36
msgid "_Search"
msgstr "Søk"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Val"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Hjelp"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Ny"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Opne..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Lagre"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Lagre som..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Førehands_vising"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "S_kriv ut..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Avslu_tt"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "A_ngre"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Gje_r om"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Klypp ut"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "K_opier"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Lim inn"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Slett"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Vel _alt"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Finn..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Finn _neste"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Finn f_ørre"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Byt ut..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Gå til..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "Skrifttype..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Om"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Ordbryting"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Linjenummer"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Autoinnrykk"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Enkel tekstredigerar basert på GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Robert Grønning <robertg@bitstorm.no>\n"
"Åsmund Skjæveland <aasmunds@fys.uio.no>\n"
"Eskild Hustvedt <eskildh@gnome.org>\n"
"Eivind Ødegård <gingermig@yahoo.no\n"
"\n"
"Send feilmeldingar og kommentarar til <i18n-nn@lister.ping.uio.no>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Lagra endringar i «%s»?"
#: ../src/font.c:44
msgid "Font"
msgstr "Skrifttype"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Noverande lokale (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Anna teiknsett"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Teikn_sett:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "«%s» er ikkje støtta"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Finn automatisk"
#: ../src/selector.c:300
msgid "Open"
msgstr "Opne"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Lagre som"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "T_eiknkoding:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Fila «%s» finst allereie. Vil du overskriva ho?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Utan namn"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Kan ikkje konvertera teiknsettet til «%s»"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Klarte ikkje opna fila for lagring"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Klarer ikkje skriva fila"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Fann ikkje søkjetekst"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Byt ut?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "bytte ut %d strengar"
#: ../src/search.c:298
msgid "Replace"
msgstr "Byt ut"
#: ../src/search.c:305
msgid "Find"
msgstr "Finn"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Fi_nn dette:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Byt ut med:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Treff på små/store bokstavar"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Byt ut _alle med ein gong"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Hopp til"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Hopp"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Linjenummer:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Enkel tekstredigering"

342
po/pl.po Normal file
View File

@ -0,0 +1,342 @@
# Polish translation of L3afpad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the L3afpad package.
# Michal Wrobel <wrobel@task.gda.pl>, 2005.
# Michał Trzebiatowski <hippie_1968@hotmail.com>, 2009
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-06-24 21:36+0100\n"
"Last-Translator: Michał Trzebiatowski <hippie_1968@hotmail.com>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Polish\n"
"X-Poedit-Country: POLAND\n"
# src/menu.c:31
#: ../src/menu.c:34
msgid "_File"
msgstr "_Plik"
# src/menu.c:49
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Edycja"
# src/menu.c:69
#: ../src/menu.c:36
msgid "_Search"
msgstr "Wy_szukiwanie"
# src/menu.c:83
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opcje"
# src/menu.c:95
#: ../src/menu.c:38
msgid "_Help"
msgstr "Pomo_c"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nowy"
# src/menu.c:35
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Otwórz..."
# src/selector.c:305
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Zapisz"
# src/menu.c:39
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Z_apisz jako..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Podgląd _wydruku"
# src/menu.c:44
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Wy_drukuj"
# src/menu.c:47
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Za_kończ"
# src/menu.c:51
#: ../src/menu.c:48
msgid "_Undo"
msgstr "Cof_nij"
# src/menu.c:53
#: ../src/menu.c:49
msgid "_Redo"
msgstr "P_onów"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Wytnij"
# src/menu.c:59
#: ../src/menu.c:51
msgid "_Copy"
msgstr "S_kopiuj"
# src/menu.c:61
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Wkl_ej"
# src/menu.c:63
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Usuń"
# src/menu.c:67
#: ../src/menu.c:54
msgid "Select _All"
msgstr "_Zaznacz wszystko"
# src/menu.c:71
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Znajdź..."
# src/menu.c:73
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Znajdź _następny"
# src/menu.c:75
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Znajdź _poprzedni"
# src/search.c:256
# src/search.c:264
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Z_mień..."
# src/search.c:362
# src/search.c:370
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Przejdź do _wiersza"
# src/font.c:44
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Czcionka..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_O programie"
# src/menu.c:87
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Zawijanie linii"
# src/search.c:375
# src/search.c:383
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Numerowanie linii"
# src/menu.c:93
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Automatyczne wcięcia"
# src/callback.c:286
# src/callback.c:292
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Prosty edytor tekstowy oparty na GTK+"
# src/callback.c:294
# src/callback.c:300
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Michał Trzebiatowski <hippie_1968@hotmail.com>"
# src/view.c:62
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Zachować zmiany w '%s'?"
# src/font.c:44
#: ../src/font.c:44
msgid "Font"
msgstr "Czcionka"
# src/selector.c:99
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Bieżące ustawienia regionalne (%s)"
# src/selector.c:130
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Inne kodowanie znaków"
# src/selector.c:170
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Kodowanie znaków:"
# src/selector.c:192
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' nie jest obsługiwany(a)"
# src/selector.c:253
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Autowykrywanie"
# src/selector.c:305
#: ../src/selector.c:300
msgid "Open"
msgstr "Otwórz"
# src/selector.c:305
#: ../src/selector.c:300
msgid "Save As"
msgstr "Zapisz jako"
# src/selector.c:329
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Kodowanie znaków:"
# src/selector.c:400
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' już istnieje. Czy go zastąpić?"
# src/file.c:42
# src/file.c:43
#: ../src/file.c:55
msgid "Untitled"
msgstr "Bez nazwy"
# src/file.c:186
# src/file.c:189
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Nie można przekonwertować znaków do '%s'"
# src/file.c:199
# src/file.c:202
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Nie można otworzyć pliku do zapisu"
# src/file.c:204
# src/file.c:207
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Nie można zapisać pliku"
# src/search.c:132
# src/search.c:138
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Szukany łańcuch nie został znaleziony"
# src/search.c:175
# src/search.c:181
#: ../src/search.c:189
msgid "Replace?"
msgstr "Zastąpić?"
# src/search.c:210
# src/search.c:218
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d łańcuchów zastąpiono"
# src/search.c:256
# src/search.c:264
#: ../src/search.c:298
msgid "Replace"
msgstr "Zastąp"
# src/search.c:263
# src/search.c:271
#: ../src/search.c:305
msgid "Find"
msgstr "Znajdź"
# src/search.c:276
# src/search.c:284
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Znajdź:"
# src/search.c:292
# src/search.c:300
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Z_amień na:"
# src/search.c:306
# src/search.c:314
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Uwzględniaj wielkość liter"
# src/search.c:311
# src/search.c:319
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Zamień _wszystko"
# src/search.c:362
# src/search.c:370
#: ../src/search.c:406
msgid "Jump To"
msgstr "Idź do"
# src/search.c:368
# src/search.c:376
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Idź"
# src/search.c:375
# src/search.c:383
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Numer _linii:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
# l3afpad.desktop.in.h:2
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Prosty edytor tekstu"

263
po/pt.po Normal file
View File

@ -0,0 +1,263 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Alan Kelon Oliveira de Moraes <alankelon@yahoo.com.br>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.7.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2004-12-28 19:56:59-0300\n"
"Last-Translator: Alan Kelon Oliveira de Moraes <alankelon@yahoo.com.br>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Arquivo"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Procurar"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opções"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Ajuda"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Novo"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Abrir"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Salvar"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Salvar _Como"
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Sa_ir"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Sa_ir"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Sa_ir"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Desfazer"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refazer"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "R_ecortar"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copiar"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "C_olar"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Apagar"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Selecionar _Tudo"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Procurar..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "P_rocurar Próximo"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Procurar _Anterior"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Substituir..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Ir para..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Fonte"
#: ../src/menu.c:61
msgid "_About"
msgstr "_Sobre"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Quebrar linha"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Número de linhas"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Auto Indentar"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Simples editor de texto feito em GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Alan Kelon <alankelon@yahoo.com.br>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Salvar modificações em '%s'"
#: ../src/font.c:44
msgid "Font"
msgstr "Fonte"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Localização atual (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Outro conjunto de caracteres"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Conjunto de caracteres"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' não é suportado"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Auto-detectar"
#: ../src/selector.c:300
msgid "Open"
msgstr "Abrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Salvar Como"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Codificação de caracteres: "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' já existe. Sobrescrever?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sem título"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Não foi possível converter o conjuntos de caracteres para '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Não foi possível abrir o arquivo para escrita"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Não foi possível escrever o arquivo"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Palavra(s) não encontrada"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Substituir?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d palavra(s) substituídas"
#: ../src/search.c:298
msgid "Replace"
msgstr "Substituir"
#: ../src/search.c:305
msgid "Find"
msgstr "Procurar"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Procurar o que: "
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Substituir com: "
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Diferenciar maiúsculas e minúsculas"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Substituir _todas de uma vez"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Ir para"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Ir"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Número da linha: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Simples editor de texto"

263
po/pt_BR.po Normal file
View File

@ -0,0 +1,263 @@
# L3afpad translation done by Fábio Antunes <fabio.antunes@hotmail.com>
# Copyright (C) 2008 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Alan Kelon Oliveira de Moraes <alankelon@yahoo.com.br>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-05-07 17:39-0300\n"
"Last-Translator: Leslie Harlley Watter <leslie@watter.org>\n"
"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Arquivo"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Editar"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Procurar"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Opções"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Ajuda"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Novo"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Abrir"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Salvar"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Salvar _Como"
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Pré-_Visualizar Impressão"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Im_primir"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Sa_ir"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Desfazer"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Refazer"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "R_ecortar"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Copiar"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "C_olar"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Remover"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Selecionar _Tudo"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Procurar..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "P_rocurar Próximo"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Procurar _Anterior"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Substituir..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Ir Para..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Fonte"
#: ../src/menu.c:61
msgid "_About"
msgstr "_Sobre"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Quebrar Linha"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Número de Linhas"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Auto Indentar"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Editor de texto simples feito em GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Fábio Antunes <fabio.antunes@hotmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Salvar modificações em '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Fonte"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Idioma Atual (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Outro conjunto de caracteres"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Conjunto de caracteres"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' não é suportado"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Auto-detectar"
#: ../src/selector.c:300
msgid "Open"
msgstr "Abrir"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Salvar Como"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Codificação de Caracteres:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' já existe. Sobrescrever?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Sem Título"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Não foi possível converter o conjunto de caracteres para '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Não foi possível abrir o arquivo para escrita"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Não foi possível escrever no arquivo"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Palavra(s) não encontrada"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Substituir?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d palavra(s) substituídas"
#: ../src/search.c:298
msgid "Replace"
msgstr "Substituir"
#: ../src/search.c:305
msgid "Find"
msgstr "Procurar"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Procurar o que:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Substituir com:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Diferenciar maiúsculas e minúsculas"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Substituir _todos de uma vez"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Ir Para"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Ir"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Número de linhas:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Editor de texto simples"

263
po/ru.po Normal file
View File

@ -0,0 +1,263 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: L3afpad 0.7.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date:2004-10-24 00:40+0400\n"
"Last-Translator: Artem Vakhitov <temcat@mail.ru>\n"
"Language-Team: RUSSIAN <ru@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Файл"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Правка"
#: ../src/menu.c:36
msgid "_Search"
msgstr "П_оиск"
#: ../src/menu.c:37
msgid "_Options"
msgstr "Параметры"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Справка"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Создать"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Открыть..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "Со_хранить"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Сохранить _как..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Вход"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Вход"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Вход"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Отменить"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Ве_рнуть"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Вырезать"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Копировать"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Вст_авить"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Уалить"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "В_ыделить все"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Найти..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Найти след_ующее"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Найти пред_ыдущее"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Заенить..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Перейти к _строке..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Шрифт..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_О программе"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Переносить слова"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Показывать _номера строк"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Автоматический отступ"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Простой текстовый редактор на основе GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Artem Vakhitov <temcat@mail.ru>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Сохранить изменения в '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Шрифт"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Текущая локаль (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Другая кодировка"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Кодировка:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' не поддерживается"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Автоопределение"
#: ../src/selector.c:300
msgid "Open"
msgstr "Открытие файла"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Сохранение файла"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Ко_дировка символов"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' уже существует. Переписать?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Без имени"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Не удалось преобразовать кодировку в '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Не удалось открыть файл для записи"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Не удалось записать файл"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Искомая строка не найдена"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Заменить?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d строк заменено"
#: ../src/search.c:298
msgid "Replace"
msgstr "Замена"
#: ../src/search.c:305
msgid "Find"
msgstr "Поиск"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "На_йти: "
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "З_аменить на: "
#: ../src/search.c:350
msgid "_Match case"
msgstr "Учитывать _регистр"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Заменить _все"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Переход"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Перейти"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Номер строки: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Простой текстовый редактор"

263
po/sk.po Normal file
View File

@ -0,0 +1,263 @@
# Slovak translation of l3afpad.
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Petr Chabada <l3afpad_chabada_sk>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.7.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2005-07-10 21:20+0100\n"
"Last-Translator: Peter Chabada <sk-i18n_chabada_sk>\n"
"Language-Team: Slovak <sk-i18n@linux.sk>\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Súbor"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Upraviť"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Nájsť"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Nástroje"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Pomocník"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nový"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Otvoriť"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Uložiť"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Uložiť _ako..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Tlačiť..."
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Tlačiť..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Koniec"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "Vrátiť _späť"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "O_pakovať vrátené"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Vystrihnúť"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopírovať"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "V_ložiť"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Odstrániť"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Vybr_ať všetko"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Nájsť"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "_Hľadať ďalšie"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Nájsť pre_dchádzajúce"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "N_ahradiť..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Prejsť na _riadok"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Písmo"
#: ../src/menu.c:61
msgid "_About"
msgstr "_O programe"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Zalamovanie textu"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Zobraziť čísla _riadkov"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Povoliť automatické _odsadzovanie"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Jednoduchý textový editor"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Peter Chabada"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Uložiť zmeny v dokumente '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Písmo"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Aktuálne lokálne nastavenie (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Iné kódovanie znakov"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Znaková _ada:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' nie je podporovaná"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Automaticky"
#: ../src/selector.c:300
msgid "Open"
msgstr "Otvoriť"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Uložiť ako"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Kódovanie znakov: "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Súbor '%s' už existuje. Chcete ho nahradiť?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Nepomenovaný dokument"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Nemôžem skonvertovať znakovú sadu na '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Nemôžem otvoriť súbor na zápis"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Nemôžem uložiť súbor na disk"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Hľadaný reťazec nenájdený."
#: ../src/search.c:189
msgid "Replace?"
msgstr "Nahradiť?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "Bolo nahradených '%d' reťazcov."
#: ../src/search.c:298
msgid "Replace"
msgstr "Nahradiť"
#: ../src/search.c:305
msgid "Find"
msgstr "Hľadať"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Náj_sť:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Nahradiť _s:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Rozlišovať veľkosť písmen"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Nahradiť _všetko"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Prejsť na riadok"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Prejsť na riadok"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Číslo _riadku:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Jednoduchý textový editor"

269
po/sl.po Normal file
View File

@ -0,0 +1,269 @@
# Slovenian translations for PACKAGE package
# Slovenski prevodi paketa PACKAGE.
# Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the l3afpad package.
# Alan Pepelko <alan.pepelko@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad-0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-04-28 22:31+0100\n"
"Last-Translator: Alan Pepelko <alan.pepelko@gmail.com>\n"
"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
"X-Poedit-Language: Slovenian\n"
"X-Poedit-Country: SLOVENIA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Datoteka"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Uredi"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Iskanje"
#: ../src/menu.c:37
msgid "_Options"
msgstr "M_ožnosti"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Pomoč"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Nova"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Odpri ..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Shrani"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Shrani _kot ..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Pre_dogled tiskanja"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Na_tisni ..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Iz_hod"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "R_azveljavi"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Uveljavi"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Iz_reži"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopiraj"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Prilepi"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Poči_sti"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Iz_beri vse"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Najdi ..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Najdi na_slednji"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Najdi _prejšnji"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Zamenjaj ..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Poj_di na ..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Pisava ..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_O"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Prelom _besedila"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Številke vrstic"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Zamik prve vrstice"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Preprost urejevalnik besedila temelječ na GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Alan Pepelko <alan.pepelko@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Želite shraniti spremembe v '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Pisava"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Trenutne lokalne nastavitve (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Drug nabor znakov"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Nabor _znakov:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' ni podprt"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Samozaznaj"
#: ../src/selector.c:300
msgid "Open"
msgstr "Odpri"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Shrani kot"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Kodiranje znakov:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Datoteka '%s' že obstaja. Jo želite prepisati?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Neimenovano"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Ni mogoče pretvoriti nabora znakov v '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Ni mogoče odpreti datoteke"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Ni mogoče zapisati datoteke"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Iskanega niza ni mogoče najti"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Želite zamenjati?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d nizov zamenjanih"
#: ../src/search.c:298
msgid "Replace"
msgstr "Zamenjaj"
#: ../src/search.c:305
msgid "Find"
msgstr "Najdi"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Najdi kaj:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Zamenjaj z:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Velikost črk mora ustrezati"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Zamenjaj _vse naenkrat"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Pojdi na"
#: ../src/search.c:411
msgid "_Jump"
msgstr "Po_jdi"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Števi_lka vrstice:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Preprost urejevalnik besedila"

265
po/sr.po Normal file
View File

@ -0,0 +1,265 @@
# Serbian translation for L3afpad package
# Copyright (C) 2004-2007 Tarot Osuji
# This file is distributed under the same license as the L3afpad package.
# Jay Alexander Fleming <tito.nehru.naser@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-08-31 12:59+0100\n"
"Last-Translator: Jay A. Fleming <tito.nehru.naser@gmail.com>\n"
"Language-Team: Serbian <gnu@prevod.org>\n"
"Language: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Датотека"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Уређивање"
#: ../src/menu.c:36
msgid "_Search"
msgstr "Прона_ђи"
#: ../src/menu.c:37
msgid "_Options"
msgstr "Посавке"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Помоћ"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Ново"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Отвори"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Сачувај"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Сачувај _као..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Прегле_д пред штампу"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Штампај..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Изађи"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Опозови"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Понови"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Исеци"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Умножи"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "У_баци"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "Обри_ши"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Изабери _све"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "Претра_жи..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Нађи _следеће"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Нађи прет_ходно"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Зам_ени..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Иди у _ред..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Фонт..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_О програму"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Преломи дуге линије"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Бројеви _линија"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Аутоматско увлачење"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Једноставан GTK+ заснован уређивач текста"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Serbian (sr) — Jay A. Fleming <tito.nehru.naser@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Сачувај промене у „%s“?"
#: ../src/font.c:44
msgid "Font"
msgstr "Фонт"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Текући локалитет (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Друга кодна страница"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Кодна _страница:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "„%s“ није подржан"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Аутоматско препознавање"
#: ../src/selector.c:300
msgid "Open"
msgstr "Отвори"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Сачувај _као..."
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Кодирање _знакова:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Датотека „%s“ већ постоји. Да"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Несачуван документ"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Не могу променити кодну страницу у „%s“"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Не могу да отворим датотеку за писање"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Не могу да пишем у датотеку"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Тражена реч не постоји"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Замени?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d речи је замењено"
#: ../src/search.c:298
msgid "Replace"
msgstr "Замени"
#: ../src/search.c:305
msgid "Find"
msgstr "Нађи"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Шта да _тражим:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "_Замени са:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "Разликуј величину _слова"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "З_амени све"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Иди у ред"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Иди"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Број _линије:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Једноставан уређивач текста"

264
po/sv.po Normal file
View File

@ -0,0 +1,264 @@
# Swedish translation of L3afpad text editor.
# Copyright © 2005 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Isak Savo <iso01001@student.mdh.se>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2005-12-05 20:30+0100\n"
"Last-Translator: Isak Savo <iso01001@student.mdh.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Arkiv"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Redigera"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Sök"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Inställningar"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Hjälp"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Ny"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Öppna..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Spara"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Spara so_m..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Skriv _ut..."
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Skriv _ut..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Avsluta"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Ångra"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Gör om"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Klipp _ut"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Kopiera"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Klistra _in"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Ta bort"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Markera _allt"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Sök..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Sök n_ästa"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Sök före_gående"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Ersätt..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Hoppa till..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Typsnitt..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Om"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Radbrytning"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "Rad_nummer"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Automatisk _indrag"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Enkel GTK+-baserad textredigerare"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Isak Savo <isak.savo@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Spara ändringar till \"%s\"?"
#: ../src/font.c:44
msgid "Font"
msgstr "Typsnitt"
# Här syftar 'Locale' på teckenkodning när man sparar/öppnar dokument.
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Nuvarande lokal (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Annan teckenkodning"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Kodning:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "\"%s\" stöds inte"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Känn av automatiskt"
#: ../src/selector.c:300
msgid "Open"
msgstr "Öppna"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Spara som"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "Tecken_kodning: "
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "\"%s\" finns redan. Vill du skriva över?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Namnlös"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Kan inte konvertera kodning till \"%s\""
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Kan inte öppna fil att skriva till"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Kan inte skriva till fil"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Söksträngen fanns inte"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Ersätt?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d strängar har ersatts"
#: ../src/search.c:298
msgid "Replace"
msgstr "Ersätt"
#: ../src/search.c:305
msgid "Find"
msgstr "Sök"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Sök efter:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Ersätt _med:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Gör skillnad på gemener/VERSALER"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Ändra alla på en gång"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Hoppa till"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Hoppa"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Radnummer: "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Enkel textredigerare"

263
po/ta.po Normal file
View File

@ -0,0 +1,263 @@
# Tamil translation of l3afpad.
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Vijay Durairaj <vjd81@yahoo.com>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.7.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2004-11-25 03:24-0700\n"
"Last-Translator: Vijay Durairaj <vjd81@yahoo.com>\n"
"Language-Team: Tamil <tamilinix@yahoogroups.com>\n"
"Language: ta\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "கோப்பு(_F)"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "தொகு(_E)"
#: ../src/menu.c:36
msgid "_Search"
msgstr "தேடுக(_S)"
#: ../src/menu.c:37
msgid "_Options"
msgstr "தேர்வுகள்(_O)"
#: ../src/menu.c:38
msgid "_Help"
msgstr "உதவி(_H)"
#: ../src/menu.c:39
msgid "_New"
msgstr "புதிது(_N)"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "திற(_O)..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "சேமி(_S)"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "வேறு பேரில் சேமி(_A)..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "வெளிச்செல்(_Q)"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "வெளிச்செல்(_Q)"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "வெளிச்செல்(_Q)"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "கவில் செய்(_U)"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "மீண்டும்(_R)"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "வெட்டு(_T)"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "நகல்(_C)"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "ஒட்டு(_P)"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "நீக்கு(_D)"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "அனைத்தையும் தேர்வு செய்க(_A)"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "கண்டுபிடி(_F).."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "அடுத்ததை கண்டுபிடி(_N)"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "தேடலை பின்னோக்கு(_p)"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "இடமாற்று(_R)..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "இங்கு போ(_J)..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "எழுத்துரு(_F).."
#: ../src/menu.c:61
msgid "_About"
msgstr "பற்றி(_A)"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "சொல் மடிப்பு(_W)"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "வரி எண்கள்(_L)"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "தன்னியக்க தள்ளல்(_A)"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+ சார்ந்த ஒரு எளிமையான உரை பதிப்பான்"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "மாற்றங்களை '%s' இல் சேமி?"
#: ../src/font.c:44
msgid "Font"
msgstr "எழுத்துரு"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "தற்பொழுதுள்ள Locale (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr ""
#: ../src/selector.c:165
msgid "Code_set:"
msgstr ""
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' க்கு ஆதரவு எதுவும் இல்லை"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "தானாக கண்டுபிடி"
#: ../src/selector.c:300
msgid "Open"
msgstr "திற"
#: ../src/selector.c:300
msgid "Save As"
msgstr "எனச் சேமி..."
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr ""
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' ஏற்கனவே உள்ளது. மேல் எழுதவா?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "தலைப்பில்லாதது"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr ""
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "கோப்பை எழுதுவதற்காக திறக்க முடியவில்லை"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "கோப்பை எழுத முடியவில்லை"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "தேடல் சரம் கண்டுபிடிக்க முடியவில்லை"
#: ../src/search.c:189
msgid "Replace?"
msgstr "மாற்றவா?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d சரங்கள் மாற்றப்பட்டுள்ளது"
#: ../src/search.c:298
msgid "Replace"
msgstr "மாற்று"
#: ../src/search.c:305
msgid "Find"
msgstr "கண்டுபிடி"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "எதை கண்டுப்பிடிக்க: (_N)"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "எதை கொண்டு மாற்ற(_P)): "
#: ../src/search.c:350
msgid "_Match case"
msgstr "எழுத்து வகை பொருத்து(_M)"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "எல்லாவற்றையும் ஒரே நேரத்தில் மாற்று(_A)"
#: ../src/search.c:406
msgid "Jump To"
msgstr "இங்கு போ"
#: ../src/search.c:411
msgid "_Jump"
msgstr "தாவு(_J)"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "வரி எண்(_L): "
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "எளிமையான உரை பதிப்பான்"

265
po/tr.po Normal file
View File

@ -0,0 +1,265 @@
# translation of tr.po to Türkçe
# translation of l3afpad.po to Türkçe
# This file is distributed under the same license as the PACKAGE package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
# kaya oğuz <kaya@kuzeykutbu.org>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: tr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2005-08-05 17:26+0300\n"
"Last-Translator: kaya oğuz <kaya@kuzeykutbu.org>\n"
"Language-Team: Türkçe <yerellestirme@kde.org.tr>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.10.2\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Dosya"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "Dü_zenle"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Ara"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Seçenekler"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Yardım"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Yeni"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Aç..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Kaydet"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "_Farklı Kaydet..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Ya_zdır... "
#: ../src/menu.c:45
msgid "_Print..."
msgstr "Ya_zdır... "
#: ../src/menu.c:47
msgid "_Quit"
msgstr "Çı_k"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Geri Al"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "Tekrar _Yap"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "_Kes"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "K_opyala"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "Y_apıştır"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Sil"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Tümünü _Seç"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Bul..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "_Sonrakini Bul"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Ö_ncekini Bul"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "_Değiştir"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Satı_ra Git..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Yazıtipi..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Hakkında"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "_Sözcük Kaydır"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "S_atır Numaraları"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Otomatik Girinti"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "GTK+ tabanlı basit metin düzenleyicisi"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Kaya Oğuz <kaya@kuzeykutbu.org>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Değişiklikler '%s' dosyasına kaydedilsin mi?"
#: ../src/font.c:44
msgid "Font"
msgstr "Yazıtipi"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Geçerli Yer Kodlaması (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Diğer kodlama"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Kodlama:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' desteklenmemektedir"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Otomatik-Belirle"
#: ../src/selector.c:300
msgid "Open"
msgstr "Aç"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Farklı Kaydet"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Karakter Kodlaması:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' dosyası zaten var. Üzerine yazılsın mı?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Başlıksız"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Kodlama '%s' kodlamasına dönüştürülemiyor"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Yazılacak dosya açılamıyor"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Dosyaya yazılamıyor"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Aranan dizgi bulunamadı"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Değiştir?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "%d dizgi değiştirildi"
#: ../src/search.c:298
msgid "Replace"
msgstr "Değiştir"
#: ../src/search.c:305
msgid "Find"
msgstr "Bul"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "Bunu _bul:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Bununla _değiştir:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Büyük/küçük harf eşleştir"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Hepsini bir kerede _değiştir"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Satıra Git"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Git"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Satır Numarası:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Basit metin düzenleyicisi"

266
po/uk.po Normal file
View File

@ -0,0 +1,266 @@
# Ukrainian translations for l3afpad package
# Переклад українською для пакету l3afpad.
# Copyright (C) 2007 Free Software Foundation
# This file is distributed under the same license as the l3afpad package.
# Youri Bulka <jblk@icmail.net>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2007-03-13 11:38+0300\n"
"Last-Translator: Youri Bulka <jblk@icmail.net>\n"
"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Файл"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Редагування"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Пошук"
#: ../src/menu.c:37
msgid "_Options"
msgstr "_Налаштування"
#: ../src/menu.c:38
msgid "_Help"
msgstr "_Довідка"
#: ../src/menu.c:39
msgid "_New"
msgstr "_Новий"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Відкрити"
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Зберегти"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Зберегти _як..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "Попередній перегляд перед друком"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_Друкувати..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "_Вийти"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Скасувати дію"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Повторити дію"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Ви_різати"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Копіювати"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "В_ставити"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Витерти"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Виділити _все"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Знайти..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Знайти _наступне"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Знайти _попереднє"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "Заінити..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "Пере_скочити до..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Шрифт..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Про"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Авто-_поділ на рядки"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Номери лінійок"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "Авто-_відступ"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Простий текстовий редактор, базований на GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Перекладачі"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Зберегти зміни до '%s'?"
#: ../src/font.c:44
msgid "Font"
msgstr "Шрифт"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Дана локаль (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Інше кодування"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "_Кодування:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "'%s' не підтримується"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Авто-визначення"
#: ../src/selector.c:300
msgid "Open"
msgstr "Відкрити"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Зберегти як"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Кодування знаків:"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "'%s' вже існує, переписати замість нього?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Неназваний"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Не можливо перетворити кодування в '%s'"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Не можливо відрити файл для запису"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Не можливо писати у файл"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Такого зразка не знайдено"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Замінити?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "замінено %d зразок(ів)"
#: ../src/search.c:298
msgid "Replace"
msgstr "Замінити"
#: ../src/search.c:305
msgid "Find"
msgstr "Знайти"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Зразок:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Заінити на:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "Звертати увагу на реґістр"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "Замінити _всі"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Перескочити до"
#: ../src/search.c:411
msgid "_Jump"
msgstr "Пере_скочити"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "_Номери лінійок:"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Проситий текстовий редактор"

266
po/vi.po Normal file
View File

@ -0,0 +1,266 @@
# Vietnamese translation for L3afpad.
# Copyright © 2009 Tarot Osuji <tarot@sdf.lonestar.org>.
# This file is distributed under the same license as the l3afpad package.
# Nguyễn Đại Quý <nguyendaiquy@gmail.com>, 2004.
# Clytie Siddall <clytie@riverland.net.au>, 2007-2009.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2009-09-19 18:32+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
"Language: vi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: LocFactoryEditor 1.8\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "_Tập tin"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "_Sửa"
#: ../src/menu.c:36
msgid "_Search"
msgstr "_Tìm kiếm"
#: ../src/menu.c:37
msgid "_Options"
msgstr "Tù_y chọn"
#: ../src/menu.c:38
msgid "_Help"
msgstr "Trợ g_iúp"
#: ../src/menu.c:39
msgid "_New"
msgstr "Mớ_i"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "_Mở..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "_Lưu"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "Lưu _dạng..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "_Xem thử bản in"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "_In..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "T_hoát"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "_Hủy bước"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "_Làm lại"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "Cắ_t"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "_Chép"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "_Dán"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "_Xoá"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "Chọn _tất cả"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "_Tìm..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "Tìm _kế"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "Tìm _lùi"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "T_hay thế..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "_Nhảy tới..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "_Phông..."
#: ../src/menu.c:61
msgid "_About"
msgstr "_Giới thiệu"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "Ngắt _dòng"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "_Số hiệu dòng"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "_Tự thụt lề"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "Một trình soạn thảo văn bản đơn giản dựa trên GTK+"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr "Nhóm Việt hoá Phần mềm Tự do <vi-VN@googlegroups.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "Lưu các thay đổi cho « %s » không?"
#: ../src/font.c:44
msgid "Font"
msgstr "Phông"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "Miền địa phương hiện tại (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "Bảng mã khác"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "Bảng _mã:"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "Không hỗ trợ « %s »"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "Tự động dò tìm"
#: ../src/selector.c:300
msgid "Open"
msgstr "Mở"
#: ../src/selector.c:300
msgid "Save As"
msgstr "Lưu dạng"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "_Bảng mã ký tự :"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "Tập tin « %s » đã có. Ghi đè ?"
#: ../src/file.c:55
msgid "Untitled"
msgstr "Không tên"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "Không thể chuyển đổi bảng mã sang « %s »"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "Không thể mở tập tin để ghi"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "Không thể ghi tập tin"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "Không tìm thấy"
#: ../src/search.c:189
msgid "Replace?"
msgstr "Thay thế ?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "Đã thay thế %d lần"
#: ../src/search.c:298
msgid "Replace"
msgstr "Thay thế"
#: ../src/search.c:305
msgid "Find"
msgstr "Tìm"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "_Tìm kiếm:"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "Thay thế _bởi:"
#: ../src/search.c:350
msgid "_Match case"
msgstr "_Phân biệt chữ hoa/thường"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "_Thay thế tất cả"
#: ../src/search.c:406
msgid "Jump To"
msgstr "Nhảy tới"
#: ../src/search.c:411
msgid "_Jump"
msgstr "_Nhảy"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "Dòng _số :"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "Một trình soạn thảo văn bản đơn giản"

266
po/zh_CN.po Normal file
View File

@ -0,0 +1,266 @@
# Simplified Chinese translation for L3afPad
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# Carlos Z.F. Liu <carlos_liu@yahoo.com>, 2004.
# LI Daobing <lidaobing@gmail.com>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-01-26 10:12+0800\n"
"Last-Translator: LI Daobing <lidaobing@gmail.com>\n"
"Language-Team: Chinese (simplified) <translation-team-zh-cn@lists."
"sourceforge.net>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "文件(_F)"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "编辑(_E)"
#: ../src/menu.c:36
msgid "_Search"
msgstr "搜索(_S)"
#: ../src/menu.c:37
msgid "_Options"
msgstr "选项(_O)"
#: ../src/menu.c:38
msgid "_Help"
msgstr "帮助(_H)"
#: ../src/menu.c:39
msgid "_New"
msgstr "新建(_N)"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "打开(_O)..."
#: ../src/menu.c:41
msgid "_Save"
msgstr "保存(_S)"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "另存为(_A)..."
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "打印预览(_V)"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "打印(_P)..."
#: ../src/menu.c:47
msgid "_Quit"
msgstr "退出(_Q)"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "撤销(_U)"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "重复(_R)"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "剪切(_T)"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "复制(_C)"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "粘贴(_P)"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "删除(_D)"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "选择全部(_A)"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "查找(_F)..."
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "查找下一个(_N)"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "查找上一个(_P)"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "替换(_R)..."
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "跳转到(_J)..."
#: ../src/menu.c:60
msgid "_Font..."
msgstr "字体(_F)..."
#: ../src/menu.c:61
msgid "_About"
msgstr "关于(_A)"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "自动换行(_W)"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "行号(_L)"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "自动缩进(_A)"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "基于 GTK+ 的简易文字编辑器"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"Carlos Z.F. Liu <carlos_liu@yahoo.com>\n"
"LI Daobing <lidaobing@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "将更改保存到“%s”吗"
#: ../src/font.c:44
msgid "Font"
msgstr "字体"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "当前区域 (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "其它编码"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "编码(_S)"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "“%s”不被支持"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "自动探测"
#: ../src/selector.c:300
msgid "Open"
msgstr "打开"
#: ../src/selector.c:300
msgid "Save As"
msgstr "另存为"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "字符编码(_H)"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "文件“%s”已经存在。覆盖它吗"
#: ../src/file.c:55
msgid "Untitled"
msgstr "无标题"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "无法将编码转换到“%s”"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "无法打开要写入的文件"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "无法写入文件"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "找不到搜索字串"
#: ../src/search.c:189
msgid "Replace?"
msgstr "替换吗?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "替换了 %d 个字符串"
#: ../src/search.c:298
msgid "Replace"
msgstr "替换"
#: ../src/search.c:305
msgid "Find"
msgstr "查找"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "查找(_N)"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "替换为(_P)"
#: ../src/search.c:350
msgid "_Match case"
msgstr "区分大小写(_M)"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "全部替换(_A)"
#: ../src/search.c:406
msgid "Jump To"
msgstr "跳转至"
#: ../src/search.c:411
msgid "_Jump"
msgstr "跳转(_J)"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "行号(_L)"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "简易文字编辑器"

267
po/zh_TW.po Normal file
View File

@ -0,0 +1,267 @@
# Traditional Chinese translation for l3afpad.
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is distributed under the same license as the l3afpad package.
# OLS3 <ols3@lxer.idv.tw>, 2005.
# Wei-Lun Chao <chaoweilun@gmail.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: l3afpad 0.8.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-01 15:36+0800\n"
"PO-Revision-Date: 2008-03-20 20:21+0800\n"
"Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n"
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../src/menu.c:34
msgid "_File"
msgstr "檔案(_F)"
#: ../src/menu.c:35
msgid "_Edit"
msgstr "編輯(_E)"
#: ../src/menu.c:36
msgid "_Search"
msgstr "搜尋(_S)"
#: ../src/menu.c:37
msgid "_Options"
msgstr "選項(_O)"
#: ../src/menu.c:38
msgid "_Help"
msgstr "求助(_H)"
#: ../src/menu.c:39
msgid "_New"
msgstr "新建(_N)"
#: ../src/menu.c:40
msgid "_Open..."
msgstr "開啟(_O)…"
#: ../src/menu.c:41
msgid "_Save"
msgstr "儲存(_S)"
#: ../src/menu.c:42
msgid "Save _As..."
msgstr "另存為(_A)…"
#: ../src/menu.c:44
msgid "Print Pre_view"
msgstr "列印預覽(_V)"
#: ../src/menu.c:45
msgid "_Print..."
msgstr "列印(_P)…"
#: ../src/menu.c:47
msgid "_Quit"
msgstr "離開(_Q)"
#: ../src/menu.c:48
msgid "_Undo"
msgstr "回復(_U)"
#: ../src/menu.c:49
msgid "_Redo"
msgstr "重做(_R)"
#: ../src/menu.c:50
msgid "Cu_t"
msgstr "剪下(_T)"
#: ../src/menu.c:51
msgid "_Copy"
msgstr "複製(_C)"
#: ../src/menu.c:52
msgid "_Paste"
msgstr "貼上(_P)"
#: ../src/menu.c:53
msgid "_Delete"
msgstr "刪除(_D)"
#: ../src/menu.c:54
msgid "Select _All"
msgstr "全選(_A)"
#: ../src/menu.c:55
msgid "_Find..."
msgstr "尋找(_F)…"
#: ../src/menu.c:56
msgid "Find _Next"
msgstr "尋找下一個(_N)"
#: ../src/menu.c:57
msgid "Find _Previous"
msgstr "尋找上一個(_P)"
#: ../src/menu.c:58
msgid "_Replace..."
msgstr "置換(_R)…"
#: ../src/menu.c:59
msgid "_Jump To..."
msgstr "跳至(_J)…"
#: ../src/menu.c:60
msgid "_Font..."
msgstr "字型(_F)…"
#: ../src/menu.c:61
msgid "_About"
msgstr "關於(_A)"
#: ../src/menu.c:68
msgid "_Word Wrap"
msgstr "自動換列(_W)"
#: ../src/menu.c:69
msgid "_Line Numbers"
msgstr "列號(_L)"
#: ../src/menu.c:70
msgid "_Auto Indent"
msgstr "自動縮排(_A)"
#: ../src/callback.c:307
msgid "GTK+ based simple text editor"
msgstr "基於 GTK+ 的簡易文字編輯器"
#: ../src/callback.c:313
msgid "translator-credits"
msgstr ""
"OLS3 <ols3@lxer.idv.tw>\n"
"趙惟倫 <chaoweilun@gmail.com>"
#: ../src/view.c:62
#, c-format
msgid "Save changes to '%s'?"
msgstr "要將變更儲存到「%s」"
#: ../src/font.c:44
msgid "Font"
msgstr "字型"
#: ../src/selector.c:95
#, c-format
msgid "Current Locale (%s)"
msgstr "目前語區 (%s)"
#: ../src/selector.c:126
msgid "Other Codeset"
msgstr "其它編碼"
#: ../src/selector.c:165
msgid "Code_set:"
msgstr "編碼(_S):"
#: ../src/selector.c:187
#, c-format
msgid "'%s' is not supported"
msgstr "「%s」尚未支援"
#: ../src/selector.c:248
msgid "Auto-Detect"
msgstr "自動偵測"
#: ../src/selector.c:300
msgid "Open"
msgstr "開啟"
#: ../src/selector.c:300
msgid "Save As"
msgstr "另存新檔"
#: ../src/selector.c:315
msgid "C_haracter Coding:"
msgstr "字元編碼(_H):"
#: ../src/selector.c:373
#, c-format
msgid "'%s' already exists. Overwrite?"
msgstr "檔案「%s」已經存在。要覆蓋它嗎"
#: ../src/file.c:55
msgid "Untitled"
msgstr "未命名"
#: ../src/file.c:210
#, c-format
msgid "Can't convert codeset to '%s'"
msgstr "無法將編碼轉換為「%s」"
#: ../src/file.c:223
msgid "Can't open file to write"
msgstr "無法打開要寫入的檔案"
#: ../src/file.c:228
msgid "Can't write file"
msgstr "無法寫入檔案"
#: ../src/search.c:136
msgid "Search string not found"
msgstr "找不到搜尋字串"
#: ../src/search.c:189
msgid "Replace?"
msgstr "要置換嗎?"
#: ../src/search.c:252
#, c-format
msgid "%d strings replaced"
msgstr "置換了 %d 個字串"
#: ../src/search.c:298
msgid "Replace"
msgstr "置換"
#: ../src/search.c:305
msgid "Find"
msgstr "尋找"
#: ../src/search.c:317
msgid "Fi_nd what:"
msgstr "尋找(_N):"
#: ../src/search.c:336
msgid "Re_place with:"
msgstr "置換成(_P):"
#: ../src/search.c:350
msgid "_Match case"
msgstr "區分大小寫(_M)"
#: ../src/search.c:355
msgid "Replace _all at once"
msgstr "全部置換(_A)"
#: ../src/search.c:406
msgid "Jump To"
msgstr "跳至"
#: ../src/search.c:411
msgid "_Jump"
msgstr "跳至(_J)"
#: ../src/search.c:418
msgid "_Line number:"
msgstr "列號(_L):"
#: ../data/l3afpad.desktop.in.h:1
msgid "L3afpad"
msgstr "L3afpad"
#: ../data/l3afpad.desktop.in.h:2
msgid "Simple text editor"
msgstr "簡易文字編輯器"

28
src/Makefile.am Normal file
View File

@ -0,0 +1,28 @@
bin_PROGRAMS = l3afpad
INCLUDES = -DICONDIR=\"$(datadir)/pixmaps\"
l3afpad_SOURCES = \
l3afpad.h main.c \
window.h window.c \
menu.h menu.c \
callback.h callback.c \
view.h view.c \
undo.h undo.c \
font.h font.c \
linenum.h linenum.c \
indent.h indent.c \
hlight.h hlight.c \
selector.h selector.c \
file.h file.c \
encoding.h encoding.c \
search.h search.c \
dialog.h dialog.c \
gtkprint.h gtkprint.c \
dnd.h dnd.c \
utils.h utils.c \
emacs.h emacs.c \
gtksourceiter.h gtksourceiter.c
l3afpad_CFLAGS = $(GTK_CFLAGS)
l3afpad_LDADD = $(GTK_LIBS) $(INTLLIBS)

812
src/Makefile.in Normal file
View File

@ -0,0 +1,812 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = l3afpad$(EXEEXT)
subdir = src
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
am_l3afpad_OBJECTS = l3afpad-main.$(OBJEXT) l3afpad-window.$(OBJEXT) \
l3afpad-menu.$(OBJEXT) l3afpad-callback.$(OBJEXT) \
l3afpad-view.$(OBJEXT) l3afpad-undo.$(OBJEXT) \
l3afpad-font.$(OBJEXT) l3afpad-linenum.$(OBJEXT) \
l3afpad-indent.$(OBJEXT) l3afpad-hlight.$(OBJEXT) \
l3afpad-selector.$(OBJEXT) l3afpad-file.$(OBJEXT) \
l3afpad-encoding.$(OBJEXT) l3afpad-search.$(OBJEXT) \
l3afpad-dialog.$(OBJEXT) l3afpad-gtkprint.$(OBJEXT) \
l3afpad-dnd.$(OBJEXT) l3afpad-utils.$(OBJEXT) \
l3afpad-emacs.$(OBJEXT) l3afpad-gtksourceiter.$(OBJEXT)
l3afpad_OBJECTS = $(am_l3afpad_OBJECTS)
am__DEPENDENCIES_1 =
l3afpad_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
l3afpad_LINK = $(CCLD) $(l3afpad_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(l3afpad_SOURCES)
DIST_SOURCES = $(l3afpad_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALL_LINGUAS = @ALL_LINGUAS@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLLIBS = @INTLLIBS@
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
INTLTOOL_MERGE = @INTLTOOL_MERGE@
INTLTOOL_PERL = @INTLTOOL_PERL@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
MSGFMT_OPTS = @MSGFMT_OPTS@
MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POSUB = @POSUB@
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
INCLUDES = -DICONDIR=\"$(datadir)/pixmaps\"
l3afpad_SOURCES = \
l3afpad.h main.c \
window.h window.c \
menu.h menu.c \
callback.h callback.c \
view.h view.c \
undo.h undo.c \
font.h font.c \
linenum.h linenum.c \
indent.h indent.c \
hlight.h hlight.c \
selector.h selector.c \
file.h file.c \
encoding.h encoding.c \
search.h search.c \
dialog.h dialog.c \
gtkprint.h gtkprint.c \
dnd.h dnd.c \
utils.h utils.c \
emacs.h emacs.c \
gtksourceiter.h gtksourceiter.c
l3afpad_CFLAGS = $(GTK_CFLAGS)
l3afpad_LDADD = $(GTK_LIBS) $(INTLLIBS)
all: all-am
.SUFFIXES:
.SUFFIXES: .c .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p; \
then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
l3afpad$(EXEEXT): $(l3afpad_OBJECTS) $(l3afpad_DEPENDENCIES)
@rm -f l3afpad$(EXEEXT)
$(l3afpad_LINK) $(l3afpad_OBJECTS) $(l3afpad_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-callback.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-dialog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-dnd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-emacs.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-encoding.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-file.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-font.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-gtkprint.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-gtksourceiter.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-hlight.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-indent.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-linenum.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-menu.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-search.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-selector.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-undo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-utils.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-view.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/l3afpad-window.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
.c.obj:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
l3afpad-main.o: main.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-main.o -MD -MP -MF $(DEPDIR)/l3afpad-main.Tpo -c -o l3afpad-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-main.Tpo $(DEPDIR)/l3afpad-main.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='l3afpad-main.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
l3afpad-main.obj: main.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-main.obj -MD -MP -MF $(DEPDIR)/l3afpad-main.Tpo -c -o l3afpad-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-main.Tpo $(DEPDIR)/l3afpad-main.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='l3afpad-main.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
l3afpad-window.o: window.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-window.o -MD -MP -MF $(DEPDIR)/l3afpad-window.Tpo -c -o l3afpad-window.o `test -f 'window.c' || echo '$(srcdir)/'`window.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-window.Tpo $(DEPDIR)/l3afpad-window.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='window.c' object='l3afpad-window.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-window.o `test -f 'window.c' || echo '$(srcdir)/'`window.c
l3afpad-window.obj: window.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-window.obj -MD -MP -MF $(DEPDIR)/l3afpad-window.Tpo -c -o l3afpad-window.obj `if test -f 'window.c'; then $(CYGPATH_W) 'window.c'; else $(CYGPATH_W) '$(srcdir)/window.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-window.Tpo $(DEPDIR)/l3afpad-window.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='window.c' object='l3afpad-window.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-window.obj `if test -f 'window.c'; then $(CYGPATH_W) 'window.c'; else $(CYGPATH_W) '$(srcdir)/window.c'; fi`
l3afpad-menu.o: menu.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-menu.o -MD -MP -MF $(DEPDIR)/l3afpad-menu.Tpo -c -o l3afpad-menu.o `test -f 'menu.c' || echo '$(srcdir)/'`menu.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-menu.Tpo $(DEPDIR)/l3afpad-menu.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='menu.c' object='l3afpad-menu.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-menu.o `test -f 'menu.c' || echo '$(srcdir)/'`menu.c
l3afpad-menu.obj: menu.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-menu.obj -MD -MP -MF $(DEPDIR)/l3afpad-menu.Tpo -c -o l3afpad-menu.obj `if test -f 'menu.c'; then $(CYGPATH_W) 'menu.c'; else $(CYGPATH_W) '$(srcdir)/menu.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-menu.Tpo $(DEPDIR)/l3afpad-menu.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='menu.c' object='l3afpad-menu.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-menu.obj `if test -f 'menu.c'; then $(CYGPATH_W) 'menu.c'; else $(CYGPATH_W) '$(srcdir)/menu.c'; fi`
l3afpad-callback.o: callback.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-callback.o -MD -MP -MF $(DEPDIR)/l3afpad-callback.Tpo -c -o l3afpad-callback.o `test -f 'callback.c' || echo '$(srcdir)/'`callback.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-callback.Tpo $(DEPDIR)/l3afpad-callback.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='callback.c' object='l3afpad-callback.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-callback.o `test -f 'callback.c' || echo '$(srcdir)/'`callback.c
l3afpad-callback.obj: callback.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-callback.obj -MD -MP -MF $(DEPDIR)/l3afpad-callback.Tpo -c -o l3afpad-callback.obj `if test -f 'callback.c'; then $(CYGPATH_W) 'callback.c'; else $(CYGPATH_W) '$(srcdir)/callback.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-callback.Tpo $(DEPDIR)/l3afpad-callback.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='callback.c' object='l3afpad-callback.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-callback.obj `if test -f 'callback.c'; then $(CYGPATH_W) 'callback.c'; else $(CYGPATH_W) '$(srcdir)/callback.c'; fi`
l3afpad-view.o: view.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-view.o -MD -MP -MF $(DEPDIR)/l3afpad-view.Tpo -c -o l3afpad-view.o `test -f 'view.c' || echo '$(srcdir)/'`view.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-view.Tpo $(DEPDIR)/l3afpad-view.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view.c' object='l3afpad-view.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-view.o `test -f 'view.c' || echo '$(srcdir)/'`view.c
l3afpad-view.obj: view.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-view.obj -MD -MP -MF $(DEPDIR)/l3afpad-view.Tpo -c -o l3afpad-view.obj `if test -f 'view.c'; then $(CYGPATH_W) 'view.c'; else $(CYGPATH_W) '$(srcdir)/view.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-view.Tpo $(DEPDIR)/l3afpad-view.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='view.c' object='l3afpad-view.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-view.obj `if test -f 'view.c'; then $(CYGPATH_W) 'view.c'; else $(CYGPATH_W) '$(srcdir)/view.c'; fi`
l3afpad-undo.o: undo.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-undo.o -MD -MP -MF $(DEPDIR)/l3afpad-undo.Tpo -c -o l3afpad-undo.o `test -f 'undo.c' || echo '$(srcdir)/'`undo.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-undo.Tpo $(DEPDIR)/l3afpad-undo.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='undo.c' object='l3afpad-undo.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-undo.o `test -f 'undo.c' || echo '$(srcdir)/'`undo.c
l3afpad-undo.obj: undo.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-undo.obj -MD -MP -MF $(DEPDIR)/l3afpad-undo.Tpo -c -o l3afpad-undo.obj `if test -f 'undo.c'; then $(CYGPATH_W) 'undo.c'; else $(CYGPATH_W) '$(srcdir)/undo.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-undo.Tpo $(DEPDIR)/l3afpad-undo.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='undo.c' object='l3afpad-undo.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-undo.obj `if test -f 'undo.c'; then $(CYGPATH_W) 'undo.c'; else $(CYGPATH_W) '$(srcdir)/undo.c'; fi`
l3afpad-font.o: font.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-font.o -MD -MP -MF $(DEPDIR)/l3afpad-font.Tpo -c -o l3afpad-font.o `test -f 'font.c' || echo '$(srcdir)/'`font.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-font.Tpo $(DEPDIR)/l3afpad-font.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font.c' object='l3afpad-font.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-font.o `test -f 'font.c' || echo '$(srcdir)/'`font.c
l3afpad-font.obj: font.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-font.obj -MD -MP -MF $(DEPDIR)/l3afpad-font.Tpo -c -o l3afpad-font.obj `if test -f 'font.c'; then $(CYGPATH_W) 'font.c'; else $(CYGPATH_W) '$(srcdir)/font.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-font.Tpo $(DEPDIR)/l3afpad-font.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font.c' object='l3afpad-font.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-font.obj `if test -f 'font.c'; then $(CYGPATH_W) 'font.c'; else $(CYGPATH_W) '$(srcdir)/font.c'; fi`
l3afpad-linenum.o: linenum.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-linenum.o -MD -MP -MF $(DEPDIR)/l3afpad-linenum.Tpo -c -o l3afpad-linenum.o `test -f 'linenum.c' || echo '$(srcdir)/'`linenum.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-linenum.Tpo $(DEPDIR)/l3afpad-linenum.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='linenum.c' object='l3afpad-linenum.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-linenum.o `test -f 'linenum.c' || echo '$(srcdir)/'`linenum.c
l3afpad-linenum.obj: linenum.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-linenum.obj -MD -MP -MF $(DEPDIR)/l3afpad-linenum.Tpo -c -o l3afpad-linenum.obj `if test -f 'linenum.c'; then $(CYGPATH_W) 'linenum.c'; else $(CYGPATH_W) '$(srcdir)/linenum.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-linenum.Tpo $(DEPDIR)/l3afpad-linenum.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='linenum.c' object='l3afpad-linenum.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-linenum.obj `if test -f 'linenum.c'; then $(CYGPATH_W) 'linenum.c'; else $(CYGPATH_W) '$(srcdir)/linenum.c'; fi`
l3afpad-indent.o: indent.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-indent.o -MD -MP -MF $(DEPDIR)/l3afpad-indent.Tpo -c -o l3afpad-indent.o `test -f 'indent.c' || echo '$(srcdir)/'`indent.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-indent.Tpo $(DEPDIR)/l3afpad-indent.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='indent.c' object='l3afpad-indent.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-indent.o `test -f 'indent.c' || echo '$(srcdir)/'`indent.c
l3afpad-indent.obj: indent.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-indent.obj -MD -MP -MF $(DEPDIR)/l3afpad-indent.Tpo -c -o l3afpad-indent.obj `if test -f 'indent.c'; then $(CYGPATH_W) 'indent.c'; else $(CYGPATH_W) '$(srcdir)/indent.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-indent.Tpo $(DEPDIR)/l3afpad-indent.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='indent.c' object='l3afpad-indent.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-indent.obj `if test -f 'indent.c'; then $(CYGPATH_W) 'indent.c'; else $(CYGPATH_W) '$(srcdir)/indent.c'; fi`
l3afpad-hlight.o: hlight.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-hlight.o -MD -MP -MF $(DEPDIR)/l3afpad-hlight.Tpo -c -o l3afpad-hlight.o `test -f 'hlight.c' || echo '$(srcdir)/'`hlight.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-hlight.Tpo $(DEPDIR)/l3afpad-hlight.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hlight.c' object='l3afpad-hlight.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-hlight.o `test -f 'hlight.c' || echo '$(srcdir)/'`hlight.c
l3afpad-hlight.obj: hlight.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-hlight.obj -MD -MP -MF $(DEPDIR)/l3afpad-hlight.Tpo -c -o l3afpad-hlight.obj `if test -f 'hlight.c'; then $(CYGPATH_W) 'hlight.c'; else $(CYGPATH_W) '$(srcdir)/hlight.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-hlight.Tpo $(DEPDIR)/l3afpad-hlight.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hlight.c' object='l3afpad-hlight.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-hlight.obj `if test -f 'hlight.c'; then $(CYGPATH_W) 'hlight.c'; else $(CYGPATH_W) '$(srcdir)/hlight.c'; fi`
l3afpad-selector.o: selector.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-selector.o -MD -MP -MF $(DEPDIR)/l3afpad-selector.Tpo -c -o l3afpad-selector.o `test -f 'selector.c' || echo '$(srcdir)/'`selector.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-selector.Tpo $(DEPDIR)/l3afpad-selector.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='selector.c' object='l3afpad-selector.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-selector.o `test -f 'selector.c' || echo '$(srcdir)/'`selector.c
l3afpad-selector.obj: selector.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-selector.obj -MD -MP -MF $(DEPDIR)/l3afpad-selector.Tpo -c -o l3afpad-selector.obj `if test -f 'selector.c'; then $(CYGPATH_W) 'selector.c'; else $(CYGPATH_W) '$(srcdir)/selector.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-selector.Tpo $(DEPDIR)/l3afpad-selector.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='selector.c' object='l3afpad-selector.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-selector.obj `if test -f 'selector.c'; then $(CYGPATH_W) 'selector.c'; else $(CYGPATH_W) '$(srcdir)/selector.c'; fi`
l3afpad-file.o: file.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-file.o -MD -MP -MF $(DEPDIR)/l3afpad-file.Tpo -c -o l3afpad-file.o `test -f 'file.c' || echo '$(srcdir)/'`file.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-file.Tpo $(DEPDIR)/l3afpad-file.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='file.c' object='l3afpad-file.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-file.o `test -f 'file.c' || echo '$(srcdir)/'`file.c
l3afpad-file.obj: file.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-file.obj -MD -MP -MF $(DEPDIR)/l3afpad-file.Tpo -c -o l3afpad-file.obj `if test -f 'file.c'; then $(CYGPATH_W) 'file.c'; else $(CYGPATH_W) '$(srcdir)/file.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-file.Tpo $(DEPDIR)/l3afpad-file.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='file.c' object='l3afpad-file.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-file.obj `if test -f 'file.c'; then $(CYGPATH_W) 'file.c'; else $(CYGPATH_W) '$(srcdir)/file.c'; fi`
l3afpad-encoding.o: encoding.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-encoding.o -MD -MP -MF $(DEPDIR)/l3afpad-encoding.Tpo -c -o l3afpad-encoding.o `test -f 'encoding.c' || echo '$(srcdir)/'`encoding.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-encoding.Tpo $(DEPDIR)/l3afpad-encoding.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='encoding.c' object='l3afpad-encoding.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-encoding.o `test -f 'encoding.c' || echo '$(srcdir)/'`encoding.c
l3afpad-encoding.obj: encoding.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-encoding.obj -MD -MP -MF $(DEPDIR)/l3afpad-encoding.Tpo -c -o l3afpad-encoding.obj `if test -f 'encoding.c'; then $(CYGPATH_W) 'encoding.c'; else $(CYGPATH_W) '$(srcdir)/encoding.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-encoding.Tpo $(DEPDIR)/l3afpad-encoding.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='encoding.c' object='l3afpad-encoding.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-encoding.obj `if test -f 'encoding.c'; then $(CYGPATH_W) 'encoding.c'; else $(CYGPATH_W) '$(srcdir)/encoding.c'; fi`
l3afpad-search.o: search.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-search.o -MD -MP -MF $(DEPDIR)/l3afpad-search.Tpo -c -o l3afpad-search.o `test -f 'search.c' || echo '$(srcdir)/'`search.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-search.Tpo $(DEPDIR)/l3afpad-search.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='search.c' object='l3afpad-search.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-search.o `test -f 'search.c' || echo '$(srcdir)/'`search.c
l3afpad-search.obj: search.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-search.obj -MD -MP -MF $(DEPDIR)/l3afpad-search.Tpo -c -o l3afpad-search.obj `if test -f 'search.c'; then $(CYGPATH_W) 'search.c'; else $(CYGPATH_W) '$(srcdir)/search.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-search.Tpo $(DEPDIR)/l3afpad-search.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='search.c' object='l3afpad-search.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-search.obj `if test -f 'search.c'; then $(CYGPATH_W) 'search.c'; else $(CYGPATH_W) '$(srcdir)/search.c'; fi`
l3afpad-dialog.o: dialog.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-dialog.o -MD -MP -MF $(DEPDIR)/l3afpad-dialog.Tpo -c -o l3afpad-dialog.o `test -f 'dialog.c' || echo '$(srcdir)/'`dialog.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-dialog.Tpo $(DEPDIR)/l3afpad-dialog.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dialog.c' object='l3afpad-dialog.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-dialog.o `test -f 'dialog.c' || echo '$(srcdir)/'`dialog.c
l3afpad-dialog.obj: dialog.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-dialog.obj -MD -MP -MF $(DEPDIR)/l3afpad-dialog.Tpo -c -o l3afpad-dialog.obj `if test -f 'dialog.c'; then $(CYGPATH_W) 'dialog.c'; else $(CYGPATH_W) '$(srcdir)/dialog.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-dialog.Tpo $(DEPDIR)/l3afpad-dialog.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dialog.c' object='l3afpad-dialog.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-dialog.obj `if test -f 'dialog.c'; then $(CYGPATH_W) 'dialog.c'; else $(CYGPATH_W) '$(srcdir)/dialog.c'; fi`
l3afpad-gtkprint.o: gtkprint.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-gtkprint.o -MD -MP -MF $(DEPDIR)/l3afpad-gtkprint.Tpo -c -o l3afpad-gtkprint.o `test -f 'gtkprint.c' || echo '$(srcdir)/'`gtkprint.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-gtkprint.Tpo $(DEPDIR)/l3afpad-gtkprint.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkprint.c' object='l3afpad-gtkprint.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-gtkprint.o `test -f 'gtkprint.c' || echo '$(srcdir)/'`gtkprint.c
l3afpad-gtkprint.obj: gtkprint.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-gtkprint.obj -MD -MP -MF $(DEPDIR)/l3afpad-gtkprint.Tpo -c -o l3afpad-gtkprint.obj `if test -f 'gtkprint.c'; then $(CYGPATH_W) 'gtkprint.c'; else $(CYGPATH_W) '$(srcdir)/gtkprint.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-gtkprint.Tpo $(DEPDIR)/l3afpad-gtkprint.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkprint.c' object='l3afpad-gtkprint.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-gtkprint.obj `if test -f 'gtkprint.c'; then $(CYGPATH_W) 'gtkprint.c'; else $(CYGPATH_W) '$(srcdir)/gtkprint.c'; fi`
l3afpad-dnd.o: dnd.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-dnd.o -MD -MP -MF $(DEPDIR)/l3afpad-dnd.Tpo -c -o l3afpad-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-dnd.Tpo $(DEPDIR)/l3afpad-dnd.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dnd.c' object='l3afpad-dnd.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c
l3afpad-dnd.obj: dnd.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-dnd.obj -MD -MP -MF $(DEPDIR)/l3afpad-dnd.Tpo -c -o l3afpad-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-dnd.Tpo $(DEPDIR)/l3afpad-dnd.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dnd.c' object='l3afpad-dnd.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi`
l3afpad-utils.o: utils.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-utils.o -MD -MP -MF $(DEPDIR)/l3afpad-utils.Tpo -c -o l3afpad-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-utils.Tpo $(DEPDIR)/l3afpad-utils.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='utils.c' object='l3afpad-utils.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c
l3afpad-utils.obj: utils.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-utils.obj -MD -MP -MF $(DEPDIR)/l3afpad-utils.Tpo -c -o l3afpad-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-utils.Tpo $(DEPDIR)/l3afpad-utils.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='utils.c' object='l3afpad-utils.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi`
l3afpad-emacs.o: emacs.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-emacs.o -MD -MP -MF $(DEPDIR)/l3afpad-emacs.Tpo -c -o l3afpad-emacs.o `test -f 'emacs.c' || echo '$(srcdir)/'`emacs.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-emacs.Tpo $(DEPDIR)/l3afpad-emacs.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='emacs.c' object='l3afpad-emacs.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-emacs.o `test -f 'emacs.c' || echo '$(srcdir)/'`emacs.c
l3afpad-emacs.obj: emacs.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-emacs.obj -MD -MP -MF $(DEPDIR)/l3afpad-emacs.Tpo -c -o l3afpad-emacs.obj `if test -f 'emacs.c'; then $(CYGPATH_W) 'emacs.c'; else $(CYGPATH_W) '$(srcdir)/emacs.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-emacs.Tpo $(DEPDIR)/l3afpad-emacs.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='emacs.c' object='l3afpad-emacs.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-emacs.obj `if test -f 'emacs.c'; then $(CYGPATH_W) 'emacs.c'; else $(CYGPATH_W) '$(srcdir)/emacs.c'; fi`
l3afpad-gtksourceiter.o: gtksourceiter.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-gtksourceiter.o -MD -MP -MF $(DEPDIR)/l3afpad-gtksourceiter.Tpo -c -o l3afpad-gtksourceiter.o `test -f 'gtksourceiter.c' || echo '$(srcdir)/'`gtksourceiter.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-gtksourceiter.Tpo $(DEPDIR)/l3afpad-gtksourceiter.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtksourceiter.c' object='l3afpad-gtksourceiter.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-gtksourceiter.o `test -f 'gtksourceiter.c' || echo '$(srcdir)/'`gtksourceiter.c
l3afpad-gtksourceiter.obj: gtksourceiter.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -MT l3afpad-gtksourceiter.obj -MD -MP -MF $(DEPDIR)/l3afpad-gtksourceiter.Tpo -c -o l3afpad-gtksourceiter.obj `if test -f 'gtksourceiter.c'; then $(CYGPATH_W) 'gtksourceiter.c'; else $(CYGPATH_W) '$(srcdir)/gtksourceiter.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/l3afpad-gtksourceiter.Tpo $(DEPDIR)/l3afpad-gtksourceiter.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtksourceiter.c' object='l3afpad-gtksourceiter.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(l3afpad_CFLAGS) $(CFLAGS) -c -o l3afpad-gtksourceiter.obj `if test -f 'gtksourceiter.c'; then $(CYGPATH_W) 'gtksourceiter.c'; else $(CYGPATH_W) '$(srcdir)/gtksourceiter.c'; fi`
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS)
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS
.MAKE: install-am install-strip
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic ctags distclean distclean-compile \
distclean-generic distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-binPROGRAMS \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-binPROGRAMS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

331
src/callback.c Normal file
View File

@ -0,0 +1,331 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static void set_selection_bound(GtkTextBuffer *buffer, gint start, gint end)
{
GtkTextIter start_iter, end_iter;
gtk_text_buffer_get_iter_at_offset(buffer, &start_iter, start);
if (end < 0)
gtk_text_buffer_get_end_iter(buffer, &end_iter);
else
gtk_text_buffer_get_iter_at_offset(buffer, &end_iter, end);
gtk_text_buffer_place_cursor(buffer, &end_iter);
gtk_text_buffer_move_mark_by_name(buffer, "selection_bound", &start_iter);
}
void on_file_new(void)
{
gchar *comline;
gchar *option;
save_config_file();
option = pub->fi->charset_flag ?
g_strdup_printf("%s%s", " --codeset=", pub->fi->charset) : "";
comline = g_strdup_printf("%s%s", PACKAGE, option);
if (pub->fi->charset_flag)
g_free(option);
g_spawn_command_line_async(comline, NULL);
g_free(comline);
}
void on_file_open(void)
#ifdef ENABLE_CSDI
{ // too slow...
FileInfo *fi;
gchar *comline;
gchar *option = NULL;
fi = get_fileinfo_from_selector(pub->fi, OPEN);
if (fi) {
save_config_file();
option = g_strdup_printf("--codeset=%s ", fi->charset);
comline = g_strdup_printf("%s %s%s", PACKAGE,
fi->charset ? option : "",
fi->filename);
g_spawn_command_line_async(comline, NULL);
g_free(option);
g_free(comline);
g_free(fi);
}
}
#else
{
FileInfo *fi;
if (check_text_modification())
return;
fi = get_fileinfo_from_selector(pub->fi, OPEN);
if (fi) {
if (file_open_real(pub->mw->view, fi))
g_free(fi);
else {
g_free(pub->fi);
pub->fi = fi;
undo_clear_all(pub->mw->buffer);
// set_main_window_title();
force_call_cb_modified_changed(pub->mw->view);
// undo_init(sd->mainwin->textview, sd->mainwin->textbuffer, sd->mainwin->menubar);
}
}
}
#endif
gint on_file_save(void)
{
if (pub->fi->filename == NULL)
return on_file_save_as();
if (check_file_writable(pub->fi->filename) == FALSE)
return on_file_save_as();
if (file_save_real(pub->mw->view, pub->fi))
return -1;
// set_main_window_title();
force_call_cb_modified_changed(pub->mw->view);
// undo_reset_step_modif();
return 0;
}
gint on_file_save_as(void)
{
FileInfo *fi;
fi = get_fileinfo_from_selector(pub->fi, SAVE);
if (fi == NULL)
return -1;
if (file_save_real(pub->mw->view, fi)) {
g_free(fi);
return -1;
}
g_free(pub->fi);
pub->fi = fi;
undo_clear_all(pub->mw->buffer);
// set_main_window_title();
force_call_cb_modified_changed(pub->mw->view);
// undo_init(sd->mainwin->textview, sd->mainwin->textbuffer, sd->mainwin->menubar);
return 0;
}
#ifdef ENABLE_PRINT
void on_file_print_preview(void)
{
create_gtkprint_preview_session(GTK_TEXT_VIEW(pub->mw->view),
get_file_basename(pub->fi->filename, FALSE));
}
void on_file_print(void)
{
create_gtkprint_session(GTK_TEXT_VIEW(pub->mw->view),
get_file_basename(pub->fi->filename, FALSE));
}
#endif
void on_file_close(void)
{
if (!check_text_modification()) {
force_block_cb_modified_changed(pub->mw->view);
// undo_block_signal(textbuffer);
gtk_text_buffer_set_text(pub->mw->buffer, "", 0);
gtk_text_buffer_set_modified(pub->mw->buffer, FALSE);
if (pub->fi->filename)
g_free(pub->fi->filename);
pub->fi->filename = NULL;
if (pub->fi->charset)
g_free(pub->fi->charset);
pub->fi->charset = NULL;
pub->fi->charset_flag = FALSE;
pub->fi->lineend = LF;
undo_clear_all(pub->mw->buffer);
// set_main_window_title();
force_call_cb_modified_changed(pub->mw->view);
force_unblock_cb_modified_changed(pub->mw->view);
// undo_unblock_signal(textbuffer);
// undo_init(sd->mainwin->textview, textbuffer, sd->mainwin->menubar);
}
}
void on_file_quit(void)
{
if (!check_text_modification()) {
save_config_file();
gtk_main_quit();
}
}
void on_edit_undo(void)
{
undo_undo(pub->mw->buffer);
}
void on_edit_redo(void)
{
undo_redo(pub->mw->buffer);
}
void on_edit_cut(void)
{
g_signal_emit_by_name(G_OBJECT(pub->mw->view), "cut-clipboard");
}
void on_edit_copy(void)
{
g_signal_emit_by_name(G_OBJECT(pub->mw->view), "copy-clipboard");
}
void on_edit_paste(void)
{
g_signal_emit_by_name(G_OBJECT(pub->mw->view), "paste-clipboard");
// TODO: Use modify signal!!
/* gtk_text_view_scroll_mark_onscreen(
GTK_TEXT_VIEW(pub->mw->view),
gtk_text_buffer_get_insert(pub->mw->buffer));
*/}
void on_edit_delete(void)
{
gtk_text_buffer_delete_selection(pub->mw->buffer, TRUE, TRUE);
}
void on_edit_select_all(void)
{
set_selection_bound(pub->mw->buffer, 0, -1);
// g_signal_emit_by_name(G_OBJECT(pub->mw->view), "select-all");
}
static void activate_quick_find(void)
{
GtkItemFactory *ifactory;
static gboolean flag = FALSE;
if (!flag) {
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
gtk_widget_set_sensitive(
gtk_item_factory_get_widget(ifactory, "/M/Search/FindNext"),
TRUE);
gtk_widget_set_sensitive(
gtk_item_factory_get_widget(ifactory, "/M/Search/FindPrevious"),
TRUE);
flag = TRUE;
}
}
void on_search_find(void)
{
if (run_dialog_search(pub->mw->view, 0) == GTK_RESPONSE_OK)
activate_quick_find();
}
void on_search_find_next(void)
{
document_search_real(pub->mw->view, 1);
}
void on_search_find_previous(void)
{
document_search_real(pub->mw->view, -1);
}
void on_search_replace(void)
{
if (run_dialog_search(pub->mw->view, 1) == GTK_RESPONSE_OK)
activate_quick_find();
}
void on_search_jump_to(void)
{
run_dialog_jump_to(pub->mw->view);
}
void on_option_font(void)
{
change_text_font_by_selector(pub->mw->view);
}
void on_option_word_wrap(void)
{
GtkItemFactory *ifactory;
gboolean state;
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
state = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory, "/M/Options/WordWrap")));
gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(pub->mw->view),
state ? GTK_WRAP_WORD : GTK_WRAP_NONE);
}
void on_option_line_numbers(void)
{
GtkItemFactory *ifactory;
gboolean state;
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
state = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory, "/M/Options/LineNumbers")));
show_line_numbers(pub->mw->view, state);
}
void on_option_always_on_top(void)
{
static gboolean flag = FALSE;
flag =! flag;
gtk_window_set_keep_above(GTK_WINDOW(pub->mw->window), flag);
}
void on_option_auto_indent(void)
{
GtkItemFactory *ifactory;
gboolean state;
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
state = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory, "/M/Options/AutoIndent")));
indent_set_state(state);
}
void on_help_about(void)
{
const gchar *copyright = "Copyright \xc2\xa9 2004-2010 Tarot Osuji\nCopyright \xc2\xa9 2011 Wen-Yen Chuang";
const gchar *comments = _("GTK+ based simple text editor");
const gchar *authors[] = {
"Tarot Osuji <tarot@sdf.lonestar.org>",
"Wen-Yen Chuang <caleb@calno.com>",
NULL
};
const gchar *translator_credits = _("translator-credits");
translator_credits = strcmp(translator_credits, "translator-credits")
? translator_credits : NULL;
const gchar *artists[] = {
"Lapo Calamandrei <calamandrei@gmail.com>",
NULL
};
gtk_show_about_dialog(GTK_WINDOW(pub->mw->window),
"version", PACKAGE_VERSION,
"copyright", copyright,
"comments", comments,
"authors", authors,
"artists", artists,
"translator-credits", translator_credits,
"logo-icon-name", PACKAGE,
NULL);
}

50
src/callback.h Normal file
View File

@ -0,0 +1,50 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _CALLBACK_H
#define _CALLBACK_H
void on_file_new(void);
void on_file_open(void);
gint on_file_save(void);
gint on_file_save_as(void);
void on_file_print_preview(void);
void on_file_print(void);
void on_file_close(void);
void on_file_quit(void);
void on_edit_undo(void);
void on_edit_redo(void);
void on_edit_cut(void);
void on_edit_copy(void);
void on_edit_paste(void);
void on_edit_delete(void);
void on_edit_select_all(void);
void on_search_find(void);
void on_search_find_next(void);
void on_search_find_previous(void);
void on_search_replace(void);
void on_search_jump_to(void);
void on_option_font(void);
void on_option_word_wrap(void);
void on_option_line_numbers(void);
void on_option_always_on_top(void);
void on_option_auto_indent(void);
void on_help_about(void);
#endif /* _CALLBACK_H */

95
src/dialog.c Normal file
View File

@ -0,0 +1,95 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
/* GTK_MESSAGE_INFO, GTK_MESSAGE_WARNING, GTK_MESSAGE_ERROR */
void run_dialog_message(GtkWidget *window,
GtkMessageType type,
gchar *message, ...)
{
va_list ap;
GtkWidget *dialog;
gchar *str;
va_start(ap, message);
str = g_strdup_vprintf(message, ap);
va_end(ap);
dialog = gtk_message_dialog_new(GTK_WINDOW(window),
GTK_DIALOG_DESTROY_WITH_PARENT,
type,
GTK_BUTTONS_NONE,
str);
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
gtk_dialog_add_buttons(GTK_DIALOG(dialog),
GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CANCEL);
g_free(str);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
GtkWidget *create_dialog_message_question(GtkWidget *window, gchar *message, ...)
{
va_list ap;
GtkWidget *dialog;
gchar *str;
va_start(ap, message);
str = g_strdup_vprintf(message, ap);
va_end(ap);
dialog = gtk_message_dialog_new(GTK_WINDOW(window),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
str);
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
gtk_dialog_add_buttons(GTK_DIALOG(dialog),
GTK_STOCK_NO, GTK_RESPONSE_NO,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_YES, GTK_RESPONSE_YES,
NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_YES);
g_free(str);
return dialog;
}
gint run_dialog_message_question(GtkWidget *window, gchar *message, ...)
{
va_list ap;
GtkWidget *dialog;
gchar *str;
gint res;
va_start(ap, message);
str = g_strdup_vprintf(message, ap);
va_end(ap);
dialog = create_dialog_message_question(window, str);
g_free(str);
res = gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
return res;
}

27
src/dialog.h Normal file
View File

@ -0,0 +1,27 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _DIALOG_H
#define _DIALOG_H
void run_dialog_message(GtkWidget *window, GtkMessageType type, gchar *message, ...);
GtkWidget *create_dialog_message_question(GtkWidget *window, gchar *message, ...);
gint run_dialog_message_question(GtkWidget *window, gchar *message, ...);
#endif /* _DIALOG_H */

226
src/dnd.c Normal file
View File

@ -0,0 +1,226 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2006 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
#include "string.h"
#define DV(x)
#if 0
static void dnd_drag_data_recieved_handler(GtkWidget *widget,
GdkDragContext *context, gint x, gint y,
GtkSelectionData *selection_data, guint info, guint time);
static gboolean dnd_drag_motion_handler(GtkWidget *widget,
GdkDragContext *context, gint x, gint y, guint time);
#endif
enum {
TARGET_SELF,
TARGET_UTF8_STRING,
TARGET_COMPOUND_TEXT,
TARGET_PLAIN,
TARGET_URI_LIST,
};
static GtkTargetEntry drag_types[] =
{
{ "UTF8_STRING", 0, TARGET_UTF8_STRING },
{ "COMPOUND_TEXT", 0, TARGET_COMPOUND_TEXT },
{ "text/plain", 0, TARGET_PLAIN },
{ "text/uri-list", 0, TARGET_URI_LIST }
};
static gint n_drag_types = sizeof(drag_types) / sizeof(drag_types[0]);
void dnd_init(GtkWidget *widget)
{
gtk_drag_dest_set(widget, GTK_DEST_DEFAULT_ALL,
drag_types, n_drag_types, GDK_ACTION_COPY);
#if 0
g_signal_connect(G_OBJECT(widget), "drag_data_received",
G_CALLBACK(dnd_drag_data_recieved_handler), NULL);
g_signal_connect(G_OBJECT(widget), "drag_motion",
G_CALLBACK(dnd_drag_motion_handler), NULL);
#endif
}
#if 0
static void dnd_open_first_file(gchar *filename)
{
FileInfo *fi;
if (check_text_modification())
return;
fi = g_malloc(sizeof(FileInfo));
fi->filename = g_strdup(filename);
fi->charset = pub->fi->charset_flag ? g_strdup(pub->fi->charset) : NULL;
fi->charset_flag = pub->fi->charset_flag;
fi->lineend = LF;
if (file_open_real(pub->mw->view, fi))
g_free(fi);
else {
g_free(pub->fi);
pub->fi = fi;
undo_clear_all(pub->mw->buffer);
set_main_window_title();
// undo_init(sd->mainwin->textview, sd->mainwin->textbuffer, sd->mainwin->menubar);
}
}
#endif
#if 0
static void dnd_drag_data_recieved_handler(GtkWidget *widget,
GdkDragContext *context, gint x, gint y,
GtkSelectionData *selection_data, guint info, guint time)
{
static gboolean flag_called_once = FALSE;
gchar **files;
gchar *filename;
gchar *comline;
gint i = 0, j = 0;
gchar *filename_sh;
gchar **strs;
#ifdef ENABLE_CSDI
j = 1;
#endif
DV(g_print("DND start!\n"));
#if 0
if (g_strcasecmp(gdk_atom_name(context->targets->data),
"GTK_TEXT_BUFFER_CONTENTS") != 0) {
#endif
if (flag_called_once) {
flag_called_once = FALSE;
g_signal_stop_emission_by_name(widget, "drag_data_received");
DV(g_print("second drop signal killed.\n"));
return;
} else
flag_called_once = TRUE;
}
DV({
g_print("info = %d\n", info);
g_print("time = %d\n", time);
g_print("context->protocol = %d\n", context->protocol);
g_print("context->is_source = %d\n", context->is_source);
g_print("context->targets = %d\n", g_list_length(context->targets));
g_print("context->target = %s\n", gdk_atom_name(context->targets->data));
/* g_print("context->target = %s\n", gdk_atom_name(context->targets->next->data));
g_print("context->target = %s\n", gdk_atom_name(context->targets->next->next->data));
g_print("context->actions = %d\n", context->actions);
g_print("context->suggested_action = %d\n", context->suggested_action);
g_print("context->action = %d\n", context->action);
g_print("selection_data->selection = %s\n", gdk_atom_name(selection_data->selection));
g_print("selection_data->target = %s\n", gdk_atom_name(selection_data->target));
*/ g_print("selection_data->type = %s\n", gdk_atom_name(selection_data->type));
g_print("selection_data->format = %d\n", selection_data->format);
g_print("selection_data->length = %d\n", selection_data->length);
g_print("%s\n", selection_data->data);
});
if (selection_data->data && info == TARGET_URI_LIST) {
files = g_strsplit((gchar *)selection_data->data, "\n" , -1);
while (files[i]) {
if (strlen(files[i]) == 0)
break;
filename = g_strstrip(parse_file_uri(files[i]));
if (i + j == 0)
dnd_open_first_file(filename);
else {
if (i + j == 1)
save_config_file();
if (strstr(filename, " ")) {
strs = g_strsplit(filename, " ", -1);
filename_sh = g_strjoinv("\\ ", strs);
g_strfreev(strs);
} else
filename_sh = g_strdup(filename);
comline = g_strdup_printf("%s %s", PACKAGE, filename_sh);
DV(g_print(">%s\n", comline));
g_free(filename_sh);
g_spawn_command_line_async(comline, NULL);
g_free(comline);
}
g_free(filename);
i++;
}
g_strfreev(files);
}
else {
clear_current_keyval();
undo_set_sequency(FALSE);
if (info == TARGET_UTF8_STRING) {
undo_set_sequency_reserve();
context->action = GDK_ACTION_MOVE;
} else if (info == TARGET_PLAIN
&& g_utf8_validate((gchar *)selection_data->data, -1, NULL)) {
selection_data->type =
gdk_atom_intern("UTF8_STRING", FALSE);
}
}
return;
}
static gboolean dnd_drag_motion_handler(GtkWidget *widget,
GdkDragContext *context, gint x, gint y, guint time)
{
GList *targets;
gchar *name;
gboolean flag = FALSE;
targets = context->targets;
while (targets) {
name = gdk_atom_name(targets->data);
DV(g_print("%s\n", name));
if (g_ascii_strcasecmp(name, "text/uri-list") == 0)
flag = TRUE;
g_free(name);
targets = targets->next;
}
/* if (flag)
context->action = GDK_ACTION_DEFAULT;
else
context->action = GDK_ACTION_COPY;
// g_signal_stop_emission_by_name(widget, "drag_motion");
*/
/* if (!flag) {
gint bx, by;
GtkTextIter iter;
gtk_text_view_window_to_buffer_coords(GTK_TEXT_VIEW(widget),
GTK_TEXT_WINDOW_WIDGET,
x, y, &bx, &by);
gtk_text_view_get_iter_at_location(GTK_TEXT_VIEW(widget), &iter, bx, by);
if (!dnd_mark) {
dnd_mark = gtk_text_buffer_create_mark(GTK_TEXT_VIEW(widget)->buffer,
NULL, &iter, TRUE);
gtk_text_mark_set_visible(dnd_mark, TRUE);
} else
gtk_text_mark_set_visible(dnd_mark, FALSE);
gtk_text_buffer_move_mark(GTK_TEXT_VIEW(widget)->buffer,
dnd_mark, &iter);
gtk_text_mark_set_visible(dnd_mark, TRUE);
}
*/
return flag;
}
#endif

25
src/dnd.h Normal file
View File

@ -0,0 +1,25 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _DND_H
#define _DND_H
void dnd_init(GtkWidget *widget);
#endif /* _DND_H */

221
src/emacs.c Normal file
View File

@ -0,0 +1,221 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2006 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
#include <gdk/gdkkeysyms.h>
#ifdef ENABLE_EMACS
static void cb_key_release_event(GtkWidget *view, GdkEventKey *event)
{
//g_print("key-release-event: 0x%X\n", event->keyval);
switch (event->keyval) {
case GDK_x:
case GDK_X:
gtk_main_quit();
}
}
static void cb_key_press_event(GtkWidget *view, GdkEventKey *event)
{
//g_print("key-release-event: 0x%X\n", event->keyval);
if (event->keyval < 0x1000 || event->keyval == GDK_Escape) {
switch (event->keyval) {
case GDK_f:
case GDK_F:
case GDK_v:
case GDK_V:
if (event->state & GDK_CONTROL_MASK)
on_file_open();
else
gdk_beep();
break;
case GDK_d:
case GDK_D:
if (event->state & GDK_CONTROL_MASK)
gdk_beep();
else
on_file_open();
break;
case GDK_s:
case GDK_S:
if (GTK_WIDGET_IS_SENSITIVE(gtk_item_factory_get_widget(
gtk_item_factory_from_widget(pub->mw->menubar), "/M/File/Save")
))
on_file_save();
break;
case GDK_w:
case GDK_W:
if (event->state & GDK_CONTROL_MASK)
on_file_save_as();
else
gdk_beep();
break;
case GDK_k:
case GDK_K:
if (event->state & GDK_CONTROL_MASK)
gdk_beep();
else
on_file_close();
break;
case GDK_c:
case GDK_C:
if (event->state & GDK_CONTROL_MASK)
on_file_quit();
else
gdk_beep();
break;
case GDK_u:
case GDK_U:
if (event->state & GDK_CONTROL_MASK)
gdk_beep();
else
on_edit_undo();
break;
case GDK_h:
case GDK_H:
if (event->state & GDK_CONTROL_MASK)
gdk_beep();
else
on_edit_select_all();
break;
default:
gdk_beep();
}
gtk_main_quit();
}
}
static void emacs_key_prefix(void)
{
gulong id;
gtk_widget_set_sensitive(pub->mw->menubar, FALSE);
// gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(pub->mw->view), FALSE);
gtk_text_view_set_editable(GTK_TEXT_VIEW(pub->mw->view), FALSE);
/* waiting for release C-x */
id = g_signal_connect(G_OBJECT(pub->mw->window), "key-release-event",
G_CALLBACK(cb_key_release_event), NULL);
gtk_main();
g_signal_handler_disconnect(G_OBJECT(pub->mw->window), id);
/* waiting for input sequence */
id = g_signal_connect(G_OBJECT(pub->mw->window), "key-press-event",
G_CALLBACK(cb_key_press_event), NULL);
gtk_main();
g_signal_handler_disconnect(G_OBJECT(pub->mw->window), id);
gtk_text_view_set_editable(GTK_TEXT_VIEW(pub->mw->view), TRUE);
// gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(pub->mw->view), TRUE);
gtk_widget_set_sensitive(pub->mw->menubar, TRUE);
}
gboolean check_emacs_key_theme(GtkWindow *window, GtkItemFactory *ifactory)
{
GtkAccelGroup *accel_group;
GSList *groups;
gchar *key_theme = NULL;
gboolean emacs_flag = FALSE;
GtkSettings *settings = gtk_settings_get_default();
g_object_get(settings, "gtk-key-theme-name", &key_theme, NULL);
if (key_theme) {
if (!g_ascii_strcasecmp(key_theme, "Emacs"))
emacs_flag = TRUE;
g_free(key_theme);
}
if (!emacs_flag)
return FALSE;
groups = gtk_accel_groups_from_object(G_OBJECT(window));
accel_group = groups->data;
if (accel_group) {
gtk_window_remove_accel_group(GTK_WINDOW(window), accel_group);
g_object_unref(accel_group);
}
accel_group = gtk_accel_group_new();
gtk_rc_parse_string (
"binding \"gtk-emacs-text-entry\""
"{\n"
"bind \"<ctrl>w\" { \"cut-clipboard\" () }"
"}\n"
);
/* gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/File/New"),
accel_group, GDK_N, GDK_CONTROL_MASK);
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/File/Open"),
accel_group, GDK_O, GDK_CONTROL_MASK);
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/File/Save"),
accel_group, GDK_S, GDK_CONTROL_MASK);
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/File/SaveAs"),
accel_group, GDK_S, GDK_SHIFT_MASK | GDK_CONTROL_MASK);
#ifdef ENABLE_PRINT
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/File/Print"),
accel_group, GDK_P, GDK_CONTROL_MASK);
#endif
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Edit/Undo"),
accel_group, GDK_Z, GDK_CONTROL_MASK);
*/ gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Edit/Undo"),
"activate", accel_group, GDK_underscore, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
/* gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Edit/SelectAll"),
accel_group, GDK_A, GDK_CONTROL_MASK);
gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/Find"),
accel_group, GDK_F, GDK_CONTROL_MASK);
*/ gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/Find"),
"activate", accel_group, GDK_S, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
/* gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/FindNext"),
"activate", accel_group, GDK_S, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
*/ gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/FindPrevious"),
"activate", accel_group, GDK_R, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
/* gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/Replace"),
accel_group, GDK_H, GDK_CONTROL_MASK);
*/ gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/Replace"),
"activate", accel_group, GDK_percent, GDK_MOD1_MASK, GTK_ACCEL_VISIBLE);
/* gtk_widget_remove_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/JumpTo"),
accel_group, GDK_J, GDK_CONTROL_MASK);
*/ gtk_widget_add_accelerator(
gtk_item_factory_get_widget(ifactory, "/M/Search/JumpTo"),
"activate", accel_group, GDK_G, GDK_MOD1_MASK, GTK_ACCEL_VISIBLE);
gtk_accel_group_connect(
accel_group, GDK_X, GDK_CONTROL_MASK, 0,
g_cclosure_new_swap(G_CALLBACK(emacs_key_prefix), NULL, NULL));
gtk_window_add_accel_group(GTK_WINDOW(window), accel_group);
return TRUE;
}
#endif

25
src/emacs.h Normal file
View File

@ -0,0 +1,25 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2006 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _EMACS_H
#define _EMACS_H
gboolean check_emacs_key_theme(GtkWindow *window, GtkUIManager *ifactory);
#endif /* _EMACS_H */

485
src/encoding.c Normal file
View File

@ -0,0 +1,485 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <glib.h>
#include <string.h>
#include "encoding.h"
#define MAX_COUNTRY_NUM 10
enum {
LATIN1 = 0,
LATIN2,
LATIN3,
LATIN4,
LATINC,
LATINC_UA,
LATINC_TJ,
LATINA,
LATING,
LATINH,
LATIN5,
CHINESE_CN,
CHINESE_TW,
CHINESE_HK,
JAPANESE,
KOREAN,
VIETNAMESE,
THAI,
GEORGIAN,
END_CODE
};
static const gchar *country_table[][MAX_COUNTRY_NUM] =
{
/* LATIN1 */ {NULL},
/* LATIN2 */ {"cs", "hr", "hu", "pl", "ro", "sk", "sl", "sq", "sr", "uz"},
/* LATIN3 */ {"eo", "mt", NULL},
/* LATIN4 */ {"et", "lt", "lv", "mi", NULL},
/* LATINC */ {"be", "bg", "ky", "mk", "mn", "ru", "tt", NULL},
/* LATINC_UA */ {"uk", NULL},
/* LATINC_TJ */ {"tg", NULL},
/* LATINA */ {"ar", "fa", "ur", NULL},
/* LATING */ {"el", NULL},
/* LATINH */ {"he", "yi", NULL},
/* LATIN5 */ {"az", "tr", NULL},
/* CHINESE_CN */ {"zh_CN", NULL},
/* CHINESE_TW */ {"zh_TW", NULL},
/* CHINESE_HK */ {"zh_HK", NULL},
/* JAPANESE */ {"ja", NULL},
/* KOREAN */ {"ko", NULL},
/* VIETNAMESE */ {"vi", NULL},
/* THAI */ {"th", NULL},
/* GEORGIAN */ {"ka", NULL},
};
static const gchar *encoding_table[][ENCODING_MAX_ITEM_NUM] =
{
/* IANA OpenI18N Codepage */
/* LATIN1 */ { "ISO-8859-1", "ISO-8859-15", "CP1252" },
/* LATIN2 */ { "ISO-8859-2", "ISO-8859-16", "CP1250" },
/* LATIN3 */ { "ISO-8859-3", NULL, NULL },
/* LATIN4 */ { "ISO-8859-4", "ISO-8859-13", "CP1257" },
/* LATINC */ { "ISO-8859-5", "KOI8-R", "CP1251" },
/* LATINC_UA */ { "ISO-8859-5", "KOI8-U", "CP1251" },
/* LATINC_TJ */ { "ISO-8859-5", "KOI8-T", "CP1251" },
/* LATINA */ { "ISO-8859-6", NULL, "CP1256" },
/* LATING */ { "ISO-8859-7", NULL, "CP1253" },
/* LATINH */ { "ISO-8859-8", NULL, "CP1255" },
/* LATIN5 */ { "ISO-8859-9", NULL, "CP1254" },
/* CHINESE_CN */ { "GB2312", "GB18030", "CP936" },
/* CHINESE_TW */ { "BIG5", "EUC-TW", "CP950" },
/* CHINESE_HK */ { "BIG5", "BIG5-HKSCS", "CP950" },
/* JAPANESE */ { "ISO-2022-JP", "EUC-JP", "CP932" },
/* KOREAN */ { "ISO-2022-KR", "EUC-KR", "CP949" },
/* VIETNAMESE */ { NULL, "VISCII", "CP1258" },
/* THAI */ { NULL, "TIS-620", "CP874" },
/* GEORGIAN */ { NULL, "GEORGIAN-PS", NULL },
};
guint get_encoding_code(void)
{
static guint code = END_CODE;
const gchar *env;
guint i, j = 1;
if (code == END_CODE) {
env = g_getenv("LC_ALL");
if (!env)
env = g_getenv("LANG");
if (env && strlen(env) >= 2)
while (code == END_CODE && j < END_CODE) {
for (i = 0; i < MAX_COUNTRY_NUM; i++) {
if (!country_table[j][i])
break;
if (strncmp(env, country_table[j][i], strlen(country_table[j][i])) == 0) {
code = j;
break;
}
}
j++;
}
if (code == END_CODE)
code = 0;
}
return code;
}
EncArray *get_encoding_items(guint code)
{
gint i;
static EncArray *array = NULL;
if (!array) {
array = g_malloc(sizeof(EncArray));
for (i = 0; i < ENCODING_MAX_ITEM_NUM; i++)
array->item[i] = encoding_table[code][i] ?
encoding_table[code][i] : NULL;
}
return array;
}
const gchar *get_default_charset(void)
{
const gchar *charset;
g_get_charset(&charset);
return charset;
}
/*
Imported from KEdit (for BeOS, NOT KDE).
based on
http://examples.oreilly.com/cjkvinfo/Ch7/DetectCodeType.c
*/
void convert_line_ending_to_lf(gchar *text)
{
gint i, j;
for (i = 0, j = 0; TRUE; i++, j++) {
if (*(text + i) == CR) {
*(text + j) = LF;
if (*(text + i + 1) == LF)
i++;
} else {
*(text + j) = *(text + i);
if (*(text + j) == '\0')
break;
}
}
}
void convert_line_ending(gchar **text, gint retcode)
{
gchar *buf, *str = *text;
const gint len = strlen(str);
gint i, j, LFNum = 0;
switch (retcode) {
case CR:
while (*str != '\0') {
if (*str == LF)
*str = CR;
str++;
}
break;
case CR+LF:
for (i = 0; *(str + i) != '\0'; i++) {
if (*(str + i) == LF)
LFNum++;
}
buf = g_new(gchar, len + LFNum + 1);
for (i= 0, j = 0;; i++, j++) {
if (*(str + j) == LF) {
*(buf + i) = CR;
*(buf + (++i)) = LF;
} else
*(buf + i) = *(str + j);
if (*(str + j) == '\0')
break;
}
g_free(*text);
*text = buf;
}
}
gint detect_line_ending(const gchar *text)
{
while (*(text++) != '\0') {
if (*text == LF)
break;
if (*text == CR) {
if (*(++text) == LF)
return CR+LF;
else
return CR;
}
}
return LF;
}
static const gchar *detect_charset_cylillic(const gchar *text)
{
guint8 c = *text;
gboolean noniso = FALSE;
guint32 xc = 0, xd = 0, xef = 0;
const gchar *charset = get_encoding_items(get_encoding_code())->item[OPENI18N];
while ((c = *text++) != '\0') {
if (c >= 0x80 && c <= 0x9F)
noniso = TRUE;
else if (c >= 0xC0 && c <= 0xCF)
xc++;
else if (c >= 0xD0 && c <= 0xDF)
xd++;
else if (c >= 0xE0)
xef++;
}
if (!noniso && ((xc + xef) < xd))
charset = "ISO-8859-5";
else if ((xc + xd) < xef)
charset = "CP1251";
return charset;
}
static const gchar *detect_charset_chinese(const gchar *text)
{
guint8 c = *text;
const gchar *charset = get_encoding_items(get_encoding_code())->item[IANA];
while ((c = *text++) != '\0') {
if (c >= 0x81 && c <= 0x87) {
charset = "GB18030";
break;
}
else if (c >= 0x88 && c <= 0xA0) {
c = *text++;
if ((c >= 0x30 && c <= 0x39) || (c >= 0x80 && c <= 0xA0)) {
charset = "GB18030";
break;
} //else GBK/Big5-HKSCS cannot determine
}
else if ((c >= 0xA1 && c <= 0xC6) || (c >= 0xC9 && c <= 0xF9)) {
c = *text++;
if (c >= 0x40 && c <= 0x7E)
charset = "BIG5";
else if ((c >= 0x30 && c <= 0x39) || (c >= 0x80 && c <= 0xA0)) {
charset = "GB18030";
break;
}
}
else if (c >= 0xC7) {
c = *text++;
if ((c >= 0x30 && c <= 0x39) || (c >= 0x80 && c <= 0xA0)) {
charset = "GB18030";
break;
}
}
}
return charset;
}
static const gchar *detect_charset_japanese(const gchar *text)
{
guint8 c = *text;
gchar *charset = NULL;
while (charset == NULL && (c = *text++) != '\0') {
if (c >= 0x81 && c <= 0x9F) {
if (c == 0x8E) /* SS2 */ {
c = *text++;
if ((c >= 0x40 && c <= 0xA0) || (c >= 0xE0 && c <= 0xFC))
charset = "CP932";
}
else if (c == 0x8F) /* SS3 */ {
c = *text++;
if (c >= 0x40 && c <= 0xA0)
charset = "CP932";
else if (c >= 0xFD)
break;
}
else
charset = "CP932";
}
else if (c >= 0xA1 && c <= 0xDF) {
c = *text++;
if (c <= 0x9F)
charset = "CP932";
else if (c >= 0xFD)
break;
}
else if (c >= 0xE0 && c <= 0xEF) {
c = *text++;
if (c >= 0x40 && c <= 0xA0)
charset = "CP932";
else if (c >= 0xFD)
break;
}
else if (c >= 0xF0)
break;
}
if (charset == NULL)
charset = "EUC-JP";
return charset;
}
static const gchar *detect_charset_korean(const gchar *text)
{
guint8 c = *text;
gboolean noneuc = FALSE;
gboolean nonjohab = FALSE;
gchar *charset = NULL;
while (charset == NULL && (c = *text++) != '\0') {
if (c >= 0x81 && c < 0x84) {
charset = "CP949";
}
else if (c >= 0x84 && c < 0xA1) {
noneuc = TRUE;
c = *text++;
if ((c > 0x5A && c < 0x61) || (c > 0x7A && c < 0x81))
charset = "CP1361";
else if (c == 0x52 || c == 0x72 || c == 0x92 || (c > 0x9D && c < 0xA1)
|| c == 0xB2 || (c > 0xBD && c < 0xC1) || c == 0xD2
|| (c > 0xDD && c < 0xE1) || c == 0xF2 || c == 0xFE)
charset = "CP949";
}
else if (c >= 0xA1 && c <= 0xC6) {
c = *text++;
if (c < 0xA1) {
noneuc = TRUE;
if ((c > 0x5A && c < 0x61) || (c > 0x7A && c < 0x81))
charset = "CP1361";
else if (c == 0x52 || c == 0x72 || c == 0x92 || (c > 0x9D && c < 0xA1))
charset = "CP949";
else if (c == 0xB2 || (c > 0xBD && c < 0xC1) || c == 0xD2
|| (c > 0xDD && c < 0xE1) || c == 0xF2 || c == 0xFE)
nonjohab = TRUE;
}
}
else if (c > 0xC6 && c <= 0xD3) {
c = *text++;
if (c < 0xA1)
charset = "CP1361";
}
else if (c > 0xD3 && c < 0xD8) {
nonjohab = TRUE;
c = *text++;
}
else if (c >= 0xD8) {
c = *text++;
if (c < 0xA1)
charset = "CP1361";
}
if (noneuc && nonjohab)
charset = "CP949";
}
if (charset == NULL) {
if (noneuc)
charset = "CP949";
else
charset = "EUC-KR";
}
return charset;
}
static gboolean detect_noniso(const gchar *text)
{
guint8 c = *text;
while ((c = *text++) != '\0') {
if (c >= 0x80 && c <= 0x9F)
return TRUE;
}
return FALSE;
}
const gchar *detect_charset(const gchar *text)
{
guint8 c = *text;
const gchar *charset = NULL;
if (g_utf8_validate(text, -1, NULL)) {
while ((c = *text++) != '\0') {
if (c > 0x7F) {
charset = "UTF-8";
break;
}
if (c == 0x1B) /* ESC */ {
c = *text++;
if (c == '$') {
c = *text++;
switch (c) {
case 'B': // JIS X 0208-1983
case '@': // JIS X 0208-1978
charset = "ISO-2022-JP";
continue;
case 'A': // GB2312-1980
charset = "ISO-2022-JP-2";
break;
case '(':
c = *text++;
switch (c) {
case 'C': // KSC5601-1987
case 'D': // JIS X 0212-1990
charset = "ISO-2022-JP-2";
}
break;
case ')':
c = *text++;
if (c == 'C')
charset = "ISO-2022-KR"; // KSC5601-1987
}
break;
}
}
}
if (!charset)
charset = get_default_charset();
}
if (!charset) {
switch (get_encoding_code()) {
case LATINC:
case LATINC_UA:
case LATINC_TJ:
charset = detect_charset_cylillic(text); // fuzzy...
break;
case CHINESE_CN:
case CHINESE_TW:
case CHINESE_HK:
charset = detect_charset_chinese(text);
break;
case JAPANESE:
charset = detect_charset_japanese(text);
break;
case KOREAN:
charset = detect_charset_korean(text);
break;
case VIETNAMESE:
case THAI:
case GEORGIAN:
charset = get_encoding_items(get_encoding_code())->item[OPENI18N];
break;
default:
if (strcmp(get_default_charset(), "UTF-8") != 0)
charset = get_default_charset();
else if (detect_noniso(text))
charset = get_encoding_items(get_encoding_code())->item[CODEPAGE];
else
charset = get_encoding_items(get_encoding_code())->item[OPENI18N];
if (!charset)
charset = get_encoding_items(get_encoding_code())->item[IANA];
}
}
return charset;
}

49
src/encoding.h Normal file
View File

@ -0,0 +1,49 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _ENCODING_H
#define _ENCODING_H
#include <glib.h> // TODO: ????? It must to -> .c
enum {
IANA = 0,
OPENI18N,
CODEPAGE,
ENCODING_MAX_ITEM_NUM
};
typedef struct {
const gchar *item[ENCODING_MAX_ITEM_NUM];
} EncArray;
enum {
LF = 0x0A,
CR = 0x0D,
};
guint get_encoding_code(void);
EncArray *get_encoding_items(guint code);
const gchar *get_default_charset(void);
gint detect_line_ending(const gchar *text);
void convert_line_ending_to_lf(gchar *text);
void convert_line_ending(gchar **text, gint retcode);
const gchar *detect_charset(const gchar *text);
#endif /* _ENCODING_H */

237
src/file.c Normal file
View File

@ -0,0 +1,237 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <gtk/gtk.h>
#include <stdio.h>
#include <string.h>
#include "file.h"
#include "view.h"
#include "encoding.h"
#include "dialog.h"
#include "menu.h"
#include <glib/gi18n.h>
//#include "undo.h"
gboolean check_file_writable(gchar *filename)
{
FILE *fp;
if ((fp = fopen(filename, "a")) != NULL) {
fclose(fp);
return TRUE;
}
return FALSE;
}
gchar *get_file_basename(gchar *filename, gboolean bracket)
{
gchar *basename = NULL;
gchar *tmp;
gboolean exist_flag;
if (filename) {
tmp = g_path_get_basename(
g_filename_to_utf8(filename, -1, NULL, NULL, NULL));
exist_flag = g_file_test(
g_filename_to_utf8(filename, -1, NULL, NULL, NULL),
G_FILE_TEST_EXISTS);
} else {
tmp = g_strdup(_("Untitled"));
exist_flag = FALSE;
}
if (bracket) {
if (!exist_flag) {
GString *string = g_string_new(tmp);
g_string_prepend(string, "(");
g_string_append(string, ")");
basename = g_strdup(string->str);
g_string_free(string, TRUE);
} else if (!check_file_writable(filename)) {
GString *string = g_string_new(tmp);
g_string_prepend(string, "<");
g_string_append(string, ">");
basename = g_strdup(string->str);
g_string_free(string, TRUE);
}
}
if (!basename)
basename = g_strdup(tmp);
g_free(tmp);
return basename;
}
gchar *parse_file_uri(gchar *uri)
{
gchar *filename;
// gchar **strs;
if (g_strstr_len(uri, 5, "file:"))
filename = g_filename_from_uri(uri, NULL, NULL);
else {
if (g_path_is_absolute(uri))
filename = g_strdup(uri);
else
filename = g_build_filename(g_get_current_dir(), uri, NULL);
}
/* if (strstr(filename, " ")) {
strs = g_strsplit(filename, " ", -1);
g_free(filename);
filename = g_strjoinv("\\ ", strs);
g_strfreev(strs);
}
*/
return filename;
}
gint file_open_real(GtkWidget *view, FileInfo *fi)
{
gchar *contents;
gsize length;
GError *err = NULL;
const gchar *charset;
gchar *str = NULL;
GtkTextIter iter;
GtkTextBuffer *buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(view));
if (!g_file_get_contents(fi->filename, &contents, &length, &err)) {
if (g_file_test(fi->filename, G_FILE_TEST_EXISTS)) {
run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, err->message);
g_error_free(err);
return -1;
}
g_error_free(err);
err = NULL;
contents = g_strdup("");
}
fi->lineend = detect_line_ending(contents);
if (fi->lineend != LF)
convert_line_ending_to_lf(contents);
if (fi->charset)
charset = fi->charset;
else {
charset = detect_charset(contents);
if (charset == NULL)
charset = get_default_charset();
}
if (length)
do {
if (err) {
charset = "ISO-8859-1";
g_error_free(err);
err = NULL;
}
str = g_convert(contents, -1, "UTF-8", charset, NULL, NULL, &err);
} while (err);
else
str = g_strdup("");
g_free(contents);
if (charset != fi->charset) {
g_free(fi->charset);
fi->charset = g_strdup(charset);
if (fi->charset_flag)
fi->charset_flag = FALSE;
}
// undo_disconnect_signal(textbuffer);
// undo_block_signal(buffer);
force_block_cb_modified_changed(view);
gtk_text_buffer_set_text(buffer, "", 0);
gtk_text_buffer_get_start_iter(buffer, &iter);
gtk_text_buffer_insert(buffer, &iter, str, strlen(str));
gtk_text_buffer_get_start_iter(buffer, &iter);
gtk_text_buffer_place_cursor(buffer, &iter);
gtk_text_buffer_set_modified(buffer, FALSE);
gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(view), &iter, 0, FALSE, 0, 0);
g_free(str);
force_unblock_cb_modified_changed(view);
menu_sensitivity_from_modified_flag(FALSE);
// undo_unblock_signal(buffer);
return 0;
}
gint file_save_real(GtkWidget *view, FileInfo *fi)
{
FILE *fp;
GtkTextIter start, end;
gchar *str, *cstr;
gsize rbytes, wbytes;
GError *err = NULL;
GtkTextBuffer *buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(view));
gtk_text_buffer_get_start_iter(buffer, &start);
gtk_text_buffer_get_end_iter(buffer, &end);
str = gtk_text_buffer_get_text(buffer, &start, &end, FALSE);
switch (fi->lineend) {
case CR:
convert_line_ending(&str, CR);
break;
case CR+LF:
convert_line_ending(&str, CR+LF);
}
if (!fi->charset)
fi->charset = g_strdup(get_default_charset());
cstr = g_convert(str, -1, fi->charset, "UTF-8", &rbytes, &wbytes, &err);
g_free(str);
if (err) {
switch (err->code) {
case G_CONVERT_ERROR_ILLEGAL_SEQUENCE:
run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, _("Can't convert codeset to '%s'"), fi->charset);
break;
default:
run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, err->message);
}
g_error_free(err);
return -1;
}
fp = fopen(fi->filename, "w");
if (!fp) {
run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, _("Can't open file to write"));
return -1;
}
if (fwrite(cstr, 1, wbytes, fp) != wbytes) {
run_dialog_message(gtk_widget_get_toplevel(view),
GTK_MESSAGE_ERROR, _("Can't write file"));
return -1;
}
gtk_text_buffer_set_modified(buffer, FALSE);
fclose(fp);
g_free(cstr);
return 0;
}

36
src/file.h Normal file
View File

@ -0,0 +1,36 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _FILE_H
#define _FILE_H
typedef struct {
gchar *filename;
gchar *charset;
gboolean charset_flag; /* T:unique F:listed */
gchar lineend;
} FileInfo;
gboolean check_file_writable(gchar *filename);
gchar *get_file_basename(gchar *filename, gboolean bracket);
gchar *parse_file_uri(gchar *uri);
gint file_open_real(GtkWidget *view, FileInfo *fi);
gint file_save_real(GtkWidget *view, FileInfo *fi);
#endif /* _FILE_H */

71
src/font.c Normal file
View File

@ -0,0 +1,71 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
void set_text_font_by_name(GtkWidget *widget, gchar *fontname)
{
PangoFontDescription *font_desc;
font_desc = pango_font_description_from_string(fontname);
gtk_widget_modify_font(widget, font_desc);
pango_font_description_free(font_desc);
}
gchar *get_font_name_from_widget(GtkWidget *widget) /* MUST BE FREED */
{
GtkStyle *style;
style = gtk_widget_get_style(widget);
return pango_font_description_to_string(style->font_desc);
}
static gchar *get_font_name_by_selector(GtkWidget *window, gchar *current_fontname)
{
GtkWidget *dialog;
gchar *fontname;
dialog = gtk_font_selection_dialog_new(_("Font"));
gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(window));
gtk_font_selection_dialog_set_font_name(GTK_FONT_SELECTION_DIALOG(dialog), current_fontname);
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK)
fontname = gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(dialog));
else
fontname = NULL;
gtk_widget_destroy(dialog);
return fontname;
}
void change_text_font_by_selector(GtkWidget *widget)
{
gchar *current_fontname, *fontname;
current_fontname = get_font_name_from_widget(widget);
fontname = get_font_name_by_selector(
gtk_widget_get_toplevel(widget), current_fontname);
if (fontname) {
set_text_font_by_name(widget, fontname);
indent_refresh_tab_width(widget);
}
g_free(fontname);
g_free(current_fontname);
}

27
src/font.h Normal file
View File

@ -0,0 +1,27 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _FONT_H
#define _FONT_H
void set_text_font_by_name(GtkWidget *widget, gchar *fontname);
gchar *get_font_name_from_widget(GtkWidget *widget); /* MUST BE FREED */
void change_text_font_by_selector(GtkWidget *widget);
#endif /* _FONT_H */

218
src/gtkprint.c Normal file
View File

@ -0,0 +1,218 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2007 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <gtk/gtk.h>
static PangoLayout *layout;
static PangoFontDescription *font_desc;
static gint line_count, lines_per_page, text_height;
static gint n_pages;
static gdouble page_width, page_height;
static const gchar *page_title = NULL;
static void get_tab_array(PangoTabArray **tabs,
GtkPrintContext *ctx, GtkTextView *text_view)
{
gint xft_dpi, loc;
GtkSettings *settings = gtk_settings_get_default();
g_object_get(settings, "gtk-xft-dpi", &xft_dpi, NULL);
if ((*tabs = gtk_text_view_get_tabs(text_view))) {
pango_tab_array_get_tab(*tabs, 0, NULL, &loc);
pango_tab_array_set_tab(*tabs, 0, PANGO_TAB_LEFT,
loc * gtk_print_context_get_dpi_x(ctx) / (xft_dpi / PANGO_SCALE));
}
}
static void cb_begin_print(GtkPrintOperation *op,
GtkPrintContext *ctx, gpointer data)
{
gint layout_height;
gchar *text;
GtkTextIter start, end;
GtkTextBuffer *buffer = gtk_text_view_get_buffer(data);
PangoTabArray *tabs;
gtk_text_buffer_get_bounds(buffer, &start, &end);
text = g_strchomp(gtk_text_buffer_get_text(buffer, &start, &end, FALSE));
page_width = gtk_print_context_get_width(ctx);
page_height = gtk_print_context_get_height(ctx);
gtk_widget_style_get_property(data, font_desc, font_desc);
layout = gtk_print_context_create_pango_layout(ctx);
pango_layout_set_width(layout, page_width * PANGO_SCALE);
pango_layout_set_font_description(layout, font_desc);
pango_layout_set_text(layout, text, -1);
get_tab_array(&tabs, ctx, data);
if (tabs) {
pango_layout_set_tabs(layout, tabs);
pango_tab_array_free(tabs);
}
pango_layout_get_size(layout, NULL, &layout_height);
line_count = pango_layout_get_line_count(layout);
text_height = pango_font_description_get_size(font_desc) / PANGO_SCALE;
lines_per_page = page_height / text_height;
n_pages = (line_count - 1) / lines_per_page + 1;
gtk_print_operation_set_n_pages(op, n_pages);
g_free(text);
}
static void cb_draw_page(GtkPrintOperation *op,
GtkPrintContext *ctx, gint page_nr, gpointer data)
{
cairo_t *cr;
PangoLayoutLine *line;
gint n_line, i, j = 0;
PangoLayout *layout_lh, *layout_rh;
gchar *page_text;
gint layout_width;
cr = gtk_print_context_get_cairo_context(ctx);
layout_lh = gtk_print_context_create_pango_layout(ctx);
pango_layout_set_font_description(layout_lh, font_desc);
pango_layout_set_text(layout_lh, page_title, -1);
cairo_move_to(cr, 0, - 72 / 25.4 * 10);
pango_cairo_show_layout(cr, layout_lh);
page_text = g_strdup_printf("%d / %d", page_nr + 1, n_pages);
layout_rh = gtk_print_context_create_pango_layout(ctx);
pango_layout_set_font_description(layout_rh, font_desc);
pango_layout_set_text(layout_rh, page_text, -1);
// pango_layout_set_alignment(layout_rh, PANGO_ALIGN_RIGHT);
pango_layout_get_size(layout_rh, &layout_width, NULL);
cairo_move_to(cr,
page_width - layout_width / PANGO_SCALE, - 72 / 25.4 * 10);
pango_cairo_show_layout(cr, layout_rh);
g_free(page_text);
if (line_count > lines_per_page * (page_nr + 1))
n_line = lines_per_page * (page_nr + 1);
else
n_line = line_count;
for (i = lines_per_page * page_nr; i < n_line; i++) {
line = pango_layout_get_line(layout, i);
cairo_move_to(cr, 0, text_height * (j + 1));
pango_cairo_show_layout_line(cr, line);
j++;
}
}
static void cb_end_print(GtkPrintOperation *op,
GtkPrintContext *ctx, gpointer data)
{
g_object_unref(layout);
}
static GtkPrintSettings *settings = NULL;
static GtkPrintOperation *create_print_operation(GtkTextView *text_view)
{
GtkPrintOperation *op;
static GtkPageSetup *page_setup = NULL;
op = gtk_print_operation_new();
if (settings)
gtk_print_operation_set_print_settings(op, settings);
if (!page_setup) {
page_setup = gtk_page_setup_new();
gtk_page_setup_set_top_margin(page_setup, 25.0, GTK_UNIT_MM);
gtk_page_setup_set_bottom_margin(page_setup, 20.0, GTK_UNIT_MM);
gtk_page_setup_set_left_margin(page_setup, 20.0, GTK_UNIT_MM);
gtk_page_setup_set_right_margin(page_setup, 20.0, GTK_UNIT_MM);
}
gtk_print_operation_set_default_page_setup(op, page_setup);
g_signal_connect(op, "begin-print", G_CALLBACK(cb_begin_print), text_view);
g_signal_connect(op, "draw-page", G_CALLBACK(cb_draw_page), NULL);
g_signal_connect(op, "end-print", G_CALLBACK(cb_end_print), NULL);
return op;
}
static void create_error_dialog(GtkTextView *text_view, gchar *message)
{
GtkWidget *dialog;
dialog = gtk_message_dialog_new(
GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(text_view))),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_NONE,
message);
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
gtk_dialog_add_buttons(GTK_DIALOG(dialog),
GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CANCEL);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
void create_gtkprint_session(GtkTextView *text_view, const gchar *title)
{
GtkPrintOperation *op;
GtkPrintOperationResult res;
GError *err = NULL;
page_title = title;
op = create_print_operation(text_view);
res = gtk_print_operation_run(op, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(text_view))), &err);
switch (res) {
case GTK_PRINT_OPERATION_RESULT_ERROR:
create_error_dialog(text_view, err->message);
g_error_free(err);
case GTK_PRINT_OPERATION_RESULT_APPLY:
if (settings)
g_object_unref(settings);
settings = g_object_ref(gtk_print_operation_get_print_settings(op));
default:
break;
}
g_object_unref(op);
}
void create_gtkprint_preview_session(GtkTextView *text_view, const gchar *title)
{
GtkPrintOperation *op;
GtkPrintOperationResult res;
GError *err = NULL;
page_title = title;
op = create_print_operation(text_view);
res = gtk_print_operation_run(op, GTK_PRINT_OPERATION_ACTION_PREVIEW,
GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(text_view))), &err);
if (res == GTK_PRINT_OPERATION_RESULT_ERROR) {
create_error_dialog(text_view, err->message);
g_error_free(err);
}
g_object_unref(op);
}

26
src/gtkprint.h Normal file
View File

@ -0,0 +1,26 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2007 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _GTKPRINT_H
#define _GTKPRINT_H
void create_gtkprint_session(GtkTextView *text_view, const gchar *title);
void create_gtkprint_preview_session(GtkTextView *text_view, const gchar *title);
#endif /* _GTKPRINT_H */

742
src/gtksourceiter.c Normal file
View File

@ -0,0 +1,742 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
* gtksourceiter.h
*
* Copyright (C) 2000, 2002 Paolo Maggi
* Copyright (C) 2002, 2003 Jeroen Zwartepoorte
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* Parts of this file are copied from the gedit and glimmer project.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#include "gtksourceiter.h"
#define GTK_TEXT_UNKNOWN_CHAR 0xFFFC
/* this function acts like g_utf8_offset_to_pointer() except that if it finds a
* decomposable character it consumes the decomposition length from the given
* offset. So it's useful when the offset was calculated for the normalized
* version of str, but we need a pointer to str itself. */
static const gchar *
pointer_from_offset_skipping_decomp (const gchar *str, gint offset)
{
gsize decomp_len;
gunichar *decomp;
const gchar *p;
p = str;
while (offset > 0)
{
decomp = g_unicode_canonical_decomposition (g_utf8_get_char (p), &decomp_len);
g_free (decomp);
p = g_utf8_next_char (p);
offset -= decomp_len;
}
return p;
}
static const gchar *
g_utf8_strcasestr (const gchar *haystack, const gchar *needle)
{
gsize needle_len;
gsize haystack_len;
const gchar *ret = NULL;
gchar *p;
gchar *casefold;
gchar *caseless_haystack;
gint i;
g_return_val_if_fail (haystack != NULL, NULL);
g_return_val_if_fail (needle != NULL, NULL);
casefold = g_utf8_casefold (haystack, -1);
caseless_haystack = g_utf8_normalize (casefold, -1, G_NORMALIZE_DEFAULT);
g_free (casefold);
needle_len = g_utf8_strlen (needle, -1);
haystack_len = g_utf8_strlen (caseless_haystack, -1);
if (needle_len == 0)
{
ret = (gchar *)haystack;
goto finally_1;
}
if (haystack_len < needle_len)
{
ret = NULL;
goto finally_1;
}
p = (gchar*)caseless_haystack;
needle_len = strlen (needle);
i = 0;
while (*p)
{
if ((strncmp (p, needle, needle_len) == 0))
{
ret = pointer_from_offset_skipping_decomp (haystack, i);
goto finally_1;
}
p = g_utf8_next_char (p);
i++;
}
finally_1:
g_free (caseless_haystack);
return ret;
}
static const gchar *
g_utf8_strrcasestr (const gchar *haystack, const gchar *needle)
{
gsize needle_len;
gsize haystack_len;
const gchar *ret = NULL;
gchar *p;
gchar *casefold;
gchar *caseless_haystack;
gint i;
g_return_val_if_fail (haystack != NULL, NULL);
g_return_val_if_fail (needle != NULL, NULL);
casefold = g_utf8_casefold (haystack, -1);
caseless_haystack = g_utf8_normalize (casefold, -1, G_NORMALIZE_ALL);
g_free (casefold);
needle_len = g_utf8_strlen (needle, -1);
haystack_len = g_utf8_strlen (caseless_haystack, -1);
if (needle_len == 0)
{
ret = (gchar *)haystack;
goto finally_1;
}
if (haystack_len < needle_len)
{
ret = NULL;
goto finally_1;
}
i = haystack_len - needle_len;
p = g_utf8_offset_to_pointer (caseless_haystack, i);
needle_len = strlen (needle);
while (p >= caseless_haystack)
{
if (strncmp (p, needle, needle_len) == 0)
{
ret = pointer_from_offset_skipping_decomp (haystack, i);
goto finally_1;
}
p = g_utf8_prev_char (p);
i--;
}
finally_1:
g_free (caseless_haystack);
return ret;
}
static gboolean
g_utf8_caselessnmatch (const char *s1, const char *s2,
gssize n1, gssize n2)
{
gchar *casefold;
gchar *normalized_s1;
gchar *normalized_s2;
gint len_s1;
gint len_s2;
gboolean ret = FALSE;
g_return_val_if_fail (s1 != NULL, FALSE);
g_return_val_if_fail (s2 != NULL, FALSE);
g_return_val_if_fail (n1 > 0, FALSE);
g_return_val_if_fail (n2 > 0, FALSE);
casefold = g_utf8_casefold (s1, n1);
normalized_s1 = g_utf8_normalize (casefold, -1, G_NORMALIZE_ALL);
g_free (casefold);
casefold = g_utf8_casefold (s2, n2);
normalized_s2 = g_utf8_normalize (casefold, -1, G_NORMALIZE_ALL);
g_free (casefold);
len_s1 = strlen (normalized_s1);
len_s2 = strlen (normalized_s2);
if (len_s1 < len_s2)
goto finally_2;
ret = (strncmp (normalized_s1, normalized_s2, len_s2) == 0);
finally_2:
g_free (normalized_s1);
g_free (normalized_s2);
return ret;
}
static void
forward_chars_with_skipping (GtkTextIter *iter,
gint count,
gboolean skip_invisible,
gboolean skip_nontext,
gboolean skip_decomp)
{
gint i;
g_return_if_fail (count >= 0);
i = count;
while (i > 0)
{
gboolean ignored = FALSE;
if (skip_nontext && gtk_text_iter_get_char (iter) == GTK_TEXT_UNKNOWN_CHAR)
ignored = TRUE;
if (!ignored && skip_invisible &&
/* _gtk_text_btree_char_is_invisible (iter)*/ FALSE)
ignored = TRUE;
if (!ignored && skip_decomp)
{
/* being UTF8 correct sucks; this accounts for extra
offsets coming from canonical decompositions of
UTF8 characters (e.g. accented characters) which
g_utf8_normalize() performs */
gunichar *decomp;
gsize decomp_len;
decomp = g_unicode_canonical_decomposition (
gtk_text_iter_get_char (iter), &decomp_len);
i -= (decomp_len - 1);
g_free (decomp);
}
gtk_text_iter_forward_char (iter);
if (!ignored)
--i;
}
}
static gboolean
lines_match (const GtkTextIter *start,
const gchar **lines,
gboolean visible_only,
gboolean slice,
GtkTextIter *match_start,
GtkTextIter *match_end)
{
GtkTextIter next;
gchar *line_text;
const gchar *found;
gint offset;
if (*lines == NULL || **lines == '\0')
{
if (match_start)
*match_start = *start;
if (match_end)
*match_end = *start;
return TRUE;
}
next = *start;
gtk_text_iter_forward_line (&next);
/* No more text in buffer, but *lines is nonempty */
if (gtk_text_iter_equal (start, &next))
return FALSE;
if (slice)
{
if (visible_only)
line_text = gtk_text_iter_get_visible_slice (start, &next);
else
line_text = gtk_text_iter_get_slice (start, &next);
}
else
{
if (visible_only)
line_text = gtk_text_iter_get_visible_text (start, &next);
else
line_text = gtk_text_iter_get_text (start, &next);
}
if (match_start) /* if this is the first line we're matching */
{
found = g_utf8_strcasestr (line_text, *lines);
}
else
{
/* If it's not the first line, we have to match from the
* start of the line.
*/
if (g_utf8_caselessnmatch (line_text, *lines, strlen (line_text),
strlen (*lines)))
found = line_text;
else
found = NULL;
}
if (found == NULL)
{
g_free (line_text);
return FALSE;
}
/* Get offset to start of search string */
offset = g_utf8_strlen (line_text, found - line_text);
next = *start;
/* If match start needs to be returned, set it to the
* start of the search string.
*/
forward_chars_with_skipping (&next, offset, visible_only, !slice, FALSE);
if (match_start)
{
*match_start = next;
}
/* Go to end of search string */
forward_chars_with_skipping (&next, g_utf8_strlen (*lines, -1), visible_only, !slice, TRUE);
g_free (line_text);
++lines;
if (match_end)
*match_end = next;
/* pass NULL for match_start, since we don't need to find the
* start again.
*/
return lines_match (&next, lines, visible_only, slice, NULL, match_end);
}
static gboolean
backward_lines_match (const GtkTextIter *start,
const gchar **lines,
gboolean visible_only,
gboolean slice,
GtkTextIter *match_start,
GtkTextIter *match_end)
{
GtkTextIter line, next;
gchar *line_text;
const gchar *found;
gint offset;
if (*lines == NULL || **lines == '\0')
{
if (match_start)
*match_start = *start;
if (match_end)
*match_end = *start;
return TRUE;
}
line = next = *start;
if (gtk_text_iter_get_line_offset (&next) == 0)
{
if (!gtk_text_iter_backward_line (&next))
return FALSE;
}
else
gtk_text_iter_set_line_offset (&next, 0);
if (slice)
{
if (visible_only)
line_text = gtk_text_iter_get_visible_slice (&next, &line);
else
line_text = gtk_text_iter_get_slice (&next, &line);
}
else
{
if (visible_only)
line_text = gtk_text_iter_get_visible_text (&next, &line);
else
line_text = gtk_text_iter_get_text (&next, &line);
}
if (match_start) /* if this is the first line we're matching */
{
found = g_utf8_strrcasestr (line_text, *lines);
}
else
{
/* If it's not the first line, we have to match from the
* start of the line.
*/
if (g_utf8_caselessnmatch (line_text, *lines, strlen (line_text),
strlen (*lines)))
found = line_text;
else
found = NULL;
}
if (found == NULL)
{
g_free (line_text);
return FALSE;
}
/* Get offset to start of search string */
offset = g_utf8_strlen (line_text, found - line_text);
forward_chars_with_skipping (&next, offset, visible_only, !slice, FALSE);
/* If match start needs to be returned, set it to the
* start of the search string.
*/
if (match_start)
{
*match_start = next;
}
/* Go to end of search string */
forward_chars_with_skipping (&next, g_utf8_strlen (*lines, -1), visible_only, !slice, TRUE);
g_free (line_text);
++lines;
if (match_end)
*match_end = next;
/* try to match the rest of the lines forward, passing NULL
* for match_start so lines_match will try to match the entire
* line */
return lines_match (&next, lines, visible_only,
slice, NULL, match_end);
}
/* strsplit () that retains the delimiter as part of the string. */
static gchar **
strbreakup (const char *string,
const char *delimiter,
gint max_tokens)
{
GSList *string_list = NULL, *slist;
gchar **str_array, *s, *casefold, *new_string;
guint i, n = 1;
g_return_val_if_fail (string != NULL, NULL);
g_return_val_if_fail (delimiter != NULL, NULL);
if (max_tokens < 1)
max_tokens = G_MAXINT;
s = strstr (string, delimiter);
if (s)
{
guint delimiter_len = strlen (delimiter);
do
{
guint len;
len = s - string + delimiter_len;
new_string = g_new (gchar, len + 1);
strncpy (new_string, string, len);
new_string[len] = 0;
casefold = g_utf8_casefold (new_string, -1);
g_free (new_string);
new_string = g_utf8_normalize (casefold, -1, G_NORMALIZE_ALL);
g_free (casefold);
string_list = g_slist_prepend (string_list, new_string);
n++;
string = s + delimiter_len;
s = strstr (string, delimiter);
} while (--max_tokens && s);
}
if (*string)
{
n++;
casefold = g_utf8_casefold (string, -1);
new_string = g_utf8_normalize (casefold, -1, G_NORMALIZE_ALL);
g_free (casefold);
string_list = g_slist_prepend (string_list, new_string);
}
str_array = g_new (gchar*, n);
i = n - 1;
str_array[i--] = NULL;
for (slist = string_list; slist; slist = slist->next)
str_array[i--] = slist->data;
g_slist_free (string_list);
return str_array;
}
/**
* gtk_source_iter_forward_search:
* @iter: start of search
* @str: a search string
* @flags: flags affecting how the search is done
* @match_start: return location for start of match, or %NULL
* @match_end: return location for end of match, or %NULL
* @limit: bound for the search, or %NULL for the end of the buffer
*
* Searches forward for @str. Any match is returned by setting
* @match_start to the first character of the match and @match_end to the
* first character after the match. The search will not continue past
* @limit. Note that a search is a linear or O(n) operation, so you
* may wish to use @limit to avoid locking up your UI on large
* buffers.
*
* If the #GTK_SOURCE_SEARCH_VISIBLE_ONLY flag is present, the match may
* have invisible text interspersed in @str. i.e. @str will be a
* possibly-noncontiguous subsequence of the matched range. similarly,
* if you specify #GTK_SOURCE_SEARCH_TEXT_ONLY, the match may have
* pixbufs or child widgets mixed inside the matched range. If these
* flags are not given, the match must be exact; the special 0xFFFC
* character in @str will match embedded pixbufs or child widgets.
* If you specify the #GTK_SOURCE_SEARCH_CASE_INSENSITIVE flag, the text will
* be matched regardless of what case it is in.
*
* Same as gtk_text_iter_forward_search(), but supports case insensitive
* searching.
*
* Return value: whether a match was found
**/
gboolean
gtk_source_iter_forward_search (const GtkTextIter *iter,
const gchar *str,
GtkSourceSearchFlags flags,
GtkTextIter *match_start,
GtkTextIter *match_end,
const GtkTextIter *limit)
{
gchar **lines = NULL;
GtkTextIter match;
gboolean retval = FALSE;
GtkTextIter search;
gboolean visible_only;
gboolean slice;
g_return_val_if_fail (iter != NULL, FALSE);
g_return_val_if_fail (str != NULL, FALSE);
if ((flags & GTK_SOURCE_SEARCH_CASE_INSENSITIVE) == 0)
return gtk_text_iter_forward_search (iter, str, flags,
match_start, match_end,
limit);
if (limit && gtk_text_iter_compare (iter, limit) >= 0)
return FALSE;
if (*str == '\0')
{
/* If we can move one char, return the empty string there */
match = *iter;
if (gtk_text_iter_forward_char (&match))
{
if (limit && gtk_text_iter_equal (&match, limit))
return FALSE;
if (match_start)
*match_start = match;
if (match_end)
*match_end = match;
return TRUE;
}
else
{
return FALSE;
}
}
visible_only = (flags & GTK_SOURCE_SEARCH_VISIBLE_ONLY) != 0;
slice = (flags & GTK_SOURCE_SEARCH_TEXT_ONLY) == 0;
/* locate all lines */
lines = strbreakup (str, "\n", -1);
search = *iter;
do
{
/* This loop has an inefficient worst-case, where
* gtk_text_iter_get_text () is called repeatedly on
* a single line.
*/
GtkTextIter end;
if (limit && gtk_text_iter_compare (&search, limit) >= 0)
break;
if (lines_match (&search, (const gchar**)lines,
visible_only, slice, &match, &end))
{
if (limit == NULL || (limit &&
gtk_text_iter_compare (&end, limit) < 0))
{
retval = TRUE;
if (match_start)
*match_start = match;
if (match_end)
*match_end = end;
}
break;
}
} while (gtk_text_iter_forward_line (&search));
g_strfreev ((gchar**)lines);
return retval;
}
/**
* gtk_source_iter_backward_search:
* @iter: a #GtkTextIter where the search begins
* @str: search string
* @flags: bitmask of flags affecting the search
* @match_start: return location for start of match, or %NULL
* @match_end: return location for end of match, or %NULL
* @limit: location of last possible @match_start, or %NULL for start of buffer
*
* Same as gtk_text_iter_backward_search(), but supports case insensitive
* searching.
*
* Return value: whether a match was found
**/
gboolean
gtk_source_iter_backward_search (const GtkTextIter *iter,
const gchar *str,
GtkSourceSearchFlags flags,
GtkTextIter *match_start,
GtkTextIter *match_end,
const GtkTextIter *limit)
{
gchar **lines = NULL;
GtkTextIter match;
gboolean retval = FALSE;
GtkTextIter search;
gboolean visible_only;
gboolean slice;
g_return_val_if_fail (iter != NULL, FALSE);
g_return_val_if_fail (str != NULL, FALSE);
if ((flags & GTK_SOURCE_SEARCH_CASE_INSENSITIVE) == 0)
return gtk_text_iter_backward_search (iter, str, flags,
match_start, match_end,
limit);
if (limit && gtk_text_iter_compare (iter, limit) <= 0)
return FALSE;
if (*str == '\0')
{
/* If we can move one char, return the empty string there */
match = *iter;
if (gtk_text_iter_backward_char (&match))
{
if (limit && gtk_text_iter_equal (&match, limit))
return FALSE;
if (match_start)
*match_start = match;
if (match_end)
*match_end = match;
return TRUE;
}
else
{
return FALSE;
}
}
visible_only = (flags & GTK_SOURCE_SEARCH_VISIBLE_ONLY) != 0;
slice = (flags & GTK_SOURCE_SEARCH_TEXT_ONLY) == 0;
/* locate all lines */
lines = strbreakup (str, "\n", -1);
search = *iter;
while (TRUE)
{
/* This loop has an inefficient worst-case, where
* gtk_text_iter_get_text () is called repeatedly on
* a single line.
*/
GtkTextIter end;
if (limit && gtk_text_iter_compare (&search, limit) <= 0)
break;
if (backward_lines_match (&search, (const gchar**)lines,
visible_only, slice, &match, &end))
{
if (limit == NULL || (limit &&
gtk_text_iter_compare (&end, limit) > 0))
{
retval = TRUE;
if (match_start)
*match_start = match;
if (match_end)
*match_end = end;
}
break;
}
if (gtk_text_iter_get_line_offset (&search) == 0)
{
if (!gtk_text_iter_backward_line (&search))
break;
}
else
{
gtk_text_iter_set_line_offset (&search, 0);
}
}
g_strfreev ((gchar**)lines);
return retval;
}
/*
* gtk_source_iter_find_matching_bracket is implemented in gtksourcebuffer.c
*/

55
src/gtksourceiter.h Normal file
View File

@ -0,0 +1,55 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
* gtksourceiter.h
*
* Copyright (C) 2000, 2002 Paolo Maggi
* Copyright (C) 2002, 2003 Jeroen Zwartepoorte
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __GTK_SOURCE_ITER_H__
#define __GTK_SOURCE_ITER_H__
#include <gtk/gtk.h>
G_BEGIN_DECLS
typedef enum
{
GTK_SOURCE_SEARCH_VISIBLE_ONLY,
GTK_SOURCE_SEARCH_TEXT_ONLY,
GTK_SOURCE_SEARCH_CASE_INSENSITIVE
/* Possible future plans: SEARCH_REGEXP */
} GtkSourceSearchFlags;
gboolean gtk_source_iter_forward_search (const GtkTextIter *iter,
const gchar *str,
GtkSourceSearchFlags flags,
GtkTextIter *match_start,
GtkTextIter *match_end,
const GtkTextIter *limit);
gboolean gtk_source_iter_backward_search (const GtkTextIter *iter,
const gchar *str,
GtkSourceSearchFlags flags,
GtkTextIter *match_start,
GtkTextIter *match_end,
const GtkTextIter *limit);
gboolean gtk_source_iter_find_matching_bracket (GtkTextIter *iter);
G_END_DECLS
#endif /* __GTK_SOURCE_ITER_H__ */

88
src/hlight.c Normal file
View File

@ -0,0 +1,88 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <string.h>
#include "l3afpad.h"
//#include <gtk/gtk.h>
static gboolean searched_flag = FALSE;
static void cb_changed(GtkTextBuffer *buffer)
{
GtkTextIter start, end;
gtk_text_buffer_get_bounds(buffer, &start, &end);
// gtk_text_buffer_remove_tag_by_name(buffer,
// "searched", &start, &end);
gtk_text_buffer_remove_all_tags(buffer, &start, &end);
g_signal_handlers_block_by_func(G_OBJECT(buffer),
G_CALLBACK(cb_changed), NULL);
searched_flag = FALSE;
}
static void cb_paste_clipboard(void)
{
gchar *text;
text = gtk_clipboard_wait_for_text(
gtk_clipboard_get(GDK_SELECTION_CLIPBOARD));
if (text) {
gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD),
text, -1);
g_free(text);
}
}
gboolean hlight_check_searched(void)
{
return searched_flag;
}
gboolean hlight_toggle_searched(GtkTextBuffer *buffer)
{
if (!searched_flag) {
g_signal_handlers_unblock_by_func(G_OBJECT(buffer),
G_CALLBACK(cb_changed), NULL);
searched_flag = TRUE;
} else {
g_signal_handlers_block_by_func(G_OBJECT(buffer),
G_CALLBACK(cb_changed), NULL);
searched_flag = FALSE;
}
return searched_flag;
}
void hlight_init(GtkTextBuffer *buffer)
{
gtk_text_buffer_create_tag(buffer, "searched",
"background", "yellow",
"foreground", "black",
NULL);
gtk_text_buffer_create_tag(buffer, "replaced",
"background", "cyan",
"foreground", "black",
NULL);
g_signal_connect(G_OBJECT(buffer), "changed",
G_CALLBACK(cb_changed), NULL);
g_signal_handlers_block_by_func(G_OBJECT(buffer),
G_CALLBACK(cb_changed), NULL);
g_signal_connect(G_OBJECT(pub->mw->view), "paste-clipboard",
G_CALLBACK(cb_paste_clipboard), NULL);
}

27
src/hlight.h Normal file
View File

@ -0,0 +1,27 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _HLIGHT_H
#define _HLIGHT_H
gboolean hlight_check_searched(void);
gboolean hlight_toggle_searched(GtkTextBuffer *buffer);
void hlight_init(GtkTextBuffer *buffer);
#endif /* _HLIGHT_H */

224
src/indent.c Normal file
View File

@ -0,0 +1,224 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <string.h>
#include <gtk/gtk.h>
//#include <gdk/gdkkeysyms.h>
#include <undo.h>
static gboolean auto_indent = FALSE;
static gint default_tab_width = 8;
static gint current_tab_width = 8;
gint get_current_tab_width(void)
{
return current_tab_width;
}
void indent_set_state(gboolean state)
{
auto_indent = state;
}
gboolean indent_get_state(void)
{
return auto_indent;
}
static gchar *compute_indentation(GtkTextBuffer *buffer, GtkTextIter *iter, gint line)
{
GtkTextIter start_iter, end_iter;
gunichar ch;
gtk_text_buffer_get_iter_at_line(buffer, &start_iter, line);
end_iter = start_iter;
ch = gtk_text_iter_get_char(&end_iter);
while (g_unichar_isspace(ch) && ch != '\n') {
if (!gtk_text_iter_forward_char(&end_iter))
break;
ch = gtk_text_iter_get_char(&end_iter);
}
if (gtk_text_iter_equal(&start_iter, &end_iter))
return NULL;
if (iter && gtk_text_iter_compare(iter, &end_iter) < 0)
return gtk_text_iter_get_text(&start_iter, iter);
return gtk_text_iter_get_text(&start_iter, &end_iter);
}
void indent_real(GtkWidget *text_view)
{
GtkTextIter iter;
gchar *ind, *str;
GtkTextBuffer *buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_view));
g_signal_emit_by_name(G_OBJECT(buffer), "begin-user-action");
gtk_text_buffer_delete_selection(buffer, TRUE, TRUE);
gtk_text_buffer_get_iter_at_mark(buffer, &iter, gtk_text_buffer_get_insert(buffer));
ind = compute_indentation(buffer, &iter, gtk_text_iter_get_line(&iter));
str = g_strconcat("\n", ind, NULL);
gtk_text_buffer_insert(buffer, &iter, str, -1);
g_signal_emit_by_name(G_OBJECT(buffer), "end-user-action");
g_free(str);
g_free(ind);
gtk_text_view_scroll_mark_onscreen(
GTK_TEXT_VIEW(text_view),
gtk_text_buffer_get_insert(buffer));
}
static gint calculate_real_tab_width(GtkWidget *text_view, guint tab_size) //from gtksourceview
{
PangoLayout *layout;
gchar *tab_string;
gint tab_width = 0;
if (tab_size == 0)
return -1;
tab_string = g_strnfill(tab_size, 0x20);
layout = gtk_widget_create_pango_layout(text_view, tab_string);
g_free (tab_string);
if (layout != NULL) {
pango_layout_get_pixel_size(layout, &tab_width, NULL);
g_object_unref(G_OBJECT(layout));
} else
tab_width = -1;
return tab_width;
}
void indent_refresh_tab_width(GtkWidget *text_view)
{
PangoTabArray *tab_array;
tab_array = pango_tab_array_new(1, TRUE);
pango_tab_array_set_tab(tab_array, 0, PANGO_TAB_LEFT,
calculate_real_tab_width(text_view, current_tab_width));
gtk_text_view_set_tabs(GTK_TEXT_VIEW(text_view), tab_array);
pango_tab_array_free(tab_array);
}
void indent_toggle_tab_width(GtkWidget *text_view)
{
if (current_tab_width == default_tab_width)
if (default_tab_width == 8)
current_tab_width = 4;
else
current_tab_width = 8;
else
current_tab_width = default_tab_width;
indent_refresh_tab_width(text_view);
}
void indent_set_default_tab_width(gint width)
{
default_tab_width = width;
current_tab_width = default_tab_width;
}
void indent_multi_line_indent(GtkTextBuffer *buffer)
{
GtkTextIter start_iter, end_iter, iter;
gint start_line, end_line, i;
gboolean pos;
gtk_text_buffer_get_selection_bounds(buffer, &start_iter, &end_iter);
start_line = gtk_text_iter_get_line(&start_iter);
end_line = gtk_text_iter_get_line(&end_iter);
gtk_text_buffer_get_iter_at_mark(buffer, &iter, gtk_text_buffer_get_insert(buffer));
pos = gtk_text_iter_equal(&iter, &start_iter);
for (i = start_line; i < end_line; i++) {
gtk_text_buffer_get_iter_at_line(buffer, &iter, i);
gtk_text_buffer_place_cursor(buffer, &iter);
g_signal_emit_by_name(G_OBJECT(buffer), "begin-user-action");
gtk_text_buffer_insert(buffer, &iter, "\t", 1);
g_signal_emit_by_name(G_OBJECT(buffer), "end-user-action");
undo_set_sequency(TRUE);
}
undo_set_sequency(FALSE);
gtk_text_buffer_get_iter_at_line(buffer, &start_iter, start_line);
gtk_text_buffer_get_iter_at_line(buffer, &end_iter, end_line);
if (pos) {
gtk_text_buffer_place_cursor(buffer, &end_iter);
gtk_text_buffer_move_mark_by_name(buffer, "insert", &start_iter);
} else {
gtk_text_buffer_place_cursor(buffer, &start_iter);
gtk_text_buffer_move_mark_by_name(buffer, "insert", &end_iter);
}
}
static gint compute_indent_offset_length(const gchar *ind)
{
guint8 c = *ind;
gint len = 1;
if (c == 0x20)
while ((len < current_tab_width) && (c = *++ind) == 0x20)
len++;
return len;
}
void indent_multi_line_unindent(GtkTextBuffer *buffer)
{
GtkTextIter start_iter, end_iter, iter;
gint start_line, end_line, i, len;
gboolean pos;
gchar *ind;
gtk_text_buffer_get_selection_bounds(buffer, &start_iter, &end_iter);
start_line = gtk_text_iter_get_line(&start_iter);
end_line = gtk_text_iter_get_line(&end_iter);
gtk_text_buffer_get_iter_at_mark(buffer, &iter, gtk_text_buffer_get_insert(buffer));
pos = gtk_text_iter_equal(&iter, &start_iter);
i = start_line;
do {
ind = compute_indentation(buffer, NULL, i);
if (ind && strlen(ind)) {
len = compute_indent_offset_length(ind);
gtk_text_buffer_get_iter_at_line(buffer, &start_iter, i);
gtk_text_buffer_place_cursor(buffer, &start_iter);
end_iter = start_iter;
gtk_text_iter_forward_chars(&end_iter, len);
gtk_text_buffer_move_mark_by_name(buffer, "insert", &end_iter);
g_signal_emit_by_name(G_OBJECT(buffer), "begin-user-action");
gtk_text_buffer_delete(buffer, &start_iter, &end_iter);
g_signal_emit_by_name(G_OBJECT(buffer), "end-user-action");
undo_set_sequency(TRUE);
g_free(ind);
}
i++;
} while (i < end_line);
undo_set_sequency(FALSE);
gtk_text_buffer_get_iter_at_line(buffer, &start_iter, start_line);
gtk_text_buffer_get_iter_at_line(buffer, &end_iter, end_line);
if (pos) {
gtk_text_buffer_place_cursor(buffer, &end_iter);
gtk_text_buffer_move_mark_by_name(buffer, "insert", &start_iter);
} else {
gtk_text_buffer_place_cursor(buffer, &start_iter);
gtk_text_buffer_move_mark_by_name(buffer, "insert", &end_iter);
}
}

34
src/indent.h Normal file
View File

@ -0,0 +1,34 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _INDENT_H
#define _INDENT_H
gint get_current_tab_width(void);
void indent_set_state(gboolean state);
gboolean indent_get_state(void);
void indent_real(GtkWidget *text_view);
void indent_refresh_tab_width(GtkWidget *text_view);
void indent_toggle_tab_width(GtkWidget *text_view);
void indent_set_default_tab_width(gint width);
void indent_multi_line_indent(GtkTextBuffer *buffer);
void indent_multi_line_unindent(GtkTextBuffer *buffer);
//void indent_init(GtkWidget *text_view);
#endif /* _INDENT_H */

86
src/l3afpad.h Normal file
View File

@ -0,0 +1,86 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _L3AFPAD_H
#define _L3AFPAD_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "window.h"
#include "menu.h"
#include "callback.h"
#include "view.h"
#include "undo.h"
#include "font.h"
#include "linenum.h"
#include "indent.h"
#include "hlight.h"
#include "selector.h"
#include "file.h"
#include "encoding.h"
#include "search.h"
#include "dialog.h"
#include "dnd.h"
#include "utils.h"
#include "emacs.h"
#ifdef ENABLE_PRINT
#include "gtkprint.h"
#endif
#undef GTK_CHECK_MENU_ITEM
#define GTK_CHECK_MENU_ITEM
#define GtkItemFactory GtkUIManager
#define gtk_check_menu_item_get_active gtk_toggle_action_get_active
#define gtk_item_factory_from_widget (GtkUIManager*)
#define gtk_item_factory_get_item(x,y) GTK_TOGGLE_ACTION(gtk_ui_manager_get_action(x,y))
#define gtk_item_factory_get_widget gtk_ui_manager_get_widget
#if GTK_CHECK_VERSION(3, 0, 0)
#include <gdk/gdkkeysyms-compat.h>
#define GTK_OPTION_MENU GTK_COMBO_BOX
#define GTK_WIDGET_IS_SENSITIVE gtk_widget_is_sensitive
#define GTK_WIDGET_VISIBLE gtk_widget_get_visible
#define GtkOptionMenu GtkComboBox
#define gtk_option_menu_get_history gtk_combo_box_get_active
#define gtk_option_menu_new gtk_combo_box_text_new
#define gtk_option_menu_set_history gtk_combo_box_set_active
#define gtk_option_menu_set_menu(x,y)
#endif
#if GTK_CHECK_VERSION(3,1,12)
#undef GTK_FONT_SELECTION_DIALOG
#define GTK_FONT_SELECTION_DIALOG GTK_FONT_CHOOSER_DIALOG
#define gtk_font_selection_dialog_new(x) gtk_font_chooser_dialog_new(x, NULL)
#define gtk_font_selection_dialog_get_font_name gtk_font_chooser_dialog_get_font_name
#define gtk_font_selection_dialog_set_font_name gtk_font_chooser_dialog_set_font_name
#endif
typedef struct {
FileInfo *fi;
MainWin *mw;
} PublicData;
PublicData *pub;
void save_config_file(void);
#endif /* _L3AFPAD_H */

372
src/linenum.c Normal file
View File

@ -0,0 +1,372 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <gtk/gtk.h>
#define DV(x)
static gint min_number_window_width;
static gboolean line_number_visible = FALSE;
#define margin 5
#define submargin 2
static gint calculate_min_number_window_width(GtkWidget *widget)
{
PangoLayout *layout;
gchar *str;
gint width, col = 4;
str = g_strnfill(col, 0x20);
layout = gtk_widget_create_pango_layout(widget, str);
g_free (str);
pango_layout_get_pixel_size(layout, &width, NULL);
g_object_unref(G_OBJECT(layout));
return width;
}
/* taken from gedit and gtksourceview */
/* originated from gtk+/tests/testtext.c */
static void
get_lines (GtkTextView *text_view,
gint y1,
gint y2,
GArray *buffer_coords,
GArray *numbers,
gint *countp)
{
GtkTextIter iter;
gint count;
#if 0
gint size;
#endif
gint last_line_num;
g_array_set_size (buffer_coords, 0);
g_array_set_size (numbers, 0);
/* Get iter at first y */
gtk_text_view_get_line_at_y (text_view, &iter, y1, NULL);
/* For each iter, get its location and add it to the arrays.
* Stop when we pass y2
*/
count = 0;
#if 0
size = 0;
#endif
while (!gtk_text_iter_is_end (&iter))
{
gint y, height;
gtk_text_view_get_line_yrange (text_view, &iter, &y, &height);
g_array_append_val (buffer_coords, y);
last_line_num = gtk_text_iter_get_line (&iter);
g_array_append_val (numbers, last_line_num);
++count;
if ((y + height) >= y2)
break;
gtk_text_iter_forward_line (&iter);
}
if (gtk_text_iter_is_end (&iter))
{
gint y, height;
gint line_num;
gtk_text_view_get_line_yrange (text_view, &iter, &y, &height);
line_num = gtk_text_iter_get_line (&iter);
if (line_num != last_line_num) {
g_array_append_val (buffer_coords, y);
g_array_append_val (numbers, line_num);
++count;
}
}
*countp = count;
}
static gint
line_numbers_expose (GtkWidget *widget, cairo_t *event)
{
GtkTextView *text_view;
// GtkStyle *style;
PangoLayout *layout;
PangoAttrList *alist;
PangoAttribute *attr;
GArray *numbers;
GArray *pixels;
gint y1, y2;
gint count;
gint layout_width;
gint justify_width = 0;
gint i;
// gchar *str;
gchar str [8]; /* we don't expect more than ten million lines */
#if 0
cairo_t *gc;
gint height;
#endif
if (line_number_visible){{{{{ // omit calculation
text_view = GTK_TEXT_VIEW (widget);
/* See if this expose is on the line numbers window */
/* left_win = gtk_text_view_get_window (text_view,
GTK_TEXT_WINDOW_LEFT);
right_win = gtk_text_view_get_window (text_view,
GTK_TEXT_WINDOW_RIGHT);
if (event->window == left_win)
{
type = GTK_TEXT_WINDOW_LEFT;
target = event->window;
}
else if (event->window == right_win)
{
type = GTK_TEXT_WINDOW_RIGHT;
target = right_win;
}
else
return FALSE;
*/
#if 0
GdkWindow *win;
win = gtk_text_view_get_window (text_view,
GTK_TEXT_WINDOW_LEFT);
if (event->window != win)
return FALSE;
// style = gtk_style_copy (widget->style);
// style = gtk_style_copy (gtk_widget_get_default_style());
y1 = event->area.y;
y2 = y1 + event->area.height;
#endif
gtk_text_view_window_to_buffer_coords (text_view,
GTK_TEXT_WINDOW_LEFT,
0,
y1,
NULL,
&y1);
gtk_text_view_window_to_buffer_coords (text_view,
GTK_TEXT_WINDOW_LEFT,
0,
y2,
NULL,
&y2);
numbers = g_array_new (FALSE, FALSE, sizeof (gint));
pixels = g_array_new (FALSE, FALSE, sizeof (gint));
get_lines (text_view,
y1,
y2,
pixels,
numbers,
&count);
/* a zero-lined document should display a "1"; we don't need to worry about
scrolling effects of the text widget in this special case */
if (count == 0)
{
gint y = 0;
gint n = 0;
count = 1;
g_array_append_val (pixels, y);
g_array_append_val (numbers, n);
}
DV({g_print("Painting line numbers %d - %d\n",
g_array_index(numbers, gint, 0),
g_array_index(numbers, gint, count - 1)); });
layout = gtk_widget_create_pango_layout (widget, "");
// str = g_strdup_printf ("%d", gtk_text_buffer_get_line_count(text_view->buffer));
g_snprintf (str, sizeof (str),
"%d", MAX (99, gtk_text_buffer_get_line_count(gtk_text_view_get_buffer(text_view))));
pango_layout_set_text (layout, str, -1);
// g_free (str);
pango_layout_get_pixel_size (layout, &layout_width, NULL);
min_number_window_width = calculate_min_number_window_width(widget);
if (layout_width > min_number_window_width)
gtk_text_view_set_border_window_size (text_view,
GTK_TEXT_WINDOW_LEFT, layout_width + margin + submargin);
else {
// if ((gtk_text_view_get_border_window_size (text_view, GTK_TEXT_WINDOW_LEFT) - 5) > layout_width) {
gtk_text_view_set_border_window_size (text_view,
GTK_TEXT_WINDOW_LEFT, min_number_window_width + margin + submargin);
// }
justify_width = min_number_window_width - layout_width;
}
pango_layout_set_width (layout, layout_width);
pango_layout_set_alignment (layout, PANGO_ALIGN_RIGHT);
alist = pango_attr_list_new();
attr = pango_attr_foreground_new(
#if 1
0,
0,
0);
#else
widget->style->text_aa->red,
widget->style->text_aa->green,
widget->style->text_aa->blue);
#endif
attr->start_index = 0;
attr->end_index = G_MAXUINT;
pango_attr_list_insert(alist, attr);
pango_layout_set_attributes(layout, alist);
pango_attr_list_unref(alist);
/* Draw fully internationalized numbers! */
i = 0;
while (i < count)
{
gint pos;
gtk_text_view_buffer_to_window_coords (text_view,
GTK_TEXT_WINDOW_LEFT,
0,
g_array_index (pixels, gint, i),
NULL,
&pos);
// str = g_strdup_printf ("%d", g_array_index (numbers, gint, i) + 1);
g_snprintf (str, sizeof (str),
"%d", g_array_index (numbers, gint, i) + 1);
pango_layout_set_text (layout, str, -1);
gtk_paint_layout (gtk_widget_get_style(widget),
event,
gtk_widget_get_state (widget),
FALSE,
widget,
NULL,
layout_width + justify_width + margin / 2 + 1,
pos,
layout);
// g_free (str);
++i;
}
g_array_free (pixels, TRUE);
g_array_free (numbers, TRUE);
g_object_unref (G_OBJECT (layout));
// g_object_ref (G_OBJECT (style));
/* don't stop emission, need to draw children */
}}}}}
#if 0
gc = gdk_gc_new(event->window);
gdk_gc_set_foreground(gc, widget->style->base);
gdk_window_get_geometry(event->window, NULL, NULL, NULL, &height, NULL);
gdk_draw_rectangle(event->window, gc, TRUE,
line_number_visible ?
layout_width + justify_width + margin : 0,
0, submargin,
height);
g_object_unref(gc);
#endif
return FALSE;
}
void show_line_numbers(GtkWidget *text_view, gboolean visible)
{
line_number_visible = visible;
if (visible) {
gtk_text_view_set_border_window_size(
GTK_TEXT_VIEW(text_view),
GTK_TEXT_WINDOW_LEFT,
min_number_window_width + margin + submargin);
} else {
gtk_text_view_set_border_window_size(
GTK_TEXT_VIEW(text_view),
GTK_TEXT_WINDOW_LEFT,
submargin);
}
}
void linenum_init(GtkWidget *text_view)
{
min_number_window_width = calculate_min_number_window_width(text_view);
g_signal_connect(
G_OBJECT(text_view),
"draw",
G_CALLBACK(line_numbers_expose),
NULL);
show_line_numbers(text_view, FALSE);
}
/*
static void show_line_numbers(GtkWidget *text_view, gboolean visible)
{
gtk_text_view_set_border_window_size(
GTK_TEXT_VIEW(text_view),
GTK_TEXT_WINDOW_LEFT,
submargin);
if (visible) {
min_number_window_width = calculate_min_number_window_width(text_view);
// gtk_text_view_set_border_window_size(
// GTK_TEXT_VIEW(text_view),
// GTK_TEXT_WINDOW_LEFT,
// min_number_window_width + margin + submargin);
// submargin);
g_signal_connect(
G_OBJECT(text_view),
"draw",
G_CALLBACK(line_numbers_expose),
NULL);
} else {
// gtk_text_view_set_border_window_size(
// GTK_TEXT_VIEW(text_view),
// GTK_TEXT_WINDOW_LEFT,
// 0);
// submargin);
g_signal_handlers_disconnect_by_func(
G_OBJECT(text_view),
G_CALLBACK(line_numbers_expose),
NULL);
}
}
*/

26
src/linenum.h Normal file
View File

@ -0,0 +1,26 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _LINE_H
#define _LINE_H
void show_line_numbers(GtkWidget *text_view, gboolean visible);
void linenum_init(GtkWidget *text_view);
#endif /* _LINE_H */

292
src/main.c Normal file
View File

@ -0,0 +1,292 @@
/*
* L3afpad - GTK+ based simple text editor
* Copyright (C) 2004-2005 Tarot Osuji
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "l3afpad.h"
#include <glib/gstdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct {
gint width;
gint height;
gchar *fontname;
gboolean wordwrap;
gboolean linenumbers;
gboolean autoindent;
} Conf;
static void load_config_file(Conf *conf)
{
FILE *fp;
gchar *path;
gchar buf[BUFSIZ];
gchar **num;
path = g_build_filename(g_get_user_config_dir(),
PACKAGE, PACKAGE "rc", NULL);
fp = fopen(path, "r");
g_free(path);
if (!fp)
return;
if (fgets(buf, sizeof(buf), fp)) {
num = g_strsplit(buf, "." , 3);
if ((atoi(num[1]) >= 8) && (atoi(num[2]) >= 0)) {
fgets(buf, sizeof(buf), fp);
conf->width = atoi(buf);
fgets(buf, sizeof(buf), fp);
conf->height = atoi(buf);
fgets(buf, sizeof(buf), fp);
g_free(conf->fontname);
conf->fontname = g_strdup(buf);
fgets(buf, sizeof(buf), fp);
conf->wordwrap = atoi(buf);
fgets(buf, sizeof(buf), fp);
conf->linenumbers = atoi(buf);
fgets(buf, sizeof(buf), fp);
conf->autoindent = atoi(buf);
}
g_strfreev(num);
}
fclose(fp);
}
void save_config_file(void)
{
FILE *fp;
gchar *path;
GtkItemFactory *ifactory;
gint width, height;
gchar *fontname;
gboolean wordwrap, linenumbers, autoindent;
gtk_window_get_size(GTK_WINDOW(pub->mw->window), &width, &height);
fontname = get_font_name_from_widget(pub->mw->view);
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
wordwrap = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory,
"/M/Options/WordWrap")));
linenumbers = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory,
"/M/Options/LineNumbers")));
autoindent = gtk_check_menu_item_get_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(ifactory,
"/M/Options/AutoIndent")));
path = g_build_filename(g_get_user_config_dir(), PACKAGE, NULL);
if (!g_file_test(path, G_FILE_TEST_IS_DIR))
g_mkdir_with_parents(path, 0700);
g_free(path);
path = g_build_filename(g_get_user_config_dir(),
PACKAGE, PACKAGE "rc", NULL);
fp = fopen(path, "w");
if (!fp) {
g_print("%s: can't save config file - %s\n", PACKAGE, path);
return;
}
g_free(path);
fprintf(fp, "%s\n", PACKAGE_VERSION);
fprintf(fp, "%d\n", width);
fprintf(fp, "%d\n", height);
fprintf(fp, "%s\n", fontname);
fprintf(fp, "%d\n", wordwrap);
fprintf(fp, "%d\n", linenumbers);
fprintf(fp, "%d\n", autoindent);
fclose(fp);
g_free(fontname);
}
gint jump_linenum = 0;
static void parse_args(gint argc, gchar **argv, FileInfo *fi)
{
EncArray *encarray;
gint i;
GError *error = NULL;
GOptionContext *context;
gchar *opt_codeset = NULL;
gint opt_tab_width = 0;
gboolean opt_jump = 0;
gboolean opt_version = FALSE;
GOptionEntry entries[] =
{
{ "codeset", 0, 0, G_OPTION_ARG_STRING, &opt_codeset, "Set codeset to open file", "CODESET" },
{ "tab-width", 0, 0, G_OPTION_ARG_INT, &opt_tab_width, "Set tab width", "WIDTH" },
{ "jump", 0, 0, G_OPTION_ARG_INT, &opt_jump, "Jump to specified line", "LINENUM" },
{ "version", 0, 0, G_OPTION_ARG_NONE, &opt_version, "Show version number", NULL },
{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
context = g_option_context_new("[filename]");
g_option_context_add_main_entries(context, entries, PACKAGE);
g_option_context_add_group(context, gtk_get_option_group(TRUE));
g_option_context_set_ignore_unknown_options(context, FALSE);
g_option_context_parse(context, &argc, &argv, &error);
g_option_context_free(context);
if (error) {
g_print("%s: %s\n", PACKAGE, error->message);
g_error_free(error);
exit(-1);
}
if (opt_version) {
g_print("%s\n", PACKAGE_STRING);
exit(0);
}
if (opt_codeset) {
g_convert("TEST", -1, "UTF-8", opt_codeset, NULL, NULL, &error);
if (error) {
g_error_free(error);
error = NULL;
} else {
g_free(fi->charset);
fi->charset = g_strdup(opt_codeset);
}
}
if (opt_tab_width)
indent_set_default_tab_width(opt_tab_width);
if (opt_jump)
jump_linenum = opt_jump;
if (fi->charset
&& (g_strcasecmp(fi->charset, get_default_charset()) != 0)
&& (g_strcasecmp(fi->charset, "UTF-8") != 0)) {
encarray = get_encoding_items(get_encoding_code());
for (i = 0; i < ENCODING_MAX_ITEM_NUM; i++)
if (encarray->item[i])
if (g_strcasecmp(fi->charset, encarray->item[i]) == 0)
break;
if (i == ENCODING_MAX_ITEM_NUM)
fi->charset_flag = TRUE;
}
if (argc >= 2)
fi->filename = parse_file_uri(argv[1]);
}
gint main(gint argc, gchar **argv)
{
Conf *conf;
GtkItemFactory *ifactory;
gchar *stdin_data = NULL;
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
textdomain(PACKAGE);
pub = g_malloc(sizeof(PublicData));
pub->fi = g_malloc(sizeof(FileInfo));
pub->fi->filename = NULL;
pub->fi->charset = NULL;
pub->fi->charset_flag = FALSE;
pub->fi->lineend = LF;
parse_args(argc, argv, pub->fi);
gtk_init(&argc, &argv);
g_set_application_name(PACKAGE_NAME);
pub->mw = create_main_window();
conf = g_malloc(sizeof(Conf));
conf->width = 600;
conf->height = 400;
conf->fontname = g_strdup("Monospace 12");
conf->wordwrap = FALSE;
conf->linenumbers = FALSE;
conf->autoindent = FALSE;
load_config_file(conf);
gtk_window_set_default_size(
GTK_WINDOW(pub->mw->window), conf->width, conf->height);
set_text_font_by_name(pub->mw->view, conf->fontname);
gtk_window_set_icon_from_file(GTK_WINDOW(pub->mw->window), ICONDIR"/l3afpad.png", NULL);
ifactory = gtk_item_factory_from_widget(pub->mw->menubar);
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(
(GtkCheckMenuItem*)gtk_item_factory_get_widget(ifactory, "/M/Options/WordWrap")),
conf->wordwrap);
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(
(GtkCheckMenuItem*)gtk_item_factory_get_widget(ifactory, "/M/Options/LineNumbers")),
conf->linenumbers);
indent_refresh_tab_width(pub->mw->view);
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(
(GtkCheckMenuItem*)gtk_item_factory_get_widget(ifactory, "/M/Options/AutoIndent")),
conf->autoindent);
gtk_widget_show_all(pub->mw->window);
g_free(conf->fontname);
g_free(conf);
#ifdef ENABLE_EMACS
check_emacs_key_theme(GTK_WINDOW(pub->mw->window), ifactory);
#endif
hlight_init(pub->mw->buffer);
undo_init(pub->mw->view,
gtk_item_factory_get_widget(ifactory, "/M/Edit/Undo"),
gtk_item_factory_get_widget(ifactory, "/M/Edit/Redo"));
// hlight_init(pub->mw->buffer);
dnd_init(pub->mw->view);
if (pub->fi->filename)
file_open_real(pub->mw->view, pub->fi);
#ifdef G_OS_UNIX
else
stdin_data = gedit_utils_get_stdin();
#endif
if (stdin_data) {
gchar *str;
GtkTextIter iter;
str = g_convert(stdin_data, -1, "UTF-8",
get_default_charset(), NULL, NULL, NULL);
g_free(stdin_data);
// gtk_text_buffer_set_text(buffer, "", 0);
gtk_text_buffer_get_start_iter(pub->mw->buffer, &iter);
gtk_text_buffer_insert(pub->mw->buffer, &iter, str, strlen(str));
gtk_text_buffer_get_start_iter(pub->mw->buffer, &iter);
gtk_text_buffer_place_cursor(pub->mw->buffer, &iter);
gtk_text_buffer_set_modified(pub->mw->buffer, FALSE);
gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(pub->mw->view), &iter, 0, FALSE, 0, 0);
g_free(str);
}
if (jump_linenum) {
GtkTextIter iter;
gtk_text_buffer_get_iter_at_line(pub->mw->buffer, &iter, jump_linenum - 1);
gtk_text_buffer_place_cursor(pub->mw->buffer, &iter);
// gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(textview), &iter, 0.1, FALSE, 0.5, 0.5);
scroll_to_cursor(pub->mw->buffer, 0.25);
}
set_main_window_title();
// hlight_apply_all(pub->mw->buffer);
gtk_main();
return 0;
}

Some files were not shown because too many files have changed in this diff Show More