From 5ded9cba8563f336939400303d6a841d5089b107 Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 7 Nov 2011 19:52:18 -0300 Subject: [PATCH] renaming from gedit to pluma --- BUGS | 4 +- ChangeLog | 1496 ++++++------ HACKING | 18 +- Makefile.am | 10 +- NEWS | 118 +- README | 53 +- autogen.sh | 4 +- configure.ac | 112 +- data/Makefile.am | 22 +- ...-bugreport.sh.in => pluma-bugreport.sh.in} | 10 +- data/{gedit.1 => pluma.1} | 32 +- ...edit.desktop.in.in => pluma.desktop.in.in} | 12 +- data/{gedit.pc.in => pluma.pc.in} | 8 +- ...edit.schemas.in.in => pluma.schemas.in.in} | 284 +-- distro/archlinux/PKGBUILD | 4 +- docs/reference/Makefile.am | 78 +- docs/reference/gedit-docs.sgml | 37 - docs/reference/gedit-sections.txt | 809 ------- docs/reference/gedit.types | 32 - docs/reference/pluma-docs.sgml | 37 + ...edit-overrides.txt => pluma-overrides.txt} | 0 docs/reference/pluma-sections.txt | 809 +++++++ docs/reference/pluma.types | 32 + gedit/Makefile.am | 254 -- gedit/dialogs/Makefile.am | 31 - .../dialogs/gedit-close-confirmation-dialog.h | 75 - gedit/dialogs/gedit-encodings-dialog.h | 86 - gedit/dialogs/gedit-preferences-dialog.h | 87 - gedit/dialogs/gedit-search-dialog.h | 128 - gedit/gedit-app.h | 142 -- gedit/gedit-close-button.h | 56 - gedit/gedit-commands.h | 166 -- gedit/gedit-debug.h | 93 - gedit/gedit-document-input-stream.h | 68 - gedit/gedit-document-loader.h | 130 -- gedit/gedit-document-output-stream.h | 64 - gedit/gedit-document-saver.h | 133 -- gedit/gedit-document.h | 338 --- gedit/gedit-documents-panel.h | 85 - gedit/gedit-encodings-combo-box.h | 78 - gedit/gedit-file-chooser-dialog.h | 89 - gedit/gedit-gio-document-loader.h | 79 - gedit/gedit-gio-document-saver.h | 76 - gedit/gedit-history-entry.h | 96 - gedit/gedit-message-bus.h | 129 - gedit/gedit-message-type.h | 67 - gedit/gedit-message.h | 71 - gedit/gedit-notebook.h | 143 -- gedit/gedit-object-module.h | 94 - gedit/gedit-panel.h | 130 -- gedit/gedit-plugin-info.h | 63 - gedit/gedit-plugin-manager.h | 83 - gedit/gedit-plugins-engine.h | 107 - gedit/gedit-prefs-manager-app.h | 84 - gedit/gedit-print-job.h | 133 -- gedit/gedit-print-preview.h | 71 - gedit/gedit-progress-message-area.h | 112 - gedit/gedit-smart-charset-converter.h | 66 - gedit/gedit-status-combo-box.h | 82 - gedit/gedit-statusbar.h | 99 - gedit/gedit-tab-label.h | 66 - gedit/gedit-tab.h | 165 -- gedit/gedit-view.h | 108 - gedit/gedit-window.h | 195 -- gedit/gedit.rc | 1 - gedit/osx/gedit-osx.h | 17 - ..._format_bold.png => pluma_format_bold.png} | Bin ...mat_italic.png => pluma_format_italic.png} | Bin ...ugh.png => pluma_format_strikethrough.png} | Bin ...derline.png => pluma_format_underline.png} | Bin ...n.png => pluma_recent_files_menu_icon.png} | Bin .../{gedit_window.png => pluma_window.png} | Bin help/C/{gedit.xml => pluma.xml} | 266 +-- help/Makefile.am | 14 +- help/ar/ar.po | 1754 +++++++------- help/bg/bg.po | 1392 +++++------ .../{gedit_window.png => pluma_window.png} | Bin help/ca/ca.po | 1944 ++++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/cs/cs.po | 1914 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/da/da.po | 1990 ++++++++-------- help/de/de.po | 1934 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/el/el.po | 1946 ++++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/es/es.po | 1956 ++++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/fi/fi.po | 1938 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin ...n.png => pluma_recent_files_menu_icon.png} | Bin .../{gedit_window.png => pluma_window.png} | Bin help/fr/fr.po | 1900 +++++++-------- help/hu/hu.po | 1908 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/it/it.po | 1934 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/ja/ja.po | 1974 ++++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/ko/ko.po | 1954 ++++++++-------- help/oc/oc.po | 1704 +++++++------- help/{gedit.omf.in => pluma.omf.in} | 0 help/pt_BR/pt_BR.po | 1942 +++++++-------- help/ru/ru.po | 1912 +++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/sv/sv.po | 1984 ++++++++-------- help/th/th.po | 1756 +++++++------- .../{gedit_window.png => pluma_window.png} | Bin help/uk/uk.po | 1948 ++++++++-------- .../{gedit_window.png => pluma_window.png} | Bin help/zh_CN/zh_CN.po | 2072 ++++++++--------- .../{gedit_window.png => pluma_window.png} | Bin help/zh_HK/zh_HK.po | 378 +-- .../{gedit_window.png => pluma_window.png} | Bin help/zh_TW/zh_TW.po | 374 +-- osx/Info.plist.in | 14 +- pixmaps/Makefile.am | 10 +- pixmaps/{gedit-logo.png => pluma-logo.png} | Bin .../{gedit-plugin.png => pluma-plugin.png} | Bin pixmaps/{gedit.ico => pluma.ico} | Bin plugin-loaders/c/Makefile.am | 12 +- plugin-loaders/c/gedit-plugin-loader-c.h | 60 - ...gin-loader-c.c => pluma-plugin-loader-c.c} | 92 +- plugin-loaders/c/pluma-plugin-loader-c.h | 60 + plugin-loaders/python/Makefile.am | 24 +- plugin-loaders/python/bindings/Makefile.am | 102 +- plugin-loaders/python/bindings/gedit.defs | 1461 ------------ plugin-loaders/python/bindings/pluma.defs | 1461 ++++++++++++ .../{gedit.override => pluma.override} | 176 +- ...{geditcommands.defs => plumacommands.defs} | 24 +- ...mmands.override => plumacommands.override} | 46 +- ...message.override => plumamessage.override} | 180 +- ...itplugin.override => plumaplugin.override} | 82 +- .../{geditutils.defs => plumautils.defs} | 16 +- ...editutils.override => plumautils.override} | 20 +- .../python/gedit-plugin-loader-python.h | 61 - plugin-loaders/python/gedit-plugin-python.h | 88 - ...-python.c => pluma-plugin-loader-python.c} | 242 +- .../python/pluma-plugin-loader-python.h | 61 + ...-plugin-python.c => pluma-plugin-python.c} | 82 +- plugin-loaders/python/pluma-plugin-python.h | 88 + plugins/changecase/Makefile.am | 18 +- ....in => changecase.pluma-plugin.desktop.in} | 4 +- plugins/changecase/gedit-changecase-plugin.h | 72 - ...ase-plugin.c => pluma-changecase-plugin.c} | 72 +- plugins/changecase/pluma-changecase-plugin.h | 72 + plugins/checkupdate/Makefile.am | 20 +- ...in => checkupdate.pluma-plugin.desktop.in} | 8 +- .../checkupdate/gedit-check-update-plugin.h | 74 - ...e-plugin.c => pluma-check-update-plugin.c} | 124 +- .../checkupdate/pluma-check-update-plugin.h | 74 + ...hemas.in => pluma-check-update.schemas.in} | 6 +- plugins/docinfo/Makefile.am | 18 +- ...top.in => docinfo.pluma-plugin.desktop.in} | 2 +- plugins/docinfo/gedit-docinfo-plugin.h | 75 - ...ocinfo-plugin.c => pluma-docinfo-plugin.c} | 134 +- plugins/docinfo/pluma-docinfo-plugin.h | 75 + plugins/externaltools/Makefile.am | 8 +- plugins/externaltools/data/Makefile.am | 4 +- plugins/externaltools/data/build.desktop.in | 2 +- plugins/externaltools/data/build.tool.in | 2 +- .../data/open-terminal-here-osx.desktop.in | 2 +- .../data/open-terminal-here-osx.tool.in | 2 +- .../data/open-terminal-here.desktop.in | 2 +- .../data/open-terminal-here.tool.in | 2 +- .../data/remove-trailing-spaces.desktop.in | 2 +- .../externaltools/data/run-command.desktop.in | 2 +- .../externaltools/data/run-command.tool.in | 2 +- ... => externaltools.pluma-plugin.desktop.in} | 4 +- plugins/externaltools/scripts/Makefile.am | 2 +- ...edit-tool-merge.pl => pluma-tool-merge.pl} | 10 +- plugins/externaltools/tools/Makefile.am | 4 +- plugins/externaltools/tools/__init__.py | 10 +- plugins/externaltools/tools/capture.py | 2 +- plugins/externaltools/tools/filelookup.py | 6 +- plugins/externaltools/tools/functions.py | 38 +- plugins/externaltools/tools/library.py | 20 +- plugins/externaltools/tools/manager.py | 12 +- plugins/externaltools/tools/outputpanel.py | 6 +- plugins/externaltools/tools/tools.ui | 4 +- plugins/filebrowser/Makefile.am | 84 +- ...in => filebrowser.pluma-plugin.desktop.in} | 4 +- .../filebrowser/gedit-file-bookmarks-store.h | 90 - .../filebrowser/gedit-file-browser-plugin.h | 71 - .../filebrowser/gedit-file-browser-store.h | 200 -- plugins/filebrowser/gedit-file-browser-view.h | 84 - .../filebrowser/gedit-file-browser-widget.h | 121 - ...s-store.c => pluma-file-bookmarks-store.c} | 236 +- .../filebrowser/pluma-file-bookmarks-store.h | 90 + ...uma-file-browser-enum-register.c.template} | 2 +- ... pluma-file-browser-enum-types.c.template} | 2 +- ... pluma-file-browser-enum-types.h.template} | 10 +- ...ser-error.h => pluma-file-browser-error.h} | 28 +- ...l.list => pluma-file-browser-marshal.list} | 0 ...ssages.c => pluma-file-browser-messages.c} | 412 ++-- ...ssages.h => pluma-file-browser-messages.h} | 20 +- ...r-plugin.c => pluma-file-browser-plugin.c} | 416 ++-- .../filebrowser/pluma-file-browser-plugin.h | 71 + ...ser-store.c => pluma-file-browser-store.c} | 734 +++--- .../filebrowser/pluma-file-browser-store.h | 200 ++ ...ser-utils.c => pluma-file-browser-utils.c} | 24 +- ...ser-utils.h => pluma-file-browser-utils.h} | 20 +- ...owser-view.c => pluma-file-browser-view.c} | 278 +-- plugins/filebrowser/pluma-file-browser-view.h | 84 + ...i.xml => pluma-file-browser-widget-ui.xml} | 0 ...r-widget.c => pluma-file-browser-widget.c} | 672 +++--- .../filebrowser/pluma-file-browser-widget.h | 121 + ...hemas.in => pluma-file-browser.schemas.in} | 42 +- plugins/modelines/Makefile.am | 18 +- plugins/modelines/gedit-modeline-plugin.h | 48 - plugins/modelines/modeline-parser.c | 38 +- plugins/modelines/modeline-parser.h | 2 +- ...p.in => modelines.pluma-plugin.desktop.in} | 6 +- ...eline-plugin.c => pluma-modeline-plugin.c} | 90 +- plugins/modelines/pluma-modeline-plugin.h | 48 + plugins/pythonconsole/Makefile.am | 8 +- ... => pythonconsole.pluma-plugin.desktop.in} | 4 +- .../pythonconsole/pythonconsole/Makefile.am | 4 +- .../pythonconsole/pythonconsole/__init__.py | 14 +- plugins/pythonconsole/pythonconsole/config.py | 4 +- .../pythonconsole/pythonconsole/console.py | 2 +- plugins/quickopen/Makefile.am | 8 +- ...p.in => quickopen.pluma-plugin.desktop.in} | 4 +- plugins/quickopen/quickopen/Makefile.am | 2 +- plugins/quickopen/quickopen/__init__.py | 6 +- plugins/quickopen/quickopen/popup.py | 4 +- plugins/quickopen/quickopen/virtualdirs.py | 2 +- plugins/quickopen/quickopen/windowhelper.py | 10 +- plugins/snippets/Makefile.am | 8 +- plugins/snippets/data/Makefile.am | 2 +- plugins/snippets/data/c.xml | 4 +- plugins/snippets/data/chdr.xml | 4 +- plugins/snippets/data/cpp.xml | 4 +- plugins/snippets/data/docbook.xml | 4 +- plugins/snippets/data/html.xml | 8 +- plugins/snippets/data/java.xml | 2 +- plugins/snippets/data/lang/Makefile.am | 2 +- plugins/snippets/data/latex.xml | 2 +- plugins/snippets/data/python.xml | 4 +- plugins/snippets/data/snippets.xml | 56 +- plugins/snippets/data/xslt.xml | 4 +- ...op.in => snippets.pluma-plugin.desktop.in} | 4 +- plugins/snippets/snippets/Completion.py | 4 +- plugins/snippets/snippets/Document.py | 54 +- plugins/snippets/snippets/Helper.py | 8 +- plugins/snippets/snippets/Library.py | 2 +- plugins/snippets/snippets/Makefile.am | 4 +- plugins/snippets/snippets/Manager.py | 12 +- plugins/snippets/snippets/Parser.py | 2 +- plugins/snippets/snippets/Placeholder.py | 8 +- plugins/snippets/snippets/Snippet.py | 2 +- .../snippets/snippets/SubstitutionParser.py | 2 +- plugins/snippets/snippets/WindowHelper.py | 20 +- plugins/snippets/snippets/__init__.py | 18 +- plugins/snippets/snippets/snippets.ui | 4 +- plugins/sort/Makefile.am | 18 +- plugins/sort/gedit-sort-plugin.h | 73 - ...edit-sort-plugin.c => pluma-sort-plugin.c} | 120 +- plugins/sort/pluma-sort-plugin.h | 73 + ...esktop.in => sort.pluma-plugin.desktop.in} | 4 +- plugins/spell/Makefile.am | 58 +- plugins/spell/gedit-automatic-spell-checker.h | 67 - plugins/spell/gedit-spell-checker-dialog.h | 92 - plugins/spell/gedit-spell-checker.h | 109 - plugins/spell/gedit-spell-language-dialog.h | 67 - plugins/spell/gedit-spell-plugin.h | 75 - ...cker.c => pluma-automatic-spell-checker.c} | 160 +- plugins/spell/pluma-automatic-spell-checker.h | 67 + ...-dialog.c => pluma-spell-checker-dialog.c} | 176 +- plugins/spell/pluma-spell-checker-dialog.h | 92 + ...guage.c => pluma-spell-checker-language.c} | 36 +- ...guage.h => pluma-spell-checker-language.h} | 26 +- ...-spell-checker.c => pluma-spell-checker.c} | 132 +- plugins/spell/pluma-spell-checker.h | 109 + ...dialog.c => pluma-spell-language-dialog.c} | 58 +- plugins/spell/pluma-spell-language-dialog.h | 67 + ...-marshal.list => pluma-spell-marshal.list} | 0 ...it-spell-plugin.c => pluma-spell-plugin.c} | 396 ++-- plugins/spell/pluma-spell-plugin.h | 75 + ...edit-spell-utils.c => pluma-spell-utils.c} | 10 +- ...edit-spell-utils.h => pluma-spell-utils.h} | 14 +- ...sktop.in => spell.pluma-plugin.desktop.in} | 4 +- plugins/taglist/HTML.tags.xml.in | 2 +- plugins/taglist/Latex.tags.xml.in | 2 +- plugins/taglist/Makefile.am | 26 +- plugins/taglist/XSLT.tags.xml.in | 4 +- plugins/taglist/XUL.tags.xml.in | 2 +- plugins/taglist/gedit-taglist-plugin-panel.h | 89 - plugins/taglist/gedit-taglist-plugin.h | 85 - ...n-panel.c => pluma-taglist-plugin-panel.c} | 148 +- plugins/taglist/pluma-taglist-plugin-panel.h | 89 + ...parser.c => pluma-taglist-plugin-parser.c} | 74 +- ...parser.h => pluma-taglist-plugin-parser.h} | 14 +- ...aglist-plugin.c => pluma-taglist-plugin.c} | 86 +- plugins/taglist/pluma-taglist-plugin.h | 85 + ...top.in => taglist.pluma-plugin.desktop.in} | 4 +- plugins/time/Makefile.am | 22 +- plugins/time/gedit-time-plugin.h | 78 - ...it-time-dialog.ui => pluma-time-dialog.ui} | 0 ...edit-time-plugin.c => pluma-time-plugin.c} | 202 +- plugins/time/pluma-time-plugin.h | 78 + ...p-dialog.ui => pluma-time-setup-dialog.ui} | 0 ...esktop.in => time.pluma-plugin.desktop.in} | 4 +- pluma/Makefile.am | 254 ++ {gedit => pluma}/bacon-message-connection.c | 0 {gedit => pluma}/bacon-message-connection.h | 0 pluma/dialogs/Makefile.am | 31 + .../dialogs/pluma-close-confirmation-dialog.c | 134 +- .../dialogs/pluma-close-confirmation-dialog.h | 75 + .../dialogs/pluma-encodings-dialog.c | 104 +- pluma/dialogs/pluma-encodings-dialog.h | 86 + .../dialogs/pluma-encodings-dialog.ui | 0 .../dialogs/pluma-preferences-dialog.c | 282 +-- pluma/dialogs/pluma-preferences-dialog.h | 87 + .../dialogs/pluma-preferences-dialog.ui | 0 .../dialogs/pluma-search-dialog.c | 208 +- pluma/dialogs/pluma-search-dialog.h | 128 + .../dialogs/pluma-search-dialog.ui | 0 {gedit => pluma}/osx/Makefile.am | 14 +- .../osx/pluma-osx-delegate.h | 8 +- .../osx/pluma-osx-delegate.m | 18 +- .../osx/gedit-osx.c => pluma/osx/pluma-osx.c | 34 +- pluma/osx/pluma-osx.h | 17 + gedit/gedit-app.c => pluma/pluma-app.c | 318 +-- pluma/pluma-app.h | 142 ++ .../pluma-close-button.c | 24 +- pluma/pluma-close-button.h | 56 + .../pluma-commands-documents.c | 48 +- .../pluma-commands-edit.c | 110 +- .../pluma-commands-file-print.c | 52 +- .../pluma-commands-file.c | 812 +++---- .../pluma-commands-help.c | 43 +- .../pluma-commands-search.c | 284 +-- .../pluma-commands-view.c | 70 +- pluma/pluma-commands.h | 166 ++ gedit/gedit-debug.c => pluma/pluma-debug.c | 84 +- pluma/pluma-debug.h | 93 + gedit/gedit-dirs.c => pluma/pluma-dirs.c | 66 +- gedit/gedit-dirs.h => pluma/pluma-dirs.h | 30 +- .../pluma-document-input-stream.c | 102 +- pluma/pluma-document-input-stream.h | 68 + .../pluma-document-loader.c | 150 +- pluma/pluma-document-loader.h | 130 ++ .../pluma-document-output-stream.c | 110 +- pluma/pluma-document-output-stream.h | 64 + .../pluma-document-saver.c | 138 +- pluma/pluma-document-saver.h | 133 ++ .../pluma-document.c | 742 +++--- pluma/pluma-document.h | 338 +++ .../pluma-documents-panel.c | 184 +- pluma/pluma-documents-panel.h | 85 + .../pluma-encodings-combo-box.c | 110 +- pluma/pluma-encodings-combo-box.h | 78 + .../pluma-encodings.c | 346 +-- .../pluma-encodings.h | 38 +- .../pluma-enum-types.c.template | 2 +- .../pluma-enum-types.h.template | 8 +- .../pluma-file-chooser-dialog.c | 142 +- pluma/pluma-file-chooser-dialog.h | 89 + .../pluma-gio-document-loader.c | 198 +- pluma/pluma-gio-document-loader.h | 79 + .../pluma-gio-document-saver.c | 206 +- pluma/pluma-gio-document-saver.h | 76 + gedit/gedit-help.c => pluma/pluma-help.c | 32 +- gedit/gedit-help.h => pluma/pluma-help.h | 18 +- .../pluma-history-entry.c | 160 +- pluma/pluma-history-entry.h | 96 + .../pluma-io-error-message-area.c | 190 +- .../pluma-io-error-message-area.h | 38 +- .../pluma-language-manager.c | 20 +- .../pluma-language-manager.h | 18 +- .../pluma-marshal.list | 0 .../pluma-message-area.c | 162 +- .../pluma-message-area.h | 74 +- .../pluma-message-bus.c | 462 ++-- pluma/pluma-message-bus.h | 129 + .../pluma-message-type.c | 170 +- pluma/pluma-message-type.h | 67 + .../gedit-message.c => pluma/pluma-message.c | 186 +- pluma/pluma-message.h | 71 + .../pluma-metadata-manager.c | 154 +- .../pluma-metadata-manager.h | 22 +- .../pluma-notebook.c | 308 +-- pluma/pluma-notebook.h | 143 ++ .../pluma-object-module.c | 100 +- pluma/pluma-object-module.h | 94 + gedit/gedit-panel.c => pluma/pluma-panel.c | 222 +- pluma/pluma-panel.h | 130 ++ .../pluma-plugin-info-priv.h | 28 +- .../pluma-plugin-info.c | 130 +- pluma/pluma-plugin-info.h | 63 + .../pluma-plugin-loader.c | 52 +- .../pluma-plugin-loader.h | 64 +- .../pluma-plugin-manager.c | 238 +- pluma/pluma-plugin-manager.h | 83 + gedit/gedit-plugin.c => pluma/pluma-plugin.c | 166 +- gedit/gedit-plugin.h => pluma/pluma-plugin.h | 116 +- .../pluma-plugins-engine.c | 352 +-- pluma/pluma-plugins-engine.h | 107 + .../pluma-prefs-manager-app.c | 534 ++--- pluma/pluma-prefs-manager-app.h | 84 + .../pluma-prefs-manager-private.h | 20 +- .../pluma-prefs-manager.c | 424 ++-- .../pluma-prefs-manager.h | 258 +- .../pluma-print-job.c | 254 +- pluma/pluma-print-job.h | 133 ++ .../pluma-print-preferences.ui | 0 .../pluma-print-preview.c | 160 +- pluma/pluma-print-preview.h | 71 + .../pluma-progress-message-area.c | 80 +- pluma/pluma-progress-message-area.h | 112 + .../gedit-session.c => pluma/pluma-session.c | 186 +- .../gedit-session.h => pluma/pluma-session.h | 20 +- .../pluma-smart-charset-converter.c | 118 +- pluma/pluma-smart-charset-converter.h | 66 + .../gedit-spinner.c => pluma/pluma-spinner.c | 348 +-- .../gedit-spinner.h => pluma/pluma-spinner.h | 48 +- .../pluma-status-combo-box.c | 110 +- pluma/pluma-status-combo-box.h | 82 + .../pluma-statusbar.c | 108 +- pluma/pluma-statusbar.h | 99 + .../pluma-style-scheme-manager.c | 46 +- .../pluma-style-scheme-manager.h | 20 +- .../pluma-tab-label.c | 132 +- pluma/pluma-tab-label.h | 66 + gedit/gedit-tab.c => pluma/pluma-tab.c | 1146 ++++----- pluma/pluma-tab.h | 165 ++ gedit/gedit-ui.h => pluma/pluma-ui.h | 106 +- gedit/gedit-ui.xml => pluma/pluma-ui.xml | 8 +- gedit/gedit-utils.c => pluma/pluma-utils.c | 144 +- gedit/gedit-utils.h => pluma/pluma-utils.h | 82 +- gedit/gedit-view.c => pluma/pluma-view.c | 452 ++-- pluma/pluma-view.h | 108 + .../pluma-window-private.h | 32 +- gedit/gedit-window.c => pluma/pluma-window.c | 1542 ++++++------ pluma/pluma-window.h | 195 ++ gedit/gedit.c => pluma/pluma.c | 176 +- pluma/pluma.rc | 1 + .../plumatextregion.c | 86 +- .../plumatextregion.h | 46 +- {gedit => pluma}/smclient/Makefile.am | 2 +- {gedit => pluma}/smclient/eggdesktopfile.c | 0 {gedit => pluma}/smclient/eggdesktopfile.h | 0 {gedit => pluma}/smclient/eggsmclient-osx.c | 0 .../smclient/eggsmclient-private.h | 0 {gedit => pluma}/smclient/eggsmclient-win32.c | 0 {gedit => pluma}/smclient/eggsmclient-xsmp.c | 0 {gedit => pluma}/smclient/eggsmclient.c | 0 {gedit => pluma}/smclient/eggsmclient.h | 0 po/LINGUAS | 2 +- po/POTFILES.in | 158 +- po/POTFILES.skip | 22 +- po/af.po | 1552 ++++++------ po/am.po | 1360 +++++------ po/ar.po | 1464 ++++++------ po/as.po | 1530 ++++++------ po/ast.po | 1560 ++++++------- po/az.po | 1412 +++++------ po/be.po | 1514 ++++++------ po/be@latin.po | 1444 ++++++------ po/bg.po | 1544 ++++++------ po/bn.po | 1564 ++++++------- po/bn_IN.po | 1564 ++++++------- po/br.po | 1536 ++++++------ po/bs.po | 1438 ++++++------ po/ca.po | 1606 ++++++------- po/ca@valencia.po | 1606 ++++++------- po/crh.po | 1550 ++++++------ po/cs.po | 1552 ++++++------ po/cy.po | 1614 ++++++------- po/da.po | 1488 ++++++------ po/de.po | 1542 ++++++------ po/dz.po | 1522 ++++++------ po/el.po | 1512 ++++++------ po/en@shaw.po | 1450 ++++++------ po/en_CA.po | 1508 ++++++------ po/en_GB.po | 1592 ++++++------- po/eo.po | 1516 ++++++------ po/es.po | 1556 ++++++------- po/et.po | 210 +- po/eu.po | 1542 ++++++------ po/fa.po | 1436 ++++++------ po/fi.po | 1574 ++++++------- po/fr.po | 1550 ++++++------ po/ga.po | 1438 ++++++------ po/gl.po | 1552 ++++++------ po/gu.po | 1528 ++++++------ po/he.po | 1562 ++++++------- po/hi.po | 1462 ++++++------ po/hr.po | 1424 +++++------ po/hu.po | 1522 ++++++------ po/hy.po | 1432 ++++++------ po/id.po | 1562 ++++++------- po/is.po | 1354 +++++------ po/it.po | 1474 ++++++------ po/ja.po | 1518 ++++++------ po/ka.po | 1432 ++++++------ po/kk.po | 1530 ++++++------ po/kn.po | 1544 ++++++------ po/ko.po | 1468 ++++++------ po/ku.po | 1500 ++++++------ po/la.po | 1354 +++++------ po/lt.po | 1544 ++++++------ po/lv.po | 1566 ++++++------- po/mai.po | 1474 ++++++------ po/mg.po | 1528 ++++++------ po/mi.po | 1354 +++++------ po/mk.po | 1434 ++++++------ po/ml.po | 1494 ++++++------ po/mn.po | 1364 +++++------ po/mr.po | 1496 ++++++------ po/ms.po | 1438 ++++++------ po/nb.po | 1542 ++++++------ po/nds.po | 1518 ++++++------ po/ne.po | 1528 ++++++------ po/nl.po | 1524 ++++++------ po/nn.po | 1568 ++++++------- po/oc.po | 1428 ++++++------ po/or.po | 1566 ++++++------- po/pa.po | 1484 ++++++------ po/pl.po | 1534 ++++++------ po/ps.po | 1482 ++++++------ po/pt.po | 1602 ++++++------- po/pt_BR.po | 1540 ++++++------ po/ro.po | 1656 ++++++------- po/ru.po | 1506 ++++++------ po/rw.po | 1354 +++++------ po/si.po | 1492 ++++++------ po/sk.po | 1438 ++++++------ po/sl.po | 1612 ++++++------- po/sq.po | 1432 ++++++------ po/sr.po | 1496 ++++++------ po/sr@latin.po | 1518 ++++++------ po/sv.po | 1614 ++++++------- po/ta.po | 1472 ++++++------ po/te.po | 1498 ++++++------ po/th.po | 1618 ++++++------- po/tk.po | 1436 ++++++------ po/tr.po | 1562 ++++++------- po/uk.po | 1502 ++++++------ po/vi.po | 1508 ++++++------ po/wa.po | 1382 +++++------ po/xh.po | 1438 ++++++------ po/zh_CN.po | 1540 ++++++------ po/zh_HK.po | 1552 ++++++------ po/zh_TW.po | 1552 ++++++------ tests/Makefile.am | 4 +- tests/document-input-stream.c | 64 +- tests/document-loader.c | 36 +- tests/document-output-stream.c | 46 +- tests/document-saver.c | 130 +- tests/setup-document-saver.sh | 6 +- tests/smart-converter.c | 66 +- win32/Makefile.am | 2 +- win32/README | 6 +- win32/build-installer.sh | 136 +- win32/{gedit.iss.in => pluma.iss.in} | 32 +- 557 files changed, 111730 insertions(+), 111724 deletions(-) rename data/{gedit-bugreport.sh.in => pluma-bugreport.sh.in} (83%) rename data/{gedit.1 => pluma.1} (80%) rename data/{gedit.desktop.in.in => pluma.desktop.in.in} (63%) rename data/{gedit.pc.in => pluma.pc.in} (53%) rename data/{gedit.schemas.in.in => pluma.schemas.in.in} (62%) delete mode 100755 docs/reference/gedit-docs.sgml delete mode 100755 docs/reference/gedit-sections.txt delete mode 100755 docs/reference/gedit.types create mode 100755 docs/reference/pluma-docs.sgml rename docs/reference/{gedit-overrides.txt => pluma-overrides.txt} (100%) create mode 100755 docs/reference/pluma-sections.txt create mode 100755 docs/reference/pluma.types delete mode 100755 gedit/Makefile.am delete mode 100755 gedit/dialogs/Makefile.am delete mode 100755 gedit/dialogs/gedit-close-confirmation-dialog.h delete mode 100755 gedit/dialogs/gedit-encodings-dialog.h delete mode 100755 gedit/dialogs/gedit-preferences-dialog.h delete mode 100755 gedit/dialogs/gedit-search-dialog.h delete mode 100755 gedit/gedit-app.h delete mode 100755 gedit/gedit-close-button.h delete mode 100755 gedit/gedit-commands.h delete mode 100755 gedit/gedit-debug.h delete mode 100755 gedit/gedit-document-input-stream.h delete mode 100755 gedit/gedit-document-loader.h delete mode 100755 gedit/gedit-document-output-stream.h delete mode 100755 gedit/gedit-document-saver.h delete mode 100755 gedit/gedit-document.h delete mode 100755 gedit/gedit-documents-panel.h delete mode 100755 gedit/gedit-encodings-combo-box.h delete mode 100755 gedit/gedit-file-chooser-dialog.h delete mode 100755 gedit/gedit-gio-document-loader.h delete mode 100755 gedit/gedit-gio-document-saver.h delete mode 100755 gedit/gedit-history-entry.h delete mode 100755 gedit/gedit-message-bus.h delete mode 100755 gedit/gedit-message-type.h delete mode 100755 gedit/gedit-message.h delete mode 100755 gedit/gedit-notebook.h delete mode 100755 gedit/gedit-object-module.h delete mode 100755 gedit/gedit-panel.h delete mode 100755 gedit/gedit-plugin-info.h delete mode 100755 gedit/gedit-plugin-manager.h delete mode 100755 gedit/gedit-plugins-engine.h delete mode 100755 gedit/gedit-prefs-manager-app.h delete mode 100755 gedit/gedit-print-job.h delete mode 100755 gedit/gedit-print-preview.h delete mode 100755 gedit/gedit-progress-message-area.h delete mode 100755 gedit/gedit-smart-charset-converter.h delete mode 100755 gedit/gedit-status-combo-box.h delete mode 100755 gedit/gedit-statusbar.h delete mode 100755 gedit/gedit-tab-label.h delete mode 100755 gedit/gedit-tab.h delete mode 100755 gedit/gedit-view.h delete mode 100755 gedit/gedit-window.h delete mode 100755 gedit/gedit.rc delete mode 100755 gedit/osx/gedit-osx.h rename help/C/figures/{gedit_format_bold.png => pluma_format_bold.png} (100%) rename help/C/figures/{gedit_format_italic.png => pluma_format_italic.png} (100%) rename help/C/figures/{gedit_format_strikethrough.png => pluma_format_strikethrough.png} (100%) rename help/C/figures/{gedit_format_underline.png => pluma_format_underline.png} (100%) rename help/C/figures/{gedit_recent_files_menu_icon.png => pluma_recent_files_menu_icon.png} (100%) rename help/C/figures/{gedit_window.png => pluma_window.png} (100%) rename help/C/{gedit.xml => pluma.xml} (93%) rename help/bg/figures/{gedit_window.png => pluma_window.png} (100%) rename help/ca/figures/{gedit_window.png => pluma_window.png} (100%) rename help/cs/figures/{gedit_window.png => pluma_window.png} (100%) rename help/de/figures/{gedit_window.png => pluma_window.png} (100%) rename help/el/figures/{gedit_window.png => pluma_window.png} (100%) rename help/es/figures/{gedit_window.png => pluma_window.png} (100%) rename help/fi/figures/{gedit_window.png => pluma_window.png} (100%) rename help/fr/figures/{gedit_recent_files_menu_icon.png => pluma_recent_files_menu_icon.png} (100%) rename help/fr/figures/{gedit_window.png => pluma_window.png} (100%) rename help/it/figures/{gedit_window.png => pluma_window.png} (100%) rename help/ja/figures/{gedit_window.png => pluma_window.png} (100%) rename help/ko/figures/{gedit_window.png => pluma_window.png} (100%) rename help/{gedit.omf.in => pluma.omf.in} (100%) rename help/sv/figures/{gedit_window.png => pluma_window.png} (100%) rename help/uk/figures/{gedit_window.png => pluma_window.png} (100%) rename help/zh_CN/figures/{gedit_window.png => pluma_window.png} (100%) rename help/zh_HK/figures/{gedit_window.png => pluma_window.png} (100%) rename help/zh_TW/figures/{gedit_window.png => pluma_window.png} (100%) rename pixmaps/{gedit-logo.png => pluma-logo.png} (100%) rename pixmaps/{gedit-plugin.png => pluma-plugin.png} (100%) rename pixmaps/{gedit.ico => pluma.ico} (100%) delete mode 100755 plugin-loaders/c/gedit-plugin-loader-c.h rename plugin-loaders/c/{gedit-plugin-loader-c.c => pluma-plugin-loader-c.c} (53%) create mode 100755 plugin-loaders/c/pluma-plugin-loader-c.h delete mode 100755 plugin-loaders/python/bindings/gedit.defs create mode 100755 plugin-loaders/python/bindings/pluma.defs rename plugin-loaders/python/bindings/{gedit.override => pluma.override} (64%) rename plugin-loaders/python/bindings/{geditcommands.defs => plumacommands.defs} (52%) rename plugin-loaders/python/bindings/{geditcommands.override => plumacommands.override} (63%) rename plugin-loaders/python/bindings/{geditmessage.override => plumamessage.override} (67%) rename plugin-loaders/python/bindings/{geditplugin.override => plumaplugin.override} (60%) rename plugin-loaders/python/bindings/{geditutils.defs => plumautils.defs} (73%) rename plugin-loaders/python/bindings/{geditutils.override => plumautils.override} (76%) delete mode 100755 plugin-loaders/python/gedit-plugin-loader-python.h delete mode 100755 plugin-loaders/python/gedit-plugin-python.h rename plugin-loaders/python/{gedit-plugin-loader-python.c => pluma-plugin-loader-python.c} (68%) create mode 100755 plugin-loaders/python/pluma-plugin-loader-python.h rename plugin-loaders/python/{gedit-plugin-python.c => pluma-plugin-python.c} (69%) create mode 100755 plugin-loaders/python/pluma-plugin-python.h rename plugins/changecase/{changecase.gedit-plugin.desktop.in => changecase.pluma-plugin.desktop.in} (80%) delete mode 100755 plugins/changecase/gedit-changecase-plugin.h rename plugins/changecase/{gedit-changecase-plugin.c => pluma-changecase-plugin.c} (83%) create mode 100755 plugins/changecase/pluma-changecase-plugin.h rename plugins/checkupdate/{checkupdate.gedit-plugin.desktop.in => checkupdate.pluma-plugin.desktop.in} (57%) delete mode 100755 plugins/checkupdate/gedit-check-update-plugin.h rename plugins/checkupdate/{gedit-check-update-plugin.c => pluma-check-update-plugin.c} (81%) create mode 100755 plugins/checkupdate/pluma-check-update-plugin.h rename plugins/checkupdate/{gedit-check-update.schemas.in => pluma-check-update.schemas.in} (62%) rename plugins/docinfo/{docinfo.gedit-plugin.desktop.in => docinfo.pluma-plugin.desktop.in} (95%) delete mode 100755 plugins/docinfo/gedit-docinfo-plugin.h rename plugins/docinfo/{gedit-docinfo-plugin.c => pluma-docinfo-plugin.c} (78%) create mode 100755 plugins/docinfo/pluma-docinfo-plugin.h rename plugins/externaltools/{externaltools.gedit-plugin.desktop.in => externaltools.pluma-plugin.desktop.in} (82%) rename plugins/externaltools/scripts/{gedit-tool-merge.pl => pluma-tool-merge.pl} (90%) rename plugins/filebrowser/{filebrowser.gedit-plugin.desktop.in => filebrowser.pluma-plugin.desktop.in} (84%) delete mode 100755 plugins/filebrowser/gedit-file-bookmarks-store.h delete mode 100755 plugins/filebrowser/gedit-file-browser-plugin.h delete mode 100755 plugins/filebrowser/gedit-file-browser-store.h delete mode 100755 plugins/filebrowser/gedit-file-browser-view.h delete mode 100755 plugins/filebrowser/gedit-file-browser-widget.h rename plugins/filebrowser/{gedit-file-bookmarks-store.c => pluma-file-bookmarks-store.c} (70%) create mode 100755 plugins/filebrowser/pluma-file-bookmarks-store.h rename plugins/filebrowser/{gedit-file-browser-enum-register.c.template => pluma-file-browser-enum-register.c.template} (83%) rename plugins/filebrowser/{gedit-file-browser-enum-types.c.template => pluma-file-browser-enum-types.c.template} (94%) rename plugins/filebrowser/{gedit-file-browser-enum-types.h.template => pluma-file-browser-enum-types.h.template} (60%) rename plugins/filebrowser/{gedit-file-browser-error.h => pluma-file-browser-error.h} (61%) rename plugins/filebrowser/{gedit-file-browser-marshal.list => pluma-file-browser-marshal.list} (100%) rename plugins/filebrowser/{gedit-file-browser-messages.c => pluma-file-browser-messages.c} (61%) rename plugins/filebrowser/{gedit-file-browser-messages.h => pluma-file-browser-messages.h} (63%) rename plugins/filebrowser/{gedit-file-browser-plugin.c => pluma-file-browser-plugin.c} (71%) create mode 100755 plugins/filebrowser/pluma-file-browser-plugin.h rename plugins/filebrowser/{gedit-file-browser-store.c => pluma-file-browser-store.c} (77%) create mode 100755 plugins/filebrowser/pluma-file-browser-store.h rename plugins/filebrowser/{gedit-file-browser-utils.c => pluma-file-browser-utils.c} (87%) rename plugins/filebrowser/{gedit-file-browser-utils.h => pluma-file-browser-utils.h} (57%) rename plugins/filebrowser/{gedit-file-browser-view.c => pluma-file-browser-view.c} (78%) create mode 100755 plugins/filebrowser/pluma-file-browser-view.h rename plugins/filebrowser/{gedit-file-browser-widget-ui.xml => pluma-file-browser-widget-ui.xml} (100%) rename plugins/filebrowser/{gedit-file-browser-widget.c => pluma-file-browser-widget.c} (78%) create mode 100755 plugins/filebrowser/pluma-file-browser-widget.h rename plugins/filebrowser/{gedit-file-browser.schemas.in => pluma-file-browser.schemas.in} (69%) delete mode 100755 plugins/modelines/gedit-modeline-plugin.h rename plugins/modelines/{modelines.gedit-plugin.desktop.in => modelines.pluma-plugin.desktop.in} (53%) rename plugins/modelines/{gedit-modeline-plugin.c => pluma-modeline-plugin.c} (64%) create mode 100755 plugins/modelines/pluma-modeline-plugin.h rename plugins/pythonconsole/{pythonconsole.gedit-plugin.desktop.in => pythonconsole.pluma-plugin.desktop.in} (85%) rename plugins/quickopen/{quickopen.gedit-plugin.desktop.in => quickopen.pluma-plugin.desktop.in} (82%) rename plugins/snippets/{snippets.gedit-plugin.desktop.in => snippets.pluma-plugin.desktop.in} (82%) delete mode 100755 plugins/sort/gedit-sort-plugin.h rename plugins/sort/{gedit-sort-plugin.c => pluma-sort-plugin.c} (81%) create mode 100755 plugins/sort/pluma-sort-plugin.h rename plugins/sort/{sort.gedit-plugin.desktop.in => sort.pluma-plugin.desktop.in} (89%) delete mode 100755 plugins/spell/gedit-automatic-spell-checker.h delete mode 100755 plugins/spell/gedit-spell-checker-dialog.h delete mode 100755 plugins/spell/gedit-spell-checker.h delete mode 100755 plugins/spell/gedit-spell-language-dialog.h delete mode 100755 plugins/spell/gedit-spell-plugin.h rename plugins/spell/{gedit-automatic-spell-checker.c => pluma-automatic-spell-checker.c} (84%) create mode 100755 plugins/spell/pluma-automatic-spell-checker.h rename plugins/spell/{gedit-spell-checker-dialog.c => pluma-spell-checker-dialog.c} (77%) create mode 100755 plugins/spell/pluma-spell-checker-dialog.h rename plugins/spell/{gedit-spell-checker-language.c => pluma-spell-checker-language.c} (91%) rename plugins/spell/{gedit-spell-checker-language.h => pluma-spell-checker-language.h} (59%) rename plugins/spell/{gedit-spell-checker.c => pluma-spell-checker.c} (71%) create mode 100755 plugins/spell/pluma-spell-checker.h rename plugins/spell/{gedit-spell-language-dialog.c => pluma-spell-language-dialog.c} (82%) create mode 100755 plugins/spell/pluma-spell-language-dialog.h rename plugins/spell/{gedit-spell-marshal.list => pluma-spell-marshal.list} (100%) rename plugins/spell/{gedit-spell-plugin.c => pluma-spell-plugin.c} (70%) create mode 100755 plugins/spell/pluma-spell-plugin.h rename plugins/spell/{gedit-spell-utils.c => pluma-spell-utils.c} (90%) rename plugins/spell/{gedit-spell-utils.h => pluma-spell-utils.h} (75%) rename plugins/spell/{spell.gedit-plugin.desktop.in => spell.pluma-plugin.desktop.in} (82%) delete mode 100755 plugins/taglist/gedit-taglist-plugin-panel.h delete mode 100755 plugins/taglist/gedit-taglist-plugin.h rename plugins/taglist/{gedit-taglist-plugin-panel.c => pluma-taglist-plugin-panel.c} (80%) create mode 100755 plugins/taglist/pluma-taglist-plugin-panel.h rename plugins/taglist/{gedit-taglist-plugin-parser.c => pluma-taglist-plugin-parser.c} (87%) rename plugins/taglist/{gedit-taglist-plugin-parser.h => pluma-taglist-plugin-parser.h} (81%) rename plugins/taglist/{gedit-taglist-plugin.c => pluma-taglist-plugin.c} (51%) create mode 100755 plugins/taglist/pluma-taglist-plugin.h rename plugins/taglist/{taglist.gedit-plugin.desktop.in => taglist.pluma-plugin.desktop.in} (84%) delete mode 100755 plugins/time/gedit-time-plugin.h rename plugins/time/{gedit-time-dialog.ui => pluma-time-dialog.ui} (100%) rename plugins/time/{gedit-time-plugin.c => pluma-time-plugin.c} (85%) create mode 100755 plugins/time/pluma-time-plugin.h rename plugins/time/{gedit-time-setup-dialog.ui => pluma-time-setup-dialog.ui} (100%) rename plugins/time/{time.gedit-plugin.desktop.in => time.pluma-plugin.desktop.in} (84%) create mode 100755 pluma/Makefile.am rename {gedit => pluma}/bacon-message-connection.c (100%) rename {gedit => pluma}/bacon-message-connection.h (100%) create mode 100755 pluma/dialogs/Makefile.am rename gedit/dialogs/gedit-close-confirmation-dialog.c => pluma/dialogs/pluma-close-confirmation-dialog.c (84%) create mode 100755 pluma/dialogs/pluma-close-confirmation-dialog.h rename gedit/dialogs/gedit-encodings-dialog.c => pluma/dialogs/pluma-encodings-dialog.c (82%) create mode 100755 pluma/dialogs/pluma-encodings-dialog.h rename gedit/dialogs/gedit-encodings-dialog.ui => pluma/dialogs/pluma-encodings-dialog.ui (100%) rename gedit/dialogs/gedit-preferences-dialog.c => pluma/dialogs/pluma-preferences-dialog.c (80%) create mode 100755 pluma/dialogs/pluma-preferences-dialog.h rename gedit/dialogs/gedit-preferences-dialog.ui => pluma/dialogs/pluma-preferences-dialog.ui (100%) rename gedit/dialogs/gedit-search-dialog.c => pluma/dialogs/pluma-search-dialog.c (69%) create mode 100755 pluma/dialogs/pluma-search-dialog.h rename gedit/dialogs/gedit-search-dialog.ui => pluma/dialogs/pluma-search-dialog.ui (100%) rename {gedit => pluma}/osx/Makefile.am (69%) rename gedit/osx/gedit-osx-delegate.h => pluma/osx/pluma-osx-delegate.h (55%) rename gedit/osx/gedit-osx-delegate.m => pluma/osx/pluma-osx-delegate.m (80%) rename gedit/osx/gedit-osx.c => pluma/osx/pluma-osx.c (57%) create mode 100755 pluma/osx/pluma-osx.h rename gedit/gedit-app.c => pluma/pluma-app.c (66%) create mode 100755 pluma/pluma-app.h rename gedit/gedit-close-button.c => pluma/pluma-close-button.c (75%) create mode 100755 pluma/pluma-close-button.h rename gedit/gedit-commands-documents.c => pluma/pluma-commands-documents.c (57%) rename gedit/gedit-commands-edit.c => pluma/pluma-commands-edit.c (50%) rename gedit/gedit-commands-file-print.c => pluma/pluma-commands-file-print.c (58%) rename gedit/gedit-commands-file.c => pluma/pluma-commands-file.c (62%) rename gedit/gedit-commands-help.c => pluma/pluma-commands-help.c (74%) rename gedit/gedit-commands-search.c => pluma/pluma-commands-search.c (62%) rename gedit/gedit-commands-view.c => pluma/pluma-commands-view.c (63%) create mode 100755 pluma/pluma-commands.h rename gedit/gedit-debug.c => pluma/pluma-debug.c (59%) create mode 100755 pluma/pluma-debug.h rename gedit/gedit-dirs.c => pluma/pluma-dirs.c (82%) rename gedit/gedit-dirs.h => pluma/pluma-dirs.h (58%) rename gedit/gedit-document-input-stream.c => pluma/pluma-document-input-stream.c (77%) create mode 100755 pluma/pluma-document-input-stream.h rename gedit/gedit-document-loader.c => pluma/pluma-document-loader.c (59%) create mode 100755 pluma/pluma-document-loader.h rename gedit/gedit-document-output-stream.c => pluma/pluma-document-output-stream.c (71%) create mode 100755 pluma/pluma-document-output-stream.h rename gedit/gedit-document-saver.c => pluma/pluma-document-saver.c (62%) create mode 100755 pluma/pluma-document-saver.h rename gedit/gedit-document.c => pluma/pluma-document.c (73%) create mode 100755 pluma/pluma-document.h rename gedit/gedit-documents-panel.c => pluma/pluma-documents-panel.c (77%) create mode 100755 pluma/pluma-documents-panel.h rename gedit/gedit-encodings-combo-box.c => pluma/pluma-encodings-combo-box.c (74%) create mode 100755 pluma/pluma-encodings-combo-box.h rename gedit/gedit-encodings.c => pluma/pluma-encodings.c (52%) rename gedit/gedit-encodings.h => pluma/pluma-encodings.h (52%) rename gedit/gedit-enum-types.c.template => pluma/pluma-enum-types.c.template (95%) rename gedit/gedit-enum-types.h.template => pluma/pluma-enum-types.h.template (71%) rename gedit/gedit-file-chooser-dialog.c => pluma/pluma-file-chooser-dialog.c (75%) create mode 100755 pluma/pluma-file-chooser-dialog.h rename gedit/gedit-gio-document-loader.c => pluma/pluma-gio-document-loader.c (71%) create mode 100755 pluma/pluma-gio-document-loader.h rename gedit/gedit-gio-document-saver.c => pluma/pluma-gio-document-saver.c (72%) create mode 100755 pluma/pluma-gio-document-saver.h rename gedit/gedit-help.c => pluma/pluma-help.c (74%) rename gedit/gedit-help.h => pluma/pluma-help.h (73%) rename gedit/gedit-history-entry.c => pluma/pluma-history-entry.c (72%) create mode 100755 pluma/pluma-history-entry.h rename gedit/gedit-io-error-message-area.c => pluma/pluma-io-error-message-area.c (87%) rename gedit/gedit-io-error-message-area.h => pluma/pluma-io-error-message-area.h (58%) rename gedit/gedit-language-manager.c => pluma/pluma-language-manager.c (84%) rename gedit/gedit-language-manager.h => pluma/pluma-language-manager.h (73%) rename gedit/gedit-marshal.list => pluma/pluma-marshal.list (100%) rename gedit/gedit-message-area.c => pluma/pluma-message-area.c (74%) rename gedit/gedit-message-area.h => pluma/pluma-message-area.h (52%) rename gedit/gedit-message-bus.c => pluma/pluma-message-bus.c (65%) create mode 100755 pluma/pluma-message-bus.h rename gedit/gedit-message-type.c => pluma/pluma-message-type.c (69%) create mode 100755 pluma/pluma-message-type.h rename gedit/gedit-message.c => pluma/pluma-message.c (67%) create mode 100755 pluma/pluma-message.h rename gedit/gedit-metadata-manager.c => pluma/pluma-metadata-manager.c (69%) rename gedit/gedit-metadata-manager.h => pluma/pluma-metadata-manager.h (68%) rename gedit/gedit-notebook.c => pluma/pluma-notebook.c (75%) create mode 100755 pluma/pluma-notebook.h rename gedit/gedit-object-module.c => pluma/pluma-object-module.c (69%) create mode 100755 pluma/pluma-object-module.h rename gedit/gedit-panel.c => pluma/pluma-panel.c (77%) create mode 100755 pluma/pluma-panel.h rename gedit/gedit-plugin-info-priv.h => pluma/pluma-plugin-info-priv.h (72%) rename gedit/gedit-plugin-info.c => pluma/pluma-plugin-info.c (67%) create mode 100755 pluma/pluma-plugin-info.h rename gedit/gedit-plugin-loader.c => pluma/pluma-plugin-loader.c (63%) rename gedit/gedit-plugin-loader.h => pluma/pluma-plugin-loader.h (51%) rename gedit/gedit-plugin-manager.c => pluma/pluma-plugin-manager.c (77%) create mode 100755 pluma/pluma-plugin-manager.h rename gedit/gedit-plugin.c => pluma/pluma-plugin.c (56%) rename gedit/gedit-plugin.h => pluma/pluma-plugin.h (60%) rename gedit/gedit-plugins-engine.c => pluma/pluma-plugins-engine.c (59%) create mode 100755 pluma/pluma-plugins-engine.h rename gedit/gedit-prefs-manager-app.c => pluma/pluma-prefs-manager-app.c (65%) create mode 100755 pluma/pluma-prefs-manager-app.h rename gedit/gedit-prefs-manager-private.h => pluma/pluma-prefs-manager-private.h (69%) rename gedit/gedit-prefs-manager.c => pluma/pluma-prefs-manager.c (64%) rename gedit/gedit-prefs-manager.h => pluma/pluma-prefs-manager.h (55%) rename gedit/gedit-print-job.c => pluma/pluma-print-job.c (74%) create mode 100755 pluma/pluma-print-job.h rename gedit/gedit-print-preferences.ui => pluma/pluma-print-preferences.ui (100%) rename gedit/gedit-print-preview.c => pluma/pluma-print-preview.c (89%) create mode 100755 pluma/pluma-print-preview.h rename gedit/gedit-progress-message-area.c => pluma/pluma-progress-message-area.c (67%) create mode 100755 pluma/pluma-progress-message-area.h rename gedit/gedit-session.c => pluma/pluma-session.c (70%) rename gedit/gedit-session.h => pluma/pluma-session.h (71%) rename gedit/gedit-smart-charset-converter.c => pluma/pluma-smart-charset-converter.c (68%) create mode 100755 pluma/pluma-smart-charset-converter.h rename gedit/gedit-spinner.c => pluma/pluma-spinner.c (64%) rename gedit/gedit-spinner.h => pluma/pluma-spinner.h (50%) rename gedit/gedit-status-combo-box.c => pluma/pluma-status-combo-box.c (72%) create mode 100755 pluma/pluma-status-combo-box.h rename gedit/gedit-statusbar.c => pluma/pluma-statusbar.c (80%) create mode 100755 pluma/pluma-statusbar.h rename gedit/gedit-style-scheme-manager.c => pluma/pluma-style-scheme-manager.c (88%) rename gedit/gedit-style-scheme-manager.h => pluma/pluma-style-scheme-manager.h (73%) rename gedit/gedit-tab-label.c => pluma/pluma-tab-label.c (66%) create mode 100755 pluma/pluma-tab-label.h rename gedit/gedit-tab.c => pluma/pluma-tab.c (62%) create mode 100755 pluma/pluma-tab.h rename gedit/gedit-ui.h => pluma/pluma-ui.h (62%) rename gedit/gedit-ui.xml => pluma/pluma-ui.xml (97%) rename gedit/gedit-utils.c => pluma/pluma-utils.c (89%) rename gedit/gedit-utils.h => pluma/pluma-utils.h (55%) rename gedit/gedit-view.c => pluma/pluma-view.c (80%) create mode 100755 pluma/pluma-view.h rename gedit/gedit-window-private.h => pluma/pluma-window-private.h (83%) rename gedit/gedit-window.c => pluma/pluma-window.c (73%) create mode 100755 pluma/pluma-window.h rename gedit/gedit.c => pluma/pluma.c (78%) create mode 100755 pluma/pluma.rc rename gedit/gedittextregion.c => pluma/plumatextregion.c (88%) rename gedit/gedittextregion.h => pluma/plumatextregion.h (50%) rename {gedit => pluma}/smclient/Makefile.am (98%) rename {gedit => pluma}/smclient/eggdesktopfile.c (100%) rename {gedit => pluma}/smclient/eggdesktopfile.h (100%) rename {gedit => pluma}/smclient/eggsmclient-osx.c (100%) rename {gedit => pluma}/smclient/eggsmclient-private.h (100%) rename {gedit => pluma}/smclient/eggsmclient-win32.c (100%) rename {gedit => pluma}/smclient/eggsmclient-xsmp.c (100%) rename {gedit => pluma}/smclient/eggsmclient.c (100%) rename {gedit => pluma}/smclient/eggsmclient.h (100%) rename win32/{gedit.iss.in => pluma.iss.in} (64%) diff --git a/BUGS b/BUGS index 7a3e215..cfeac38 100755 --- a/BUGS +++ b/BUGS @@ -1,7 +1,7 @@ -Search on http://bugzilla.mate.org for a list of known gedit's bug. +Search on http://bugzilla.gnome.org for a list of known pluma's bug. If you find a new bug, please report it at -http://bugzilla.mate.org/enter_bug.cgi?product=gedit. +http://bugzilla.gnome.org/enter_bug.cgi?product=pluma. Thanks, Paolo diff --git a/ChangeLog b/ChangeLog index fa17a14..e0973a0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -48,7 +48,7 @@ Date: 2010-09-06 M help/zh_CN/zh_CN.po commit 59d8e6ed080251d8b3afa2d34ec5a1ad724b2135 -Author: Jorge González +Author: Jorge González Date: 2010-09-04 Updated Spanish translation @@ -59,7 +59,7 @@ commit 519d4e2cd047ea8d59412990dd2b1e94b64a784f Author: Michael Kotsarinis Date: 2010-09-01 - l10n: Updated Greek translation for gedit help + l10n: Updated Greek translation for pluma help M help/el/el.po @@ -105,7 +105,7 @@ Date: 2010-08-08 M help/de/de.po commit c07fe26ff668be01489490038dd25d4639f4451d -Author: Shankar Prasad +Author: Shankar Prasad Date: 2010-07-28 Updated the Kannada translations @@ -121,7 +121,7 @@ Date: 2010-07-18 M po/zh_CN.po commit f588ba35dd4fa62922b017c4900f369389c2d757 -Author: Jorge González +Author: Jorge González Date: 2010-06-28 Added initial Spanish translation @@ -152,7 +152,7 @@ Date: 2010-06-16 Don't ref the icon if its NULL -M plugins/filebrowser/gedit-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser-widget.c commit e436fda28e8dce77eb826da790a967833e0c9f95 Author: Jesse van den Kieboom @@ -160,7 +160,7 @@ Date: 2010-05-25 Fix very small memory leak on OS X -M gedit/gedit-commands-file.c +M pluma/pluma-commands-file.c commit 875abce0301cfd1bbb0fe137445cdbc207e91278 Author: Claude Paroz @@ -170,7 +170,7 @@ Date: 2010-05-14 Fixes bug #576593 -M help/C/gedit.xml +M help/C/pluma.xml commit e2a48a1903682f3b347881d4a63843117e045cac Author: Dustin Polke @@ -188,9 +188,9 @@ Date: 2010-04-29 Prevent file browser from scrolling when renaming file - https://bugzilla.mate.org/show_bug.cgi?id=617218 + https://bugzilla.gnome.org/show_bug.cgi?id=617218 -M plugins/filebrowser/gedit-file-browser-view.c +M plugins/filebrowser/pluma-file-browser-view.c commit e10c2fd3b42e4dff0864cdfa96e7bef9c60feab4 Author: Ivar Smolin @@ -255,7 +255,7 @@ Date: 2010-05-16 Handle empty input gracefully -M gedit/gedit-smart-charset-converter.c +M pluma/pluma-smart-charset-converter.c M tests/smart-converter.c commit c2cd07a7205c36227f6b02b1e51ac19a41b604e5 @@ -286,12 +286,12 @@ commit 8559615fa1104692825e453096a9c90ff79a90a9 Author: Jesse van den Kieboom Date: 2010-04-22 - Fix bug in quickopen checking gedit version for filebrowser support + Fix bug in quickopen checking pluma version for filebrowser support M plugins/quickopen/quickopen/windowhelper.py commit 13b291e9230a8eef0ac2a6bf08ae70eba2f4c06e -Author: Shankar Prasad +Author: Shankar Prasad Date: 2010-04-22 Updated Kannada translations @@ -304,7 +304,7 @@ Date: 2010-04-22 Removed useless line. -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit 56d2b77d85ea17b9fe88a3a46d073fadfa43e7f0 Author: Carles Ferrando @@ -338,7 +338,7 @@ Date: 2010-04-18 Use SPELL_LANGUAGE instead of LANGUAGE to save spell metadata -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 5aed3c90ebaf290591b3741de17acb1cdba2fc5d Author: Paolo Borelli @@ -374,7 +374,7 @@ Date: 2010-04-18 Do not use gtk 2.18 syntax -M gedit/gedit-file-chooser-dialog.c +M pluma/pluma-file-chooser-dialog.c commit 01e5c14065c9ea1338086f3c38565139061c9cc7 Author: Paolo Borelli @@ -382,7 +382,7 @@ Date: 2010-04-18 Add a 'default' branch to case statement to make gcc happy -M gedit/gedit-document-input-stream.c +M pluma/pluma-document-input-stream.c commit 9011f03572e24a3371fbce392128b7c472502908 Author: Paolo Borelli @@ -391,10 +391,10 @@ Date: 2010-04-18 Better name for conditional metadata flag and use it in all the files M configure.ac -M gedit/Makefile.am -M gedit/gedit-document.c -M gedit/gedit-gio-document-loader.c -M gedit/gedit.c +M pluma/Makefile.am +M pluma/pluma-document.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma.c commit f01b005563a2762360c8ff13e59115e5644c6bbd Author: Paolo Borelli @@ -410,7 +410,7 @@ Date: 2010-04-18 Disconnect doc loaded/saved signals when spell plugin deactivated -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 211d11e6f45a643ae71d9b75b79595b901f2833d Author: Jesse van den Kieboom @@ -418,7 +418,7 @@ Date: 2010-04-18 Save spell metadata also after saving the document -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 773b1498261b4ac8d8505a44f24cfc67910ccae7 Author: Jesse van den Kieboom @@ -426,7 +426,7 @@ Date: 2010-04-18 Don't save metadata for untitled documents with fallback manager -M gedit/gedit-document.c +M pluma/pluma-document.c commit 940d150d4ce8d9f35ba396c6229ce334cd7298b0 Author: Jesse van den Kieboom @@ -435,8 +435,8 @@ Date: 2010-04-18 Better conditionally compile old metadata manager M configure.ac -M gedit/Makefile.am -M gedit/gedit-document.c +M pluma/Makefile.am +M pluma/pluma-document.c commit 831a021ab00e81559fe2edf0ceb40b12d832dfcb Author: Paolo Borelli @@ -444,7 +444,7 @@ Date: 2010-04-18 Use document_get_location -M gedit/gedit-commands-file.c +M pluma/pluma-commands-file.c commit cf336fa71642dd6457dc34f44d74e641632f8b47 Author: Paolo Borelli @@ -453,7 +453,7 @@ Date: 2010-04-18 Also check if permission changed when checking if a local file was modified. -M gedit/gedit-document.c +M pluma/pluma-document.c commit e6db7f86504fb887719348f4274162ae4837e672 Author: Paolo Borelli @@ -470,7 +470,7 @@ Date: 2010-04-17 Reset the spell checker language from the metadata when the doc is loaded. -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 55e24248c8d365d45b0f8d7fb1b405f0d7cac777 Author: Ignacio Casal Quinteiro @@ -499,7 +499,7 @@ Date: 2010-04-17 tag object to be notified if it's destroyed before the finalize of the spell object runs. -M plugins/spell/gedit-automatic-spell-checker.c +M plugins/spell/pluma-automatic-spell-checker.c commit adf773fc4e18c61621cb236ec5677310351654bc Author: Jesse van den Kieboom @@ -512,7 +512,7 @@ Date: 2010-04-17 it means that the spell checker is rechecking multiple times in many cases. -M plugins/spell/gedit-automatic-spell-checker.c +M plugins/spell/pluma-automatic-spell-checker.c commit abfd858fc4994900dd2b1bdf2f7dc98822863735 Author: Changwoo Ryu @@ -554,8 +554,8 @@ Date: 2010-04-12 Use gtk_widget_is_toplevel when possible. Fixes #562052. -M gedit/gedit-encodings-combo-box.c -M gedit/gedit-panel.c +M pluma/pluma-encodings-combo-box.c +M pluma/pluma-panel.c commit 893d0b2d2fb9f9d05e7b02a3fe2e095eb866fa5c Author: Ignacio Casal Quinteiro @@ -563,7 +563,7 @@ Date: 2010-04-12 Use gtk_activatable_get_related_action instead of deprecated func. -M gedit/gedit-window.c +M pluma/pluma-window.c commit 8624fca0d5504ff49990abe38060e9260192b269 Author: Adi Roiban @@ -579,7 +579,7 @@ Date: 2010-04-09 Fix ref loop. -M gedit/gedit-tab-label.c +M pluma/pluma-tab-label.c commit 31728e836a8e0a77df8d75a729842630a6254be1 Author: Jesse van den Kieboom @@ -591,8 +591,8 @@ Date: 2010-04-09 G_IO_ERROR_PARTIAL_INPUT the same way as GConvert errors are handled. -M gedit/gedit-io-error-message-area.c -M gedit/gedit-tab.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-tab.c commit ceac487d4d02d157754a27916295b2e643f5fed7 Author: Jesse van den Kieboom @@ -612,7 +612,7 @@ Date: 2010-04-09 at least we prevent data corruption for now. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit b66c58acd43dbc971947d5634a2e6203fa8d0210 Author: Ignacio Casal Quinteiro @@ -620,7 +620,7 @@ Date: 2010-04-09 Manage the tab as a property. -M gedit/gedit-tab-label.c +M pluma/pluma-tab-label.c commit 22da0bfd56e29e9cec5b38fa678481b6d2a9c279 Author: Ignacio Casal Quinteiro @@ -628,7 +628,7 @@ Date: 2010-04-09 Remove useless file. -D data/gedit.spec.in +D data/pluma.spec.in commit b0a402df19fa276c61a5fc2fc96c8e742f029d12 Author: Jesse van den Kieboom @@ -656,7 +656,7 @@ Date: 2010-04-07 We must clear the buffer when the output stream is constructed as we can't know with certain that we are going to write data on it. -M gedit/gedit-document-output-stream.c +M pluma/pluma-document-output-stream.c commit 96632ce7bfe35452f00efc9f67489c6d8c1fc357 Author: Jesse van den Kieboom @@ -681,8 +681,8 @@ Date: 2010-04-07 Updated logo with slightly better letter background and white 'g' -M pixmaps/gedit-logo.png -M pixmaps/gedit-logo.svgz +M pixmaps/pluma-logo.png +M pixmaps/pluma-logo.svgz commit 26b510c9776f5a4935c5ee642275ffd9931b3207 Author: Ignacio Casal Quinteiro @@ -695,14 +695,14 @@ Date: 2010-04-06 made a great sketch. We would like to thank also to everybody who sent a logo and that contributed sending ideas. -M pixmaps/gedit-logo.png -A pixmaps/gedit-logo.svgz +M pixmaps/pluma-logo.png +A pixmaps/pluma-logo.svgz commit a4e616805588dfaff2d3a141fccc490b327590ff Author: Leonid Kanter Date: 2010-04-05 - fixed https://bugzilla.mate.org/show_bug.cgi?id=565868 + fixed https://bugzilla.gnome.org/show_bug.cgi?id=565868 M po/ru.po @@ -750,7 +750,7 @@ Date: 2010-04-02 should not list mounts which are shadowed. This fixes mounts from the gphoto2 or afc GVFS backend to not show up twice in the filebrowser. -M plugins/filebrowser/gedit-file-bookmarks-store.c +M plugins/filebrowser/pluma-file-bookmarks-store.c commit fae59ae4563631ac98a137012eb6275cc8b807d4 Author: Paolo Borelli @@ -798,10 +798,10 @@ Date: 2010-03-22 Respect MATE22_USER_DIR env variable. -M gedit/gedit-dirs.c +M pluma/pluma-dirs.c M plugins/externaltools/tools/library.py M plugins/snippets/snippets/__init__.py -M plugins/taglist/gedit-taglist-plugin-parser.c +M plugins/taglist/pluma-taglist-plugin-parser.c commit 3fdf01ec9e0ac5f48d22e7e5d369c81fa357ea49 Author: Paolo Borelli @@ -821,8 +821,8 @@ Date: 2010-03-29 Fixes bug #614205 -M gedit/gedit-document-input-stream.c -M gedit/gedit-gio-document-saver.c +M pluma/pluma-document-input-stream.c +M pluma/pluma-gio-document-saver.c commit f2a0e5442bb9a321f1c98c1080fdebc377912437 Author: Jordi Serratosa @@ -1089,7 +1089,7 @@ Date: 2010-03-14 Fixes bug 342795. Patch by Garrett Regier. -M plugins/sort/gedit-sort-plugin.c +M plugins/sort/pluma-sort-plugin.c commit 43a28e7696f9c9e16c87a8169020c07ee4675461 Author: Daniel Nylander @@ -1115,7 +1115,7 @@ Date: 2010-03-14 Patch by Garrett Regier -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit fc6a3fee1b0d7431a752c7c813d9eeb0ea543445 Author: Paolo Borelli @@ -1137,7 +1137,7 @@ Date: 2010-03-13 fixes refocusing the dialog if it is already open and ctrl+F is pressed -M gedit/gedit-commands-search.c +M pluma/pluma-commands-search.c commit dc73c0f38964cbf9d95aa990a086e2fa4c207411 Author: A S Alam @@ -1161,7 +1161,7 @@ Date: 2010-03-13 reproduce anymore, though we've not been able to create a simple unit test isolating the bug. -M gedit/gedit-document-input-stream.c +M pluma/pluma-document-input-stream.c M tests/document-input-stream.c commit e790415a31a0258eca7ca5bd1596bb8636c98bb5 @@ -1178,7 +1178,7 @@ Date: 2010-03-12 Plug tiny leak -M gedit/gedit-encodings-combo-box.c +M pluma/pluma-encodings-combo-box.c commit f340f24a927301437b7c005584049aed1ce75dd3 Author: Branko Kokanović @@ -1227,7 +1227,7 @@ Date: 2010-03-09 Factor out the notebook creation. -M gedit/gedit-window.c +M pluma/pluma-window.c commit 10ee3b01b476518630602e79c662584ead1c5ec7 Author: Paolo Borelli @@ -1246,7 +1246,7 @@ Date: 2010-03-08 Make sure error_message is always set. Spotted by Matthias Clasen. -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit 784df3461c36fd829d1702a44ac227c7c657313c Author: Gabor Kelemen @@ -1272,7 +1272,7 @@ Date: 2010-03-05 Based on a patch from Sebastien Bacher. - https://bugzilla.mate.org/show_bug.cgi?id=600706 + https://bugzilla.gnome.org/show_bug.cgi?id=600706 M configure.ac @@ -1367,7 +1367,7 @@ Date: 2010-03-01 When we were storing the remainder we weren't returning the stored size. -M gedit/gedit-document-output-stream.c +M pluma/pluma-document-output-stream.c M tests/document-output-stream.c commit 1c7baecb01d18f6e265bed6e67cc93e3d8d1bc66 @@ -1376,7 +1376,7 @@ Date: 2010-03-01 Handle NOT_DIRECTORY error as NOT_FOUND in error messages -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit cfc3af727a8982ed11d1809830043dbd0e53ec24 Author: Jesse van den Kieboom @@ -1384,7 +1384,7 @@ Date: 2010-03-01 Do not warn on G_FILE_ERROR_NOTDIR and G_FILE_ERROR_NOENT -M gedit/gedit-document.c +M pluma/pluma-document.c commit d11a8e84244b773cdf262bf0b57e76a4f0e8f4f2 Author: Jesse van den Kieboom @@ -1392,8 +1392,8 @@ Date: 2010-03-01 Added domain checks for CONVERSION_FALLBACK errors -M gedit/gedit-document.c -M gedit/gedit-tab.c +M pluma/pluma-document.c +M pluma/pluma-tab.c commit 6e0d6d5a8d81dd02c3f8faa263197a40e2d3fed8 Author: Paolo Borelli @@ -1401,7 +1401,7 @@ Date: 2010-02-28 Unref the doc input stream on dispose -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit b9d697b74d9931a24840b04f56075a73d7d81bad Author: Paolo Borelli @@ -1409,8 +1409,8 @@ Date: 2010-02-28 Fix dangerous typo and remove empty finalize method -M gedit/gedit-gio-document-loader.c -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-gio-document-saver.c commit 1fddb8fd8c03eaa826c7732f9a9f8701b61c9d91 Author: Paolo Borelli @@ -1419,11 +1419,11 @@ Date: 2010-02-28 Free the async data and some tidying up for the cancelled case (though it still is not working properly) -M gedit/gedit-gio-document-loader.c -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-gio-document-saver.c commit 16b4b5e98d77226c15bbde057ad014b9ec8a676a -Author: Jorge González +Author: Jorge González Date: 2010-02-28 Updated Spanish translation @@ -1437,7 +1437,7 @@ Date: 2010-02-28 Fixed the correct offset calculation in the special case fixed in da94b5 -M gedit/gedit-document-input-stream.c +M pluma/pluma-document-input-stream.c commit da94b577d4591473dd22af116b84f9b800f11603 Author: Jesse van den Kieboom @@ -1448,7 +1448,7 @@ Date: 2010-02-28 This fixes a critical bug where g_utf8_next_char was reading past memory boundary and causing corrupt files. -M gedit/gedit-document-input-stream.c +M pluma/pluma-document-input-stream.c commit c16f4f34966337e638462b0eb23958c8eed3b933 Author: Jesse van den Kieboom @@ -1456,7 +1456,7 @@ Date: 2010-02-28 Improved heuristic for determining whether to show load/save progress -M gedit/gedit-tab.c +M pluma/pluma-tab.c commit cb235cbe4b6e705a2489a395d3ecbf5d648c32ec Author: Paolo Borelli @@ -1472,8 +1472,8 @@ Date: 2010-02-28 document-output-stream write method. Fixes bug #611350. -M gedit/gedit-document-output-stream.c -M gedit/gedit-gio-document-loader.c +M pluma/pluma-document-output-stream.c +M pluma/pluma-gio-document-loader.c M po/POTFILES.skip commit 7819f6c73ef291acc2e265b370dd045ad08c0e70 @@ -1490,7 +1490,7 @@ Date: 2010-02-27 Fixed error initializing in on_uri_changed -M gedit/gedit-document.c +M pluma/pluma-document.c commit 8c7aec65cbbbc52a2249b20b3d3e320c1fdaf0c9 Author: Ignacio Casal Quinteiro @@ -1498,7 +1498,7 @@ Date: 2010-02-27 Minor fix. -M gedit/gedit-document.c +M pluma/pluma-document.c commit 59965d8f7f40a3f3aa51d4f18af4147910faa5ae Author: Torstein Adolf Winterseth @@ -1524,10 +1524,10 @@ Date: 2010-02-27 Get the metadata sync since we need the information right after the uri was set and since loading metadata is always local and fast. -M gedit/gedit-document.c +M pluma/pluma-document.c commit 1a42daf2b0213710a2e88317f76e6517789193ec -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-02-27 Updated Slovenian translation @@ -1540,7 +1540,7 @@ Date: 2010-02-27 Notify content_type only when it actually changes -M gedit/gedit-document.c +M pluma/pluma-document.c commit a0aa52ae1b6bde8febe89539b70f1ef5b002af22 Author: Paolo Borelli @@ -1548,7 +1548,7 @@ Date: 2010-02-27 Ref the doc while querying info so that is not finalized. -M gedit/gedit-document.c +M pluma/pluma-document.c commit 295d59de1df3c30cb9b5fd8d10ad4116f12d42ba Author: Claude Paroz @@ -1557,8 +1557,8 @@ Date: 2010-02-27 Fix translatable time strings in ui files (Fixes bug #611241) M plugins/spell/spell-checker.ui -M plugins/time/gedit-time-dialog.ui -M plugins/time/gedit-time-setup-dialog.ui +M plugins/time/pluma-time-dialog.ui +M plugins/time/pluma-time-setup-dialog.ui commit 062f53306b90e6da32a5ad96218083748b996be0 Author: Krasimir Chonov @@ -1636,7 +1636,7 @@ Date: 2010-02-22 M po/it.po commit af2cadb7e67036e5b79ad1361f34f84931105c8e -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-02-22 Updated Slovenian translation @@ -1668,7 +1668,7 @@ Date: 2010-02-20 M po/ar.po commit df7c23af7807d05eae45b37889b312e12c5d3cf0 -Author: Jorge González +Author: Jorge González Date: 2010-02-20 Updated Spanish translation @@ -1676,7 +1676,7 @@ Date: 2010-02-20 M po/es.po commit 8325fce00678e83d372da1595a691f3f2aea202e -Author: Jorge González +Author: Jorge González Date: 2010-02-20 Updated Spanish translation @@ -1693,23 +1693,23 @@ Date: 2010-02-20 fixes. Helps: bgo#610048 -M data/gedit.schemas.in.in -M gedit/dialogs/gedit-close-confirmation-dialog.c -M gedit/dialogs/gedit-preferences-dialog.c -M gedit/gedit-documents-panel.c -M gedit/gedit-help.c -M gedit/gedit-io-error-message-area.c -M gedit/gedit-prefs-manager.c -M gedit/gedit-ui.h -M gedit/gedit-utils.c -M gedit/gedit-window.c -M gedit/gedit.c -M plugins/checkupdate/gedit-check-update-plugin.c -M plugins/docinfo/gedit-docinfo-plugin.c -M plugins/filebrowser/gedit-file-browser-widget.c -M plugins/filebrowser/gedit-file-browser.schemas.in -M plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in -M plugins/snippets/snippets.gedit-plugin.desktop.in +M data/pluma.schemas.in.in +M pluma/dialogs/pluma-close-confirmation-dialog.c +M pluma/dialogs/pluma-preferences-dialog.c +M pluma/pluma-documents-panel.c +M pluma/pluma-help.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-prefs-manager.c +M pluma/pluma-ui.h +M pluma/pluma-utils.c +M pluma/pluma-window.c +M pluma/pluma.c +M plugins/checkupdate/pluma-check-update-plugin.c +M plugins/docinfo/pluma-docinfo-plugin.c +M plugins/filebrowser/pluma-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser.schemas.in +M plugins/pythonconsole/pythonconsole.pluma-plugin.desktop.in +M plugins/snippets/snippets.pluma-plugin.desktop.in M plugins/snippets/snippets/Exporter.py M plugins/snippets/snippets/Importer.py M plugins/snippets/snippets/Manager.py @@ -1717,7 +1717,7 @@ M plugins/snippets/snippets/Placeholder.py M plugins/snippets/snippets/snippets.ui M plugins/taglist/HTML.tags.xml.in M plugins/taglist/Latex.tags.xml.in -M plugins/taglist/taglist.gedit-plugin.desktop.in +M plugins/taglist/taglist.pluma-plugin.desktop.in commit 8ec9bfad3660dc0e7ec61d32b386968b4ddf9acd Author: Mario Blättermann @@ -1731,10 +1731,10 @@ commit cf57263e368489cf38aad092a02feca0bc336e1e Author: Ignacio Casal Quinteiro Date: 2010-02-18 - Add gedit_status_combo_box_remove_item + Add pluma_status_combo_box_remove_item -M gedit/gedit-status-combo-box.c -M gedit/gedit-status-combo-box.h +M pluma/pluma-status-combo-box.c +M pluma/pluma-status-combo-box.h commit 5a75f4e32aef28d9e8e665ddde19c439d06f254c Author: Bruno Brouard @@ -1745,7 +1745,7 @@ Date: 2010-02-18 M help/fr/fr.po commit 9bba40c7bf5033291278d88c79f5e4c51bc8de7d -Author: Jorge González +Author: Jorge González Date: 2010-02-18 Updated Spanish translation @@ -1753,7 +1753,7 @@ Date: 2010-02-18 M po/es.po commit d549be46d2d1d15022716a7f24f63ae0061195b8 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-02-18 Updated Slovenian translation @@ -1771,11 +1771,11 @@ Date: 2010-02-18 "auto-" prefix as much as possible, and make strings conform to the terminology list in the MATE style guide otherwise. Helps: bgo#610048 -M data/gedit.schemas.in.in -M gedit/gedit-encodings-combo-box.c +M data/pluma.schemas.in.in +M pluma/pluma-encodings-combo-box.c commit 3a7b339d95db41a6d63d9d9c402ba34e9736f641 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-02-18 Updated Slovenian translation @@ -1791,7 +1791,7 @@ Date: 2010-02-17 M po/et.po commit 93285ba28ad887347e49c01405d9a081d0aae176 -Author: Jorge González +Author: Jorge González Date: 2010-02-17 Updated Spanish translation @@ -1818,15 +1818,15 @@ Date: 2010-02-17 marked as such. Helps: bgo#610048 -M gedit/gedit-print-preferences.ui -M gedit/gedit-print-preview.c +M pluma/pluma-print-preferences.ui +M pluma/pluma-print-preview.c M plugins/docinfo/docinfo.ui -M plugins/filebrowser/gedit-file-browser-store.c +M plugins/filebrowser/pluma-file-browser-store.c M plugins/snippets/snippets/snippets.ui -M plugins/spell/gedit-automatic-spell-checker.c -M plugins/spell/gedit-spell-checker-dialog.c +M plugins/spell/pluma-automatic-spell-checker.c +M plugins/spell/pluma-spell-checker-dialog.c M plugins/spell/spell-checker.ui -M plugins/time/gedit-time-setup-dialog.ui +M plugins/time/pluma-time-setup-dialog.ui commit 038b466573ff664439f587ea7396aac9d20743c2 Author: Philip Withnall @@ -1837,11 +1837,11 @@ Date: 2010-02-17 Ensure strings consistently refer to "character encoding" rather than "character coding". Helps: bgo#610048 -M data/gedit.schemas.in.in -M gedit/dialogs/gedit-encodings-dialog.c -M gedit/dialogs/gedit-encodings-dialog.ui -M gedit/gedit-file-chooser-dialog.c -M gedit/gedit-io-error-message-area.c +M data/pluma.schemas.in.in +M pluma/dialogs/pluma-encodings-dialog.c +M pluma/dialogs/pluma-encodings-dialog.ui +M pluma/pluma-file-chooser-dialog.c +M pluma/pluma-io-error-message-area.c commit 64caf09b7649fe61140882d26d526d3d1c0a054b Author: Philip Withnall @@ -1864,19 +1864,19 @@ commit 7de4013c74bfbcd42f9dcd2437418f586b960aca Author: Jesse van den Kieboom Date: 2010-02-14 - Added gedit_document_set_content_type + Added pluma_document_set_content_type -M gedit/gedit-document.c -M gedit/gedit-document.h +M pluma/pluma-document.c +M pluma/pluma-document.h commit 8a43334a580e3f5f34dfca95e6793f42d9a5b886 Author: Jesse van den Kieboom Date: 2010-02-14 - Added gedit_tab_set_info_bar + Added pluma_tab_set_info_bar -M gedit/gedit-tab.c -M gedit/gedit-tab.h +M pluma/pluma-tab.c +M pluma/pluma-tab.h commit faefe07b7352026c1c450d9858d3f0bd7ac8714b Author: Jesse van den Kieboom @@ -1884,9 +1884,9 @@ Date: 2010-02-09 Made document 'shortname' writable -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-tab.c +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-tab.c commit 94da772b83a2886bd0d411b1d7af60e0a44df40d Author: Ignacio Casal Quinteiro @@ -1894,7 +1894,7 @@ Date: 2010-02-14 Safely remove the tabs from the notebook when destroyed. -M gedit/gedit-notebook.c +M pluma/pluma-notebook.c commit 4d433960ba44157d3dcc012d4bf411897dd398fb Author: Vladimir Melo @@ -1921,7 +1921,7 @@ Date: 2010-02-12 M po/ro.po commit 4846617775a583f93ebdff120f03687d6069d70d -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-02-12 Updated Slovenian translation @@ -1953,7 +1953,7 @@ Date: 2010-02-10 M po/nb.po commit 4626c53a4f390db35a15042a3e67c81cfc9166d0 -Author: Jorge González +Author: Jorge González Date: 2010-02-10 Updated Spanish translation @@ -1977,7 +1977,7 @@ Date: 2010-02-08 Also close the input stream sync for the saver. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 5d09f8acb8176b400e22212e54c927e601e04746 Author: Ignacio Casal Quinteiro @@ -1985,7 +1985,7 @@ Date: 2010-02-08 Do not use async operations with the doc stream in the saver. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 0c2543ffbac7e35ef8318c90a6e322d40aeea87b Author: Ignacio Casal Quinteiro @@ -1993,7 +1993,7 @@ Date: 2010-02-08 Do not use async operations with the doc stream in the loader. -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit ef8336416023521a09112d5cb22432278cac3c19 Author: Paolo Borelli @@ -2006,8 +2006,8 @@ Date: 2010-02-08 they are not only not useful (the buffer is in memory), but also dangerous since buffer should not be modified from different threads. -M gedit/gedit-document-input-stream.c -M gedit/gedit-document-output-stream.c +M pluma/pluma-document-input-stream.c +M pluma/pluma-document-output-stream.c commit 9fca7e057e12b7595487d52a1f6906f19a5fc58e Author: Ignacio Casal Quinteiro @@ -2015,19 +2015,19 @@ Date: 2010-02-08 Fix newline detection and add more unit tests. -M gedit/gedit-document-output-stream.c +M pluma/pluma-document-output-stream.c M tests/document-output-stream.c commit 981647dc1f27e6688564e8fbfbb86b7267cec549 Author: Ignacio Casal Quinteiro Date: 2010-02-08 - Add GeditDocumentOutputStream and unit tests. + Add PlumaDocumentOutputStream and unit tests. -M gedit/Makefile.am -A gedit/gedit-document-output-stream.c -A gedit/gedit-document-output-stream.h -M gedit/gedit-gio-document-loader.c +M pluma/Makefile.am +A pluma/pluma-document-output-stream.c +A pluma/pluma-document-output-stream.h +M pluma/pluma-gio-document-loader.c M tests/Makefile.am A tests/document-output-stream.c @@ -2037,27 +2037,27 @@ Date: 2010-02-08 Remove trailing spaces and use an enum for the columns. -M gedit/gedit-documents-panel.c +M pluma/pluma-documents-panel.c commit d022c7eb9bc4cf7025f34548c8acd47b07f92735 Author: Ignacio Casal Quinteiro Date: 2010-02-07 - Remove gedit-convert.[ch]. + Remove pluma-convert.[ch]. -M gedit/Makefile.am -D gedit/gedit-convert.c -D gedit/gedit-convert.h -M gedit/gedit-document-loader.c -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-gio-document-loader.c -M gedit/gedit-io-error-message-area.c -M gedit/gedit-smart-charset-converter.c -M gedit/gedit-tab.c -M gedit/gedit-utils.c +M pluma/Makefile.am +D pluma/pluma-convert.c +D pluma/pluma-convert.h +M pluma/pluma-document-loader.c +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-gio-document-loader.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-smart-charset-converter.c +M pluma/pluma-tab.c +M pluma/pluma-utils.c commit 1b81b1226ccbdb933cfa672e44d2ff1a1749fcde Author: Paolo Borelli @@ -2065,9 +2065,9 @@ Date: 2010-02-07 Add "Open" to the filebrowser context menu -M plugins/filebrowser/gedit-file-browser-widget-ui.xml -M plugins/filebrowser/gedit-file-browser-widget.c -M plugins/filebrowser/gedit-file-browser-widget.h +M plugins/filebrowser/pluma-file-browser-widget-ui.xml +M plugins/filebrowser/pluma-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser-widget.h commit 3f92dda428965c5e9f2aa999cce0dfce26b387e1 Author: Paolo Borelli @@ -2075,7 +2075,7 @@ Date: 2010-02-07 plugin-loader.h should not be installed -M gedit/Makefile.am +M pluma/Makefile.am commit 499be52662ba0037a682a2320857b459117df171 Author: Chao-Hsiung Liao @@ -2092,7 +2092,7 @@ Date: 2010-02-06 Create backups for local files. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit bf94719d3c00b7d07faf176d379e06693ac791cd Author: Ignacio Casal Quinteiro @@ -2104,11 +2104,11 @@ Date: 2010-02-06 We are now managing the backup extension with gio and as it is not configurable we just remove that schema and options. -M data/gedit.schemas.in.in -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-prefs-manager.c -M gedit/gedit-prefs-manager.h +M data/pluma.schemas.in.in +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-prefs-manager.c +M pluma/pluma-prefs-manager.h commit 8410a8a0d45d76425b4c662a8ba0c7db5a037de0 Author: Ignacio Casal Quinteiro @@ -2124,10 +2124,10 @@ Date: 2010-02-06 Removed local saver. -M gedit/Makefile.am -M gedit/gedit-document-saver.c -D gedit/gedit-local-document-saver.c -D gedit/gedit-local-document-saver.h +M pluma/Makefile.am +M pluma/pluma-document-saver.c +D pluma/pluma-local-document-saver.c +D pluma/pluma-local-document-saver.h commit ccdde1c46f3ca81c8e4d10bcd9b0b66ee3a2033f Author: Ignacio Casal Quinteiro @@ -2135,7 +2135,7 @@ Date: 2010-02-04 Do not read again if we are still writing. Fixes bug #608986. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 1e50cbf2f2339bdf5f35345939db16a56a838c12 Author: Henrique P. Machado @@ -2151,7 +2151,7 @@ Date: 2010-02-01 Fix content type guess when saving. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 0fd61acf8f18c9be0a009eabba51da92c2240c7b Author: Mattias Põldaru @@ -2167,7 +2167,7 @@ Date: 2010-01-31 Fix bytes written calculation. -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 65c707afe0133772f978bba19f6353cef28161f9 Author: Christian Kirbach @@ -2183,10 +2183,10 @@ Date: 2010-01-30 Minor fix. -M gedit/gedit-window-private.h +M pluma/pluma-window-private.h commit bc2ddd15072e59a9de842d2db11c1d0e23a4fe48 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-01-28 Updated Slovenian translation @@ -2194,7 +2194,7 @@ Date: 2010-01-28 M po/sl.po commit 35ae7b2af3ec645ae79b56c8fbcfaf7a419c14ec -Author: Jorge González +Author: Jorge González Date: 2010-01-27 Updated Spanish translation @@ -2207,7 +2207,7 @@ Date: 2010-01-27 Remove useless define. -M plugins/checkupdate/gedit-check-update-plugin.c +M plugins/checkupdate/pluma-check-update-plugin.c commit de8a90cb45a05c59deff253d292b3c6239b219e9 Author: Ignacio Casal Quinteiro @@ -2216,36 +2216,36 @@ Date: 2010-01-27 Remove useless .sgml files. M configure.ac -D docs/reference/tmpl/gedit-app.sgml -D docs/reference/tmpl/gedit-convert.sgml -D docs/reference/tmpl/gedit-debug.sgml -D docs/reference/tmpl/gedit-document.sgml -D docs/reference/tmpl/gedit-encodings-option-menu.sgml -D docs/reference/tmpl/gedit-encodings.sgml -D docs/reference/tmpl/gedit-file-chooser-dialog.sgml -D docs/reference/tmpl/gedit-help.sgml -D docs/reference/tmpl/gedit-message-area.sgml -D docs/reference/tmpl/gedit-message-bus.sgml -D docs/reference/tmpl/gedit-message-type.sgml -D docs/reference/tmpl/gedit-message.sgml -D docs/reference/tmpl/gedit-metadata-manager.sgml -D docs/reference/tmpl/gedit-notebook.sgml -D docs/reference/tmpl/gedit-page-setup-dialog.sgml -D docs/reference/tmpl/gedit-panel.sgml -D docs/reference/tmpl/gedit-plugin.sgml -D docs/reference/tmpl/gedit-preferences-dialog.sgml -D docs/reference/tmpl/gedit-prefs-manager-app.sgml -D docs/reference/tmpl/gedit-prefs-manager.sgml -D docs/reference/tmpl/gedit-print-job-preview.sgml -D docs/reference/tmpl/gedit-print.sgml -D docs/reference/tmpl/gedit-progress-message-area.sgml -D docs/reference/tmpl/gedit-recent.sgml -D docs/reference/tmpl/gedit-statusbar.sgml -D docs/reference/tmpl/gedit-tab.sgml -D docs/reference/tmpl/gedit-unused.sgml -D docs/reference/tmpl/gedit-utils.sgml -D docs/reference/tmpl/gedit-view.sgml -D docs/reference/tmpl/gedit-window.sgml +D docs/reference/tmpl/pluma-app.sgml +D docs/reference/tmpl/pluma-convert.sgml +D docs/reference/tmpl/pluma-debug.sgml +D docs/reference/tmpl/pluma-document.sgml +D docs/reference/tmpl/pluma-encodings-option-menu.sgml +D docs/reference/tmpl/pluma-encodings.sgml +D docs/reference/tmpl/pluma-file-chooser-dialog.sgml +D docs/reference/tmpl/pluma-help.sgml +D docs/reference/tmpl/pluma-message-area.sgml +D docs/reference/tmpl/pluma-message-bus.sgml +D docs/reference/tmpl/pluma-message-type.sgml +D docs/reference/tmpl/pluma-message.sgml +D docs/reference/tmpl/pluma-metadata-manager.sgml +D docs/reference/tmpl/pluma-notebook.sgml +D docs/reference/tmpl/pluma-page-setup-dialog.sgml +D docs/reference/tmpl/pluma-panel.sgml +D docs/reference/tmpl/pluma-plugin.sgml +D docs/reference/tmpl/pluma-preferences-dialog.sgml +D docs/reference/tmpl/pluma-prefs-manager-app.sgml +D docs/reference/tmpl/pluma-prefs-manager.sgml +D docs/reference/tmpl/pluma-print-job-preview.sgml +D docs/reference/tmpl/pluma-print.sgml +D docs/reference/tmpl/pluma-progress-message-area.sgml +D docs/reference/tmpl/pluma-recent.sgml +D docs/reference/tmpl/pluma-statusbar.sgml +D docs/reference/tmpl/pluma-tab.sgml +D docs/reference/tmpl/pluma-unused.sgml +D docs/reference/tmpl/pluma-utils.sgml +D docs/reference/tmpl/pluma-view.sgml +D docs/reference/tmpl/pluma-window.sgml commit ea225533c493817c99107d00277f4b59104c22bf Author: Ignacio Casal Quinteiro @@ -2254,11 +2254,11 @@ Date: 2010-01-27 Add option to ignore a version until the next is released. M plugins/checkupdate/Makefile.am -M plugins/checkupdate/gedit-check-update-plugin.c -A plugins/checkupdate/gedit-check-update.schemas.in +M plugins/checkupdate/pluma-check-update-plugin.c +A plugins/checkupdate/pluma-check-update.schemas.in commit bfda0544d8c261ff92e3347120237b6b3d124be8 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2010-01-27 Updated Slovenian translation @@ -2306,23 +2306,23 @@ Date: 2010-01-25 M NEWS M README M configure.ac -M docs/reference/tmpl/gedit-app.sgml -M docs/reference/tmpl/gedit-convert.sgml -M docs/reference/tmpl/gedit-debug.sgml -M docs/reference/tmpl/gedit-document.sgml -M docs/reference/tmpl/gedit-encodings-option-menu.sgml -M docs/reference/tmpl/gedit-encodings.sgml -M docs/reference/tmpl/gedit-message-bus.sgml -M docs/reference/tmpl/gedit-message-type.sgml -M docs/reference/tmpl/gedit-metadata-manager.sgml -M docs/reference/tmpl/gedit-notebook.sgml -M docs/reference/tmpl/gedit-prefs-manager-app.sgml -M docs/reference/tmpl/gedit-prefs-manager.sgml -M docs/reference/tmpl/gedit-statusbar.sgml -M docs/reference/tmpl/gedit-unused.sgml +M docs/reference/tmpl/pluma-app.sgml +M docs/reference/tmpl/pluma-convert.sgml +M docs/reference/tmpl/pluma-debug.sgml +M docs/reference/tmpl/pluma-document.sgml +M docs/reference/tmpl/pluma-encodings-option-menu.sgml +M docs/reference/tmpl/pluma-encodings.sgml +M docs/reference/tmpl/pluma-message-bus.sgml +M docs/reference/tmpl/pluma-message-type.sgml +M docs/reference/tmpl/pluma-metadata-manager.sgml +M docs/reference/tmpl/pluma-notebook.sgml +M docs/reference/tmpl/pluma-prefs-manager-app.sgml +M docs/reference/tmpl/pluma-prefs-manager.sgml +M docs/reference/tmpl/pluma-statusbar.sgml +M docs/reference/tmpl/pluma-unused.sgml commit de3db4163e5b0317b2ccba61e5a0e9f1236b6720 -Author: Jorge González +Author: Jorge González Date: 2010-01-25 Updated Spanish translation @@ -2353,7 +2353,7 @@ Date: 2010-01-24 Fix build of docs -M docs/reference/gedit.types +M docs/reference/pluma.types commit feed1357c61a85fa3797f46879548cff9371aea9 Author: Paolo Borelli @@ -2361,8 +2361,8 @@ Date: 2010-01-24 Fix compiler warnings -M gedit/gedit-gio-document-loader.c -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-gio-document-saver.c commit b850859bb60a3ab79ae2f7f4f53b1bb273867bef Author: Ignacio Casal Quinteiro @@ -2370,11 +2370,11 @@ Date: 2010-01-24 Copy the python libs in bin instead of python folder. - This is because gedit for some reason doesn't detects the python + This is because pluma for some reason doesn't detects the python folder as a path dir. -M win32/gedit.iss.in +M win32/pluma.iss.in commit 6daccfafaa46145931d1793ae4f8b8c5cc9d952f Author: Jesse van den Kieboom @@ -2397,7 +2397,7 @@ Date: 2010-01-24 Make SIGALRM timeout for snippets optional SIGALRM is not supported on windows. This makes python/shell - placeholders potentially blocking gedit, but it's better than + placeholders potentially blocking pluma, but it's better than disabling them altogether. @@ -2418,7 +2418,7 @@ Date: 2010-01-24 Use gssize instead of gsize -M gedit/gedit-gio-document-saver.c +M pluma/pluma-gio-document-saver.c commit 71f8afe194c1a6366a20a05f4cc48faa1705449b Author: Paolo Borelli @@ -2434,7 +2434,7 @@ Date: 2010-01-24 Properly handle the case of empty text buffer -M gedit/gedit-document-input-stream.c +M pluma/pluma-document-input-stream.c M tests/document-input-stream.c commit bf8a43bf341551bef753650bd8a43b529285120d @@ -2451,9 +2451,9 @@ Date: 2010-01-24 Add support for python plugins -M gedit/gedit.c +M pluma/pluma.c M win32/build-installer.sh -M win32/gedit.iss.in +M win32/pluma.iss.in commit efc706a1a9a806c66daa99df28c1ae1470ed8c00 Author: Jesse van den Kieboom @@ -2461,7 +2461,7 @@ Date: 2010-01-23 Updated authors in about dialog -M gedit/gedit-commands-help.c +M pluma/pluma-commands-help.c commit 3b4841f72738758a1de56287ce9fcfb8b0a5f3bb Author: Jesse van den Kieboom @@ -2497,29 +2497,29 @@ Date: 2010-01-23 Added line ending configuration in save dialog -M gedit/gedit-commands-file.c -M gedit/gedit-file-chooser-dialog.c -M gedit/gedit-file-chooser-dialog.h -M gedit/gedit-tab.c -M gedit/gedit-tab.h +M pluma/pluma-commands-file.c +M pluma/pluma-file-chooser-dialog.c +M pluma/pluma-file-chooser-dialog.h +M pluma/pluma-tab.c +M pluma/pluma-tab.h commit be71072115d6b78b47683ce8b898bdfdf19c3018 Author: Jesse van den Kieboom Date: 2010-01-23 - Added new GeditDocumentInputStream for doc save + Added new PlumaDocumentInputStream for doc save -M gedit/Makefile.am -A gedit/gedit-document-input-stream.c -A gedit/gedit-document-input-stream.h -M gedit/gedit-document-loader.c -M gedit/gedit-document-loader.h -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-gio-document-loader.c -M gedit/gedit-gio-document-saver.c +M pluma/Makefile.am +A pluma/pluma-document-input-stream.c +A pluma/pluma-document-input-stream.h +M pluma/pluma-document-loader.c +M pluma/pluma-document-loader.h +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-gio-document-loader.c +M pluma/pluma-gio-document-saver.c commit eb0bf10648bcfec7ebcca4453adc431991700d0c Author: Ignacio Casal Quinteiro @@ -2530,7 +2530,7 @@ Date: 2010-01-23 It is used gtk_activatable_set_related_action instead. See bug #562052. -M gedit/gedit-window.c +M pluma/pluma-window.c commit 820ce8820a8db40eca5ca0b63f2d6e3a07416373 Author: Ignacio Casal Quinteiro @@ -2540,13 +2540,13 @@ Date: 2010-01-22 This patch is based on Maxim Ermilov's patch. Fixes bug #562052. -M gedit/Makefile.am -A gedit/gedit-encodings-combo-box.c -A gedit/gedit-encodings-combo-box.h -D gedit/gedit-encodings-option-menu.c -D gedit/gedit-encodings-option-menu.h -M gedit/gedit-file-chooser-dialog.c -M gedit/gedit-io-error-message-area.c +M pluma/Makefile.am +A pluma/pluma-encodings-combo-box.c +A pluma/pluma-encodings-combo-box.h +D pluma/pluma-encodings-option-menu.c +D pluma/pluma-encodings-option-menu.h +M pluma/pluma-file-chooser-dialog.c +M pluma/pluma-io-error-message-area.c commit cd9dcbd6bbdafeff067195e7be2bcfacc4177f2d Author: Jamil Ahmed @@ -2586,10 +2586,10 @@ Date: 2010-01-18 Clear the buffer when loading -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit b6ff30d0320051545157e54f7b7be0afec07a343 -Author: Jorge González +Author: Jorge González Date: 2010-01-18 Updated Spanish translation @@ -2602,7 +2602,7 @@ Date: 2010-01-18 Sync tip text on tab state change -M gedit/gedit-tab-label.c +M pluma/pluma-tab-label.c commit 31b25d0682704ec25387e57b84b3ffd70e47a46f Author: Ignacio Casal Quinteiro @@ -2610,7 +2610,7 @@ Date: 2010-01-17 Remove useless message -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit 24b5c7c6de53d55ace497b962118c59b36eca655 Author: Ignacio Casal Quinteiro @@ -2621,9 +2621,9 @@ Date: 2010-01-17 This error occurs when we try to open a file that doesn't validate or that it is a binary file. -M gedit/gedit-io-error-message-area.c -M gedit/gedit-io-error-message-area.h -M gedit/gedit-tab.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-io-error-message-area.h +M pluma/pluma-tab.c commit 79b17f87c45dbaece78e9bf1e3b44a93c430eacb Author: Ignacio Casal Quinteiro @@ -2635,8 +2635,8 @@ Date: 2010-01-17 some things, like the utf8 fallback in gio and manage the wrong chars by highlighting them. -M gedit/gedit-gio-document-loader.c -M gedit/gedit-smart-charset-converter.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-smart-charset-converter.c commit 634f604d2850bea4dfeb009dcca2d2050fbbcb5d Author: Ignacio Casal Quinteiro @@ -2648,8 +2648,8 @@ Date: 2010-01-14 of non editable view. Also listening to the read-only property in the window to update the sensitivity and the window title. -M gedit/gedit-tab.c -M gedit/gedit-window.c +M pluma/pluma-tab.c +M pluma/pluma-window.c commit 61a8c6f50d09b12f76ad422c9d4f87c503cd190b Author: Jesse van den Kieboom @@ -2657,12 +2657,12 @@ Date: 2010-01-12 Fix smart converter encoding guessing and add test case -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-gio-document-loader.c -M gedit/gedit-io-error-message-area.c -M gedit/gedit-smart-charset-converter.c -M gedit/gedit-tab.c +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-gio-document-loader.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-smart-charset-converter.c +M pluma/pluma-tab.c M tests/smart-converter.c commit b6a28db8047f32e2c33239f4b50bfe6e16b6b030 @@ -2671,8 +2671,8 @@ Date: 2010-01-12 Add test for checking all encodings -M gedit/gedit-gio-document-loader.c -M gedit/gedit-tab.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-tab.c M tests/smart-converter.c commit 3bba738720f3bf2c91ee256d42f982a0bf0f4691 @@ -2681,7 +2681,7 @@ Date: 2010-01-12 Remove encodings that doesn't seem to be recognized by iconv. -M gedit/gedit-encodings.c +M pluma/pluma-encodings.c commit 6a3e2a8ae25b5e2614b52d963690c050a29e744e Author: Ignacio Casal Quinteiro @@ -2689,10 +2689,10 @@ Date: 2010-01-04 Test all utf8 cases. -M gedit/gedit-document.h -M gedit/gedit-gio-document-loader.c -M gedit/gedit-smart-charset-converter.c -M gedit/gedit-smart-charset-converter.h +M pluma/pluma-document.h +M pluma/pluma-gio-document-loader.c +M pluma/pluma-smart-charset-converter.c +M pluma/pluma-smart-charset-converter.h M tests/smart-converter.c commit 6c22c6eb6cb2d3cb94dd4773fe868ecb63b8981c @@ -2701,7 +2701,7 @@ Date: 2010-01-04 When converting from utf8 manage well the return values. -M gedit/gedit-smart-charset-converter.c +M pluma/pluma-smart-charset-converter.c commit 181ff5b9f9793b08824fe9d181e9f6996719f286 Author: Ignacio Casal Quinteiro @@ -2725,7 +2725,7 @@ Date: 2009-12-28 Also use g_converter_convert instead of g_convert for checking the encoding conversion. -M gedit/gedit-smart-charset-converter.c +M pluma/pluma-smart-charset-converter.c commit 4bc2c698f14a3a5420c35bc5edc842df2b481855 Author: Ignacio Casal Quinteiro @@ -2734,15 +2734,15 @@ Date: 2009-12-28 Use new filter streams to load the document. Use the converter and utf8 validator streams to load the document. - Also added GeditSmartCharsetConverter to detect and load the right + Also added PlumaSmartCharsetConverter to detect and load the right encoding. -M gedit/Makefile.am -M gedit/gedit-document-loader.c -M gedit/gedit-document-loader.h -M gedit/gedit-gio-document-loader.c -A gedit/gedit-smart-charset-converter.c -A gedit/gedit-smart-charset-converter.h +M pluma/Makefile.am +M pluma/pluma-document-loader.c +M pluma/pluma-document-loader.h +M pluma/pluma-gio-document-loader.c +A pluma/pluma-smart-charset-converter.c +A pluma/pluma-smart-charset-converter.h commit f3a5a26329c4d4078d39267a2265fffd78211152 Author: Ignacio Casal Quinteiro @@ -2795,14 +2795,14 @@ Date: 2010-01-11 Use gtk_box_pack_start (box, widget, TRUE, TRUE, 0) instead - https://bugzilla.mate.org/show_bug.cgi?id=562052 + https://bugzilla.gnome.org/show_bug.cgi?id=562052 -M gedit/dialogs/gedit-encodings-dialog.c -M gedit/dialogs/gedit-preferences-dialog.c -M gedit/dialogs/gedit-search-dialog.c -M gedit/dialogs/gedit-style-scheme-dialog.c -M plugins/spell/gedit-spell-language-dialog.c -M plugins/time/gedit-time-plugin.c +M pluma/dialogs/pluma-encodings-dialog.c +M pluma/dialogs/pluma-preferences-dialog.c +M pluma/dialogs/pluma-search-dialog.c +M pluma/dialogs/pluma-style-scheme-dialog.c +M plugins/spell/pluma-spell-language-dialog.c +M plugins/time/pluma-time-plugin.c commit 1651ac6548966cca96fd13d834e6b48b64b95961 Author: Daniel Nylander @@ -2824,9 +2824,9 @@ commit 7e8ddfc4d57794337f80bc982a7f0d0493b81910 Author: Ignacio Casal Quinteiro Date: 2010-01-07 - Include gedit-spinner.h if needed. + Include pluma-spinner.h if needed. -M gedit/gedit-tab-label.c +M pluma/pluma-tab-label.c commit 19001b18ccdceff70529b7d5d2a0bf79f50e5212 Author: Paolo Borelli @@ -2834,7 +2834,7 @@ Date: 2010-01-07 Include config.h -M gedit/gedit-tab-label.c +M pluma/pluma-tab-label.c commit 49bb378a434d96255b83b097108a04d553f12c3e Author: Paolo Borelli @@ -2842,10 +2842,10 @@ Date: 2010-01-07 Refactor the tab label in a separate widget -M gedit/Makefile.am -M gedit/gedit-notebook.c -A gedit/gedit-tab-label.c -A gedit/gedit-tab-label.h +M pluma/Makefile.am +M pluma/pluma-notebook.c +A pluma/pluma-tab-label.c +A pluma/pluma-tab-label.h commit 521286069c7a39c014803227db2851f46d841948 Author: Paolo Borelli @@ -2853,7 +2853,7 @@ Date: 2010-01-07 Skip no-spell-check ranges at the start of the doc -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit c03688db8744252e86c8a6fdd21216ef8cfb2d49 Author: Paolo Borelli @@ -2861,7 +2861,7 @@ Date: 2010-01-07 Small refactoring to avoid roundtrip from iter to offset -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 28b7c6249710d9638adc49812af00d9990191aa1 Author: Paolo Borelli @@ -2879,10 +2879,10 @@ Date: 2010-01-07 Rename marshal file in something shorter M plugins/spell/Makefile.am -M plugins/spell/gedit-spell-checker-dialog.c -M plugins/spell/gedit-spell-checker.c -R100 plugins/spell/gedit-spell-checker-dialog-marshal.list -plugins/spell/gedit-spell-marshal.list +M plugins/spell/pluma-spell-checker-dialog.c +M plugins/spell/pluma-spell-checker.c +R100 plugins/spell/pluma-spell-checker-dialog-marshal.list +plugins/spell/pluma-spell-marshal.list commit ea3a3bd357b70967e23a8ef2cc30247e2b57b511 Author: Paolo Borelli @@ -2890,11 +2890,11 @@ Date: 2010-01-07 Refactor close button common code in a simple widget -M gedit/Makefile.am -A gedit/gedit-close-button.c -A gedit/gedit-close-button.h -M gedit/gedit-notebook.c -M gedit/gedit-panel.c +M pluma/Makefile.am +A pluma/pluma-close-button.c +A pluma/pluma-close-button.h +M pluma/pluma-notebook.c +M pluma/pluma-panel.c commit b2233b9b8aa342146e18195a97757ffa97a7e015 Author: Paolo Borelli @@ -2902,9 +2902,9 @@ Date: 2010-01-05 Move util function in the new utils file -M plugins/spell/gedit-spell-checker.c -M plugins/spell/gedit-spell-utils.c -M plugins/spell/gedit-spell-utils.h +M plugins/spell/pluma-spell-checker.c +M plugins/spell/pluma-spell-utils.c +M plugins/spell/pluma-spell-utils.h commit 8d47289952f89e57b8bbccf0a764cef023dfc244 Author: Paolo Borelli @@ -2912,8 +2912,8 @@ Date: 2010-01-05 Cleanup: use gobject macros -M plugins/spell/gedit-spell-checker-dialog.c -M plugins/spell/gedit-spell-checker.c +M plugins/spell/pluma-spell-checker-dialog.c +M plugins/spell/pluma-spell-checker.c commit 5e348935f97ac5f2bd1337f1113d5e6488eabbc3 Author: Paolo Borelli @@ -2921,7 +2921,7 @@ Date: 2010-01-05 Remove deprecated gtk_rc_style_unref -M gedit/gedit-panel.c +M pluma/pluma-panel.c commit cd429311a2e25b0c08a9c54f930f087a4dc9a281 Author: Paolo Borelli @@ -2929,7 +2929,7 @@ Date: 2010-01-05 Remove deprecated gtk_widget_unref and code cleanup -M plugins/filebrowser/gedit-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser-widget.c commit d338ab19bf132cb69ba93663ddb871b9f377196a Author: Maxim V. Dziumanenko @@ -2998,10 +2998,10 @@ Date: 2010-01-03 parts of the file that should not be spell-checked. M plugins/spell/Makefile.am -M plugins/spell/gedit-automatic-spell-checker.c -M plugins/spell/gedit-spell-plugin.c -A plugins/spell/gedit-spell-utils.c -A plugins/spell/gedit-spell-utils.h +M plugins/spell/pluma-automatic-spell-checker.c +M plugins/spell/pluma-spell-plugin.c +A plugins/spell/pluma-spell-utils.c +A plugins/spell/pluma-spell-utils.h commit 412ef504a4d00b046fbb62501f6baa6da5ed2099 Author: Jesse van den Kieboom @@ -3012,8 +3012,8 @@ Date: 2010-01-02 This uses the no-spell-check context class that can be defined in GtkSourceView language files -M plugins/spell/gedit-automatic-spell-checker.c -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-automatic-spell-checker.c +M plugins/spell/pluma-spell-plugin.c commit 096f053d90e42502985b436f98216f1e88afb6eb Author: Ignacio Casal Quinteiro @@ -3065,9 +3065,9 @@ commit 878df0798b3ed5a2ae400dd675e62e445a34c166 Author: Ignacio Casal Quinteiro Date: 2010-01-01 - Bind gedit_document_get_location on python + Bind pluma_document_get_location on python -M plugin-loaders/python/bindings/gedit.defs +M plugin-loaders/python/bindings/pluma.defs commit 097ce3be1e428bbfed3c3b426ae1e523bf40d2de Author: Jesse van den Kieboom @@ -3085,7 +3085,7 @@ Date: 2009-12-31 Added missing include for ige-mac-integration -M gedit/gedit.c +M pluma/pluma.c commit a37101056e1f8a5d19e3d03d3eebd1a083ba5914 Author: Jesse van den Kieboom @@ -3105,10 +3105,10 @@ Date: 2009-12-30 This installs some of the more general text editing key bindings on OSX and overrides some - of the gedit specific bindings such as + of the pluma specific bindings such as interactive-search and delete-line -M osx/gedit.bundle +M osx/pluma.bundle M osx/gtkrc A osx/gtkrc.key.osx @@ -3122,16 +3122,16 @@ Date: 2009-12-30 the correct key bindings because the menu is in the way -M gedit/gedit-window.c -M gedit/gedit.c +M pluma/pluma-window.c +M pluma/pluma.c commit 02c8ad9a0da2c0af15c49725006fecf8d0af29a7 Author: Jesse van den Kieboom Date: 2009-12-30 - Added osx/geditdoc.icns icon + Added osx/plumadoc.icns icon -A osx/geditdoc.icns +A osx/plumadoc.icns commit 13c8241d4c9fdbc39a31e81a1c38ff7d5d06b62b Author: Jesse van den Kieboom @@ -3141,14 +3141,14 @@ Date: 2009-12-30 This now uses the latest updates on the ige-mac-integration library, with additional - patches to make everything work for gedit. This + patches to make everything work for pluma. This requires the ige-mac-integration fork on github/jessevdk. -M gedit/gedit-app.c -M gedit/gedit-window-private.h -M gedit/gedit-window.c -M gedit/gedit-window.h +M pluma/pluma-app.c +M pluma/pluma-window-private.h +M pluma/pluma-window.c +M pluma/pluma-window.h commit 9c5ddd7f784b3a4687ffab9f9b20e6dcf6539699 Author: Jesse van den Kieboom @@ -3158,13 +3158,13 @@ Date: 2009-12-30 This fixes bug #604122 -M osx/gedit.bundle +M osx/pluma.bundle commit 571acaba8c30c2899ea0ae28b80e327ecc9d9d64 Author: Jesse van den Kieboom Date: 2009-12-30 - Override OS X specific keybindings for GeditView + Override OS X specific keybindings for PlumaView M osx/gtkrc @@ -3172,9 +3172,9 @@ commit 85473dee7a90bb92720dc128190c4e62a768a64f Author: Jesse van den Kieboom Date: 2009-12-30 - Include gedit-commands.h fixes compile warning + Include pluma-commands.h fixes compile warning -M gedit/osx/gedit-osx-delegate.m +M pluma/osx/pluma-osx-delegate.m commit 43d348342fb472441fab500138587cdba5b484b5 Author: Marek Černocký @@ -3190,7 +3190,7 @@ Date: 2009-12-29 Do not persist the number of printed copies, bug 546617 -M gedit/gedit-tab.c +M pluma/pluma-tab.c commit 6079c297173cbfff057da71fa51ec2a02b639cc9 Author: Paolo Borelli @@ -3198,7 +3198,7 @@ Date: 2009-12-29 Fix packing options for the encodings combo and misc cleanups -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit c0d7fb64b38f6cdf14fe8d12909e18e80e7bd366 Author: Paolo Borelli @@ -3206,7 +3206,7 @@ Date: 2009-12-28 Scroll the file into view after a rename -M plugins/filebrowser/gedit-file-browser-view.c +M plugins/filebrowser/pluma-file-browser-view.c commit c067e8b6fa59b203d3f7e9874c73433c25ff8fc2 Author: Paolo Borelli @@ -3311,7 +3311,7 @@ Date: 2009-12-01 Remember if the autospell was enabled per document. Fixes bug #451042. -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit ffdf6ca388a851cbc7d5f3f610c5844c5934c06b Author: Jesse van den Kieboom @@ -3343,9 +3343,9 @@ commit 92cf8ae6e3886b7989710d18fd67dde53b04f11f Author: Jesse van den Kieboom Date: 2009-11-30 - Make gedit-metadata-manager conditional on win32 + Make pluma-metadata-manager conditional on win32 -M gedit/Makefile.am +M pluma/Makefile.am commit e74cf81356f6ecb31a6b280c609a27fad9d36c44 Author: Ignacio Casal Quinteiro @@ -3353,7 +3353,7 @@ Date: 2009-11-30 Do not use specific code for win32 with the new api. -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit ce9b0167f956a73b0ebc3733ead52fa3d3a24ec9 Author: Ignacio Casal Quinteiro @@ -3365,9 +3365,9 @@ Date: 2009-11-30 so it is useless having an api with GFileInfo if at the end we need to store and manage strings. -M gedit/gedit-document.c -M gedit/gedit-document.h -M plugins/spell/gedit-spell-plugin.c +M pluma/pluma-document.c +M pluma/pluma-document.h +M plugins/spell/pluma-spell-plugin.c commit 8b4e5afeed9ad2edbb005897965b5c4c3aaed28b Author: Ignacio Casal Quinteiro @@ -3378,7 +3378,7 @@ Date: 2009-11-30 Do not return NULL if the internal metadata is NULL because we can save the document and set the attributes after that. -M gedit/gedit-document.c +M pluma/pluma-document.c commit a14fbfa10a400f3c69480265c1818e3199e8ce9d Author: Ignacio Casal Quinteiro @@ -3386,7 +3386,7 @@ Date: 2009-11-30 Do not apply attributes if the internal info doesn't exists -M gedit/gedit-document.c +M pluma/pluma-document.c commit 91cc070c0b46049badcd8db4fff304caba3b2994 Author: Ignacio Casal Quinteiro @@ -3397,7 +3397,7 @@ Date: 2009-11-29 Use the new api to get the metadata and to store, and let the old system for win32. -M plugins/spell/gedit-spell-plugin.c +M plugins/spell/pluma-spell-plugin.c commit 0841034bea17313037367aabd25df9da06d0bb70 Author: Ignacio Casal Quinteiro @@ -3405,7 +3405,7 @@ Date: 2009-11-29 Check for the language and the variant not just the language. -M plugins/spell/gedit-spell-checker-language.c +M plugins/spell/pluma-spell-checker-language.c commit 3da295b5c2531b6f17ce0cdc7e733cd6fc7bcc67 Author: Ignacio Casal Quinteiro @@ -3413,16 +3413,16 @@ Date: 2009-11-29 Return a copy of the info if not NULL. -M gedit/gedit-document.c +M pluma/pluma-document.c commit f6418bc80214999584d82ac1a493afbb8d7020e9 Author: Ignacio Casal Quinteiro Date: 2009-11-29 - Added gedit_document_(set_metadata|get_metadata) API. + Added pluma_document_(set_metadata|get_metadata) API. -M gedit/gedit-document.c -M gedit/gedit-document.h +M pluma/pluma-document.c +M pluma/pluma-document.h commit 75c8fc566f0b7f7cd2af490261c596aa6bb20b94 Author: Ignacio Casal Quinteiro @@ -3434,11 +3434,11 @@ Date: 2009-11-28 is used only in win32. -M gedit/gedit-document-loader.c -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-gio-document-loader.c -M gedit/gedit.c +M pluma/pluma-document-loader.c +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-gio-document-loader.c +M pluma/pluma.c commit 35b9f703aa55818b2f5cdf16272c93903fd1ad4c Author: Jesse van den Kieboom @@ -3454,7 +3454,7 @@ Date: 2009-11-28 improve set_content_type -M gedit/gedit-document.c +M pluma/pluma-document.c commit 8966ff837feebf0e647293114c5876c358e861df Author: Paolo Borelli @@ -3462,7 +3462,7 @@ Date: 2009-11-28 cleanup: move fieldset at the end of the struct -M gedit/gedit-document.c +M pluma/pluma-document.c commit 6f9d6b6c1c1a4f274c2e9bba48695a0e9a8500f8 Author: Paolo Borelli @@ -3470,8 +3470,8 @@ Date: 2009-11-28 small refactoring in guess_language -M gedit/gedit-document-loader.c -M gedit/gedit-document.c +M pluma/pluma-document-loader.c +M pluma/pluma-document.c commit aa31051492c1da7e591d166548c423c71ebab64d Author: Ignacio Casal Quinteiro @@ -3479,7 +3479,7 @@ Date: 2009-11-27 Minor fix. -M gedit/gedit-document-loader.c +M pluma/pluma-document-loader.c commit c7426294df11ca7425dde38c69ecf4d446e8e77d Author: Paolo Borelli @@ -3487,8 +3487,8 @@ Date: 2009-11-26 Small refactoring about getting the encoding from metadata -M gedit/gedit-document-loader.c -M gedit/gedit-document-loader.h +M pluma/pluma-document-loader.c +M pluma/pluma-document-loader.h commit c09638a5b73d4d7903cc9c38c773ccd0e5eb64ca Author: Ignacio Casal Quinteiro @@ -3496,11 +3496,11 @@ Date: 2009-11-26 Use GTimeVal instead of time_t. -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-document.c -M gedit/gedit-gio-document-saver.c -M gedit/gedit-local-document-saver.c +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-document.c +M pluma/pluma-gio-document-saver.c +M pluma/pluma-local-document-saver.c commit ac611f9a394fd7755e43b6bd0171f36aa62be1bd Author: Ignacio Casal Quinteiro @@ -3510,11 +3510,11 @@ Date: 2009-11-25 Removed get_mtime and get_content_type. -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-document.c -M gedit/gedit-gio-document-saver.c -M gedit/gedit-local-document-saver.c +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-document.c +M pluma/pluma-gio-document-saver.c +M pluma/pluma-local-document-saver.c commit 4bb0acc263872e63ed9f2f948df0999a573d8ce3 Author: Ignacio Casal Quinteiro @@ -3525,10 +3525,10 @@ Date: 2009-11-24 Removed get_readonly, get_mtime, get_content_type and get_file_size. Instead of that we use GFileInfo which save us quite amount of code. -M gedit/gedit-document-loader.c -M gedit/gedit-document-loader.h -M gedit/gedit-document.c -M gedit/gedit-gio-document-loader.c +M pluma/pluma-document-loader.c +M pluma/pluma-document-loader.h +M pluma/pluma-document.c +M pluma/pluma-gio-document-loader.c commit 52b74300e7b9697d721479cb190708bc9f1a1c76 Author: Nikos Charonitakis @@ -3544,11 +3544,11 @@ Date: 2009-11-23 Forze to guess again the content type when setting the uri. - gedit_document_set_uri is used normally to rename a file so if the + pluma_document_set_uri is used normally to rename a file so if the user changed the extension of the file we need to guess again the content type. -M gedit/gedit-document.c +M pluma/pluma-document.c commit ac74d0e326887818ad0a4f3ad4835383c078c8c8 Author: Ignacio Casal Quinteiro @@ -3559,7 +3559,7 @@ Date: 2009-11-23 Now to set the language we listen to the content-type property instead of setting the language directly on set_content_type. -M gedit/gedit-document.c +M pluma/pluma-document.c commit 2544cf20ded09aacea29975698d4c4413665f543 Author: Ignacio Casal Quinteiro @@ -3567,7 +3567,7 @@ Date: 2009-11-23 Split set_uri into set_uri and set_content_type -M gedit/gedit-document.c +M pluma/pluma-document.c commit fbfc5d694be9c453a051c7218996f5af6d985551 Author: Ignacio Casal Quinteiro @@ -3576,7 +3576,7 @@ Date: 2009-11-22 Use specific check for sigaction. M configure.ac -M plugin-loaders/python/gedit-plugin-loader-python.c +M plugin-loaders/python/pluma-plugin-loader-python.c commit 03def963fd345c4a16705ceb4eec774a12197c46 Author: Ignacio Casal Quinteiro @@ -3585,7 +3585,7 @@ Date: 2009-11-20 Fix things to make work python plugins on win32. M configure.ac -M plugin-loaders/python/gedit-plugin-loader-python.c +M plugin-loaders/python/pluma-plugin-loader-python.c M plugins/quickopen/quickopen/windowhelper.py commit 6bab43e7424cfdda8ead9d1c6d0bff7d3a0722df @@ -3594,7 +3594,7 @@ Date: 2009-11-20 Fix refcounting error in doc.get_search_text -M plugin-loaders/python/bindings/gedit.override +M plugin-loaders/python/bindings/pluma.override commit 5b118a9cbd778d9c5ca1bd61f0042f8ba2018906 Author: Ignacio Casal Quinteiro @@ -3620,7 +3620,7 @@ Date: 2009-11-15 Fix single click behavior when item is selected for file browser view -M plugins/filebrowser/gedit-file-browser-view.c +M plugins/filebrowser/pluma-file-browser-view.c commit c4521d9d5369c0962828071ba71a746a63220dc2 Author: Travis Fickett @@ -3630,7 +3630,7 @@ Date: 2009-10-22 This fixes bug #598212 -M plugins/filebrowser/gedit-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser-widget.c commit 1508a28c4e35bea3a0f7a8749e04a0ec663f75e2 Author: Jesse van den Kieboom @@ -3638,7 +3638,7 @@ Date: 2009-11-15 Order hidden files after normal files (fixes bug #599949) -M plugins/filebrowser/gedit-file-browser-store.c +M plugins/filebrowser/pluma-file-browser-store.c commit df5198ce377f136bbe7d1cce480463d06cf50e56 Author: Jesse van den Kieboom @@ -3659,9 +3659,9 @@ Date: 2009-11-15 M configure.ac M plugins/Makefile.am D plugins/indent/Makefile.am -D plugins/indent/gedit-indent-plugin.c -D plugins/indent/gedit-indent-plugin.h -D plugins/indent/indent.gedit-plugin.desktop.in +D plugins/indent/pluma-indent-plugin.c +D plugins/indent/pluma-indent-plugin.h +D plugins/indent/indent.pluma-plugin.desktop.in M po/POTFILES.in commit 536cb579f3df8ea2f4c16b325f10c1a289d6c3a4 @@ -3690,9 +3690,9 @@ Date: 2009-11-15 since it will then close the window (but not the app) OS X style -M gedit/gedit-ui.h -M gedit/gedit-window-private.h -M gedit/gedit-window.c +M pluma/pluma-ui.h +M pluma/pluma-window-private.h +M pluma/pluma-window.c commit 2444313995d60433142f376c52be629a3a72bb09 Author: Jesse van den Kieboom @@ -3736,7 +3736,7 @@ M plugins/snippets/data/lang/snippets.lang M po/POTFILES.in commit 571a23ea239311071784af280f00e6b3aa8bd865 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2009-11-13 Updated Slovenian translation @@ -3769,7 +3769,7 @@ Date: 2009-11-12 cygwin ports maintainer. M configure.ac -M gedit/Makefile.am +M pluma/Makefile.am commit 0cb60d62903de0419abfd5656e7cb4934e27c6c8 Author: Jesse van den Kieboom @@ -3782,11 +3782,11 @@ Date: 2009-11-11 sensitivity of the FileClose action on OS X is now handled more correctly. -M gedit/gedit-ui.h -M gedit/gedit-window.c +M pluma/pluma-ui.h +M pluma/pluma-window.c commit 59e695e7559e549736a09e6d347d114773a0337a -Author: Jorge González +Author: Jorge González Date: 2009-11-10 Updated Spanish translation @@ -3806,7 +3806,7 @@ commit a50d7e09808519316d13c5cd4178d998db72bc84 Author: Jesse van den Kieboom Date: 2009-11-09 - Added gedit/gedit-app.c to POTFILES.in + Added pluma/pluma-app.c to POTFILES.in New translation for OS X about menu item @@ -3830,7 +3830,7 @@ Date: 2009-11-09 and as such has been reverted. It would still be nice to support different default fonts on different OSes somehow. -M data/gedit.schemas.in.in +M data/pluma.schemas.in.in commit 0701efd980edb0faef212ae17b10cbf61ce72d72 Author: Jesse van den Kieboom @@ -3854,15 +3854,15 @@ Date: 2009-11-08 Show new version number in update message -M plugins/checkupdate/gedit-check-update-plugin.c +M plugins/checkupdate/pluma-check-update-plugin.c commit 9b79f08b726fb9207b61ef12fa47bed01c9ed8d4 Author: Jesse van den Kieboom Date: 2009-11-08 - Use gedit_osx_show_url on OS X for update plugin + Use pluma_osx_show_url on OS X for update plugin -M plugins/checkupdate/gedit-check-update-plugin.c +M plugins/checkupdate/pluma-check-update-plugin.c commit cb858c90295475a81c9f3f5919bb3e2d10ee313a Author: Jesse van den Kieboom @@ -3870,7 +3870,7 @@ Date: 2009-11-08 Update urls switched for OS X and windows -M plugins/checkupdate/gedit-check-update-plugin.c +M plugins/checkupdate/pluma-check-update-plugin.c commit 6f113b5a97dcd19f1efa8d0b675200f063f84c66 Author: Jesse van den Kieboom @@ -3881,14 +3881,14 @@ Date: 2009-11-08 This fixes bug #585503 and #585506 M configure.ac -M gedit/gedit.c -M gedit/osx/Makefile.am -A gedit/osx/gedit-osx-delegate.h -A gedit/osx/gedit-osx-delegate.m -M gedit/osx/gedit-osx.c -M gedit/osx/gedit-osx.h +M pluma/pluma.c +M pluma/osx/Makefile.am +A pluma/osx/pluma-osx-delegate.h +A pluma/osx/pluma-osx-delegate.m +M pluma/osx/pluma-osx.c +M pluma/osx/pluma-osx.h M osx/Info.plist -M osx/gedit.bundle +M osx/pluma.bundle M osx/launcher.sh commit ac7c673db9be3f1307a057f2194c7ba97767e6df @@ -3905,7 +3905,7 @@ Date: 2009-11-08 Use elif and fix get_locale_dir func. -M gedit/gedit-dirs.c +M pluma/pluma-dirs.c commit be77564a70f8966ba7140e4a133e6512689912cc Author: Jesse van den Kieboom @@ -3913,24 +3913,24 @@ Date: 2009-11-08 Fixed OS X native vs X11 built - At some point gedit was fixed for the native + At some point pluma was fixed for the native built which broke the non-native X11 built. This - patch fixes that problem so that gedit is now + patch fixes that problem so that pluma is now able to built in X11 mode on OS X again. See also bug #567464 M Makefile.am M configure.ac -M gedit/Makefile.am -M gedit/gedit-app.c -M gedit/gedit-commands-file.c -M gedit/gedit-dirs.c -M gedit/gedit-help.c -M gedit/gedit-ui.h -M gedit/gedit-window.c -M gedit/gedit.c -M gedit/osx/Makefile.am -M gedit/smclient/Makefile.am +M pluma/Makefile.am +M pluma/pluma-app.c +M pluma/pluma-commands-file.c +M pluma/pluma-dirs.c +M pluma/pluma-help.c +M pluma/pluma-ui.h +M pluma/pluma-window.c +M pluma/pluma.c +M pluma/osx/Makefile.am +M pluma/smclient/Makefile.am commit 5e764a41f4ddc174e29b0c7d1dfc8875b3cdedfa Author: Jesse van den Kieboom @@ -3939,26 +3939,26 @@ Date: 2009-06-11 Basic mac OS X integration (menu, dock, bundle) M configure.ac -M data/gedit.schemas.in.in -M gedit/Makefile.am -M gedit/gedit-app.c -M gedit/gedit-commands-file.c -M gedit/gedit-dirs.c -M gedit/gedit-help.c -M gedit/gedit-prefs-manager.h -M gedit/gedit-ui.h -M gedit/gedit-window-private.h -M gedit/gedit-window.c -M gedit/gedit-window.h -M gedit/gedit.c -A gedit/osx/Makefile.am -A gedit/osx/gedit-osx.c -A gedit/osx/gedit-osx.h +M data/pluma.schemas.in.in +M pluma/Makefile.am +M pluma/pluma-app.c +M pluma/pluma-commands-file.c +M pluma/pluma-dirs.c +M pluma/pluma-help.c +M pluma/pluma-prefs-manager.h +M pluma/pluma-ui.h +M pluma/pluma-window-private.h +M pluma/pluma-window.c +M pluma/pluma-window.h +M pluma/pluma.c +A pluma/osx/Makefile.am +A pluma/osx/pluma-osx.c +A pluma/osx/pluma-osx.h A osx/Info.plist A osx/dmg-data/background.png A osx/dmg-data/background.svg -A osx/gedit.bundle -A osx/gedit.icns +A osx/pluma.bundle +A osx/pluma.icns A osx/gtkrc A osx/launcher.sh A osx/makebundle.sh @@ -4001,7 +4001,7 @@ Date: 2009-11-07 M plugins/externaltools/tools/capture.py commit a2c89442a82b8c36ee6da2a9dcdb4772a4b28984 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2009-11-06 Updated Slovenian translation @@ -4028,7 +4028,7 @@ commit 52d3f683657e5d83d929226b83a0b9f5dbdd1850 Author: Steve Frécinaux Date: 2009-11-04 - Really fix the build when using GeditSpinner. + Really fix the build when using PlumaSpinner. M configure.ac @@ -4064,18 +4064,18 @@ Date: 2009-11-02 Use only icon in the toolbar in windows M configure.ac -M data/gedit.schemas.in.in +M data/pluma.schemas.in.in commit 3bc74f2501b434dcd6dcd0e0ae1edf93ac5124b9 Author: Steve Frécinaux Date: 2009-11-01 - Fix the use of GeditSpinner with gtk+ < 2.19.0 + Fix the use of PlumaSpinner with gtk+ < 2.19.0 M configure.ac commit 074c2af20a740cb41a2c9a42054cceab9a136293 -Author: Jorge González +Author: Jorge González Date: 2009-10-29 Updated Spanish translation @@ -4086,11 +4086,11 @@ commit 3edb6ad18e6943c9fd22fdaa3675b77cc3fac30a Author: Ignacio Casal Quinteiro Date: 2009-10-29 - Use GtkSpinner instead of GeditSpinner with gtk+ >= 2.19.0 + Use GtkSpinner instead of PlumaSpinner with gtk+ >= 2.19.0 M configure.ac -M gedit/Makefile.am -M gedit/gedit-notebook.c +M pluma/Makefile.am +M pluma/pluma-notebook.c commit a71e729b9e6185e4023f918e9b847cf492051c8d Author: Ignacio Casal Quinteiro @@ -4106,8 +4106,8 @@ Date: 2009-10-28 Remove markup from labels. (Fixes bug #99659) -M gedit/dialogs/gedit-preferences-dialog.ui -M gedit/gedit-print-preferences.ui +M pluma/dialogs/pluma-preferences-dialog.ui +M pluma/pluma-print-preferences.ui commit 1595ed24113cdcec46964392c409d839a6a59983 Author: Jesse van den Kieboom @@ -4115,7 +4115,7 @@ Date: 2009-10-25 Remove tab-removed handler on modeline plugin deactivation -M plugins/modelines/gedit-modeline-plugin.c +M plugins/modelines/pluma-modeline-plugin.c commit 10983628102563062e36e26cc111a8c30c198608 Author: Peteris Krisjanis @@ -4176,8 +4176,8 @@ Date: 2009-10-15 This should fix bug #598082 -M gedit/gedit-tab.c -M gedit/gedit-view.c +M pluma/pluma-tab.c +M pluma/pluma-view.c commit 6f35998c4d6cf5dad783874c63d8931ba3c1aa39 Author: Richard Ma @@ -4191,7 +4191,7 @@ commit 191a62cdc4901b8f4516b7fecc4d0caa45ff3196 Author: Jesse van den Kieboom Date: 2009-10-11 - Check if toplevel is gedit.Window for uri environment variables + Check if toplevel is pluma.Window for uri environment variables Snippets are also enabled in the snippets configure dialog in which cases @@ -4263,7 +4263,7 @@ commit 0abb274e1975b27d6c83605165141e29b21460b3 Author: Jesse van den Kieboom Date: 2009-10-11 - Override setattr/getattr for gedit.Message to return message values + Override setattr/getattr for pluma.Message to return message values By default, an attribute is now looked up in the message first before calling the default attribute handlers of python. This makes the @@ -4271,31 +4271,31 @@ Date: 2009-10-11 API a bit more pythonic (you can do message. instead of message.get_value()). -M plugin-loaders/python/bindings/geditmessage.override +M plugin-loaders/python/bindings/plumamessage.override commit b27623436fc739b2da8380a6c1bc1b91adf6d339 Author: Jesse van den Kieboom Date: 2009-10-11 - Correct message value setter call in gedit.MessageType.instantiate + Correct message value setter call in pluma.MessageType.instantiate The wrong function was called for the 'instantiate' function of - gedit.MessageType in the custom python bindings for this function. + pluma.MessageType in the custom python bindings for this function. -M plugin-loaders/python/bindings/geditmessage.override +M plugin-loaders/python/bindings/plumamessage.override commit 0f2bcad2474b95eecaf1e2c4c4c873fe94d5770a Author: Jesse van den Kieboom Date: 2009-10-11 - Bind gedit_document_set_uri in python + Bind pluma_document_set_uri in python Signed-off-by: Jesse van den Kieboom -M plugin-loaders/python/bindings/gedit.defs +M plugin-loaders/python/bindings/pluma.defs commit b1206536834cfadbe3fb69dbc3443525b4691bc1 -Author: Denis ARNAUD +Author: Denis ARNAUD Date: 2009-10-05 Updated breton translation @@ -4333,7 +4333,7 @@ Date: 2009-09-24 M po/ca.po commit d60e215b303a863923ef4e0626295835b3afa947 -Author: Matej Urbančič +Author: Matej Urbančič Date: 2009-09-22 Updated Slovenian translation @@ -4467,7 +4467,7 @@ Date: 2009-09-16 M po/gl.po commit 86f0b8c903f1553649fe81e2c7e9e1c815c1470d -Author: Matej Urbančič +Author: Matej Urbančič Date: 2009-09-16 Updated Slovenian translation @@ -4520,7 +4520,7 @@ Date: 2009-09-14 Fixed capitalisation of X-MATE-FullName key. -M data/gedit.desktop.in.in +M data/pluma.desktop.in.in commit 5b869e23ca1f60a31acc8c06cfd943077cc46648 Author: Kjartan Maraas @@ -4552,7 +4552,7 @@ Date: 2009-09-13 Avoid warning on win32 -M plugins/taglist/gedit-taglist-plugin-parser.c +M plugins/taglist/pluma-taglist-plugin-parser.c commit 1fddf50e1d62422d482e4d694b0fd6b9850456e2 Author: Ask H. Larsen @@ -4572,7 +4572,7 @@ Date: 2009-09-13 paths and they are easier to maintain. M win32/build-installer -M win32/gedit.iss.in +M win32/pluma.iss.in commit addaff8fbcb7a1c5a87ecf6a9be87bafd081d684 Author: Philip Withnall @@ -4588,7 +4588,7 @@ Date: 2009-09-12 Be more paranoid about a case that should never happen... -M plugins/modelines/gedit-modeline-plugin.c +M plugins/modelines/pluma-modeline-plugin.c commit 8c124f0b49e4d59d725fe9a0e9c1dc14f3ff9955 Author: Tommi Vainikainen @@ -4625,7 +4625,7 @@ Date: 2009-09-12 M po/ml.po commit ef4760261a390a27ac6c27929f606d1da8ba41a3 -Author: Miloš Popović +Author: Miloš Popović Date: 2009-09-11 Updated Serbian translation @@ -4666,7 +4666,7 @@ Date: 2009-09-09 M po/mr.po commit f6ae08cfcf094342a55d087d057c3828d080fdca -Author: Denis ARNAUD +Author: Denis ARNAUD Date: 2009-09-09 Updated breton translation @@ -4687,7 +4687,7 @@ Date: 2009-09-08 Reserve memory to avoid memory corruptions -M gedit/gedit-document.c +M pluma/pluma-document.c commit 03b602d39589d45fad851823cf17ef0c48174c4f Author: Sweta Kothari @@ -4729,7 +4729,7 @@ Date: 2009-09-07 Change ifdef condition -M gedit/gedit.c +M pluma/pluma.c commit 2997ceca2c56b1eeca0ecb6269dfce979c66d779 Author: Paolo Borelli @@ -4737,12 +4737,12 @@ Date: 2009-09-07 Misc cleanups pointed out by clang static analyzer -M gedit/gedit-commands-search.c -M gedit/gedit-panel.c -M plugins/filebrowser/gedit-file-browser-plugin.c -M plugins/filebrowser/gedit-file-browser-store.c -M plugins/spell/gedit-spell-plugin.c -M plugins/time/gedit-time-plugin.c +M pluma/pluma-commands-search.c +M pluma/pluma-panel.c +M plugins/filebrowser/pluma-file-browser-plugin.c +M plugins/filebrowser/pluma-file-browser-store.c +M plugins/spell/pluma-spell-plugin.c +M plugins/time/pluma-time-plugin.c commit 2643f28eef2ebd3f3f7abf3e8577d11749882d78 Author: Inaki Larranaga Murgoitio @@ -4809,7 +4809,7 @@ Date: 2009-09-05 M po/de.po commit 4e9e3f6afb87589a9f8aa04ce48ce67996abd073 -Author: Jorge González +Author: Jorge González Date: 2009-09-05 Updated Spanish translation @@ -4854,10 +4854,10 @@ Date: 2009-09-04 Add missing string in desktop file. - I had to add "gedit Text Editor" so it can be shown in the + I had to add "pluma Text Editor" so it can be shown in the menu. (Fixes bug 590180) -M data/gedit.desktop.in.in +M data/pluma.desktop.in.in commit 06469f8fe5e4f4087e30110dd1ddae8a6c1dc761 Author: Inaki Larranaga Murgoitio @@ -4878,7 +4878,7 @@ Date: 2009-09-02 M po/pt_BR.po commit 4a4c81b15704c2e12e21a8b48a0d4e5eec0d958c -Author: Rodrigo L. M. Flores +Author: Rodrigo L. M. Flores Date: 2009-09-01 Updated Brazilian Portuguese doc translation. @@ -4927,24 +4927,24 @@ Date: 2009-08-31 there is not API in GTK+ yet -M gedit/dialogs/gedit-close-confirmation-dialog.c -M gedit/dialogs/gedit-encodings-dialog.c -M gedit/dialogs/gedit-preferences-dialog.c -M gedit/dialogs/gedit-search-dialog.c -M gedit/gedit-encodings-option-menu.c -M gedit/gedit-notebook.c -M gedit/gedit-plugins-engine.c -M gedit/gedit-print-preview.c -M gedit/gedit-statusbar.c -M gedit/gedit-utils.c -M gedit/gedit-window.c -M gedit/gedit.c -M plugins/filebrowser/gedit-file-browser-view.c -M plugins/filebrowser/gedit-file-browser-widget.c -M plugins/spell/gedit-automatic-spell-checker.c -M plugins/spell/gedit-spell-checker-dialog.c -M plugins/spell/gedit-spell-language-dialog.c -M plugins/time/gedit-time-plugin.c +M pluma/dialogs/pluma-close-confirmation-dialog.c +M pluma/dialogs/pluma-encodings-dialog.c +M pluma/dialogs/pluma-preferences-dialog.c +M pluma/dialogs/pluma-search-dialog.c +M pluma/pluma-encodings-option-menu.c +M pluma/pluma-notebook.c +M pluma/pluma-plugins-engine.c +M pluma/pluma-print-preview.c +M pluma/pluma-statusbar.c +M pluma/pluma-utils.c +M pluma/pluma-window.c +M pluma/pluma.c +M plugins/filebrowser/pluma-file-browser-view.c +M plugins/filebrowser/pluma-file-browser-widget.c +M plugins/spell/pluma-automatic-spell-checker.c +M plugins/spell/pluma-spell-checker-dialog.c +M plugins/spell/pluma-spell-language-dialog.c +M plugins/time/pluma-time-plugin.c commit 49ef7fd965970766e7cc291b4aeab66dc4238e5e Author: Claude Paroz @@ -4955,7 +4955,7 @@ Date: 2009-08-31 M po/fr.po commit 2e74d77b63c4c35befc50ab6b0613757293344fb -Author: Jorge González +Author: Jorge González Date: 2009-08-31 Updated Spanish translation @@ -4995,7 +4995,7 @@ Date: 2009-08-31 Fixed access keys for "Edit Anyway" and "Don't Edit" (Fixes bug #346844) -M gedit/gedit-io-error-message-area.c +M pluma/pluma-io-error-message-area.c commit d96d86ee2d01ab7b53a8ce581eb01cca0e36f76b Author: Runa Bhattacharjee @@ -5014,7 +5014,7 @@ Date: 2009-08-31 M po/gu.po commit f4a9365dec2ea45be701ab5ea80feb3f157727a8 -Author: Denis Arnaud +Author: Denis Arnaud Date: 2009-08-31 Updated breton translation @@ -5089,7 +5089,7 @@ M po/zh_HK.po M po/zh_TW.po commit 1f018dc0afabc8dec309eee5fead8fe93d9483c6 -Author: Miloš Popović +Author: Miloš Popović Date: 2009-08-29 Updated Serbian translation @@ -5106,7 +5106,7 @@ Date: 2009-08-28 M po/fr.po commit a277a7264b993ff89b7ec49f4ae8e2794cd0e035 -Author: Denis Arnaud +Author: Denis Arnaud Date: 2009-08-27 Updated breton translation @@ -5169,9 +5169,9 @@ Date: 2009-08-24 Persist page-setup when using the embedded page setup. -M gedit/gedit-print-job.c -M gedit/gedit-print-job.h -M gedit/gedit-tab.c +M pluma/pluma-print-job.c +M pluma/pluma-print-job.h +M pluma/pluma-tab.c commit cd4fd8aec6620f06407a3a96c216df7c259f806f Author: Jani Monoses @@ -5205,10 +5205,10 @@ Date: 2009-08-24 Remove sexy-icon-entry and bump gtk+ to 2.16.0 M configure.ac -M gedit/Makefile.am -M gedit/gedit-view.c -D gedit/sexy-icon-entry.c -D gedit/sexy-icon-entry.h +M pluma/Makefile.am +M pluma/pluma-view.c +D pluma/sexy-icon-entry.c +D pluma/sexy-icon-entry.h commit d537c157fd93cdbab3016cc2d5d3fcfe0346d923 Author: Paolo Borelli @@ -5216,7 +5216,7 @@ Date: 2009-08-24 Fix print preview fit-to-page in landscape mode -M gedit/gedit-print-preview.c +M pluma/pluma-print-preview.c commit 0a627837b5870469793430ae0c25b572a460279e Author: Ivar Smolin @@ -5227,7 +5227,7 @@ Date: 2009-08-24 M po/et.po commit f46bc72f359ffa66172a6be2cbe904749dde7f6a -Author: Denis Arnaud +Author: Denis Arnaud Date: 2009-08-24 Updated breton translation @@ -5235,7 +5235,7 @@ Date: 2009-08-24 M po/br.po commit 8c9b1a1f231ef3c29a8b29f40db84170fe8f286a -Author: Denis Arnaud +Author: Denis Arnaud Date: 2009-08-24 Updated breton translation @@ -5243,7 +5243,7 @@ Date: 2009-08-24 M po/br.po commit 66a209d072d154c8764b46888f8e817a8d174434 -Author: Denis Arnaud +Author: Denis Arnaud Date: 2009-08-24 Updated breton translation @@ -5259,7 +5259,7 @@ Date: 2009-08-23 M help/sv/sv.po commit 24cc95a5bb96438ed087b1f950c41382f258fa7d -Author: Jorge González +Author: Jorge González Date: 2009-08-23 Updated Spanish translation @@ -5280,7 +5280,7 @@ Date: 2009-08-22 Fix .desktop file (MateBug:590180) -M data/gedit.desktop.in.in +M data/pluma.desktop.in.in commit 9c95fbdb630b978d3fd503b19e60c6ca0bb202d5 Author: Paolo Borelli @@ -5288,7 +5288,7 @@ Date: 2009-08-22 Update smclient from libegg -M gedit/smclient/eggsmclient-osx.c +M pluma/smclient/eggsmclient-osx.c commit b9b5264242b7e668f15e82e385fa356b15b6da71 Author: Ignacio Casal Quinteiro @@ -5296,7 +5296,7 @@ Date: 2009-08-22 Print the invalid encoding error always in the client. -M gedit/gedit.c +M pluma/pluma.c commit 80a4a6e4b37b5b789e168a8f0a0d807eb8b62408 Author: Ignacio Casal Quinteiro @@ -5309,7 +5309,7 @@ Date: 2009-08-22 opened file and fixed some memory leaks too. Fixes bug #436227. -M gedit/gedit.c +M pluma/pluma.c commit 7f5aac9ec3b74a4f0a3d02ac5d171001fb88c6b7 Author: Robert L Toscano @@ -5321,7 +5321,7 @@ Date: 2009-08-12 selected which would be needed in executing context menu items. -M plugins/filebrowser/gedit-file-browser-messages.c +M plugins/filebrowser/pluma-file-browser-messages.c commit aaaaf161d18bd0fd18e262110a11e6b9546fb8a7 Author: Akom C @@ -5357,7 +5357,7 @@ Date: 2009-08-19 value, not according to the current view. Bug #576090. -M gedit/gedit-print-job.c +M pluma/pluma-print-job.c commit e88d76c474edaebd344dec959e0bd7bc8b3164d6 Author: Paolo Borelli @@ -5365,17 +5365,17 @@ Date: 2009-08-19 Fix some GCC warnings -M gedit/gedit-debug.c -M gedit/gedit-encodings.c -M gedit/gedit-gio-document-saver.c -M gedit/gedit-history-entry.c -M gedit/gedit-metadata-manager.c -M gedit/gedit-panel.c -M gedit/gedit-prefs-manager-app.c -M gedit/gedit-prefs-manager.c -M gedit/gedit-session.c -M gedit/gedit-view.c -M gedit/gedit-window.c +M pluma/pluma-debug.c +M pluma/pluma-encodings.c +M pluma/pluma-gio-document-saver.c +M pluma/pluma-history-entry.c +M pluma/pluma-metadata-manager.c +M pluma/pluma-panel.c +M pluma/pluma-prefs-manager-app.c +M pluma/pluma-prefs-manager.c +M pluma/pluma-session.c +M pluma/pluma-view.c +M pluma/pluma-window.c commit dab36a10bf3a898cfa8097a2f17c9bcb0410f40b Author: Paolo Borelli @@ -5383,7 +5383,7 @@ Date: 2009-08-19 Avoid potentianl memory corruption in the g_return_if_fail case -M gedit/gedit-utils.c +M pluma/pluma-utils.c commit e14adb68d3319192c0acc09222d313f7b826bda2 Author: Paolo Borelli @@ -5391,7 +5391,7 @@ Date: 2009-08-19 Correctly check for the encoding command line message -M gedit/gedit.c +M pluma/pluma.c commit 1b883d0341373b17721af7b162f6ed50fdb1ea3d Author: Paolo Borelli @@ -5399,10 +5399,10 @@ Date: 2009-08-19 Fix some coding style issues -M gedit/gedit-gio-document-loader.c -M gedit/gedit-io-error-message-area.c -M gedit/gedit-plugins-engine.c -M gedit/gedit-status-combo-box.c +M pluma/pluma-gio-document-loader.c +M pluma/pluma-io-error-message-area.c +M pluma/pluma-plugins-engine.c +M pluma/pluma-status-combo-box.c commit 7c4b0beb2d6ae4c893e9b6cda9597f349e3d2ad2 Author: Paolo Borelli @@ -5410,7 +5410,7 @@ Date: 2009-08-19 Do not return a GtkTreeIter by value -M gedit/gedit-documents-panel.c +M pluma/pluma-documents-panel.c commit 4843c8206d70b1be855527f27e89cf872949f0b8 Author: Paolo Borelli @@ -5418,10 +5418,10 @@ Date: 2009-08-19 Fix some compiler warnings in the filebrowser plugin -M plugins/filebrowser/gedit-file-bookmarks-store.c -M plugins/filebrowser/gedit-file-browser-store.c -M plugins/filebrowser/gedit-file-browser-utils.c -M plugins/filebrowser/gedit-file-browser-view.c +M plugins/filebrowser/pluma-file-bookmarks-store.c +M plugins/filebrowser/pluma-file-browser-store.c +M plugins/filebrowser/pluma-file-browser-utils.c +M plugins/filebrowser/pluma-file-browser-view.c commit ea09072f07601290415213e12861aebe876b655c Author: Paolo Borelli @@ -5429,7 +5429,7 @@ Date: 2009-08-19 Use void for functions without params -M gedit/gedit-dirs.c +M pluma/pluma-dirs.c commit 42c06b44a7de863c97556282464fac161ab2085c Author: Paolo Borelli @@ -5437,7 +5437,7 @@ Date: 2009-08-19 Error bell when entering text in the goto line -M gedit/gedit-view.c +M pluma/pluma-view.c commit a972fa660f0110272b6c31ee76ae5e22074ada6a Author: Alexander Shopov @@ -5457,7 +5457,7 @@ Date: 2009-08-18 able to provide the content type -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit 0198a0b5a2f39d8b94fc12b6198ab04c0ee9224f Author: Ivar Smolin @@ -5560,7 +5560,7 @@ Date: 2009-08-09 argument making the message impossible to use. This fix adds that argument. -M plugins/filebrowser/gedit-file-browser-messages.c +M plugins/filebrowser/pluma-file-browser-messages.c commit b31143c7985a794f56739f2b6b83721eeccbe004 Author: Paolo Borelli @@ -5570,14 +5570,14 @@ Date: 2009-08-10 Based on a patch by Marek Kašík, bug #591338 -M gedit/gedit-commands-file-print.c -M gedit/gedit-commands.h -M gedit/gedit-print-job.c -M gedit/gedit-tab.c -M gedit/gedit-tab.h -M gedit/gedit-ui.h -M gedit/gedit-ui.xml -M gedit/gedit-window.c +M pluma/pluma-commands-file-print.c +M pluma/pluma-commands.h +M pluma/pluma-print-job.c +M pluma/pluma-tab.c +M pluma/pluma-tab.h +M pluma/pluma-ui.h +M pluma/pluma-ui.xml +M pluma/pluma-window.c commit 1e18ae038b63dfb5889c15fb3108937dbf8aad9f Author: Paolo Borelli @@ -5585,7 +5585,7 @@ Date: 2009-08-10 Be quiet about marshallers and enums generation -M gedit/Makefile.am +M pluma/Makefile.am M plugins/filebrowser/Makefile.am M plugins/spell/Makefile.am @@ -5603,14 +5603,14 @@ commit 0654e6572e90ff2583f7fb4b528f0e748dd3e428 Author: Ignacio Casal Quinteiro Date: 2009-08-08 - Overwrite the change_current_page binding on gedit-notebook. + Overwrite the change_current_page binding on pluma-notebook. Overwrite the change_current_page binding vfunc to manage the wrap around by our own, so we can have it when we hide the tabbar for example when we are on fullscreen. (Fixes bug #591121) -M gedit/gedit-notebook.c +M pluma/pluma-notebook.c commit e2a9aa4f4adfb287f03280bac54cb919bec85ef6 Author: Paolo Borelli @@ -5621,9 +5621,9 @@ Date: 2009-08-08 Add a right click popup menu to the bookmark list of the filebrowser plugin so that setting root to the active document is always available -M plugins/filebrowser/gedit-file-browser-plugin.c -M plugins/filebrowser/gedit-file-browser-widget-ui.xml -M plugins/filebrowser/gedit-file-browser-widget.c +M plugins/filebrowser/pluma-file-browser-plugin.c +M plugins/filebrowser/pluma-file-browser-widget-ui.xml +M plugins/filebrowser/pluma-file-browser-widget.c commit fc53caeeeb8ad1f5f10176b96f073a0e258c491b Author: Jochen Skulj @@ -5658,10 +5658,10 @@ Date: 2009-08-07 This patch ensures that root_changed signals come *before* inserted signals. -M plugins/filebrowser/gedit-file-browser-store.c +M plugins/filebrowser/pluma-file-browser-store.c commit 51ff8a56b7b128f8e1590b0e6fa3f5f5b2178442 -Author: Jorge González +Author: Jorge González Date: 2009-08-04 Updated Spanish translation @@ -5682,8 +5682,8 @@ Date: 2009-08-02 Respect button-image setting for add scheme button -M gedit/dialogs/gedit-preferences-dialog.c -M gedit/dialogs/gedit-preferences-dialog.ui +M pluma/dialogs/pluma-preferences-dialog.c +M pluma/dialogs/pluma-preferences-dialog.ui commit 44e27e8427e99971cd0c20d61c9c925914e96ef2 Author: Jesse van den Kieboom @@ -5721,7 +5721,7 @@ Date: 2009-08-01 Unset the search hl tag properties if the theme does not specify a color. Fixes bug #579358 -M gedit/gedit-document.c +M pluma/pluma-document.c commit 302d41a59537914c6a10b6f7626053d3e0f443dd Author: Paolo Borelli @@ -5754,7 +5754,7 @@ Date: 2009-08-01 Backport EOG UI improvements to the plugin manager -M gedit/gedit-plugin-manager.c +M pluma/pluma-plugin-manager.c commit 53760d0ae606ec02692287cfc55e39ab43f8e111 Author: Paolo Borelli @@ -5762,7 +5762,7 @@ Date: 2009-08-01 Fix runtime warning in last patch -M plugins/changecase/gedit-changecase-plugin.c +M plugins/changecase/pluma-changecase-plugin.c commit 69f3c603f9cf27517619c503c44728ae7061b429 Author: Paolo Borelli @@ -5770,7 +5770,7 @@ Date: 2009-08-01 Make Change Case sensitivity depend on selection -M plugins/changecase/gedit-changecase-plugin.c +M plugins/changecase/pluma-changecase-plugin.c commit 4585957f669559838d77ea59a3bf0277542440c5 Author: Paolo Borelli @@ -5778,7 +5778,7 @@ Date: 2009-08-01 Update plugins ui when selection changes -M gedit/gedit-window.c +M pluma/pluma-window.c commit 607fb72cebd9430921159e8958e6cdaf104ffd18 Author: Paolo Borelli @@ -5847,9 +5847,9 @@ Date: 2009-07-25 Use one file per toplevel to avoid duplicated ids M plugins/time/Makefile.am -A plugins/time/gedit-time-dialog.ui -M plugins/time/gedit-time-plugin.c -A plugins/time/gedit-time-setup-dialog.ui +A plugins/time/pluma-time-dialog.ui +M plugins/time/pluma-time-plugin.c +A plugins/time/pluma-time-setup-dialog.ui D plugins/time/time.ui M po/POTFILES.in @@ -5859,9 +5859,9 @@ Date: 2009-07-24 Update smclient from libegg -M gedit/smclient/eggdesktopfile.c -M gedit/smclient/eggdesktopfile.h -M gedit/smclient/eggsmclient-xsmp.c +M pluma/smclient/eggdesktopfile.c +M pluma/smclient/eggdesktopfile.h +M pluma/smclient/eggsmclient-xsmp.c commit 55719c2e76729131cf931ad71878259339e09cf8 Author: Paolo Borelli @@ -5869,7 +5869,7 @@ Date: 2009-07-25 Plug small leak on error path -M gedit/gedit-utils.c +M pluma/pluma-utils.c commit 65fae1b9dae68fcc18443053da745258ae76ecb9 Author: Daniel Nylander @@ -5906,7 +5906,7 @@ Date: 2009-07-18 Let the user select an alternative location if saving fails. Bug #576094. -M gedit/gedit-window.c +M pluma/pluma-window.c commit 6dfb899adbc28caffcaa8aaf4c460796d3b64891 Author: Paolo Borelli @@ -5916,7 +5916,7 @@ Date: 2009-07-18 parent can be null for http uris. -M gedit/gedit-commands-file.c +M pluma/pluma-commands-file.c commit 7aa0d06f1649f45555c82525b68387c4d278a6d9 Author: Paolo Borelli @@ -5924,11 +5924,11 @@ Date: 2009-07-18 Code cleanup -M gedit/gedit-app.c -M gedit/gedit-utils.c +M pluma/pluma-app.c +M pluma/pluma-utils.c commit 8051714a74b023bf9b11e6b160960eec288323ff -Author: Jorge González +Author: Jorge González Date: 2009-07-18 Updated Spanish translation @@ -5953,7 +5953,7 @@ Date: 2009-07-18 that they now respect the button-images setting. See bug 588806. M plugins/sort/sort.ui -M plugins/spell/gedit-spell-checker-dialog.c +M plugins/spell/pluma-spell-checker-dialog.c M plugins/spell/spell-checker.ui commit 2c5ab2224ef3a416a462ef107fc8d4d763418a0d @@ -6053,9 +6053,9 @@ Date: 2009-07-04 and not on the fact that there are documents open. -M gedit/gedit-ui.h -M gedit/gedit-window-private.h -M gedit/gedit-window.c +M pluma/pluma-ui.h +M pluma/pluma-window-private.h +M pluma/pluma-window.c commit d6cf85fdaee59320e806598be562931694b89d4d Author: Paolo Borelli @@ -6119,7 +6119,7 @@ Date: 2009-06-21 M help/Makefile.am A help/cs/cs.po -A help/cs/figures/gedit_window.png +A help/cs/figures/pluma_window.png commit b4662053efa6f0588c94674584dea5562d51fa95 Author: Ignacio Casal Quinteiro @@ -6128,9 +6128,9 @@ Date: 2009-06-21 Fix detection for libsoup on win32 and add it to the build script. M configure.ac -M plugins/checkupdate/gedit-check-update-plugin.c +M plugins/checkupdate/pluma-check-update-plugin.c M win32/build-installer -M win32/gedit.iss.in +M win32/pluma.iss.in commit 1f9ed3a1dd448e220f2e57e86d811318f8e08650 Author: Ignacio Casal Quinteiro @@ -6155,18 +6155,18 @@ commit 650971fe2302a099d506c5d486fdb6a6e5e76ecf Author: Ignacio Casal Quinteiro Date: 2009-06-21 - Remove gedit-message-area from docs. + Remove pluma-message-area from docs. - Now that gedit-message-area is optional the docs have to be removed. + Now that pluma-message-area is optional the docs have to be removed. M docs/reference/Makefile.am -M docs/reference/gedit-docs.sgml -M docs/reference/gedit-sections.txt -M docs/reference/gedit.types -M docs/reference/tmpl/gedit-unused.sgml +M docs/reference/pluma-docs.sgml +M docs/reference/pluma-sections.txt +M docs/reference/pluma.types +M docs/reference/tmpl/pluma-unused.sgml commit 82bcc956ecd82efc221ecd11acdd2e24ab2a2536 -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-06-21 Updated Spanish translation @@ -6193,12 +6193,12 @@ Date: 2009-06-20 M configure.ac M data/Makefile.am -R099 data/gedit.schemas.in data/gedit.schemas.in.in +R099 data/pluma.schemas.in data/pluma.schemas.in.in M plugins/Makefile.am A plugins/checkupdate/Makefile.am -A plugins/checkupdate/checkupdate.gedit-plugin.desktop.in -A plugins/checkupdate/gedit-check-update-plugin.c -A plugins/checkupdate/gedit-check-update-plugin.h +A plugins/checkupdate/checkupdate.pluma-plugin.desktop.in +A plugins/checkupdate/pluma-check-update-plugin.c +A plugins/checkupdate/pluma-check-update-plugin.h commit 57cbc3cef035859e739703b32d4809c5652cf306 Author: Ignacio Casal Quinteiro @@ -6220,9 +6220,9 @@ commit d4ead5e444d38775157b9e49b0d58f6e1e7e9f3a Author: Ignacio Casal Quinteiro Date: 2009-06-17 - When opeing gedit from console on win32 visualize the stdout. + When opeing pluma from console on win32 visualize the stdout. -M gedit/gedit.c +M pluma/pluma.c commit 0b738c5229fde62a5f52fae785e1c25a6e6c1a3d Author: Gil Forcada @@ -6236,12 +6236,12 @@ commit 5c2e391238fff919c8449ea139e675a4dbcd3b76 Author: Ignacio Casal Quinteiro Date: 2009-06-13 - Add gedit-message-area as public api. + Add pluma-message-area as public api. This was already public api but with the infobar patch I removed it by mistake. -M gedit/Makefile.am +M pluma/Makefile.am commit b0b7a86205dfde2081e0b22de77a3811b9e33893 Author: Jesse van den Kieboom @@ -6258,11 +6258,11 @@ Date: 2009-06-06 Use gtkinfobar in case we have gtk+ >= 2.17.1 M configure.ac -M gedit/Makefile.am -M gedit/gedit-io-error-message-area.c -M gedit/gedit-progress-message-area.c -M gedit/gedit-progress-message-area.h -M gedit/gedit-tab.c +M pluma/Makefile.am +M pluma/pluma-io-error-message-area.c +M pluma/pluma-progress-message-area.c +M pluma/pluma-progress-message-area.h +M pluma/pluma-tab.c commit d11b28ee6e977b0a5b57ccd8ad2541bc4fb4560c Author: Ignacio Casal Quinteiro @@ -6273,8 +6273,8 @@ Date: 2009-06-10 Remember the search dialog position for the current window. (Fixes bug #165267). -M gedit/dialogs/gedit-search-dialog.c -M gedit/gedit-commands-search.c +M pluma/dialogs/pluma-search-dialog.c +M pluma/pluma-commands-search.c commit 30f824352b3a9165f44f867973f4f6fa673cc5d7 Author: Kjartan Maraas @@ -6288,9 +6288,9 @@ commit 28052e18a60ec5c83a4c059d8f326dceb36b665a Author: Paolo Borelli Date: 2009-06-08 - gedit-commands header is public + pluma-commands header is public -M gedit/Makefile.am +M pluma/Makefile.am commit 92d642191efe674cc336f47f783eb9fc156a29f5 Author: Paolo Borelli @@ -6303,10 +6303,10 @@ Date: 2009-06-08 waiting gvfs mounts. Fixes bug #582443. -M plugins/filebrowser/gedit-file-bookmarks-store.c +M plugins/filebrowser/pluma-file-bookmarks-store.c commit e4d4750d43557218d44a0475c2e1b7d8cda7e58d -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-06-07 Updated Spanish translation @@ -6319,7 +6319,7 @@ Date: 2009-06-06 Add translator comments. -M gedit/gedit-commands-search.c +M pluma/pluma-commands-search.c commit 8ef1dfdc39c152b6bdc106c533c8c2e4d297e775 Author: Ignacio Casal Quinteiro @@ -6330,9 +6330,9 @@ Date: 2009-06-06 Remove the word "Phrase" and use "%s" instead to visualized what it was searched. (Fixes bug #572901). -M gedit/gedit-commands-search.c -M gedit/gedit-utils.c -M gedit/gedit-utils.h +M pluma/pluma-commands-search.c +M pluma/pluma-utils.c +M pluma/pluma-utils.h commit 80a35dfb1f74f9bb8edeabb32e086affe0c097ca Author: Ivar Smolin @@ -6356,8 +6356,8 @@ Date: 2009-06-02 Do not append the final endline for empty files -M gedit/gedit-document-saver.c -M gedit/gedit-gio-document-saver.c +M pluma/pluma-document-saver.c +M pluma/pluma-gio-document-saver.c commit 2c6ca9cba9a69c6a6e351db04c65461766fde8a9 Author: Praveen Arimbrathodiyil @@ -6407,9 +6407,9 @@ Date: 2009-05-29 Show the help on windows. - Show the help on windows on library.mate.org. + Show the help on windows on library.gnome.org. -M gedit/gedit-help.c +M pluma/pluma-help.c commit bc23a9a2250ca5a16d98c0beee453032b7e7d0bf Author: dooteo @@ -6423,12 +6423,12 @@ commit 8f1324a9f72a0bbbf9fcdd1e6b8578dfb3c648e6 Author: Ignacio Casal Quinteiro Date: 2009-05-28 - Hide the fullscreen control when minimizing gedit. + Hide the fullscreen control when minimizing pluma. Hide the fullscreen control when you change from workspace or when - you minimize gedit. (Fixes #584017) + you minimize pluma. (Fixes #584017) -M gedit/gedit-window.c +M pluma/pluma-window.c commit a1fde95ae9e687f8a3260e915e1ffe61a8a1379d Author: Ignacio Casal Quinteiro @@ -6492,13 +6492,13 @@ commit f5b01f7b91572cec45cac67929a7d6e2b81dfc3f Author: Jesse van den Kieboom Date: 2009-05-23 - Remove gpdefs left over from quick open being in gedit-plugins + Remove gpdefs left over from quick open being in pluma-plugins M plugins/quickopen/quickopen/popup.py M plugins/quickopen/quickopen/windowhelper.py commit a22093d218e031757ddd81da912c6600c87651e5 -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-05-23 Updated Spanish translation @@ -6523,7 +6523,7 @@ Date: 2009-05-23 (and not properly deactivated) when moving tabs from one window to another. -M plugins/modelines/gedit-modeline-plugin.c +M plugins/modelines/pluma-modeline-plugin.c commit c67f9c4db95e93c7f0d8cafcc4ca109ff842bb6c Author: Jesse van den Kieboom @@ -6540,7 +6540,7 @@ Date: 2009-05-23 setting of a value was due to the previous modeline. -M plugins/modelines/gedit-modeline-plugin.c +M plugins/modelines/pluma-modeline-plugin.c M plugins/modelines/modeline-parser.c M plugins/modelines/modeline-parser.h @@ -6558,11 +6558,11 @@ Date: 2009-05-23 Removed glade files. -D gedit/dialogs/gedit-encodings-dialog.glade -D gedit/dialogs/gedit-preferences-dialog.glade -D gedit/dialogs/gedit-search-dialog.glade -D gedit/dialogs/gedit-style-scheme-dialog.glade -D gedit/gedit-print-preferences.glade +D pluma/dialogs/pluma-encodings-dialog.glade +D pluma/dialogs/pluma-preferences-dialog.glade +D pluma/dialogs/pluma-search-dialog.glade +D pluma/dialogs/pluma-style-scheme-dialog.glade +D pluma/pluma-print-preferences.glade D plugins/docinfo/docinfo.glade2 D plugins/externaltools/tools/tools.glade D plugins/snippets/snippets/snippets.glade @@ -6596,7 +6596,7 @@ commit 90324d89d216b72e263fe068e85ff02c90632f47 Author: Jesse van den Kieboom Date: 2009-05-22 - Prevent warning on closing gedit + Prevent warning on closing pluma M plugins/snippets/snippets/WindowHelper.py @@ -6607,18 +6607,18 @@ Date: 2009-05-22 Changed environment variables to match external tools Present variables are: - GEDIT_CURRENT_DOCUMENT_URI - GEDIT_CURRENT_DOCUMENT_NAME - GEDIT_CURRENT_DOCUMENT_SCHEME - GEDIT_CURRENT_DOCUMENT_PATH - GEDIT_CURRENT_DOCUMENT_DIR - GEDIT_CURRENT_DOCUMENT_TYPE - GEDIT_DOCUMENTS_URI - GEDIT_DOCUMENTS_PATH - GEDIT_CURRENT_WORD - GEDIT_CURRENT_LINE - GEDIT_SELECTED_TEXT - GEDIT_CURRENT_LINE_NUMBER + PLUMA_CURRENT_DOCUMENT_URI + PLUMA_CURRENT_DOCUMENT_NAME + PLUMA_CURRENT_DOCUMENT_SCHEME + PLUMA_CURRENT_DOCUMENT_PATH + PLUMA_CURRENT_DOCUMENT_DIR + PLUMA_CURRENT_DOCUMENT_TYPE + PLUMA_DOCUMENTS_URI + PLUMA_DOCUMENTS_PATH + PLUMA_CURRENT_WORD + PLUMA_CURRENT_LINE + PLUMA_SELECTED_TEXT + PLUMA_CURRENT_LINE_NUMBER M plugins/snippets/snippets/Document.py @@ -6628,9 +6628,9 @@ Date: 2009-05-22 Added some additional environment variables - Added GEDIT_CURRENT_LINE, GEDIT_CURRENT_LINE_NUMBER, - GEDIT_CURRENT_WORD and - GEDIT_SELECTED_TEXT, GEDIT_CURRENT_DOCUMENT_TYPE + Added PLUMA_CURRENT_LINE, PLUMA_CURRENT_LINE_NUMBER, + PLUMA_CURRENT_WORD and + PLUMA_SELECTED_TEXT, PLUMA_CURRENT_DOCUMENT_TYPE M plugins/externaltools/tools/functions.py @@ -6796,7 +6796,7 @@ Date: 2009-05-22 Added plugins_ui update on language change -M gedit/gedit-window.c +M pluma/pluma-window.c commit 07f3917e2cc285820f8cccb23976fa4944dab719 Author: Jesse van den Kieboom @@ -6885,14 +6885,14 @@ Date: 2009-05-21 Added public API for document saving - This adds gedit_commands_save_document and - gedit_commands_save_all_documents + This adds pluma_commands_save_document and + pluma_commands_save_all_documents to be used in plugins. -M gedit/gedit-commands-file.c -M gedit/gedit-commands.h -M plugin-loaders/python/bindings/geditcommands.defs -M plugin-loaders/python/bindings/geditcommands.override +M pluma/pluma-commands-file.c +M pluma/pluma-commands.h +M plugin-loaders/python/bindings/plumacommands.defs +M plugin-loaders/python/bindings/plumacommands.override commit 15cbac479c46d0110edbfffe80dfb3362b12088b Author: drtvasudevan @@ -6916,13 +6916,13 @@ Date: 2009-05-19 deal with GFiles directly. Bug #549465. -M gedit/gedit-commands-file.c -M gedit/gedit-window-private.h -M gedit/gedit-window.c -M gedit/gedit-window.h +M pluma/pluma-commands-file.c +M pluma/pluma-window-private.h +M pluma/pluma-window.c +M pluma/pluma-window.h commit e3bfa1527da57219b46cfad571eca52ca3b19a0c -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-05-18 Updated Spanish translation @@ -6930,7 +6930,7 @@ Date: 2009-05-18 M help/es/es.po commit 3ddca07e5b8068b936891f89c3b8887f13eb681a -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-05-18 Updated Spanish translation @@ -6946,7 +6946,7 @@ Date: 2009-05-18 Force the short label of the print action so that it does not include ellipsis. Fixes bug #577859. -M gedit/gedit-window.c +M pluma/pluma-window.c commit e22e63dc5aacd96b97feeb3ace2d113f460ca70a Author: Claude Paroz @@ -6954,7 +6954,7 @@ Date: 2009-05-17 Removed reference to deprecated username plugin (Bug 318408) -M help/C/gedit.xml +M help/C/pluma.xml commit 8a241c530f87999233041369332175078423e50e Author: Paolo Borelli @@ -6970,7 +6970,7 @@ Date: 2009-05-17 that point simply having a struct with the correct life cycle seems better. -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit 26c2dfbd90b2f973f8540b15be4da38216e3a70b Author: Paolo Borelli @@ -6981,15 +6981,15 @@ Date: 2009-05-17 Remove the open location dialog: it's obsolete and no one uses it, besides these days you can open uris by the usual file chooser. -M gedit/dialogs/Makefile.am -D gedit/dialogs/gedit-open-location-dialog.c -D gedit/dialogs/gedit-open-location-dialog.glade -D gedit/dialogs/gedit-open-location-dialog.h -D gedit/dialogs/gedit-open-location-dialog.ui -M gedit/gedit-commands-file.c -M gedit/gedit-ui.h -M gedit/gedit-ui.xml -M gedit/gedit-window.c +M pluma/dialogs/Makefile.am +D pluma/dialogs/pluma-open-location-dialog.c +D pluma/dialogs/pluma-open-location-dialog.glade +D pluma/dialogs/pluma-open-location-dialog.h +D pluma/dialogs/pluma-open-location-dialog.ui +M pluma/pluma-commands-file.c +M pluma/pluma-ui.h +M pluma/pluma-ui.xml +M pluma/pluma-window.c commit 946c90386c9710863758185092eededb02dd45d1 Author: Paolo Borelli @@ -6998,16 +6998,16 @@ Date: 2009-05-17 Remove sample plugin Remove the sample plugin: it's too trivial and not very useful for the - end users to be distributed with gedit. Inserting the username + end users to be distributed with pluma. Inserting the username is better done with a snippet or an external tool. M configure.ac M plugins/Makefile.am D plugins/sample/Makefile.am -D plugins/sample/gedit-sample-plugin.c -D plugins/sample/gedit-sample-plugin.h -D plugins/sample/sample.gedit-plugin.desktop.in +D plugins/sample/pluma-sample-plugin.c +D plugins/sample/pluma-sample-plugin.h +D plugins/sample/sample.pluma-plugin.desktop.in commit 3b452f68100228eeee651cba81f3846b2bbf250d Author: Paolo Borelli @@ -7015,11 +7015,11 @@ Date: 2009-05-17 Getter to access the saver's document - Add gedit_document_saver_get_document and use it. + Add pluma_document_saver_get_document and use it. -M gedit/gedit-document-saver.c -M gedit/gedit-document-saver.h -M gedit/gedit-gio-document-saver.c +M pluma/pluma-document-saver.c +M pluma/pluma-document-saver.h +M pluma/pluma-gio-document-saver.c commit 65f2fe525e063936f4b8dfbf8e85f57ad6a0898b Author: Paolo Borelli @@ -7029,10 +7029,10 @@ Date: 2009-05-17 Remove the old mmap document loader, we always use gio. -M gedit/Makefile.am -M gedit/gedit-document-loader.c -D gedit/gedit-mmap-document-loader.c -D gedit/gedit-mmap-document-loader.h +M pluma/Makefile.am +M pluma/pluma-document-loader.c +D pluma/pluma-mmap-document-loader.c +D pluma/pluma-mmap-document-loader.h commit 5eb923751bbae5f6dca7854d89ad423fbc1adc27 Author: Paolo Borelli @@ -7045,7 +7045,7 @@ Date: 2009-05-17 be able to introduce other loaders in the future. E.g. a PolicyKit loader. -M gedit/gedit-document-loader.c +M pluma/pluma-document-loader.c commit 9e97ec942808a801941a36370762d8742d0dd53f Author: Paolo Borelli @@ -7057,7 +7057,7 @@ Date: 2009-05-17 simply use the object itself. -M gedit/gedit-gio-document-loader.c +M pluma/pluma-gio-document-loader.c commit ca9fa911d0360e10aa4e77060353cc2bd05e2a63 Author: Paolo Borelli @@ -7065,11 +7065,11 @@ Date: 2009-05-17 Getter to access the loader's document - Add gedit_document_loader_get_document and use it. + Add pluma_document_loader_get_document and use it. -M gedit/gedit-document-loader.c -M gedit/gedit-document-loader.h -M gedit/gedit-gio-document-loader.c +M pluma/pluma-document-loader.c +M pluma/pluma-document-loader.h +M pluma/pluma-gio-document-loader.c commit bfb97f3691cbe2704620e210ab7057d440f2ca73 Author: Jesse van den Kieboom @@ -7085,7 +7085,7 @@ Date: 2009-05-17 M configure.ac M plugins/Makefile.am A plugins/quickopen/Makefile.am -A plugins/quickopen/quickopen.gedit-plugin.desktop.in +A plugins/quickopen/quickopen.pluma-plugin.desktop.in A plugins/quickopen/quickopen/Makefile.am A plugins/quickopen/quickopen/__init__.py A plugins/quickopen/quickopen/popup.py @@ -7110,9 +7110,9 @@ Date: 2009-05-17 Been able to move to a line and a character number. E.g. 39:30 (Fixes bug #582060). -M gedit/gedit-document.c -M gedit/gedit-document.h -M gedit/gedit-view.c +M pluma/pluma-document.c +M pluma/pluma-document.h +M pluma/pluma-view.c commit 0e342910137b7b393db893c994a3c0d262435ab0 Author: Paolo Borelli @@ -7123,8 +7123,8 @@ Date: 2009-05-16 Add a --list-encodings command line option to print a list of the encodings supported by the --encoding option. Fixes bug #570585. -M data/gedit.1 -M gedit/gedit.c +M data/pluma.1 +M pluma/pluma.c commit 24dfcf7d9645faec7a5265d52cccaabc2286d48b Author: Paolo Borelli @@ -7191,10 +7191,10 @@ commit 1ca6df0d04e490e15127b666039b1bc2f6a0a39f Author: Jesse van den Kieboom Date: 2009-05-10 - Implemented GEDIT_CURRENT_LINE environment variable + Implemented PLUMA_CURRENT_LINE environment variable This variable has the same special characteristics as - GEDIT_CURRENT_WORD. So + PLUMA_CURRENT_WORD. So if there is no selection, the line will be selected and replaced by the placeholder. @@ -7230,7 +7230,7 @@ Date: 2009-05-10 backup (and the user receives a warning for this), but at least we can safe the file now. -M gedit/gedit-local-document-saver.c +M pluma/pluma-local-document-saver.c commit c940ab824adcce1523334ae761e4ee738ea5b38d Author: root @@ -7262,9 +7262,9 @@ M Makefile.am M data/Makefile.am M docs/Makefile.am M docs/reference/Makefile.am -M gedit/Makefile.am -M gedit/dialogs/Makefile.am -M gedit/smclient/Makefile.am +M pluma/Makefile.am +M pluma/dialogs/Makefile.am +M pluma/smclient/Makefile.am A git.mk M help/C/Makefile.am M help/Makefile.am @@ -7306,7 +7306,7 @@ Date: 2009-05-04 On Solaris, libsocket is needed for bacon-connection. This commit enhances - gedit to check for this. (Bug 581056) + pluma to check for this. (Bug 581056) M configure.ac @@ -7314,15 +7314,15 @@ commit 425ab556c1283c0f55e825d47cc3fe931f93a931 Author: Ignacio Casal Quinteiro Date: 2009-05-04 - Add gedit.rc to EXTRA_DIST + Add pluma.rc to EXTRA_DIST This is needed for win32 releases so people do not have to download the package from git. -M gedit/Makefile.am +M pluma/Makefile.am commit b2db1396b1cf3d2b634be0ee3c2b60a9b5c75457 -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-05-03 Updated Spanish translation @@ -7335,7 +7335,7 @@ Date: 2009-05-03 Fix mbox elements in the doap file -M gedit.doap +M pluma.doap commit 7d13146b335762d03d3585c3c33b71a424a422c2 Author: Paolo Borelli @@ -7346,7 +7346,7 @@ Date: 2009-05-03 Make sure to create the user config dir before saving the print settings. Bug #580613. -M gedit/gedit-app.c +M pluma/pluma-app.c commit 502baeae81daa1feb81ffd46d9a14dc11209f856 Author: David Planella @@ -7356,7 +7356,7 @@ Date: 2009-05-02 M help/Makefile.am A help/ca/ca.po -A help/ca/figures/gedit_window.png +A help/ca/figures/pluma_window.png commit a52c85cf3a6bb66ec4da43cf09103080dd642f81 Author: Jonathan Rascher @@ -7372,7 +7372,7 @@ Date: 2009-05-01 M plugins/modelines/modeline-parser.c commit 76ee9c0d04b5c94c85d44d6a1c8ff01fea9aaef0 -Author: Jorge Gonzalez +Author: Jorge Gonzalez Date: 2009-05-02 Updated Spanish translation @@ -7405,7 +7405,7 @@ Date: 2009-04-25 root/root when requestion get_virtual_root/get_root. This has been changed to simply returning NULL. -M plugins/filebrowser/gedit-file-browser-store.c +M plugins/filebrowser/pluma-file-browser-store.c commit d7e3a1361289fbb7fba281ba71a9dc4cdbe72cac Author: Jesse van den Kieboom @@ -7414,7 +7414,7 @@ Date: 2009-04-25 Fixed wrong use of args where it should be kwargs in message bus bindings -M plugin-loaders/python/bindings/geditmessage.override +M plugin-loaders/python/bindings/plumamessage.override commit 7f8e6ea7696026e5de940f5253cc4c7a1acfd101 Author: Olav Vitters @@ -7422,7 +7422,7 @@ Date: 2009-04-23 doap: Add desktop category -M gedit.doap +M pluma.doap commit 5e96ecc8c676df25b539c6d9431f6eb0562137ac Author: Paolo Borelli @@ -7513,17 +7513,17 @@ Date: 2009-04-18 Add bugzilla and download urls to the doap file -M gedit.doap +M pluma.doap commit d6ba56f69f90aa25d2228c40859d2f5e5909ad39 Author: Paolo Borelli Date: 2009-04-17 - Add gedit.doap file + Add pluma.doap file - Add gedit.doap file useful for cgit and other infos. + Add pluma.doap file useful for cgit and other infos. -A gedit.doap +A pluma.doap commit f368949b99df36040a77ccce0fab6b7b13433863 Author: Paolo Borelli @@ -7544,7 +7544,7 @@ Date: 2009-04-17 M help/zh_CN/zh_CN.po commit 9d3aaa2e4d73eb7edf5db8a75228c368d362ec92 -Author: Paolo Borelli +Author: Paolo Borelli Date: 2009-04-13 2.26.1 @@ -7559,7 +7559,7 @@ M help/ChangeLog M po/ChangeLog commit b61b64c30fb347be16b96e2b5eed6613875f5b07 -Author: Jorge Gonzalez Gonzalez +Author: Jorge Gonzalez Gonzalez Date: 2009-04-12 Updated Spanish translation diff --git a/HACKING b/HACKING index 30fbe17..c3c6747 100755 --- a/HACKING +++ b/HACKING @@ -1,24 +1,24 @@ -guidelines for gedit +guidelines for pluma ==================== -gedit source code is maintained using the git version control system +pluma source code is maintained using the git version control system and is available at the following location: - git://git.mate.org/gedit + git://git.gnome.org/pluma Or if you have an account on MATE servers: - ssh://USERNAME@git.mate.org/git/gedit + ssh://USERNAME@git.gnome.org/git/pluma A Web Interface is available at: - http://git.mate.org/cgit/gedit + http://git.gnome.org/cgit/pluma Please don't commit directly to the git repository unless -you have been given the green light to commit freely to gedit. +you have been given the green light to commit freely to pluma. When in doubt assume you haven't ;-). -Please attach patches in bugzilla (http://bugzilla.mate.org). +Please attach patches in bugzilla (http://bugzilla.gnome.org). If the patch fixes a bug that is not reported yet in bugzilla or is an enhancement, create a new bugreport. @@ -31,7 +31,7 @@ your help, I just want to review these fixes before applying. If you are a "build sheriff", feel free to commit fixes for build and configure (please, send me an e-mail with the patch you have applied). -When committing to the gedit git repository make sure to include a +When committing to the pluma git repository make sure to include a meaningful commit message. Changes without a sufficient commit message will be reverted. Commit messages should have the following format: @@ -62,4 +62,4 @@ tracker reference if applicable) and so forth. Be concise but not too brief. Thanks, - The gedit team. + The pluma team. diff --git a/Makefile.am b/Makefile.am index b288648..ddd74ef 100755 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = gedit pixmaps po data plugin-loaders plugins docs tests win32 osx +SUBDIRS = pluma pixmaps po data plugin-loaders plugins docs tests win32 osx if !OS_OSX SUBDIRS += help @@ -16,7 +16,7 @@ EXTRA_DIST = \ ChangeLog-20090418 \ HACKING \ MAINTAINERS \ - gedit.doap \ + pluma.doap \ xmldocs.make \ omf.make \ mate-doc-utils.make \ @@ -36,6 +36,10 @@ MAINTAINERCLEANFILES = \ config.h.in \ config.sub \ depcomp \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + configure \ gtk-doc.make \ install-sh \ ltmain.sh \ @@ -56,7 +60,7 @@ MAINTAINERCLEANFILES = \ DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc -CHANGELOG_START = GEDIT_2_26_1 +CHANGELOG_START = PLUMA_2_26_1 dist-hook: @if test -d "$(srcdir)/.git"; \ diff --git a/NEWS b/NEWS index dda2bf2..e3e34c7 100755 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ ============ -gedit 2.30.4 +pluma 2.30.4 ============ New Features and Fixes @@ -25,7 +25,7 @@ New and updated translations ============ -gedit 2.30.3 +pluma 2.30.3 ============ New Features and Fixes @@ -47,7 +47,7 @@ New and updated translations ============ -gedit 2.30.2 +pluma 2.30.2 ============ New Features and Fixes @@ -56,7 +56,7 @@ New Features and Fixes ============ -gedit 2.30.1 +pluma 2.30.1 ============ New Features and Fixes @@ -81,7 +81,7 @@ New and updated translations ============ -gedit 2.30.0 +pluma 2.30.0 ============ New Features and Fixes @@ -113,7 +113,7 @@ New and updated translations ============ -gedit 2.29.9 +pluma 2.29.9 ============ New Features and Fixes @@ -144,7 +144,7 @@ New and updated translations ============ -gedit 2.29.8 +pluma 2.29.8 ============ New Features and Fixes @@ -170,7 +170,7 @@ New and updated translations ============ -gedit 2.29.7 +pluma 2.29.7 ============ New Features and Fixes @@ -198,7 +198,7 @@ New and updated translations ============ -gedit 2.29.6 +pluma 2.29.6 ============ New Features and Fixes @@ -221,7 +221,7 @@ New and updated translations - zh_TW (Chao-Hsiung Liao) ============ -gedit 2.29.5 +pluma 2.29.5 ============ New Features and Fixes @@ -245,7 +245,7 @@ New and updated translations ============ -gedit 2.29.4 +pluma 2.29.4 ============ New Features and Fixes @@ -271,7 +271,7 @@ New and updated translations - zh_CN (樊栖江(Fan Qijiang)) ============ -gedit 2.29.3 +pluma 2.29.3 ============ New Features and Fixes @@ -284,7 +284,7 @@ New and updated translations - el (Nikos Charonitakis) ============ -gedit 2.29.2 +pluma 2.29.2 ============ New Features and Fixes @@ -294,7 +294,7 @@ New Features and Fixes - Implemented file open support on OS X (Jesse van den Kieboom) - Fixed OS X native vs X11 built (Jesse van den Kieboom) - Basic mac OS X integration (Jesse van den Kieboom) -- Use GtkSpinner instead of GeditSpinner (Ignacio Casal Quinteiro) +- Use GtkSpinner instead of PlumaSpinner (Ignacio Casal Quinteiro) - Misc bugfixes New and updated translations @@ -311,7 +311,7 @@ New and updated translations - zh_CN (樊栖江(Fan Qijiang)) ============ -gedit 2.29.1 +pluma 2.29.1 ============ New Features and Fixes @@ -327,7 +327,7 @@ New and updated translations - zh_CN (Richard Ma) ============ -gedit 2.28.0 +pluma 2.28.0 ============ New Features and Fixes @@ -370,7 +370,7 @@ New and updated translations ============ -gedit 2.27.6 +pluma 2.27.6 ============ New Features and Fixes @@ -410,7 +410,7 @@ New and updated translations ============ -gedit 2.27.5 +pluma 2.27.5 ============ New Features and Fixes @@ -437,7 +437,7 @@ New and updated translations ============ -gedit 2.27.4 +pluma 2.27.4 ============ New Features and Fixes @@ -457,7 +457,7 @@ New and updated translations ============ -gedit 2.27.3 +pluma 2.27.3 ============ New Features and Fixes @@ -480,7 +480,7 @@ New and updated translations ============ -gedit 2.27.2 +pluma 2.27.2 ============ New Features and Fixes @@ -503,7 +503,7 @@ New and updated translations ============ -gedit 2.27.1 +pluma 2.27.1 ============ New Features and Fixes @@ -527,7 +527,7 @@ New and updated translations ============ -gedit 2.26.2 +pluma 2.26.2 ============ New Features and Fixes @@ -545,7 +545,7 @@ New and updated translations ============ -gedit 2.26.1 +pluma 2.26.1 ============ New Features and Fixes @@ -567,7 +567,7 @@ New and updated translations ============ -gedit 2.26.0 +pluma 2.26.0 ============ New Features and Fixes @@ -589,7 +589,7 @@ New and updated translations ============ -gedit 2.25.8 +pluma 2.25.8 ============ New Features and Fixes @@ -615,7 +615,7 @@ New and updated translations ============ -gedit 2.25.7 +pluma 2.25.7 ============ New Features and Fixes @@ -640,7 +640,7 @@ New and updated translations ============ -gedit 2.25.6 +pluma 2.25.6 ============ New Features and Fixes @@ -661,7 +661,7 @@ New and updated translations ============ -gedit 2.25.5 +pluma 2.25.5 ============ New Features and Fixes @@ -687,7 +687,7 @@ New and updated translations ============ -gedit 2.25.4 +pluma 2.25.4 ============ New Features and Fixes @@ -705,7 +705,7 @@ New and updated translations ============ -gedit 2.25.3 +pluma 2.25.3 ============ New Features and Fixes @@ -724,7 +724,7 @@ New and updated translations ============ -gedit 2.25.2 +pluma 2.25.2 ============ New Features and Fixes @@ -737,7 +737,7 @@ New and updated translations ============ -gedit 2.25.1 +pluma 2.25.1 ============ New Features and Fixes @@ -752,7 +752,7 @@ New and updated translations ============ -gedit 2.24.2 +pluma 2.24.2 ============ New Features and Fixes @@ -769,7 +769,7 @@ New and updated translations ============ -gedit 2.24.1 +pluma 2.24.1 ============ New Features and Fixes @@ -787,7 +787,7 @@ New and updated translations ============ -gedit 2.24.0 +pluma 2.24.0 ============ New and updated translations @@ -804,7 +804,7 @@ New and updated translations ============= -gedit 2.23.92 +pluma 2.23.92 ============= New Features and Fixes @@ -833,7 +833,7 @@ New and updated translations ============= -gedit 2.23.92 +pluma 2.23.92 ============= New Features and Fixes @@ -856,7 +856,7 @@ New and updated translations ============= -gedit 2.23.91 +pluma 2.23.91 ============= New Features and Fixes @@ -886,7 +886,7 @@ New and updated translations ============= -gedit 2.23.90 +pluma 2.23.90 ============= New Features and Fixes @@ -907,7 +907,7 @@ New and updated translations ============ -gedit 2.23.2 +pluma 2.23.2 ============ New Features and Fixes @@ -915,7 +915,7 @@ New Features and Fixes - remove libmate dependency, use eggsmclient for XSMP support (Johan Dahlin, Dan Winship) ============ -gedit 2.23.2 +pluma 2.23.2 ============ New Features and Fixes @@ -953,7 +953,7 @@ New and updated translations ============ -gedit 2.23.1 +pluma 2.23.1 ============ New Features and Fixes @@ -972,7 +972,7 @@ New and updated translations ============ -gedit 2.22.1 +pluma 2.22.1 ============ New Features and Fixes @@ -992,7 +992,7 @@ New and updated translations ============ -gedit 2.22.0 +pluma 2.22.0 ============ New Features and Fixes @@ -1023,7 +1023,7 @@ New and updated translations ============ -gedit 2.21.2 +pluma 2.21.2 ============ New Features and Fixes @@ -1065,7 +1065,7 @@ New and updated translations ============ -gedit 2.21.1 +pluma 2.21.1 ============ New Features and Fixes @@ -1101,7 +1101,7 @@ New and updated translations ============ -gedit 2.20.3 +pluma 2.20.3 ============ New Features and Fixes @@ -1115,7 +1115,7 @@ New and updated translations ============ -gedit 2.20.2 +pluma 2.20.2 ============ New Features and Fixes @@ -1145,7 +1145,7 @@ New and updated translations ============ -gedit 2.20.1 +pluma 2.20.1 ============ New Features and Fixes @@ -1164,7 +1164,7 @@ New and updated translations ============ -gedit 2.20.0 +pluma 2.20.0 ============ New and updated translations @@ -1186,7 +1186,7 @@ New and updated translations ============= -gedit 2.19.92 +pluma 2.19.92 ============= New Features and Fixes @@ -1215,7 +1215,7 @@ New and updated translations ============= -gedit 2.19.91 +pluma 2.19.91 ============= New Features and Fixes @@ -1241,7 +1241,7 @@ New and updated translations ============= -gedit 2.19.90 +pluma 2.19.90 ============= New Features and Fixes @@ -1270,7 +1270,7 @@ New and updated translations ============ -gedit 2.19.3 +pluma 2.19.3 ============ New Features and Fixes @@ -1308,7 +1308,7 @@ New and updated translations ============ -gedit 2.19.2 +pluma 2.19.2 ============ New Features and Fixes @@ -1334,14 +1334,14 @@ New and updated translations ============ -gedit 2.19.1 +pluma 2.19.1 ============ New Features and Fixes ====================== -- Port to gtksourceview 2: gedit now depends on gtksourceview 1.90.1 +- Port to gtksourceview 2: pluma now depends on gtksourceview 1.90.1 and on pygtksourceview 1.90.1 (if python plugins are enabled) - This brings to gedit a way more accurate and powerful highlighting + This brings to pluma a way more accurate and powerful highlighting engine. - Remove Syntax Highlighting configuration from the preference dialog since it was a pain to use and needs to be rethought to support diff --git a/README b/README index 0ffa8f8..0794c51 100755 --- a/README +++ b/README @@ -1,24 +1,25 @@ General Information =================== -This is version 2.30.4 of gedit. gedit is a small and lightweight UTF-8 text -editor for the MATE environment. +This is version 2011.11.7 of pluma. pluma is a small and lightweight UTF-8 text +editor for the MATE environment. Based on gedit, the text editor for the GNOME2 +environment. -gedit is part of MATE and uses the latest GTK+ and MATE libraries. -Complete MATE integration is featured, with support for Drag and Drop (DnD) +pluma is part of MATE and uses the latest GTK+ and MATE libraries. +Complete MATE integration is featured, with support for Drag and Drop (DnD) from Caja (the MATE file manager), the use of the MATE help system, the MATE Virtual File System and the MATE print framework. -gedit uses a Multiple Document Interface (MDI), which lets you edit more than +pluma uses a Multiple Document Interface (MDI), which lets you edit more than one document at the same time. -gedit supports most standard editing features, plus several not found in your +pluma supports most standard editing features, plus several not found in your average text editor (plugins being the most notable of these). -gedit plugins may also be written in the python scripting language: to enable +pluma plugins may also be written in the python scripting language: to enable python support you need the pygtk and mate-python-desktop bindings. -Although new features are always under development, currently gedit has: +Although new features are always under development, currently pluma has: * Complete support for UTF-8 text * Syntax highlighting @@ -30,7 +31,7 @@ Although new features are always under development, currently gedit has: * Configurable Plugin system, with optional python support -Some of the plugins, packaged and installed with gedit include, among others: +Some of the plugins, packaged and installed with pluma include, among others: * Word count * Spell checker @@ -45,38 +46,38 @@ Some of the plugins, packaged and installed with gedit include, among others: Other external plugins are also available. -gedit is released under the GNU General Public License (GPL) version 2, see +pluma is released under the GNU General Public License (GPL) version 2, see the file 'COPYING' for more information. The official web site is: - http://www.gedit.org + http://matsusoft.com.ar/projects/mate/ -You can download the latest gedit tarball from: +You can download the latest pluma tarball from: - http://download.mate.org/sources/gedit/ + https://sourceforge.net/projects/matede/files/ -Information about gedit mailing lists can be found at +Information about pluma mailing lists can be found at - http://mail.mate.org/mailman/listinfo/gedit-list + http://matsusoft.com.ar/projects/mate/ Installation ============ -gedit requires GTK+-2.16.x, GtkSourceView 2.4.x and MateConf libraries. +pluma requires GTK+-2.16.x, GtkSourceView 2.4.x and MateConf libraries. PyGobject 2.12.x, PyGtk 2.12.x and PyGtkSourceView 2.4.x are required to enable python plugins support. Simple install procedure: - % gzip -cd gedit-2.30.4.tar.gz | tar xvf - # unpack the sources - % cd gedit-2.30.4 # change to the toplevel directory + % gzip -cd pluma-2.30.4.tar.gz | tar xvf - # unpack the sources + % cd pluma-2.30.4 # change to the toplevel directory % ./configure # run the `configure' script - % make # build gedit + % make # build pluma [ Become root if necessary ] - % make install # install gedit + % make install # install pluma See the file 'INSTALL' for more detailed information. @@ -85,7 +86,7 @@ How to report bugs ================== Bugs should be reported to the MATE bug tracking system. -(http://bugzilla.mate.org, product gedit). You will need to create an +(http://bugzilla.gnome.org, product pluma). You will need to create an account for yourself. You can also report bugs using the MATE program bug-buddy. @@ -101,7 +102,7 @@ In the bug report please include: And anything else you think is relevant. -* How to reproduce the bug. +* How to reproduce the bug. * If the bug was a crash, the exact text that was printed out when the crash occurred. @@ -117,7 +118,7 @@ See the file 'BUGS' for the list of known bugs. Patches ======= -Patches should also be submitted to bugzilla.mate.org. If the patch +Patches should also be submitted to bugzilla.gnome.org. If the patch fixes an existing bug, add the patch as an attachment to that bug report. @@ -126,10 +127,10 @@ the patch to that bug report. Patches should be in unified diff form. (The -u option to GNU diff.) -If you are interested in helping us to develop gedit, please see the -file 'AUTHOR' for contact information and/or send a message to the gedit +If you are interested in helping us to develop pluma, please see the +file 'AUTHOR' for contact information and/or send a message to the pluma mailing list. See also the file 'HACKING' for more detailed information. - The gedit team. + The pluma team. diff --git a/autogen.sh b/autogen.sh index 2f04d3f..56cbab2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,8 +8,8 @@ PKG_NAME=mate-text-editor (test -f $srcdir/configure.ac \ && test -f $srcdir/autogen.sh \ - && test -d $srcdir/gedit \ - && test -f $srcdir/gedit/gedit.c) || { + && test -d $srcdir/pluma \ + && test -f $srcdir/pluma/pluma.c) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 diff --git a/configure.ac b/configure.ac index ba32f16..3646d79 100755 --- a/configure.ac +++ b/configure.ac @@ -2,23 +2,23 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.63.2) -m4_define(gedit_major_version, 2011) -m4_define(gedit_minor_version, 11) -m4_define(gedit_micro_version, 7) -m4_define(gedit_version, gedit_major_version.gedit_minor_version.gedit_micro_version) +m4_define(pluma_major_version, 2011) +m4_define(pluma_minor_version, 11) +m4_define(pluma_micro_version, 7) +m4_define(pluma_version, pluma_major_version.pluma_minor_version.pluma_micro_version) -AC_INIT([gedit],[gedit_version],[http://bugzilla.mate.org/enter_bug.cgi?product=gedit],[gedit],[http://projects.mate.org/gedit/]) +AC_INIT([pluma],[pluma_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=pluma],[pluma],[http://projects.gnome.org/pluma/]) AC_CONFIG_HEADERS(config.h) -AC_CONFIG_SRCDIR(gedit/gedit.c) +AC_CONFIG_SRCDIR(pluma/pluma.c) AC_CONFIG_MACRO_DIR([m4]) -AC_DEFINE(GEDIT_MAJOR_VERSION, gedit_major_version, [Gedit major version]) -AC_SUBST(GEDIT_MAJOR_VERSION, gedit_major_version) -AC_DEFINE(GEDIT_MINOR_VERSION, gedit_minor_version, [Gedit minor version]) -AC_SUBST(GEDIT_MINOR_VERSION, gedit_minor_version) -AC_DEFINE(GEDIT_MICRO_VERSION, gedit_micro_version, [Gedit micro version]) -AC_SUBST(GEDIT_MICRO_VERSION, gedit_micro_version) +AC_DEFINE(PLUMA_MAJOR_VERSION, pluma_major_version, [Pluma major version]) +AC_SUBST(PLUMA_MAJOR_VERSION, pluma_major_version) +AC_DEFINE(PLUMA_MINOR_VERSION, pluma_minor_version, [Pluma minor version]) +AC_SUBST(PLUMA_MINOR_VERSION, pluma_minor_version) +AC_DEFINE(PLUMA_MICRO_VERSION, pluma_micro_version, [Pluma micro version]) +AC_SUBST(PLUMA_MICRO_VERSION, pluma_micro_version) AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip -Wno-portability]) AM_MAINTAINER_MODE @@ -37,8 +37,8 @@ AC_PROG_OBJC LT_PREREQ([2.2.6]) LT_INIT(disable-static) -GEDIT_API_VERSION=2.20 -AC_SUBST(GEDIT_API_VERSION) +PLUMA_API_VERSION=2.20 +AC_SUBST(PLUMA_API_VERSION) AC_PATH_PROG(MATECONFTOOL, mateconftool-2) @@ -50,12 +50,12 @@ AC_CHECK_LIB(m, floor) dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4") -dnl active plugins for gedit.schemas +dnl active plugins for pluma.schemas ACTIVE_PLUGINS="docinfo,modelines,filebrowser,spell,time" AC_SUBST(ACTIVE_PLUGINS) -dnl toolbar style for gedit schemas -TOOLBAR_STYLE="GEDIT_TOOLBAR_SYSTEM" +dnl toolbar style for pluma schemas +TOOLBAR_STYLE="PLUMA_TOOLBAR_SYSTEM" AC_SUBST(TOOLBAR_STYLE) dnl check for win32 platform @@ -63,7 +63,7 @@ AC_MSG_CHECKING([for Win32 platform]) case "$host" in *-*-mingw*|*-*-cygwin*) platform_win32=yes - TOOLBAR_STYLE="GEDIT_TOOLBAR_ICONS" + TOOLBAR_STYLE="PLUMA_TOOLBAR_ICONS" ;; *) platform_win32=no @@ -135,7 +135,7 @@ dnl =============================================================== # This macro expands DIR and assigns it to RET. # If DIR is NONE, then it's replaced by DEFAULT. # Based on AC_DEFINE_DIR -AC_DEFUN([GEDIT_FULLPATH], [ +AC_DEFUN([PLUMA_FULLPATH], [ test "x$prefix" = xNONE && prefix="$ac_default_prefix" test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ac_expand=[$]$1 @@ -145,8 +145,8 @@ AC_DEFUN([GEDIT_FULLPATH], [ ]) dnl FULL_LIBEXECDIR is used for X-MATE-Bugzilla-ExtraInfoScript expansion -dnl in data/gedit.desktop.in.in -GEDIT_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR) +dnl in data/pluma.desktop.in.in +PLUMA_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR) AC_SUBST(FULL_LIBEXECDIR) dnl ================================================================ @@ -154,7 +154,7 @@ dnl Gettext stuff. dnl ================================================================ IT_PROG_INTLTOOL([0.40.0]) -AC_SUBST([GETTEXT_PACKAGE], [gedit]) +AC_SUBST([GETTEXT_PACKAGE], [pluma]) AM_GNU_GETTEXT_VERSION([0.17]) AM_GLIB_GNU_GETTEXT AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME], [Define to the gettext package name.]) @@ -267,7 +267,7 @@ dnl ================================================================ dnl Start of pkg-config checks dnl ================================================================ -PKG_CHECK_MODULES(GEDIT, [ +PKG_CHECK_MODULES(PLUMA, [ libxml-2.0 >= 2.5.0 glib-2.0 >= 2.22.0 gthread-2.0 >= 2.13.0 @@ -287,13 +287,13 @@ else X11_LIBS= fi -GEDIT_CFLAGS="$GEDIT_CFLAGS $X11_CFLAGS" -GEDIT_LIBS="$GEDIT_LIBS $X11_LIBS" +PLUMA_CFLAGS="$PLUMA_CFLAGS $X11_CFLAGS" +PLUMA_LIBS="$PLUMA_LIBS $X11_LIBS" -AC_SUBST(GEDIT_CFLAGS) -AC_SUBST(GEDIT_LIBS) +AC_SUBST(PLUMA_CFLAGS) +AC_SUBST(PLUMA_LIBS) -dnl FIXME: Remove this when removing gedit-message-area +dnl FIXME: Remove this when removing pluma-message-area if $PKG_CONFIG --atleast-version 2.17.1 gtk+-2.0; then gtkatleast= @@ -303,7 +303,7 @@ fi AM_CONDITIONAL(BUILD_MESSAGE_AREA, test "$gtkatleast" = "no") -dnl FIXME: Remove this when removing gedit-spinner +dnl FIXME: Remove this when removing pluma-spinner if $PKG_CONFIG --atleast-version 2.19.0 gtk+-2.0; then gtkatleast= @@ -313,7 +313,7 @@ fi AM_CONDITIONAL(BUILD_SPINNER, test "$gtkatleast" = "no") if test "$gtkatleast" = "no"; then - AC_DEFINE([BUILD_SPINNER],[1],[Whether to use GeditSpinner instead of GtkSpinner]) + AC_DEFINE([BUILD_SPINNER],[1],[Whether to use PlumaSpinner instead of GtkSpinner]) fi if test "$os_osx" = "no" && @@ -484,44 +484,44 @@ fi # on win32 plugins must be able to resolve all symbols at link time # so we create a lib if test "$platform_win32" = yes; then - GEDIT_IMPLIB="-lgedit-$GEDIT_API_VERSION" - PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a" - LOADER_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a" + PLUMA_IMPLIB="-lpluma-$PLUMA_API_VERSION" + PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/pluma/libpluma-\$(PLUMA_API_VERSION).a" + LOADER_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/pluma/libpluma-\$(PLUMA_API_VERSION).a" if test "$os_win32" = yes; then PLUGIN_LIBTOOL_FLAGS="${PLUGIN_LIBTOOL_FLAGS} -mwindows" LOADER_LIBTOOL_FLAGS="${LOADER_LIBTOOL_FLAGS} -mwindows" fi else - GEDIT_IMPLIB="" + PLUMA_IMPLIB="" PLUGIN_LIBTOOL_FLAGS="-module -avoid-version" LOADER_LIBTOOL_FLAGS="-module -avoid-version" fi -AC_SUBST(GEDIT_IMPLIB) +AC_SUBST(PLUMA_IMPLIB) AC_SUBST(PLUGIN_LIBTOOL_FLAGS) AC_SUBST(LOADER_LIBTOOL_FLAGS) -GEDIT_PLUGINS_DATA_DIR="$datadir/gedit-2/plugins" -AC_SUBST(GEDIT_PLUGINS_DATA_DIR) +PLUMA_PLUGINS_DATA_DIR="$datadir/pluma-2/plugins" +AC_SUBST(PLUMA_PLUGINS_DATA_DIR) -GEDIT_PLUGINS_LIBS_DIR="$libdir/gedit-2/plugins" -AC_SUBST(GEDIT_PLUGINS_LIBS_DIR) +PLUMA_PLUGINS_LIBS_DIR="$libdir/pluma-2/plugins" +AC_SUBST(PLUMA_PLUGINS_LIBS_DIR) MATE_DOC_INIT([0.9.0],, [AC_MSG_WARN([[mate-doc-utils not found: documentation will not be built.]])]) AC_CONFIG_FILES([ Makefile -data/gedit.desktop.in -data/gedit-bugreport.sh -data/gedit.pc -data/gedit.schemas.in +data/pluma.desktop.in +data/pluma-bugreport.sh +data/pluma.pc +data/pluma.schemas.in data/Makefile docs/Makefile docs/reference/Makefile -gedit/dialogs/Makefile -gedit/smclient/Makefile -gedit/osx/Makefile -gedit/Makefile +pluma/dialogs/Makefile +pluma/smclient/Makefile +pluma/osx/Makefile +pluma/Makefile help/Makefile pixmaps/Makefile plugin-loaders/Makefile @@ -552,7 +552,7 @@ plugins/taglist/Makefile plugins/time/Makefile po/Makefile.in tests/Makefile -win32/gedit.iss +win32/pluma.iss win32/Makefile osx/Info.plist osx/Makefile]) @@ -570,29 +570,29 @@ Configuration: Gvfs metadata enabled: $enable_gvfs_metadata " -if expr ${GEDIT_MINOR_VERSION} % 2 > /dev/null; then - stable_version=`expr ${GEDIT_MINOR_VERSION} - 1` +if expr ${PLUMA_MINOR_VERSION} % 2 > /dev/null; then + stable_version=`expr ${PLUMA_MINOR_VERSION} - 1` cat << EOF *** IMPORTANT *** -This is an unstable version of gedit. +This is an unstable version of pluma. It is for test purposes only. Please, DO NOT use it in a production environment. It will probably crash and you will lose your data. -If you are looking for a stable release of gedit, either download +If you are looking for a stable release of pluma, either download it from: - http://ftp.mate.org/pub/mate/sources/gedit/2.${stable_version}/ + http://ftp.gnome.org/pub/mate/sources/pluma/2.${stable_version}/ -Or checkout the mate-${stable_version} branch of the gedit module from: +Or checkout the mate-${stable_version} branch of the pluma module from: - git://git.mate.org/gedit + git://git.gnome.org/pluma Thanks, -The gedit team +The pluma team *** END OF WARNING *** EOF diff --git a/data/Makefile.am b/data/Makefile.am index 0a09cca..a137334 100755 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,23 +1,23 @@ desktopdir = $(datadir)/applications -desktop_in_files = gedit.desktop.in +desktop_in_files = pluma.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ schemasdir = $(MATECONF_SCHEMA_FILE_DIR) -schemas_in_files = gedit.schemas.in +schemas_in_files = pluma.schemas.in schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ -man_MANS = gedit.1 +man_MANS = pluma.1 pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gedit-@GEDIT_API_VERSION@.pc +pkgconfig_DATA = pluma-@PLUMA_API_VERSION@.pc -gedit-@GEDIT_API_VERSION@.pc: gedit.pc - cp gedit.pc gedit-@GEDIT_API_VERSION@.pc +pluma-@PLUMA_API_VERSION@.pc: pluma.pc + cp pluma.pc pluma-@PLUMA_API_VERSION@.pc -bugreportdir = $(libexecdir)/gedit-2 -bugreport_SCRIPTS = gedit-bugreport.sh +bugreportdir = $(libexecdir)/pluma-2 +bugreport_SCRIPTS = pluma-bugreport.sh if MATECONF_SCHEMAS_INSTALL install-data-local: @@ -33,10 +33,10 @@ endif EXTRA_DIST = \ $(desktop_in_files) \ $(schemas_in_files) \ - gedit.schemas.in.in \ + pluma.schemas.in.in \ $(man_MANS) \ - gedit.pc.in \ - gedit-bugreport.sh.in + pluma.pc.in \ + pluma-bugreport.sh.in CLEANFILES = \ $(desktop_DATA) \ diff --git a/data/gedit-bugreport.sh.in b/data/pluma-bugreport.sh.in similarity index 83% rename from data/gedit-bugreport.sh.in rename to data/pluma-bugreport.sh.in index 24ee6a4..d59d796 100755 --- a/data/gedit-bugreport.sh.in +++ b/data/pluma-bugreport.sh.in @@ -20,22 +20,22 @@ echo_padded () #if (which mateconftool-2 >/dev/null) #then # echo "MateConf configuration dump:" -# mateconftool-2 --dump /apps/gedit-2 | grep -Ev " - /schemas/apps/gedit-2/preferences/editor/font/use_default_font - /apps/gedit-2/preferences/editor/font/use_default_font - gedit + /schemas/apps/pluma-2/preferences/editor/font/use_default_font + /apps/pluma-2/preferences/editor/font/use_default_font + pluma bool TRUE Use Default Font Whether to use the system's default fixed width font for editing - text instead of a font specific to gedit. If this option is turned + text instead of a font specific to pluma. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font. - /schemas/apps/gedit-2/preferences/editor/font/editor_font - /apps/gedit-2/preferences/editor/font/editor_font - gedit + /schemas/apps/pluma-2/preferences/editor/font/editor_font + /apps/pluma-2/preferences/editor/font/editor_font + pluma string [UTF-8,CURRENT,ISO-8859-15,UTF-16] Automatically Detected Encodings - Sorted list of encodings used by gedit for automatically detecting the encoding of + Sorted list of encodings used by pluma for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used. - /schemas/apps/gedit-2/preferences/encodings/shown_in_menu - /apps/gedit-2/preferences/encodings/shown_in_menu - gedit + /schemas/apps/pluma-2/preferences/encodings/shown_in_menu + /apps/pluma-2/preferences/encodings/shown_in_menu + pluma list string @@ -470,66 +470,66 @@ - /schemas/apps/gedit-2/preferences/syntax_highlighting/enable - /apps/gedit-2/preferences/syntax_highlighting/enable - gedit + /schemas/apps/pluma-2/preferences/syntax_highlighting/enable + /apps/pluma-2/preferences/syntax_highlighting/enable + pluma bool TRUE Enable Syntax Highlighting - Whether gedit should enable syntax highlighting. + Whether pluma should enable syntax highlighting. - /schemas/apps/gedit-2/plugins/active-plugins - /apps/gedit-2/plugins/active-plugins - gedit + /schemas/apps/pluma-2/plugins/active-plugins + /apps/pluma-2/plugins/active-plugins + pluma list string [@ACTIVE_PLUGINS@] Active plugins - List of active plugins. It contains the "Location" of the active plugins. See the .gedit-plugin file for obtaining + List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining the "Location" of a given plugin. - /schemas/apps/gedit-2/preferences/editor/save/writable_vfs_schemes - /apps/gedit-2/preferences/editor/save/writable_vfs_schemes - gedit + /schemas/apps/pluma-2/preferences/editor/save/writable_vfs_schemes + /apps/pluma-2/preferences/editor/save/writable_vfs_schemes + pluma list string [dav,davs,ftp,sftp,smb,ssh] Writable VFS schemes - List of VFS schemes gedit supports in write mode. The 'file' scheme + List of VFS schemes pluma supports in write mode. The 'file' scheme is writable by default. - /schemas/apps/gedit-2/preferences/editor/cursor_position/restore_cursor_position - /apps/gedit-2/preferences/editor/cursor_position/restore_cursor_position - gedit + /schemas/apps/pluma-2/preferences/editor/cursor_position/restore_cursor_position + /apps/pluma-2/preferences/editor/cursor_position/restore_cursor_position + pluma bool TRUE Restore Previous Cursor Position - Whether gedit should restore the previous cursor position when a file is loaded. + Whether pluma should restore the previous cursor position when a file is loaded. - /schemas/apps/gedit-2/preferences/editor/search_highlighting/enable - /apps/gedit-2/preferences/editor/search_highlighting/enable - gedit + /schemas/apps/pluma-2/preferences/editor/search_highlighting/enable + /apps/pluma-2/preferences/editor/search_highlighting/enable + pluma bool TRUE Enable Search Highlighting - Whether gedit should highlight all the occurrences of the searched text. + Whether pluma should highlight all the occurrences of the searched text. diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD index 8e3cf25..617b4e0 100644 --- a/distro/archlinux/PKGBUILD +++ b/distro/archlinux/PKGBUILD @@ -9,12 +9,12 @@ license=('GPL') depends=('mate-conf' 'gtk2' 'gtksourceview2' 'libxml2' 'pygtksourceview2') makedepends=('pkgconfig' 'mate-doc-utils' 'intltool') options=('!emptydirs' '!libtool') -conflicts=('gedit') +conflicts=('pluma') url="http://matsusoft.com.ar/projects" groups=('mate-extras') install=mate-text-editor.install source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) -sha256sums=('181779b25161a030f6ed25bce1af160d1d82bbbda43f26ab2329219e3e2539ec') +sha256sums=('24d479745aa4eee503bf12d7cfe4ea60a58ff23f708a2b0c3b1f0862a69b6423') build() { cd "${srcdir}/${pkgname}" diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 389a9ab..9b777bc 100755 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -6,7 +6,7 @@ AUTOMAKE_OPTIONS = 1.6 # The name of the module, e.g. 'glib'. -DOC_MODULE=gedit +DOC_MODULE=pluma # The top-level SGML file. You can change this if you want to. DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml @@ -14,7 +14,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml # The directory containing the source code. Relative to $(srcdir). # gtk-doc will search all .c & .h files beneath here for inline comments # documenting the functions and macros. -DOC_SOURCE_DIR=../../gedit +DOC_SOURCE_DIR=../../pluma # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= @@ -35,41 +35,41 @@ MKTMPL_OPTIONS= FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. -HFILE_GLOB=$(top_srcdir)/gedit/*.h -CFILE_GLOB=$(top_srcdir)/gedit/*.c +HFILE_GLOB=$(top_srcdir)/pluma/*.h +CFILE_GLOB=$(top_srcdir)/pluma/*.c -# Header files to ignore when scanning (These are internal to gedit). +# Header files to ignore when scanning (These are internal to pluma). IGNORE_HFILES= \ - gedit-commands.h \ - gedit-document-loader.h \ - gedit-document-saver.h \ - gedit-documents-panel.h \ - gedit-io-error-message-area.h \ - gedit-languages-manager.h \ - gedit-message-area.h \ - gedit-object-module.h \ - gedit-plugin-manager.h \ - gedit-plugins-engine.h \ - gedit-prefs-manager-private.h \ - gedit-session.h \ - gedit-spinner.h \ - gedit-ui.h \ - gedit-window-private.h \ - gedit-output-window.h \ - gedit-close-confirmation-dialog.h \ - gedit-encodings-dialog.h \ - gedit-open-location-dialog.h \ - gedit-page-setup-dialog.h \ - gedit-preferences-dialog.h \ - gedit-search-dialog.h \ - gedit-marshal.h \ - gedit-enum-types.h + pluma-commands.h \ + pluma-document-loader.h \ + pluma-document-saver.h \ + pluma-documents-panel.h \ + pluma-io-error-message-area.h \ + pluma-languages-manager.h \ + pluma-message-area.h \ + pluma-object-module.h \ + pluma-plugin-manager.h \ + pluma-plugins-engine.h \ + pluma-prefs-manager-private.h \ + pluma-session.h \ + pluma-spinner.h \ + pluma-ui.h \ + pluma-window-private.h \ + pluma-output-window.h \ + pluma-close-confirmation-dialog.h \ + pluma-encodings-dialog.h \ + pluma-open-location-dialog.h \ + pluma-page-setup-dialog.h \ + pluma-preferences-dialog.h \ + pluma-search-dialog.h \ + pluma-marshal.h \ + pluma-enum-types.h -# These files are not part of gedit but were copied into it for some reason. +# These files are not part of pluma but were copied into it for some reason. # Do not parse them to make the docs. IGNORE_HFILES += \ bacon-message-connection.h \ - gedittextregion.h \ + plumatextregion.h \ sexy-icon-entry.h # Images to copy into HTML directory. @@ -88,15 +88,15 @@ expand_content_files= # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. GTKDOC_CFLAGS= \ - -I$(top_srcdir)/gedit \ - -I$(top_builddir)/gedit \ + -I$(top_srcdir)/pluma \ + -I$(top_builddir)/pluma \ -I$(top_srcdir) \ -I$(top_builddir) \ - $(GEDIT_CFLAGS) + $(PLUMA_CFLAGS) GTKDOC_LIBS= \ - $(top_builddir)/gedit/libgedit.la \ - $(GEDIT_LIBS) + $(top_builddir)/pluma/libpluma.la \ + $(PLUMA_LIBS) if ENABLE_PYTHON GTKDOC_CFLAGS += \ @@ -105,7 +105,7 @@ GTKDOC_CFLAGS += \ $(PYTHON_CFLAGS) \ $(AM_CFLAGS) GTKDOC_LIBS += \ - $(top_builddir)/plugin-loaders/python/bindings/gedit.la + $(top_builddir)/plugin-loaders/python/bindings/pluma.la endif # This includes the standard gtk-doc make rules, copied by gtkdocize. @@ -115,7 +115,7 @@ include $(top_srcdir)/gtk-doc.make # e.g. EXTRA_DIST += version.xml.in regenerate-types: - grep _get_type $(DOC_SOURCE_DIR)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > gedit.types - grep _get_type $(DOC_SOURCE_DIR)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> gedit.types.new + grep _get_type $(DOC_SOURCE_DIR)/pluma-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > pluma.types + grep _get_type $(DOC_SOURCE_DIR)/pluma-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> pluma.types.new -include $(top_srcdir)/git.mk diff --git a/docs/reference/gedit-docs.sgml b/docs/reference/gedit-docs.sgml deleted file mode 100755 index f2199b5..0000000 --- a/docs/reference/gedit-docs.sgml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - gedit Reference Manual - - - - gedit - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/reference/gedit-sections.txt b/docs/reference/gedit-sections.txt deleted file mode 100755 index 5ad2ac2..0000000 --- a/docs/reference/gedit-sections.txt +++ /dev/null @@ -1,809 +0,0 @@ -
-gedit-app -GeditAppPrivate -GeditApp -GeditApp -GeditLockdownMask -gedit_app_get_default -gedit_app_create_window -gedit_app_get_windows -gedit_app_get_active_window -gedit_app_get_documents -gedit_app_get_views -gedit_app_get_lockdown - -GEDIT_APP -GEDIT_IS_APP -GEDIT_TYPE_APP -gedit_app_get_type -GEDIT_APP_CLASS -GEDIT_IS_APP_CLASS -GEDIT_APP_GET_CLASS -
- -
-gedit-document -GeditSearchFlags -GeditDocumentPrivate -GeditDocument -GeditDocument -GeditDocumentSaveFlags -GEDIT_DOCUMENT_ERROR -gedit_document_error_quark -gedit_document_new -gedit_document_get_uri -gedit_document_get_uri_for_display -gedit_document_get_short_name_for_display -gedit_document_get_mime_type -gedit_document_get_readonly -gedit_document_load -gedit_document_insert_file -gedit_document_load_cancel -gedit_document_save -gedit_document_save_as -gedit_document_is_untouched -gedit_document_is_untitled -gedit_document_get_deleted -gedit_document_goto_line -gedit_document_set_search_text -gedit_document_get_search_text -gedit_document_get_can_search_again -gedit_document_search_forward -gedit_document_search_backward -gedit_document_replace_all -gedit_document_set_language -gedit_document_set_enable_search_highlighting -gedit_document_get_enable_search_highlighting -GEDIT_SEARCH_IS_DONT_SET_FLAGS -GEDIT_SEARCH_SET_DONT_SET_FLAGS -GEDIT_SEARCH_IS_ENTIRE_WORD -GEDIT_SEARCH_SET_ENTIRE_WORD -GEDIT_SEARCH_IS_CASE_SENSITIVE -GEDIT_SEARCH_SET_CASE_SENSITIVE - -GEDIT_DOCUMENT -GEDIT_IS_DOCUMENT -GEDIT_TYPE_DOCUMENT -gedit_document_get_type -GEDIT_DOCUMENT_CLASS -GEDIT_IS_DOCUMENT_CLASS -GEDIT_DOCUMENT_GET_CLASS -
- -
-gedit-encodings-option-menu -GeditEncodingsOptionMenuPrivate -GeditEncodingsOptionMenu -GeditEncodingsOptionMenu -gedit_encodings_option_menu_new -gedit_encodings_option_menu_get_selected_encoding -gedit_encodings_option_menu_set_selected_encoding - -GEDIT_ENCODINGS_OPTION_MENU -GEDIT_IS_ENCODINGS_OPTION_MENU -GEDIT_TYPE_ENCODINGS_OPTION_MENU -gedit_encodings_option_menu_get_type -GEDIT_ENCODINGS_OPTION_MENU_CLASS -GEDIT_IS_ENCODINGS_OPTION_MENU_CLASS -GEDIT_ENCODINGS_OPTION_MENU_GET_CLASS -
- -
-gedit-file-chooser-dialog -GeditFileChooserDialogPrivate -GeditFileChooserDialog -GeditFileChooserDialog -gedit_file_chooser_dialog_new -gedit_file_chooser_dialog_set_encoding - -GEDIT_FILE_CHOOSER_DIALOG -GEDIT_IS_FILE_CHOOSER_DIALOG -GEDIT_TYPE_FILE_CHOOSER_DIALOG -gedit_file_chooser_dialog_get_type -GEDIT_FILE_CHOOSER_DIALOG_CLASS -GEDIT_IS_FILE_CHOOSER_DIALOG_CLASS -GEDIT_FILE_CHOOSER_DIALOG_GET_CLASS -
- -
-gedit-message-bus -GeditMessageBus -GeditMessageBus -GeditMessageCallback -gedit_message_bus_get_default -gedit_message_bus_new -gedit_message_bus_lookup -gedit_message_bus_register -gedit_message_bus_unregister -gedit_message_bus_unregister_all -gedit_message_bus_is_registered -gedit_message_bus_foreach -gedit_message_bus_connect -gedit_message_bus_disconnect -gedit_message_bus_disconnect_by_func -gedit_message_bus_block -gedit_message_bus_block_by_func -gedit_message_bus_unblock -gedit_message_bus_unblock_by_func -gedit_message_bus_send_message -gedit_message_bus_send_message_sync -gedit_message_bus_send -gedit_message_bus_send_sync - -GEDIT_MESSAGE_BUS -GEDIT_IS_MESSAGE_BUS -GEDIT_TYPE_MESSAGE_BUS -gedit_message_bus_get_type -GEDIT_MESSAGE_BUS_CLASS -GEDIT_IS_MESSAGE_BUS_CLASS -GEDIT_MESSAGE_BUS_GET_CLASS -
- -
-gedit-message-type -GeditMessageType -GeditMessageType -gedit_message_type_get_type -gedit_message_type_is_supported -gedit_message_type_identifier -gedit_message_type_is_valid_object_path -gedit_message_type_new -gedit_message_type_new_valist -gedit_message_type_ref -gedit_message_type_unref -gedit_message_type_set -gedit_message_type_set_valist -gedit_message_type_instantiate -gedit_message_type_instantiate_valist -gedit_message_type_get_object_path -gedit_message_type_get_method -gedit_message_type_lookup -gedit_message_type_foreach - -GEDIT_TYPE_MESSAGE_TYPE -
- -
-gedit-message -GeditMessage -GeditMessage -gedit_message_get -gedit_message_get_valist -gedit_message_get_value -gedit_message_set -gedit_message_set_valist -gedit_message_set_value -gedit_message_set_valuesv -gedit_message_get_object_path -gedit_message_get_method -gedit_message_has_key -gedit_message_get_key_type -gedit_message_validate - -GEDIT_MESSAGE -GEDIT_IS_MESSAGE -GEDIT_TYPE_MESSAGE -gedit_message_get_type -GEDIT_MESSAGE_CLASS -GEDIT_IS_MESSAGE_CLASS -GEDIT_MESSAGE_GET_CLASS -
- -
-gedit-notebook -GeditNotebookPrivate -GeditNotebook -GeditNotebook -gedit_notebook_new -gedit_notebook_add_tab -gedit_notebook_remove_tab -gedit_notebook_remove_all_tabs -gedit_notebook_reorder_tab -gedit_notebook_move_tab -gedit_notebook_set_always_show_tabs -gedit_notebook_set_close_buttons_sensitive -gedit_notebook_get_close_buttons_sensitive -gedit_notebook_set_tab_drag_and_drop_enabled -gedit_notebook_get_tab_drag_and_drop_enabled - -GEDIT_NOTEBOOK -GEDIT_IS_NOTEBOOK -GEDIT_TYPE_NOTEBOOK -gedit_notebook_get_type -GEDIT_NOTEBOOK_CLASS -GEDIT_IS_NOTEBOOK_CLASS -GEDIT_NOTEBOOK_GET_CLASS -
- -
-gedit-panel -GeditPanelPrivate -GeditPanel -GeditPanel -gedit_panel_new -gedit_panel_add_item -gedit_panel_add_item_with_stock_icon -gedit_panel_remove_item -gedit_panel_activate_item -gedit_panel_item_is_active -gedit_panel_get_orientation -gedit_panel_get_n_items - -GEDIT_PANEL -GEDIT_IS_PANEL -GEDIT_TYPE_PANEL -gedit_panel_get_type -GEDIT_PANEL_CLASS -GEDIT_IS_PANEL_CLASS -GEDIT_PANEL_GET_CLASS -
- -
-gedit-plugin -GeditPlugin -GeditPlugin -gedit_plugin_activate -gedit_plugin_deactivate -gedit_plugin_update_ui -gedit_plugin_is_configurable -gedit_plugin_create_configure_dialog -GEDIT_PLUGIN_REGISTER_TYPE - -GEDIT_PLUGIN -GEDIT_IS_PLUGIN -GEDIT_TYPE_PLUGIN -gedit_plugin_get_type -GEDIT_PLUGIN_CLASS -GEDIT_IS_PLUGIN_CLASS -GEDIT_PLUGIN_GET_CLASS -GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE -GEDIT_PLUGIN_REGISTER_TYPE -GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE -GEDIT_PLUGIN_DEFINE_TYPE -
- -
-gedit-print-job-preview -GeditPrintJobPreviewPrivate -GeditPrintJobPreview -GeditPrintJobPreview -gedit_print_job_preview_new - -GEDIT_PRINT_JOB_PREVIEW -GEDIT_IS_PRINT_JOB_PREVIEW -GEDIT_TYPE_PRINT_JOB_PREVIEW -gedit_print_job_preview_get_type -GEDIT_PRINT_JOB_PREVIEW_CLASS -GEDIT_IS_PRINT_JOB_PREVIEW_CLASS -GEDIT_PRINT_JOB_PREVIEW_GET_CLASS -
- -
-gedit-print -GeditPrintJob -GeditPrintJob -gedit_print_job_new -gedit_print_job_save_config -gedit_print_dialog_new - -GEDIT_PRINT_JOB -GEDIT_IS_PRINT_JOB -GEDIT_TYPE_PRINT_JOB -gedit_print_job_get_type -GEDIT_PRINT_JOB_CLASS -GEDIT_IS_PRINT_JOB_CLASS -GEDIT_PRINT_JOB_GET_CLASS -
- -
-gedit-progress-message-area -GeditProgressMessageAreaPrivate -GeditProgressMessageArea -GeditProgressMessageArea -gedit_progress_message_area_new -gedit_progress_message_area_set_stock_image -gedit_progress_message_area_set_markup -gedit_progress_message_area_set_text -gedit_progress_message_area_set_fraction -gedit_progress_message_area_pulse - -GEDIT_PROGRESS_MESSAGE_AREA -GEDIT_IS_PROGRESS_MESSAGE_AREA -GEDIT_TYPE_PROGRESS_MESSAGE_AREA -gedit_progress_message_area_get_type -GEDIT_PROGRESS_MESSAGE_AREA_CLASS -GEDIT_IS_PROGRESS_MESSAGE_AREA_CLASS -GEDIT_PROGRESS_MESSAGE_AREA_GET_CLASS -
- -
-gedit-statusbar -GeditStatusbarPrivate -GeditStatusbar -GeditStatusbar -gedit_statusbar_new -GeditStatus -gedit_statusbar_set_window_state -gedit_statusbar_set_overwrite -gedit_statusbar_set_cursor_position -gedit_statusbar_clear_overwrite -gedit_statusbar_flash_message - -GEDIT_STATUSBAR -GEDIT_IS_STATUSBAR -GEDIT_TYPE_STATUSBAR -gedit_statusbar_get_type -GEDIT_STATUSBAR_CLASS -GEDIT_IS_STATUSBAR_CLASS -GEDIT_STATUSBAR_GET_CLASS -
- -
-gedit-tab -GeditTabState -GeditTabPrivate -GeditTab -GeditTab -gedit_tab_get_view -gedit_tab_get_document -gedit_tab_get_from_document -gedit_tab_get_state -gedit_tab_get_auto_save_enabled -gedit_tab_set_auto_save_enabled -gedit_tab_get_auto_save_interval -gedit_tab_set_auto_save_interval - -GEDIT_TAB -GEDIT_IS_TAB -GEDIT_TYPE_TAB -gedit_tab_get_type -GEDIT_TAB_CLASS -GEDIT_IS_TAB_CLASS -GEDIT_TAB_GET_CLASS -
- -
-gedit-view -GeditViewPrivate -GeditView -GeditView -gedit_view_new -gedit_view_cut_clipboard -gedit_view_copy_clipboard -gedit_view_paste_clipboard -gedit_view_delete_selection -gedit_view_select_all -gedit_view_scroll_to_cursor -gedit_view_set_colors -gedit_view_set_font - -GEDIT_VIEW -GEDIT_IS_VIEW -GEDIT_TYPE_VIEW -gedit_view_get_type -GEDIT_VIEW_CLASS -GEDIT_IS_VIEW_CLASS -GEDIT_VIEW_GET_CLASS -
- -
-gedit-window -GeditWindowState -GeditWindowPrivate -GeditWindow -GeditWindow -gedit_window_create_tab -gedit_window_create_tab_from_uri -gedit_window_close_tab -gedit_window_close_all_tabs -gedit_window_close_tabs -gedit_window_get_active_tab -gedit_window_set_active_tab -gedit_window_get_active_view -gedit_window_get_active_document -gedit_window_get_documents -gedit_window_get_unsaved_documents -gedit_window_get_views -gedit_window_get_group -gedit_window_get_side_panel -gedit_window_get_bottom_panel -gedit_window_get_statusbar -gedit_window_get_ui_manager -gedit_window_get_state -gedit_window_get_tab_from_location -gedit_window_get_tab_from_uri -gedit_window_get_message_bus - -GEDIT_WINDOW -GEDIT_IS_WINDOW -GEDIT_TYPE_WINDOW -gedit_window_get_type -GEDIT_WINDOW_CLASS -GEDIT_IS_WINDOW_CLASS -GEDIT_WINDOW_GET_CLASS -
- -
-gedit-convert -GeditConvertError -GEDIT_CONVERT_ERROR -gedit_convert_error_quark -gedit_convert_to_utf8 -gedit_convert_from_utf8 -
- -
-gedit-debug -GeditDebugSection -DEBUG_VIEW -DEBUG_SEARCH -DEBUG_PRINT -DEBUG_PREFS -DEBUG_PLUGINS -DEBUG_TAB -DEBUG_DOCUMENT -DEBUG_COMMANDS -DEBUG_APP -DEBUG_SESSION -DEBUG_UTILS -DEBUG_METADATA -DEBUG_WINDOW -DEBUG_LOADER -DEBUG_SAVER -gedit_debug_init -gedit_debug -gedit_debug_message -
- -
-gedit-encodings -GeditEncoding -GEDIT_TYPE_ENCODING -gedit_encoding_get_type -gedit_encoding_copy -gedit_encoding_free -gedit_encoding_get_from_charset -gedit_encoding_get_from_index -gedit_encoding_to_string -gedit_encoding_get_name -gedit_encoding_get_charset -gedit_encoding_get_utf8 -gedit_encoding_get_current -
- -
-gedit-help -gedit_help_display -
- -
-gedit-metadata-manager -gedit_metadata_manager_shutdown -gedit_metadata_manager_get -gedit_metadata_manager_set -
- -
-gedit-prefs-manager-app -gedit_prefs_manager_app_init -gedit_prefs_manager_app_shutdown -gedit_prefs_manager_get_window_state -gedit_prefs_manager_set_window_state -gedit_prefs_manager_window_state_can_set -gedit_prefs_manager_get_window_size -gedit_prefs_manager_get_default_window_size -gedit_prefs_manager_set_window_size -gedit_prefs_manager_window_size_can_set -gedit_prefs_manager_get_side_panel_size -gedit_prefs_manager_get_default_side_panel_size -gedit_prefs_manager_set_side_panel_size -gedit_prefs_manager_side_panel_size_can_set -gedit_prefs_manager_get_bottom_panel_size -gedit_prefs_manager_get_default_bottom_panel_size -gedit_prefs_manager_set_bottom_panel_size -gedit_prefs_manager_bottom_panel_size_can_set -
- -
-gedit-prefs-manager -GEDIT_BASE_KEY -GPM_PREFS_DIR -GPM_FONT_DIR -GPM_USE_DEFAULT_FONT -GPM_EDITOR_FONT -GPM_COLORS_DIR -GPM_USE_DEFAULT_COLORS -GPM_BACKGROUND_COLOR -GPM_TEXT_COLOR -GPM_SELECTED_TEXT_COLOR -GPM_SELECTION_COLOR -GPM_SAVE_DIR -GPM_CREATE_BACKUP_COPY -GPM_BACKUP_COPY_EXTENSION -GPM_AUTO_SAVE -GPM_AUTO_SAVE_INTERVAL -GPM_UNDO_DIR -GPM_UNDO_ACTIONS_LIMIT -GPM_WRAP_MODE_DIR -GPM_WRAP_MODE -GPM_TABS_DIR -GPM_TABS_SIZE -GPM_INSERT_SPACES -GPM_AUTO_INDENT_DIR -GPM_AUTO_INDENT -GPM_LINE_NUMBERS_DIR -GPM_DISPLAY_LINE_NUMBERS -GPM_CURRENT_LINE_DIR -GPM_HIGHLIGHT_CURRENT_LINE -GPM_BRACKET_MATCHING_DIR -GPM_BRACKET_MATCHING -GPM_RIGHT_MARGIN_DIR -GPM_DISPLAY_RIGHT_MARGIN -GPM_RIGHT_MARGIN_POSITION -GPM_CURSOR_POSITION_DIR -GPM_RESTORE_CURSOR_POSITION -GPM_SEARCH_HIGHLIGHTING_DIR -GPM_SEARCH_HIGHLIGHTING_ENABLE -GPM_TOOLBAR_DIR -GPM_TOOLBAR_VISIBLE -GPM_TOOLBAR_BUTTONS_STYLE -GPM_STATUSBAR_DIR -GPM_STATUSBAR_VISIBLE -GPM_SIDE_PANE_DIR -GPM_SIDE_PANE_VISIBLE -GPM_BOTTOM_PANEL_DIR -GPM_BOTTOM_PANEL_VISIBLE -GPM_RECENTS_DIR -GPM_MAX_RECENTS -GPM_PRINT_PAGE_DIR -GPM_PRINT_SYNTAX -GPM_PRINT_HEADER -GPM_PRINT_WRAP_MODE -GPM_PRINT_LINE_NUMBERS -GPM_PRINT_FONT_DIR -GPM_PRINT_FONT_BODY -GPM_PRINT_FONT_BODY_PANGO -GPM_PRINT_FONT_HEADER -GPM_PRINT_FONT_HEADER_PANGO -GPM_PRINT_FONT_NUMBERS -GPM_PRINT_FONT_NUMBERS_PANGO -GPM_WINDOW_DIR -GPM_WINDOW_STATE -GPM_WINDOW_WIDTH -GPM_WINDOW_HEIGHT -GPM_SIDE_PANEL_SIZE -GPM_BOTTOM_PANEL_SIZE -GPM_ENCODINGS_DIR -GPM_AUTO_DETECTED_ENCODINGS -GPM_SHOWN_IN_MENU_ENCODINGS -GPM_SYNTAX_HL_DIR -GPM_SYNTAX_HL_ENABLE -GPM_WRITABLE_VFS_SCHEMES -GPM_LOCKDOWN_DIR -GPM_LOCKDOWN_COMMAND_LINE -GPM_LOCKDOWN_PRINTING -GPM_LOCKDOWN_PRINT_SETUP -GPM_LOCKDOWN_SAVE_TO_DISK -GPM_DEFAULT_USE_DEFAULT_FONT -GPM_DEFAULT_EDITOR_FONT -GPM_DEFAULT_USE_DEFAULT_COLORS -GPM_DEFAULT_BACKGROUND_COLOR -GPM_DEFAULT_TEXT_COLOR -GPM_DEFAULT_SELECTED_TEXT_COLOR -GPM_DEFAULT_SELECTION_COLOR -GPM_DEFAULT_CREATE_BACKUP_COPY -GPM_DEFAULT_BACKUP_COPY_EXTENSION -GPM_DEFAULT_AUTO_SAVE -GPM_DEFAULT_AUTO_SAVE_INTERVAL -GPM_DEFAULT_UNDO_ACTIONS_LIMIT -GPM_DEFAULT_WRAP_MODE -GPM_DEFAULT_TABS_SIZE -GPM_DEFAULT_INSERT_SPACES -GPM_DEFAULT_AUTO_INDENT -GPM_DEFAULT_DISPLAY_LINE_NUMBERS -GPM_DEFAULT_AUTO_DETECTED_ENCODINGS -GPM_DEFAULT_TOOLBAR_VISIBLE -GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE -GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS -GPM_DEFAULT_STATUSBAR_VISIBLE -GPM_DEFAULT_SIDE_PANE_VISIBLE -GPM_DEFAULT_BOTTOM_PANEL_VISIBLE -GPM_DEFAULT_PRINT_SYNTAX -GPM_DEFAULT_PRINT_HEADER -GPM_DEFAULT_PRINT_WRAP_MODE -GPM_DEFAULT_PRINT_LINE_NUMBERS -GPM_DEFAULT_PRINT_FONT_BODY_PANGO -GPM_DEFAULT_PRINT_FONT_HEADER_PANGO -GPM_DEFAULT_PRINT_FONT_NUMBERS_PANGO -GPM_DEFAULT_MAX_RECENTS -GPM_DEFAULT_WINDOW_STATE -GPM_DEFAULT_WINDOW_WIDTH -GPM_DEFAULT_WINDOW_HEIGHT -GPM_DEFAULT_WINDOW_STATE_STR -GPM_DEFAULT_WINDOW_WIDTH_STR -GPM_DEFAULT_WINDOW_HEIGHT_STR -GPM_DEFAULT_SIDE_PANEL_SIZE -GPM_DEFAULT_BOTTOM_PANEL_SIZE -GPM_DEFAULT_SIDE_PANEL_SIZE_STR -GPM_DEFAULT_BOTTOM_PANEL_SIZE_STR -GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE -GPM_DEFAULT_BRACKET_MATCHING -GPM_DEFAULT_DISPLAY_RIGHT_MARGIN -GPM_DEFAULT_RIGHT_MARGIN_POSITION -GPM_DEFAULT_SYNTAX_HL_ENABLE -GPM_DEFAULT_WRITABLE_VFS_SCHEMES -GPM_DEFAULT_RESTORE_CURSOR_POSITION -GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE -GeditToolbarSetting -gedit_prefs_manager_init -gedit_prefs_manager_shutdown -gedit_prefs_manager_get_use_default_font -gedit_prefs_manager_set_use_default_font -gedit_prefs_manager_use_default_font_can_set -gedit_prefs_manager_get_editor_font -gedit_prefs_manager_set_editor_font -gedit_prefs_manager_editor_font_can_set -gedit_prefs_manager_get_use_default_colors -gedit_prefs_manager_set_use_default_colors -gedit_prefs_manager_use_default_colors_can_set -gedit_prefs_manager_get_background_color -gedit_prefs_manager_set_background_color -gedit_prefs_manager_background_color_can_set -gedit_prefs_manager_get_text_color -gedit_prefs_manager_set_text_color -gedit_prefs_manager_text_color_can_set -gedit_prefs_manager_get_selection_color -gedit_prefs_manager_set_selection_color -gedit_prefs_manager_selection_color_can_set -gedit_prefs_manager_get_selected_text_color -gedit_prefs_manager_set_selected_text_color -gedit_prefs_manager_selected_text_color_can_set -gedit_prefs_manager_get_create_backup_copy -gedit_prefs_manager_set_create_backup_copy -gedit_prefs_manager_create_backup_copy_can_set -gedit_prefs_manager_get_backup_extension -gedit_prefs_manager_get_auto_save -gedit_prefs_manager_set_auto_save -gedit_prefs_manager_auto_save_can_set -gedit_prefs_manager_get_auto_save_interval -gedit_prefs_manager_set_auto_save_interval -gedit_prefs_manager_auto_save_interval_can_set -gedit_prefs_manager_get_undo_actions_limit -gedit_prefs_manager_set_undo_actions_limit -gedit_prefs_manager_undo_actions_limit_can_set -gedit_prefs_manager_get_wrap_mode -gedit_prefs_manager_set_wrap_mode -gedit_prefs_manager_wrap_mode_can_set -gedit_prefs_manager_get_tabs_size -gedit_prefs_manager_set_tabs_size -gedit_prefs_manager_tabs_size_can_set -gedit_prefs_manager_get_insert_spaces -gedit_prefs_manager_set_insert_spaces -gedit_prefs_manager_insert_spaces_can_set -gedit_prefs_manager_get_auto_indent -gedit_prefs_manager_set_auto_indent -gedit_prefs_manager_auto_indent_can_set -gedit_prefs_manager_get_display_line_numbers -gedit_prefs_manager_set_display_line_numbers -gedit_prefs_manager_display_line_numbers_can_set -gedit_prefs_manager_get_toolbar_visible -gedit_prefs_manager_set_toolbar_visible -gedit_prefs_manager_toolbar_visible_can_set -gedit_prefs_manager_get_toolbar_buttons_style -gedit_prefs_manager_set_toolbar_buttons_style -gedit_prefs_manager_toolbar_buttons_style_can_set -gedit_prefs_manager_get_statusbar_visible -gedit_prefs_manager_set_statusbar_visible -gedit_prefs_manager_statusbar_visible_can_set -gedit_prefs_manager_get_side_pane_visible -gedit_prefs_manager_set_side_pane_visible -gedit_prefs_manager_side_pane_visible_can_set -gedit_prefs_manager_get_bottom_panel_visible -gedit_prefs_manager_set_bottom_panel_visible -gedit_prefs_manager_bottom_panel_visible_can_set -gedit_prefs_manager_get_print_syntax_hl -gedit_prefs_manager_set_print_syntax_hl -gedit_prefs_manager_print_syntax_hl_can_set -gedit_prefs_manager_get_print_header -gedit_prefs_manager_set_print_header -gedit_prefs_manager_print_header_can_set -gedit_prefs_manager_get_print_wrap_mode -gedit_prefs_manager_set_print_wrap_mode -gedit_prefs_manager_print_wrap_mode_can_set -gedit_prefs_manager_get_print_line_numbers -gedit_prefs_manager_set_print_line_numbers -gedit_prefs_manager_print_line_numbers_can_set -gedit_prefs_manager_get_print_font_body -gedit_prefs_manager_set_print_font_body -gedit_prefs_manager_print_font_body_can_set -gedit_prefs_manager_get_default_print_font_body -gedit_prefs_manager_get_print_font_header -gedit_prefs_manager_set_print_font_header -gedit_prefs_manager_print_font_header_can_set -gedit_prefs_manager_get_default_print_font_header -gedit_prefs_manager_get_print_font_numbers -gedit_prefs_manager_set_print_font_numbers -gedit_prefs_manager_print_font_numbers_can_set -gedit_prefs_manager_get_default_print_font_numbers -gedit_prefs_manager_get_max_recents -gedit_prefs_manager_get_auto_detected_encodings -gedit_prefs_manager_get_shown_in_menu_encodings -gedit_prefs_manager_set_shown_in_menu_encodings -gedit_prefs_manager_shown_in_menu_encodings_can_set -gedit_prefs_manager_get_highlight_current_line -gedit_prefs_manager_set_highlight_current_line -gedit_prefs_manager_highlight_current_line_can_set -gedit_prefs_manager_get_bracket_matching -gedit_prefs_manager_set_bracket_matching -gedit_prefs_manager_bracket_matching_can_set -gedit_prefs_manager_get_display_right_margin -gedit_prefs_manager_set_display_right_margin -gedit_prefs_manager_display_right_margin_can_set -gedit_prefs_manager_get_right_margin_position -gedit_prefs_manager_set_right_margin_position -gedit_prefs_manager_right_margin_position_can_set -gedit_prefs_manager_get_enable_syntax_highlighting -gedit_prefs_manager_set_enable_syntax_highlighting -gedit_prefs_manager_enable_syntax_highlighting_can_set -gedit_prefs_manager_get_writable_vfs_schemes -gedit_prefs_manager_get_restore_cursor_position -gedit_prefs_manager_get_enable_search_highlighting -gedit_prefs_manager_set_enable_search_highlighting -gedit_prefs_manager_enable_search_highlighting_can_set -gedit_prefs_manager_get_lockdown -
- -
-gedit-utils -GBOOLEAN_TO_POINTER -GPOINTER_TO_BOOLEAN -IS_VALID_BOOLEAN -gedit_utils_uri_has_writable_scheme -gedit_utils_uri_has_file_scheme -gedit_utils_menu_position_under_widget -gedit_utils_menu_position_under_tree_view -gedit_gtk_button_new_with_stock_icon -gedit_dialog_add_button -gedit_utils_escape_underscores -gedit_utils_escape_slashes -gedit_utils_str_middle_truncate -g_utf8_caselessnmatch -gedit_utils_set_atk_name_description -gedit_utils_set_atk_relation -gedit_utils_uri_exists -gedit_utils_escape_search_text -gedit_utils_unescape_search_text -gedit_utils_get_stdin -gedit_warning -gedit_utils_make_valid_utf8 -gedit_utils_uri_get_dirname -gedit_utils_replace_home_dir_with_tilde -gedit_utils_get_current_workspace -gedit_utils_get_window_workspace -gedit_utils_activate_url -gedit_utils_is_valid_uri -gedit_utils_get_glade_widgets -gedit_utils_make_canonical_uri_from_shell_arg -gedit_utils_format_uri_for_display -
- -
-gedit-enum-types -GEDIT_TYPE_LOCKDOWN_MASK -gedit_lockdown_mask_get_type -GEDIT_TYPE_CONVERT_ERROR -gedit_convert_error_get_type -GEDIT_TYPE_DEBUG_SECTION -gedit_debug_section_get_type -GEDIT_TYPE_SEARCH_FLAGS -gedit_search_flags_get_type -GEDIT_TYPE_DOCUMENT_SAVE_FLAGS -gedit_document_save_flags_get_type -GEDIT_TYPE_TOOLBAR_SETTING -gedit_toolbar_setting_get_type -GEDIT_TYPE_TAB_STATE -gedit_tab_state_get_type -GEDIT_TYPE_WINDOW_STATE -gedit_window_state_get_type -
- diff --git a/docs/reference/gedit.types b/docs/reference/gedit.types deleted file mode 100755 index 3cb6ce8..0000000 --- a/docs/reference/gedit.types +++ /dev/null @@ -1,32 +0,0 @@ -#include "gedit-app.h" -#include "gedit-document.h" -#include "gedit-encodings.h" -#include "gedit-encodings-combo-box.h" -#include "gedit-file-chooser-dialog.h" -#include "gedit-message.h" -#include "gedit-message-bus.h" -#include "gedit-message-type.h" -#include "gedit-notebook.h" -#include "gedit-panel.h" -#include "gedit-plugin.h" -#include "gedit-progress-message-area.h" -#include "gedit-statusbar.h" -#include "gedit-tab.h" -#include "gedit-view.h" -#include "gedit-window.h" -gedit_app_get_type -gedit_document_get_type -gedit_encoding_get_type -gedit_encodings_combo_box_get_type -gedit_file_chooser_dialog_get_type -gedit_message_get_type -gedit_message_bus_get_type -gedit_message_type_get_type -gedit_notebook_get_type -gedit_panel_get_type -gedit_plugin_get_type -gedit_progress_message_area_get_type -gedit_statusbar_get_type -gedit_tab_get_type -gedit_view_get_type -gedit_window_get_type diff --git a/docs/reference/pluma-docs.sgml b/docs/reference/pluma-docs.sgml new file mode 100755 index 0000000..cf349af --- /dev/null +++ b/docs/reference/pluma-docs.sgml @@ -0,0 +1,37 @@ + + + + + pluma Reference Manual + + + + pluma + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gedit-overrides.txt b/docs/reference/pluma-overrides.txt similarity index 100% rename from docs/reference/gedit-overrides.txt rename to docs/reference/pluma-overrides.txt diff --git a/docs/reference/pluma-sections.txt b/docs/reference/pluma-sections.txt new file mode 100755 index 0000000..873e28c --- /dev/null +++ b/docs/reference/pluma-sections.txt @@ -0,0 +1,809 @@ +
+pluma-app +PlumaAppPrivate +PlumaApp +PlumaApp +PlumaLockdownMask +pluma_app_get_default +pluma_app_create_window +pluma_app_get_windows +pluma_app_get_active_window +pluma_app_get_documents +pluma_app_get_views +pluma_app_get_lockdown + +PLUMA_APP +PLUMA_IS_APP +PLUMA_TYPE_APP +pluma_app_get_type +PLUMA_APP_CLASS +PLUMA_IS_APP_CLASS +PLUMA_APP_GET_CLASS +
+ +
+pluma-document +PlumaSearchFlags +PlumaDocumentPrivate +PlumaDocument +PlumaDocument +PlumaDocumentSaveFlags +PLUMA_DOCUMENT_ERROR +pluma_document_error_quark +pluma_document_new +pluma_document_get_uri +pluma_document_get_uri_for_display +pluma_document_get_short_name_for_display +pluma_document_get_mime_type +pluma_document_get_readonly +pluma_document_load +pluma_document_insert_file +pluma_document_load_cancel +pluma_document_save +pluma_document_save_as +pluma_document_is_untouched +pluma_document_is_untitled +pluma_document_get_deleted +pluma_document_goto_line +pluma_document_set_search_text +pluma_document_get_search_text +pluma_document_get_can_search_again +pluma_document_search_forward +pluma_document_search_backward +pluma_document_replace_all +pluma_document_set_language +pluma_document_set_enable_search_highlighting +pluma_document_get_enable_search_highlighting +PLUMA_SEARCH_IS_DONT_SET_FLAGS +PLUMA_SEARCH_SET_DONT_SET_FLAGS +PLUMA_SEARCH_IS_ENTIRE_WORD +PLUMA_SEARCH_SET_ENTIRE_WORD +PLUMA_SEARCH_IS_CASE_SENSITIVE +PLUMA_SEARCH_SET_CASE_SENSITIVE + +PLUMA_DOCUMENT +PLUMA_IS_DOCUMENT +PLUMA_TYPE_DOCUMENT +pluma_document_get_type +PLUMA_DOCUMENT_CLASS +PLUMA_IS_DOCUMENT_CLASS +PLUMA_DOCUMENT_GET_CLASS +
+ +
+pluma-encodings-option-menu +PlumaEncodingsOptionMenuPrivate +PlumaEncodingsOptionMenu +PlumaEncodingsOptionMenu +pluma_encodings_option_menu_new +pluma_encodings_option_menu_get_selected_encoding +pluma_encodings_option_menu_set_selected_encoding + +PLUMA_ENCODINGS_OPTION_MENU +PLUMA_IS_ENCODINGS_OPTION_MENU +PLUMA_TYPE_ENCODINGS_OPTION_MENU +pluma_encodings_option_menu_get_type +PLUMA_ENCODINGS_OPTION_MENU_CLASS +PLUMA_IS_ENCODINGS_OPTION_MENU_CLASS +PLUMA_ENCODINGS_OPTION_MENU_GET_CLASS +
+ +
+pluma-file-chooser-dialog +PlumaFileChooserDialogPrivate +PlumaFileChooserDialog +PlumaFileChooserDialog +pluma_file_chooser_dialog_new +pluma_file_chooser_dialog_set_encoding + +PLUMA_FILE_CHOOSER_DIALOG +PLUMA_IS_FILE_CHOOSER_DIALOG +PLUMA_TYPE_FILE_CHOOSER_DIALOG +pluma_file_chooser_dialog_get_type +PLUMA_FILE_CHOOSER_DIALOG_CLASS +PLUMA_IS_FILE_CHOOSER_DIALOG_CLASS +PLUMA_FILE_CHOOSER_DIALOG_GET_CLASS +
+ +
+pluma-message-bus +PlumaMessageBus +PlumaMessageBus +PlumaMessageCallback +pluma_message_bus_get_default +pluma_message_bus_new +pluma_message_bus_lookup +pluma_message_bus_register +pluma_message_bus_unregister +pluma_message_bus_unregister_all +pluma_message_bus_is_registered +pluma_message_bus_foreach +pluma_message_bus_connect +pluma_message_bus_disconnect +pluma_message_bus_disconnect_by_func +pluma_message_bus_block +pluma_message_bus_block_by_func +pluma_message_bus_unblock +pluma_message_bus_unblock_by_func +pluma_message_bus_send_message +pluma_message_bus_send_message_sync +pluma_message_bus_send +pluma_message_bus_send_sync + +PLUMA_MESSAGE_BUS +PLUMA_IS_MESSAGE_BUS +PLUMA_TYPE_MESSAGE_BUS +pluma_message_bus_get_type +PLUMA_MESSAGE_BUS_CLASS +PLUMA_IS_MESSAGE_BUS_CLASS +PLUMA_MESSAGE_BUS_GET_CLASS +
+ +
+pluma-message-type +PlumaMessageType +PlumaMessageType +pluma_message_type_get_type +pluma_message_type_is_supported +pluma_message_type_identifier +pluma_message_type_is_valid_object_path +pluma_message_type_new +pluma_message_type_new_valist +pluma_message_type_ref +pluma_message_type_unref +pluma_message_type_set +pluma_message_type_set_valist +pluma_message_type_instantiate +pluma_message_type_instantiate_valist +pluma_message_type_get_object_path +pluma_message_type_get_method +pluma_message_type_lookup +pluma_message_type_foreach + +PLUMA_TYPE_MESSAGE_TYPE +
+ +
+pluma-message +PlumaMessage +PlumaMessage +pluma_message_get +pluma_message_get_valist +pluma_message_get_value +pluma_message_set +pluma_message_set_valist +pluma_message_set_value +pluma_message_set_valuesv +pluma_message_get_object_path +pluma_message_get_method +pluma_message_has_key +pluma_message_get_key_type +pluma_message_validate + +PLUMA_MESSAGE +PLUMA_IS_MESSAGE +PLUMA_TYPE_MESSAGE +pluma_message_get_type +PLUMA_MESSAGE_CLASS +PLUMA_IS_MESSAGE_CLASS +PLUMA_MESSAGE_GET_CLASS +
+ +
+pluma-notebook +PlumaNotebookPrivate +PlumaNotebook +PlumaNotebook +pluma_notebook_new +pluma_notebook_add_tab +pluma_notebook_remove_tab +pluma_notebook_remove_all_tabs +pluma_notebook_reorder_tab +pluma_notebook_move_tab +pluma_notebook_set_always_show_tabs +pluma_notebook_set_close_buttons_sensitive +pluma_notebook_get_close_buttons_sensitive +pluma_notebook_set_tab_drag_and_drop_enabled +pluma_notebook_get_tab_drag_and_drop_enabled + +PLUMA_NOTEBOOK +PLUMA_IS_NOTEBOOK +PLUMA_TYPE_NOTEBOOK +pluma_notebook_get_type +PLUMA_NOTEBOOK_CLASS +PLUMA_IS_NOTEBOOK_CLASS +PLUMA_NOTEBOOK_GET_CLASS +
+ +
+pluma-panel +PlumaPanelPrivate +PlumaPanel +PlumaPanel +pluma_panel_new +pluma_panel_add_item +pluma_panel_add_item_with_stock_icon +pluma_panel_remove_item +pluma_panel_activate_item +pluma_panel_item_is_active +pluma_panel_get_orientation +pluma_panel_get_n_items + +PLUMA_PANEL +PLUMA_IS_PANEL +PLUMA_TYPE_PANEL +pluma_panel_get_type +PLUMA_PANEL_CLASS +PLUMA_IS_PANEL_CLASS +PLUMA_PANEL_GET_CLASS +
+ +
+pluma-plugin +PlumaPlugin +PlumaPlugin +pluma_plugin_activate +pluma_plugin_deactivate +pluma_plugin_update_ui +pluma_plugin_is_configurable +pluma_plugin_create_configure_dialog +PLUMA_PLUGIN_REGISTER_TYPE + +PLUMA_PLUGIN +PLUMA_IS_PLUGIN +PLUMA_TYPE_PLUGIN +pluma_plugin_get_type +PLUMA_PLUGIN_CLASS +PLUMA_IS_PLUGIN_CLASS +PLUMA_PLUGIN_GET_CLASS +PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE +PLUMA_PLUGIN_REGISTER_TYPE +PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE +PLUMA_PLUGIN_DEFINE_TYPE +
+ +
+pluma-print-job-preview +PlumaPrintJobPreviewPrivate +PlumaPrintJobPreview +PlumaPrintJobPreview +pluma_print_job_preview_new + +PLUMA_PRINT_JOB_PREVIEW +PLUMA_IS_PRINT_JOB_PREVIEW +PLUMA_TYPE_PRINT_JOB_PREVIEW +pluma_print_job_preview_get_type +PLUMA_PRINT_JOB_PREVIEW_CLASS +PLUMA_IS_PRINT_JOB_PREVIEW_CLASS +PLUMA_PRINT_JOB_PREVIEW_GET_CLASS +
+ +
+pluma-print +PlumaPrintJob +PlumaPrintJob +pluma_print_job_new +pluma_print_job_save_config +pluma_print_dialog_new + +PLUMA_PRINT_JOB +PLUMA_IS_PRINT_JOB +PLUMA_TYPE_PRINT_JOB +pluma_print_job_get_type +PLUMA_PRINT_JOB_CLASS +PLUMA_IS_PRINT_JOB_CLASS +PLUMA_PRINT_JOB_GET_CLASS +
+ +
+pluma-progress-message-area +PlumaProgressMessageAreaPrivate +PlumaProgressMessageArea +PlumaProgressMessageArea +pluma_progress_message_area_new +pluma_progress_message_area_set_stock_image +pluma_progress_message_area_set_markup +pluma_progress_message_area_set_text +pluma_progress_message_area_set_fraction +pluma_progress_message_area_pulse + +PLUMA_PROGRESS_MESSAGE_AREA +PLUMA_IS_PROGRESS_MESSAGE_AREA +PLUMA_TYPE_PROGRESS_MESSAGE_AREA +pluma_progress_message_area_get_type +PLUMA_PROGRESS_MESSAGE_AREA_CLASS +PLUMA_IS_PROGRESS_MESSAGE_AREA_CLASS +PLUMA_PROGRESS_MESSAGE_AREA_GET_CLASS +
+ +
+pluma-statusbar +PlumaStatusbarPrivate +PlumaStatusbar +PlumaStatusbar +pluma_statusbar_new +PlumaStatus +pluma_statusbar_set_window_state +pluma_statusbar_set_overwrite +pluma_statusbar_set_cursor_position +pluma_statusbar_clear_overwrite +pluma_statusbar_flash_message + +PLUMA_STATUSBAR +PLUMA_IS_STATUSBAR +PLUMA_TYPE_STATUSBAR +pluma_statusbar_get_type +PLUMA_STATUSBAR_CLASS +PLUMA_IS_STATUSBAR_CLASS +PLUMA_STATUSBAR_GET_CLASS +
+ +
+pluma-tab +PlumaTabState +PlumaTabPrivate +PlumaTab +PlumaTab +pluma_tab_get_view +pluma_tab_get_document +pluma_tab_get_from_document +pluma_tab_get_state +pluma_tab_get_auto_save_enabled +pluma_tab_set_auto_save_enabled +pluma_tab_get_auto_save_interval +pluma_tab_set_auto_save_interval + +PLUMA_TAB +PLUMA_IS_TAB +PLUMA_TYPE_TAB +pluma_tab_get_type +PLUMA_TAB_CLASS +PLUMA_IS_TAB_CLASS +PLUMA_TAB_GET_CLASS +
+ +
+pluma-view +PlumaViewPrivate +PlumaView +PlumaView +pluma_view_new +pluma_view_cut_clipboard +pluma_view_copy_clipboard +pluma_view_paste_clipboard +pluma_view_delete_selection +pluma_view_select_all +pluma_view_scroll_to_cursor +pluma_view_set_colors +pluma_view_set_font + +PLUMA_VIEW +PLUMA_IS_VIEW +PLUMA_TYPE_VIEW +pluma_view_get_type +PLUMA_VIEW_CLASS +PLUMA_IS_VIEW_CLASS +PLUMA_VIEW_GET_CLASS +
+ +
+pluma-window +PlumaWindowState +PlumaWindowPrivate +PlumaWindow +PlumaWindow +pluma_window_create_tab +pluma_window_create_tab_from_uri +pluma_window_close_tab +pluma_window_close_all_tabs +pluma_window_close_tabs +pluma_window_get_active_tab +pluma_window_set_active_tab +pluma_window_get_active_view +pluma_window_get_active_document +pluma_window_get_documents +pluma_window_get_unsaved_documents +pluma_window_get_views +pluma_window_get_group +pluma_window_get_side_panel +pluma_window_get_bottom_panel +pluma_window_get_statusbar +pluma_window_get_ui_manager +pluma_window_get_state +pluma_window_get_tab_from_location +pluma_window_get_tab_from_uri +pluma_window_get_message_bus + +PLUMA_WINDOW +PLUMA_IS_WINDOW +PLUMA_TYPE_WINDOW +pluma_window_get_type +PLUMA_WINDOW_CLASS +PLUMA_IS_WINDOW_CLASS +PLUMA_WINDOW_GET_CLASS +
+ +
+pluma-convert +PlumaConvertError +PLUMA_CONVERT_ERROR +pluma_convert_error_quark +pluma_convert_to_utf8 +pluma_convert_from_utf8 +
+ +
+pluma-debug +PlumaDebugSection +DEBUG_VIEW +DEBUG_SEARCH +DEBUG_PRINT +DEBUG_PREFS +DEBUG_PLUGINS +DEBUG_TAB +DEBUG_DOCUMENT +DEBUG_COMMANDS +DEBUG_APP +DEBUG_SESSION +DEBUG_UTILS +DEBUG_METADATA +DEBUG_WINDOW +DEBUG_LOADER +DEBUG_SAVER +pluma_debug_init +pluma_debug +pluma_debug_message +
+ +
+pluma-encodings +PlumaEncoding +PLUMA_TYPE_ENCODING +pluma_encoding_get_type +pluma_encoding_copy +pluma_encoding_free +pluma_encoding_get_from_charset +pluma_encoding_get_from_index +pluma_encoding_to_string +pluma_encoding_get_name +pluma_encoding_get_charset +pluma_encoding_get_utf8 +pluma_encoding_get_current +
+ +
+pluma-help +pluma_help_display +
+ +
+pluma-metadata-manager +pluma_metadata_manager_shutdown +pluma_metadata_manager_get +pluma_metadata_manager_set +
+ +
+pluma-prefs-manager-app +pluma_prefs_manager_app_init +pluma_prefs_manager_app_shutdown +pluma_prefs_manager_get_window_state +pluma_prefs_manager_set_window_state +pluma_prefs_manager_window_state_can_set +pluma_prefs_manager_get_window_size +pluma_prefs_manager_get_default_window_size +pluma_prefs_manager_set_window_size +pluma_prefs_manager_window_size_can_set +pluma_prefs_manager_get_side_panel_size +pluma_prefs_manager_get_default_side_panel_size +pluma_prefs_manager_set_side_panel_size +pluma_prefs_manager_side_panel_size_can_set +pluma_prefs_manager_get_bottom_panel_size +pluma_prefs_manager_get_default_bottom_panel_size +pluma_prefs_manager_set_bottom_panel_size +pluma_prefs_manager_bottom_panel_size_can_set +
+ +
+pluma-prefs-manager +PLUMA_BASE_KEY +GPM_PREFS_DIR +GPM_FONT_DIR +GPM_USE_DEFAULT_FONT +GPM_EDITOR_FONT +GPM_COLORS_DIR +GPM_USE_DEFAULT_COLORS +GPM_BACKGROUND_COLOR +GPM_TEXT_COLOR +GPM_SELECTED_TEXT_COLOR +GPM_SELECTION_COLOR +GPM_SAVE_DIR +GPM_CREATE_BACKUP_COPY +GPM_BACKUP_COPY_EXTENSION +GPM_AUTO_SAVE +GPM_AUTO_SAVE_INTERVAL +GPM_UNDO_DIR +GPM_UNDO_ACTIONS_LIMIT +GPM_WRAP_MODE_DIR +GPM_WRAP_MODE +GPM_TABS_DIR +GPM_TABS_SIZE +GPM_INSERT_SPACES +GPM_AUTO_INDENT_DIR +GPM_AUTO_INDENT +GPM_LINE_NUMBERS_DIR +GPM_DISPLAY_LINE_NUMBERS +GPM_CURRENT_LINE_DIR +GPM_HIGHLIGHT_CURRENT_LINE +GPM_BRACKET_MATCHING_DIR +GPM_BRACKET_MATCHING +GPM_RIGHT_MARGIN_DIR +GPM_DISPLAY_RIGHT_MARGIN +GPM_RIGHT_MARGIN_POSITION +GPM_CURSOR_POSITION_DIR +GPM_RESTORE_CURSOR_POSITION +GPM_SEARCH_HIGHLIGHTING_DIR +GPM_SEARCH_HIGHLIGHTING_ENABLE +GPM_TOOLBAR_DIR +GPM_TOOLBAR_VISIBLE +GPM_TOOLBAR_BUTTONS_STYLE +GPM_STATUSBAR_DIR +GPM_STATUSBAR_VISIBLE +GPM_SIDE_PANE_DIR +GPM_SIDE_PANE_VISIBLE +GPM_BOTTOM_PANEL_DIR +GPM_BOTTOM_PANEL_VISIBLE +GPM_RECENTS_DIR +GPM_MAX_RECENTS +GPM_PRINT_PAGE_DIR +GPM_PRINT_SYNTAX +GPM_PRINT_HEADER +GPM_PRINT_WRAP_MODE +GPM_PRINT_LINE_NUMBERS +GPM_PRINT_FONT_DIR +GPM_PRINT_FONT_BODY +GPM_PRINT_FONT_BODY_PANGO +GPM_PRINT_FONT_HEADER +GPM_PRINT_FONT_HEADER_PANGO +GPM_PRINT_FONT_NUMBERS +GPM_PRINT_FONT_NUMBERS_PANGO +GPM_WINDOW_DIR +GPM_WINDOW_STATE +GPM_WINDOW_WIDTH +GPM_WINDOW_HEIGHT +GPM_SIDE_PANEL_SIZE +GPM_BOTTOM_PANEL_SIZE +GPM_ENCODINGS_DIR +GPM_AUTO_DETECTED_ENCODINGS +GPM_SHOWN_IN_MENU_ENCODINGS +GPM_SYNTAX_HL_DIR +GPM_SYNTAX_HL_ENABLE +GPM_WRITABLE_VFS_SCHEMES +GPM_LOCKDOWN_DIR +GPM_LOCKDOWN_COMMAND_LINE +GPM_LOCKDOWN_PRINTING +GPM_LOCKDOWN_PRINT_SETUP +GPM_LOCKDOWN_SAVE_TO_DISK +GPM_DEFAULT_USE_DEFAULT_FONT +GPM_DEFAULT_EDITOR_FONT +GPM_DEFAULT_USE_DEFAULT_COLORS +GPM_DEFAULT_BACKGROUND_COLOR +GPM_DEFAULT_TEXT_COLOR +GPM_DEFAULT_SELECTED_TEXT_COLOR +GPM_DEFAULT_SELECTION_COLOR +GPM_DEFAULT_CREATE_BACKUP_COPY +GPM_DEFAULT_BACKUP_COPY_EXTENSION +GPM_DEFAULT_AUTO_SAVE +GPM_DEFAULT_AUTO_SAVE_INTERVAL +GPM_DEFAULT_UNDO_ACTIONS_LIMIT +GPM_DEFAULT_WRAP_MODE +GPM_DEFAULT_TABS_SIZE +GPM_DEFAULT_INSERT_SPACES +GPM_DEFAULT_AUTO_INDENT +GPM_DEFAULT_DISPLAY_LINE_NUMBERS +GPM_DEFAULT_AUTO_DETECTED_ENCODINGS +GPM_DEFAULT_TOOLBAR_VISIBLE +GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE +GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS +GPM_DEFAULT_STATUSBAR_VISIBLE +GPM_DEFAULT_SIDE_PANE_VISIBLE +GPM_DEFAULT_BOTTOM_PANEL_VISIBLE +GPM_DEFAULT_PRINT_SYNTAX +GPM_DEFAULT_PRINT_HEADER +GPM_DEFAULT_PRINT_WRAP_MODE +GPM_DEFAULT_PRINT_LINE_NUMBERS +GPM_DEFAULT_PRINT_FONT_BODY_PANGO +GPM_DEFAULT_PRINT_FONT_HEADER_PANGO +GPM_DEFAULT_PRINT_FONT_NUMBERS_PANGO +GPM_DEFAULT_MAX_RECENTS +GPM_DEFAULT_WINDOW_STATE +GPM_DEFAULT_WINDOW_WIDTH +GPM_DEFAULT_WINDOW_HEIGHT +GPM_DEFAULT_WINDOW_STATE_STR +GPM_DEFAULT_WINDOW_WIDTH_STR +GPM_DEFAULT_WINDOW_HEIGHT_STR +GPM_DEFAULT_SIDE_PANEL_SIZE +GPM_DEFAULT_BOTTOM_PANEL_SIZE +GPM_DEFAULT_SIDE_PANEL_SIZE_STR +GPM_DEFAULT_BOTTOM_PANEL_SIZE_STR +GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE +GPM_DEFAULT_BRACKET_MATCHING +GPM_DEFAULT_DISPLAY_RIGHT_MARGIN +GPM_DEFAULT_RIGHT_MARGIN_POSITION +GPM_DEFAULT_SYNTAX_HL_ENABLE +GPM_DEFAULT_WRITABLE_VFS_SCHEMES +GPM_DEFAULT_RESTORE_CURSOR_POSITION +GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE +PlumaToolbarSetting +pluma_prefs_manager_init +pluma_prefs_manager_shutdown +pluma_prefs_manager_get_use_default_font +pluma_prefs_manager_set_use_default_font +pluma_prefs_manager_use_default_font_can_set +pluma_prefs_manager_get_editor_font +pluma_prefs_manager_set_editor_font +pluma_prefs_manager_editor_font_can_set +pluma_prefs_manager_get_use_default_colors +pluma_prefs_manager_set_use_default_colors +pluma_prefs_manager_use_default_colors_can_set +pluma_prefs_manager_get_background_color +pluma_prefs_manager_set_background_color +pluma_prefs_manager_background_color_can_set +pluma_prefs_manager_get_text_color +pluma_prefs_manager_set_text_color +pluma_prefs_manager_text_color_can_set +pluma_prefs_manager_get_selection_color +pluma_prefs_manager_set_selection_color +pluma_prefs_manager_selection_color_can_set +pluma_prefs_manager_get_selected_text_color +pluma_prefs_manager_set_selected_text_color +pluma_prefs_manager_selected_text_color_can_set +pluma_prefs_manager_get_create_backup_copy +pluma_prefs_manager_set_create_backup_copy +pluma_prefs_manager_create_backup_copy_can_set +pluma_prefs_manager_get_backup_extension +pluma_prefs_manager_get_auto_save +pluma_prefs_manager_set_auto_save +pluma_prefs_manager_auto_save_can_set +pluma_prefs_manager_get_auto_save_interval +pluma_prefs_manager_set_auto_save_interval +pluma_prefs_manager_auto_save_interval_can_set +pluma_prefs_manager_get_undo_actions_limit +pluma_prefs_manager_set_undo_actions_limit +pluma_prefs_manager_undo_actions_limit_can_set +pluma_prefs_manager_get_wrap_mode +pluma_prefs_manager_set_wrap_mode +pluma_prefs_manager_wrap_mode_can_set +pluma_prefs_manager_get_tabs_size +pluma_prefs_manager_set_tabs_size +pluma_prefs_manager_tabs_size_can_set +pluma_prefs_manager_get_insert_spaces +pluma_prefs_manager_set_insert_spaces +pluma_prefs_manager_insert_spaces_can_set +pluma_prefs_manager_get_auto_indent +pluma_prefs_manager_set_auto_indent +pluma_prefs_manager_auto_indent_can_set +pluma_prefs_manager_get_display_line_numbers +pluma_prefs_manager_set_display_line_numbers +pluma_prefs_manager_display_line_numbers_can_set +pluma_prefs_manager_get_toolbar_visible +pluma_prefs_manager_set_toolbar_visible +pluma_prefs_manager_toolbar_visible_can_set +pluma_prefs_manager_get_toolbar_buttons_style +pluma_prefs_manager_set_toolbar_buttons_style +pluma_prefs_manager_toolbar_buttons_style_can_set +pluma_prefs_manager_get_statusbar_visible +pluma_prefs_manager_set_statusbar_visible +pluma_prefs_manager_statusbar_visible_can_set +pluma_prefs_manager_get_side_pane_visible +pluma_prefs_manager_set_side_pane_visible +pluma_prefs_manager_side_pane_visible_can_set +pluma_prefs_manager_get_bottom_panel_visible +pluma_prefs_manager_set_bottom_panel_visible +pluma_prefs_manager_bottom_panel_visible_can_set +pluma_prefs_manager_get_print_syntax_hl +pluma_prefs_manager_set_print_syntax_hl +pluma_prefs_manager_print_syntax_hl_can_set +pluma_prefs_manager_get_print_header +pluma_prefs_manager_set_print_header +pluma_prefs_manager_print_header_can_set +pluma_prefs_manager_get_print_wrap_mode +pluma_prefs_manager_set_print_wrap_mode +pluma_prefs_manager_print_wrap_mode_can_set +pluma_prefs_manager_get_print_line_numbers +pluma_prefs_manager_set_print_line_numbers +pluma_prefs_manager_print_line_numbers_can_set +pluma_prefs_manager_get_print_font_body +pluma_prefs_manager_set_print_font_body +pluma_prefs_manager_print_font_body_can_set +pluma_prefs_manager_get_default_print_font_body +pluma_prefs_manager_get_print_font_header +pluma_prefs_manager_set_print_font_header +pluma_prefs_manager_print_font_header_can_set +pluma_prefs_manager_get_default_print_font_header +pluma_prefs_manager_get_print_font_numbers +pluma_prefs_manager_set_print_font_numbers +pluma_prefs_manager_print_font_numbers_can_set +pluma_prefs_manager_get_default_print_font_numbers +pluma_prefs_manager_get_max_recents +pluma_prefs_manager_get_auto_detected_encodings +pluma_prefs_manager_get_shown_in_menu_encodings +pluma_prefs_manager_set_shown_in_menu_encodings +pluma_prefs_manager_shown_in_menu_encodings_can_set +pluma_prefs_manager_get_highlight_current_line +pluma_prefs_manager_set_highlight_current_line +pluma_prefs_manager_highlight_current_line_can_set +pluma_prefs_manager_get_bracket_matching +pluma_prefs_manager_set_bracket_matching +pluma_prefs_manager_bracket_matching_can_set +pluma_prefs_manager_get_display_right_margin +pluma_prefs_manager_set_display_right_margin +pluma_prefs_manager_display_right_margin_can_set +pluma_prefs_manager_get_right_margin_position +pluma_prefs_manager_set_right_margin_position +pluma_prefs_manager_right_margin_position_can_set +pluma_prefs_manager_get_enable_syntax_highlighting +pluma_prefs_manager_set_enable_syntax_highlighting +pluma_prefs_manager_enable_syntax_highlighting_can_set +pluma_prefs_manager_get_writable_vfs_schemes +pluma_prefs_manager_get_restore_cursor_position +pluma_prefs_manager_get_enable_search_highlighting +pluma_prefs_manager_set_enable_search_highlighting +pluma_prefs_manager_enable_search_highlighting_can_set +pluma_prefs_manager_get_lockdown +
+ +
+pluma-utils +GBOOLEAN_TO_POINTER +GPOINTER_TO_BOOLEAN +IS_VALID_BOOLEAN +pluma_utils_uri_has_writable_scheme +pluma_utils_uri_has_file_scheme +pluma_utils_menu_position_under_widget +pluma_utils_menu_position_under_tree_view +pluma_gtk_button_new_with_stock_icon +pluma_dialog_add_button +pluma_utils_escape_underscores +pluma_utils_escape_slashes +pluma_utils_str_middle_truncate +g_utf8_caselessnmatch +pluma_utils_set_atk_name_description +pluma_utils_set_atk_relation +pluma_utils_uri_exists +pluma_utils_escape_search_text +pluma_utils_unescape_search_text +pluma_utils_get_stdin +pluma_warning +pluma_utils_make_valid_utf8 +pluma_utils_uri_get_dirname +pluma_utils_replace_home_dir_with_tilde +pluma_utils_get_current_workspace +pluma_utils_get_window_workspace +pluma_utils_activate_url +pluma_utils_is_valid_uri +pluma_utils_get_glade_widgets +pluma_utils_make_canonical_uri_from_shell_arg +pluma_utils_format_uri_for_display +
+ +
+pluma-enum-types +PLUMA_TYPE_LOCKDOWN_MASK +pluma_lockdown_mask_get_type +PLUMA_TYPE_CONVERT_ERROR +pluma_convert_error_get_type +PLUMA_TYPE_DEBUG_SECTION +pluma_debug_section_get_type +PLUMA_TYPE_SEARCH_FLAGS +pluma_search_flags_get_type +PLUMA_TYPE_DOCUMENT_SAVE_FLAGS +pluma_document_save_flags_get_type +PLUMA_TYPE_TOOLBAR_SETTING +pluma_toolbar_setting_get_type +PLUMA_TYPE_TAB_STATE +pluma_tab_state_get_type +PLUMA_TYPE_WINDOW_STATE +pluma_window_state_get_type +
+ diff --git a/docs/reference/pluma.types b/docs/reference/pluma.types new file mode 100755 index 0000000..0dc5633 --- /dev/null +++ b/docs/reference/pluma.types @@ -0,0 +1,32 @@ +#include "pluma-app.h" +#include "pluma-document.h" +#include "pluma-encodings.h" +#include "pluma-encodings-combo-box.h" +#include "pluma-file-chooser-dialog.h" +#include "pluma-message.h" +#include "pluma-message-bus.h" +#include "pluma-message-type.h" +#include "pluma-notebook.h" +#include "pluma-panel.h" +#include "pluma-plugin.h" +#include "pluma-progress-message-area.h" +#include "pluma-statusbar.h" +#include "pluma-tab.h" +#include "pluma-view.h" +#include "pluma-window.h" +pluma_app_get_type +pluma_document_get_type +pluma_encoding_get_type +pluma_encodings_combo_box_get_type +pluma_file_chooser_dialog_get_type +pluma_message_get_type +pluma_message_bus_get_type +pluma_message_type_get_type +pluma_notebook_get_type +pluma_panel_get_type +pluma_plugin_get_type +pluma_progress_message_area_get_type +pluma_statusbar_get_type +pluma_tab_get_type +pluma_view_get_type +pluma_window_get_type diff --git a/gedit/Makefile.am b/gedit/Makefile.am deleted file mode 100755 index f08c642..0000000 --- a/gedit/Makefile.am +++ /dev/null @@ -1,254 +0,0 @@ -## Process this file with automake to produce Makefile.in -SUBDIRS = dialogs smclient - -if OS_OSX -SUBDIRS += osx -endif - -bin_PROGRAMS = gedit - -noinst_LTLIBRARIES = libgedit.la - -INCLUDES = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - -I$(srcdir)/smclient \ - $(GEDIT_CFLAGS) \ - $(IGE_MAC_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED_CFLAGS) \ - -DDATADIR=\""$(datadir)"\" \ - -DLIBDIR=\""$(libdir)"\" - -gedit_SOURCES = \ - gedit.c - -gedit_LDADD = libgedit.la $(GEDIT_LIBS) $(IGE_MAC_LIBS) $(EGG_SMCLIENT_LIBS) - -if PLATFORM_WIN32 -gedit_LDFLAGS = -Wl,--export-all-symbols -Wl,--out-implib,libgedit-$(GEDIT_API_VERSION).a -if OS_WIN32 -gedit_LDFLAGS += -mwindows -endif -else -gedit_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" -endif - -libgedit_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" - -libgedit_la_LIBADD = \ - dialogs/libdialogs.la \ - smclient/libeggsmclient.la - -# GEDIT_LIBS must be the last to ensure correct order on some platforms -libgedit_la_LIBADD += $(GEDIT_LIBS) - -if OS_OSX -gedit_LDFLAGS += -framework Carbon - -libgedit_la_LIBADD += osx/libosx.la -endif - -BUILT_SOURCES = \ - gedit-enum-types.c \ - gedit-enum-types.h \ - gedit-marshal.c \ - gedit-marshal.h - -if OS_WIN32 -gedit-res.o: gedit.rc - $(WINDRES) -i gedit.rc --input-format=rc -o gedit-res.o -O coff - -gedit_LDADD += gedit-res.o -endif - -NOINST_H_FILES = \ - gedit-close-button.h \ - gedit-dirs.h \ - gedit-document-input-stream.h \ - gedit-document-loader.h \ - gedit-document-output-stream.h \ - gedit-document-saver.h \ - gedit-documents-panel.h \ - gedit-gio-document-loader.h \ - gedit-gio-document-saver.h \ - gedit-history-entry.h \ - gedit-io-error-message-area.h \ - gedit-language-manager.h \ - gedit-object-module.h \ - gedit-plugin-info.h \ - gedit-plugin-info-priv.h \ - gedit-plugin-loader.h \ - gedit-plugin-manager.h \ - gedit-plugins-engine.h \ - gedit-prefs-manager-private.h \ - gedit-print-job.h \ - gedit-print-preview.h \ - gedit-session.h \ - gedit-smart-charset-converter.h \ - gedit-style-scheme-manager.h \ - gedit-tab-label.h \ - gedittextregion.h \ - gedit-ui.h \ - gedit-window-private.h - -INST_H_FILES = \ - gedit-app.h \ - gedit-commands.h \ - gedit-debug.h \ - gedit-document.h \ - gedit-encodings.h \ - gedit-encodings-combo-box.h \ - gedit-file-chooser-dialog.h \ - gedit-help.h \ - gedit-message-bus.h \ - gedit-message-type.h \ - gedit-message.h \ - gedit-notebook.h \ - gedit-panel.h \ - gedit-plugin.h \ - gedit-prefs-manager-app.h \ - gedit-prefs-manager.h \ - gedit-progress-message-area.h \ - gedit-statusbar.h \ - gedit-status-combo-box.h \ - gedit-tab.h \ - gedit-utils.h \ - gedit-view.h \ - gedit-window.h - -if !ENABLE_GVFS_METADATA -INST_H_FILES += gedit-metadata-manager.h -endif - -headerdir = $(prefix)/include/gedit-@GEDIT_API_VERSION@/gedit - -header_DATA = \ - $(INST_H_FILES) - - -libgedit_la_SOURCES = \ - $(BUILT_SOURCES) \ - $(BACON_FILES) \ - $(POSIXIO_FILES) \ - gedit-app.c \ - gedit-close-button.c \ - gedit-commands-documents.c \ - gedit-commands-edit.c \ - gedit-commands-file.c \ - gedit-commands-file-print.c \ - gedit-commands-help.c \ - gedit-commands-search.c \ - gedit-commands-view.c \ - gedit-debug.c \ - gedit-dirs.c \ - gedit-document.c \ - gedit-document-input-stream.c \ - gedit-document-loader.c \ - gedit-document-output-stream.c \ - gedit-gio-document-loader.c \ - gedit-document-saver.c \ - gedit-gio-document-saver.c \ - gedit-documents-panel.c \ - gedit-encodings.c \ - gedit-encodings-combo-box.c \ - gedit-file-chooser-dialog.c \ - gedit-help.c \ - gedit-history-entry.c \ - gedit-io-error-message-area.c \ - gedit-language-manager.c \ - gedit-message-bus.c \ - gedit-message-type.c \ - gedit-message.c \ - gedit-object-module.c \ - gedit-notebook.c \ - gedit-panel.c \ - gedit-plugin-info.c \ - gedit-plugin.c \ - gedit-plugin-loader.c \ - gedit-plugin-manager.c \ - gedit-plugins-engine.c \ - gedit-prefs-manager-app.c \ - gedit-prefs-manager.c \ - gedit-prefs-manager-private.h \ - gedit-print-job.c \ - gedit-print-preview.c \ - gedit-progress-message-area.c \ - gedit-session.c \ - gedit-smart-charset-converter.c \ - gedit-statusbar.c \ - gedit-status-combo-box.c \ - gedit-style-scheme-manager.c \ - gedit-tab.c \ - gedit-tab-label.c \ - gedit-utils.c \ - gedit-view.c \ - gedit-window.c \ - gedittextregion.c \ - $(NOINST_H_FILES) \ - $(INST_H_FILES) - -if !ENABLE_GVFS_METADATA -libgedit_la_SOURCES += gedit-metadata-manager.c -endif - -gedit-enum-types.h: gedit-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS) - $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gedit-enum-types.h.template $(INST_H_FILES)) > $@ - -gedit-enum-types.c: gedit-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS) - $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gedit-enum-types.c.template $(INST_H_FILES)) > $@ - -gedit-marshal.h: gedit-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gedit_marshal > $@ - -gedit-marshal.c: gedit-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) echo "#include \"gedit-marshal.h\"" > $@ && \ - $(GLIB_GENMARSHAL) $< --body --prefix=gedit_marshal >> $@ - -uidir = $(datadir)/gedit-2/ui/ -ui_DATA = \ - gedit-ui.xml \ - gedit-print-preferences.ui - -EXTRA_DIST = \ - $(ui_DATA) \ - gedit-enum-types.h.template \ - gedit-enum-types.c.template \ - gedit-marshal.list \ - gedit.rc - -CLEANFILES = $(BUILT_SOURCES) - -dist-hook: - cd $(distdir); rm -f $(BUILT_SOURCES) - -install-exec-hook: -if PLATFORM_WIN32 - $(mkinstalldirs) "$(DESTDIR)$(libdir)" - $(INSTALL_DATA) libgedit-$(GEDIT_API_VERSION).a "$(DESTDIR)$(libdir)" -else - rm -f $(DESTDIR)$(bindir)/mate-text-editor - ln -s gedit $(DESTDIR)$(bindir)/mate-text-editor -endif - -if !OS_WIN32 -BACON_DIR=$(srcdir)/../../libbacon/src/ -BACON_FILES=bacon-message-connection.h bacon-message-connection.c - -regenerate-built-sources: - BACONFILES="$(BACON_FILES)" BACONDIR="$(BACON_DIR)" $(top_srcdir)/gedit/update-from-bacon.sh -else -BACON_DIR= -endif - -if BUILD_MESSAGE_AREA -libgedit_la_SOURCES += gedit-message-area.c -INST_H_FILES += gedit-message-area.h -endif - -if BUILD_SPINNER -libgedit_la_SOURCES += gedit-spinner.c -NOINST_H_FILES += gedit-spinner.h -endif - --include $(top_srcdir)/git.mk diff --git a/gedit/dialogs/Makefile.am b/gedit/dialogs/Makefile.am deleted file mode 100755 index c076257..0000000 --- a/gedit/dialogs/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -uidir = $(datadir)/gedit-2/ui/ - -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -I$(top_srcdir)/gedit \ - -I$(top_builddir)/gedit \ - $(GEDIT_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED_CFLAGS) - -noinst_LTLIBRARIES = libdialogs.la - -libdialogs_la_SOURCES = \ - gedit-preferences-dialog.h \ - gedit-preferences-dialog.c \ - gedit-close-confirmation-dialog.c \ - gedit-close-confirmation-dialog.h \ - gedit-encodings-dialog.c \ - gedit-encodings-dialog.h \ - gedit-search-dialog.h \ - gedit-search-dialog.c - -ui_DATA = \ - gedit-encodings-dialog.ui \ - gedit-preferences-dialog.ui \ - gedit-search-dialog.ui - -EXTRA_DIST = $(ui_DATA) - --include $(top_srcdir)/git.mk diff --git a/gedit/dialogs/gedit-close-confirmation-dialog.h b/gedit/dialogs/gedit-close-confirmation-dialog.h deleted file mode 100755 index 887fc1b..0000000 --- a/gedit/dialogs/gedit-close-confirmation-dialog.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * gedit-close-confirmation-dialog.h - * This file is part of gedit - * - * Copyright (C) 2004-2005 MATE Foundation - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2004-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__ -#define __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__ - -#include -#include - -#include - -#define GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG (gedit_close_confirmation_dialog_get_type ()) -#define GEDIT_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialog)) -#define GEDIT_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialogClass)) -#define GEDIT_IS_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG)) -#define GEDIT_IS_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG)) -#define GEDIT_CLOSE_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialogClass)) - -typedef struct _GeditCloseConfirmationDialog GeditCloseConfirmationDialog; -typedef struct _GeditCloseConfirmationDialogClass GeditCloseConfirmationDialogClass; -typedef struct _GeditCloseConfirmationDialogPrivate GeditCloseConfirmationDialogPrivate; - -struct _GeditCloseConfirmationDialog -{ - GtkDialog parent; - - /*< private > */ - GeditCloseConfirmationDialogPrivate *priv; -}; - -struct _GeditCloseConfirmationDialogClass -{ - GtkDialogClass parent_class; -}; - -GType gedit_close_confirmation_dialog_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_close_confirmation_dialog_new (GtkWindow *parent, - GList *unsaved_documents, - gboolean logout_mode); -GtkWidget *gedit_close_confirmation_dialog_new_single (GtkWindow *parent, - GeditDocument *doc, - gboolean logout_mode); - -const GList *gedit_close_confirmation_dialog_get_unsaved_documents (GeditCloseConfirmationDialog *dlg); - -GList *gedit_close_confirmation_dialog_get_selected_documents (GeditCloseConfirmationDialog *dlg); - -#endif /* __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__ */ - diff --git a/gedit/dialogs/gedit-encodings-dialog.h b/gedit/dialogs/gedit-encodings-dialog.h deleted file mode 100755 index a09cbe5..0000000 --- a/gedit/dialogs/gedit-encodings-dialog.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * gedit-encodings-dialog.h - * This file is part of gedit - * - * Copyright (C) 2003-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2003-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_ENCODINGS_DIALOG_H__ -#define __GEDIT_ENCODINGS_DIALOG_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_ENCODINGS_DIALOG (gedit_encodings_dialog_get_type()) -#define GEDIT_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialog)) -#define GEDIT_ENCODINGS_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialog const)) -#define GEDIT_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialogClass)) -#define GEDIT_IS_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_ENCODINGS_DIALOG)) -#define GEDIT_IS_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_ENCODINGS_DIALOG)) -#define GEDIT_ENCODINGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialogClass)) - - -/* Private structure type */ -typedef struct _GeditEncodingsDialogPrivate GeditEncodingsDialogPrivate; - -/* - * Main object structure - */ -typedef struct _GeditEncodingsDialog GeditEncodingsDialog; - -struct _GeditEncodingsDialog -{ - GtkDialog dialog; - - /*< private > */ - GeditEncodingsDialogPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditEncodingsDialogClass GeditEncodingsDialogClass; - -struct _GeditEncodingsDialogClass -{ - GtkDialogClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_encodings_dialog_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_encodings_dialog_new (void); - -G_END_DECLS - -#endif /* __GEDIT_ENCODINGS_DIALOG_H__ */ - diff --git a/gedit/dialogs/gedit-preferences-dialog.h b/gedit/dialogs/gedit-preferences-dialog.h deleted file mode 100755 index bafebb0..0000000 --- a/gedit/dialogs/gedit-preferences-dialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-preferences-dialog.c - * This file is part of gedit - * - * Copyright (C) 2001-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2003. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PREFERENCES_DIALOG_H__ -#define __GEDIT_PREFERENCES_DIALOG_H__ - -#include "gedit-window.h" - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PREFERENCES_DIALOG (gedit_preferences_dialog_get_type()) -#define GEDIT_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialog)) -#define GEDIT_PREFERENCES_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialog const)) -#define GEDIT_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialogClass)) -#define GEDIT_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PREFERENCES_DIALOG)) -#define GEDIT_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PREFERENCES_DIALOG)) -#define GEDIT_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialogClass)) - - -/* Private structure type */ -typedef struct _GeditPreferencesDialogPrivate GeditPreferencesDialogPrivate; - -/* - * Main object structure - */ -typedef struct _GeditPreferencesDialog GeditPreferencesDialog; - -struct _GeditPreferencesDialog -{ - GtkDialog dialog; - - /*< private > */ - GeditPreferencesDialogPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditPreferencesDialogClass GeditPreferencesDialogClass; - -struct _GeditPreferencesDialogClass -{ - GtkDialogClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_preferences_dialog_get_type (void) G_GNUC_CONST; - -void gedit_show_preferences_dialog (GeditWindow *parent); - -G_END_DECLS - -#endif /* __GEDIT_PREFERENCES_DIALOG_H__ */ - diff --git a/gedit/dialogs/gedit-search-dialog.h b/gedit/dialogs/gedit-search-dialog.h deleted file mode 100755 index a225be1..0000000 --- a/gedit/dialogs/gedit-search-dialog.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - * gedit-search-dialog.h - * This file is part of gedit - * - * Copyright (C) 2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_SEARCH_DIALOG_H__ -#define __GEDIT_SEARCH_DIALOG_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_SEARCH_DIALOG (gedit_search_dialog_get_type()) -#define GEDIT_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialog)) -#define GEDIT_SEARCH_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialog const)) -#define GEDIT_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialogClass)) -#define GEDIT_IS_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_SEARCH_DIALOG)) -#define GEDIT_IS_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SEARCH_DIALOG)) -#define GEDIT_SEARCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialogClass)) - -/* Private structure type */ -typedef struct _GeditSearchDialogPrivate GeditSearchDialogPrivate; - -/* - * Main object structure - */ -typedef struct _GeditSearchDialog GeditSearchDialog; - -struct _GeditSearchDialog -{ - GtkDialog dialog; - - /*< private > */ - GeditSearchDialogPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditSearchDialogClass GeditSearchDialogClass; - -struct _GeditSearchDialogClass -{ - GtkDialogClass parent_class; - - /* Key bindings */ - gboolean (* show_replace) (GeditSearchDialog *dlg); -}; - -enum -{ - GEDIT_SEARCH_DIALOG_FIND_RESPONSE = 100, - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE, - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE -}; - -/* - * Public methods - */ -GType gedit_search_dialog_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_search_dialog_new (GtkWindow *parent, - gboolean show_replace); - -void gedit_search_dialog_present_with_time (GeditSearchDialog *dialog, - guint32 timestamp); - -gboolean gedit_search_dialog_get_show_replace (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_show_replace (GeditSearchDialog *dialog, - gboolean show_replace); - - -void gedit_search_dialog_set_search_text (GeditSearchDialog *dialog, - const gchar *text); -const gchar *gedit_search_dialog_get_search_text (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_replace_text (GeditSearchDialog *dialog, - const gchar *text); -const gchar *gedit_search_dialog_get_replace_text (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_match_case (GeditSearchDialog *dialog, - gboolean match_case); -gboolean gedit_search_dialog_get_match_case (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_entire_word (GeditSearchDialog *dialog, - gboolean entire_word); -gboolean gedit_search_dialog_get_entire_word (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_backwards (GeditSearchDialog *dialog, - gboolean backwards); -gboolean gedit_search_dialog_get_backwards (GeditSearchDialog *dialog); - -void gedit_search_dialog_set_wrap_around (GeditSearchDialog *dialog, - gboolean wrap_around); -gboolean gedit_search_dialog_get_wrap_around (GeditSearchDialog *dialog); - -G_END_DECLS - -#endif /* __GEDIT_SEARCH_DIALOG_H__ */ diff --git a/gedit/gedit-app.h b/gedit/gedit-app.h deleted file mode 100755 index 5311930..0000000 --- a/gedit/gedit-app.h +++ /dev/null @@ -1,142 +0,0 @@ -/* - * gedit-app.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_APP_H__ -#define __GEDIT_APP_H__ - -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_APP (gedit_app_get_type()) -#define GEDIT_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_APP, GeditApp)) -#define GEDIT_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_APP, GeditAppClass)) -#define GEDIT_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_APP)) -#define GEDIT_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_APP)) -#define GEDIT_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_APP, GeditAppClass)) - -/* Private structure type */ -typedef struct _GeditAppPrivate GeditAppPrivate; - -/* - * Main object structure - */ -typedef struct _GeditApp GeditApp; - -struct _GeditApp -{ - GObject object; - - /*< private > */ - GeditAppPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditAppClass GeditAppClass; - -struct _GeditAppClass -{ - GObjectClass parent_class; -}; - -/* - * Lockdown mask definition - */ -typedef enum -{ - GEDIT_LOCKDOWN_COMMAND_LINE = 1 << 0, - GEDIT_LOCKDOWN_PRINTING = 1 << 1, - GEDIT_LOCKDOWN_PRINT_SETUP = 1 << 2, - GEDIT_LOCKDOWN_SAVE_TO_DISK = 1 << 3, - GEDIT_LOCKDOWN_ALL = 0xF -} GeditLockdownMask; - -/* - * Public methods - */ -GType gedit_app_get_type (void) G_GNUC_CONST; - -GeditApp *gedit_app_get_default (void); - -GeditWindow *gedit_app_create_window (GeditApp *app, - GdkScreen *screen); - -const GList *gedit_app_get_windows (GeditApp *app); -GeditWindow *gedit_app_get_active_window (GeditApp *app); - -/* Returns a newly allocated list with all the documents */ -GList *gedit_app_get_documents (GeditApp *app); - -/* Returns a newly allocated list with all the views */ -GList *gedit_app_get_views (GeditApp *app); - -/* Lockdown state */ -GeditLockdownMask gedit_app_get_lockdown (GeditApp *app); - -/* - * Non exported functions - */ -GeditWindow *_gedit_app_restore_window (GeditApp *app, - const gchar *role); -GeditWindow *_gedit_app_get_window_in_viewport (GeditApp *app, - GdkScreen *screen, - gint workspace, - gint viewport_x, - gint viewport_y); -void _gedit_app_set_lockdown (GeditApp *app, - GeditLockdownMask lockdown); -void _gedit_app_set_lockdown_bit (GeditApp *app, - GeditLockdownMask bit, - gboolean value); -/* - * This one is a gedit-window function, but we declare it here to avoid - * #include headaches since it needs the GeditLockdownMask declaration. - */ -void _gedit_window_set_lockdown (GeditWindow *window, - GeditLockdownMask lockdown); - -/* global print config */ -GtkPageSetup *_gedit_app_get_default_page_setup (GeditApp *app); -void _gedit_app_set_default_page_setup (GeditApp *app, - GtkPageSetup *page_setup); -GtkPrintSettings *_gedit_app_get_default_print_settings (GeditApp *app); -void _gedit_app_set_default_print_settings (GeditApp *app, - GtkPrintSettings *settings); - -G_END_DECLS - -#endif /* __GEDIT_APP_H__ */ diff --git a/gedit/gedit-close-button.h b/gedit/gedit-close-button.h deleted file mode 100755 index 4f63138..0000000 --- a/gedit/gedit-close-button.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * gedit-close-button.h - * This file is part of gedit - * - * Copyright (C) 2010 - Paolo Borelli - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_CLOSE_BUTTON_H__ -#define __GEDIT_CLOSE_BUTTON_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_CLOSE_BUTTON (gedit_close_button_get_type ()) -#define GEDIT_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton)) -#define GEDIT_CLOSE_BUTTON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton const)) -#define GEDIT_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass)) -#define GEDIT_IS_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_CLOSE_BUTTON)) -#define GEDIT_IS_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_CLOSE_BUTTON)) -#define GEDIT_CLOSE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass)) - -typedef struct _GeditCloseButton GeditCloseButton; -typedef struct _GeditCloseButtonClass GeditCloseButtonClass; -typedef struct _GeditCloseButtonPrivate GeditCloseButtonPrivate; - -struct _GeditCloseButton { - GtkButton parent; -}; - -struct _GeditCloseButtonClass { - GtkButtonClass parent_class; -}; - -GType gedit_close_button_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_close_button_new (void); - -G_END_DECLS - -#endif /* __GEDIT_CLOSE_BUTTON_H__ */ diff --git a/gedit/gedit-commands.h b/gedit/gedit-commands.h deleted file mode 100755 index 08e7088..0000000 --- a/gedit/gedit-commands.h +++ /dev/null @@ -1,166 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-commands.h - * This file is part of gedit - * - * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence - * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_COMMANDS_H__ -#define __GEDIT_COMMANDS_H__ - -#include -#include - -G_BEGIN_DECLS - -/* Do nothing if URI does not exist */ -void gedit_commands_load_uri (GeditWindow *window, - const gchar *uri, - const GeditEncoding *encoding, - gint line_pos); - -/* Ignore non-existing URIs */ -gint gedit_commands_load_uris (GeditWindow *window, - const GSList *uris, - const GeditEncoding *encoding, - gint line_pos); - -void gedit_commands_save_document (GeditWindow *window, - GeditDocument *document); - -void gedit_commands_save_all_documents (GeditWindow *window); - -/* - * Non-exported functions - */ - -/* Create titled documens for non-existing URIs */ -gint _gedit_cmd_load_files_from_prompt (GeditWindow *window, - GSList *files, - const GeditEncoding *encoding, - gint line_pos); - -void _gedit_cmd_file_new (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_open (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_save (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_save_as (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_save_all (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_revert (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_open_uri (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_print_preview (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_print (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_close (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_close_all (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_file_quit (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_edit_undo (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_redo (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_cut (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_copy (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_paste (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_delete (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_select_all (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_edit_preferences (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_view_show_toolbar (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_view_show_statusbar (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_view_show_side_pane (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_view_show_bottom_pane (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_view_toggle_fullscreen_mode (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_view_leave_fullscreen_mode (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_search_find (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_find_next (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_find_prev (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_replace (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_clear_highlight (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_goto_line (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_search_incremental_search (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_documents_previous_document (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_documents_next_document (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_documents_move_to_new_window (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_help_contents (GtkAction *action, - GeditWindow *window); -void _gedit_cmd_help_about (GtkAction *action, - GeditWindow *window); - -void _gedit_cmd_file_close_tab (GeditTab *tab, - GeditWindow *window); - -void _gedit_cmd_file_save_documents_list (GeditWindow *window, - GList *docs); - - -#if !GTK_CHECK_VERSION (2, 17, 4) -void _gedit_cmd_file_page_setup (GtkAction *action, - GeditWindow *window); -#endif - - -G_END_DECLS - -#endif /* __GEDIT_COMMANDS_H__ */ diff --git a/gedit/gedit-debug.h b/gedit/gedit-debug.h deleted file mode 100755 index af7d737..0000000 --- a/gedit/gedit-debug.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * gedit-debug.h - * This file is part of gedit - * - * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence - * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi - * Copyright (C) 2002 - 2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_DEBUG_H__ -#define __GEDIT_DEBUG_H__ - -#include - -/* - * Set an environmental var of the same name to turn on - * debugging output. Setting GEDIT_DEBUG will turn on all - * sections. - */ -typedef enum { - GEDIT_NO_DEBUG = 0, - GEDIT_DEBUG_VIEW = 1 << 0, - GEDIT_DEBUG_SEARCH = 1 << 1, - GEDIT_DEBUG_PRINT = 1 << 2, - GEDIT_DEBUG_PREFS = 1 << 3, - GEDIT_DEBUG_PLUGINS = 1 << 4, - GEDIT_DEBUG_TAB = 1 << 5, - GEDIT_DEBUG_DOCUMENT = 1 << 6, - GEDIT_DEBUG_COMMANDS = 1 << 7, - GEDIT_DEBUG_APP = 1 << 8, - GEDIT_DEBUG_SESSION = 1 << 9, - GEDIT_DEBUG_UTILS = 1 << 10, - GEDIT_DEBUG_METADATA = 1 << 11, - GEDIT_DEBUG_WINDOW = 1 << 12, - GEDIT_DEBUG_LOADER = 1 << 13, - GEDIT_DEBUG_SAVER = 1 << 14 -} GeditDebugSection; - - -#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_SEARCH GEDIT_DEBUG_SEARCH, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_PRINT GEDIT_DEBUG_PRINT, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_PREFS GEDIT_DEBUG_PREFS, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_PLUGINS GEDIT_DEBUG_PLUGINS, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_TAB GEDIT_DEBUG_TAB, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_DOCUMENT GEDIT_DEBUG_DOCUMENT,__FILE__, __LINE__, G_STRFUNC -#define DEBUG_COMMANDS GEDIT_DEBUG_COMMANDS,__FILE__, __LINE__, G_STRFUNC -#define DEBUG_APP GEDIT_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_SESSION GEDIT_DEBUG_SESSION, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_UTILS GEDIT_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_METADATA GEDIT_DEBUG_METADATA,__FILE__, __LINE__, G_STRFUNC -#define DEBUG_WINDOW GEDIT_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_LOADER GEDIT_DEBUG_LOADER, __FILE__, __LINE__, G_STRFUNC -#define DEBUG_SAVER GEDIT_DEBUG_SAVER, __FILE__, __LINE__, G_STRFUNC - -void gedit_debug_init (void); - -void gedit_debug (GeditDebugSection section, - const gchar *file, - gint line, - const gchar *function); - -void gedit_debug_message (GeditDebugSection section, - const gchar *file, - gint line, - const gchar *function, - const gchar *format, ...) G_GNUC_PRINTF(5, 6); - - -#endif /* __GEDIT_DEBUG_H__ */ diff --git a/gedit/gedit-document-input-stream.h b/gedit/gedit-document-input-stream.h deleted file mode 100755 index 01f6a49..0000000 --- a/gedit/gedit-document-input-stream.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * gedit-document-input-stream.h - * This file is part of gedit - * - * Copyright (C) 2010 - Ignacio Casal Quinteiro - * - * gedit 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. - * - * gedit 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 gedit; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifndef __GEDIT_DOCUMENT_INPUT_STREAM_H__ -#define __GEDIT_DOCUMENT_INPUT_STREAM_H__ - -#include -#include - -#include "gedit-document.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_DOCUMENT_INPUT_STREAM (gedit_document_input_stream_get_type ()) -#define GEDIT_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStream)) -#define GEDIT_DOCUMENT_INPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStream const)) -#define GEDIT_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStreamClass)) -#define GEDIT_IS_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM)) -#define GEDIT_IS_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_INPUT_STREAM)) -#define GEDIT_DOCUMENT_INPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStreamClass)) - -typedef struct _GeditDocumentInputStream GeditDocumentInputStream; -typedef struct _GeditDocumentInputStreamClass GeditDocumentInputStreamClass; -typedef struct _GeditDocumentInputStreamPrivate GeditDocumentInputStreamPrivate; - -struct _GeditDocumentInputStream -{ - GInputStream parent; - - GeditDocumentInputStreamPrivate *priv; -}; - -struct _GeditDocumentInputStreamClass -{ - GInputStreamClass parent_class; -}; - -GType gedit_document_input_stream_get_type (void) G_GNUC_CONST; - -GInputStream *gedit_document_input_stream_new (GtkTextBuffer *buffer, - GeditDocumentNewlineType type); - -gsize gedit_document_input_stream_get_total_size (GeditDocumentInputStream *stream); - -gsize gedit_document_input_stream_tell (GeditDocumentInputStream *stream); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENT_INPUT_STREAM_H__ */ diff --git a/gedit/gedit-document-loader.h b/gedit/gedit-document-loader.h deleted file mode 100755 index a627fba..0000000 --- a/gedit/gedit-document-loader.h +++ /dev/null @@ -1,130 +0,0 @@ -/* - * gedit-document-loader.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005-2007. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_DOCUMENT_LOADER_H__ -#define __GEDIT_DOCUMENT_LOADER_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_DOCUMENT_LOADER (gedit_document_loader_get_type()) -#define GEDIT_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoader)) -#define GEDIT_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoaderClass)) -#define GEDIT_IS_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT_LOADER)) -#define GEDIT_IS_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_LOADER)) -#define GEDIT_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoaderClass)) - -/* Private structure type */ -typedef struct _GeditDocumentLoaderPrivate GeditDocumentLoaderPrivate; - -/* - * Main object structure - */ -typedef struct _GeditDocumentLoader GeditDocumentLoader; - -struct _GeditDocumentLoader -{ - GObject object; - - GeditDocument *document; - gboolean used; - - /* Info on the current file */ - GFileInfo *info; - gchar *uri; - const GeditEncoding *encoding; - const GeditEncoding *auto_detected_encoding; - GeditDocumentNewlineType auto_detected_newline_type; -}; - -/* - * Class definition - */ -typedef struct _GeditDocumentLoaderClass GeditDocumentLoaderClass; - -struct _GeditDocumentLoaderClass -{ - GObjectClass parent_class; - - /* Signals */ - void (* loading) (GeditDocumentLoader *loader, - gboolean completed, - const GError *error); - - /* VTable */ - void (* load) (GeditDocumentLoader *loader); - gboolean (* cancel) (GeditDocumentLoader *loader); - goffset (* get_bytes_read) (GeditDocumentLoader *loader); -}; - -/* - * Public methods - */ -GType gedit_document_loader_get_type (void) G_GNUC_CONST; - -/* If enconding == NULL, the encoding will be autodetected */ -GeditDocumentLoader *gedit_document_loader_new (GeditDocument *doc, - const gchar *uri, - const GeditEncoding *encoding); - -void gedit_document_loader_loading (GeditDocumentLoader *loader, - gboolean completed, - GError *error); - -void gedit_document_loader_load (GeditDocumentLoader *loader); -#if 0 -gboolean gedit_document_loader_load_from_stdin (GeditDocumentLoader *loader); -#endif -gboolean gedit_document_loader_cancel (GeditDocumentLoader *loader); - -GeditDocument *gedit_document_loader_get_document (GeditDocumentLoader *loader); - -/* Returns STDIN_URI if loading from stdin */ -#define STDIN_URI "stdin:" -const gchar *gedit_document_loader_get_uri (GeditDocumentLoader *loader); - -const GeditEncoding *gedit_document_loader_get_encoding (GeditDocumentLoader *loader); - -GeditDocumentNewlineType gedit_document_loader_get_newline_type (GeditDocumentLoader *loader); - -goffset gedit_document_loader_get_bytes_read (GeditDocumentLoader *loader); - -/* You can get from the info: content_type, time_modified, standard_size, access_can_write - and also the metadata*/ -GFileInfo *gedit_document_loader_get_info (GeditDocumentLoader *loader); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENT_LOADER_H__ */ diff --git a/gedit/gedit-document-output-stream.h b/gedit/gedit-document-output-stream.h deleted file mode 100755 index a3f99fc..0000000 --- a/gedit/gedit-document-output-stream.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * gedit-document-output-stream.h - * This file is part of gedit - * - * Copyright (C) 2010 - Ignacio Casal Quinteiro - * - * gedit 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. - * - * gedit 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 gedit; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - - -#ifndef __GEDIT_DOCUMENT_OUTPUT_STREAM_H__ -#define __GEDIT_DOCUMENT_OUTPUT_STREAM_H__ - -#include -#include "gedit-document.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM (gedit_document_output_stream_get_type ()) -#define GEDIT_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStream)) -#define GEDIT_DOCUMENT_OUTPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStream const)) -#define GEDIT_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStreamClass)) -#define GEDIT_IS_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM)) -#define GEDIT_IS_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM)) -#define GEDIT_DOCUMENT_OUTPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStreamClass)) - -typedef struct _GeditDocumentOutputStream GeditDocumentOutputStream; -typedef struct _GeditDocumentOutputStreamClass GeditDocumentOutputStreamClass; -typedef struct _GeditDocumentOutputStreamPrivate GeditDocumentOutputStreamPrivate; - -struct _GeditDocumentOutputStream -{ - GOutputStream parent; - - GeditDocumentOutputStreamPrivate *priv; -}; - -struct _GeditDocumentOutputStreamClass -{ - GOutputStreamClass parent_class; -}; - -GType gedit_document_output_stream_get_type (void) G_GNUC_CONST; - -GOutputStream *gedit_document_output_stream_new (GeditDocument *doc); - -GeditDocumentNewlineType gedit_document_output_stream_detect_newline_type (GeditDocumentOutputStream *stream); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENT_OUTPUT_STREAM_H__ */ diff --git a/gedit/gedit-document-saver.h b/gedit/gedit-document-saver.h deleted file mode 100755 index ccc0b5c..0000000 --- a/gedit/gedit-document-saver.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - * gedit-document-saver.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_DOCUMENT_SAVER_H__ -#define __GEDIT_DOCUMENT_SAVER_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_DOCUMENT_SAVER (gedit_document_saver_get_type()) -#define GEDIT_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaver)) -#define GEDIT_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaverClass)) -#define GEDIT_IS_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT_SAVER)) -#define GEDIT_IS_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_SAVER)) -#define GEDIT_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaverClass)) - -/* - * Main object structure - */ -typedef struct _GeditDocumentSaver GeditDocumentSaver; - -struct _GeditDocumentSaver -{ - GObject object; - - /*< private >*/ - GFileInfo *info; - GeditDocument *document; - gboolean used; - - gchar *uri; - const GeditEncoding *encoding; - GeditDocumentNewlineType newline_type; - - GeditDocumentSaveFlags flags; - - gboolean keep_backup; -}; - -/* - * Class definition - */ -typedef struct _GeditDocumentSaverClass GeditDocumentSaverClass; - -struct _GeditDocumentSaverClass -{ - GObjectClass parent_class; - - /* Signals */ - void (* saving) (GeditDocumentSaver *saver, - gboolean completed, - const GError *error); - - /* VTable */ - void (* save) (GeditDocumentSaver *saver, - GTimeVal *old_mtime); - goffset (* get_file_size) (GeditDocumentSaver *saver); - goffset (* get_bytes_written) (GeditDocumentSaver *saver); -}; - -/* - * Public methods - */ -GType gedit_document_saver_get_type (void) G_GNUC_CONST; - -/* If enconding == NULL, the encoding will be autodetected */ -GeditDocumentSaver *gedit_document_saver_new (GeditDocument *doc, - const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentNewlineType newline_type, - GeditDocumentSaveFlags flags); - -void gedit_document_saver_saving (GeditDocumentSaver *saver, - gboolean completed, - GError *error); -void gedit_document_saver_save (GeditDocumentSaver *saver, - GTimeVal *old_mtime); - -#if 0 -void gedit_document_saver_cancel (GeditDocumentSaver *saver); -#endif - -GeditDocument *gedit_document_saver_get_document (GeditDocumentSaver *saver); - -const gchar *gedit_document_saver_get_uri (GeditDocumentSaver *saver); - -/* If backup_uri is NULL no backup will be made */ -const gchar *gedit_document_saver_get_backup_uri (GeditDocumentSaver *saver); -void *gedit_document_saver_set_backup_uri (GeditDocumentSaver *saver, - const gchar *backup_uri); - -/* Returns 0 if file size is unknown */ -goffset gedit_document_saver_get_file_size (GeditDocumentSaver *saver); - -goffset gedit_document_saver_get_bytes_written (GeditDocumentSaver *saver); - -GFileInfo *gedit_document_saver_get_info (GeditDocumentSaver *saver); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENT_SAVER_H__ */ diff --git a/gedit/gedit-document.h b/gedit/gedit-document.h deleted file mode 100755 index cf966b1..0000000 --- a/gedit/gedit-document.h +++ /dev/null @@ -1,338 +0,0 @@ -/* - * gedit-document.h - * This file is part of gedit - * - * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence - * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_DOCUMENT_H__ -#define __GEDIT_DOCUMENT_H__ - -#include -#include -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_DOCUMENT (gedit_document_get_type()) -#define GEDIT_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT, GeditDocument)) -#define GEDIT_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT, GeditDocumentClass)) -#define GEDIT_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT)) -#define GEDIT_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT)) -#define GEDIT_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT, GeditDocumentClass)) - -#ifdef G_OS_WIN32 -#define GEDIT_METADATA_ATTRIBUTE_POSITION "position" -#define GEDIT_METADATA_ATTRIBUTE_ENCODING "encoding" -#define GEDIT_METADATA_ATTRIBUTE_LANGUAGE "language" -#else -#define GEDIT_METADATA_ATTRIBUTE_POSITION "metadata::gedit-position" -#define GEDIT_METADATA_ATTRIBUTE_ENCODING "metadata::gedit-encoding" -#define GEDIT_METADATA_ATTRIBUTE_LANGUAGE "metadata::gedit-language" -#endif - -typedef enum -{ - GEDIT_DOCUMENT_NEWLINE_TYPE_LF, - GEDIT_DOCUMENT_NEWLINE_TYPE_CR, - GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF -} GeditDocumentNewlineType; - -#ifdef G_OS_WIN32 -#define GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF -#else -#define GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT GEDIT_DOCUMENT_NEWLINE_TYPE_LF -#endif - -typedef enum -{ - GEDIT_SEARCH_DONT_SET_FLAGS = 1 << 0, - GEDIT_SEARCH_ENTIRE_WORD = 1 << 1, - GEDIT_SEARCH_CASE_SENSITIVE = 1 << 2 - -} GeditSearchFlags; - -/** - * GeditDocumentSaveFlags: - * @GEDIT_DOCUMENT_SAVE_IGNORE_MTIME: save file despite external modifications. - * @GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP: write the file directly without attempting to backup. - * @GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP: preserve previous backup file, needed to support autosaving. - */ -typedef enum -{ - GEDIT_DOCUMENT_SAVE_IGNORE_MTIME = 1 << 0, - GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP = 1 << 1, - GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP = 1 << 2 -} GeditDocumentSaveFlags; - -/* Private structure type */ -typedef struct _GeditDocumentPrivate GeditDocumentPrivate; - -/* - * Main object structure - */ -typedef struct _GeditDocument GeditDocument; - -struct _GeditDocument -{ - GtkSourceBuffer buffer; - - /*< private > */ - GeditDocumentPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditDocumentClass GeditDocumentClass; - -struct _GeditDocumentClass -{ - GtkSourceBufferClass parent_class; - - /* Signals */ // CHECK: ancora da rivedere - - void (* cursor_moved) (GeditDocument *document); - - /* Document load */ - void (* load) (GeditDocument *document, - const gchar *uri, - const GeditEncoding *encoding, - gint line_pos, - gboolean create); - - void (* loading) (GeditDocument *document, - goffset size, - goffset total_size); - - void (* loaded) (GeditDocument *document, - const GError *error); - - /* Document save */ - void (* save) (GeditDocument *document, - const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentSaveFlags flags); - - void (* saving) (GeditDocument *document, - goffset size, - goffset total_size); - - void (* saved) (GeditDocument *document, - const GError *error); - - void (* search_highlight_updated) - (GeditDocument *document, - GtkTextIter *start, - GtkTextIter *end); -}; - - -#define GEDIT_DOCUMENT_ERROR gedit_document_error_quark () - -enum -{ - GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, - GEDIT_DOCUMENT_ERROR_CANT_CREATE_BACKUP, - GEDIT_DOCUMENT_ERROR_TOO_BIG, - GEDIT_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED, - GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK, - GEDIT_DOCUMENT_NUM_ERRORS -}; - -GQuark gedit_document_error_quark (void); - -GType gedit_document_get_type (void) G_GNUC_CONST; - -GeditDocument *gedit_document_new (void); - -GFile *gedit_document_get_location (GeditDocument *doc); - -gchar *gedit_document_get_uri (GeditDocument *doc); -void gedit_document_set_uri (GeditDocument *doc, - const gchar *uri); - -gchar *gedit_document_get_uri_for_display - (GeditDocument *doc); -gchar *gedit_document_get_short_name_for_display - (GeditDocument *doc); - -void gedit_document_set_short_name_for_display - (GeditDocument *doc, - const gchar *name); - -gchar *gedit_document_get_content_type - (GeditDocument *doc); - -void gedit_document_set_content_type - (GeditDocument *doc, - const gchar *content_type); - -gchar *gedit_document_get_mime_type (GeditDocument *doc); - -gboolean gedit_document_get_readonly (GeditDocument *doc); - -void gedit_document_load (GeditDocument *doc, - const gchar *uri, - const GeditEncoding *encoding, - gint line_pos, - gboolean create); - -gboolean gedit_document_insert_file (GeditDocument *doc, - GtkTextIter *iter, - const gchar *uri, - const GeditEncoding *encoding); - -gboolean gedit_document_load_cancel (GeditDocument *doc); - -void gedit_document_save (GeditDocument *doc, - GeditDocumentSaveFlags flags); - -void gedit_document_save_as (GeditDocument *doc, - const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentSaveFlags flags); - -gboolean gedit_document_is_untouched (GeditDocument *doc); -gboolean gedit_document_is_untitled (GeditDocument *doc); - -gboolean gedit_document_is_local (GeditDocument *doc); - -gboolean gedit_document_get_deleted (GeditDocument *doc); - -gboolean gedit_document_goto_line (GeditDocument *doc, - gint line); - -gboolean gedit_document_goto_line_offset(GeditDocument *doc, - gint line, - gint line_offset); - -void gedit_document_set_search_text (GeditDocument *doc, - const gchar *text, - guint flags); - -gchar *gedit_document_get_search_text (GeditDocument *doc, - guint *flags); - -gboolean gedit_document_get_can_search_again - (GeditDocument *doc); - -gboolean gedit_document_search_forward (GeditDocument *doc, - const GtkTextIter *start, - const GtkTextIter *end, - GtkTextIter *match_start, - GtkTextIter *match_end); - -gboolean gedit_document_search_backward (GeditDocument *doc, - const GtkTextIter *start, - const GtkTextIter *end, - GtkTextIter *match_start, - GtkTextIter *match_end); - -gint gedit_document_replace_all (GeditDocument *doc, - const gchar *find, - const gchar *replace, - guint flags); - -void gedit_document_set_language (GeditDocument *doc, - GtkSourceLanguage *lang); -GtkSourceLanguage - *gedit_document_get_language (GeditDocument *doc); - -const GeditEncoding - *gedit_document_get_encoding (GeditDocument *doc); - -void gedit_document_set_enable_search_highlighting - (GeditDocument *doc, - gboolean enable); - -gboolean gedit_document_get_enable_search_highlighting - (GeditDocument *doc); - -void gedit_document_set_newline_type (GeditDocument *doc, - GeditDocumentNewlineType newline_type); - -GeditDocumentNewlineType - gedit_document_get_newline_type (GeditDocument *doc); - -gchar *gedit_document_get_metadata (GeditDocument *doc, - const gchar *key); - -void gedit_document_set_metadata (GeditDocument *doc, - const gchar *first_key, - ...); - -/* - * Non exported functions - */ -void _gedit_document_set_readonly (GeditDocument *doc, - gboolean readonly); - -glong _gedit_document_get_seconds_since_last_save_or_load - (GeditDocument *doc); - -/* Note: this is a sync stat: use only on local files */ -gboolean _gedit_document_check_externally_modified - (GeditDocument *doc); - -void _gedit_document_search_region (GeditDocument *doc, - const GtkTextIter *start, - const GtkTextIter *end); - -/* Search macros */ -#define GEDIT_SEARCH_IS_DONT_SET_FLAGS(sflags) ((sflags & GEDIT_SEARCH_DONT_SET_FLAGS) != 0) -#define GEDIT_SEARCH_SET_DONT_SET_FLAGS(sflags,state) ((state == TRUE) ? \ -(sflags |= GEDIT_SEARCH_DONT_SET_FLAGS) : (sflags &= ~GEDIT_SEARCH_DONT_SET_FLAGS)) - -#define GEDIT_SEARCH_IS_ENTIRE_WORD(sflags) ((sflags & GEDIT_SEARCH_ENTIRE_WORD) != 0) -#define GEDIT_SEARCH_SET_ENTIRE_WORD(sflags,state) ((state == TRUE) ? \ -(sflags |= GEDIT_SEARCH_ENTIRE_WORD) : (sflags &= ~GEDIT_SEARCH_ENTIRE_WORD)) - -#define GEDIT_SEARCH_IS_CASE_SENSITIVE(sflags) ((sflags & GEDIT_SEARCH_CASE_SENSITIVE) != 0) -#define GEDIT_SEARCH_SET_CASE_SENSITIVE(sflags,state) ((state == TRUE) ? \ -(sflags |= GEDIT_SEARCH_CASE_SENSITIVE) : (sflags &= ~GEDIT_SEARCH_CASE_SENSITIVE)) - -typedef GMountOperation *(*GeditMountOperationFactory)(GeditDocument *doc, - gpointer userdata); - -void _gedit_document_set_mount_operation_factory - (GeditDocument *doc, - GeditMountOperationFactory callback, - gpointer userdata); -GMountOperation - *_gedit_document_create_mount_operation - (GeditDocument *doc); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENT_H__ */ diff --git a/gedit/gedit-documents-panel.h b/gedit/gedit-documents-panel.h deleted file mode 100755 index b6191bf..0000000 --- a/gedit/gedit-documents-panel.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * gedit-documents-panel.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_DOCUMENTS_PANEL_H__ -#define __GEDIT_DOCUMENTS_PANEL_H__ - -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_DOCUMENTS_PANEL (gedit_documents_panel_get_type()) -#define GEDIT_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanel)) -#define GEDIT_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanelClass)) -#define GEDIT_IS_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENTS_PANEL)) -#define GEDIT_IS_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENTS_PANEL)) -#define GEDIT_DOCUMENTS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanelClass)) - -/* Private structure type */ -typedef struct _GeditDocumentsPanelPrivate GeditDocumentsPanelPrivate; - -/* - * Main object structure - */ -typedef struct _GeditDocumentsPanel GeditDocumentsPanel; - -struct _GeditDocumentsPanel -{ - GtkVBox vbox; - - /*< private > */ - GeditDocumentsPanelPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditDocumentsPanelClass GeditDocumentsPanelClass; - -struct _GeditDocumentsPanelClass -{ - GtkVBoxClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_documents_panel_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_documents_panel_new (GeditWindow *window); - -G_END_DECLS - -#endif /* __GEDIT_DOCUMENTS_PANEL_H__ */ diff --git a/gedit/gedit-encodings-combo-box.h b/gedit/gedit-encodings-combo-box.h deleted file mode 100755 index 586f800..0000000 --- a/gedit/gedit-encodings-combo-box.h +++ /dev/null @@ -1,78 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-encodings-combo-box.h - * This file is part of gedit - * - * Copyright (C) 2003-2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2003-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id: gedit-encodings-option-menu.h 4429 2005-12-12 17:28:04Z pborelli $ - */ - -#ifndef __GEDIT_ENCODINGS_COMBO_BOX_H__ -#define __GEDIT_ENCODINGS_COMBO_BOX_H__ - -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_ENCODINGS_COMBO_BOX (gedit_encodings_combo_box_get_type ()) -#define GEDIT_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBox)) -#define GEDIT_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBoxClass)) -#define GEDIT_IS_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX)) -#define GEDIT_IS_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_ENCODINGS_COMBO_BOX)) -#define GEDIT_ENCODINGS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBoxClass)) - - -typedef struct _GeditEncodingsComboBox GeditEncodingsComboBox; -typedef struct _GeditEncodingsComboBoxClass GeditEncodingsComboBoxClass; - -typedef struct _GeditEncodingsComboBoxPrivate GeditEncodingsComboBoxPrivate; - -struct _GeditEncodingsComboBox -{ - GtkComboBox parent; - - GeditEncodingsComboBoxPrivate *priv; -}; - -struct _GeditEncodingsComboBoxClass -{ - GtkComboBoxClass parent_class; -}; - -GType gedit_encodings_combo_box_get_type (void) G_GNUC_CONST; - -/* Constructor */ -GtkWidget *gedit_encodings_combo_box_new (gboolean save_mode); - -const GeditEncoding *gedit_encodings_combo_box_get_selected_encoding (GeditEncodingsComboBox *menu); -void gedit_encodings_combo_box_set_selected_encoding (GeditEncodingsComboBox *menu, - const GeditEncoding *encoding); - -G_END_DECLS - -#endif /* __GEDIT_ENCODINGS_COMBO_BOX_H__ */ - - diff --git a/gedit/gedit-file-chooser-dialog.h b/gedit/gedit-file-chooser-dialog.h deleted file mode 100755 index 090045c..0000000 --- a/gedit/gedit-file-chooser-dialog.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * gedit-file-chooser-dialog.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_FILE_CHOOSER_DIALOG_H__ -#define __GEDIT_FILE_CHOOSER_DIALOG_H__ - -#include - -#include -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_FILE_CHOOSER_DIALOG (gedit_file_chooser_dialog_get_type ()) -#define GEDIT_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialog)) -#define GEDIT_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialogClass)) -#define GEDIT_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG)) -#define GEDIT_IS_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_CHOOSER_DIALOG)) -#define GEDIT_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialogClass)) - -typedef struct _GeditFileChooserDialog GeditFileChooserDialog; -typedef struct _GeditFileChooserDialogClass GeditFileChooserDialogClass; - -typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate; - -struct _GeditFileChooserDialogClass -{ - GtkFileChooserDialogClass parent_class; -}; - -struct _GeditFileChooserDialog -{ - GtkFileChooserDialog parent_instance; - - GeditFileChooserDialogPrivate *priv; -}; - -GType gedit_file_chooser_dialog_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_file_chooser_dialog_new (const gchar *title, - GtkWindow *parent, - GtkFileChooserAction action, - const GeditEncoding *encoding, - const gchar *first_button_text, - ...); - -void gedit_file_chooser_dialog_set_encoding (GeditFileChooserDialog *dialog, - const GeditEncoding *encoding); - -const GeditEncoding - *gedit_file_chooser_dialog_get_encoding (GeditFileChooserDialog *dialog); - -void gedit_file_chooser_dialog_set_newline_type (GeditFileChooserDialog *dialog, - GeditDocumentNewlineType newline_type); - -GeditDocumentNewlineType - gedit_file_chooser_dialog_get_newline_type (GeditFileChooserDialog *dialog); - -G_END_DECLS - -#endif /* __GEDIT_FILE_CHOOSER_DIALOG_H__ */ diff --git a/gedit/gedit-gio-document-loader.h b/gedit/gedit-gio-document-loader.h deleted file mode 100755 index 78c9e8a..0000000 --- a/gedit/gedit-gio-document-loader.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * gedit-gio-document-loader.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005-2008. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_GIO_DOCUMENT_LOADER_H__ -#define __GEDIT_GIO_DOCUMENT_LOADER_H__ - -#include -#include "gedit-document-loader.h" - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_GIO_DOCUMENT_LOADER (gedit_gio_document_loader_get_type()) -#define GEDIT_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoader)) -#define GEDIT_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoaderClass)) -#define GEDIT_IS_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER)) -#define GEDIT_IS_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_GIO_DOCUMENT_LOADER)) -#define GEDIT_GIO_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoaderClass)) - -/* Private structure type */ -typedef struct _GeditGioDocumentLoaderPrivate GeditGioDocumentLoaderPrivate; - -/* - * Main object structure - */ -typedef struct _GeditGioDocumentLoader GeditGioDocumentLoader; - -struct _GeditGioDocumentLoader -{ - GeditDocumentLoader loader; - - /*< private > */ - GeditGioDocumentLoaderPrivate *priv; -}; - -/* - * Class definition - */ -typedef GeditDocumentLoaderClass GeditGioDocumentLoaderClass; - -/* - * Public methods - */ -GType gedit_gio_document_loader_get_type (void) G_GNUC_CONST; - -G_END_DECLS - -#endif /* __GEDIT_GIO_DOCUMENT_LOADER_H__ */ diff --git a/gedit/gedit-gio-document-saver.h b/gedit/gedit-gio-document-saver.h deleted file mode 100755 index 18e05df..0000000 --- a/gedit/gedit-gio-document-saver.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * gedit-gio-document-saver.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005-2007. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_GIO_DOCUMENT_SAVER_H__ -#define __GEDIT_GIO_DOCUMENT_SAVER_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_GIO_DOCUMENT_SAVER (gedit_gio_document_saver_get_type()) -#define GEDIT_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaver)) -#define GEDIT_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaverClass)) -#define GEDIT_IS_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER)) -#define GEDIT_IS_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_GIO_DOCUMENT_SAVER)) -#define GEDIT_GIO_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaverClass)) - -/* Private structure type */ -typedef struct _GeditGioDocumentSaverPrivate GeditGioDocumentSaverPrivate; - -/* - * Main object structure - */ -typedef struct _GeditGioDocumentSaver GeditGioDocumentSaver; - -struct _GeditGioDocumentSaver -{ - GeditDocumentSaver saver; - - /*< private > */ - GeditGioDocumentSaverPrivate *priv; -}; - -/* - * Class definition - */ -typedef GeditDocumentSaverClass GeditGioDocumentSaverClass; - -/* - * Public methods - */ -GType gedit_gio_document_saver_get_type (void) G_GNUC_CONST; - -G_END_DECLS - -#endif /* __GEDIT_GIO_DOCUMENT_SAVER_H__ */ diff --git a/gedit/gedit-history-entry.h b/gedit/gedit-history-entry.h deleted file mode 100755 index 59e810c..0000000 --- a/gedit/gedit-history-entry.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * gedit-history-entry.h - * This file is part of gedit - * - * Copyright (C) 2006 - Paolo Borelli - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2006. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_HISTORY_ENTRY_H__ -#define __GEDIT_HISTORY_ENTRY_H__ - - -G_BEGIN_DECLS - -#define GEDIT_TYPE_HISTORY_ENTRY (gedit_history_entry_get_type ()) -#define GEDIT_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntry)) -#define GEDIT_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntryClass)) -#define GEDIT_IS_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_HISTORY_ENTRY)) -#define GEDIT_IS_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_HISTORY_ENTRY)) -#define GEDIT_HISTORY_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntryClass)) - - -typedef struct _GeditHistoryEntry GeditHistoryEntry; -typedef struct _GeditHistoryEntryClass GeditHistoryEntryClass; -typedef struct _GeditHistoryEntryPrivate GeditHistoryEntryPrivate; - -struct _GeditHistoryEntryClass -{ - GtkComboBoxEntryClass parent_class; -}; - -struct _GeditHistoryEntry -{ - GtkComboBoxEntry parent_instance; - - GeditHistoryEntryPrivate *priv; -}; - -GType gedit_history_entry_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_history_entry_new (const gchar *history_id, - gboolean enable_completion); - -void gedit_history_entry_prepend_text (GeditHistoryEntry *entry, - const gchar *text); - -void gedit_history_entry_append_text (GeditHistoryEntry *entry, - const gchar *text); - -void gedit_history_entry_clear (GeditHistoryEntry *entry); - -void gedit_history_entry_set_history_length (GeditHistoryEntry *entry, - guint max_saved); - -guint gedit_history_entry_get_history_length (GeditHistoryEntry *gentry); - -gchar *gedit_history_entry_get_history_id (GeditHistoryEntry *entry); - -void gedit_history_entry_set_enable_completion - (GeditHistoryEntry *entry, - gboolean enable); - -gboolean gedit_history_entry_get_enable_completion - (GeditHistoryEntry *entry); - -GtkWidget *gedit_history_entry_get_entry (GeditHistoryEntry *entry); - -typedef gchar * (* GeditHistoryEntryEscapeFunc) (const gchar *str); -void gedit_history_entry_set_escape_func (GeditHistoryEntry *entry, - GeditHistoryEntryEscapeFunc escape_func); - -G_END_DECLS - -#endif /* __GEDIT_HISTORY_ENTRY_H__ */ diff --git a/gedit/gedit-message-bus.h b/gedit/gedit-message-bus.h deleted file mode 100755 index b60eabd..0000000 --- a/gedit/gedit-message-bus.h +++ /dev/null @@ -1,129 +0,0 @@ -#ifndef __GEDIT_MESSAGE_BUS_H__ -#define __GEDIT_MESSAGE_BUS_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_MESSAGE_BUS (gedit_message_bus_get_type ()) -#define GEDIT_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBus)) -#define GEDIT_MESSAGE_BUS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBus const)) -#define GEDIT_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBusClass)) -#define GEDIT_IS_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_MESSAGE_BUS)) -#define GEDIT_IS_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_MESSAGE_BUS)) -#define GEDIT_MESSAGE_BUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBusClass)) - -typedef struct _GeditMessageBus GeditMessageBus; -typedef struct _GeditMessageBusClass GeditMessageBusClass; -typedef struct _GeditMessageBusPrivate GeditMessageBusPrivate; - -struct _GeditMessageBus { - GObject parent; - - GeditMessageBusPrivate *priv; -}; - -struct _GeditMessageBusClass { - GObjectClass parent_class; - - void (*dispatch) (GeditMessageBus *bus, - GeditMessage *message); - void (*registered) (GeditMessageBus *bus, - GeditMessageType *message_type); - void (*unregistered) (GeditMessageBus *bus, - GeditMessageType *message_type); -}; - -typedef void (* GeditMessageCallback) (GeditMessageBus *bus, - GeditMessage *message, - gpointer userdata); - -typedef void (* GeditMessageBusForeach) (GeditMessageType *message_type, - gpointer userdata); - -GType gedit_message_bus_get_type (void) G_GNUC_CONST; - -GeditMessageBus *gedit_message_bus_get_default (void); -GeditMessageBus *gedit_message_bus_new (void); - -/* registering messages */ -GeditMessageType *gedit_message_bus_lookup (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method); -GeditMessageType *gedit_message_bus_register (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - guint num_optional, - ...) G_GNUC_NULL_TERMINATED; - -void gedit_message_bus_unregister (GeditMessageBus *bus, - GeditMessageType *message_type); - -void gedit_message_bus_unregister_all (GeditMessageBus *bus, - const gchar *object_path); - -gboolean gedit_message_bus_is_registered (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method); - -void gedit_message_bus_foreach (GeditMessageBus *bus, - GeditMessageBusForeach func, - gpointer userdata); - - -/* connecting to message events */ -guint gedit_message_bus_connect (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - GeditMessageCallback callback, - gpointer userdata, - GDestroyNotify destroy_data); - -void gedit_message_bus_disconnect (GeditMessageBus *bus, - guint id); - -void gedit_message_bus_disconnect_by_func (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - GeditMessageCallback callback, - gpointer userdata); - -/* blocking message event callbacks */ -void gedit_message_bus_block (GeditMessageBus *bus, - guint id); -void gedit_message_bus_block_by_func (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - GeditMessageCallback callback, - gpointer userdata); - -void gedit_message_bus_unblock (GeditMessageBus *bus, - guint id); -void gedit_message_bus_unblock_by_func (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - GeditMessageCallback callback, - gpointer userdata); - -/* sending messages */ -void gedit_message_bus_send_message (GeditMessageBus *bus, - GeditMessage *message); -void gedit_message_bus_send_message_sync (GeditMessageBus *bus, - GeditMessage *message); - -void gedit_message_bus_send (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - ...) G_GNUC_NULL_TERMINATED; -GeditMessage *gedit_message_bus_send_sync (GeditMessageBus *bus, - const gchar *object_path, - const gchar *method, - ...) G_GNUC_NULL_TERMINATED; - -G_END_DECLS - -#endif /* __GEDIT_MESSAGE_BUS_H__ */ - -// ex:ts=8:noet: diff --git a/gedit/gedit-message-type.h b/gedit/gedit-message-type.h deleted file mode 100755 index d3140cd..0000000 --- a/gedit/gedit-message-type.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef __GEDIT_MESSAGE_TYPE_H__ -#define __GEDIT_MESSAGE_TYPE_H__ - -#include -#include - -#include "gedit-message.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_MESSAGE_TYPE (gedit_message_type_get_type ()) -#define GEDIT_MESSAGE_TYPE(x) ((GeditMessageType *)(x)) - -typedef void (*GeditMessageTypeForeach) (const gchar *key, - GType type, - gboolean required, - gpointer user_data); - -typedef struct _GeditMessageType GeditMessageType; - -GType gedit_message_type_get_type (void) G_GNUC_CONST; - -gboolean gedit_message_type_is_supported (GType type); -gchar *gedit_message_type_identifier (const gchar *object_path, - const gchar *method); -gboolean gedit_message_type_is_valid_object_path (const gchar *object_path); - -GeditMessageType *gedit_message_type_new (const gchar *object_path, - const gchar *method, - guint num_optional, - ...) G_GNUC_NULL_TERMINATED; -GeditMessageType *gedit_message_type_new_valist (const gchar *object_path, - const gchar *method, - guint num_optional, - va_list va_args); - -void gedit_message_type_set (GeditMessageType *message_type, - guint num_optional, - ...) G_GNUC_NULL_TERMINATED; -void gedit_message_type_set_valist (GeditMessageType *message_type, - guint num_optional, - va_list va_args); - -GeditMessageType *gedit_message_type_ref (GeditMessageType *message_type); -void gedit_message_type_unref (GeditMessageType *message_type); - - -GeditMessage *gedit_message_type_instantiate_valist (GeditMessageType *message_type, - va_list va_args); -GeditMessage *gedit_message_type_instantiate (GeditMessageType *message_type, - ...) G_GNUC_NULL_TERMINATED; - -const gchar *gedit_message_type_get_object_path (GeditMessageType *message_type); -const gchar *gedit_message_type_get_method (GeditMessageType *message_type); - -GType gedit_message_type_lookup (GeditMessageType *message_type, - const gchar *key); - -void gedit_message_type_foreach (GeditMessageType *message_type, - GeditMessageTypeForeach func, - gpointer user_data); - -G_END_DECLS - -#endif /* __GEDIT_MESSAGE_TYPE_H__ */ - -// ex:ts=8:noet: diff --git a/gedit/gedit-message.h b/gedit/gedit-message.h deleted file mode 100755 index 9d17ac9..0000000 --- a/gedit/gedit-message.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef __GEDIT_MESSAGE_H__ -#define __GEDIT_MESSAGE_H__ - -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_MESSAGE (gedit_message_get_type ()) -#define GEDIT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE, GeditMessage)) -#define GEDIT_MESSAGE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE, GeditMessage const)) -#define GEDIT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_MESSAGE, GeditMessageClass)) -#define GEDIT_IS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_MESSAGE)) -#define GEDIT_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_MESSAGE)) -#define GEDIT_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_MESSAGE, GeditMessageClass)) - -typedef struct _GeditMessage GeditMessage; -typedef struct _GeditMessageClass GeditMessageClass; -typedef struct _GeditMessagePrivate GeditMessagePrivate; - -struct _GeditMessage { - GObject parent; - - GeditMessagePrivate *priv; -}; - -struct _GeditMessageClass { - GObjectClass parent_class; -}; - -GType gedit_message_get_type (void) G_GNUC_CONST; - -struct _GeditMessageType gedit_message_get_message_type (GeditMessage *message); - -void gedit_message_get (GeditMessage *message, - ...) G_GNUC_NULL_TERMINATED; -void gedit_message_get_valist (GeditMessage *message, - va_list var_args); -void gedit_message_get_value (GeditMessage *message, - const gchar *key, - GValue *value); - -void gedit_message_set (GeditMessage *message, - ...) G_GNUC_NULL_TERMINATED; -void gedit_message_set_valist (GeditMessage *message, - va_list var_args); -void gedit_message_set_value (GeditMessage *message, - const gchar *key, - GValue *value); -void gedit_message_set_valuesv (GeditMessage *message, - const gchar **keys, - GValue *values, - gint n_values); - -const gchar *gedit_message_get_object_path (GeditMessage *message); -const gchar *gedit_message_get_method (GeditMessage *message); - -gboolean gedit_message_has_key (GeditMessage *message, - const gchar *key); - -GType gedit_message_get_key_type (GeditMessage *message, - const gchar *key); - -gboolean gedit_message_validate (GeditMessage *message); - - -G_END_DECLS - -#endif /* __GEDIT_MESSAGE_H__ */ - -// ex:ts=8:noet: diff --git a/gedit/gedit-notebook.h b/gedit/gedit-notebook.h deleted file mode 100755 index ada7c27..0000000 --- a/gedit/gedit-notebook.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * gedit-notebook.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -/* This file is a modified version of the epiphany file ephy-notebook.h - * Here the relevant copyright: - * - * Copyright (C) 2002 Christophe Fergeau - * Copyright (C) 2003 Marco Pesenti Gritti - * Copyright (C) 2003, 2004 Christian Persch - * - */ - -#ifndef GEDIT_NOTEBOOK_H -#define GEDIT_NOTEBOOK_H - -#include - -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_NOTEBOOK (gedit_notebook_get_type ()) -#define GEDIT_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_NOTEBOOK, GeditNotebook)) -#define GEDIT_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_NOTEBOOK, GeditNotebookClass)) -#define GEDIT_IS_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_NOTEBOOK)) -#define GEDIT_IS_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_NOTEBOOK)) -#define GEDIT_NOTEBOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_NOTEBOOK, GeditNotebookClass)) - -/* Private structure type */ -typedef struct _GeditNotebookPrivate GeditNotebookPrivate; - -/* - * Main object structure - */ -typedef struct _GeditNotebook GeditNotebook; - -struct _GeditNotebook -{ - GtkNotebook notebook; - - /*< private >*/ - GeditNotebookPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditNotebookClass GeditNotebookClass; - -struct _GeditNotebookClass -{ - GtkNotebookClass parent_class; - - /* Signals */ - void (* tab_added) (GeditNotebook *notebook, - GeditTab *tab); - void (* tab_removed) (GeditNotebook *notebook, - GeditTab *tab); - void (* tab_detached) (GeditNotebook *notebook, - GeditTab *tab); - void (* tabs_reordered) (GeditNotebook *notebook); - void (* tab_close_request) - (GeditNotebook *notebook, - GeditTab *tab); -}; - -/* - * Public methods - */ -GType gedit_notebook_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_notebook_new (void); - -void gedit_notebook_add_tab (GeditNotebook *nb, - GeditTab *tab, - gint position, - gboolean jump_to); - -void gedit_notebook_remove_tab (GeditNotebook *nb, - GeditTab *tab); - -void gedit_notebook_remove_all_tabs (GeditNotebook *nb); - -void gedit_notebook_reorder_tab (GeditNotebook *src, - GeditTab *tab, - gint dest_position); - -void gedit_notebook_move_tab (GeditNotebook *src, - GeditNotebook *dest, - GeditTab *tab, - gint dest_position); - -/* FIXME: do we really need this function ? */ -void gedit_notebook_set_always_show_tabs - (GeditNotebook *nb, - gboolean show_tabs); - -void gedit_notebook_set_close_buttons_sensitive - (GeditNotebook *nb, - gboolean sensitive); - -gboolean gedit_notebook_get_close_buttons_sensitive - (GeditNotebook *nb); - -void gedit_notebook_set_tab_drag_and_drop_enabled - (GeditNotebook *nb, - gboolean enable); - -gboolean gedit_notebook_get_tab_drag_and_drop_enabled - (GeditNotebook *nb); - -G_END_DECLS - -#endif /* GEDIT_NOTEBOOK_H */ diff --git a/gedit/gedit-object-module.h b/gedit/gedit-object-module.h deleted file mode 100755 index 0621079..0000000 --- a/gedit/gedit-object-module.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * gedit-object-module.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* This is a modified version of gedit-module.h from Epiphany source code. - * Here the original copyright assignment: - * - * Copyright (C) 2003 Marco Pesenti Gritti - * Copyright (C) 2003, 2004 Christian Persch - * - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id: gedit-module.h 6263 2008-05-05 10:52:10Z sfre $ - */ - -#ifndef __GEDIT_OBJECT_MODULE_H__ -#define __GEDIT_OBJECT_MODULE_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_OBJECT_MODULE (gedit_object_module_get_type ()) -#define GEDIT_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModule)) -#define GEDIT_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModuleClass)) -#define GEDIT_IS_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_OBJECT_MODULE)) -#define GEDIT_IS_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_OBJECT_MODULE)) -#define GEDIT_OBJECT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModuleClass)) - -typedef struct _GeditObjectModule GeditObjectModule; -typedef struct _GeditObjectModulePrivate GeditObjectModulePrivate; - -struct _GeditObjectModule -{ - GTypeModule parent; - - GeditObjectModulePrivate *priv; -}; - -typedef struct _GeditObjectModuleClass GeditObjectModuleClass; - -struct _GeditObjectModuleClass -{ - GTypeModuleClass parent_class; - - /* Virtual class methods */ - void (* garbage_collect) (); -}; - -GType gedit_object_module_get_type (void) G_GNUC_CONST; - -GeditObjectModule *gedit_object_module_new (const gchar *module_name, - const gchar *path, - const gchar *type_registration, - gboolean resident); - -GObject *gedit_object_module_new_object (GeditObjectModule *module, - const gchar *first_property_name, - ...); - -GType gedit_object_module_get_object_type (GeditObjectModule *module); -const gchar *gedit_object_module_get_path (GeditObjectModule *module); -const gchar *gedit_object_module_get_module_name (GeditObjectModule *module); -const gchar *gedit_object_module_get_type_registration (GeditObjectModule *module); - -G_END_DECLS - -#endif diff --git a/gedit/gedit-panel.h b/gedit/gedit-panel.h deleted file mode 100755 index 87b0536..0000000 --- a/gedit/gedit-panel.h +++ /dev/null @@ -1,130 +0,0 @@ -/* - * gedit-panel.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PANEL_H__ -#define __GEDIT_PANEL_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PANEL (gedit_panel_get_type()) -#define GEDIT_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PANEL, GeditPanel)) -#define GEDIT_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PANEL, GeditPanelClass)) -#define GEDIT_IS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PANEL)) -#define GEDIT_IS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PANEL)) -#define GEDIT_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PANEL, GeditPanelClass)) - -/* Private structure type */ -typedef struct _GeditPanelPrivate GeditPanelPrivate; - -/* - * Main object structure - */ -typedef struct _GeditPanel GeditPanel; - -struct _GeditPanel -{ - GtkVBox vbox; - - /*< private > */ - GeditPanelPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditPanelClass GeditPanelClass; - -struct _GeditPanelClass -{ - GtkVBoxClass parent_class; - - void (* item_added) (GeditPanel *panel, - GtkWidget *item); - void (* item_removed) (GeditPanel *panel, - GtkWidget *item); - - /* Keybinding signals */ - void (* close) (GeditPanel *panel); - void (* focus_document) (GeditPanel *panel); - - /* Padding for future expansion */ - void (*_gedit_reserved1) (void); - void (*_gedit_reserved2) (void); - void (*_gedit_reserved3) (void); - void (*_gedit_reserved4) (void); -}; - -/* - * Public methods - */ -GType gedit_panel_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_panel_new (GtkOrientation orientation); - -void gedit_panel_add_item (GeditPanel *panel, - GtkWidget *item, - const gchar *name, - GtkWidget *image); - -void gedit_panel_add_item_with_stock_icon (GeditPanel *panel, - GtkWidget *item, - const gchar *name, - const gchar *stock_id); - -gboolean gedit_panel_remove_item (GeditPanel *panel, - GtkWidget *item); - -gboolean gedit_panel_activate_item (GeditPanel *panel, - GtkWidget *item); - -gboolean gedit_panel_item_is_active (GeditPanel *panel, - GtkWidget *item); - -GtkOrientation gedit_panel_get_orientation (GeditPanel *panel); - -gint gedit_panel_get_n_items (GeditPanel *panel); - - -/* - * Non exported functions - */ -gint _gedit_panel_get_active_item_id (GeditPanel *panel); - -void _gedit_panel_set_active_item_by_id (GeditPanel *panel, - gint id); - -G_END_DECLS - -#endif /* __GEDIT_PANEL_H__ */ diff --git a/gedit/gedit-plugin-info.h b/gedit/gedit-plugin-info.h deleted file mode 100755 index ac9e2fa..0000000 --- a/gedit/gedit-plugin-info.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * gedit-plugin-info.h - * This file is part of gedit - * - * Copyright (C) 2002-2005 - Paolo Maggi - * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002-2007. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PLUGIN_INFO_H__ -#define __GEDIT_PLUGIN_INFO_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_PLUGIN_INFO (gedit_plugin_info_get_type ()) -#define GEDIT_PLUGIN_INFO(obj) ((GeditPluginInfo *) (obj)) - -typedef struct _GeditPluginInfo GeditPluginInfo; - -GType gedit_plugin_info_get_type (void) G_GNUC_CONST; - -gboolean gedit_plugin_info_is_active (GeditPluginInfo *info); -gboolean gedit_plugin_info_is_available (GeditPluginInfo *info); -gboolean gedit_plugin_info_is_configurable (GeditPluginInfo *info); - -const gchar *gedit_plugin_info_get_module_name (GeditPluginInfo *info); - -const gchar *gedit_plugin_info_get_name (GeditPluginInfo *info); -const gchar *gedit_plugin_info_get_description (GeditPluginInfo *info); -const gchar *gedit_plugin_info_get_icon_name (GeditPluginInfo *info); -const gchar **gedit_plugin_info_get_authors (GeditPluginInfo *info); -const gchar *gedit_plugin_info_get_website (GeditPluginInfo *info); -const gchar *gedit_plugin_info_get_copyright (GeditPluginInfo *info); -const gchar *gedit_plugin_info_get_version (GeditPluginInfo *info); - -G_END_DECLS - -#endif /* __GEDIT_PLUGIN_INFO_H__ */ - diff --git a/gedit/gedit-plugin-manager.h b/gedit/gedit-plugin-manager.h deleted file mode 100755 index 53392ba..0000000 --- a/gedit/gedit-plugin-manager.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * gedit-plugin-manager.h - * This file is part of gedit - * - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PLUGIN_MANAGER_H__ -#define __GEDIT_PLUGIN_MANAGER_H__ - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PLUGIN_MANAGER (gedit_plugin_manager_get_type()) -#define GEDIT_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManager)) -#define GEDIT_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManagerClass)) -#define GEDIT_IS_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGIN_MANAGER)) -#define GEDIT_IS_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN_MANAGER)) -#define GEDIT_PLUGIN_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManagerClass)) - -/* Private structure type */ -typedef struct _GeditPluginManagerPrivate GeditPluginManagerPrivate; - -/* - * Main object structure - */ -typedef struct _GeditPluginManager GeditPluginManager; - -struct _GeditPluginManager -{ - GtkVBox vbox; - - /*< private > */ - GeditPluginManagerPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditPluginManagerClass GeditPluginManagerClass; - -struct _GeditPluginManagerClass -{ - GtkVBoxClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_plugin_manager_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_plugin_manager_new (void); - -G_END_DECLS - -#endif /* __GEDIT_PLUGIN_MANAGER_H__ */ diff --git a/gedit/gedit-plugins-engine.h b/gedit/gedit-plugins-engine.h deleted file mode 100755 index f2ebff6..0000000 --- a/gedit/gedit-plugins-engine.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * gedit-plugins-engine.h - * This file is part of gedit - * - * Copyright (C) 2002-2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PLUGINS_ENGINE_H__ -#define __GEDIT_PLUGINS_ENGINE_H__ - -#include -#include "gedit-window.h" -#include "gedit-plugin-info.h" -#include "gedit-plugin.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_PLUGINS_ENGINE (gedit_plugins_engine_get_type ()) -#define GEDIT_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngine)) -#define GEDIT_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngineClass)) -#define GEDIT_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGINS_ENGINE)) -#define GEDIT_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGINS_ENGINE)) -#define GEDIT_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngineClass)) - -typedef struct _GeditPluginsEngine GeditPluginsEngine; -typedef struct _GeditPluginsEnginePrivate GeditPluginsEnginePrivate; - -struct _GeditPluginsEngine -{ - GObject parent; - GeditPluginsEnginePrivate *priv; -}; - -typedef struct _GeditPluginsEngineClass GeditPluginsEngineClass; - -struct _GeditPluginsEngineClass -{ - GObjectClass parent_class; - - void (* activate_plugin) (GeditPluginsEngine *engine, - GeditPluginInfo *info); - - void (* deactivate_plugin) (GeditPluginsEngine *engine, - GeditPluginInfo *info); -}; - -GType gedit_plugins_engine_get_type (void) G_GNUC_CONST; - -GeditPluginsEngine *gedit_plugins_engine_get_default (void); - -void gedit_plugins_engine_garbage_collect (GeditPluginsEngine *engine); - -const GList *gedit_plugins_engine_get_plugin_list (GeditPluginsEngine *engine); - -GeditPluginInfo *gedit_plugins_engine_get_plugin_info (GeditPluginsEngine *engine, - const gchar *name); - -/* plugin load and unloading (overall, for all windows) */ -gboolean gedit_plugins_engine_activate_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info); -gboolean gedit_plugins_engine_deactivate_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info); - -void gedit_plugins_engine_configure_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info, - GtkWindow *parent); - -/* plugin activation/deactivation per window, private to GeditWindow */ -void gedit_plugins_engine_activate_plugins (GeditPluginsEngine *engine, - GeditWindow *window); -void gedit_plugins_engine_deactivate_plugins (GeditPluginsEngine *engine, - GeditWindow *window); -void gedit_plugins_engine_update_plugins_ui (GeditPluginsEngine *engine, - GeditWindow *window); - -/* private for mateconf notification */ -void gedit_plugins_engine_active_plugins_changed - (GeditPluginsEngine *engine); - -void gedit_plugins_engine_rescan_plugins (GeditPluginsEngine *engine); - -G_END_DECLS - -#endif /* __GEDIT_PLUGINS_ENGINE_H__ */ diff --git a/gedit/gedit-prefs-manager-app.h b/gedit/gedit-prefs-manager-app.h deleted file mode 100755 index 592b643..0000000 --- a/gedit/gedit-prefs-manager-app.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * gedit-prefs-manager-app.h - * This file is part of gedit - * - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - * - */ - -#ifndef __GEDIT_PREFS_MANAGER_APP_H__ -#define __GEDIT_PREFS_MANAGER_APP_H__ - -#include -#include - -/** LIFE CYCLE MANAGEMENT FUNCTIONS **/ - -gboolean gedit_prefs_manager_app_init (void); - -/* This function must be called before exiting gedit */ -void gedit_prefs_manager_app_shutdown (void); - - -/* Window state */ -gint gedit_prefs_manager_get_window_state (void); -void gedit_prefs_manager_set_window_state (gint ws); -gboolean gedit_prefs_manager_window_state_can_set (void); - -/* Window size */ -void gedit_prefs_manager_get_window_size (gint *width, - gint *height); -void gedit_prefs_manager_get_default_window_size (gint *width, - gint *height); -void gedit_prefs_manager_set_window_size (gint width, - gint height); -gboolean gedit_prefs_manager_window_size_can_set (void); - -/* Side panel */ -gint gedit_prefs_manager_get_side_panel_size (void); -gint gedit_prefs_manager_get_default_side_panel_size(void); -void gedit_prefs_manager_set_side_panel_size (gint ps); -gboolean gedit_prefs_manager_side_panel_size_can_set (void); -gint gedit_prefs_manager_get_side_panel_active_page (void); -void gedit_prefs_manager_set_side_panel_active_page (gint id); -gboolean gedit_prefs_manager_side_panel_active_page_can_set (void); - -/* Bottom panel */ -gint gedit_prefs_manager_get_bottom_panel_size (void); -gint gedit_prefs_manager_get_default_bottom_panel_size(void); -void gedit_prefs_manager_set_bottom_panel_size (gint ps); -gboolean gedit_prefs_manager_bottom_panel_size_can_set (void); -gint gedit_prefs_manager_get_bottom_panel_active_page (void); -void gedit_prefs_manager_set_bottom_panel_active_page (gint id); -gboolean gedit_prefs_manager_bottom_panel_active_page_can_set (void); - -/* File filter */ -gint gedit_prefs_manager_get_active_file_filter (void); -void gedit_prefs_manager_set_active_file_filter (gint id); -gboolean gedit_prefs_manager_active_file_filter_can_set (void); - - -#endif /* __GEDIT_PREFS_MANAGER_APP_H__ */ diff --git a/gedit/gedit-print-job.h b/gedit/gedit-print-job.h deleted file mode 100755 index 956dc73..0000000 --- a/gedit/gedit-print-job.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - * gedit-print-job.h - * This file is part of gedit - * - * Copyright (C) 2000-2001 Chema Celorio, Paolo Maggi - * Copyright (C) 2002-2008 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PRINT_JOB_H__ -#define __GEDIT_PRINT_JOB_H__ - -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PRINT_JOB (gedit_print_job_get_type()) -#define GEDIT_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PRINT_JOB, GeditPrintJob)) -#define GEDIT_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PRINT_JOB, GeditPrintJobClass)) -#define GEDIT_IS_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PRINT_JOB)) -#define GEDIT_IS_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PRINT_JOB)) -#define GEDIT_PRINT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PRINT_JOB, GeditPrintJobClass)) - - -typedef enum -{ - GEDIT_PRINT_JOB_STATUS_INIT, - GEDIT_PRINT_JOB_STATUS_PAGINATING, - GEDIT_PRINT_JOB_STATUS_DRAWING, - GEDIT_PRINT_JOB_STATUS_DONE -} GeditPrintJobStatus; - -typedef enum -{ - GEDIT_PRINT_JOB_RESULT_OK, - GEDIT_PRINT_JOB_RESULT_CANCEL, - GEDIT_PRINT_JOB_RESULT_ERROR -} GeditPrintJobResult; - -/* Private structure type */ -typedef struct _GeditPrintJobPrivate GeditPrintJobPrivate; - -/* - * Main object structure - */ -typedef struct _GeditPrintJob GeditPrintJob; - - -struct _GeditPrintJob -{ - GObject parent; - - /* */ - GeditPrintJobPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditPrintJobClass GeditPrintJobClass; - -struct _GeditPrintJobClass -{ - GObjectClass parent_class; - - /* Signals */ - void (* printing) (GeditPrintJob *job, - GeditPrintJobStatus status); - - void (* show_preview) (GeditPrintJob *job, - GtkWidget *preview); - - void (*done) (GeditPrintJob *job, - GeditPrintJobResult result, - const GError *error); -}; - -/* - * Public methods - */ -GType gedit_print_job_get_type (void) G_GNUC_CONST; - -GeditPrintJob *gedit_print_job_new (GeditView *view); - -void gedit_print_job_set_export_filename (GeditPrintJob *job, - const gchar *filename); - -GtkPrintOperationResult gedit_print_job_print (GeditPrintJob *job, - GtkPrintOperationAction action, - GtkPageSetup *page_setup, - GtkPrintSettings *settings, - GtkWindow *parent, - GError **error); - -void gedit_print_job_cancel (GeditPrintJob *job); - -const gchar *gedit_print_job_get_status_string (GeditPrintJob *job); - -gdouble gedit_print_job_get_progress (GeditPrintJob *job); - -GtkPrintSettings *gedit_print_job_get_print_settings (GeditPrintJob *job); - -GtkPageSetup *gedit_print_job_get_page_setup (GeditPrintJob *job); - -G_END_DECLS - -#endif /* __GEDIT_PRINT_JOB_H__ */ diff --git a/gedit/gedit-print-preview.h b/gedit/gedit-print-preview.h deleted file mode 100755 index f86ef87..0000000 --- a/gedit/gedit-print-preview.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * gedit-print-preview.h - * - * Copyright (C) 2008 Paolo Borelli - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2006. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id: gedit-commands-search.c 5931 2007-09-25 20:05:40Z pborelli $ - */ - - -#ifndef __GEDIT_PRINT_PREVIEW_H__ -#define __GEDIT_PRINT_PREVIEW_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_PRINT_PREVIEW (gedit_print_preview_get_type ()) -#define GEDIT_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreview)) -#define GEDIT_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreviewClass)) -#define GEDIT_IS_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GEDIT_TYPE_PRINT_PREVIEW)) -#define GEDIT_IS_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PRINT_PREVIEW)) -#define GEDIT_PRINT_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreviewClass)) - -typedef struct _GeditPrintPreview GeditPrintPreview; -typedef struct _GeditPrintPreviewPrivate GeditPrintPreviewPrivate; -typedef struct _GeditPrintPreviewClass GeditPrintPreviewClass; - -struct _GeditPrintPreview -{ - GtkVBox parent; - GeditPrintPreviewPrivate *priv; -}; - -struct _GeditPrintPreviewClass -{ - GtkVBoxClass parent_class; - - void (* close) (GeditPrintPreview *preview); -}; - - -GType gedit_print_preview_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_print_preview_new (GtkPrintOperation *op, - GtkPrintOperationPreview *gtk_preview, - GtkPrintContext *context); - -G_END_DECLS - -#endif /* __GEDIT_PRINT_PREVIEW_H__ */ diff --git a/gedit/gedit-progress-message-area.h b/gedit/gedit-progress-message-area.h deleted file mode 100755 index ed5d8e3..0000000 --- a/gedit/gedit-progress-message-area.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * gedit-progress-message-area.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_PROGRESS_MESSAGE_AREA_H__ -#define __GEDIT_PROGRESS_MESSAGE_AREA_H__ - -#if !GTK_CHECK_VERSION (2, 17, 1) -#include -#else -#include -#endif - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PROGRESS_MESSAGE_AREA (gedit_progress_message_area_get_type()) -#define GEDIT_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageArea)) -#define GEDIT_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageAreaClass)) -#define GEDIT_IS_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA)) -#define GEDIT_IS_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PROGRESS_MESSAGE_AREA)) -#define GEDIT_PROGRESS_MESSAGE_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageAreaClass)) - -/* Private structure type */ -typedef struct _GeditProgressMessageAreaPrivate GeditProgressMessageAreaPrivate; - -/* - * Main object structure - */ -typedef struct _GeditProgressMessageArea GeditProgressMessageArea; - -struct _GeditProgressMessageArea -{ -#if !GTK_CHECK_VERSION (2, 17, 1) - GeditMessageArea parent; -#else - GtkInfoBar parent; -#endif - - /*< private > */ - GeditProgressMessageAreaPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditProgressMessageAreaClass GeditProgressMessageAreaClass; - -struct _GeditProgressMessageAreaClass -{ -#if !GTK_CHECK_VERSION (2, 17, 1) - GeditMessageAreaClass parent_class; -#else - GtkInfoBarClass parent_class; -#endif -}; - -/* - * Public methods - */ -GType gedit_progress_message_area_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_progress_message_area_new (const gchar *stock_id, - const gchar *markup, - gboolean has_cancel); - -void gedit_progress_message_area_set_stock_image (GeditProgressMessageArea *area, - const gchar *stock_id); - -void gedit_progress_message_area_set_markup (GeditProgressMessageArea *area, - const gchar *markup); - -void gedit_progress_message_area_set_text (GeditProgressMessageArea *area, - const gchar *text); - -void gedit_progress_message_area_set_fraction (GeditProgressMessageArea *area, - gdouble fraction); - -void gedit_progress_message_area_pulse (GeditProgressMessageArea *area); - - -G_END_DECLS - -#endif /* __GEDIT_PROGRESS_MESSAGE_AREA_H__ */ diff --git a/gedit/gedit-smart-charset-converter.h b/gedit/gedit-smart-charset-converter.h deleted file mode 100755 index 803e07a..0000000 --- a/gedit/gedit-smart-charset-converter.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * gedit-smart-charset-converter.h - * This file is part of gedit - * - * Copyright (C) 2009 - Ignacio Casal Quinteiro - * - * gedit 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. - * - * gedit 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 gedit; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifndef __GEDIT_SMART_CHARSET_CONVERTER_H__ -#define __GEDIT_SMART_CHARSET_CONVERTER_H__ - -#include - -#include "gedit-encodings.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_SMART_CHARSET_CONVERTER (gedit_smart_charset_converter_get_type ()) -#define GEDIT_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverter)) -#define GEDIT_SMART_CHARSET_CONVERTER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverter const)) -#define GEDIT_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverterClass)) -#define GEDIT_IS_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER)) -#define GEDIT_IS_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SMART_CHARSET_CONVERTER)) -#define GEDIT_SMART_CHARSET_CONVERTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverterClass)) - -typedef struct _GeditSmartCharsetConverter GeditSmartCharsetConverter; -typedef struct _GeditSmartCharsetConverterClass GeditSmartCharsetConverterClass; -typedef struct _GeditSmartCharsetConverterPrivate GeditSmartCharsetConverterPrivate; - -struct _GeditSmartCharsetConverter -{ - GObject parent; - - GeditSmartCharsetConverterPrivate *priv; -}; - -struct _GeditSmartCharsetConverterClass -{ - GObjectClass parent_class; -}; - -GType gedit_smart_charset_converter_get_type (void) G_GNUC_CONST; - -GeditSmartCharsetConverter *gedit_smart_charset_converter_new (GSList *candidate_encodings); - -const GeditEncoding *gedit_smart_charset_converter_get_guessed (GeditSmartCharsetConverter *smart); - -guint gedit_smart_charset_converter_get_num_fallbacks(GeditSmartCharsetConverter *smart); - -G_END_DECLS - -#endif /* __GEDIT_SMART_CHARSET_CONVERTER_H__ */ diff --git a/gedit/gedit-status-combo-box.h b/gedit/gedit-status-combo-box.h deleted file mode 100755 index e3593a8..0000000 --- a/gedit/gedit-status-combo-box.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * gedit-status-combo-box.h - * This file is part of gedit - * - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_STATUS_COMBO_BOX_H__ -#define __GEDIT_STATUS_COMBO_BOX_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_STATUS_COMBO_BOX (gedit_status_combo_box_get_type ()) -#define GEDIT_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBox)) -#define GEDIT_STATUS_COMBO_BOX_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBox const)) -#define GEDIT_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBoxClass)) -#define GEDIT_IS_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_STATUS_COMBO_BOX)) -#define GEDIT_IS_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_STATUS_COMBO_BOX)) -#define GEDIT_STATUS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBoxClass)) - -typedef struct _GeditStatusComboBox GeditStatusComboBox; -typedef struct _GeditStatusComboBoxClass GeditStatusComboBoxClass; -typedef struct _GeditStatusComboBoxPrivate GeditStatusComboBoxPrivate; - -struct _GeditStatusComboBox { - GtkEventBox parent; - - GeditStatusComboBoxPrivate *priv; -}; - -struct _GeditStatusComboBoxClass { - GtkEventBoxClass parent_class; - - void (*changed) (GeditStatusComboBox *combo, - GtkMenuItem *item); -}; - -GType gedit_status_combo_box_get_type (void) G_GNUC_CONST; -GtkWidget *gedit_status_combo_box_new (const gchar *label); - -const gchar *gedit_status_combo_box_get_label (GeditStatusComboBox *combo); -void gedit_status_combo_box_set_label (GeditStatusComboBox *combo, - const gchar *label); - -void gedit_status_combo_box_add_item (GeditStatusComboBox *combo, - GtkMenuItem *item, - const gchar *text); -void gedit_status_combo_box_remove_item (GeditStatusComboBox *combo, - GtkMenuItem *item); - -GList *gedit_status_combo_box_get_items (GeditStatusComboBox *combo); -const gchar *gedit_status_combo_box_get_item_text (GeditStatusComboBox *combo, - GtkMenuItem *item); -void gedit_status_combo_box_set_item_text (GeditStatusComboBox *combo, - GtkMenuItem *item, - const gchar *text); - -void gedit_status_combo_box_set_item (GeditStatusComboBox *combo, - GtkMenuItem *item); - -GtkLabel *gedit_status_combo_box_get_item_label (GeditStatusComboBox *combo); - -G_END_DECLS - -#endif /* __GEDIT_STATUS_COMBO_BOX_H__ */ diff --git a/gedit/gedit-statusbar.h b/gedit/gedit-statusbar.h deleted file mode 100755 index b98790b..0000000 --- a/gedit/gedit-statusbar.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * gedit-statusbar.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Borelli - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef GEDIT_STATUSBAR_H -#define GEDIT_STATUSBAR_H - -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_STATUSBAR (gedit_statusbar_get_type ()) -#define GEDIT_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_STATUSBAR, GeditStatusbar)) -#define GEDIT_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_STATUSBAR, GeditStatusbarClass)) -#define GEDIT_IS_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_STATUSBAR)) -#define GEDIT_IS_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_STATUSBAR)) -#define GEDIT_STATUSBAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_STATUSBAR, GeditStatusbarClass)) - -typedef struct _GeditStatusbar GeditStatusbar; -typedef struct _GeditStatusbarPrivate GeditStatusbarPrivate; -typedef struct _GeditStatusbarClass GeditStatusbarClass; - -struct _GeditStatusbar -{ - GtkStatusbar parent; - - /* */ - GeditStatusbarPrivate *priv; -}; - -struct _GeditStatusbarClass -{ - GtkStatusbarClass parent_class; -}; - -GType gedit_statusbar_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_statusbar_new (void); - -/* FIXME: status is not defined in any .h */ -#define GeditStatus gint -void gedit_statusbar_set_window_state (GeditStatusbar *statusbar, - GeditWindowState state, - gint num_of_errors); - -void gedit_statusbar_set_overwrite (GeditStatusbar *statusbar, - gboolean overwrite); - -void gedit_statusbar_set_cursor_position (GeditStatusbar *statusbar, - gint line, - gint col); - -void gedit_statusbar_clear_overwrite (GeditStatusbar *statusbar); - -void gedit_statusbar_flash_message (GeditStatusbar *statusbar, - guint context_id, - const gchar *format, - ...) G_GNUC_PRINTF(3, 4); -/* FIXME: these would be nice for plugins... -void gedit_statusbar_add_widget (GeditStatusbar *statusbar, - GtkWidget *widget); -void gedit_statusbar_remove_widget (GeditStatusbar *statusbar, - GtkWidget *widget); -*/ - -/* - * Non exported functions - */ -void _gedit_statusbar_set_has_resize_grip (GeditStatusbar *statusbar, - gboolean show); - -G_END_DECLS - -#endif diff --git a/gedit/gedit-tab-label.h b/gedit/gedit-tab-label.h deleted file mode 100755 index 4b0360a..0000000 --- a/gedit/gedit-tab-label.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * gedit-tab-label.h - * This file is part of gedit - * - * Copyright (C) 2010 - Paolo Borelli - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_TAB_LABEL_H__ -#define __GEDIT_TAB_LABEL_H__ - -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_TAB_LABEL (gedit_tab_label_get_type ()) -#define GEDIT_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabel)) -#define GEDIT_TAB_LABEL_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabel const)) -#define GEDIT_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_TAB_LABEL, GeditTabLabelClass)) -#define GEDIT_IS_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_TAB_LABEL)) -#define GEDIT_IS_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_TAB_LABEL)) -#define GEDIT_TAB_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabelClass)) - -typedef struct _GeditTabLabel GeditTabLabel; -typedef struct _GeditTabLabelClass GeditTabLabelClass; -typedef struct _GeditTabLabelPrivate GeditTabLabelPrivate; - -struct _GeditTabLabel { - GtkHBox parent; - - GeditTabLabelPrivate *priv; -}; - -struct _GeditTabLabelClass { - GtkHBoxClass parent_class; - - void (* close_clicked) (GeditTabLabel *tab_label); -}; - -GType gedit_tab_label_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_tab_label_new (GeditTab *tab); - -GeditTab *gedit_tab_label_get_tab (GeditTabLabel *tab_label); - -void gedit_tab_label_set_close_button_sensitive (GeditTabLabel *tab_label, - gboolean sensitive); - -G_END_DECLS - -#endif /* __GEDIT_TAB_LABEL_H__ */ diff --git a/gedit/gedit-tab.h b/gedit/gedit-tab.h deleted file mode 100755 index 6826208..0000000 --- a/gedit/gedit-tab.h +++ /dev/null @@ -1,165 +0,0 @@ -/* - * gedit-tab.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_TAB_H__ -#define __GEDIT_TAB_H__ - -#include - -#include -#include - -G_BEGIN_DECLS - -typedef enum -{ - GEDIT_TAB_STATE_NORMAL = 0, - GEDIT_TAB_STATE_LOADING, - GEDIT_TAB_STATE_REVERTING, - GEDIT_TAB_STATE_SAVING, - GEDIT_TAB_STATE_PRINTING, - GEDIT_TAB_STATE_PRINT_PREVIEWING, - GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW, - GEDIT_TAB_STATE_GENERIC_NOT_EDITABLE, - GEDIT_TAB_STATE_LOADING_ERROR, - GEDIT_TAB_STATE_REVERTING_ERROR, - GEDIT_TAB_STATE_SAVING_ERROR, - GEDIT_TAB_STATE_GENERIC_ERROR, - GEDIT_TAB_STATE_CLOSING, - GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION, - GEDIT_TAB_NUM_OF_STATES /* This is not a valid state */ -} GeditTabState; - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_TAB (gedit_tab_get_type()) -#define GEDIT_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_TAB, GeditTab)) -#define GEDIT_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_TAB, GeditTabClass)) -#define GEDIT_IS_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_TAB)) -#define GEDIT_IS_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_TAB)) -#define GEDIT_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_TAB, GeditTabClass)) - -/* Private structure type */ -typedef struct _GeditTabPrivate GeditTabPrivate; - -/* - * Main object structure - */ -typedef struct _GeditTab GeditTab; - -struct _GeditTab -{ - GtkVBox vbox; - - /*< private > */ - GeditTabPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditTabClass GeditTabClass; - -struct _GeditTabClass -{ - GtkVBoxClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_tab_get_type (void) G_GNUC_CONST; - -GeditView *gedit_tab_get_view (GeditTab *tab); - -/* This is only an helper function */ -GeditDocument *gedit_tab_get_document (GeditTab *tab); - -GeditTab *gedit_tab_get_from_document (GeditDocument *doc); - -GeditTabState gedit_tab_get_state (GeditTab *tab); - -gboolean gedit_tab_get_auto_save_enabled - (GeditTab *tab); - -void gedit_tab_set_auto_save_enabled - (GeditTab *tab, - gboolean enable); - -gint gedit_tab_get_auto_save_interval - (GeditTab *tab); - -void gedit_tab_set_auto_save_interval - (GeditTab *tab, - gint interval); - -void gedit_tab_set_info_bar (GeditTab *tab, - GtkWidget *info_bar); -/* - * Non exported methods - */ -GtkWidget *_gedit_tab_new (void); - -/* Whether create is TRUE, creates a new empty document if location does - not refer to an existing file */ -GtkWidget *_gedit_tab_new_from_uri (const gchar *uri, - const GeditEncoding *encoding, - gint line_pos, - gboolean create); -gchar *_gedit_tab_get_name (GeditTab *tab); -gchar *_gedit_tab_get_tooltips (GeditTab *tab); -GdkPixbuf *_gedit_tab_get_icon (GeditTab *tab); -void _gedit_tab_load (GeditTab *tab, - const gchar *uri, - const GeditEncoding *encoding, - gint line_pos, - gboolean create); -void _gedit_tab_revert (GeditTab *tab); -void _gedit_tab_save (GeditTab *tab); -void _gedit_tab_save_as (GeditTab *tab, - const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentNewlineType newline_type); - -void _gedit_tab_print (GeditTab *tab); -void _gedit_tab_print_preview (GeditTab *tab); - -void _gedit_tab_mark_for_closing (GeditTab *tab); - -gboolean _gedit_tab_can_close (GeditTab *tab); - -#if !GTK_CHECK_VERSION (2, 17, 4) -void _gedit_tab_page_setup (GeditTab *tab); -#endif - -G_END_DECLS - -#endif /* __GEDIT_TAB_H__ */ diff --git a/gedit/gedit-view.h b/gedit/gedit-view.h deleted file mode 100755 index dc0096b..0000000 --- a/gedit/gedit-view.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - * gedit-view.h - * This file is part of gedit - * - * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence - * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_VIEW_H__ -#define __GEDIT_VIEW_H__ - -#include - -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_VIEW (gedit_view_get_type ()) -#define GEDIT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_VIEW, GeditView)) -#define GEDIT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_VIEW, GeditViewClass)) -#define GEDIT_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_VIEW)) -#define GEDIT_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_VIEW)) -#define GEDIT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_VIEW, GeditViewClass)) - -/* Private structure type */ -typedef struct _GeditViewPrivate GeditViewPrivate; - -/* - * Main object structure - */ -typedef struct _GeditView GeditView; - -struct _GeditView -{ - GtkSourceView view; - - /*< private > */ - GeditViewPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditViewClass GeditViewClass; - -struct _GeditViewClass -{ - GtkSourceViewClass parent_class; - - /* FIXME: Do we need placeholders ? */ - - /* Key bindings */ - gboolean (* start_interactive_search) (GeditView *view); - gboolean (* start_interactive_goto_line)(GeditView *view); - gboolean (* reset_searched_text) (GeditView *view); - - void (* drop_uris) (GeditView *view, - gchar **uri_list); -}; - -/* - * Public methods - */ -GType gedit_view_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_view_new (GeditDocument *doc); - -void gedit_view_cut_clipboard (GeditView *view); -void gedit_view_copy_clipboard (GeditView *view); -void gedit_view_paste_clipboard (GeditView *view); -void gedit_view_delete_selection (GeditView *view); -void gedit_view_select_all (GeditView *view); - -void gedit_view_scroll_to_cursor (GeditView *view); - -void gedit_view_set_font (GeditView *view, - gboolean def, - const gchar *font_name); - -G_END_DECLS - -#endif /* __GEDIT_VIEW_H__ */ diff --git a/gedit/gedit-window.h b/gedit/gedit-window.h deleted file mode 100755 index e8c7eef..0000000 --- a/gedit/gedit-window.h +++ /dev/null @@ -1,195 +0,0 @@ -/* - * gedit-window.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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 - * MERCHANWINDOWILITY 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_WINDOW_H__ -#define __GEDIT_WINDOW_H__ - -#include -#include - -#include -#include -#include - -G_BEGIN_DECLS - -typedef enum -{ - GEDIT_WINDOW_STATE_NORMAL = 0, - GEDIT_WINDOW_STATE_SAVING = 1 << 1, - GEDIT_WINDOW_STATE_PRINTING = 1 << 2, - GEDIT_WINDOW_STATE_LOADING = 1 << 3, - GEDIT_WINDOW_STATE_ERROR = 1 << 4, - GEDIT_WINDOW_STATE_SAVING_SESSION = 1 << 5 -} GeditWindowState; - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_WINDOW (gedit_window_get_type()) -#define GEDIT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_WINDOW, GeditWindow)) -#define GEDIT_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_WINDOW, GeditWindowClass)) -#define GEDIT_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_WINDOW)) -#define GEDIT_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_WINDOW)) -#define GEDIT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_WINDOW, GeditWindowClass)) - -/* Private structure type */ -typedef struct _GeditWindowPrivate GeditWindowPrivate; - -/* - * Main object structure - */ -typedef struct _GeditWindow GeditWindow; - -struct _GeditWindow -{ - GtkWindow window; - - /*< private > */ - GeditWindowPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditWindowClass GeditWindowClass; - -struct _GeditWindowClass -{ - GtkWindowClass parent_class; - - /* Signals */ - void (* tab_added) (GeditWindow *window, - GeditTab *tab); - void (* tab_removed) (GeditWindow *window, - GeditTab *tab); - void (* tabs_reordered) (GeditWindow *window); - void (* active_tab_changed) (GeditWindow *window, - GeditTab *tab); - void (* active_tab_state_changed) - (GeditWindow *window); -}; - -/* - * Public methods - */ -GType gedit_window_get_type (void) G_GNUC_CONST; - -GeditTab *gedit_window_create_tab (GeditWindow *window, - gboolean jump_to); - -GeditTab *gedit_window_create_tab_from_uri (GeditWindow *window, - const gchar *uri, - const GeditEncoding *encoding, - gint line_pos, - gboolean create, - gboolean jump_to); - -void gedit_window_close_tab (GeditWindow *window, - GeditTab *tab); - -void gedit_window_close_all_tabs (GeditWindow *window); - -void gedit_window_close_tabs (GeditWindow *window, - const GList *tabs); - -GeditTab *gedit_window_get_active_tab (GeditWindow *window); - -void gedit_window_set_active_tab (GeditWindow *window, - GeditTab *tab); - -/* Helper functions */ -GeditView *gedit_window_get_active_view (GeditWindow *window); -GeditDocument *gedit_window_get_active_document (GeditWindow *window); - -/* Returns a newly allocated list with all the documents in the window */ -GList *gedit_window_get_documents (GeditWindow *window); - -/* Returns a newly allocated list with all the documents that need to be - saved before closing the window */ -GList *gedit_window_get_unsaved_documents (GeditWindow *window); - -/* Returns a newly allocated list with all the views in the window */ -GList *gedit_window_get_views (GeditWindow *window); - -GtkWindowGroup *gedit_window_get_group (GeditWindow *window); - -GeditPanel *gedit_window_get_side_panel (GeditWindow *window); - -GeditPanel *gedit_window_get_bottom_panel (GeditWindow *window); - -GtkWidget *gedit_window_get_statusbar (GeditWindow *window); - -GtkUIManager *gedit_window_get_ui_manager (GeditWindow *window); - -GeditWindowState gedit_window_get_state (GeditWindow *window); - -GeditTab *gedit_window_get_tab_from_location (GeditWindow *window, - GFile *location); - -GeditTab *gedit_window_get_tab_from_uri (GeditWindow *window, - const gchar *uri); - -/* Message bus */ -GeditMessageBus *gedit_window_get_message_bus (GeditWindow *window); - -/* - * Non exported functions - */ -GtkWidget *_gedit_window_get_notebook (GeditWindow *window); - -GeditWindow *_gedit_window_move_tab_to_new_window (GeditWindow *window, - GeditTab *tab); -gboolean _gedit_window_is_removing_tabs (GeditWindow *window); - -GFile *_gedit_window_get_default_location (GeditWindow *window); - -void _gedit_window_set_default_location (GeditWindow *window, - GFile *location); - -void _gedit_window_set_saving_session_state (GeditWindow *window, - gboolean saving_session); - -void _gedit_window_fullscreen (GeditWindow *window); - -void _gedit_window_unfullscreen (GeditWindow *window); - -gboolean _gedit_window_is_fullscreen (GeditWindow *window); - -/* these are in gedit-window because of screen safety */ -void _gedit_recent_add (GeditWindow *window, - const gchar *uri, - const gchar *mime); -void _gedit_recent_remove (GeditWindow *window, - const gchar *uri); - -G_END_DECLS - -#endif /* __GEDIT_WINDOW_H__ */ diff --git a/gedit/gedit.rc b/gedit/gedit.rc deleted file mode 100755 index 17d8eb1..0000000 --- a/gedit/gedit.rc +++ /dev/null @@ -1 +0,0 @@ -A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "../pixmaps/gedit.ico" diff --git a/gedit/osx/gedit-osx.h b/gedit/osx/gedit-osx.h deleted file mode 100755 index 82f0120..0000000 --- a/gedit/osx/gedit-osx.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __GEDIT_OSX_H__ -#define __GEDIT_OSX_H__ - -#include -#include -#include - -void gedit_osx_init (GeditApp *app); - -void gedit_osx_set_window_title (GeditWindow *window, - gchar const *title, - GeditDocument *document); - -gboolean gedit_osx_show_url (const gchar *url); -gboolean gedit_osx_show_help (const gchar *link_id); - -#endif /* __GEDIT_OSX_H__ */ diff --git a/help/C/figures/gedit_format_bold.png b/help/C/figures/pluma_format_bold.png similarity index 100% rename from help/C/figures/gedit_format_bold.png rename to help/C/figures/pluma_format_bold.png diff --git a/help/C/figures/gedit_format_italic.png b/help/C/figures/pluma_format_italic.png similarity index 100% rename from help/C/figures/gedit_format_italic.png rename to help/C/figures/pluma_format_italic.png diff --git a/help/C/figures/gedit_format_strikethrough.png b/help/C/figures/pluma_format_strikethrough.png similarity index 100% rename from help/C/figures/gedit_format_strikethrough.png rename to help/C/figures/pluma_format_strikethrough.png diff --git a/help/C/figures/gedit_format_underline.png b/help/C/figures/pluma_format_underline.png similarity index 100% rename from help/C/figures/gedit_format_underline.png rename to help/C/figures/pluma_format_underline.png diff --git a/help/C/figures/gedit_recent_files_menu_icon.png b/help/C/figures/pluma_recent_files_menu_icon.png similarity index 100% rename from help/C/figures/gedit_recent_files_menu_icon.png rename to help/C/figures/pluma_recent_files_menu_icon.png diff --git a/help/C/figures/gedit_window.png b/help/C/figures/pluma_window.png similarity index 100% rename from help/C/figures/gedit_window.png rename to help/C/figures/pluma_window.png diff --git a/help/C/gedit.xml b/help/C/pluma.xml similarity index 93% rename from help/C/gedit.xml rename to help/C/pluma.xml index 453e61b..54cc040 100755 --- a/help/C/gedit.xml +++ b/help/C/pluma.xml @@ -4,7 +4,7 @@ - + ]> - Gedit Manual<!-- not using app entity because of lowercase ugliness --> + Pluma Manual<!-- not using app entity because of lowercase ugliness --> 2007 MATE Documentation Project @@ -82,7 +82,7 @@ Baris - Cicek provided information from earlier revisions of the gedit application. + Cicek provided information from earlier revisions of the pluma application. Acknowledgements @@ -112,7 +112,7 @@ - gedit V1.0 + pluma V1.0 2000 Eric Baudais baudais@okstate.edu @@ -121,7 +121,7 @@ - gedit Manual V2.0 + pluma Manual V2.0 March 2002 Sun MATE Documentation Team @@ -129,7 +129,7 @@ - gedit Manual V2.1 + pluma Manual V2.1 June 2002 Sun MATE Documentation Team @@ -137,7 +137,7 @@ - gedit Manual V2.2 + pluma Manual V2.2 August 2002 Sun MATE Documentation Team @@ -145,7 +145,7 @@ - gedit Manual V2.3 + pluma Manual V2.3 September 2002 Sun MATE Documentation Team @@ -153,7 +153,7 @@ - gedit Manual V2.4 + pluma Manual V2.4 January 2003 Sun MATE Documentation Team @@ -161,7 +161,7 @@ - gedit Manual V2.5 + pluma Manual V2.5 March 2003 Sun MATE Documentation Team @@ -169,7 +169,7 @@ - gedit Manual V2.6 + pluma Manual V2.6 September 2003 Sun MATE Documentation Team @@ -177,7 +177,7 @@ - gedit Manual V2.7 + pluma Manual V2.7 March 2004 Sun MATE Documentation Team @@ -215,27 +215,27 @@ and syntax highlighting. More advanced features are available as plugins. - gedit + pluma text editor - + Introduction - + The &app; application enables you to create and edit text files. The aim of &app; is to be a simple and easy to use text editor. More powerful features can be enabled with different plugins, allowing a variety of tasks related to text-editing. - + Getting Started - - + + Starting &app; You can start &app; in the following ways: @@ -248,26 +248,26 @@ Command line - Execute the following command: gedit + Execute the following command: pluma - By default, when you open a text document in the file manager, gedit will start, and display the document. + By default, when you open a text document in the file manager, pluma will start, and display the document. - + The &app; Window When you start &app;, the following window is displayed: -
+
&app; Window - + - Shows gedit main window. + Shows pluma main window. @@ -323,37 +323,37 @@ - + Running &app; from a Command Line You can run &app; from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return: - gedit file1.txt file2.txt file3.txt + pluma file1.txt file2.txt file3.txt Alternatively, you can specify a URI instead of a filename. - For more information on how to run &app; from a command line, see the unix manual page for &app;, &app;1. + For more information on how to run &app; from a command line, see the unix manual page for &app;, &app;1. - + Working with Files - + Creating a New Document To create a new document, choose FileNew. The application displays a new blank document in the &app; window. - + Opening a File To open a file, choose FileOpen to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the &app; window. - The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the Shows Recent Files menu icon. icon on the toolbar to display the list of recent files. + The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the Shows Recent Files menu icon. icon on the toolbar to display the list of recent files. - You can open multiple files in &app;. The application adds a tab for each open file to the window. For more on this see . + You can open multiple files in &app;. The application adds a tab for each open file to the window. For more on this see . - + Saving a File You can save files in the following ways: @@ -368,7 +368,7 @@ - + Opening a File from a URI To open a file from a Uniform Resource Identifier (URI), perform the following steps: @@ -387,11 +387,11 @@ Valid types of URI include http:, ftp:, file:, and all of the methods supported by mate-vfs. Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files. - Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/gedit-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors. + Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/pluma-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors. - + Working With Tabs When more than one file is open, &app; shows a tab for each document above the display area. To switch to another document, click on its tab. @@ -405,7 +405,7 @@ Working with Text - + Editing Text You can edit the text of a file in the following ways: @@ -424,26 +424,26 @@ - + Undoing and Redoing Changes To undo a change you have made, choose Edit Undo . To reverse this action, choose Edit Redo . - + Finding and Replacing In &app;, there are two ways of searching for text. You can use the Find dialog to search for a specific piece of text, or Incremental Search to highlight matching text as you type it. - + Finding Text To search a file for a string of text, perform the following steps: Choose Search Find to display the Find dialog. - Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see . + Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see . Click Find to search the file for the first occurrence of the string after your current cursor position. If &app; finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted. @@ -454,7 +454,7 @@ To remove the highlighting from the text, choose Search Clear Highlight . - + Incremental Search Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.) @@ -465,14 +465,14 @@ - + Replacing Text To search a file for a string, and replace the string with an alternative string, perform the following steps: Choose Search Replace to display the Replace dialog. - Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see . + Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see . Type the string that you want to use to replace the string that you find, in the Replace with field. @@ -482,7 +482,7 @@ - + Find and Replace Options The Find dialog and the Replace dialog both have the following options: @@ -498,7 +498,7 @@ - + Special Characters You can include the following escape sequences in the text to find or replace to represent special characters: @@ -534,7 +534,7 @@ - + Positioning the Cursor on a Specific Line To position the cursor on a specific line in the current file, choose Search Go to Line . The line number box appears at the top of the display area. @@ -544,23 +544,23 @@ - + Printing - + Setting the Page Options To set the page options, choose File Page Setup to display the Page Setup dialog. The Page Setup dialog enables you to specify the following print options: - + General Tabbed Section Print syntax highlighting - Select this option to print syntax highlighting. For more information about syntax highlighting, see . + Select this option to print syntax highlighting. For more information about syntax highlighting, see . Print page headers @@ -586,7 +586,7 @@ - + Fonts Body @@ -612,7 +612,7 @@ - + Printing a Document You can use &app; to perform the following print operations: @@ -795,13 +795,13 @@ - + Programming Features - Several of &app;'s features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see . + Several of &app;'s features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see . - + Syntax Highlighting Syntax highlighting makes source code easier to read by showing different parts of the text in different colors. @@ -841,16 +841,16 @@ - + Piping the Output of a Command to a File - You can use &app; to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | gedit, then press Return. + You can use &app; to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | pluma, then press Return. The output of the ls command is displayed in a new text file in the &app; window. Alternatively, you can use the External tools plugin to pipe command output to the current file. - + Shortcut Keys Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of &app;'s shortcut keys. For more on shortcut keys, see the Desktop User Guide. @@ -949,7 +949,7 @@ Ctrl + Q - Quit Gedit. + Quit Pluma. @@ -1158,18 +1158,18 @@ - + Preferences To configure &app;, choose Edit Preferences . The Preferences dialog contains the following categories: - - - - + + + + - + View Preferences @@ -1208,7 +1208,7 @@ - + Editor Preferences @@ -1234,7 +1234,7 @@ - + Font & Colors Preferences @@ -1287,12 +1287,12 @@ - + Plugins Preferences - Plugins add extra features to &app;. For more information on plugins and how to use the built-in plugins, see . + Plugins add extra features to &app;. For more information on plugins and how to use the built-in plugins, see . - - + + Enabling a Plugin To enable a &app; plugin, perform the following steps: @@ -1311,8 +1311,8 @@ - - + + Disabling a Plugin A plugin remains enabled when you quit &app;. To disable a &app; plugin, perform the following steps: @@ -1334,62 +1334,62 @@ - - + + Plugins - + Working with Plugins You can add extra features to &app; by enabling plugins. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the &app; menus for the new features they provide. - Several plugins come built-in with &app;, and you can install more. The gedit website lists third-party plugins. - To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences. + Several plugins come built-in with &app;, and you can install more. The pluma website lists third-party plugins. + To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences. The following plugins come built-in with &app;: - Change Case allows you to change the case of the selected text. + Change Case allows you to change the case of the selected text. - Document Statistics shows the number of lines, words, and characters in the document. + Document Statistics shows the number of lines, words, and characters in the document. - External Tools allows you to execute external commands from &app;. + External Tools allows you to execute external commands from &app;. - File Browser allows you to browse your files and folders in the side pane. + File Browser allows you to browse your files and folders in the side pane. - Indent Lines adds or removes indentation from the selected lines. + Indent Lines adds or removes indentation from the selected lines. - Insert Date/Time adds the current date and time into a document. + Insert Date/Time adds the current date and time into a document. - Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines. + Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines. - Python Console allows you to run commands in the python programming language. + Python Console allows you to run commands in the python programming language. - Snippets allows you to store frequently-used pieces of text and insert them quickly into a document. + Snippets allows you to store frequently-used pieces of text and insert them quickly into a document. - Sort arranges selected lines of text into alphabetical order. + Sort arranges selected lines of text into alphabetical order. - Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document. + Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document. - Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane. + Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane. - For more information on creating plugins, see the &app; website. + For more information on creating plugins, see the &app; website. - + Change Case Plugin The Change Case plugin changes the case of the selected text. The following items are added to the Edit menu when the Change Case plugin is enabled: @@ -1440,7 +1440,7 @@ - + Document Statistics Plugin The Document Statistics plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a Document Statistics dialog. To use the Document Statistics plugin, perform the following steps: @@ -1470,12 +1470,12 @@ - + External Tools Plugin The External Tools plugin allows you to execute external commands from &app;. You can pipe some content into a command and exploit its output (for example, sed), or launch a predefined command (for example, make). Use the External Tools Manager to create and edit commands. To run an external command, choose it from the Tools menu. - + Built-in Commands The following commands are provided with the External Tools plugin: @@ -1507,7 +1507,7 @@ - + Defining a Command To add an external command, choose ToolsExternal Tools. In the External Tools Manager window, click New. You can speficy the following details for the new command: @@ -1524,7 +1524,7 @@ Commands - The actual commands to be run. Several &app; environment variables can be used to pass content to these commands: see . + The actual commands to be run. Several &app; environment variables can be used to pass content to these commands: see . Input @@ -1546,7 +1546,7 @@ - + Editing and Removing Tools To edit a tool, select it in the list and make changes to its properties. To rename a tool, click it again in the list. @@ -1554,57 +1554,57 @@ To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created yourself. - + Variables You can use the following variables in the Commands field of the command definition: - GEDIT_CURRENT_DOCUMENT_URI + PLUMA_CURRENT_DOCUMENT_URI - GEDIT_CURRENT_DOCUMENT_NAME + PLUMA_CURRENT_DOCUMENT_NAME - GEDIT_CURRENT_DOCUMENT_SCHEME + PLUMA_CURRENT_DOCUMENT_SCHEME - GEDIT_CURRENT_DOCUMENT_PATH + PLUMA_CURRENT_DOCUMENT_PATH - GEDIT_CURRENT_DOCUMENT_DIR + PLUMA_CURRENT_DOCUMENT_DIR - GEDIT_DOCUMENTS_URI + PLUMA_DOCUMENTS_URI - GEDIT_DOCUMENTS_PATH + PLUMA_DOCUMENTS_PATH - + File Browser Plugin The File Browser Plugin shows your files and folders in the side pane, allowing you to quickly open files. To view the File Browser, choose View Side Pane and then click on the tab showing the File Browser icon at the bottom of the side pane. - + Browsing your Files The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it. To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar. To show the folder that contains the document you are currently working on, right-click in the file list and choose Set root to active document. - + Opening a File To open a file in &app;, double-click it in the file list. - + Creating Files and Folders To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose New File. To create a new folder in the current folder shown in the browser, right-click in the file list and choose New Folder. - + Indent Lines Plugin The Indent Lines plugin adds or removes space from the beginning of lines of text. To indent or unindent text, perform the following steps: @@ -1622,11 +1622,11 @@ - The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see . + The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see . - + Insert Date/Time Plugin The Insert Date/Time plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps: @@ -1636,7 +1636,7 @@ - + Configuring the Insert Date/Time Plugin To configure the Insert Date/Time plugin, perform the following steps: @@ -1674,7 +1674,7 @@ - + Modelines Plugin The Modelines plugin allows you to set preferences for individual documents. A modeline is a line of text at the start or end of the document with settings that &app; recognises. Preferences set using modelines take precedence over the ones specified in the preference dialog. @@ -1699,42 +1699,42 @@ The Modelines plugin supports a subset of the options used by other text editors Emacs, Kate and Vim. - + Emacs Modelines The first two lines of a document are scanned for Emacs modelines. The Emacs options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the GNU Emacs Manual. - + Kate Modelines The first and last ten lines a document are scanned for Kate modelines. The Kate options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the Kate website. - + Vim Modelines The first and last three lines a document are scanned for Vim modelines. The Vim options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the Vim website. - + Python Console Plugin The Python Console Plugin allows you to run commands in the python programming language from &app;. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field. Commands entered into the python console are not checked before they are run. It is therefore possible to hang &app;, for example by entering an infinite loop. - + Snippets Plugin The Snippets plugin allows you to store frequently-used pieces of text, called snippets, and insert them quickly into a document. Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents. A number of built-in snippets are installed with &app;, which can be modified. - + Inserting Snippets To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember. Alternatively, press CtrlSpace to see a list of snippets you can insert. - + Adding Snippets To create a new snippet, do the following: @@ -1757,7 +1757,7 @@ Snippet text - Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see . + Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see . You can switch back to the document window to copy text without closing the Snippets Manager window. @@ -1777,7 +1777,7 @@ - + Editing and Removing Snippets To edit a snippet, select it in the list and make changes to its text and activation properties. To rename a snippet, click it again in the list. @@ -1785,7 +1785,7 @@ To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have created yourself. - + Snippet Substitutions In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document. @@ -1816,22 +1816,22 @@ Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to &app; can also be used: - $GEDIT_SELECTED_TEXT + $PLUMA_SELECTED_TEXT The currently selected text. - $GEDIT_FILENAME + $PLUMA_FILENAME The full filename of the document, or an empty string if the document isn't saved yet. - $GEDIT_BASENAME + $PLUMA_BASENAME The basename of the filename of the document, or an empty string if the document isn't saved yet. - $GEDIT_CURRENT_WORD + $PLUMA_CURRENT_WORD The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text. @@ -1859,7 +1859,7 @@ - + Sort Plugin The Sort plugin arranges selected lines of text into alphabetical order. You cannot undo the Sort operation, so you should save the file before performing the sort. To revert to the saved version of the file after the sort operation, choose File Revert . @@ -1896,7 +1896,7 @@ - + Spell Checker Plugin The Spell Checker plugin checks the spelling in the selected text. You can configure &app; to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps: @@ -1951,7 +1951,7 @@ - + Tag List Plugin The Tag List plugin allows you to insert common tags from a list in the side pane. To use the Tag List plugin, perform the following steps: diff --git a/help/Makefile.am b/help/Makefile.am index 3ce92d9..a3cb533 100755 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -1,16 +1,16 @@ include $(top_srcdir)/mate-doc-utils.make dist-hook: doc-dist-hook -DOC_MODULE = gedit +DOC_MODULE = pluma DOC_ENTITIES = DOC_INCLUDES = legal.xml DOC_FIGURES = \ - figures/gedit_format_bold.png \ - figures/gedit_format_italic.png \ - figures/gedit_format_strikethrough.png \ - figures/gedit_format_underline.png \ - figures/gedit_recent_files_menu_icon.png \ - figures/gedit_window.png + figures/pluma_format_bold.png \ + figures/pluma_format_italic.png \ + figures/pluma_format_strikethrough.png \ + figures/pluma_format_underline.png \ + figures/pluma_recent_files_menu_icon.png \ + figures/pluma_window.png DOC_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW diff --git a/help/ar/ar.po b/help/ar/ar.po index f8ea1df..3886027 100755 --- a/help/ar/ar.po +++ b/help/ar/ar.po @@ -1,9 +1,9 @@ -# translation of help (gedit).HEAD.po to Arabic +# translation of help (pluma).HEAD.po to Arabic # Osama Khalid , 2008, 2009. # Khaled Hosny , 2009 msgid "" msgstr "" -"Project-Id-Version: help (gedit).HEAD\n" +"Project-Id-Version: help (pluma).HEAD\n" "POT-Creation-Date: 2009-04-18 16:48+0200\n" "PO-Revision-Date: 2009-04-18 16:54+0300\n" "Last-Translator: Khaled Hosny \n" @@ -18,240 +18,240 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" msgstr "دليل محرر النصوص" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "مشروع توثيق جنوم" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "صن ميكروسِستمز" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "إرِك بيديس" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "جوكيم" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "نوريكو" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "جنوم" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "هال" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "كانري" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "أضيف جدول مفاتيح الاختصار" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "فريق توثيق نظام سطح مكتب صن جافا" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "إرِك" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "بيديس" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "باريس" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "سيسك قدم معلومات من المراجعات الأولى لتطبيق محرر النصوص." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "إشادات" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "أجيت" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "جورج قدم معلومات عن الملحقات." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" msgstr "محرر النصوص الإصدار 1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "إرِك بيديس baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" msgstr "دليل محرر النصوص الإصدار 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "مارس 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "فريق توثيق صن جنوم" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" msgstr "دليل محرر النصوص الإصدار 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "يونيو 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" msgstr "دليل محرر النصوص الإصدار 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "أغسطس 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" msgstr "دليل محرر النصوص الإصدار 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "سبتمبر 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" msgstr "دليل محرر النصوص الإصدار 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "يناير 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" msgstr "دليل محرر النصوص الإصدار 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "مارس 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" msgstr "دليل محرر النصوص الإصدار 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "سبتمبر 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" msgstr "دليل محرر النصوص الإصدار 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "مارس 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" msgstr "دليل محرر النصوص الإصدار 2.8" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" msgstr "دليل محرر النصوص الإصدار 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "فريق توثيق جنوم" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." msgstr "هذا الدليل يشرح الإصدار 2.16 من محرر النصوص." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "التعليقات" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"للإبلاغ عن العلل أو الاقتراحات بخصوص برنامج gedit " +"للإبلاغ عن العلل أو الاقتراحات بخصوص برنامج pluma " "أو هذا الدليل، اتبع التعليمات في ulink url=\"ghelp:user-guide?feedback-bugs\" " "type=\"help\">صفحة تعليقات جنوم." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" @@ -259,28 +259,28 @@ msgstr "" "الطباعة، والتدقيق الإملائي، والإيجاد والاستبدال، وإبراز الصيغ. المزيد من " "المزايا متوفرة كملحقات." -#: C/gedit.xml:218(primary) -msgid "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" msgstr "محرر النصوص" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "محرر نصوص" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "مقدمة" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"التطبيق gedit يتيح لك إنشاء وتحرير الملفات النصية." +"التطبيق pluma يتيح لك إنشاء وتحرير الملفات النصية." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." @@ -289,23 +289,23 @@ msgstr "" "مزايا أقوى يمكن أن تُفعّل مع ملحقات، تسمح بمزايا عديدة " "لمهام متعلقة بتحرير النص." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "البدء" -#: C/gedit.xml:239(title) -msgid "Starting gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" msgstr "بدء محرر النصوص" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "تستطيع بدء محرر النصوص بالطريق التالية:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "قائمة التطبيقات" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -313,62 +313,62 @@ msgstr "" "اختر الملحقاتمحرر النصوص." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "سطر الأوامر" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "شغّل السطر التالي: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "شغّل السطر التالي: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "مبدئيا، عند فتح مستند نصي في مدير الملفات، سوف يبدأ محرر النصوص، ويعرض " "المستند." -#: C/gedit.xml:260(title) -msgid "The gedit Window" +#: C/pluma.xml:260(title) +msgid "The pluma Window" msgstr "نافذة محرر النصوص." -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "عند بدء محرر النصوص، النافذة التالية تُعرض:" -#: C/gedit.xml:264(title) -msgid "gedit Window" +#: C/pluma.xml:264(title) +msgid "pluma Window" msgstr "نافذة محرر النصوص." -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." msgstr "تعرض نافذة محرر النصوص الرئيسية." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "نافذة gedit تحتوي العناصر التالية:" +"The pluma window contains the following elements:" +msgstr "نافذة pluma تحتوي العناصر التالية:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "شريط القوائم" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "القوائم على شريط القوائم تحتوي كل الأوامر التي تحتاجها للعمل مع الملفات في " -"gedit." +"pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "شريط الأدوات " -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -376,34 +376,34 @@ msgstr "" "شريط الأدوات يحتوي رصّة فرعية من الأوامر التي تستطيع الوصول إليها من شريط " "الأدوات." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "منطقة العرض" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "تحتوي منطقة العرض نص الملف الذي تحرّره." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "شريط الحالة " -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"شريط الحالة يعرض معلومات حول نشاط gedit الحالي " +"شريط الحالة يعرض معلومات حول نشاط pluma الحالي " "ومعلومات مُتسقة حول عناصر القائمة. شريط الحال يعرض أيضا المعلومات التالية:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "موضع المؤشر: رقم السطر ورقم العمود حيث يقع المؤشر." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -415,11 +415,11 @@ msgstr "" "الحالي يحتوي استبدال. اضغط مفتاح Insert لتغيير نمط التحرير." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "اللوحة الجانبية" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -427,7 +427,7 @@ msgstr "" "تعرض اللوحة الجانبية قائمة المستندات المفتوحة، ومعلومات أخرى مبنية على " "الملحقات المُفعّلة." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Paneعرضاللوحة الجانبية." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "اللوحة السفلية" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -448,7 +448,7 @@ msgstr "" "اللوحة السفلية مُستخدمة بواسطة أدوات البرمجة مثل ملحق كونسول " "بايثون لعرض المُخرج." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom Paneعرضاللوحة السفلية." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" "عندما تنقر يمينا في نافذة محرر النصوص، يعرض " "التطبيق قائمة منبثقة. القائمة المنبثقة تحتوي معظم أوامر تحرير النصوص الشائعة." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guideدليل المستخدم." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" msgstr "تشغيل محرر النصوص من سطر الأوامر." -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" @@ -493,58 +493,58 @@ msgstr "" "وحيد أو ملفات متعددة. لفتح ملفات متعددة من سطر الأوامر، اطبع الأمر التالي، " "ثم انقر إدخال:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "ملف1.txt ملف2.txt ملف3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "بدلا من ذلك، تستطيع تحديد مسار بدلا من اسم ملف." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" "لمزيد من المعلومات عن كيفية تشغيل محرر النصوص من " -"سطر الأوامر، راجع صفحة دليل يونكس لمحرر النصوص، محرر النصوص1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "العمل مع الملفات" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "إنشاء مستند جديد " -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "لإنشاء مستند جديد، اختر ملفجديد. التطبيق يعرض مستند فارغ في نافذة " "محرر النصوص." -#: C/gedit.xml:346(title) C/gedit.xml:1591(title) +#: C/pluma.xml:346(title) C/pluma.xml:1591(title) msgid "Opening a File" msgstr "فتح ملف" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "لفتح ملف، اختر ملفافتحافتح. الملف يُعرض في نافذة " "محرر النصوص." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "يعرض أيقونة قائمة أحدث الملفات." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -568,25 +568,25 @@ msgstr "" "تستطيع أيضا النقر على أيقونة على شريط الأدوات لعرض قائمة " "بأحدث الملفات." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" "تستطيع فتح ملفات متعددة في محرر النصوص. يضيف " "التطبيق لسان لكل فتح ملف إلى النافذة. للمزيد عن هذا راجع ." +"\"pluma-tabs\"/>." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "حفظ ملف" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "تستطيع حفظ ملفات بالطرق التالية:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -594,7 +594,7 @@ msgstr "" "لحفظ التغييرات لملف موجود، اختر ملفاحفظ." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave Asملفاحفظ كـ." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" @@ -615,9 +615,9 @@ msgstr "" "اختر مستنداتاحفظ الكل." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" @@ -625,17 +625,17 @@ msgstr "" "اختر مستنداتأغلق الكّل." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "فتح ملف من مسار" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" msgstr "لفتح ملف من معرّف نظامي لمورد (مسار)، أدِ الخطوات التالية:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -644,11 +644,11 @@ msgstr "" "اختر ملفافتح موقعا لعرض حوار فتح موقع." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "أدخل مسار الملف الذي تريد فتحه." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -656,11 +656,11 @@ msgstr "" "استخدم قائمة ترميز المحارف المنسدلة لانتقاء ترميز محارف " "ملائم." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "انقر افتح." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -670,7 +670,7 @@ msgstr "" "literal>، ftp:، file:، وكل الوسائل " "المدعومة من mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -682,25 +682,25 @@ msgstr "" "الملفات المفتوحة من إف​تي​بي للقراءة فقط لأن ليس كل خوادم " "إف​تي​بي تتدعم بشكل صحيح العمل مع حفظ الملفات البعيدة." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "الحفظ إلى خوادم إف​تي​بي يمكن أن يُفعل من محرر التشكيل، " -"ضبط المفتاح /apps/gedit-2/preferences/editor/save/" +"ضبط المفتاح /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes، لكن هذا قد يسبب أخطاءً." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "العمل مع الألسنة" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" @@ -708,17 +708,17 @@ msgstr "" "لسان لكل مستند أعلى منطقة العرض. للتبديل إلى مستند " "آخر، انقر لسانها." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" "لنقل مستند إلى نافذة محرر النصوص أخرى، ألقِ اللسان " "الملائم للملف إلى النافذة التي تريدها لنقله." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" @@ -726,19 +726,19 @@ msgstr "" "لسانه إلى سطح المكتب، أو اختر مستنداتانقل إلى نافذة جديدة." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "العمل مع النص" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "تحرير النص" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "تستطيع تعديل نص ملف بالطرق التالية:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -748,7 +748,7 @@ msgstr "" "النابض يعلّم النقطة حيث يضاف النص. لتغيير هذا، استخدام مفاتيح الأسهم على لوحة " "المفاتيح أو انقر بالفأرة." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyتحريرانسخ." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutتحريرقص." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteتحريراحذف." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "لإدراج محتويات الحافظة في موضع المؤشر، اختر تحريرالصق. يجب أن تقص أو تنسخ نصا " "قبل أن تتمكن من لصق النص إلى الملف، سواءً من محرر النصوص أو تطبيق آخر." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -795,11 +795,11 @@ msgstr "" "لانتقاء كل النص في ملف، اختر تحريرانتقِ الكل." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "استرجاع وإعادة التغييرات" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -811,13 +811,13 @@ msgstr "" "تحريرأعِد." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "الإيجاد والاستبدال" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." @@ -826,15 +826,15 @@ msgstr "" "استخدام حوار إيجاد للبحث عن جزء محدد من النص، أو " "بحث تزايدي لإبراز نص يطابق الذي تكتبه." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "إيجاد النص" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "للبحث في ملف عن مقطع من نص، أدِ الخطوات التالية:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -842,21 +842,21 @@ msgstr "" "اختر بحثجِد لعرض حوار إيجاد." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "اطبع المقطع الذي تريد إيجاده في حقل ابحث عن. تستطيع " -"تضمين محارف خاصة مثل سطر جديد أو Tab: راجع ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" @@ -864,7 +864,7 @@ msgstr "" "المؤشر الحالي. إذا وجد محرر النصوص المقطع، ينتقي " "التطبيق أول مصادفة للمقطع. المصادفات الآخرى للمقطع سوف تُبرز." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next. لإيجاد المصادفة السابقة للنص، اختر بحثجد السابق." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -891,7 +891,7 @@ msgstr "" "بحثجد السابق." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlightبحثامسح الإبراز." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "البحث التزايدي" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -913,7 +913,7 @@ msgstr "" "البحث التزايدي يعلم النص المطابق في المستند كما تكتبه حرفا حرفا. (هذا شبيه " "بميزة البحث في متصفحات وب عديدة.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -922,7 +922,7 @@ msgstr "" "لبدء بحث تزايدي، اختر بحثبحث " "تزايدي." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -930,7 +930,7 @@ msgstr "" "اكتب، وسيُبرز النص الذي يطابق في المستند. أول مثال بعد موضع المؤشر سوف يُنتقى " "أيضا." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftG للرجوع إلى التطابق السابق." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -950,17 +950,17 @@ msgstr "" "تستطيع أيضا استخدام مفتاحي السهمين أعلى وأسفل أو عجلة الفأرة لنقل التحديد " "بين التطابقات." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "استبدال نص" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" msgstr "للبحث في ملف عن نص، واستبدال النص بنص بديل، أدِ الخطوات التالية:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -968,17 +968,17 @@ msgstr "" "اختر بحثاستبدل لعرض حوار استبدال." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "اطبع النص الذي تريد إيجاده، في حقل ابحث عن. تستطيع " -"تضمين محارف خاصة مثل سطر جديد أو اللسان: راجع ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -986,10 +986,10 @@ msgstr "" "اطبع النص الذي تريد استخدامه لاستبدال النص الذي وجدته، في حقل " "استبدل بـ:" -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." @@ -999,7 +999,7 @@ msgstr "" "استبدل لاستبدال المصادفة المنتقاة للنص. لإيجاد " "المصادفة التالية، انقر جِد مجددا." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1007,11 +1007,11 @@ msgstr "" "لاستبدال كل مصادفات النص على طول المستند، انقر استبدل الكل." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "خيارات البحث والاستبدال" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1019,7 +1019,7 @@ msgstr "" "حوار إيجاد وحوار استبدال كلاهما " "لهما الخيارات التالية:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1030,7 +1030,7 @@ msgstr "" "النص الذي طبعته. على سبيل المثال، مع انتقاء طابق الحالة، \"TEXT\" لن تطابق \"text\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1041,7 +1041,7 @@ msgstr "" "النص التي تطابق كلمات النص الكاملة التي طبعتها. على سبيل المثال، مع انتقاء " "طابق كامل الكلمة فقط، \"نص\" لن تطابق \"نصي\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1049,7 +1049,7 @@ msgstr "" "انتقِ الخيار ابحث إلى الخلف للبحث إلى الخلف إلى بداية " "المستند." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1057,11 +1057,11 @@ msgstr "" "انتقِ خيار لف حول للبحث إلى نهاية المستند ثم استمرار " "البحث من النهاية الأخرى للملف." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "المحارف الخاصة" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1069,35 +1069,35 @@ msgstr "" "يمكنك تضمين التسلسلات الهاربة التالية في النص للإيجاد أو الاستبدال إلى " "المحارف الممثلة التالية:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "يحدد سطرا جديدا." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "يحدد محرّف اللسان." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "يحدد عودة ناقل." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1110,11 +1110,11 @@ msgstr "" "ابحث عن. أو إذا كنت تبحث عن تسلسل خطوط مائلة عكسية، " "عليك مضاعفة عدد الحطوط المائلة المعكوسة المبحوث عنها." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "وضع المؤشر على سطر محدد" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Lineاذهب إلى السطر. صندوق رقم " "السطر يظهر في أعلى منطقة العرض." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1132,22 +1132,22 @@ msgstr "" "عندما تطبع رقم السطر الذي تريد نقل المؤشر إليه، سوف يلف المستند إلى السطر " "المحدد." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." msgstr "" "لإيقاف الصندوق وتحريك المؤشر إلى السطر المحدد، اضغط إدخال." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "الطباعة" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "ضبط خيارات الصفحة" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1157,44 +1157,44 @@ msgstr "" "guimenu>إعداد الصفحة لعرض حوار " "إعداد الصفحة." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "" "حوار إعداد الصفحة يتيح لك تحديد خيارات الطباعة التالية:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "القسم العام المؤلسن" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "طباعة إبراز الصياغة" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "انتقِ هذا الخيار لطباعة تعليم الصياغة. لمزيد من المعلومات حول إبراز الصياغة، " -"راجع ." +"راجع ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "طباعة ترويسات الصفحة" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." msgstr "انتقِ هذا الخيار لتضمين ترويسة لكل صفحة تطبعها. لا يمكنك ضبط الترويسة." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "أرقام السطور" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1202,7 +1202,7 @@ msgstr "" "انتقِ خيار طباعة أرقام السطور لتضمين أرقام السطور عندما " "تطبع ملفا." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1211,11 +1211,11 @@ msgstr "" "استخدم صندوق رقّم كل ... سطر لتحديد مرات طباعة أرقام " "الأسطر، على سبيل المثال، كل 5 أسطر، وكل 10 أسطر، وهكذا." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1687(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1687(para) msgid "Text Wrapping" msgstr "لف النص" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1225,7 +1225,7 @@ msgstr "" "مستوى المحرف، عندما تطبع ملفا. يعد التطبيق الأسطر الملفوفة كسطر واحد لعملية " "ترقيم السطر." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1233,71 +1233,71 @@ msgstr "" "انتقِ خيار لا تشقّ الكلمات على سطرين للف النص إلى السطر " "التالي، على مستوة الكلمة، عندما تطبع ملفا." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "الخطوط" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "الجسم" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "انقر على هذا الزر لانتقاء الخط لاستخدامه لطباعة جسم نص ملف." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "رقم السطور" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "انقر على هذا الزر لانتقاء الخط لاسخدامه لطباعة أرقام السطور." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "الترويسات والتذييلات" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "" "انقر على هذا الزر لانتقاء الخط لاسخدامه لطباعة الترويسات والهوامش في ملف." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "لإعادة ضبط الخطوط إلى الخطوط المبدئية لطباعة ملف من محرر " "النصوص، انقر استرجع الخطوط المبدئية." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "طباعة مستند" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" "تستطيع استخدام محرر النصوص لتأدية عمليات الطباعة " "التالية:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "طباعة مستند إلى طابعة." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "طباعة مخرج أمر الطباعة لملف." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" @@ -1305,7 +1305,7 @@ msgstr "" "إلى ملف قبل الضغط. أكثر أوامر قبل الضغط شيوعا هي بوست​سكربت ونسق " "المستند المحمول (بي​دي​إف)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Previewملفمعاينة الطباعة." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintاطبع لعرض حوار " "طباعة." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "حوار طباعة يتيح لك تحديد خيارات الطباعة التالية:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "قسم الشغل المؤلسن" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "مدى الطباعة" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "انتقِ واحد من الخيارات التالية لتقرير عدد الصفحات لطبعها:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "كل" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "انتقِ هذا الخيار لطباعة كل الصفحات في الملف." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "سطور" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1364,22 +1364,22 @@ msgstr "" "انتقِ هذا الخيار لطباعة الأسطر المُحددة فقط. استخدم الصندوقين من و إلى لتحديد مدى السطر." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "انتقاء" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." msgstr "" "انتقِ هذا الخيار لطباعة النص المُنتقى فقط. هذا الخيار متاح فقط إذا انتقيت نصا." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "نُسخ" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1387,7 +1387,7 @@ msgstr "" "استخدم صندوق عدد النسخ لتحديد عدد النسخ التي تريد " "طباعتها." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1395,29 +1395,29 @@ msgstr "" "إذا طبعت نسخ متعددة لملف، انتقِ خيار رزم لجمع النسخ " "المطبوعة." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "قسم الطابعة المؤلسن" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "الطابعة" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "استخدم القائمة المنسدلة لانتقاء الطابعة التي تريد طباعة الملف إليها." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "الإعدادات" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "استخدم هذه القائمة المنسدلة لانتقاء خيارات الطابعة." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1427,24 +1427,24 @@ msgstr "" "تفعيل أو تعطيل الطباعة المزدوجة، أو جدولة الطباعة المتأخرة، إذا كانت هذه " "المهام مدعومة من الطابعة." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "الموقع" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "استخدم هذه القائمة المنسدلة لانتقاء واحدة من مقاصد الطباعة التالية:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "سي​يوبي​إس" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "طباعة الملف إلى طابعة سي​يوبي​إس." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1452,23 +1452,23 @@ msgstr "" "إذا كانت الطابعة المنتقاة طباعة سي​يوبي​إس، سي​" "يوبي​إس هي المدخلة الوحيدة في هذه القائمة المنسدلة." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "إل​بي​آر" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "طباعة الملف إلى طباعة." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "ملف" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "طباعة الملف إلى ملف بوست​سكربت" -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1476,56 +1476,56 @@ msgstr "" "انقر احفظ ك لعرض حوار أين تحديد اسم وموقع ملف " "بوست​سكربت." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "مخصص" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "استخدم الأمر المحدد لطباعة الملف." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "اطبع اسم الأمر في مربع النص. تضمن كل مدخلات سطر الأوامر." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "الحالة" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "هذه الخاصية غير مدعومة في إصدار محرر النصوص هذا." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "النوع" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "التعليق" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "قسم الورقة المؤلسن" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "خحم الورقة" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "" "استخدم القائمة المنسدلة لانتقاء حجم الورقة التي تريد طباعة الملف عليها." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "العرض" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1533,37 +1533,37 @@ msgstr "" "استخدم هذا الصندوق لتحديد عرض الورقة. استخدم القائمة المنسدلة المجاورة " "لتعديل وحدة القياس." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "الطول" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "استخدم هذا الصندوق لتحديد طول الورقة." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "توجه التغذية" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "استخدم هذه القائمة المنسدلة لانتقاء توجه الورقة في الطابعة." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "توجه الصفحة" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "استخدم هذه القائمة المنسدلة لانتقاء توجه الصفحة." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "تخطيط" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1571,34 +1571,34 @@ msgstr "" "استخدم هذه القائمة المنسدلة لانتقاء تخطيط الصفحة. معيانة لكل تخطيط تنتقيه " "تُعرض في منطقة معاينة." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "صينية الورق" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "استخدم هذه القائمة المنسدلة لانتقاء صينية الورق." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "مزايا البرمجة" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" "العديد من مزايا محرر النصوص للبرمجية مقدمة " "بملحقات. على سبيل المثلل، ملحق قائممة الوسمتقدم قائمة للوسوم المستخدمة بشكل " -"شائع لمختلف لغات الترقيم: راجع . " +"شائع لمختلف لغات الترقيم: راجع . " -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "إبراز الصياغة" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1606,9 +1606,9 @@ msgstr "" "يجعل ابراز صياغة الكود المصدري أسهل للقراءة بعرض الأجزاء المختلفة من النص " "بألوان مختلفة." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" @@ -1618,19 +1618,19 @@ msgstr "" "guimenu>نمط الإبراز، ثم اختر واحدا " "من عناصر القائمة التالية:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "عادي" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "لا تعرض أي إبراز صياغة." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "المصادر" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1638,11 +1638,11 @@ msgstr "" "عرض إبراز الصياغة لتحرير الكود المصدري. استخدم قائمة مصادر الفرعية لانتقاء نوع الشيفرة المصدرية." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "ترميز" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1650,11 +1650,11 @@ msgstr "" "عرض إبراز الصياغة لتحرير كود ترميز. استخدم قائمة ترميز الفرعية لانتقاء نوع شيفرة الترميز." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "سكربتات" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1662,11 +1662,11 @@ msgstr "" "عرض إبراز الصياغة لتحرير كود سكربت. استخدك قائمة مخطوطات الرغية لانتقاء نوع شيفرة المخطوط." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "أخريات" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1674,30 +1674,30 @@ msgstr "" "عرض إبراز الصياغة لتحرير أنواع أخرى من الأكواد، استخدم قائمة " "أخريات الفرعية لانتقاء نوع الشيفرة." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "توريد مخرج أمر إلى ملف" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" "تستطيع استخدام محرر النصوص لتوريد مخرج أمر إلى " "ملف نصي. على سبيل المثال، لتوريد مخرج أمر ls إلى ملف نصي، " -"اطبع ls | gedit، ثم انقر إدخال." +"اطبع ls | pluma، ثم انقر إدخال." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "مخرج أمر ls يُعرض في ملف نصي جديد في نافذة " "محرر النصوص." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1705,21 +1705,21 @@ msgstr "" "بدلا من ذلك، تستطيع استخدام ملحق الأدوات الخارجية " "لتوريد مخرج أمر إلى الملف الحالي." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "مفاتيح الاختصار" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "استخدم مفاتيح الاختصار لتأدية المهام الشائعة أسرع من الفأرة والقوائم. " "الجداول التالية تضع كل مفاتيح اختصار محرر النصوص " "في قائمة." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1728,402 +1728,402 @@ msgstr "" "keyboard-skills\">دليل مستخدم سطح المكتب." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "ألسنة" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "اختصارات الألسنة:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "مفتاح الاختصار" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "الأمر" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "يحوّل إلى اللسان التالي إلى اليسار." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "يحوّل إلى اللسان التالي إلى اليمين." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "أغلق اللسان." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "احفظ كل الألسنة." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "أغلق كل الألسنة." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "يقفز إلى اللسان الأعلى." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "ملفات" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "اختصارات العمل مع الملفات:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "أنشئ مستندا جديدا." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "افتح مستندا." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "افتح موقعا." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "احفظ المستند الحالي إلى القرص." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "احفظ المستند الحالي باسم ملف جديد." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "اطبع المستند الحالي." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "عينة الطباعة." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "أغلق المستند الحالي." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." msgstr "يخرج محرر النصوص." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1408(guimenu) -#: C/gedit.xml:1414(guimenu) C/gedit.xml:1420(guimenu) -#: C/gedit.xml:1426(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1408(guimenu) +#: C/pluma.xml:1414(guimenu) C/pluma.xml:1420(guimenu) +#: C/pluma.xml:1426(guimenu) msgid "Edit" msgstr "تحرير" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "اختصارات تحرير المستندات:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "استرجاع آخر إجراء." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "إعادة آخر إجراء مُسترجع." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "قص النص أو المنطقة المنقاة ووضعها في الحافظة." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "نسخ النص أو المنقطة المنقاة إلى الحافظة." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "لصق محتويات الحافظة." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "انتقِ الكل." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "احذف السطر الحالي" #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "الألواح" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "اختصارات عرض وإخفاء اللوحات:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "إظهار/إخفاء اللوحة الجانبية." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "إظهار/إخفاء اللوحة السفلية." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "البحث" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "اختصارات البحث:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + D" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "جِد نصا." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "جِد المماثل التالي للنص." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "جِد المماثل السابق للنص." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "بحث تفاعلي." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "ابحث واستبدل." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "نظّف الإبراز." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "اذهب إلى سطر." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "أدوات" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "اختصارات الأدوات:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "دقق الإملاء (بملحق)" -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "أزل المسافات المفرطة (بملحق)." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "أزح (بملحق)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "احذف الإزاحة (بملحق)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "شغلّ \"make\" في الدليل الحالي (بملحق)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "سرد الدليل (بملحق)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "مساعدة" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "اختصارات المساعدة:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." msgstr "افتح دليل مستخدم محرر النصوص." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "التفضيلات" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"لتهيئة gedit، اختر تحريرpluma، اختر تحريرالتفضيلات. حوار " "التفضيلات يحتوي التصانيف التالية:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "تفضيلات العرض" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2132,7 +2132,7 @@ msgstr "" "انتقِ خيار فعّل لف النص لتحول أسطر النص الطويلة إلى فقرات " "بدلا من تخطي حافة نافذة النص. هذا يتخطى الاضطرار للف أفقيا." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2142,30 +2142,30 @@ msgstr "" "النص يحفظ الكلمات الكاملة عندما يكون النص في السطر التالي. هذا يجعل التص " "أسهل للقراءة." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "انتقِ خيار عرض أرقام السطور لعرض أرقام الأسطر على الجانب " "الأيسر من نافذة محرر النصوص." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "السطر الحالي" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." msgstr "" "انتقِ خيار أبرز السطر الحالي لإبراز السطر حيث وُضع المؤشر." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "الحاشية اليمنى" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2173,7 +2173,7 @@ msgstr "" "انتقِ خيار اعرض الحاشية اليمنى لعرض سطر عامودي يشير إلى " "الحاشية السفلية." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2181,11 +2181,11 @@ msgstr "" "استخدم صندوق الحاشية اليمنى ابتداء من العمود لتحديد " "موقع السطر العامدوي." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "تطابق القوس" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2194,45 +2194,45 @@ msgstr "" "انتقِ خيار أبرز القوس المطابق لإبراز القوس المطابق عندما " "يوضع المؤشر على محرف قوس." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "تفضيلات المحرر" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "استخدم صندوق عرض اللسان لتحديد عرض المساحة التي يدرجها " "محرر النصوص عندما تضغط مفتاح Tab." -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "انتقِ خيار إدراج مسافات عوض الألسنة لتخصيص " "محرر النصوص لإدراج مسافات بدلا من محرف اللسان عند " "ضغط مفتاح Tab." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "إزاحة آلية" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) #, fuzzy msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." msgstr "انتقِ الخيار " -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "حفظ ملف" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) #, fuzzy msgid "" "Select the Create a backup copy of files before saving " @@ -2240,7 +2240,7 @@ msgid "" "backup copy of the file contains a ~ at the end of the filename." msgstr "انتقِ الخيار " -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2250,122 +2250,122 @@ msgstr "" "الحالي تلقائيا كل عدد اعتيادي. استخدم الصندوق لتحديد تكرار رغبتك في حفظ " "الملف." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "تفضيلات الخط والألوان" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "الخط" -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "انتقِ خيار استخدم سمة خط السمة المبدئي لاستخدام خط " "النظام المبدئي للنص في نافذة نص محرر النصوص." -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "حقل خط المحرر يعرض الخط الذي يستخدمه محرر " "النصوص لعرض النص. انقر على الزر لتحديد نوع الخط، وأسلوبه، " "وحجمه لاستخدامه للنص." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" msgstr "" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "" -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "" -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) #, fuzzy msgid "Kate" msgstr "الحالة" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "" -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "" -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "" -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" msgstr "" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" msgstr "" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "تفضيلات الملحقات" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" "تضيف الملحقات مزايا إضافية إلى محرر النصوص. لمزيد " "من المعلومات حول الملحقات وكيفية استخدام الملحقات المضمّنة، راجع ." +"linkend=\"pluma-plugins-overview\"/>." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "تفعيل ملحق" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" "لتفعيل ملحق محرر النصوص، أدِ الخطوات التالية:" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1637(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1637(para) msgid "" "Choose EditPreferences." @@ -2373,115 +2373,115 @@ msgstr "" "اختر تحريرالتفضيلات." -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1640(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1640(para) msgid "Select the Plugins tab." msgstr "انتق اللسان الملحقات." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "انتقِ صندوق التأشير التالي لاسم الملحق الذي تريد تفعليه." -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." msgstr "" "انقر أغلق لإغلاق حوار التفضيلات." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "تعطيل ملحق" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "يظل الملحق مفعلا عند مغادرتك محرر النصوص." -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" "لتعطيل ملحق محرر النصوص، أدِ الخطوات التالية:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "ألغِ انتقاء صندوق التأشير التاليلاسم الملحق الذي تريد تعطيله." -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "الملحقات" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "العمل مع الملحقات" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" "يمكنك إضافة مزايا إضافية إلى محرر النصوص بتفعيل " "الملحقات. الملحق هو برنامج متمم يعزز أداء وظائف " "التطبيق. الملحقات تضيف عناصر جديدة إلى قوائم محرر النصوص للمزايا الجديدة التي تقدمها." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" "عدة ملحقات تأتي مبنية مع محرر النصوص، وتستطيع " -"تثبيت المزيد. يسرد موقع محرر النصوص ملحقات الطرف الثالث." -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "لتفعيل وتعطيل الملحقات، أو رؤية أي الملحقات مفعلة حاليا، استخدم تفضيلات الملحقات." +"linkend=\"pluma-prefs-plugins\">تفضيلات الملحقات." -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "الملحقات التالية تأتي مُضمّنة مع محرر النصوص:" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"تغيير الحالةتغيير الحالةيسمح لك بتغيير حالة نص منتقى." -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"احصاءات " +"احصاءات " "المستند يعرض رقم الأسطر، والكلمات، والمحارف في مستند." -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"الأدوات الخارجيةالأدوات الخارجية يسمح لك بتشغيل أوامر خارجية من محرر النصوص." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2489,100 +2489,100 @@ msgstr "" "متصفح الملفات يسمح لك بتصفح ملفاتك ومجلداتك في " "اللوحة الجانبية." -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"إزاحة الأسطرإزاحة الأسطر يضيف أو يزيل الإزاحة من الأسطر المنتقاة." -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"إدراج التاريخ/" +"إدراج التاريخ/" "الوقت يضيف التاريخ والوقت الحاليين إلى مستند." -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"الأسطر النمطيةالأسطر النمطية يسمح لك بضبط تفضيلات التحرير للملفات المفردة، ودعم أساليب أسطر " "Emacs، و Kate، و " "Vim النمطية" -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"كونسول بايثونكونسول بايثون يسمح لك بتشغيل الأوامر بلغة البرمجة بايثون." -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"مقاطعمقاطع يسمح لك بتخزين أجزاء النص المستخدمة بشكل متكرر وتدرجهم بسرعة " "إلى النص." -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"ترتيب " +"ترتيب " "يرتب أسطر منتقاء من النص إلى الترتيب الأبجدي." -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"مدقق الإملاءمدقق الإملاء يصحح إملاء النص المنتقى، أو يعلّم الأخطاء تلقائيا في " "المستند." -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"قائمة الوسمقائمة الوسم يدعك تدرج أوسمة إنش​تي​إم​إل واللغات الأخرى " "الأكثر شيوعا من قائمة في اللوحة الجانبية." -#: C/gedit.xml:1380(para) +#: C/pluma.xml:1380(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"اسم المستخدماسم المستخدم يدرج اسم المستخدم للمستخدم الحالي إلى المستند." -#: C/gedit.xml:1387(title) +#: C/pluma.xml:1387(title) msgid "Change Case Plugin" msgstr "ملحق تغيير الحالة" -#: C/gedit.xml:1388(para) +#: C/pluma.xml:1388(para) msgid "" "The Change Case plugin changes the case of the " "selected text." msgstr "ملحق تغيير الحالة يغير حالة النص المنتقى." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2590,78 +2590,78 @@ msgstr "" "العناصر التالية تُضاف إلى قائمة تحرير عندما يُفعل ملحق " "تغيير الحالة:" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Menu Item" msgstr "عنصر القائمة" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Action" msgstr "الإجراء" -#: C/gedit.xml:1403(para) +#: C/pluma.xml:1403(para) msgid "Example" msgstr "مثال" -#: C/gedit.xml:1409(guisubmenu) C/gedit.xml:1415(guisubmenu) -#: C/gedit.xml:1421(guisubmenu) C/gedit.xml:1427(guisubmenu) +#: C/pluma.xml:1409(guisubmenu) C/pluma.xml:1415(guisubmenu) +#: C/pluma.xml:1421(guisubmenu) C/pluma.xml:1427(guisubmenu) msgid "Change Case" msgstr "غيّر الحالة" -#: C/gedit.xml:1409(guimenuitem) +#: C/pluma.xml:1409(guimenuitem) msgid "All Upper Case" msgstr "كل الأحرف علوية" -#: C/gedit.xml:1410(para) +#: C/pluma.xml:1410(para) msgid "Change each character to uppercase." msgstr "تغيير كل محرف إلى الحالة العلوية." -#: C/gedit.xml:1411(para) +#: C/pluma.xml:1411(para) msgid "This text becomes THIS TEXT" msgstr "This text تصبح THIS TEXT" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Lower Case" msgstr "كل الأحرف سفلية" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to lowercase." msgstr "تغيير كل محرف إلى الحالة السفلية." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This Text becomes this text" msgstr "This Text تصبح this text" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "Invert Case" msgstr "اعكس الحالة" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "تغيير حالة سفلية إلى حالة علوية، وتغيير كل حالة علوية إلى حالة سفلية." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes tHIS tEXT" msgstr "This Text تصبح tHIS tEXT" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Title Case" msgstr "حالة العنوان" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "Change the first character of each word to uppercase." msgstr "تغيير أول محرف من كل كلمة إلى الحالة العلوية." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "this text becomes This Text" msgstr "this text تصبح This Text" -#: C/gedit.xml:1438(title) +#: C/pluma.xml:1438(title) msgid "Document Statistics Plugin" msgstr "ملحق إحصاءات المستند" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2674,7 +2674,7 @@ msgstr "" "الملحق يعرض النتائج في حوار إحصاءات المستند. لاستخدام " "احصاءات المستند، أدِ الخطوات التالية:" -#: C/gedit.xml:1441(para) +#: C/pluma.xml:1441(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics لعرض الحوار إحصاءات المستند. " "الحوار إحصاءات المستند يعرض المعلومات التالية حول الملف:" -#: C/gedit.xml:1444(para) +#: C/pluma.xml:1444(para) msgid "Number of lines in the current document." msgstr "عدد الأسطر في المستند الحالي." -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "Number of words in the current document." msgstr "عدد الكلمات في المستند الحالي." -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of characters, including spaces, in the current document." msgstr "عدد المحارف -بما في ذلك المسافات- في المستند الحالي." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of characters, not including spaces, in the current document." msgstr "عدد المسافات -لا تتضمن المسافات- في المستند الحالي." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of bytes in the current document." msgstr "عدد البايتات في المستند الحالي." -#: C/gedit.xml:1461(para) +#: C/pluma.xml:1461(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." @@ -2716,14 +2716,14 @@ msgstr "" "فتح حوار إحصاءات المستند. لإنعاش محتويات حوار " "إحصاءات المستند، انقر حدّث." -#: C/gedit.xml:1468(title) +#: C/pluma.xml:1468(title) msgid "External Tools Plugin" msgstr "ملحق الأدوات الخارجية" -#: C/gedit.xml:1469(para) +#: C/pluma.xml:1469(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." @@ -2733,320 +2733,320 @@ msgstr "" "أمر واستغلال مخرجاته ( على سبيل المثال، sed)، أو " "تشغيل أمر معرف مسبقا (على سبيل المثال، make)." -#: C/gedit.xml:1470(para) +#: C/pluma.xml:1470(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools menu." msgstr "" -#: C/gedit.xml:1473(title) +#: C/pluma.xml:1473(title) msgid "Built-in Commands" msgstr "الأوامر المضمّنة" -#: C/gedit.xml:1474(para) +#: C/pluma.xml:1474(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "" -#: C/gedit.xml:1476(term) +#: C/pluma.xml:1476(term) msgid "Build" msgstr "" -#: C/gedit.xml:1478(para) +#: C/pluma.xml:1478(para) msgid "" "Runs make in the current document's directory." msgstr "" -#: C/gedit.xml:1481(term) +#: C/pluma.xml:1481(term) msgid "Directory Listing" msgstr "" -#: C/gedit.xml:1483(para) +#: C/pluma.xml:1483(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" -#: C/gedit.xml:1486(term) +#: C/pluma.xml:1486(term) msgid "Environment Variables" msgstr "" -#: C/gedit.xml:1488(para) +#: C/pluma.xml:1488(para) msgid "Displays the environment variables list in the bottom pane." msgstr "" -#: C/gedit.xml:1491(term) +#: C/pluma.xml:1491(term) msgid "Grep" msgstr "" -#: C/gedit.xml:1493(para) +#: C/pluma.xml:1493(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." msgstr "" -#: C/gedit.xml:1496(term) +#: C/pluma.xml:1496(term) msgid "Remove Trailing Spaces" msgstr "" -#: C/gedit.xml:1498(para) +#: C/pluma.xml:1498(para) msgid "Removes all spaces from the end of lines in the document." msgstr "" -#: C/gedit.xml:1505(title) +#: C/pluma.xml:1505(title) msgid "Defining a Command" msgstr "تعريف أمر" -#: C/gedit.xml:1506(para) +#: C/pluma.xml:1506(para) msgid "" "To add an external command, choose ToolsExternal Tools." msgstr "" -#: C/gedit.xml:1507(para) +#: C/pluma.xml:1507(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " "new command:" msgstr "" -#: C/gedit.xml:1509(term) +#: C/pluma.xml:1509(term) msgid "Description" msgstr "الوصف" -#: C/gedit.xml:1511(para) +#: C/pluma.xml:1511(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" -#: C/gedit.xml:1514(term) +#: C/pluma.xml:1514(term) msgid "Accelerator" msgstr "" -#: C/gedit.xml:1516(para) +#: C/pluma.xml:1516(para) msgid "Enter a keyboard shortcut for the command." msgstr "أدخل اختصار لوحة مفاتيح للأمر." -#: C/gedit.xml:1519(term) +#: C/pluma.xml:1519(term) msgid "Commands" msgstr "الأوامر" -#: C/gedit.xml:1521(para) +#: C/pluma.xml:1521(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -#: C/gedit.xml:1524(term) +#: C/pluma.xml:1524(term) msgid "Input" msgstr "" -#: C/gedit.xml:1526(para) +#: C/pluma.xml:1526(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." msgstr "" -#: C/gedit.xml:1529(term) +#: C/pluma.xml:1529(term) msgid "Output" msgstr "المُخرج" -#: C/gedit.xml:1531(para) +#: C/pluma.xml:1531(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " "cursor position, or replacing the selection or the entire document." msgstr "" -#: C/gedit.xml:1534(term) +#: C/pluma.xml:1534(term) msgid "Applicability" msgstr "" -#: C/gedit.xml:1536(para) +#: C/pluma.xml:1536(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." msgstr "" -#: C/gedit.xml:1544(title) +#: C/pluma.xml:1544(title) msgid "Editing and Removing Tools" msgstr "" -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "To rename a tool, click it again in the list." msgstr "" -#: C/gedit.xml:1547(para) +#: C/pluma.xml:1547(para) msgid "" "To restore a built-in tool that you have changed, press Revert." msgstr "" -#: C/gedit.xml:1548(para) +#: C/pluma.xml:1548(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " "yourself." msgstr "" -#: C/gedit.xml:1552(title) +#: C/pluma.xml:1552(title) msgid "Variables" msgstr "" -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "" -#: C/gedit.xml:1556(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1556(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1559(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1559(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1571(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1571(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1574(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1574(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1581(title) +#: C/pluma.xml:1581(title) msgid "File Browser Plugin" msgstr "ملحق متصفح الملفات" -#: C/gedit.xml:1582(para) +#: C/pluma.xml:1582(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." msgstr "" -#: C/gedit.xml:1583(para) +#: C/pluma.xml:1583(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " "the tab showing the File Browser icon at the bottom of the side pane." msgstr "" -#: C/gedit.xml:1585(title) +#: C/pluma.xml:1585(title) msgid "Browsing your Files" msgstr "تصفح ملفاتك" -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." msgstr "" -#: C/gedit.xml:1587(para) +#: C/pluma.xml:1587(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." msgstr "" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " "document." msgstr "" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -#: C/gedit.xml:1595(title) +#: C/pluma.xml:1595(title) msgid "Creating Files and Folders" msgstr "إنشاء ملفات ومجلدات جديدة" -#: C/gedit.xml:1596(para) +#: C/pluma.xml:1596(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." msgstr "" -#: C/gedit.xml:1597(para) +#: C/pluma.xml:1597(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." msgstr "" -#: C/gedit.xml:1602(title) +#: C/pluma.xml:1602(title) msgid "Indent Lines Plugin" msgstr "" -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." msgstr "" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" -#: C/gedit.xml:1606(para) +#: C/pluma.xml:1606(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." msgstr "" -#: C/gedit.xml:1611(para) +#: C/pluma.xml:1611(para) msgid "" "To indent the text, choose EditIndent." msgstr "" -#: C/gedit.xml:1614(para) +#: C/pluma.xml:1614(para) msgid "" "To remove the indentation, choose EditUnindent." msgstr "" -#: C/gedit.xml:1619(para) +#: C/pluma.xml:1619(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" -#: C/gedit.xml:1624(title) +#: C/pluma.xml:1624(title) msgid "Insert Date/Time Plugin" msgstr "ملحق إدراج التاريخ/الوقت" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " "the following steps:" msgstr "" -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" "Choose EditInsert Date and Time." @@ -3054,65 +3054,65 @@ msgstr "" "اختر تحريرأدرج التاريخ والوقت." -#: C/gedit.xml:1628(para) +#: C/pluma.xml:1628(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" -#: C/gedit.xml:1629(para) +#: C/pluma.xml:1629(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -#: C/gedit.xml:1634(title) +#: C/pluma.xml:1634(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "اضبط الملحق إدراج التاريخ/الوقت" -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "لضبط الملحق إدراج التاريخ/الوقت، شكّل الخطوات التالية:" -#: C/gedit.xml:1643(para) +#: C/pluma.xml:1643(para) msgid "Select the Insert Date/Time plugin." msgstr "انتقِ الملحق إدراج التاريخ/الوقت." -#: C/gedit.xml:1646(para) +#: C/pluma.xml:1646(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." msgstr "" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select one of the options, as follows:" msgstr "انتقِ واحد من الخيارات، كالتالي:" -#: C/gedit.xml:1651(para) +#: C/pluma.xml:1651(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." msgstr "" -#: C/gedit.xml:1654(para) +#: C/pluma.xml:1654(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3120,80 +3120,80 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" -#: C/gedit.xml:1662(para) +#: C/pluma.xml:1662(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." msgstr "" -#: C/gedit.xml:1665(para) +#: C/pluma.xml:1665(para) msgid "" "To close the Preferences dialog, click " "Close." msgstr "" "لإغلاق حوار التفضيلات، انقر أغلق." -#: C/gedit.xml:1672(title) +#: C/pluma.xml:1672(title) msgid "Modelines Plugin" msgstr "" -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" -#: C/gedit.xml:1674(para) +#: C/pluma.xml:1674(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "" -#: C/gedit.xml:1675(para) +#: C/pluma.xml:1675(para) msgid "You can set the following preferences with modelines:" msgstr "تستطيع ضبط التفضيلات التالية" -#: C/gedit.xml:1678(para) +#: C/pluma.xml:1678(para) msgid "Tab width" msgstr "عرض اللسان" -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "Indent width" msgstr "" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Insert spaces instead of tabs" msgstr "" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Right margin width" msgstr "" -#: C/gedit.xml:1694(para) +#: C/pluma.xml:1694(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " "Kate and Vim." msgstr "" -#: C/gedit.xml:1697(title) +#: C/pluma.xml:1697(title) msgid "Emacs Modelines" msgstr "" -#: C/gedit.xml:1698(para) +#: C/pluma.xml:1698(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "" -#: C/gedit.xml:1699(para) +#: C/pluma.xml:1699(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3201,17 +3201,17 @@ msgid "" "html\">GNU Emacs Manual." msgstr "" -#: C/gedit.xml:1702(title) +#: C/pluma.xml:1702(title) msgid "Kate Modelines" msgstr "" -#: C/gedit.xml:1703(para) +#: C/pluma.xml:1703(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3219,17 +3219,17 @@ msgid "" "article/katepart_modelines\">Kate website." msgstr "" -#: C/gedit.xml:1707(title) +#: C/pluma.xml:1707(title) msgid "Vim Modelines" msgstr "" -#: C/gedit.xml:1708(para) +#: C/pluma.xml:1708(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3237,14 +3237,14 @@ msgid "" "html#modeline\">Vim website." msgstr "" -#: C/gedit.xml:1714(title) +#: C/pluma.xml:1714(title) msgid "Python Console Plugin" msgstr "ملحق بايثون كونسول" -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" @@ -3252,25 +3252,25 @@ msgstr "" "برمجة بايثون من محرر النصوص. تفعيل هذه الخاصية " "يضيف لسان إلى اللوحة السفلية. هذا يظهر المخرجات الحديثة وحقل محث أوامر." -#: C/gedit.xml:1716(para) +#: C/pluma.xml:1716(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Snippets Plugin" msgstr "أيقونة المقاطع" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " "insert them quickly into a document." msgstr "" -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3278,19 +3278,19 @@ msgid "" "global, and are available in all documents." msgstr "" -#: C/gedit.xml:1723(para) +#: C/pluma.xml:1723(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" "عدد من المقاطع المبنية داخليا مُثتبة مع محرر النصوص، والتي يمكن تعديلها." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Inserting Snippets" msgstr "إدراج مقاطع" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3298,7 +3298,7 @@ msgid "" "short and easy to remember." msgstr "" -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3306,15 +3306,15 @@ msgstr "" "بدلا من ذلك، اضغط CtrlSpace لمراجهة قائمة المقاطع التي تستطيع إدراجها." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Adding Snippets" msgstr "إضافة مقاطع" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "To create a new snippet, do the following:" msgstr "لإنشاء مقطع جديد، افعل التالي:" -#: C/gedit.xml:1736(para) +#: C/pluma.xml:1736(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3323,7 +3323,7 @@ msgstr "" "اختر أدواتأدر المقاطع. نافذة مدير المقاطع تفتح." -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3331,132 +3331,132 @@ msgid "" "document you are currently working with is shown by default." msgstr "" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "Click New. A new snippet appears in the list." msgstr "انقر جديد. مقطع جديد يضاف في القائمة." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "Enter the following information for the new snippet:" msgstr "أدخل المعلومات التالية للمقاطع الجديدة:" -#: C/gedit.xml:1747(term) +#: C/pluma.xml:1747(term) msgid "Name" msgstr "الاسم" -#: C/gedit.xml:1749(para) +#: C/pluma.xml:1749(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " "name of a snippet you create by clicking on it in the list." msgstr "" -#: C/gedit.xml:1752(term) +#: C/pluma.xml:1752(term) msgid "Snippet text" msgstr "نص المقطع" -#: C/gedit.xml:1754(para) +#: C/pluma.xml:1754(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." msgstr "" -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Tab Trigger" msgstr "" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." msgstr "" -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " "invalid tab trigger is entered." msgstr "" -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Shortcut key" msgstr "مفتاح الاختصار" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "" -#: C/gedit.xml:1775(title) +#: C/pluma.xml:1775(title) msgid "Editing and Removing Snippets" msgstr "تحرير وحذف المقاطع" -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." msgstr "" -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "To rename a snippet, click it again in the list." msgstr "لإعادة تسمية مقطع، انقر مجددا على القائمة." -#: C/gedit.xml:1778(para) +#: C/pluma.xml:1778(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." msgstr "" -#: C/gedit.xml:1779(para) +#: C/pluma.xml:1779(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " "created yourself." msgstr "" -#: C/gedit.xml:1783(title) +#: C/pluma.xml:1783(title) msgid "Snippet Substitutions" msgstr "" -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " "your document." msgstr "" -#: C/gedit.xml:1788(para) +#: C/pluma.xml:1788(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" -#: C/gedit.xml:1790(term) +#: C/pluma.xml:1790(term) msgid "Tab placeholders" msgstr "" -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." msgstr "" -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "${n:default} defines a tab placeholder with a default value." msgstr "" -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." msgstr "" -#: C/gedit.xml:1795(para) +#: C/pluma.xml:1795(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3464,7 +3464,7 @@ msgid "" "defines the order in which tab advances to each place in the text." msgstr "" -#: C/gedit.xml:1796(para) +#: C/pluma.xml:1796(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3472,88 +3472,88 @@ msgid "" "snippet text, or to the end placeholder if it exists." msgstr "" -#: C/gedit.xml:1799(term) +#: C/pluma.xml:1799(term) msgid "Mirror placeholders" msgstr "" -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " "in the snippet." msgstr "" -#: C/gedit.xml:1804(term) +#: C/pluma.xml:1804(term) msgid "End placeholder" msgstr "" -#: C/gedit.xml:1806(para) +#: C/pluma.xml:1806(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " "the snippet text." msgstr "" -#: C/gedit.xml:1809(term) +#: C/pluma.xml:1809(term) msgid "Environmental variables" msgstr "" -#: C/gedit.xml:1811(para) +#: C/pluma.xml:1811(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" -#: C/gedit.xml:1813(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1813(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1815(para) +#: C/pluma.xml:1815(para) msgid "The currently selected text." msgstr "النص المنتقى حاليا." -#: C/gedit.xml:1818(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1818(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1820(para) +#: C/pluma.xml:1820(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "" -#: C/gedit.xml:1823(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1823(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1825(para) +#: C/pluma.xml:1825(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "" -#: C/gedit.xml:1828(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1828(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1830(para) +#: C/pluma.xml:1830(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "" -#: C/gedit.xml:1838(term) +#: C/pluma.xml:1838(term) msgid "Shell placeholders" msgstr "" -#: C/gedit.xml:1840(para) +#: C/pluma.xml:1840(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." msgstr "" -#: C/gedit.xml:1841(para) +#: C/pluma.xml:1841(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3562,18 +3562,18 @@ msgid "" "placeholder as input in another." msgstr "" -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Python placeholders" msgstr "" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " "interpreter." msgstr "" -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3584,23 +3584,23 @@ msgid "" "replaceable>>" msgstr "" -#: C/gedit.xml:1848(para) +#: C/pluma.xml:1848(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." msgstr "" -#: C/gedit.xml:1857(title) +#: C/pluma.xml:1857(title) msgid "Sort Plugin" msgstr "ملحق الترتيب" -#: C/gedit.xml:1858(para) +#: C/pluma.xml:1858(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." msgstr "" -#: C/gedit.xml:1859(para) +#: C/pluma.xml:1859(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3608,15 +3608,15 @@ msgid "" "guimenu>Revert." msgstr "" -#: C/gedit.xml:1862(para) +#: C/pluma.xml:1862(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "لاستخدام ملحق الترتيب، أدِ الاعدادات التالية:" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "Select the lines of text you want to sort." msgstr "انتقِ سطور النص التي تريد ترتيبها." -#: C/gedit.xml:1867(para) +#: C/pluma.xml:1867(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -3624,51 +3624,51 @@ msgstr "" "اختر تحريررتّب. يفتح الحوار ترتيب." -#: C/gedit.xml:1870(para) +#: C/pluma.xml:1870(para) msgid "Choose the options you want for the sort:" msgstr "اختر الخيارات التي تريدها للترتيب:" -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "To arrange the text in reverse order, select Reverse order." msgstr "" -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "لحذف السطور المتكررة، انتقِ إزالة التكرار." -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "لتجاهل حساسية الحالة، انتقِِ تجاهل الحالة." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " "column spin box." msgstr "" -#: C/gedit.xml:1887(para) +#: C/pluma.xml:1887(para) msgid "To perform the sort operation, click Sort." msgstr "" -#: C/gedit.xml:1894(title) +#: C/pluma.xml:1894(title) msgid "Spell Checker Plugin" msgstr "ملحق المدقق الإملائي" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" -#: C/gedit.xml:1897(para) +#: C/pluma.xml:1897(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -3676,7 +3676,7 @@ msgid "" "guibutton> to close the Set language dialog." msgstr "" -#: C/gedit.xml:1900(para) +#: C/pluma.xml:1900(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -3684,47 +3684,47 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestions from the popup menu:" msgstr "" -#: C/gedit.xml:1904(para) +#: C/pluma.xml:1904(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " "popup menu." msgstr "" -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd." msgstr "" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." msgstr "" -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -3732,19 +3732,19 @@ msgid "" "guilabel> dialog." msgstr "" -#: C/gedit.xml:1919(para) +#: C/pluma.xml:1919(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "" -#: C/gedit.xml:1922(para) +#: C/pluma.xml:1922(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -3752,7 +3752,7 @@ msgid "" "can enter text directly into the Change to text box." msgstr "" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -3761,15 +3761,15 @@ msgid "" "in the Suggestions list." msgstr "" -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change." msgstr "" -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." msgstr "" -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To close the Check Spelling dialog, click " "Close." msgstr "" -#: C/gedit.xml:1949(title) +#: C/pluma.xml:1949(title) msgid "Tag List Plugin" msgstr "ملحق وسم القائمة" -#: C/gedit.xml:1950(para) +#: C/pluma.xml:1950(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." msgstr "" -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" -#: C/gedit.xml:1953(para) +#: C/pluma.xml:1953(para) msgid "" "Choose ViewSide Pane." msgstr "" -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " "tag list tab." msgstr "" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." msgstr "" -#: C/gedit.xml:1962(para) +#: C/pluma.xml:1962(para) msgid "Scroll through the tag list to find the required tag." msgstr "" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" msgstr "" -#: C/gedit.xml:1967(para) +#: C/pluma.xml:1967(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." msgstr "" -#: C/gedit.xml:1970(para) +#: C/pluma.xml:1970(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftReturn." msgstr "" -#: C/gedit.xml:1979(title) +#: C/pluma.xml:1979(title) msgid "User Name Plugin" msgstr "ملحق اسم المستخدم" -#: C/gedit.xml:1980(para) +#: C/pluma.xml:1980(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -3858,7 +3858,7 @@ msgstr "" "الملحق اسم المستخدم يدرج اسم المستخدم للمستخدم " "الحالي إلى المستند." -#: C/gedit.xml:1981(para) +#: C/pluma.xml:1981(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User Nameتحريرأدرج اسم المستخدم." -#: C/gedit.xml:1983(para) +#: C/pluma.xml:1983(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "فريق عربآيز :\n" @@ -3886,46 +3886,46 @@ msgstr "" #~ msgstr "يوليو 2006" #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "للمزيد من المعلومات حول كيفية ضبط تعليم الصياغة، راجع ." +#~ "\"pluma-prefs-syntax\"/>." #~ msgid "Colors" #~ msgstr "الألوان" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "انتقِ الخيار استخدم ألوان السمة المبدئية لاستخدام " @@ -3934,7 +3934,7 @@ msgstr "" #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "انقر على نافذة نص زر اللون لون النص العاديلعرض " #~ "حوار منتقي اللون. انتقِ لونا لاستخدامه لعرض النص العادي في نافذة نص " @@ -3943,7 +3943,7 @@ msgstr "" #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "انقر على زر اللون لون الخلفية لعرض حوار منتقي " #~ "اللون. انتقِ لون خلفية لنافذة نص محرر النصوص." diff --git a/help/bg/bg.po b/help/bg/bg.po index b3f8cdb..553a453 100755 --- a/help/bg/bg.po +++ b/help/bg/bg.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit manual\n" +"Project-Id-Version: pluma manual\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-03-01 07:43+0200\n" "PO-Revision-Date: 2006-03-01 08:08+0200\n" @@ -91,227 +91,227 @@ msgstr "ДОКУМЕНТЪТ И МОДИФИЦИРАНИТЕ МУ ВЕРСИИ #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:231(None) +#: pluma.xml:231(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=65ef55fb44c43c883a271cf28b6c5a0e" +"@@image: 'figures/pluma_window.png'; md5=65ef55fb44c43c883a271cf28b6c5a0e" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=65ef55fb44c43c883a271cf28b6c5a0e" +"@@image: 'figures/pluma_window.png'; md5=65ef55fb44c43c883a271cf28b6c5a0e" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:330(None) +#: pluma.xml:330(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:953(None) +#: pluma.xml:953(None) msgid "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" msgstr "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:972(None) +#: pluma.xml:972(None) msgid "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" msgstr "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:990(None) +#: pluma.xml:990(None) msgid "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" msgstr "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: gedit.xml:1008(None) +#: pluma.xml:1008(None) msgid "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" msgstr "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" -#: gedit.xml:22(title) gedit.xml:168(revnumber) gedit-C.omf:10(title) -msgid "gedit Manual V2.8" +#: pluma.xml:22(title) pluma.xml:168(revnumber) pluma-C.omf:10(title) +msgid "pluma Manual V2.8" msgstr "Ръководство за GEdit, версия 2.8" -#: gedit.xml:24(year) +#: pluma.xml:24(year) msgid "2002" msgstr "2002" -#: gedit.xml:25(year) +#: pluma.xml:25(year) msgid "2003" msgstr "2003" -#: gedit.xml:26(year) +#: pluma.xml:26(year) msgid "2004" msgstr "2004" -#: gedit.xml:27(holder) gedit.xml:51(orgname) +#: pluma.xml:27(holder) pluma.xml:51(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: gedit.xml:29(year) gedit.xml:96(date) +#: pluma.xml:29(year) pluma.xml:96(date) msgid "2000" msgstr "2000" -#: gedit.xml:30(holder) +#: pluma.xml:30(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: gedit.xml:41(publishername) gedit.xml:59(orgname) gedit.xml:100(para) -#: gedit.xml:108(para) gedit.xml:116(para) gedit.xml:124(para) -#: gedit.xml:132(para) gedit.xml:140(para) gedit.xml:148(para) -#: gedit.xml:156(para) gedit.xml:164(para) gedit.xml:172(para) +#: pluma.xml:41(publishername) pluma.xml:59(orgname) pluma.xml:100(para) +#: pluma.xml:108(para) pluma.xml:116(para) pluma.xml:124(para) +#: pluma.xml:132(para) pluma.xml:140(para) pluma.xml:148(para) +#: pluma.xml:156(para) pluma.xml:164(para) pluma.xml:172(para) msgid "MATE Documentation Project" msgstr "Проектът за превод на документацията на MATE" -#: gedit.xml:48(firstname) gedit.xml:171(para) +#: pluma.xml:48(firstname) pluma.xml:171(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Екипът за документацията на Java Desktop System" -#: gedit.xml:52(email) +#: pluma.xml:52(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: gedit.xml:56(firstname) +#: pluma.xml:56(firstname) msgid "Eric" msgstr "Eric" -#: gedit.xml:57(surname) +#: pluma.xml:57(surname) msgid "Baudais" msgstr "Baudais" -#: gedit.xml:60(email) +#: pluma.xml:60(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: gedit.xml:64(firstname) +#: pluma.xml:64(firstname) msgid "Baris" msgstr "Baris" -#: gedit.xml:65(surname) +#: pluma.xml:65(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "Cicek предостави информация от ранни редакции на GEdit." -#: gedit.xml:66(contrib) gedit.xml:71(contrib) +#: pluma.xml:66(contrib) pluma.xml:71(contrib) msgid "Acknowledgements" msgstr "Благодарности" -#: gedit.xml:69(firstname) +#: pluma.xml:69(firstname) msgid "Ajit" msgstr "Ajit" -#: gedit.xml:70(surname) +#: pluma.xml:70(surname) msgid "George provided information about plugins." msgstr "George предостави информация относно приставките." -#: gedit.xml:95(revnumber) -msgid "gedit V1.0" -msgstr "Gedit, версия 1.0" +#: pluma.xml:95(revnumber) +msgid "pluma V1.0" +msgstr "Pluma, версия 1.0" -#: gedit.xml:98(para) +#: pluma.xml:98(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: gedit.xml:104(revnumber) -msgid "gedit Manual V2.0" +#: pluma.xml:104(revnumber) +msgid "pluma Manual V2.0" msgstr "Ръководство за GEdit, версия 2.0" -#: gedit.xml:105(date) +#: pluma.xml:105(date) msgid "March 2002" msgstr "Март 2002" -#: gedit.xml:107(para) gedit.xml:115(para) gedit.xml:123(para) -#: gedit.xml:131(para) gedit.xml:139(para) gedit.xml:147(para) -#: gedit.xml:155(para) gedit.xml:163(para) +#: pluma.xml:107(para) pluma.xml:115(para) pluma.xml:123(para) +#: pluma.xml:131(para) pluma.xml:139(para) pluma.xml:147(para) +#: pluma.xml:155(para) pluma.xml:163(para) msgid "Sun MATE Documentation Team" msgstr "Екипът по документация на MATE на Sun" -#: gedit.xml:112(revnumber) -msgid "gedit Manual V2.1" +#: pluma.xml:112(revnumber) +msgid "pluma Manual V2.1" msgstr "Ръководство за GEdit, версия 2.1" -#: gedit.xml:113(date) +#: pluma.xml:113(date) msgid "June 2002" msgstr "Юни 2002" -#: gedit.xml:120(revnumber) -msgid "gedit Manual V2.2" +#: pluma.xml:120(revnumber) +msgid "pluma Manual V2.2" msgstr "Ръководство за GEdit, версия 2.2" -#: gedit.xml:121(date) +#: pluma.xml:121(date) msgid "August 2002" msgstr "Август 2002" -#: gedit.xml:128(revnumber) -msgid "gedit Manual V2.3" +#: pluma.xml:128(revnumber) +msgid "pluma Manual V2.3" msgstr "Ръководство за GEdit, версия 2.3" -#: gedit.xml:129(date) +#: pluma.xml:129(date) msgid "September 2002" msgstr "Септември 2003" -#: gedit.xml:136(revnumber) -msgid "gedit Manual V2.4" +#: pluma.xml:136(revnumber) +msgid "pluma Manual V2.4" msgstr "Ръководство за GEdit, версия 2.4" -#: gedit.xml:137(date) +#: pluma.xml:137(date) msgid "January 2003" msgstr "Януари 2003" -#: gedit.xml:144(revnumber) -msgid "gedit Manual V2.5" +#: pluma.xml:144(revnumber) +msgid "pluma Manual V2.5" msgstr "Ръководство за GEdit, версия 2.5" -#: gedit.xml:145(date) +#: pluma.xml:145(date) msgid "March 2003" msgstr "Март 2003" -#: gedit.xml:152(revnumber) -msgid "gedit Manual V2.6" +#: pluma.xml:152(revnumber) +msgid "pluma Manual V2.6" msgstr "Ръководство за GEdit, версия 2.6" -#: gedit.xml:153(date) +#: pluma.xml:153(date) msgid "September 2003" msgstr "Септември 2003" -#: gedit.xml:160(revnumber) -msgid "gedit Manual V2.7" +#: pluma.xml:160(revnumber) +msgid "pluma Manual V2.7" msgstr "Ръководство за GEdit, версия 2.7" -#: gedit.xml:161(date) +#: pluma.xml:161(date) msgid "March 2004" msgstr "Март 2004" -#: gedit.xml:176(releaseinfo) -msgid "This manual describes version 2.7.91 of gedit." +#: pluma.xml:176(releaseinfo) +msgid "This manual describes version 2.7.91 of pluma." msgstr "Това ръководство описва GEdit, версия 2.7.91" -#: gedit.xml:179(title) +#: pluma.xml:179(title) msgid "Feedback" msgstr "Обратна връзка" -#: gedit.xml:180(para) +#: pluma.xml:180(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" @@ -320,51 +320,51 @@ msgstr "" "описани в Страницата за " "обратна връзка на MATE." -#: gedit.xml:185(para) gedit-C.omf:18(description) -msgid "User manual for the gedit text editor." -msgstr "Потребителско ръководство на текстовия редактор gedit." +#: pluma.xml:185(para) pluma-C.omf:18(description) +msgid "User manual for the pluma text editor." +msgstr "Потребителско ръководство на текстовия редактор pluma." -#: gedit.xml:188(primary) -msgid "gedit" -msgstr "gedit" +#: pluma.xml:188(primary) +msgid "pluma" +msgstr "pluma" -#: gedit.xml:189(primary) +#: pluma.xml:189(primary) msgid "text editor" msgstr "текстов редактор" -#: gedit.xml:194(title) +#: pluma.xml:194(title) msgid "Introduction" msgstr "Въведение" -#: gedit.xml:195(para) +#: pluma.xml:195(para) msgid "" -"The gedit application enables you to create and " -"edit text files. You can use gedit plugins to " +"The pluma application enables you to create and " +"edit text files. You can use pluma plugins to " "perform a variety of tasks related to text-editing from within the " -"gedit window." +"pluma window." msgstr "" -"Програмата gedit Ви позволява да създавате и " +"Програмата pluma Ви позволява да създавате и " "редактирате текстови файлове. Може да използвате приставки към " -"gedit, които да извършват най-раазлични задачи " +"pluma, които да извършват най-раазлични задачи " "свързани с редактиране на текст." -#: gedit.xml:199(title) +#: pluma.xml:199(title) msgid "Getting Started" msgstr "Първи стъпки" -#: gedit.xml:203(title) -msgid "To Start gedit" +#: pluma.xml:203(title) +msgid "To Start pluma" msgstr "Стартиране на GEdit" -#: gedit.xml:204(para) -msgid "You can start gedit in the following ways:" -msgstr "Може да стартиратеgedit по следните начини:" +#: pluma.xml:204(para) +msgid "You can start pluma in the following ways:" +msgstr "Може да стартиратеpluma по следните начини:" -#: gedit.xml:207(term) +#: pluma.xml:207(term) msgid "Applications menu" msgstr "От менюто Програми" -#: gedit.xml:209(para) +#: pluma.xml:209(para) msgid "" "Choose AccessoriesText " "Editor." @@ -372,57 +372,57 @@ msgstr "" "Изберете Помощни програмиТекстов редактор." -#: gedit.xml:213(term) +#: pluma.xml:213(term) msgid "Command line" msgstr "От командния ред" -#: gedit.xml:215(para) -msgid "Execute the following command: gedit" -msgstr "Изпълнете следната команда: gedit" +#: pluma.xml:215(para) +msgid "Execute the following command: pluma" +msgstr "Изпълнете следната команда: pluma" -#: gedit.xml:223(title) -msgid "When You Start gedit" +#: pluma.xml:223(title) +msgid "When You Start pluma" msgstr "Когато стартирате GEdit" -#: gedit.xml:224(para) +#: pluma.xml:224(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Когато стартирате gedit се появява следният " +"Когато стартирате pluma се появява следният " "прозорец:" -#: gedit.xml:227(title) -msgid "gedit Window" +#: pluma.xml:227(title) +msgid "pluma Window" msgstr "Прозорец на GEdit" -#: gedit.xml:233(phrase) -msgid "Shows gedit main window." -msgstr "Показва главния прозорец на gedit." +#: pluma.xml:233(phrase) +msgid "Shows pluma main window." +msgstr "Показва главния прозорец на pluma." -#: gedit.xml:239(para) +#: pluma.xml:239(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"Прозорецът на gedit съдържа следните елементи:" +"Прозорецът на pluma съдържа следните елементи:" -#: gedit.xml:242(term) gedit.xml:298(para) +#: pluma.xml:242(term) pluma.xml:298(para) msgid "Menubar" msgstr "Лента с менюта" -#: gedit.xml:244(para) +#: pluma.xml:244(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Менютата на лентата с менюта съдържат всички, команди, от които може да " -"избирате при работа с файлове в gedit." +"избирате при работа с файлове в pluma." -#: gedit.xml:247(term) gedit.xml:304(para) +#: pluma.xml:247(term) pluma.xml:304(para) msgid "Toolbar" msgstr "Лента с инструменти" -#: gedit.xml:249(para) +#: pluma.xml:249(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -430,41 +430,41 @@ msgstr "" "Лентата с инструменти съдържа набор от команди, които са налични и в " "менютата." -#: gedit.xml:252(term) +#: pluma.xml:252(term) msgid "Display area" msgstr "Район на преглед" -#: gedit.xml:254(para) +#: pluma.xml:254(para) msgid "The display area contains the text of the file that you are editing." msgstr "Района на преглед съдържа текста на файла, който редактирате." -#: gedit.xml:257(term) +#: pluma.xml:257(term) msgid "Output window" msgstr "Изходен прозорец" -#: gedit.xml:259(para) +#: pluma.xml:259(para) msgid "" "The output window displays the output returned by the Shell command plugin." msgstr "" "Изходният прозорец показва изходните съобщения върнати от приставката за " "командния ред." -#: gedit.xml:262(term) +#: pluma.xml:262(term) msgid "Statusbar" msgstr "Лента за състоянието" -#: gedit.xml:264(para) +#: pluma.xml:264(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "Лентата за състоянието показва информация относно текущата активност на " -"gedit и контекстуална информация относно " +"pluma и контекстуална информация относно " "елементите в менютата. Лентата за състоянието също така показва и следната " "информация:" -#: gedit.xml:267(para) +#: pluma.xml:267(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -472,7 +472,7 @@ msgstr "" "Позиция на курсора: номер на реда и позицията, където се намира в момента " "курсора." -#: gedit.xml:270(para) +#: pluma.xml:270(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -484,37 +484,37 @@ msgstr "" "режим на презаписване, лентата за състоянието съдържа текста OVR. Натиснете клавиша Insert, за да променяте режима." -#: gedit.xml:276(para) +#: pluma.xml:276(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Когато натиснете с дясното копче в прозореца на geditpluma, програмата показва меню. Това меню съдържа най-често " "използваните команди при работа с текст." -#: gedit.xml:287(para) +#: pluma.xml:287(para) msgid "UI Component" msgstr "Компонент" -#: gedit.xml:289(para) gedit.xml:1264(para) +#: pluma.xml:289(para) pluma.xml:1264(para) msgid "Action" msgstr "Действие" -#: gedit.xml:294(para) +#: pluma.xml:294(para) msgid "Window" msgstr "Прозорец" -#: gedit.xml:295(para) +#: pluma.xml:295(para) msgid "" -"Drag a file into the gedit window from another " +"Drag a file into the pluma window from another " "application such as a file manager." msgstr "" -"Изтеглете файл в прозореца на gedit от друга " +"Изтеглете файл в прозореца на pluma от друга " "програма, като например файлов мениджър." -#: gedit.xml:299(para) +#: pluma.xml:299(para) msgid "" "Choose FileOpen." @@ -522,7 +522,7 @@ msgstr "" "Изберете ФайлОтваряне." -#: gedit.xml:300(para) +#: pluma.xml:300(para) msgid "" "If you have recently opened the file, choose FileOpen Recent." @@ -530,16 +530,16 @@ msgstr "" "Ако наскоро сте отворили файла, изберете ФайлОтваряне на скорошни." -#: gedit.xml:305(para) +#: pluma.xml:305(para) msgid "Click on the Open toolbar button." msgstr "" "Натиснете на бутона Отваряне в лентата с инструменти." -#: gedit.xml:308(para) +#: pluma.xml:308(para) msgid "Right-click popup menu" msgstr "От менюто при натисканте с дясното копче" -#: gedit.xml:309(para) +#: pluma.xml:309(para) msgid "" "Right-click on the file in a file manager window, then choose Open " "With from the popup menu." @@ -547,18 +547,18 @@ msgstr "" "Натиснете с дясното копче на мишката върху файл във файловия мениджър и " "после изберете Отваряне с от появилото се меню." -#: gedit.xml:312(para) +#: pluma.xml:312(para) msgid "Shortcut keys" msgstr "Бързи клавиши" -#: gedit.xml:313(para) +#: pluma.xml:313(para) msgid "Press CtrlO." msgstr "" "Натиснете CtrlO." -#: gedit.xml:278(para) +#: pluma.xml:278(para) msgid "" -"In gedit, you can perform the same action in " +"In pluma, you can perform the same action in " "several ways. For example, you can open a file in the following ways: " "" msgstr "" -"В gedit може да извършвате едно действие по " +"В pluma може да извършвате едно действие по " "няколко различни начина. Например, може да отворите файл по следните начини: " "" -#: gedit.xml:319(para) +#: pluma.xml:319(para) msgid "This manual documents functionality from the menubar." msgstr "Това ръководство документира функционалността през менютата." -#: gedit.xml:325(title) +#: pluma.xml:325(title) msgid "To Open a File" msgstr "Отваряне на файл" -#: gedit.xml:326(para) +#: pluma.xml:326(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "За да отворите файл, изберете ФайлОтваряне, за да се покаже " "прозорецът Отваряне на файл. Изберете файла, който " "искате да отворите и после натиснете Отваряне. Файлът " -"се показва в прозореца на gedit." +"се показва в прозореца на pluma." -#: gedit.xml:327(para) +#: pluma.xml:327(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application displays one file at a time in the application window. The " "application adds a tab for each open file to the window. To display another " "open file, click on the tab that corresponds to the file. To create a new " -" gedit window for each file that is open, drag " +" pluma window for each file that is open, drag " "the tab corresponding to each file to the desktop background." msgstr "" -"Може да отворите множество файлове в gedit. " +"Може да отворите множество файлове в pluma. " "Програмата показва един файл наведнъж в прозорец. Добавя се подпрозорец за " "всеки отворен файл. За да се покаже друг файл, просто изберете неговия " -"подпрозорец. За да се създаде нов прозорец на geditpluma за всеки отворен файл, изтеглете съответния подпрозорец към " "фона на работния плот." -#: gedit.xml:328(para) +#: pluma.xml:328(para) msgid "" "You can also use the Documents menu to move between the " "open files. You can choose DocumentsMove to New Window to move a " -"document to a new gedit window." +"document to a new pluma window." msgstr "" "Може също да използвате менюто Документи, за да се " "придвижвате между отворените файлове. Може да изберете " "ДокументиПреместване в нов " "прозорец, за да преместите документ към нов " -"прозорец на gedit." +"прозорец на pluma." -#: gedit.xml:330(phrase) +#: pluma.xml:330(phrase) msgid "Shows Recent Files menu icon." msgstr "Показва иконата в менюто за скорошните файлове" -#: gedit.xml:330(para) +#: pluma.xml:330(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -651,75 +651,75 @@ msgstr "" "guimenu>. Може да натиснете иконата от лентата " "с инструменти, за да видите списъка с последните файлове." -#: gedit.xml:334(title) +#: pluma.xml:334(title) msgid "To Open Multiple Files from a Command Line" msgstr "Отваряне на множество файлове от командния ред" -#: gedit.xml:335(para) +#: pluma.xml:335(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Може да стартирате gedit от командния ред и да " +"Може да стартирате pluma от командния ред и да " "отворите един или много файлове. За да отворите много файлове от командния " "ред, въведете следната команда и после натиснете Enter:" -#: gedit.xml:336(replaceable) +#: pluma.xml:336(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: gedit.xml:336(command) -msgid "gedit " -msgstr "gedit " +#: pluma.xml:336(command) +msgid "pluma " +msgstr "pluma " -#: gedit.xml:337(para) +#: pluma.xml:337(para) msgid "" "When the application starts, the files that you specify are displayed in the " -"gedit window." +"pluma window." msgstr "" "Когато програмата се стартира, файловете, които сте определили се появяват в " -"прозореца на gedit." +"прозореца на pluma." -#: gedit.xml:338(para) +#: pluma.xml:338(para) msgid "" -"For more information on how to run gedit from a " -"command line, see gedit1pluma from a " +"command line, see pluma1." msgstr "" -"За повече информация относно как да стартирате gedit от командния ред, вижте gedit1pluma от командния ред, вижте pluma1." -#: gedit.xml:343(title) +#: pluma.xml:343(title) msgid "Usage" msgstr "Употреба" -#: gedit.xml:347(title) +#: pluma.xml:347(title) msgid "To Create a New File" msgstr "Създаване на нов текстов файл" -#: gedit.xml:348(para) +#: pluma.xml:348(para) msgid "" "To create a new file, choose FileNew. The application " -"displays a new file in the gedit window." +"displays a new file in the pluma window." msgstr "" "За да създадете нов файл, изберете ФайлНов. Програмата показва нов " "файл в прозореца си." -#: gedit.xml:352(title) +#: pluma.xml:352(title) msgid "To Save a File" msgstr "Запазване на файл" -#: gedit.xml:353(para) +#: pluma.xml:353(para) msgid "You can save files in the following ways:" msgstr "Може да запазвате файлове по следните начини:" -#: gedit.xml:355(para) +#: pluma.xml:355(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -728,7 +728,7 @@ msgstr "" "ФайлЗапазване." -#: gedit.xml:357(para) +#: pluma.xml:357(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsЗапазване като и после натиснете Запазване." -#: gedit.xml:359(para) +#: pluma.xml:359(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"За да запазите всички файлове, които са отворени в geditpluma, изберете ДокументиЗапазване на всички." -#: gedit.xml:362(para) +#: pluma.xml:362(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"За да затворите всички файлове, които са отворени в geditpluma, изберете ДокументиЗатваряне на всички." -#: gedit.xml:366(title) +#: pluma.xml:366(title) msgid "To Edit Text" msgstr "Редактиране на текст" -#: gedit.xml:367(para) +#: pluma.xml:367(para) msgid "You can edit the text of a file in the following ways:" msgstr "Може да редактирате текста във файл по следните начини:" -#: gedit.xml:369(para) +#: pluma.xml:369(para) msgid "Type new text from the keyboard." msgstr "Въведете нов текст чрез клавиатурата." -#: gedit.xml:371(para) +#: pluma.xml:371(para) msgid "" "To copy the selected text to a buffer, choose EditCopy." @@ -782,7 +782,7 @@ msgstr "" "РедактиранеКопиране." -#: gedit.xml:373(para) +#: pluma.xml:373(para) msgid "" "To delete the selected text from the file and move the selected text to a " "buffer, choose EditCutРедактиранеИзрязване." -#: gedit.xml:375(para) +#: pluma.xml:375(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteРедактиранеИзтриване." -#: gedit.xml:377(para) +#: pluma.xml:377(para) msgid "" "To insert the contents of the buffer at the cursor position, choose " "EditPaste. Трябва да изрежете или копирате текст, преди да " "може да го поставяте в някъде." -#: gedit.xml:379(para) +#: pluma.xml:379(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -823,17 +823,17 @@ msgstr "" "РедактиранеИзбор на всичко." -#: gedit.xml:385(title) +#: pluma.xml:385(title) msgid "To Undo or Redo Edits" msgstr "Отмяна и повтаряне на редакции" -#: gedit.xml:386(para) +#: pluma.xml:386(para) msgid "" "To undo an edit, choose EditUndo. To redo an edit, " "choose EditRedo. The number of previous edits that you can undo is determined by " -"the Undo limit setting in the Undo limit setting in the tabbed section of the Preferences " "dialog." msgstr "" @@ -842,18 +842,18 @@ msgstr "" "редакция, изберете РедактиранеПовтаряне. Броят на " "предишните редакции, които може да отмените се определя от ограниченията за " -"Отмяна настроени в раздела Отмяна настроени в раздела на настройките." -#: gedit.xml:390(title) +#: pluma.xml:390(title) msgid "To Find Text" msgstr "Търсене на текст" -#: gedit.xml:391(para) +#: pluma.xml:391(para) msgid "To search a file for a string, perform the following steps:" msgstr "За да търсите низ във файл, следвайте следните стъпки:" -#: gedit.xml:393(para) +#: pluma.xml:393(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -862,7 +862,7 @@ msgstr "" "guimenuitem>, за да се появи прозорецът за Търсене." -#: gedit.xml:395(para) gedit.xml:435(para) +#: pluma.xml:395(para) pluma.xml:435(para) msgid "" "Type the string that you want to find, in the Search for field." @@ -870,37 +870,37 @@ msgstr "" "Въведете низа, който искате да откриете в полето Търсене за." -#: gedit.xml:396(para) gedit.xml:436(para) +#: pluma.xml:396(para) pluma.xml:436(para) msgid "You can include the following escape sequences:" msgstr "Може да включите следните изходни последователности:" -#: gedit.xml:399(literal) gedit.xml:439(literal) +#: pluma.xml:399(literal) pluma.xml:439(literal) msgid "\\n" msgstr "\\n" -#: gedit.xml:400(para) gedit.xml:440(para) +#: pluma.xml:400(para) pluma.xml:440(para) msgid "Use this escape sequence to specify a new line." msgstr "Определя нов ред." -#: gedit.xml:403(literal) gedit.xml:443(literal) +#: pluma.xml:403(literal) pluma.xml:443(literal) msgid "\\t" msgstr "\\t" -#: gedit.xml:404(para) gedit.xml:444(para) +#: pluma.xml:404(para) pluma.xml:444(para) msgid "Use this escape sequence to specify a tab character." msgstr "Определя табулация." -#: gedit.xml:407(literal) gedit.xml:447(literal) +#: pluma.xml:407(literal) pluma.xml:447(literal) msgid "\\r" msgstr "\\r" -#: gedit.xml:408(para) gedit.xml:448(para) +#: pluma.xml:408(para) pluma.xml:448(para) msgid "Use this escape sequence to specify a carriage return." msgstr "" "Използване на тази екранираща последователност за въвеждане на знак за нов " "ред (carriage return)." -#: gedit.xml:412(para) +#: pluma.xml:412(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type." @@ -909,7 +909,7 @@ msgstr "" "откриват само съвпадения, които отговарят на регистъра на текста, който сте " "въвели за търсене." -#: gedit.xml:414(para) gedit.xml:456(para) +#: pluma.xml:414(para) pluma.xml:456(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -918,7 +918,7 @@ msgstr "" "Изберете опцията Ако съвпада само с цяла дума, за да се " "откриват съвпадение на низа, които са цели думи в текста." -#: gedit.xml:416(para) gedit.xml:458(para) +#: pluma.xml:416(para) pluma.xml:458(para) msgid "" "Select the Search backwards option to search backwards " "to the beginning of the file." @@ -926,7 +926,7 @@ msgstr "" "Изберете опцията Търсене на обратно, за да търсите " "назад към началото на файла." -#: gedit.xml:418(para) gedit.xml:460(para) +#: pluma.xml:418(para) pluma.xml:460(para) msgid "" "Select the Wrap around option to search to one end of " "the file and then continue the search from the other end of the file." @@ -935,18 +935,18 @@ msgstr "" "единия край на файла и после да се продължава търсенето от другия край на " "файла." -#: gedit.xml:420(para) gedit.xml:462(para) +#: pluma.xml:420(para) pluma.xml:462(para) msgid "" "Click Find to search the file for the first " -"occurrence of the string. If gedit finds the " +"occurrence of the string. If pluma finds the " "string, the application moves the cursor to the string, and selects the " "string." msgstr "" "Натиснете Търсене, за да претърсите файла за първото " -"срещане на низа. Ако gedit намери низа, " +"срещане на низа. Ако pluma намери низа, " "програмата премества курсора към него и го избира." -#: gedit.xml:422(para) +#: pluma.xml:422(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextТърсенеНамиране на предишен." -#: gedit.xml:424(para) gedit.xml:468(para) +#: pluma.xml:424(para) pluma.xml:468(para) msgid "To finish the search, click Close." msgstr "" "За да приключите търсенето, натиснете Затваряне." -#: gedit.xml:430(title) +#: pluma.xml:430(title) msgid "To Find and Replace Text" msgstr "Търсене и замяна на текст" -#: gedit.xml:431(para) +#: pluma.xml:431(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -978,7 +978,7 @@ msgstr "" "За да претърсите файл за даден низ и да замените низа с друг низ, следвайте " "следните стъпки:" -#: gedit.xml:433(para) +#: pluma.xml:433(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -987,7 +987,7 @@ msgstr "" "guimenuitem>, за да се появи прозорецът Замяна." -#: gedit.xml:452(para) +#: pluma.xml:452(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -995,7 +995,7 @@ msgstr "" "Въведете низа, който искате да използвате да замени низа, който търсите, в " "полето Замяна с." -#: gedit.xml:454(para) +#: pluma.xml:454(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you enter." @@ -1004,7 +1004,7 @@ msgstr "" "откриват само съвпадения, които отговарят на регистъра на текста, който сте " "въвели за търсене." -#: gedit.xml:464(para) +#: pluma.xml:464(para) msgid "" "Click Replace to replace the occurrence of the string " "with the text in the Replace with field. Click " @@ -1014,18 +1014,18 @@ msgstr "" "от полето Замяна с. Натиснете Замяна на " "всички, за да замените всички съвпадения с въведения низ." -#: gedit.xml:466(para) +#: pluma.xml:466(para) msgid "" "To find the next occurrence of the string, click Find." msgstr "" "За да откриете следващото срещане на низа, натиснете Търсене." -#: gedit.xml:474(title) +#: pluma.xml:474(title) msgid "To Open a File from a URI" msgstr "Отваряне на файл от адрес (URI)" -#: gedit.xml:475(para) +#: pluma.xml:475(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -1033,7 +1033,7 @@ msgstr "" "За да отворите файл през Uniform Resource Identifier (URI), следвайте " "следните стъпки:" -#: gedit.xml:478(para) +#: pluma.xml:478(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -1043,11 +1043,11 @@ msgstr "" "местоположение, за да се появи прозорецът за " "Отваряне на местоположение." -#: gedit.xml:481(para) +#: pluma.xml:481(para) msgid "Enter the URI of the file that you want to open." msgstr "Въведете адреса на файла, който искате да отворите." -#: gedit.xml:484(para) +#: pluma.xml:484(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -1055,71 +1055,71 @@ msgstr "" "Използвайте падащото меню Кодиране на символите, за да " "изберете подходящата кодова таблица." -#: gedit.xml:487(para) +#: pluma.xml:487(para) msgid "Click Open." msgstr "Натиснете Отваряне." -#: gedit.xml:490(para) +#: pluma.xml:490(para) msgid "" -"Alternatively, type gedit URI " +"Alternatively, type pluma URI " "at a command line, where URI is the URI of the " "file that you want to open, then press Return. Valid types " "of URI include http:, " "ftp:, file:, and all of the methods " "supported by mate-vfs." msgstr "" -"Или просто въведете в командния ред gedit URIpluma URI, където URI е адресът на " "файла, който искате да отворите. После натиснете Enter. " "Валидни видове URI са http:, " "ftp:, file: и всички методи поддържани " "от mate-vfs." -#: gedit.xml:491(para) +#: pluma.xml:491(para) msgid "The application opens the file located at the URI in read-only mode." msgstr "" "Програмата отваря файла, който се намира на адреса, в режим само за четене." -#: gedit.xml:495(title) +#: pluma.xml:495(title) msgid "To Pipe the Output of a Command to a File" msgstr "Извеждане на изходните съобщения на команда към файл" -#: gedit.xml:496(para) +#: pluma.xml:496(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Може да използвате gedit, за да пренасочите " +"Може да използвате pluma, за да пренасочите " "изходните съобщения на команда към текстов файл. Например, за да запишете " "изхода на командата ls в текстов файл, изпълнете " -"командата ls | gedit." +"командата ls | pluma." -#: gedit.xml:497(para) +#: pluma.xml:497(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Изходните съобщения на командата ls се появяват в нов " -"текстов файл в прозореца на gedit." +"текстов файл в прозореца на pluma." -#: gedit.xml:498(para) +#: pluma.xml:498(para) msgid "" "Alternatively, you can use the Shell command plugin to pipe command output " "to the current file. For information about how to use the Shell command " -"plugin, see ." +"plugin, see ." msgstr "" "Можете също да използвате приставката за командната обвивка, за да " "пренасочвате изходни съобщения към текущия файл. За информация относно как " -"да използвате тази приставка, вижте ." -#: gedit.xml:502(title) +#: pluma.xml:502(title) msgid "To Position the Cursor on a Specific Line" msgstr "Поставяне на курсора на определен ред" -#: gedit.xml:503(para) +#: pluma.xml:503(para) msgid "" "To position the cursor on a specific line in the current file, perform the " "following steps:" @@ -1127,7 +1127,7 @@ msgstr "" "За да поставите курсора на определен ред в текущия файл, извършете следните " "действия:" -#: gedit.xml:505(para) +#: pluma.xml:505(para) msgid "" "Choose SearchGo to Line to display the Go to Line " @@ -1137,7 +1137,7 @@ msgstr "" "guimenuitem>, за да се покаже прозореца Отиване на " "ред." -#: gedit.xml:507(para) +#: pluma.xml:507(para) msgid "" "Type the number of the line that you want to move the cursor to in the " "Line number field." @@ -1145,7 +1145,7 @@ msgstr "" "Въведете номера на реда, където искате да преместите курсора, в полето " "Номер на ред." -#: gedit.xml:509(para) +#: pluma.xml:509(para) msgid "" "Click Go to Line. The application moves the cursor to " "the line number that you specify." @@ -1153,7 +1153,7 @@ msgstr "" "Натиснете Отиване на ред. Програмата премества " "курсора към реда с дадения номер." -#: gedit.xml:511(para) +#: pluma.xml:511(para) msgid "" "To close the Go to Line dialog, click Close." @@ -1161,11 +1161,11 @@ msgstr "" "За да затворите прозореца Отиване на ред, натиснете " "Затваряне." -#: gedit.xml:517(title) +#: pluma.xml:517(title) msgid "To Set the Page Options" msgstr "Настройване на страницата" -#: gedit.xml:519(para) +#: pluma.xml:519(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1175,7 +1175,7 @@ msgstr "" "guimenu>Настройки на страницата, за " "да се появи прозорецът за Настройки на страницата." -#: gedit.xml:521(para) +#: pluma.xml:521(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1183,28 +1183,28 @@ msgstr "" "Прозорецът Настройки на страницата Ви позволява да " "определите следните опции за разпечатването:" -#: gedit.xml:524(title) +#: pluma.xml:524(title) msgid "General Tabbed Section" msgstr "Раздел \"Главни\"" -#: gedit.xml:526(guilabel) +#: pluma.xml:526(guilabel) msgid "Print syntax highlighting" msgstr "Печатане на синтактично оцветен текст" -#: gedit.xml:528(para) +#: pluma.xml:528(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Изберете тази опция, за да се разпечатва осветяването на синтаксиса. За " "повече информация относно осветяването на синтаксиса, вижте ." +"\"pluma-set-highlightmode\"/>." -#: gedit.xml:531(guilabel) +#: pluma.xml:531(guilabel) msgid "Print page headers" msgstr "Печатане на колонтитулите" -#: gedit.xml:533(para) +#: pluma.xml:533(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1212,11 +1212,11 @@ msgstr "" "Изберете тази опция, за да включите колонтитули във всички страници, които " "разпечатвате. Не може да настроите колонтитула." -#: gedit.xml:536(guilabel) gedit.xml:877(guilabel) +#: pluma.xml:536(guilabel) pluma.xml:877(guilabel) msgid "Line Numbers" msgstr "Номера на редове" -#: gedit.xml:539(para) +#: pluma.xml:539(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1224,7 +1224,7 @@ msgstr "" "Изберете опцията Печатане на номера на редове, за да " "включите номерата на редовете, когато разпечатвате файл." -#: gedit.xml:540(para) +#: pluma.xml:540(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1234,11 +1234,11 @@ msgstr "" "определите колко често да се разпечатва номерацията, например на всеки пети " "ред." -#: gedit.xml:543(guilabel) gedit.xml:870(guilabel) +#: pluma.xml:543(guilabel) pluma.xml:870(guilabel) msgid "Text Wrapping" msgstr "Режим с пренасяне" -#: gedit.xml:545(para) +#: pluma.xml:545(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1249,7 +1249,7 @@ msgstr "" "Програмата брои пренесения ред като един ред, за целите на номерирането на " "страницата." -#: gedit.xml:547(para) +#: pluma.xml:547(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1257,15 +1257,15 @@ msgstr "" "Изберете опцията Без разделяне на думите на два реда, " "за да пренасяте текст само на ниво думи, при разпечатването на файл." -#: gedit.xml:555(title) +#: pluma.xml:555(title) msgid "Fonts" msgstr "Шрифтове" -#: gedit.xml:557(guilabel) +#: pluma.xml:557(guilabel) msgid "Body" msgstr "Тяло" -#: gedit.xml:559(para) +#: pluma.xml:559(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1273,21 +1273,21 @@ msgstr "" "Натиснете този бутон, за да изберете шрифта, който да се използва за " "разпечатване тялото на текстовия файл." -#: gedit.xml:562(guilabel) +#: pluma.xml:562(guilabel) msgid "Line numbers" msgstr "Номера на редове" -#: gedit.xml:565(para) +#: pluma.xml:565(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Натиснете този бутон, за да изберете шрифта, който да се използва за " "разпечатване на номерата на редовете." -#: gedit.xml:568(guilabel) +#: pluma.xml:568(guilabel) msgid "Headers and footers" msgstr "Горен и долен колонтитул" -#: gedit.xml:570(para) +#: pluma.xml:570(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1295,47 +1295,47 @@ msgstr "" "Натиснете този бутон, за да изберете шрифта, който да се използва за " "разпечатване на горния и долен колонтитул." -#: gedit.xml:574(para) +#: pluma.xml:574(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "За върнете шрифтовете към стандартните за разпечатването на файл през " -"gedit, натиснете Възстановяване на " +"pluma, натиснете Възстановяване на " "шрифтовете по подразбиране." -#: gedit.xml:581(title) +#: pluma.xml:581(title) msgid "To Print a File" msgstr "Разпечатване на файл" -#: gedit.xml:582(para) +#: pluma.xml:582(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Може да използвате gedit, за да извършвате " +"Може да използвате pluma, за да извършвате " "следните операции по разпечатване:" -#: gedit.xml:584(para) +#: pluma.xml:584(para) msgid "Print a file to a printer." msgstr "Разпечатване на файл към принтер" -#: gedit.xml:586(para) +#: pluma.xml:586(para) msgid "Print the output of the print command to a file." msgstr "Разпечатване на изходните съобщения на командата print в ред." -#: gedit.xml:589(para) +#: pluma.xml:589(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Ако разпечатвате към файл, gedit изпраща " +"Ако разпечатвате към файл, pluma изпраща " "изходните съобщения за файла към предпечатен файлов формат. Най-често " "срещаните такива формати са PostScript и Portable Document Format (PDF)." -#: gedit.xml:591(para) +#: pluma.xml:591(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewФайлПреглед на документ." -#: gedit.xml:593(para) +#: pluma.xml:593(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintФайлПечат. Ще се покаже прозорецът Печат." -#: gedit.xml:595(para) +#: pluma.xml:595(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1363,34 +1363,34 @@ msgstr "" "Прозорецът Печат Ви позволява да определяте следните " "опции за печат:" -#: gedit.xml:598(title) +#: pluma.xml:598(title) msgid "Job Tabbed Section" msgstr "Раздел \"Задача\"" -#: gedit.xml:600(guilabel) +#: pluma.xml:600(guilabel) msgid "Print range" msgstr "Обхват на печата" -#: gedit.xml:602(para) +#: pluma.xml:602(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Изберете една от следните опции, за да определите колко страници да се " "разпечатат:" -#: gedit.xml:605(guilabel) +#: pluma.xml:605(guilabel) msgid "All" msgstr "Всичко" -#: gedit.xml:606(para) +#: pluma.xml:606(para) msgid "Select this option to print all of the pages in the file." msgstr "Изберете тази опция, за да разпечатате всички страници на файла." -#: gedit.xml:609(guilabel) +#: pluma.xml:609(guilabel) msgid "Lines" msgstr "Редове" -#: gedit.xml:610(para) +#: pluma.xml:610(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1400,11 +1400,11 @@ msgstr "" "полетата От и До, за да определите " "обхвата." -#: gedit.xml:613(guilabel) +#: pluma.xml:613(guilabel) msgid "Selection" msgstr "Избраното" -#: gedit.xml:614(para) +#: pluma.xml:614(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1412,11 +1412,11 @@ msgstr "" "Изберете тази опция, за да разпечатате само избрания текст. Тази опция е " "налична само, ако сте избрали текст." -#: gedit.xml:620(guilabel) +#: pluma.xml:620(guilabel) msgid "Copies" msgstr "Копия" -#: gedit.xml:622(para) +#: pluma.xml:622(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1424,7 +1424,7 @@ msgstr "" "Използвайте полето Брой разпечатки, за да определите " "броя на копията на файла, които искате да разпечатате." -#: gedit.xml:623(para) +#: pluma.xml:623(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1432,15 +1432,15 @@ msgstr "" "Ако печатате множество копия на файла, изберете опцията Подредба, за да подредите разпечатаните копия." -#: gedit.xml:630(title) +#: pluma.xml:630(title) msgid "Printer Tabbed Section" msgstr "Раздел \"Принтер\"" -#: gedit.xml:632(guilabel) +#: pluma.xml:632(guilabel) msgid "Printer" msgstr "Принтер" -#: gedit.xml:634(para) +#: pluma.xml:634(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1448,15 +1448,15 @@ msgstr "" "Използвайте падащия списък, за да изберете с кой принтер да се разпечата " "файла." -#: gedit.xml:637(guilabel) +#: pluma.xml:637(guilabel) msgid "Settings" msgstr "Настройки" -#: gedit.xml:639(para) +#: pluma.xml:639(para) msgid "Use this drop-down list to select the printer settings." msgstr "Използвайте падащия списък, за да изберете настройките на принтера." -#: gedit.xml:641(para) +#: pluma.xml:641(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1466,26 +1466,26 @@ msgstr "" "Например, може да включите или изключите двустранно разпечатване или да " "насрочите разпечатване, ако тази функционалност е поддържана от принтера." -#: gedit.xml:645(guilabel) +#: pluma.xml:645(guilabel) msgid "Location" msgstr "Местоположение" -#: gedit.xml:647(para) +#: pluma.xml:647(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Използвайте падащия списък, за да изберете едно от следните местоположения " "за разпечатване:" -#: gedit.xml:652(guilabel) +#: pluma.xml:652(guilabel) msgid "CUPS" msgstr "CUPS" -#: gedit.xml:654(para) +#: pluma.xml:654(para) msgid "Print the file to a CUPS printer." msgstr "Разпечатва файла към CUPS принтер." -#: gedit.xml:658(para) +#: pluma.xml:658(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1493,23 +1493,23 @@ msgstr "" "Ако избраният принтер е принтер на CUPS, CUPS e " "единствения запис в този списък." -#: gedit.xml:665(guilabel) +#: pluma.xml:665(guilabel) msgid "lpr" msgstr "lpr" -#: gedit.xml:667(para) +#: pluma.xml:667(para) msgid "Print the file to a printer." msgstr "Разпечатване на файл към принтер." -#: gedit.xml:673(guilabel) +#: pluma.xml:673(guilabel) msgid "File" msgstr "Файл" -#: gedit.xml:675(para) +#: pluma.xml:675(para) msgid "Print the file to a PostScript file." msgstr "Разпечатва файла в PostScript файл." -#: gedit.xml:678(para) +#: pluma.xml:678(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1517,15 +1517,15 @@ msgstr "" "Натиснете Запазване като, за да се появи прозорецът, " "където определяте името и местоположението на PostScript файла." -#: gedit.xml:684(guilabel) +#: pluma.xml:684(guilabel) msgid "Custom" msgstr "Личен" -#: gedit.xml:686(para) +#: pluma.xml:686(para) msgid "Use the specified command to print the file." msgstr "Използва определената команда, за да разпечата файла." -#: gedit.xml:689(para) +#: pluma.xml:689(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1533,31 +1533,31 @@ msgstr "" "Въведете името на командата в текстовото поле. Включете всички командни " "аргументи." -#: gedit.xml:697(guilabel) +#: pluma.xml:697(guilabel) msgid "State" msgstr "Състояние" -#: gedit.xml:699(para) gedit.xml:705(para) gedit.xml:711(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Тази функционалност не се поддържа в тази версия на gedit." +#: pluma.xml:699(para) pluma.xml:705(para) pluma.xml:711(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Тази функционалност не се поддържа в тази версия на pluma." -#: gedit.xml:703(guilabel) +#: pluma.xml:703(guilabel) msgid "Type" msgstr "Вид" -#: gedit.xml:709(guilabel) +#: pluma.xml:709(guilabel) msgid "Comment" msgstr "Коментар" -#: gedit.xml:719(title) +#: pluma.xml:719(title) msgid "Paper Tabbed Section" msgstr "Раздел \"Хартия\"" -#: gedit.xml:721(guilabel) +#: pluma.xml:721(guilabel) msgid "Paper size" msgstr "Размер на хартията" -#: gedit.xml:723(para) +#: pluma.xml:723(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1565,11 +1565,11 @@ msgstr "" "Използвайте този падащ списък, за да изберете размера на хартията, на която " "искате да разпечате файла." -#: gedit.xml:726(guilabel) +#: pluma.xml:726(guilabel) msgid "Width" msgstr "Ширина" -#: gedit.xml:728(para) +#: pluma.xml:728(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1577,39 +1577,39 @@ msgstr "" "Използвайте това поле, за да определите ширината на хартията. Използвайте " "близките падащи списъци, за да промените мерната единица." -#: gedit.xml:731(guilabel) +#: pluma.xml:731(guilabel) msgid "Height" msgstr "Височина" -#: gedit.xml:733(para) +#: pluma.xml:733(para) msgid "Use this spin box to specify the height of the paper." msgstr "Използвайте това поле, за да определите височината на хартията." -#: gedit.xml:736(guilabel) +#: pluma.xml:736(guilabel) msgid "Feed orientation" msgstr "Ориентация на листоподаването" -#: gedit.xml:738(para) +#: pluma.xml:738(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "" "Използвайте това поле, за да изберете ориентацията на хартията в принтера." -#: gedit.xml:741(guilabel) +#: pluma.xml:741(guilabel) msgid "Page orientation" msgstr "Ориентация на страницата" -#: gedit.xml:743(para) +#: pluma.xml:743(para) msgid "Use this drop-down list to select the page orientation." msgstr "" "Използвайте този падащ списък, за да изберете ориентация на страницата." -#: gedit.xml:746(guilabel) +#: pluma.xml:746(guilabel) msgid "Layout" msgstr "Оформление" -#: gedit.xml:748(para) +#: pluma.xml:748(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1617,67 +1617,67 @@ msgstr "" "Използвайте този падащ списък за изберете подредба на страницата. В района " "на преглед се показва преглед на всяка подредба, която бъде избрана." -#: gedit.xml:751(guilabel) +#: pluma.xml:751(guilabel) msgid "Paper tray" msgstr "Контейнер за хартията" -#: gedit.xml:753(para) +#: pluma.xml:753(para) msgid "Use this drop-down list to select the paper tray." msgstr "Използвайте този падащ списък, за да изберете контейнера за хартия." -#: gedit.xml:762(title) +#: pluma.xml:762(title) msgid "To Customize the Toolbar" msgstr "Персонализиране на лентата с инструменти" -#: gedit.xml:763(para) +#: pluma.xml:763(para) msgid "" "To display or hide the toolbar, choose ViewToolbar. To customize how " -"gedit displays the toolbar, choose " +"pluma displays the toolbar, choose " "ViewCustomize Toolbar, then select one of the following menu items:" msgstr "" "За да се показва и скрива лентата с инструменти, изберете " "ИзгледЛента с инструменти. За да персонализирате как gedit. За да персонализирате как pluma показва лентата с инструменти, изберете " "ИзгледНастройки не лентата с " "инструменти и после изберете един от следните " "елементи за менюто:" -#: gedit.xml:766(guimenuitem) +#: pluma.xml:766(guimenuitem) msgid "Desktop Default" msgstr "По подразбиране за работната среда" -#: gedit.xml:767(para) +#: pluma.xml:767(para) msgid "Display the default toolbar." msgstr "Показване на стандартната лента с инструменти" -#: gedit.xml:770(guimenuitem) +#: pluma.xml:770(guimenuitem) msgid "Icons Only" msgstr "Само икони" -#: gedit.xml:771(para) +#: pluma.xml:771(para) msgid "Display icons only." msgstr "Показва само икони." -#: gedit.xml:774(guimenuitem) +#: pluma.xml:774(guimenuitem) msgid "Text for All Icons" msgstr "Текст за всички икони" -#: gedit.xml:775(para) +#: pluma.xml:775(para) msgid "Display icons, and display text for all icons." msgstr "Показва икони ипоказва текста за всички икони." -#: gedit.xml:778(guimenuitem) +#: pluma.xml:778(guimenuitem) msgid "Text for Important Icons" msgstr "Текст за важни икони" -#: gedit.xml:779(para) +#: pluma.xml:779(para) msgid "Display icons, and display text for the important icons." msgstr "Показва икони и показва текст за важните икони." -#: gedit.xml:782(para) +#: pluma.xml:782(para) msgid "" "To display or hide the output window, choose ViewOutput Window." @@ -1686,11 +1686,11 @@ msgstr "" "ИзгледИзходни съобщения." -#: gedit.xml:787(title) +#: pluma.xml:787(title) msgid "To Set the Syntax Highlighting Mode" msgstr "Настройване на режима с осветяване" -#: gedit.xml:788(para) +#: pluma.xml:788(para) msgid "" "To set the syntax highlighting mode, choose ViewHighlight Mode, then select " @@ -1700,19 +1700,19 @@ msgstr "" "guimenu>Режим на осветяване и после " "изберете едно от следните:" -#: gedit.xml:791(guimenuitem) +#: pluma.xml:791(guimenuitem) msgid "Normal" msgstr "Нормален" -#: gedit.xml:793(para) +#: pluma.xml:793(para) msgid "Do not display any syntax highlighting." msgstr "Да не се показва синтактично осветяване" -#: gedit.xml:797(guisubmenu) +#: pluma.xml:797(guisubmenu) msgid "Sources" msgstr "Източници" -#: gedit.xml:799(para) +#: pluma.xml:799(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1721,11 +1721,11 @@ msgstr "" "подменюто Източници, за да изберете вида изходен " "код." -#: gedit.xml:803(guisubmenu) +#: pluma.xml:803(guisubmenu) msgid "Markup" msgstr "Маркиране" -#: gedit.xml:805(para) +#: pluma.xml:805(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1734,11 +1734,11 @@ msgstr "" "Използвайте подменюто Маркиране, за да изберете " "вида на кода." -#: gedit.xml:809(guisubmenu) +#: pluma.xml:809(guisubmenu) msgid "Scripts" msgstr "Скриптове" -#: gedit.xml:811(para) +#: pluma.xml:811(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1747,11 +1747,11 @@ msgstr "" "скриптове. Използвайте подменюто Скриптове, за да " "изберете вида на кода." -#: gedit.xml:815(guisubmenu) +#: pluma.xml:815(guisubmenu) msgid "Others" msgstr "Други" -#: gedit.xml:817(para) +#: pluma.xml:817(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1760,65 +1760,65 @@ msgstr "" "Използвайте подменюто Други, за да изберете вида на " "кода." -#: gedit.xml:821(para) +#: pluma.xml:821(para) msgid "" "For more information about how to configure syntax highlighting, see ." +"linkend=\"pluma-prefs-syntax\"/>." msgstr "" "За повече информация относно как да конфигурирате осветяването на " -"синтаксиса, вижте ." +"синтаксиса, вижте ." -#: gedit.xml:828(title) +#: pluma.xml:828(title) msgid "Preferences" msgstr "Настройки" -#: gedit.xml:830(para) +#: pluma.xml:830(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"За да настроите gedit, изберете " +"За да настроите pluma, изберете " "РедактиранеНастройки. Прозорецът Настройки съдържа " "следните категории:" -#: gedit.xml:840(title) +#: pluma.xml:840(title) msgid "Editor" msgstr "Редактор" -#: gedit.xml:842(guilabel) +#: pluma.xml:842(guilabel) msgid "Tabs" msgstr "Табулация" -#: gedit.xml:844(para) +#: pluma.xml:844(para) msgid "" "Use the Tabs width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Използвайте полето за полето за Ширина на табулацията, " "за да определите ширината на празното пространство, което " -"gedit вмъква, когато натиснете клавиша " +"pluma вмъква, когато натиснете клавиша " "Tab." -#: gedit.xml:845(para) +#: pluma.xml:845(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Изберете опцията Вмъкване на интервали вместо табулации, за да определите gedit да вмъква " +"guilabel>, за да определите pluma да вмъква " "интервали, вместо символ за табулации, при натискане на клавиша Tab." -#: gedit.xml:848(guilabel) +#: pluma.xml:848(guilabel) msgid "Auto Indentation" msgstr "Автоматичен отстъп" -#: gedit.xml:849(para) +#: pluma.xml:849(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -1827,11 +1827,11 @@ msgstr "" "определите, че следващият ред започва на същото вдадено ниво, както и " "текущия ред." -#: gedit.xml:852(guilabel) +#: pluma.xml:852(guilabel) msgid "File Saving" msgstr "Запазване на файлове" -#: gedit.xml:854(para) +#: pluma.xml:854(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -1842,7 +1842,7 @@ msgstr "" "когато той се запазва. Резервното копие на файла има файлово име, завършващо " "с \"~\"." -#: gedit.xml:855(para) +#: pluma.xml:855(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -1852,11 +1852,11 @@ msgstr "" " минути, за да се запазва текущия файл на равни интервали. " "Използвайте полето, за да определите колко често да се запазва файла." -#: gedit.xml:858(guilabel) +#: pluma.xml:858(guilabel) msgid "Undo" msgstr "Отмяна" -#: gedit.xml:860(para) +#: pluma.xml:860(para) msgid "" "Select the Limit to ... actions option to set a limit " "on the number of editing actions that you can undo. Use the spin box to " @@ -1866,7 +1866,7 @@ msgstr "" "настроите броя на действия, които можете да отменяте. Използвайте полето, за " "да определите колко да е максималния брой действия, които да се пазят." -#: gedit.xml:861(para) +#: pluma.xml:861(para) msgid "" "Select the Unlimited undo option to set no limit on the " "number of editing actions that you can undo." @@ -1874,11 +1874,11 @@ msgstr "" "Изберете опцията Неограничени връщания назад, за да " "махнете ограничението на броя отмени, които може да правите по редакциите." -#: gedit.xml:868(title) gedit.xml:1195(guimenu) +#: pluma.xml:868(title) pluma.xml:1195(guimenu) msgid "View" msgstr "Изглед" -#: gedit.xml:872(para) +#: pluma.xml:872(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you reach the text window " @@ -1888,7 +1888,7 @@ msgstr "" "да пренасяте текста на следващия ред, на ниво символ, когато се достигне " "текстовата граница на прозореца." -#: gedit.xml:873(para) +#: pluma.xml:873(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you reach the text " @@ -1898,20 +1898,20 @@ msgstr "" "за да се пренася текста на следващия ред, на ниво дума, когато се достигне " "текстовата граница на прозореца." -#: gedit.xml:879(para) +#: pluma.xml:879(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Изберете опцията Показване на номера на редовете, за да " "се покажат номерата на редовете в лявата част на прозореца на " -"gedit." +"pluma." -#: gedit.xml:883(guilabel) +#: pluma.xml:883(guilabel) msgid "Right Margin" msgstr "Дясна граница" -#: gedit.xml:885(para) +#: pluma.xml:885(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -1919,7 +1919,7 @@ msgstr "" "Изберете опцията Показване на дясна граница, за да се " "показва вертикална линия, която да показва дясната граница." -#: gedit.xml:886(para) +#: pluma.xml:886(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -1927,68 +1927,68 @@ msgstr "" "Използвайте полето Дясна граница за колона, за да " "определите местоположението на вертикалната линия." -#: gedit.xml:893(title) +#: pluma.xml:893(title) msgid "Font & Colors" msgstr "Шрифт и цветове" -#: gedit.xml:895(guilabel) +#: pluma.xml:895(guilabel) msgid "Font" msgstr "Шрифт" -#: gedit.xml:897(para) +#: pluma.xml:897(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Изберете опцията Използване на шрифта на темата по подразбиране, за се използва системния шрифт за текста в прозореца на " -"gedit." +"pluma." -#: gedit.xml:898(para) +#: pluma.xml:898(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Полето Шрифт на редактора показва шрифта, който се " -"използва от gedit, за да се показва текст. " +"използва от pluma, за да се показва текст. " "Натиснете бутона, за да определите вида на шрифта, стила и размера му." -#: gedit.xml:901(guilabel) +#: pluma.xml:901(guilabel) msgid "Colors" msgstr "Цветове" -#: gedit.xml:903(para) +#: pluma.xml:903(para) msgid "" "Select the Use default theme colors option to use the " -"default theme colors in the gedit text window." +"default theme colors in the pluma text window." msgstr "" "Изберете опцията зползване на цветови теми по подразбиране, за да се използват стандартните цветове на темата в прозореца на " -"gedit." +"pluma." -#: gedit.xml:904(para) +#: pluma.xml:904(para) msgid "" "Click on the Normal text color color button to " "display the color selector dialog. Select a color to use to display normal " -"text in the gedit text window." +"text in the pluma text window." msgstr "" "Натиснете бутона Нормален цвят на текста, за да се " "покаже прозореца за избор на цвят. Изберете цвета, с който да се показва " -"нормалния текст в прозореца на gedit." +"нормалния текст в прозореца на pluma." -#: gedit.xml:905(para) +#: pluma.xml:905(para) msgid "" "Click on the Background color color button to display " "the color selector dialog. Select a background color for the " -"gedit text window." +"pluma text window." msgstr "" "Натиснете бутона Фонов цвят, за да се покаже " "прозореца за избор на цвят. Изберете фоновия цвят за текстовия прозорец на " -"gedit." +"pluma." -#: gedit.xml:906(para) +#: pluma.xml:906(para) msgid "" "Click on the Selected text color color button to " "display the color selector dialog. Select a color to use to display selected " @@ -1998,7 +1998,7 @@ msgstr "" "покаже прозореца за избор на цвят. Изберете цвят, който да се използва за " "избрания текст." -#: gedit.xml:908(para) +#: pluma.xml:908(para) msgid "" "Click on the Selection color color button to display " "the color selector dialog. Select a background color to use to highlight a " @@ -2008,44 +2008,44 @@ msgstr "" "прозореца за избор на цвят. Изберете фоновия цвят, който да се използва при " "маркирането на текст." -#: gedit.xml:915(title) +#: pluma.xml:915(title) msgid "Syntax Highlighting" msgstr "Отбелязване на синтаксиса" -#: gedit.xml:917(guilabel) +#: pluma.xml:917(guilabel) msgid "Enable syntax highlighting" msgstr "Включване на отбелязването на синтаксиса" -#: gedit.xml:919(para) +#: pluma.xml:919(para) msgid "Select this option to highlight the syntax of the text that you edit." msgstr "" "Изберете тази опция, за се осветява синтаксиса на текста, който редактирате." -#: gedit.xml:922(guilabel) +#: pluma.xml:922(guilabel) msgid "Highlight mode" msgstr "Режим на отбелязване" -#: gedit.xml:924(para) +#: pluma.xml:924(para) msgid "Use this drop-down list to select a syntax mode to configure." msgstr "" "Използвайте падащия списък, за да изберете режим на синтаксиса, който да " "настроите." -#: gedit.xml:927(guilabel) +#: pluma.xml:927(guilabel) msgid "Elements" msgstr "Елементи" -#: gedit.xml:929(para) +#: pluma.xml:929(para) msgid "Use this list box to select a syntax element to configure." msgstr "" "Използвайте този списък, за да изберете синтаксисните елементи, които да " "настроите." -#: gedit.xml:932(term) +#: pluma.xml:932(term) msgid "Format buttons" msgstr "Бутони на форматирането" -#: gedit.xml:934(para) +#: pluma.xml:934(para) msgid "" "Use the following buttons to change the format of the selected syntax " "element:" @@ -2053,51 +2053,51 @@ msgstr "" "Използвайте следните бутони, за да променяте формата на избраните " "синтаксисни елементи:" -#: gedit.xml:942(para) +#: pluma.xml:942(para) msgid "Button" msgstr "Бутон" -#: gedit.xml:944(para) +#: pluma.xml:944(para) msgid "Format" msgstr "Формат" -#: gedit.xml:956(phrase) +#: pluma.xml:956(phrase) msgid "Shows icon for bold format." msgstr "Показва иконата за удебелен текст." -#: gedit.xml:962(para) +#: pluma.xml:962(para) msgid "Bold" msgstr "Удебелен" -#: gedit.xml:974(phrase) +#: pluma.xml:974(phrase) msgid "Shows icon for italic format." msgstr "Показва иконата за наклонен текст." -#: gedit.xml:980(para) +#: pluma.xml:980(para) msgid "Italic" msgstr "Наклонен" -#: gedit.xml:992(phrase) +#: pluma.xml:992(phrase) msgid "Shows icon for underline." msgstr "Показва иконата за подчертан текст." -#: gedit.xml:998(para) +#: pluma.xml:998(para) msgid "Underline" msgstr "Подчертан" -#: gedit.xml:1010(phrase) +#: pluma.xml:1010(phrase) msgid "Shows icon for strikethrough." msgstr "Показва иконата за зачеркнат текст." -#: gedit.xml:1016(para) +#: pluma.xml:1016(para) msgid "Strikethrough" msgstr "Зачеркнат" -#: gedit.xml:1026(guilabel) +#: pluma.xml:1026(guilabel) msgid "Foreground" msgstr "Текст" -#: gedit.xml:1028(para) +#: pluma.xml:1028(para) msgid "" "Select this option to change the font color of the selected syntax element. " "Click on the color button to display the color selector dialog, then select " @@ -2107,11 +2107,11 @@ msgstr "" "синтаксисен елемент. Натиснете бутона за цвета, за да се появи прозорец за " "избор на цвят и после изберете цвета на шрифта." -#: gedit.xml:1031(guilabel) +#: pluma.xml:1031(guilabel) msgid "Background" msgstr "Фон" -#: gedit.xml:1033(para) +#: pluma.xml:1033(para) msgid "" "Select this option to change the background color of the selected syntax " "element. Click on the color button to display the color selector dialog, " @@ -2121,11 +2121,11 @@ msgstr "" "елемент. Натиснете бутона за цвят, за да се появи прозореца за избор на цвят " "и после от него изберете цвета на фона." -#: gedit.xml:1036(guibutton) +#: pluma.xml:1036(guibutton) msgid "Reset to Default" msgstr "Връщане на стандартни настройки" -#: gedit.xml:1038(para) +#: pluma.xml:1038(para) msgid "" "Click on this button to reset the foreground color and background color of " "the selected syntax element to the default values." @@ -2133,59 +2133,59 @@ msgstr "" "Натиснете този бутон, за да се занулят цветовете за текста и за фона на " "избраните синтаксисни елементи, към стандартните стойности." -#: gedit.xml:1045(title) +#: pluma.xml:1045(title) msgid "Plugins" msgstr "Приставки" -#: gedit.xml:1046(para) +#: pluma.xml:1046(para) msgid "" "For information about how to use the Plugins category " -"of the Preferences dialog, see Preferences dialog, see ." msgstr "" "За информация относно как да се използва категорията Приставки от прозореца Настройки, вижте ." +"\"pluma-install-plugins\"/>." -#: gedit.xml:1052(title) +#: pluma.xml:1052(title) msgid "Working with Plugins" msgstr "Работа с приставки" -#: gedit.xml:1053(para) +#: pluma.xml:1053(para) msgid "" "A plugin is a supplementary program that enhances the functionality of an " -"application. The gedit plugins enable you to " +"application. The pluma plugins enable you to " "perform a variety of functions related to text editing from within the " -" gedit window. The following table lists the " -" gedit plugins." +" pluma window. The following table lists the " +" pluma plugins." msgstr "" "Приставката е допълнителна програма, която подобрява функционалността на " -"дадена програма. Приставките за gedit Ви " +"дадена програма. Приставките за pluma Ви " "позволяват да извършвате множество функции свързани с редактирането на текст " -"през gedit. Следната таблица изброява приставките " -"за gedit." +"през pluma. Следната таблица изброява приставките " +"за pluma." -#: gedit.xml:1060(para) gedit.xml:1135(para) +#: pluma.xml:1060(para) pluma.xml:1135(para) msgid "Plugin Name" msgstr "Име на приставка" -#: gedit.xml:1061(para) +#: pluma.xml:1061(para) msgid "Purpose" msgstr "Цел" -#: gedit.xml:1066(para) gedit.xml:1141(para) +#: pluma.xml:1066(para) pluma.xml:1141(para) msgid "ChangeCase" msgstr "Промяна на регистъра" -#: gedit.xml:1067(para) +#: pluma.xml:1067(para) msgid "Changes the case of the selected text." msgstr "Променя регистъра (малки/големи букви) на избрания текст." -#: gedit.xml:1070(para) gedit.xml:1156(para) gedit.xml:1158(guimenuitem) +#: pluma.xml:1070(para) pluma.xml:1156(para) pluma.xml:1158(guimenuitem) msgid "Document Statistics" msgstr "Статистика за документа" -#: gedit.xml:1071(para) +#: pluma.xml:1071(para) msgid "" "Counts the number of lines, words, characters with spaces, characters " "without spaces, and bytes in the current file. The plugin displays the " @@ -2195,61 +2195,61 @@ msgstr "" "байтове в текущия файл. Приставката показва резултатите в прозорец за " "Статистика за документа." -#: gedit.xml:1074(para) gedit.xml:1161(para) +#: pluma.xml:1074(para) pluma.xml:1161(para) msgid "Indent lines" msgstr "Отстъп надясно на редовете" -#: gedit.xml:1075(para) +#: pluma.xml:1075(para) msgid "" "Indents the selected lines, or removes the indentation from the selected " "lines." msgstr "" "Прави отстъп на избраните редове или премахва отстъпа от избраните редове." -#: gedit.xml:1078(para) gedit.xml:1168(para) +#: pluma.xml:1078(para) pluma.xml:1168(para) msgid "Insert Date/Time" msgstr "Вмъкване на дата/време" -#: gedit.xml:1079(para) +#: pluma.xml:1079(para) msgid "Inserts the current date and time into a file." msgstr "Вмъква текущата дата и време във файла." -#: gedit.xml:1082(para) gedit.xml:1173(para) +#: pluma.xml:1082(para) pluma.xml:1173(para) msgid "Shell command" msgstr "Команда от шел" -#: gedit.xml:1083(para) +#: pluma.xml:1083(para) msgid "Displays the text output of a shell command in the output window." msgstr "" "Показва текстовите изходни съобщения на команден ред в изходния прозорец." -#: gedit.xml:1086(para) gedit.xml:1178(para) gedit.xml:1180(guimenuitem) +#: pluma.xml:1086(para) pluma.xml:1178(para) pluma.xml:1180(guimenuitem) msgid "Sort" msgstr "Подреждане" -#: gedit.xml:1087(para) +#: pluma.xml:1087(para) msgid "Sorts the selected text." msgstr "Сортира избрания текст." -#: gedit.xml:1090(para) gedit.xml:1183(para) +#: pluma.xml:1090(para) pluma.xml:1183(para) msgid "Spell checker" msgstr "Проверка на правописа" -#: gedit.xml:1091(para) +#: pluma.xml:1091(para) msgid "" "Checks the spelling in the selected text. You can configure " -"gedit to check the spelling automatically, or you " +"pluma to check the spelling automatically, or you " "can check the spelling manually, in the specified language." msgstr "" -"Проверява правописа на избрания текст. Може да настроите geditpluma да проверява правописа автоматично или може да го проверявате " "ръчно." -#: gedit.xml:1095(para) gedit.xml:1194(para) +#: pluma.xml:1095(para) pluma.xml:1194(para) msgid "Tag list" msgstr "Списък с етикети" -#: gedit.xml:1096(para) +#: pluma.xml:1096(para) msgid "" "Displays a window that contains a list of common tags. You can use the " "window to insert a tag into a file." @@ -2257,15 +2257,15 @@ msgstr "" "Показва прозорец, който съдържа списък с често срещани етикети. Може да " "използвате прозореца, за да вмъквате етикети във файла." -#: gedit.xml:1099(para) gedit.xml:1199(para) +#: pluma.xml:1099(para) pluma.xml:1199(para) msgid "User name" msgstr "Име на потребител" -#: gedit.xml:1100(para) +#: pluma.xml:1100(para) msgid "Inserts the username of the current user into the file." msgstr "Вмъква потребителското име на текущия потребтел във файла." -#: gedit.xml:1105(para) +#: pluma.xml:1105(para) msgid "" "When you choose EditPreferences, the Plugins tabbed section " @@ -2275,33 +2275,33 @@ msgstr "" "guimenu>Настройки, раздела " "Приставки показва следната информация." -#: gedit.xml:1107(para) +#: pluma.xml:1107(para) msgid "A table that contains two columns:" msgstr "Таблица, която съдържа две колони:" -#: gedit.xml:1110(guilabel) +#: pluma.xml:1110(guilabel) msgid "Enabled" msgstr "Активен" -#: gedit.xml:1112(para) +#: pluma.xml:1112(para) msgid "Displays check boxes that you select to load the plugins." msgstr "" "Показва полета за отметки, които може да включвате, за да зареждате " "приставки." -#: gedit.xml:1116(guilabel) +#: pluma.xml:1116(guilabel) msgid "Plugin" msgstr "Приставка" -#: gedit.xml:1118(para) +#: pluma.xml:1118(para) msgid "" -"Displays a list of the plugins that you can use with geditpluma." msgstr "" -"Показва списък с приставките, които може да използвате с geditpluma." -#: gedit.xml:1123(para) +#: pluma.xml:1123(para) msgid "" "An About Plugin button: use this button to display a " "brief description of the selected plugin, including details about the author " @@ -2311,115 +2311,115 @@ msgstr "" "да се показва кратко описание на избраната приставка, включително информация " "относно автора й." -#: gedit.xml:1125(para) +#: pluma.xml:1125(para) msgid "" "A Configure Plugin button: use this button to open a " "configuration dialog for the selected plugin, if that plugin is " -"configurable. For example, see ." +"configurable. For example, see ." msgstr "" "Бутон Настройки на приставката: използвайте този " "бутон, за да се отвори прозорец за настройките на избраната приставка, ако " -"тя може да се настройва. Например, вижте ." -#: gedit.xml:1128(para) +#: pluma.xml:1128(para) msgid "" -"When you load a plugin, gedit adds the plugin to " -"the appropriate gedit menu, as described in the " +"When you load a plugin, pluma adds the plugin to " +"the appropriate pluma menu, as described in the " "following table." msgstr "" -"Когато заредите приставка, gedit я добавя към " +"Когато заредите приставка, pluma я добавя към " "съответното меню, както е описано в следната таблица." -#: gedit.xml:1136(para) +#: pluma.xml:1136(para) msgid "Added to Menu" msgstr "Добавена в меню" -#: gedit.xml:1142(guimenu) gedit.xml:1145(guimenu) gedit.xml:1148(guimenu) -#: gedit.xml:1151(guimenu) gedit.xml:1162(guimenu) gedit.xml:1164(guimenu) -#: gedit.xml:1169(guimenu) gedit.xml:1179(guimenu) gedit.xml:1200(guimenu) -#: gedit.xml:1271(guimenu) gedit.xml:1277(guimenu) gedit.xml:1283(guimenu) -#: gedit.xml:1289(guimenu) +#: pluma.xml:1142(guimenu) pluma.xml:1145(guimenu) pluma.xml:1148(guimenu) +#: pluma.xml:1151(guimenu) pluma.xml:1162(guimenu) pluma.xml:1164(guimenu) +#: pluma.xml:1169(guimenu) pluma.xml:1179(guimenu) pluma.xml:1200(guimenu) +#: pluma.xml:1271(guimenu) pluma.xml:1277(guimenu) pluma.xml:1283(guimenu) +#: pluma.xml:1289(guimenu) msgid "Edit" msgstr "Редактиране" -#: gedit.xml:1143(guisubmenu) gedit.xml:1146(guisubmenu) -#: gedit.xml:1149(guisubmenu) gedit.xml:1152(guisubmenu) -#: gedit.xml:1272(guisubmenu) gedit.xml:1278(guisubmenu) -#: gedit.xml:1284(guisubmenu) gedit.xml:1290(guisubmenu) +#: pluma.xml:1143(guisubmenu) pluma.xml:1146(guisubmenu) +#: pluma.xml:1149(guisubmenu) pluma.xml:1152(guisubmenu) +#: pluma.xml:1272(guisubmenu) pluma.xml:1278(guisubmenu) +#: pluma.xml:1284(guisubmenu) pluma.xml:1290(guisubmenu) msgid "Change Case" msgstr "Смяна на регистъра" -#: gedit.xml:1144(guimenuitem) gedit.xml:1272(guimenuitem) +#: pluma.xml:1144(guimenuitem) pluma.xml:1272(guimenuitem) msgid "All Upper Case" msgstr "Само големи букви" -#: gedit.xml:1147(guimenuitem) gedit.xml:1278(guimenuitem) +#: pluma.xml:1147(guimenuitem) pluma.xml:1278(guimenuitem) msgid "All Lower Case" msgstr "Само малки букви" -#: gedit.xml:1150(guimenuitem) gedit.xml:1284(guimenuitem) +#: pluma.xml:1150(guimenuitem) pluma.xml:1284(guimenuitem) msgid "Invert Case" msgstr "Обръщане на регистъра" -#: gedit.xml:1153(guimenuitem) gedit.xml:1290(guimenuitem) +#: pluma.xml:1153(guimenuitem) pluma.xml:1290(guimenuitem) msgid "Title Case" msgstr "Капитализация като заглавие" -#: gedit.xml:1157(guimenu) gedit.xml:1174(guimenu) gedit.xml:1185(guimenu) -#: gedit.xml:1187(guimenu) gedit.xml:1189(guimenu) +#: pluma.xml:1157(guimenu) pluma.xml:1174(guimenu) pluma.xml:1185(guimenu) +#: pluma.xml:1187(guimenu) pluma.xml:1189(guimenu) msgid "Tools" msgstr "Инструменти" -#: gedit.xml:1163(guimenuitem) +#: pluma.xml:1163(guimenuitem) msgid "Indent" msgstr "Отстъп надясно" -#: gedit.xml:1165(guimenuitem) +#: pluma.xml:1165(guimenuitem) msgid "Unindent" msgstr "Отстъп наляво" -#: gedit.xml:1170(guimenuitem) +#: pluma.xml:1170(guimenuitem) msgid "Insert Date and Time" msgstr "Вмъкване на дата и време" -#: gedit.xml:1175(guimenuitem) +#: pluma.xml:1175(guimenuitem) msgid "Run Command" msgstr "Изпълняване на команда" -#: gedit.xml:1186(guimenuitem) +#: pluma.xml:1186(guimenuitem) msgid "Check Spelling" msgstr "Проверка на правописа" -#: gedit.xml:1188(guimenuitem) +#: pluma.xml:1188(guimenuitem) msgid "Autocheck Spelling" msgstr "Автоматична проверка на правописа" -#: gedit.xml:1190(guimenuitem) +#: pluma.xml:1190(guimenuitem) msgid "Set Language" msgstr "Избор на език" -#: gedit.xml:1196(guimenuitem) +#: pluma.xml:1196(guimenuitem) msgid "Tag List" msgstr "Списък с етикети" -#: gedit.xml:1201(guimenuitem) +#: pluma.xml:1201(guimenuitem) msgid "Insert User Name" msgstr "Вмъкване на име на потребител" -#: gedit.xml:1208(title) -msgid "To Load a gedit Plugin" -msgstr "Зареждане на приставка за gedit" +#: pluma.xml:1208(title) +msgid "To Load a pluma Plugin" +msgstr "Зареждане на приставка за pluma" -#: gedit.xml:1209(para) +#: pluma.xml:1209(para) msgid "" -"To load a gedit plugin, perform the following " +"To load a pluma plugin, perform the following " "steps:" msgstr "" -"За да заредите приставка на gedit, следвайте " +"За да заредите приставка на pluma, следвайте " "следните стъпки:" -#: gedit.xml:1212(para) gedit.xml:1233(para) gedit.xml:1370(para) +#: pluma.xml:1212(para) pluma.xml:1233(para) pluma.xml:1370(para) msgid "" "Choose EditPreferences." @@ -2427,17 +2427,17 @@ msgstr "" "Изберете РедактиранеНастройки." -#: gedit.xml:1215(para) gedit.xml:1236(para) gedit.xml:1373(para) +#: pluma.xml:1215(para) pluma.xml:1236(para) pluma.xml:1373(para) msgid "Select the Plugins tab." msgstr "Изберете раздела Приставки." -#: gedit.xml:1218(para) +#: pluma.xml:1218(para) msgid "" "Select the check box next to the name of the plugin that you want to load." msgstr "" "Изберете полето за отметка до името на приставката, която искате да заредите." -#: gedit.xml:1221(para) gedit.xml:1242(para) +#: pluma.xml:1221(para) pluma.xml:1242(para) msgid "" "Click Close to close the Preferences dialog." @@ -2445,25 +2445,25 @@ msgstr "" "Натиснете Затваряне, за да затворите прозореца " "Настройки." -#: gedit.xml:1228(title) -msgid "To Remove a gedit Plugin" -msgstr "Премахване на приставка за gedit" +#: pluma.xml:1228(title) +msgid "To Remove a pluma Plugin" +msgstr "Премахване на приставка за pluma" -#: gedit.xml:1229(para) -msgid "A plugin remains loaded when you quit gedit." +#: pluma.xml:1229(para) +msgid "A plugin remains loaded when you quit pluma." msgstr "" -"Приставката остава заредена, когато затворите geditpluma." -#: gedit.xml:1230(para) +#: pluma.xml:1230(para) msgid "" -"To remove a gedit plugin, perform the following " +"To remove a pluma plugin, perform the following " "steps:" msgstr "" -"За да премахнете приставка на gedit, следвайте " +"За да премахнете приставка на pluma, следвайте " "следните стъпки:" -#: gedit.xml:1239(para) +#: pluma.xml:1239(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "remove." @@ -2471,11 +2471,11 @@ msgstr "" "Махнете избора от полето за отметка до името на приставката, която искате да " "премахнете." -#: gedit.xml:1248(title) +#: pluma.xml:1248(title) msgid "To Use the ChangeCase Plugin" msgstr "Използване на приставката за промяна на регистъра" -#: gedit.xml:1249(para) +#: pluma.xml:1249(para) msgid "" "The ChangeCase plugin changes the case of the selected text. To use the " "ChangeCase plugin, perform the following steps:" @@ -2483,39 +2483,39 @@ msgstr "" "Приставката за смяна на регистъра на избрания текст, сменя регистъра на " "избрания текст. За да я използвате, следвайте следните стъпки:" -#: gedit.xml:1251(para) +#: pluma.xml:1251(para) msgid "Load the ChangeCase plugin." msgstr "Зареждане на приставката за смяна на регистъра" -#: gedit.xml:1253(para) +#: pluma.xml:1253(para) msgid "Choose one of the following menu items:" msgstr "Изберете един от следните елементи на меню:" -#: gedit.xml:1262(para) +#: pluma.xml:1262(para) msgid "Menu Item" msgstr "Елемент от меню" -#: gedit.xml:1266(para) +#: pluma.xml:1266(para) msgid "Example" msgstr "Пример" -#: gedit.xml:1273(para) +#: pluma.xml:1273(para) msgid "Change each character to uppercase." msgstr "Променяне на всеки символ към горен регистър." -#: gedit.xml:1274(para) +#: pluma.xml:1274(para) msgid "This text becomes THIS TEXT" msgstr "Този текст става ТОЗИ ТЕКСТ." -#: gedit.xml:1279(para) +#: pluma.xml:1279(para) msgid "Change each character to lowercase." msgstr "Променяне на всички символи към долен регистър." -#: gedit.xml:1280(para) +#: pluma.xml:1280(para) msgid "This Text becomes this text" msgstr "Този Текст става този текст." -#: gedit.xml:1285(para) +#: pluma.xml:1285(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." @@ -2523,24 +2523,24 @@ msgstr "" "Променя всеки символ в долен регистър към горен и променя всеки символ в " "горен регистър към долен." -#: gedit.xml:1286(para) +#: pluma.xml:1286(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Този Текст се превръща в тОЗИ тЕКСТ." -#: gedit.xml:1291(para) +#: pluma.xml:1291(para) msgid "Change the first character of each word to uppercase." msgstr "Променя първия символ на всяка дума да бъде в горен регистър." -#: gedit.xml:1292(para) +#: pluma.xml:1292(para) msgid "this text becomes This Text" msgstr "този текст става Този Текст." -#: gedit.xml:1302(title) +#: pluma.xml:1302(title) msgid "To Use the Document Statistics Plugin" msgstr "Използване на приставката за статистика за документа" -#: gedit.xml:1303(para) +#: pluma.xml:1303(para) msgid "" "The Document Statistics plugin counts the number of lines, words, characters " "with spaces, characters without spaces, and bytes in the current file. The " @@ -2553,11 +2553,11 @@ msgstr "" "документа. За да използвате тази приставка, следвайте следните " "стъпки:" -#: gedit.xml:1305(para) +#: pluma.xml:1305(para) msgid "Load the Document Statistics plugin." msgstr "Зареждане на приставката за статистика за документ" -#: gedit.xml:1307(para) +#: pluma.xml:1307(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics, за да се появи прозореца на " "приставката. Той показва следната информация за файла:" -#: gedit.xml:1310(para) +#: pluma.xml:1310(para) msgid "Number of lines in the current document." msgstr "Брой редове в текущия документ" -#: gedit.xml:1313(para) +#: pluma.xml:1313(para) msgid "Number of words in the current document." msgstr "Брой думи в текущия документ" -#: gedit.xml:1316(para) +#: pluma.xml:1316(para) msgid "Number of characters, including spaces, in the current document." msgstr "Брой символи, включително интервали, в текущия документ" -#: gedit.xml:1319(para) +#: pluma.xml:1319(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Брой символи, без интервалите, в текущия документ" -#: gedit.xml:1322(para) +#: pluma.xml:1322(para) msgid "Number of bytes in the current document." msgstr "Брой байта в текущия документ" -#: gedit.xml:1327(para) +#: pluma.xml:1327(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Може да продължите да обновявате файла на gedit, " +"Може да продължите да обновявате файла на pluma, " "докато прозореца на Статистика за документа е отворен. " "За да обновите съдържанието на прозореца, натиснете Подновяване." -#: gedit.xml:1330(para) +#: pluma.xml:1330(para) msgid "" "To close the Document Statistics dialog, click " "Close." @@ -2608,11 +2608,11 @@ msgstr "" "За да затворите прозореца Статистика за документа, " "натиснете бутона Затваряне." -#: gedit.xml:1337(title) +#: pluma.xml:1337(title) msgid "To Use the Indent Lines Plugin" msgstr "Използване на приставката за отстъп" -#: gedit.xml:1338(para) +#: pluma.xml:1338(para) msgid "" "The Indent lines plugin indents the selected lines, or removes the " "indentation from the selected lines. To use the Indent lines plugin, perform " @@ -2622,11 +2622,11 @@ msgstr "" "отстъпите от избраните редове. За да използвате тази приставка, следвайте " "следните стъпки:" -#: gedit.xml:1340(para) +#: pluma.xml:1340(para) msgid "Load the Indent lines plugin." msgstr "Зареждане на приставката за отстъп" -#: gedit.xml:1342(para) +#: pluma.xml:1342(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -2634,7 +2634,7 @@ msgstr "" "Изберете редовете, които искате да имат отстъп. За да изберете един ред, " "поставете курсора където и да е на този ред." -#: gedit.xml:1345(para) +#: pluma.xml:1345(para) msgid "" "Choose EditIndent." @@ -2642,7 +2642,7 @@ msgstr "" "Изберете РедактиранеОтстъп " "надясно." -#: gedit.xml:1347(para) +#: pluma.xml:1347(para) msgid "" "To remove the indentation, select the lines and choose " "EditUnindentРедактиранеОтстъп наляво." -#: gedit.xml:1354(title) +#: pluma.xml:1354(title) msgid "To Use the Insert Date/Time Plugin" msgstr "Използване на приставката за вмъкване на дата/време" -#: gedit.xml:1355(para) +#: pluma.xml:1355(para) msgid "" "The Insert Date/Time plugin inserts the current date and time into a file. " "To use the Insert Date/Time plugin, perform the following steps:" @@ -2664,11 +2664,11 @@ msgstr "" "Приставката за вмъкване на дата/време вмъква датата и времето във файл. За " "да използвате тази приставка, следвайте следните действия:" -#: gedit.xml:1357(para) +#: pluma.xml:1357(para) msgid "Load the Insert Date/Time plugin." msgstr "Зареждане на приставката за вмъкване на дата/време" -#: gedit.xml:1359(para) +#: pluma.xml:1359(para) msgid "" "Choose EditInsert Date and Time." @@ -2676,58 +2676,58 @@ msgstr "" "Изберете РедактиранеВмъкване на " "дата и време." -#: gedit.xml:1360(para) +#: pluma.xml:1360(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Ако не сте настроили приставката за вмъкване на дата и време автоматично да " -"вмъква датата ивремето без да ви пита за формата, geditpluma показва прозореца за Вмъкване на дата и време. Изберете подходящия формат на датата/времето. Натиснете " "Вмъкване, за да затворите прозореца. " -"gedit вмъква датата и времето при позицията на " +"pluma вмъква датата и времето при позицията на " "курсора в текущия файл." -#: gedit.xml:1361(para) +#: pluma.xml:1361(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Ако сте настроили gedit да използва един формат " +"Ако сте настроили pluma да използва един формат " "за дата и време, прозорецът не се показва. Датата и времето се вмъкват " "автоматично при позицията на курсора в текущия файл." -#: gedit.xml:1362(para) +#: pluma.xml:1362(para) msgid "" -"See for information about how " +"See for information about how " "to configure the Insert Date/Time plugin." msgstr "" -"Вижте за информация относно " +"Вижте за информация относно " "как да се настрои приставката за вмъкване на датата и времето." -#: gedit.xml:1367(title) +#: pluma.xml:1367(title) msgid "To Configure the Insert Date/Time Plugin" msgstr "Настройване на приставката за вмъкване на дата/време" -#: gedit.xml:1368(para) +#: pluma.xml:1368(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "За да настроите приставката за вмъкване на датата/времето, следвайте " "следните стъпки:" -#: gedit.xml:1376(para) +#: pluma.xml:1376(para) msgid "Select the Insert Date/Time plugin." msgstr "Изберете приставката Вмъкване на дата/време" -#: gedit.xml:1379(para) +#: pluma.xml:1379(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -2735,11 +2735,11 @@ msgstr "" "Натиснете бутона Настройки на приставка, за да се " "появи прозореца за настройване на приставката за вмъкване на дата/време." -#: gedit.xml:1382(para) +#: pluma.xml:1382(para) msgid "Select one of the options, as follows:" msgstr "Изберете една от следните опции:" -#: gedit.xml:1384(para) +#: pluma.xml:1384(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -2747,25 +2747,25 @@ msgstr "" "За да се определя формата на датата/времето всеки път, когато се вмъква, " "изберете опцията Посочване на формат." -#: gedit.xml:1387(para) +#: pluma.xml:1387(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"За да се използва същия предоставен от gedit " +"За да се използва същия предоставен от pluma " "формат всеки път, когато се вмъква дата/време, изберете опцията " "Използване на избрания формат. После изберете подходящи " -"формат от списъка. Когато изберете тази опция, geditpluma не Ви пита за формата, когато изберете " "РедактиранеВмъкване на дата/" "време." -#: gedit.xml:1390(para) +#: pluma.xml:1390(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -2773,7 +2773,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -2783,11 +2783,11 @@ msgstr "" "как се определея личен формат, вижте strftime3. Когато изберете тази опция, " -"gedit няма да Ви пита за формат, всеки път, " +"pluma няма да Ви пита за формат, всеки път, " "когато избирате РедактиранеВмъкване на дата/време." -#: gedit.xml:1395(para) +#: pluma.xml:1395(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -2795,7 +2795,7 @@ msgstr "" "Натиснете Добре, за да затворите прозореца за " "Настройване на приставката за вмъкване на дата и време." -#: gedit.xml:1398(para) +#: pluma.xml:1398(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -2803,27 +2803,27 @@ msgstr "" "За да затворите прозореца Настройки, натиснете " "Затваряне." -#: gedit.xml:1405(title) +#: pluma.xml:1405(title) msgid "To Use the Shell Command Plugin" msgstr "Използване на приставката за команди за шел" -#: gedit.xml:1407(para) +#: pluma.xml:1407(para) msgid "" "The Shell Command plugin enables you to capture the output from a shell " -"command in gedit, by displaying the text output " +"command in pluma, by displaying the text output " "of the shell command in the output window. To use the Shell command plugin, " "perform the following steps:" msgstr "" "Приставката за команден ред (shell) Ви позволява да прихващате изхода от " -"терминална програма в gedit, като показва " +"терминална програма в pluma, като показва " "изходните съобщения от командния ред в изходния прозорец. За да използвате " "приставката, следвайте следните стъпки:" -#: gedit.xml:1409(para) +#: pluma.xml:1409(para) msgid "Load the Shell command plugin." msgstr "Зареждане на приставката за шел команда" -#: gedit.xml:1412(para) +#: pluma.xml:1412(para) msgid "" "Choose ToolsRun Command to display the Run Command " @@ -2833,7 +2833,7 @@ msgstr "" "на команда, за да се появи прозорецът " "Изпълняване на команда." -#: gedit.xml:1415(para) +#: pluma.xml:1415(para) msgid "" "Type the shell command that you want to execute in the Command field." @@ -2841,15 +2841,15 @@ msgstr "" "Въведете командата, която искате да изпълните, в полето Команда." -#: gedit.xml:1416(para) +#: pluma.xml:1416(para) msgid "You can include the following special characters:" msgstr "Може да включите следните специални символи:" -#: gedit.xml:1419(literal) +#: pluma.xml:1419(literal) msgid "%f" msgstr "%f" -#: gedit.xml:1420(para) +#: pluma.xml:1420(para) msgid "" "Use these special characters to specify the filename of the current active " "document, including the path." @@ -2857,21 +2857,21 @@ msgstr "" "Използвайте тези специални символи, за да определите файловото име на " "текущия активен документ, включително пътя." -#: gedit.xml:1423(literal) +#: pluma.xml:1423(literal) msgid "%n" msgstr "%n" -#: gedit.xml:1424(para) +#: pluma.xml:1424(para) msgid "" "Use these special characters to specify the filename of the current active " -"document, without the path. In this case, gedit " +"document, without the path. In this case, pluma " "looks for the file in the Working directory." msgstr "" "Използвайте тези специални символи, за да определите файловото име на " -"текущия активен документ, без пътя. В този случай, geditpluma търси за файла в текущата работна папка." -#: gedit.xml:1428(para) +#: pluma.xml:1428(para) msgid "" "Edit the Working directory field if necessary. By " "default, the Shell command plugin executes the command you specify in the " @@ -2881,19 +2881,19 @@ msgstr "" "подразбиране, приставката изпълнява командата, която въведете, в текущата " "папка." -#: gedit.xml:1430(para) +#: pluma.xml:1430(para) msgid "" "Select the Show results in Output Window option to " "display the results of the command in the output window. If you do not " -"select this option, gedit discards the results of " +"select this option, pluma discards the results of " "the command." msgstr "" "Изберете опцията Показване на изходните резултати в прозорец, за да се покажат изходните ъобщения от командата в изходния " -"прозорец. Ако не изберете тази опция, gedit не " +"прозорец. Ако не изберете тази опция, pluma не " "показва резултатите от командата." -#: gedit.xml:1433(para) +#: pluma.xml:1433(para) msgid "" "Click Run. The Shell command plugin executes the " "command and inserts the text output into the output window." @@ -2901,14 +2901,14 @@ msgstr "" "Натиснете Стартиране. Приставката изпълнява командата " "и вмъква изходните съобщения в изходния прозорец." -#: gedit.xml:1436(para) +#: pluma.xml:1436(para) msgid "" "Use the Shift key to select the text in the output window." msgstr "" "Използвайте клавиша Shift, за да изберете текста в изходния " "прозорец." -#: gedit.xml:1438(para) +#: pluma.xml:1438(para) msgid "" "Click Copy selected lines to copy the selected text " "into the buffer." @@ -2916,7 +2916,7 @@ msgstr "" "Натиснете Копиране на избраните редове, за да " "копирате избрания текст във временната памет." -#: gedit.xml:1441(para) +#: pluma.xml:1441(para) msgid "" "Choose EditPaste to paste the selected text into the file." @@ -2924,7 +2924,7 @@ msgstr "" "Изберете РедактиранеПоставяне, за да поставите избрания текст във файла." -#: gedit.xml:1444(para) +#: pluma.xml:1444(para) msgid "" "Click Close the output window to close the output " "window." @@ -2932,15 +2932,15 @@ msgstr "" "Натиснете Затваряне на изходния прозорец, за да " "затворите изходния прозорец." -#: gedit.xml:1451(title) +#: pluma.xml:1451(title) msgid "To Use the Sort Plugin" msgstr "Използване на приставката за сортиране" -#: gedit.xml:1452(para) +#: pluma.xml:1452(para) msgid "The Sort plugin sorts the selected text." msgstr "Приставката за сортиране подрежда избрания текст." -#: gedit.xml:1453(para) +#: pluma.xml:1453(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -2952,16 +2952,16 @@ msgstr "" "версия на файла, след такава операция, изберете ФайлВъзстановяване." -#: gedit.xml:1456(para) +#: pluma.xml:1456(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "" "За да използвате приставката за сортиране, следвайте следните действия:" -#: gedit.xml:1458(para) +#: pluma.xml:1458(para) msgid "Load the Sort plugin." msgstr "Заредете приставката за сортиране." -#: gedit.xml:1460(para) +#: pluma.xml:1460(para) msgid "" "Choose EditSort to display the Sort dialog." @@ -2970,7 +2970,7 @@ msgstr "" "guimenuitem>, за да се покаже прозорецът за " "Подреждане." -#: gedit.xml:1463(para) +#: pluma.xml:1463(para) msgid "" "To arrange the text in reverse sort order, select the Reverse " "order option." @@ -2978,7 +2978,7 @@ msgstr "" "За да подредите текста в обратен ред, изберете опцията Обратен " "ред." -#: gedit.xml:1466(para) +#: pluma.xml:1466(para) msgid "" "To delete duplicate lines, select the Remove duplicates " "option." @@ -2986,7 +2986,7 @@ msgstr "" "За да премахнете дублиращите се редове, изберете опцията guilabel>Премахване " "на повтарящите се." -#: gedit.xml:1469(para) +#: pluma.xml:1469(para) msgid "" "To ignore case sensitivity, select the Ignore case " "option." @@ -2994,7 +2994,7 @@ msgstr "" "За да не се взима предвид регистъра на текста, изберете опцията " "Игнориране на малки/големи." -#: gedit.xml:1472(para) +#: pluma.xml:1472(para) msgid "" "To specify the start position of the sort, use the Start at " "column spin box." @@ -3002,35 +3002,35 @@ msgstr "" "За да определите стартовата позиция на подреждането, използвайте полето " "Започване от колона." -#: gedit.xml:1475(para) +#: pluma.xml:1475(para) msgid "To perform the sort operation, click Sort." msgstr "" "За да се извърши операцията по сортирането, натиснете Подреждане." -#: gedit.xml:1482(title) +#: pluma.xml:1482(title) msgid "To Use the Spell Checker Plugin" msgstr "Използване на приставката за проверка на правописа" -#: gedit.xml:1483(para) +#: pluma.xml:1483(para) msgid "" "The Spell checker plugin checks the spelling in the selected text. You can " -"configure gedit to check the spelling " +"configure pluma to check the spelling " "automatically, or you can check the spelling manually, in the specified " "language. The language setting, and the autocheck spelling properties, apply " "per document. To use the Spell checker plugin, perform the following steps:" msgstr "" "Приставката за проверка на правописа, проверява правописа на избрания текст. " -"Може да настроите gedit автоматично да проверява " +"Може да настроите pluma автоматично да проверява " "правописа или Вие да го правите ръчно. Настройката на езика и на " "автоматичната проверка се прилагат само за отделния документ. За да " "използвате тази приставка, следвайте следните действия:" -#: gedit.xml:1485(para) +#: pluma.xml:1485(para) msgid "Load the Spell checker plugin." msgstr "Заредете приставката за проверка на правописа." -#: gedit.xml:1487(para) +#: pluma.xml:1487(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -3042,7 +3042,7 @@ msgstr "" "Избор на език. Изберете подходящия език от списъка. " "Натиснете Добре, за да затворите прозореца." -#: gedit.xml:1490(para) +#: pluma.xml:1490(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -3050,7 +3050,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "За да проверявате правописа автоматично, изберете " @@ -3059,9 +3059,9 @@ msgstr "" "проверка, изберете отново същото меню. Когато автоматичната проверка е " "включена, до този елемент в менюто се появява икона. Автоматичната проверка " "на правописа не е включена по подразбиране, всеки път, когато " -"gedit се стартира." +"pluma се стартира." -#: gedit.xml:1491(para) +#: pluma.xml:1491(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsПредложения за правопис:" -#: gedit.xml:1494(para) +#: pluma.xml:1494(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -3080,7 +3080,7 @@ msgstr "" "За да замените непознатия правопис с друг от списъка го изберете от списъка " "на изскачащото меню за предложения." -#: gedit.xml:1497(para) +#: pluma.xml:1497(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddПредложения за правописДобавяне." -#: gedit.xml:1500(para) +#: pluma.xml:1500(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "За да игнорирате всички съвпадения на даден непознат правопис, така че вече " "да не бъде маркиран като непознат, но и да не бъде добавян в личния речник, " "изберете Предложения за правописИгнориране ан всички. " -"Непознатата дума се игнорира само за текущата сесия на geditpluma." -#: gedit.xml:1505(para) +#: pluma.xml:1505(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -3114,7 +3114,7 @@ msgstr "" "ИнструментиПроверка на " "правописа." -#: gedit.xml:1507(para) +#: pluma.xml:1507(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -3125,7 +3125,7 @@ msgstr "" "показва съобщение относнотова, че документа не съдържа сгрешени думи. " "Натиснете Добре, за да затворите този прозорец." -#: gedit.xml:1509(para) +#: pluma.xml:1509(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -3133,13 +3133,13 @@ msgstr "" "Ако има грешки в правописа, се появява прозорецът за Проверка на " "правописа:" -#: gedit.xml:1512(para) +#: pluma.xml:1512(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "Сгрешената дума се показва най-горе в прозореца." -#: gedit.xml:1515(para) +#: pluma.xml:1515(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -3151,7 +3151,7 @@ msgstr "" "правопис от списъка с Предложения или можете да " "въведете директно текст в полето Замяна с." -#: gedit.xml:1518(para) +#: pluma.xml:1518(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -3165,19 +3165,19 @@ msgstr "" "(няма правописни грешки). Ако думата е непозната се появяват нови " "записи в списъка за Предложения." -#: gedit.xml:1521(para) +#: pluma.xml:1521(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "За да игнорирате текущата непозната дума, натиснете Игнориране. За да игнорирате всички нейни съвпадения, натиснете " "Игнориране на всички. Непозната дума се игнорира за " -"текущата сесия на gedit." +"текущата сесия на pluma." -#: gedit.xml:1524(para) +#: pluma.xml:1524(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeЗамяна на всички." -#: gedit.xml:1527(para) +#: pluma.xml:1527(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -3198,7 +3198,7 @@ msgstr "" "За да добавите непознатата дума към личния си речник, натиснете " "Добавяне на дума." -#: gedit.xml:1530(para) +#: pluma.xml:1530(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -3206,11 +3206,11 @@ msgstr "" "За да затворите прозореца Проверка на правописа, " "натиснете Затваряне." -#: gedit.xml:1539(title) +#: pluma.xml:1539(title) msgid "To Use the Tag List Plugin" msgstr "Използване на приставката за списък с етикети" -#: gedit.xml:1540(para) +#: pluma.xml:1540(para) msgid "" "The Tag List plugin displays a window that contains a list of common tags. " "You can use the window to insert a tag into a file. To use the Tag List " @@ -3220,11 +3220,11 @@ msgstr "" "често срещани етикети. Може да използвате прозореца да вмъквате етикети във " "файл. За да използвате тази приставка, следвайте следните стъпки:" -#: gedit.xml:1542(para) +#: pluma.xml:1542(para) msgid "Load the Tag List plugin." msgstr "Заредете приставката за списък с етикети." -#: gedit.xml:1544(para) +#: pluma.xml:1544(para) msgid "" "Choose ViewTag List to display the Tag list pluginИзгледСписък с етикети, за да се появи прозоецът на приставката." -#: gedit.xml:1547(para) +#: pluma.xml:1547(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -3241,11 +3241,11 @@ msgstr "" "Изберете правилната категория от падащия списък. Например HTML - " "Тагове." -#: gedit.xml:1550(para) +#: pluma.xml:1550(para) msgid "Scroll through the tag list to find the required tag." msgstr "Прелистете през списъка с сетикети, за да откриете търсения от Вас." -#: gedit.xml:1553(para) +#: pluma.xml:1553(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -3254,7 +3254,7 @@ msgstr "" "пъти върху етикета в списъка. Може също така да вмъквате етикети по следния " "начин:" -#: gedit.xml:1555(para) +#: pluma.xml:1555(para) msgid "" "To insert a tag in the current file and change the focus from the " "Tag list plugin window to the editor window, press " @@ -3264,7 +3264,7 @@ msgstr "" "Приставката списък с етикети към редактора, натиснете " "Enter." -#: gedit.xml:1558(para) +#: pluma.xml:1558(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShiftEnter." -#: gedit.xml:1563(para) +#: pluma.xml:1563(para) msgid "" "To close the Tag list plugin window, click on the " "Close Window button in the window frame. " @@ -3287,11 +3287,11 @@ msgstr "" "така можете и да натиснете CtrlW, когато прозорецът на приставката е фокусиран." -#: gedit.xml:1570(title) +#: pluma.xml:1570(title) msgid "To Use the User Name Plugin" msgstr "Използвате на приставката за име на потребител" -#: gedit.xml:1571(para) +#: pluma.xml:1571(para) msgid "" "The User name plugin inserts the username of the current user into the file. " "To use the User name plugin, perform the following steps:" @@ -3300,11 +3300,11 @@ msgstr "" "потребител в текстовия файл. За да използвате приставката, следвайте " "следните стъпки:" -#: gedit.xml:1573(para) +#: pluma.xml:1573(para) msgid "Load the User name plugin." msgstr "Заредете приставката за име на потребител." -#: gedit.xml:1575(para) +#: pluma.xml:1575(para) msgid "" "Choose EditInsert User Name to insert your username at the cursor position in " @@ -3314,19 +3314,19 @@ msgstr "" "потребителско име, за да поставите Вашето " "потребителско име при позицията на курсора във файла." -#: gedit-C.omf:4(creator) gedit-C.omf:7(maintainer) +#: pluma-C.omf:4(creator) pluma-C.omf:7(maintainer) msgid "gdocteam@sun.com (Sun Java Desktop System Documentation Team)" msgstr "gdocteam@sun.com (Екипът за документацията на Java Desktop System)" -#: gedit-C.omf:13(date) +#: pluma-C.omf:13(date) msgid "2004-08-24" msgstr "2004-08-24" -#: gedit-C.omf:21(type) +#: pluma-C.omf:21(type) msgid "user's guide" msgstr "потребителско ръководство" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: gedit-C.omf:0(None) +#: pluma-C.omf:0(None) msgid "translator-credits" msgstr "Ростислав \"zbrox\" Райков , 2005" diff --git a/help/bg/figures/gedit_window.png b/help/bg/figures/pluma_window.png similarity index 100% rename from help/bg/figures/gedit_window.png rename to help/bg/figures/pluma_window.png diff --git a/help/ca/ca.po b/help/ca/ca.po index 6fb518a..e4319fa 100755 --- a/help/ca/ca.po +++ b/help/ca/ca.po @@ -1,11 +1,11 @@ -# Traducció del gedit de l'equip de Softcatalà. +# Traducció del pluma de l'equip de Softcatalà. # Copyright © 2009 Free Software Foundation, Inc. # Joan Duran , 2009. # # Carles Ferrando Garcia , 2010. msgid "" msgstr "" -"Project-Id-Version: gedit\n" +"Project-Id-Version: pluma\n" "POT-Creation-Date: 2010-06-20 20:10+0000\n" "PO-Revision-Date: 2010-04-22 16:14+0200\n" "Last-Translator: Carles Ferrando Garcia \n" @@ -116,305 +116,305 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manual del gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manual del pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Projecte de documentació del MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "S'ha afegit la taula de dreceres de teclat" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Equip de documentació de Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" "En Cicek ha proporcionat informació de les primeres revisions de l'aplicació " -"gedit." +"pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Reconeixements" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "En George ha proporcionat informació sobre els connectors." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "Gedit v1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "Pluma v1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manual del gedit v2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manual del pluma v2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Març de 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Equip de documentació del MATE de Sun" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manual del gedit v2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manual del pluma v2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Juny de 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manual del gedit v2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manual del pluma v2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Agost de 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manual del gedit v2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manual del pluma v2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Setembre de 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manual del gedit v2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manual del pluma v2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Gener de 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manual del gedit v2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manual del pluma v2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Març de 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manual del gedit v2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manual del pluma v2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Setembre de 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manual del gedit v2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manual del pluma v2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Març de 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manual del gedit v2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manual del pluma v2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Juliol de 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manual del gedit v2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manual del pluma v2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Projecte de documentació del MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Aquest manual descriu la versió 2.16 del gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Aquest manual descriu la versió 2.16 del pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Comentaris" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Per a informar d'un error o fer algun suggeriment sobre l'aplicació " -"gedit o aquest manual, seguiu les indicacions a " +"pluma o aquest manual, seguiu les indicacions a " "la pàgina de " "comentaris del MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"El gedit és un editor de text per a l'escriptori del MATE amb " +"El pluma és un editor de text per a l'escriptori del MATE amb " "característiques bàsiques però robustes com ara la impressió, la comprovació " "ortogràfica, la cerca i reemplaçament, i el ressaltat sintàctic. També hi ha " "disponibles funcions més avançades en forma de connectors." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "editor de text" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introducció" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"L'aplicació gedit us permet crear i editar " +"L'aplicació pluma us permet crear i editar " "fitxers de text." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"L'objectiu del gedit és ser un editor text " +"L'objectiu del pluma és ser un editor text " "senzill i fàcil d'utilitzar. Les funcions més potents es poden habilitar amb " "diferents connectors, permetent una varietat de " "tasques relacionades amb l'edició de text." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Primers passos" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Com iniciar el gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Com iniciar el pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"Podeu iniciar el gedit de les maneres següents:" +"Podeu iniciar el pluma de les maneres següents:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Menú Aplicacions" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -422,65 +422,65 @@ msgstr "" "Trieu AccessorisEditor de " "text." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Línia d'ordres" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Executeu l'ordre següent: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Executeu l'ordre següent: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Per defecte, quan obriu un document de text amb el gestor de fitxers, el " -"gedit s'iniciarà i mostrarà el document." +"pluma s'iniciarà i mostrarà el document." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "La finestra del gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "La finestra del pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Quan inicieu el gedit, es mostrarà la finestra " +"Quan inicieu el pluma, es mostrarà la finestra " "següent:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Finestra del gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Finestra del pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Mostra la finestra principal del gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Mostra la finestra principal del pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"La finestra del gedit conté els elements següents:" +"La finestra del pluma conté els elements següents:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Barra de menú" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Els menús a la barra de menú contenen totes les ordres que necessiteu per a " -"treballar amb fitxers al gedit." +"treballar amb fitxers al pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Barra d'eines" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -488,29 +488,29 @@ msgstr "" "La barra d'eines conté un subconjunt d'ordres a les quals podeu accedir des " "de la barra de menú." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Àrea de visualització" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "L'àrea de visualització conté el text del fitxer que esteu editant." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Barra d'estat" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "La barra d'estat mostra la informació sobre l'activitat actual del " -"gedit i la informació contextual sobre els " +"pluma i la informació contextual sobre els " "elements del menú. La barra d'estat també mostra la informació següent:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -518,7 +518,7 @@ msgstr "" "Posició del cursor: el número de línia i el número de columna on està ubicat " "el cursor." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -530,11 +530,11 @@ msgstr "" "sobreescriptura, la barra d'estat conté el text SOBR. " "Premeu la tecla d'Inserció per a canviar el mode d'edició." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Subfinestra lateral" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -542,7 +542,7 @@ msgstr "" "La subfinestra lateral mostra una llista dels documents oberts i altra " "informació depenent de quins connectors s'hagin habilitat." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneVisualitzaSubfinestra lateral." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Subfinestra inferior" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -564,7 +564,7 @@ msgstr "" "La subfinestra inferior s'utilitza per a eines de programació com ara el " "connector Consola Python per a mostrar missatges." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneVisualitzaSubfinestra inferior." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Quan feu clic amb el botó secundari a la finestra del geditpluma, l'aplicació mostrarà un menú emergent. El menú emergent conté " "les ordres d'edició més habituals." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" "De la mateixa manera que en altres aplicacions del MATE, les accions del " -"gedit es poden realitzar de diferents maneres: " +"pluma es poden realitzar de diferents maneres: " "amb el menú, amb la barra d'eines o amb les dreceres de teclat. Les dreceres " "de teclat habituals a totes les aplicacions són llistades a la Guia d'usuari." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Com executar el gedit des d'una línia d'ordres" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Com executar el pluma des d'una línia d'ordres" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Podeu executar el gedit des d'una línia d'ordres " +"Podeu executar el pluma des d'una línia d'ordres " "i obrir un fitxer o diversos fitxers. Per a obrir diversos fitxers des d'una " "línia d'ordres, introduïu l'ordre següent i premeu Retorn:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "fitxer1.txt fitxer2.txt fitxer3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Alternativament, podeu especificar un URI enlloc d'un nom de fitxer." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Per a obtenir més informació sobre com executar el geditpluma des d'una línia d'ordres, vegeu la pàgina del manual UNIX del " -"gedit, gedit1pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Com treballar amb fitxers" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Com crear un document nou" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Per a crear un document nou, trieu FitxerNou. L'aplicació mostrarà un " -"document en blanc nou a la finestra del gedit." +"document en blanc nou a la finestra del pluma." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Com obrir un fitxer" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Per a obrir un fitxer, trieu FitxerObre per a mostrar el diàleg " "Obertura de fitxers. Seleccioneu el fitxer que voleu " "obrir i feu clic a Obre. El fitxer es mostrarà a la " -"finestra del gedit." +"finestra del pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Mostra la icona del menú dels fitxers recents." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -690,25 +690,25 @@ msgstr "" "la icona a la barra d'eines per a mostrar la llista de " "fitxers recents." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Podeu obrir múltiples fitxers al gedit. " +"Podeu obrir múltiples fitxers al pluma. " "L'aplicació afegeix una pestanya a la finestra per a cada fitxer obert. Per " -"a obtenir més informació vegeu la ." +"a obtenir més informació vegeu la ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Com desar un fitxer" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Podeu desar fitxers de les maneres següents:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -717,7 +717,7 @@ msgstr "" "FitxerDesa." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave As. Introduïu un nom per al fitxer al diàleg " "Anomena i desa i feu clic a Desa." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" "Per a desar tots els fitxers que hi ha actualment oberts al " -"gedit, trieu Documentspluma, trieu DocumentsDesa-ho tot." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" "Per a tancar tots els fitxers que hi ha actualment oberts al " -"gedit, trieu Documentspluma, trieu DocumentsTanca-ho tot." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Com obrir un fitxer des d'un URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -761,7 +761,7 @@ msgstr "" "Per a obrir un fitxer des d'un identificador de recursos uniforme (URI), " "realitzeu els passos següents:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -771,11 +771,11 @@ msgstr "" "guimenuitem> per a mostrar el diàleg Obre la " "ubicació." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Introduïu l'URI del fitxer que voleu obrir." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -783,11 +783,11 @@ msgstr "" "Utilitzeu la llista desplegable Codificació de caràcters per a seleccionar la codificació de caràcters apropiada." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Feu clic a Obre." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -797,7 +797,7 @@ msgstr "" "literal>, ftp:, file: i tots els " "mètodes admesos pel mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -810,66 +810,66 @@ msgstr "" "perquè no tots els servidors FTP treballen correctament amb el desament " "remot de fitxers." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Es pot habilitar el desament a servidors FTP amb l'editor de configuració, en establir la clau /apps/gedit-2/preferences/editor/" +"ulink>, en establir la clau /apps/pluma-2/preferences/editor/" "save/writable_vfs_schemes, però això pot causar errors." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Com treballar amb pestanyes" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Quan s'ha obert més d'un fitxer, el gedit mostra " +"Quan s'ha obert més d'un fitxer, el pluma mostra " "una pestanya per a cada document sobre l'àrea de " "visualització. Per a canviar a un altre document, feu clic a la seva " "pestanya." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Per a moure un document a una altra finestra del geditpluma, arrossegueu la pestanya corresponent a la finestra on voleu " "moure'l." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Per a moure un document a una finestra nova del geditpluma, podeu arrossegar la pestanya a l'escriptori o triar " "DocumentsMou a una nova " "finestra." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Com treballar amb text" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Com editar un text" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Podeu editar el text d'un fitxer de les maneres següents:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -879,7 +879,7 @@ msgstr "" "firstterm> parpellejant marca el punt on apareix el text nou. Per a canviar-" "ho, utilitzeu les tecles de cursor del teclat o feu clic amb el ratolí." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyEditaCopia." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutEditaRetalla." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteEditaSuprimeix." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Per a inserir els continguts del porta-retalls a la posició del cursor, " "trieu EditaEnganxa. Heu de retallar o copiar text abans de poder " -"enganxar-lo al fitxer, ja sigui des del gedit o una altra aplicació." +"enganxar-lo al fitxer, ja sigui des del pluma o una altra aplicació." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -929,11 +929,11 @@ msgstr "" "Per a seleccionar tot el text d'un fitxer, trieu EditaSelecciona-ho tot." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Com desfer i refer els canvis" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -945,32 +945,32 @@ msgstr "" "acció, trieu EditaRefés." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Com cercar i reemplaçar" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"Al gedit hi ha dues maneres de cercar text. Podeu " +"Al pluma hi ha dues maneres de cercar text. Podeu " "utilitzar el diàleg Cerca per a cercar un fragment " "específic de text o la Cerca incremental per a " "ressaltar el text coincident mentre l'introduïu." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Com trobar un text" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "Per a cercar una cadena de text d'un fitxer, realitzeu els passos següents:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -978,31 +978,31 @@ msgstr "" "Trieu CercaCerca per a mostrar el diàleg de Cerca." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Introduïu la cadena que voleu trobar al camp Cerca. " "Podeu incloure caràcters especials com ara una línia nova o una tabulació. " -"Vegeu la ." +"Vegeu la ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Feu clic a Cerca per a cercar la primera ocurrència " "de la cadena en el fitxer després de la posició actual del cursor. Si el " -"gedit troba la cadena, l'aplicació en " +"pluma troba la cadena, l'aplicació en " "seleccionarà la primera ocurrència. Les altres ocurrències de la cadena es " "ressaltaran." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextCercaCerca " "l'anterior." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1030,7 +1030,7 @@ msgstr "" "guimenuitem> i CercaCerca l'anterior." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightCercaNeteja el ressaltat." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Cerca incremental" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1053,7 +1053,7 @@ msgstr "" "l'escriviu lletra per lletra (això és semblant a la funció de cerca de " "diversos navegadors web)." -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1063,7 +1063,7 @@ msgstr "" "guimenu>Cerca incremental. El quadre " "de cerca apareixerà a la part superior de l'àrea de visualització." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1071,7 +1071,7 @@ msgstr "" "Comenceu a escriure i el text que coincideixi es ressaltarà al document. La " "primera instància després de la posició del cursor se seleccionarà." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGMajG per a tornar a la " "coincidència anterior." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1092,11 +1092,11 @@ msgstr "" "També podeu utilitzar les tecles de cursor amunt i avall o la roda del " "ratolí per a moure la selecció entre coincidències." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Com reemplaçar un text" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1104,7 +1104,7 @@ msgstr "" "Per a cercar una cadena a un fitxer i reemplaçar la cadena amb una cadena " "alternativa, realitzeu els passos següents:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1113,17 +1113,17 @@ msgstr "" "guimenuitem> per a mostrar el diàleg Reemplaça." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Introduïu la cadena que voleu trobar al camp Cerca. " "Podeu incloure caràcters especials com ara una línia nova o una tabulació. " -"Vegeu la ." +"Vegeu la ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1131,22 +1131,22 @@ msgstr "" "Introduïu al camp Reemplaça per la cadena que vulgueu " "utilitzar per a reemplaçar la cadena cercada." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Per a examinar cada ocurrència de la cadena abans de reemplaçar-la, feu clic " -"a Cerca. Si el gedit troba " +"a Cerca. Si el pluma troba " "la cadena, l'aplicació la seleccionarà. Feu clic a Reemplaça per a reemplaçar l'ocurrència de la cadena seleccionada. Per a " "trobar l'ocurrència següent de la cadena, feu clic un altre cop a " "Cerca." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1154,11 +1154,11 @@ msgstr "" "Per a reemplaçar totes les ocurrències de la cadena del document, feu clic a " "Reemplaça-ho tot." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Opcions de cerca i reemplaçament" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1166,7 +1166,7 @@ msgstr "" "El diàleg de Cerca i el diàleg Reemplaça tenen les opcions següents:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1179,7 +1179,7 @@ msgstr "" "Coincidència de majúscules i minúscules seleccionat, " "«TEXT» no coincideix amb «text»." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1192,7 +1192,7 @@ msgstr "" "coincideix la paraula sencera seleccionat, «text» no coincideix " "amb «textura»." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1200,7 +1200,7 @@ msgstr "" "Seleccioneu l'opció Cerca cap enrere per a cercar " "enrere cap a l'inici del document." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1209,11 +1209,11 @@ msgstr "" "cercar fins al final del document i llavors continuar la cerca des de " "l'inici del document." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Caràcters especials" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1221,35 +1221,35 @@ msgstr "" "Podeu incloure les seqüències d'escapada següents al text per a representar " "caràcters especials per a cercar o reemplaçar:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Especifica una línia nova." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Especifica un caràcter de tabulació." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Especifica un caràcter de retorn." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1262,11 +1262,11 @@ msgstr "" "al camp Cerca. O si esteu cercant una seqüència de " "barres inverses, heu de doblar el nombre de barres inverses que cerqueu." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Com posicionar el cursor a una línia específica" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. Apareixerà el quadre de número de línia a la part " "superior de l'àrea de visualització." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1285,7 +1285,7 @@ msgstr "" "Comenceu a introduir el número de línia on voleu moure el cursor i el " "document es desplaçarà a la línia especificada." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1293,15 +1293,15 @@ msgstr "" "Per a tancar el quadre i moure el cursor a la línia especificada, premeu " "Retorn." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Impressió" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Com establir les opcions de la pàgina" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1311,7 +1311,7 @@ msgstr "" "guimenu>Configuració de la pàgina " "per a mostrar el diàleg Configuració de la pàgina." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1319,28 +1319,28 @@ msgstr "" "El diàleg Configuració de la pàgina us permet " "especificar les opcions d'impressió següents:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Pestanya general" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Imprimeix el ressaltat de la sintaxi" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Seleccioneu aquesta opció per a imprimir el ressaltat de la sintaxi. Per a " "obtenir més informació sobre el ressaltat de la sintaxi, vegeu la ." +"linkend=\"pluma-set-highlightmode\"/>." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Imprimeix les capçaleres de la pàgina" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1348,11 +1348,11 @@ msgstr "" "Seleccioneu aquesta opció per a incloure una capçalera a cada pàgina que " "imprimiu. No podeu configurar la capçalera." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Números de línia" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1360,7 +1360,7 @@ msgstr "" "Seleccioneu l'opció Imprimeix els números de línia per " "a incloure els números de línia quan imprimiu un fitxer." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1370,11 +1370,11 @@ msgstr "" "guilabel> per a especificar cada quan s'ha d'imprimir el número de línia. " "Per exemple cada 5 línies, cada 10 línies, etc." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Ajustament de línia" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1385,7 +1385,7 @@ msgstr "" "quan imprimiu un fitxer. L'aplicació compta les línies ajustades com a una " "sola línia per a la numeració." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1394,15 +1394,15 @@ msgstr "" "guilabel> per a ajustar el text a la línia següent, a nivell de paraula, " "quan imprimiu un fitxer." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Tipus de lletres" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Cos" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1410,21 +1410,21 @@ msgstr "" "Feu clic a aquest botó per a seleccionar el tipus de lletra a utilitzar per " "a imprimir el text del cos d'un fitxer." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Números de línia" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Feu clic a aquest botó per a seleccionar el tipus de lletra a utilitzar per " "a imprimir els números de línia." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Capçaleres i peus de pàgina" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1432,48 +1432,48 @@ msgstr "" "Feu clic a aquest botó per a seleccionar el tipus de lletra a utilitzar per " "a imprimir les capçaleres i peus de pàgina d'un fitxer." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Per a reiniciar els tipus de lletra als tipus de lletra predeterminats per a " -"imprimir un fitxer del gedit, feu clic a " +"imprimir un fitxer del pluma, feu clic a " "Restaura els tipus de lletra predeterminats." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Impressió d'un document" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Podeu utilitzar el gedit per a realitzar les " +"Podeu utilitzar el pluma per a realitzar les " "operacions d'impressió següents:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Imprimir un document a una impressora." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Imprimir la sortida de l'ordre d'imprimir a un fitxer." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Si imprimiu a un fitxer, el gedit envia la " +"Si imprimiu a un fitxer, el pluma envia la " "sortida del fitxer a un fitxer de format de preimpressió. Els formats de " "preimpressió més habituals són el PostScript i el Portable Document Format " "(PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewFitxerPrevisualitza la " "impressió." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintFitxerImprimeix per a mostrar el diàleg Imprimeix." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1501,34 +1501,34 @@ msgstr "" "El diàleg Imprimeix us permet especificar les opcions " "d'impressió següents:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Pestanya de tasca" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Rang d'impressió" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Seleccioneu una de les opcions següents per a determinar quantes pàgines " "imprimir:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Tot" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Seleccioneu aquesta opció per a imprimir totes les pàgines del fitxer." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Línies" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1538,11 +1538,11 @@ msgstr "" "Utilitzeu els quadres de selecció de valors Des de i " "A per a especificar el rang de línies." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Selecció" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1550,11 +1550,11 @@ msgstr "" "Seleccioneu aquesta opció per a imprimir només el text seleccionat. Aquesta " "opció només està disponible si seleccioneu text." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Còpies" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1563,7 +1563,7 @@ msgstr "" "guilabel> per a especificar el número de còpies que voleu imprimir del " "fitxer." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1571,15 +1571,15 @@ msgstr "" "Si imprimiu diverses còpies del fitxer, seleccioneu l'opció " "Compagina per a compaginar les còpies impreses." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Pestanya d'impressora" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Impressora" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1587,17 +1587,17 @@ msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar la impressora on " "voleu per a imprimir el fitxer." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Paràmetres" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar els paràmetres de la " "impressora." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1607,26 +1607,26 @@ msgstr "" "Per exemple, podeu habilitar o inhabilitar la impressió doble o la impressió " "retardada, si la impressora admet aquesta funcionalitat." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Ubicació" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar un dels destins " "d'impressió següents:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Imprimeix el fitxer a una impressora CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1634,23 +1634,23 @@ msgstr "" "Si la impressora seleccionada és una impressora CUPS, el CUPS és l'única entrada d'aquesta llista desplegable." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Imprimeix el fitxer a una impressora." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Fitxer" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Imprimeix el fitxer a un fitxer PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1658,15 +1658,15 @@ msgstr "" "Feu clic a Anomena i desa per a mostrar un diàleg on " "podeu especificar el nom i la ubicació del fitxer PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Personalitzat" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Utilitzeu l'ordre especificada per a imprimir el fitxer." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1674,32 +1674,32 @@ msgstr "" "Introduïu el nom de l'ordre al quadre de text. Incloent tots els arguments " "de la línia d'ordres." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Estat" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "" -"Aquesta funcionalitat no està implementada en aquesta versió del gedit." +"Aquesta funcionalitat no està implementada en aquesta versió del pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Tipus" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Comentari" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Pestanya del paper" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Mida del paper" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1707,11 +1707,11 @@ msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar la mida del paper on " "voleu imprimir el fitxer." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Amplada" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1720,21 +1720,21 @@ msgstr "" "del paper. Utilitzeu la llista desplegable adjacent per a canviar la unitat " "de mesura." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Alçada" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "" "Utilitzeu aquest quadre de selecció de valors per a especificar l'alçada del " "paper." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientació de l'alimentació" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." @@ -1742,21 +1742,21 @@ msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar l'orientació del " "paper a l'impressora." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientació de la pàgina" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar l'orientació de la " "pàgina." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Disposició" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1765,37 +1765,37 @@ msgstr "" "pàgina. Es mostrarà una previsualització de cada disposició que seleccioneu " "a l'àrea de Previsualització." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Safata de paper" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "" "Utilitzeu aquesta llista desplegable per a seleccionar la safata de paper." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Funcions de programació" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Diverses de les funcions per a programar del geditpluma les proporcionen els connectors. Per exemple, el connector " "«Llistat de marcadors» proporciona una llista dels marcadors utilitzats " -"normalment per a marcar llenguatges. Vegeu la ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Ressaltat de la sintaxi" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1803,32 +1803,32 @@ msgstr "" "El ressaltat de la sintaxi fa el codi font més fàcil llegir en mostrar les " "diferents parts del text en diferents colors." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"El gedit tria un mode apropiat de ressaltat de la " +"El pluma tria un mode apropiat de ressaltat de la " "sintaxi basat en el tipus de document. Per a reemplaçar el mode de ressaltat " "de la sintaxi, trieu VisualitzaMode de ressaltat i trieu un " "dels elements de menú següents:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normal" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "No mostris cap ressaltat de la sintaxi." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Codis font" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1837,11 +1837,11 @@ msgstr "" "submenú Codis font per a seleccionar el tipus de " "codi font." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Marcatge" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1850,11 +1850,11 @@ msgstr "" "el submenú Marcatge per a seleccionar el tipus de " "codi de marcatge." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Scripts" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1863,11 +1863,11 @@ msgstr "" "submenú Scripts per a seleccionar el tipus de codi " "d'script." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Altres" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1876,31 +1876,31 @@ msgstr "" "Utilitzeu el submenú Altres per a seleccionar el " "tipus de codi." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Condueix la sortida d'una ordre a un fitxer" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Podeu utilitzar el gedit per a conduir la sortida " +"Podeu utilitzar el pluma per a conduir la sortida " "d'una ordre a un fitxer de text. Per exemple, per a conduir la sortida d'una " "ordre ls a un fitxer de text, escriviu ls | " -"gedit i premeu Retorn." +"pluma i premeu Retorn." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "La sortida de l'ordre ls es mostrarà a un fitxer de text " -"nou a la finestra del gedit." +"nou a la finestra del pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1908,21 +1908,21 @@ msgstr "" "Alternativament, podeu utilitzar el connector Eines externes per a conduir la sortida d'una ordre al fitxer actual." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Dreceres de teclat" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Utilitzeu les dreceres de teclat per a realitzar tasques més ràpidament que " "amb el ratolí i els menús. Les taules següents llisten totes les dreceres de " -"teclat del gedit." +"teclat del pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1932,425 +1932,425 @@ msgstr "" "l'escriptori." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Pestanyes" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Dreceres per a les pestanyes:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Tecla de drecera" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Ordre" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + RePàg" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Commuta a la pestanya següent a l'esquerra." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + AvPàg" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Commuta a la pestanya següent a la dreta." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Tanca la pestanya." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Maj + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Desa totes les pestanyes." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Maj + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Tanca totes les pestanyes." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Salta a l'enèsima pestanya." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Fitxers" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Dreceres per a treballar amb fitxers:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Crea un document nou." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Obre un document." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Obre una ubicació." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Desa el document actual al disc." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Maj + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Desa el document actual amb un nom de fitxer nou." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Imprimeix el document actual." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Maj + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Previsualitza la impressió." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Tanca el document actual." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Surt del gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Surt del pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Edita" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Dreceres per a editar documents:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Desfés l'última acció." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Maj + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Refés l'última acció desfeta." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Retalla el text o regió seleccionat i el col·loca al porta-retalls." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Copia el text o regió seleccionat al porta-retalls." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Enganxa el contingut del porta-retalls." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Selecciona-ho tot." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Suprimeix la línia actual." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) #, fuzzy #| msgid "Alt + n" msgid "Alt + Up" msgstr "Alt + n" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "" -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) #, fuzzy #| msgid "Alt + n" msgid "Alt + Down" msgstr "Alt + n" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) #, fuzzy #| msgid "Copy the selected text or region onto the clipboard." msgid "Move the selected line down one line." msgstr "Copia el text o regió seleccionat al porta-retalls." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Subfinestres" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Dreceres per a mostrar i amagar les subfinestres:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Mostra/amaga la subfinestra lateral." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Mostra/amaga la subfinestra inferior." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Cerca" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Dreceres per a cercar:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Cerca una cadena." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Cerca la instància següent de la cadena." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Maj + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Cerca la instància anterior de la cadena." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Cerca interactiva." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Cerca i reemplaça." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Maj + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Neteja el ressaltat." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Ves a la línia." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Eines" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Dreceres per a les eines:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Maj + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Comprova l'ortografia (amb connector)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Suprimeix els espais al final de les línies (amb connector)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Sagna (amb connector)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Maj + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Suprimeix el sagnat (amb connector)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Executa el «make» al directori actual (amb connector)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Maj + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Llistat del directori (amb connector)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Ajuda" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Dreceres per a l'ajuda:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "Obre el manual d'usuari del gedit." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "Obre el manual d'usuari del pluma." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Preferències" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Per a configurar el gedit, trieu " +"Per a configurar el pluma, trieu " "EditaPreferències. El diàleg Preferències conté les " "categories següents:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Visualitza les preferències" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2361,7 +2361,7 @@ msgstr "" "continuar pel final de la finestra de text. Això evita haver de desplaçar-se " "horitzontalment." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2372,20 +2372,20 @@ msgstr "" "sencera quan el text salti a la línia següent. Això fa el text més fàcil de " "llegir." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Seleccioneu l'opció Mostra els números de línia per a " "mostrar els números de línia a la banda esquerra de la finestra del " -"gedit." +"pluma." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Línia actual" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2393,11 +2393,11 @@ msgstr "" "Seleccioneu l'opció Ressalta la línia actual per a " "ressaltar la línia on està ubicat el cursor." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Marge dret" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2405,7 +2405,7 @@ msgstr "" "Seleccioneu l'opció Mostra el marge dret per a mostrar " "una línia vertical que indica el marge dret." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2413,11 +2413,11 @@ msgstr "" "Utilitzeu el quadre de selecció de valors Marge dret a la columna per a especificar la ubicació de la línia vertical." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Coincidència de claudàtors" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2427,36 +2427,36 @@ msgstr "" "per a ressaltar el claudàtor corresponent quan el cursor està ubicat en un " "caràcter de claudàtor." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Preferències de l'editor" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Utilitzeu el quadre de selecció de valors Amplada de la tabulació per a especificar l'amplada de l'espai que el gedit per a especificar l'amplada de l'espai que el pluma insereix quan premeu la tecla Tab." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Seleccioneu l'opció Insereix espais en comptes de tabulacions per a especificar que el gedit " +"guilabel> per a especificar que el pluma " "insereixi espais enlloc d'un caràcter de tabulació quan premeu la tecla " "Tab." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Sagnat automàtic" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2465,11 +2465,11 @@ msgstr "" "especificar que la línia següent inicia el nivell de sagnat a la línia " "actual." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Desament de fitxers" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2480,7 +2480,7 @@ msgstr "" "cop que deseu el fitxer. La còpia de seguretat del fitxer conté un ~ al " "final del nom de fitxer." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2491,41 +2491,41 @@ msgstr "" "regulars. Utilitzeu el quadre de selecció de valors per a especificar " "l'interval per a desar el fitxer." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Preferències de tipus de lletra i colors" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Tipus de lletra" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Seleccioneu l'opció Utilitza el tipus de lletra del tema " "predeterminat per a utilitzar el tipus de lletra del sistema " -"predeterminat per al text a la finestra de text del geditpluma." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "El camp Tipus de lletra de l'editor mostra el tipus de " -"lletra que el gedit utilitza per a mostrar el " +"lletra que el pluma utilitza per a mostrar el " "text. Feu clic al botó per a especificar el tipus de lletra, l'estil i la " "mida a utilitzar per al text." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Esquema de colors" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2533,47 +2533,47 @@ msgstr "" "Podeu triar un esquema de color des de la llista d'esquemes de colors. Per " "defecte, els esquemes de color següents estan instal·lats:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Clàssic" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Esquema de color clàssic basat en l'esquema de color del gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Esquema de color basat en el blau." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "Esquema de color que s'utilitza en l'editor de text Kate." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Esquema de color fosc que utilitza la paleta de colors del Tango." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Esquema de color que utilitza la paleta de colors del Tango." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2581,7 +2581,7 @@ msgstr "" "Podeu afegir un esquema de color nou fent clic a Afegeix... i seleccionant el fitxer d'esquema de color." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2589,34 +2589,34 @@ msgstr "" "Podeu suprimir l'esquema de color seleccionat fent clic a " "Suprimeix" -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Preferències dels connectors" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Els connectors afegeixen funcions extres al geditpluma. Per a obtenir més informació sobre els connectors i com " -"utilitzar connectors integrats, vegeu la ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Com habilitar un connector" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Per a habilitar un connector del gedit, realitzeu " +"Per a habilitar un connector del pluma, realitzeu " "els passos següents:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2624,18 +2624,18 @@ msgstr "" "Trieu EditaPreferències." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Seleccioneu la pestanya Connectors." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Seleccioneu la casella de selecció al costat del nom del connector que voleu " "habilitar." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2643,26 +2643,26 @@ msgstr "" "Feu clic a Tanca per a tancar el diàleg " "Preferències." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Com inhabilitar un connector" -#: C/gedit.xml:1317(para) +#: C/pluma.xml:1317(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Un connector continuarà habilitat quan sortiu del geditpluma." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Per a inhabilitar un connector del gedit, " +"Per a inhabilitar un connector del pluma, " "realitzeu els passos següents:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2670,84 +2670,84 @@ msgstr "" "Desseleccioneu la casella de selecció al costat del nom del connector que " "voleu inhabilitar." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Connectors" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Treball amb connectors" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Podeu afegir funcions addicionals al gedit en " +"Podeu afegir funcions addicionals al pluma en " "habilitar connectors. Un connector és un programa " "addicional que millora la funcionalitat d'una aplicació. Els connectors " -"afegeixen elements nous als menús del gedit per a " +"afegeixen elements nous als menús del pluma per a " "les funcions noves que proporcionen." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Diversos connectors ja venen integrats amb el geditpluma i en podeu instal·lar més. El lloc web del gedit llista connectors " +"live.gnome.org/Pluma/Plugins\">lloc web del pluma llista connectors " "de tercers." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Per a habilitar i inhabilitar connectors o veure quins connectors estan " -"habilitats actualment, vegeu les Preferències dels connectors." -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Els connectors següents venen integrats amb el geditpluma:" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Canvia les " +"Canvia les " "majúscules/minúscules us permet canviar les majúscules/" "minúscules del text seleccionat." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Estadístiques del document mostra el número de " "línies, paraules i caràcters al document." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Eines externesEines externes us permet executar ordres externes des del " -"gedit." +"pluma." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2755,98 +2755,98 @@ msgstr "" "Navegador de fitxers us permet navegar pels " "fitxers i carpetes a la subfinestra lateral." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Sagna les líniesSagna les línies afegeix i suprimeix el sagnat a les línies seleccionades." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Insereix la " +"Insereix la " "data/hora afegeix la data i hora actuals a un document." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"Modes de líniaModes de línia us permet establir preferències d'edició per a documents " "individuals i admet estils de modes de línia de l'Emacs, el Kate i el Vim." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Consola PythonConsola Python us permet executar ordres en el llenguatge de " "programació Python." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"FragmentsFragments us permet emmagatzemar fragments de text utilitzats " "freqüentment i inserir-los ràpidament a un document." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"Ordena " +"Ordena " "ordena les línies de text seleccionades en ordre alfabètic." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Comprovador " +"Comprovador " "d'ortografia corregeix l'ortografia del text " "seleccionat o marca automàticament els errors al document." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Llistat de marcadorsLlistat de marcadors us permet inserir marcadors utilitzats freqüentment per " "a HTML i altres llenguatges des d'una llista a la subfinestra lateral." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Per a obtenir més informació sobre com crear connectors, vegeu el lloc web del " -"gedit." +"type=\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">lloc web del " +"pluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Connector de canvi de les majúscules/minúscules" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2854,7 +2854,7 @@ msgstr "" "El connector Canvia les majúscules/minúscules " "canvia les majúscules/minúscules del text seleccionat." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2863,52 +2863,52 @@ msgstr "" "s'habilita el connector Canvia les majúscules/minúscules." -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Element del menú" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Acció" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Exemple" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Canvia les majúscules/minúscules" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Tot en majúscules" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Canvia cada caràcter a majúscules" -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "Aquest text es torna AQUEST TEXT" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Tot en minúscules" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Canvia cada caràcter a minúscules." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "Aquest text es torna aquest text" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Inverteix les majúscules/minúscules" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." @@ -2916,27 +2916,27 @@ msgstr "" "Canvia cada caràcter en minúscules a majúscules i canvia cada caràcter en " "majúscules a minúscules." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "Aquest Text es torna aQUEST tEXT" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Majúscules/minúscules del títol" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Canvia els primer caràcter de cada paraula a majúscules." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "aquest text es torna Aquest Text" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Connector d'estadístiques del document" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2950,7 +2950,7 @@ msgstr "" "Estadístiques del document. Per a utilitzar el " "connector Estadístiques del document, realitzeu els passos següents:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsEstadístiques del document mostra la informació següent " "sobre el fitxer:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Número de línies al document actual." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Número de paraules al document actual." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "Número de caràcters, incloent-hi els espais, al document actual." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Número de caràcters, sense incloure-hi el espais, al document actual." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "Número de bytes al document actual." -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Podeu seguir actualitzant el fitxer del gedit " +"Podeu seguir actualitzant el fitxer del pluma " "mentre el diàleg Estadístiques del document està obert. " "Per a refrescar els continguts del diàleg Estadístiques del " "document, feu clic a Actualitza." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Connector d'eines externes" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "El connector Eines externes us permet executar " -"ordres externes des del gedit. Podeu conduir " +"ordres externes des del pluma. Podeu conduir " "contingut a una ordre i explotar la seva sortida (per exemple el " "sed) o executar una ordre predefinida (per " "exemple el make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsEines." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Ordres integrades" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3035,39 +3035,39 @@ msgstr "" "El connector Eines externes proporciona les " "ordres següents:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Munta" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "" "Executa el make al directori actual del document." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Llistat del directori" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" "Llista els continguts del directori actual del document en un document nou." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Variables d'entorn" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Mostra la llista de variables d'entorn a la subfinestra inferior." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3076,19 +3076,19 @@ msgstr "" "utilitzant un patró de coincidència. Els resultats es mostren a la " "subfinestra inferior." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Suprimeix espais al final de les línies" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Suprimeix tots els espais al final de les línies del document." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Com definir una ordre" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3096,7 +3096,7 @@ msgstr "" "Per a afegir una ordre externa, trieu EinesEines externes." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3106,45 +3106,45 @@ msgstr "" "Nou. Podeu especificar els detalls següents per a una " "ordre nova:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Descripció" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Aquesta descripció es mostra a la barra d'estat quan es tria l'ordre del " "menú." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Accelerador" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Introduïu una drecera de teclat per a l'ordre." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Ordres" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Les ordres actuals a executar. Es poden utilitzar diverses variables " -"d'entorn del gedit per a passar contingut a " -"aquestes ordres. Vegeu la pluma per a passar contingut a " +"aquestes ordres. Vegeu la ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Entrada" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3152,11 +3152,11 @@ msgstr "" "El contingut a donar a les ordres (com ara stdin): " "el text sencer del document actual o la selecció, línia o paraula actual." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Sortida" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3166,11 +3166,11 @@ msgstr "" "col·locar a un document nou o col·locar al document actual al final, a la " "posició del cursor o reemplaçant la selecció o tot el document." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Aplicabilitat" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3178,22 +3178,22 @@ msgstr "" "Determina quins tipus de documents poden ser afectats per l'ordre, per " "exemple si s'han desat o no i si són locals o remots." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Com editar i suprimir eines" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Per a editar una eina, seleccioneu-la a la llista i realitzeu canvis a les " "seves propietats." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Per a canviar el nom d'una eina, feu clic un altre cop a la llista." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3201,7 +3201,7 @@ msgstr "" "Per a restaurar una eina integrada que heu canviat, premeu " "Recupera." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3211,11 +3211,11 @@ msgstr "" "Suprimeix. No podeu suprimir eines integrades, només " "aquelles que heu creat." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Variables" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3223,39 +3223,39 @@ msgstr "" "Podeu utilitzar les variables següents al camp Ordres " "de la definició de l'ordre:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Connector de navegador de fitxers" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3264,7 +3264,7 @@ msgstr "" "vostres fitxers i carpetes a la subfinestra lateral, permetent-vos obrir " "ràpidament els fitxers." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3275,11 +3275,11 @@ msgstr "" "guimenuitem> i feu clic a la pestanya que mostra la icona del " "navegador de fitxers a la part inferior de la subfinestra lateral." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Com navegar pels vostres fitxers" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3288,7 +3288,7 @@ msgstr "" "d'interes del vostre gestor de fitxers. Per a navegar pels continguts de " "qualsevol element, feu-hi doble clic." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3296,7 +3296,7 @@ msgstr "" "Per a mostrar una carpeta pare, trieu-la a la llista desplegable o premeu la " "fletxa amunt a la barra d'eines del navegador de fitxers." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3306,19 +3306,19 @@ msgstr "" "actualment, feu clic amb el botó secundari a la llista de fitxers i trieu " "Establiu l'arrel del document actiu." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Per a obrir un fitxer al gedit, feu-hi doble clic " +"Per a obrir un fitxer al pluma, feu-hi doble clic " "a la llista de fitxers." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Com crear fitxers i carpetes" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3327,7 +3327,7 @@ msgstr "" "al navegador, feu clic amb el botó secundari a la llista de fitxers i trieu " "Fitxer nou." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3336,11 +3336,11 @@ msgstr "" "feu clic amb el botó secundari a la llista de fitxers i trieu " "Carpeta nova." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Connector de sagnat de línies" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3348,12 +3348,12 @@ msgstr "" "El connector Sagna les línies afegeix o suprimeix " "espai a l'inici de les línies de text." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" "Per a sagnar o desfer el sagnat del text, realitzeu els passos següents:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3361,7 +3361,7 @@ msgstr "" "Seleccioneu les línies que voleu sagnar. Per a sagnar o desfer el sagnat " "d'una sola línia, col·loqueu el cursor a qualsevol lloc d'aquesta línia." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3369,7 +3369,7 @@ msgstr "" "Per a sagnar el text, trieu EditaSagna." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3377,22 +3377,22 @@ msgstr "" "Per a suprimir el sagnat, trieu EditaDesagna." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "La quantitat d'espai utilitzat i si s'ha d'utilitzar el caràcter de " "tabulació o caràcters d'espai; depèn dels paràmetres Tabulacions a l'editor de preferències. Vegeu la a l'editor de preferències. Vegeu la ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Connector d'inserció de la la data/hora" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3402,7 +3402,7 @@ msgstr "" "data i hora actual a un document. Per a utilitzar el connector d'inserir la " "data/hora, realitzeu els passos següents:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3410,51 +3410,51 @@ msgstr "" "Trieu EditaInsereix la data i " "hora." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Si no teniu configurat el connector d'inserció de la la data/hora per a " "inserir automàticament la data/hora sense sol·licitar-vos-en el format, el " -"gedit mostrarà el diàleg Insereix la " +"pluma mostrarà el diàleg Insereix la " "data i hora. Seleccioneu el format apropiat de data/hora de la " "llista. Feu clic a Insereix per a tancar el diàleg " -"Insereix la data i hora. El geditInsereix la data i hora. El pluma inserirà la data/hora a la posició del cursor a la fila actual." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Si heu configurat el gedit per a utilitzar un " +"Si heu configurat el pluma per a utilitzar un " "format particular de data/hora, no es mostrarà el diàleg Insereix " "la data i hora. La data/hora s'inserirà automàticament a la " "posició del cursor a la fila actual." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Configuració del connector d'inserir la data/hora" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "Per a configurar el connector d'inserir la data/hora, realitzeu els passos " "següents:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Seleccioneu el connector Insereix la data/hora." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3462,11 +3462,11 @@ msgstr "" "Feu clic a Configura el connector per a mostrar el " "diàleg Configura el connector per inserir la data/hora." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Seleccioneu una de les opcions, tal com es mostra:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3474,25 +3474,25 @@ msgstr "" "Per a especificar el format de data/hora cada cop que inseriu la data/hora, " "seleccioneu l'opció Pregunta per un format." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"Per a utilitzar el mateix format proporcionat pel geditpluma cada cop que inseriu la data/hora, seleccioneu l'opció " "Utilitza el format seleccionat, llavors seleccioneu el " "format apropiat de la llista. Quan seleccioneu aquesta opció, el " -"gedit no us sol·licitarà el format de la data/" +"pluma no us sol·licitarà el format de la data/" "hora quan trieu EditaInsereix la " "data i hora." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3500,7 +3500,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3511,11 +3511,11 @@ msgstr "" "el strftime3. Quan seleccioneu aquesta opció, el " -"gedit no us sol·licitarà el format de la data/" +"pluma no us sol·licitarà el format de la data/" "hora quan trieu EditaInsereix la " "data i hora." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3523,7 +3523,7 @@ msgstr "" "Feu clic a D'acord per a tancar el diàleg " "Configura el connector per inserir la data/hora." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3531,23 +3531,23 @@ msgstr "" "Per a tancar el diàleg Preferències, feu clic a " "Tanca." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Connector de modes de línia" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "El connector Modes de línia us permet establir " "les preferències per a documents individuals. Un mode de línia és una línia de text a l'inici o final del document amb " -"paràmetres que el gedit reconeix." +"paràmetres que el pluma reconeix." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3555,27 +3555,27 @@ msgstr "" "Les preferències establertes utilitzant els modes de línia tenen preferència " "sobre les especificades al diàleg de preferències." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "Podeu establir les preferències següents amb els modes de línia:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Amplada de la tabulació" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Amplada del sagnat" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Inserir espais en comptes de tabuladors" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Amplada del marge dret" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3586,11 +3586,11 @@ msgstr "" "l'Emacs, el Kate i el " "Vim." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Modes de línia de l'Emacs" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3598,7 +3598,7 @@ msgstr "" "Les primeres dues línies d'un document s'analitzen cercant modes de línia de " "l'Emacs." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3610,11 +3610,11 @@ msgstr "" "vegeu el Manual del GNU Emacs." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Modes de línia del Kate" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3622,7 +3622,7 @@ msgstr "" "Les primeres i últimes deu línies d'un document s'analitzen cercant modes de " "línia del Kate." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3634,11 +3634,11 @@ msgstr "" "informació, vegeu el lloc web del Kate." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Modes de línia del Vim" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3646,7 +3646,7 @@ msgstr "" "Les primeres i últimes tres línies d'un document s'analitzen cercant modes " "de línia del Vim." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3658,38 +3658,38 @@ msgstr "" "informació, vegeu el lloc web del Vim." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Connector de consola Python" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "El connector Consola Python us permet executar " -"ordres en el llenguatge de programació Python des del geditpluma. En habilitar el connector s'afegirà una pestanya a la " "subfinestra inferior. Aquest mostra l'última sortida i un camp d'entrada " "d'ordres." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Les ordres introduïdes a la consola Python no es comproven abans d'executar-" -"les. Per tant és possible penjar el gedit, per " +"les. Per tant és possible penjar el pluma, per " "exemple en introduir un bucle infinit." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Connector de fragments" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3699,7 +3699,7 @@ msgstr "" "fragments de text utilitzats normalment, anomenats fragments, i inserir-los ràpidament a un document." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3711,19 +3711,19 @@ msgstr "" "des d'una llista de fragments que són útils per a l'HTML. A més, alguns " "fragments són globals i estan disponibles a tots els documents." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Un número de fragments integrats s'instal·len amb el geditpluma, els quals poden ser modificats." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Com inserir fragments" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3736,7 +3736,7 @@ msgstr "" "primeres lletres del fragment o alguna altra cosa que sigui curta i fàcil de " "recordar." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3744,15 +3744,15 @@ msgstr "" "Alternativament, premeu CtrlEspai per a veure una llista dels fragments que podeu inserir." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Com afegir fragments" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Per a crear un fragment nou, feu el següent:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3762,7 +3762,7 @@ msgstr "" "guimenuitem>. S'obrirà la finestra Gestor de " "fragments." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3775,21 +3775,21 @@ msgstr "" "la part superior de la llista. Per defecte es mostrarà la sintaxi del " "document en el qual esteu treballant actualment." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Feu clic a Nou. Apareixerà un fragment nou a la " "llista." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Introduïu la informació següent per al fragment nou:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Nom" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3799,21 +3799,21 @@ msgstr "" "El nom d'un fragment només serveix com a recordatori del seu propòsit. Podeu " "canviar el nom d'un fragment que heu creat en fer-hi clic a la llista." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Text del fragment" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Introduïu el text del fragment al quadre de text Edita el " "fragment. Per a saber els codis especials que podeu utilitzar, " -"vegeu la ." +"vegeu la ." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3821,11 +3821,11 @@ msgstr "" "Podeu tornar a la finestra del document per a copiar text sense tancar la " "finestra del Gestor de fragments." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Disparador de tabulador" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3834,7 +3834,7 @@ msgstr "" "heu d'escriure abans de prémer Tab per a inserir el " "fragment." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3844,19 +3844,19 @@ msgstr "" "El Disparador de tabulador es ressaltarà en vermell si " "s'ha introduït un disparador de tabulador no vàlid." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Tecla de drecera" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Introduïu una tecla de drecera a utilitzar per a inserir el fragment." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Com editar i suprimir fragments" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3864,12 +3864,12 @@ msgstr "" "Per a editar un fragment, seleccioneu-lo a la llista i realitzeu els canvis " "a les seves propietats d'activació i text." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "" "Per a canviar el nom d'un fragment, feu-hi clic un altre cop a la llista." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3877,7 +3877,7 @@ msgstr "" "Per a restaurar un fragment integrat que heu modificat, premeu " "Recupera." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3887,11 +3887,11 @@ msgstr "" "Suprimeix. No podeu suprimir fragments integrats, " "només aquells que heu creat." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Substitució de fragments" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3901,16 +3901,16 @@ msgstr "" "personalitzat o marcar els espais on podeu afegir text un cop s'hagi inserit " "el fragment al document." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "Podeu utilitzar els codis de text variable següents al text del fragment:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Texts variables per a tabuladors" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3919,7 +3919,7 @@ msgstr "" "per a tabulador, on n és qualsevol número des d'un en " "amunt." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3928,7 +3928,7 @@ msgstr "" "literal> defineix un text variable per a tabulador amb un valor " "predeterminat." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3936,7 +3936,7 @@ msgstr "" "Un text variable per a tabulador marca un espai al text del fragment on " "podeu afegir text addicional després d'inserir el fragment." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3949,7 +3949,7 @@ msgstr "" "variable per a tabulador. El número al codi del text variable defineix " "l'ordre en què avançarà la tabulació a cada ubicació del text." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3961,11 +3961,11 @@ msgstr "" "keycap> quan no hi ha més texts variables per a tabulador es mourà el cursor " "al final del text del fragment o al final del text variable si existeix." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Rèpliques de texts variables" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3975,11 +3975,11 @@ msgstr "" "definit. Això us permet escriure un sol cop el text que voleu que aparegui " "diverses vegades al fragment." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Text variable de final" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3989,34 +3989,34 @@ msgstr "" "de finalitzar de treballar amb el fragment amb el cursor a un punt diferent " "que el final del fragment de text." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Variables d'entorn" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Les variables d'entorn com ara $PATH i $HOME són substituïdes al fragment de text. També es poden utilitzar les " -"variables d'entorn següents específiques del geditpluma." -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "El text seleccionat actualment." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -4024,11 +4024,11 @@ msgstr "" "El nom de fitxer complet del document o una cadena buida si el document " "encara no s'ha desat." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4036,11 +4036,11 @@ msgstr "" "El nom base del nom de fitxer del document o una cadena buida si el document " "encara no s'ha desat." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4048,11 +4048,11 @@ msgstr "" "La paraula a la ubicació del cursor al document. Quan s'utilitza aquesta " "variable, la paraula actual serà reemplaçada pel fragment de text." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Texts variables de l'interpret d'ordres" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4060,7 +4060,7 @@ msgstr "" "$(cmd) és reemplaçat pel " "resultat d'executar cmd a l'interpret d'ordres." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4074,11 +4074,11 @@ msgstr "" "$n per a utilitzar la sortida " "d'un text variable de l'interpret d'ordres com a entrada d'una altre." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Texts variables de Python" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4087,7 +4087,7 @@ msgstr "" "$<cmd> és reemplaçat pel " "resultat d'avaluar cmd a l'interpretador Python." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4105,7 +4105,7 @@ msgstr "" "aquestes: $<a,b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4113,11 +4113,11 @@ msgstr "" "Per a utilitzar una variable a tots els altres fragments Python, declareu-la " "com a global." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Connector d'ordenació" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4125,7 +4125,7 @@ msgstr "" "El connector Ordena col·loca les línies " "seleccionades de text en ordre alfabètic." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4137,16 +4137,16 @@ msgstr "" "fitxer després de l'operació d'ordenar, trieu FitxerRestaura." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "" "Per a utilitzar el connector d'ordenació, realitzeu els passos següents:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Seleccioneu les línies de text que voleu ordenar." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4154,11 +4154,11 @@ msgstr "" "Trieu EditaOrdena. S'obrirà el diàleg Ordena." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Trieu les opcions que voleu per a l'ordenació:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4166,20 +4166,20 @@ msgstr "" "Per a ordenar el text en ordre invers, seleccioneu Inverteix " "l'ordre." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Per a suprimir les línies duplicades, seleccioneu Suprimeix els " "duplicats." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Per a ignorar les diferències de majúscules i minúscules, seleccioneu " "Ignora diferències de majúscules i minúscules." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4189,33 +4189,33 @@ msgstr "" "establiu el primer caràcter que s'hauria d'utilitzar per a ordenar al quadre " "de selecció de valors Comença per la columna." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "" "Per a realitzar l'operació d'ordenació, feu clic a Ordena." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Connector de comprovació d'ortografia" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "El connector Comprovador d'ortografia comprova " -"l'ortografia del text seleccionat. Podeu configurar el geditpluma per a comprovar l'ortografia automàticament o podeu comprovar " "l'ortografia manualment, en l'idioma especificat. L'idioma i la comprovació " "automàtica d'ortografia s'apliquen per a cada document. Per a utilitzar el " "connector de comprovació d'ortografia, realitzeu els passos següents:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4228,7 +4228,7 @@ msgstr "" "D'acord per a tancar el diàleg Especifica " "l'idioma." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4236,7 +4236,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Per a comprovar l'ortografia automàticament, trieu " @@ -4248,9 +4248,9 @@ msgstr "" "d'ortografia automàtica es mostra una icona al costat de l'element del menú " "Comprova l'ortografia automàticament. La " "comprovació d'ortografia automàtica està desactivada per defecte, cada cop " -"que s'inicia el gedit." +"que s'inicia el pluma." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsSuggeriments d'ortografia des del menú emergent:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4270,7 +4270,7 @@ msgstr "" "seleccioneu la paraula substituta des del menú emergent " "Suggeriments d'ortografia." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddSuggeriments d'ortografiaAfegeix." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Per a ignorar totes les ocurrències de la paraula desconeguda, de manera que " "no es marcaran més com a desconegudes però no s'afegiran al vostre " "diccionari personal, seleccioneu Suggeriments " "d'ortografiaIgnora-ho tot. " "La paraula desconeguda només s'ignorarà a la sessió actual del " -"gedit." +"pluma." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4303,7 +4303,7 @@ msgstr "" "Per a comprovar l'ortografia manualment, trieu EinesComprova l'ortografia." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4315,7 +4315,7 @@ msgstr "" "escrites. Feu clic a D'acord per a tancar el diàleg " "Informació." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4323,7 +4323,7 @@ msgstr "" "Si hi ha errors ortogràfics, es mostrarà el diàleg Comprova " "l'ortografia:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4331,7 +4331,7 @@ msgstr "" "La Paraula mal escrita es mostrarà a la part superior " "del diàleg." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4344,7 +4344,7 @@ msgstr "" "guilabel> o podeu introduir directament el text al quadre de text " "Canvia a." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4359,20 +4359,20 @@ msgstr "" "paraula no és coneguda, apareixeran entrades noves a la llista " "Suggeriments." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Per a ignorar l'ocurrència actual de la paraula desconeguda, feu clic a " "Ignora. Per a ignorar totes les ocurrències de la " "paraula desconeguda, feu clic a Ignora-ho tot. La " "paraula desconeguda només s'ignorarà a la sessió actual del " -"gedit." +"pluma." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeCanvia a, feu clic a " "Canvia-ho tot." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4394,7 +4394,7 @@ msgstr "" "Per a afegir la paraula desconeguda al vostre diccionari personal, feu clic " "a Afegeix una paraula." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4402,11 +4402,11 @@ msgstr "" "Per a tancar el diàleg Comprova l'ortografia, feu clic " "a Tanca." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Connector del llistat de marcadors" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4414,13 +4414,13 @@ msgstr "" "El connector Llistat de marcadors us permet " "inserir marcadors habituals des d'una llista a la subfinestra lateral." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" "Per a utilitzar el connector del llistat de marcadors, realitzeu els passos " "següents:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4428,7 +4428,7 @@ msgstr "" "Trieu VisualitzaSubfinestra " "lateral." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4439,7 +4439,7 @@ msgstr "" "inferior de la subfinestra lateral per a mostrar la pestanya del llistat de " "marcadors." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4447,12 +4447,12 @@ msgstr "" "Seleccioneu la categoria de marcadors apropiada des de la llista " "desplegable. Per exemple HTML - Marcadors." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "" "Desplaceu-vos pel llistat de marcadors per a trobar el marcador necessari." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4461,7 +4461,7 @@ msgstr "" "doble clic al marcador al llistat de marcadors. També podeu inserir un " "marcador com segueix:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4470,7 +4470,7 @@ msgstr "" "subfinestra lateral a l'àrea de visualització, premeu Retorn." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftMajRetorn." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Joan Duran , 2009" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "Nom d'usuariNom d'usuari insereix el nom d'usuari de l'usuari actual al " #~ "document." @@ -4513,70 +4513,70 @@ msgstr "Joan Duran , 2009" #~ "d'usuari." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "Per a obtenir més informació sobre com configurar el ressaltat de la " -#~ "sintaxi, vegeu la ." +#~ "sintaxi, vegeu la ." #~ msgid "Colors" #~ msgstr "Colors" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Seleccioneu l'opció Utilitza els colors del tema predeterminat per a utilitzar el tema de colors predeterminat a la finestra " -#~ "de text del gedit." +#~ "de text del pluma." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Feu clic al botó de color Color del text normal " #~ "per a mostrar el diàleg del selector de color. Seleccioneu un color a " #~ "utilitzar per a mostrar el text normal a la finestra de text del " -#~ "gedit." +#~ "pluma." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Feu clic al botó de color Color de fons per a " #~ "mostrar el diàleg del selector de color. Seleccioneu un color de fons per " -#~ "a la finestra de text del gedit." +#~ "a la finestra de text del pluma." #~ msgid "" #~ "Click on the Selected text color color button to " diff --git a/help/ca/figures/gedit_window.png b/help/ca/figures/pluma_window.png similarity index 100% rename from help/ca/figures/gedit_window.png rename to help/ca/figures/pluma_window.png diff --git a/help/cs/cs.po b/help/cs/cs.po index 345fba2..09c4533 100755 --- a/help/cs/cs.po +++ b/help/cs/cs.po @@ -1,13 +1,13 @@ -# Czech translation of gedit help. -# Copyright (C) 2009 the author(s) of gedit. -# This file is distributed under the same license as the gedit help. +# Czech translation of pluma help. +# Copyright (C) 2009 the author(s) of pluma. +# This file is distributed under the same license as the pluma help. # -# Lucas Lommer , 2009. +# Lucas Lommer , 2009. # Marek Černocký , 2009, 2010. # msgid "" msgstr "" -"Project-Id-Version: gedit mate-2-32\n" +"Project-Id-Version: pluma mate-2-32\n" "POT-Creation-Date: 2010-09-23 21:10+0000\n" "PO-Revision-Date: 2010-09-25 08:31+0200\n" "Last-Translator: Marek Černocký \n" @@ -118,302 +118,302 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=736c106606da05187d3c1d14c5c6de29" +"@@image: 'figures/pluma_window.png'; md5=736c106606da05187d3c1d14c5c6de29" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Příručka k aplikaci Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Příručka k aplikaci Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Dokumentační projekt MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Přidána tabulka klávesových zkratek" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Dokumentační tým Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek poskytl informace z dřívějších revizích aplikace gedit." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek poskytl informace z dřívějších revizích aplikace pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Poděkování" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George poskytl informace o zásuvných modulech." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Příručka aplikace gedit, verze 2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Příručka aplikace pluma, verze 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Březen 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Dokumentační tým MATE společnosti Sun" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Příručka aplikace gedit, verze 2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Příručka aplikace pluma, verze 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Červen 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Příručka aplikace gedit, verze 2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Příručka aplikace pluma, verze 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Srpen 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Příručka aplikace gedit, verze 2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Příručka aplikace pluma, verze 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Září 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Příručka aplikace gedit, verze 2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Příručka aplikace pluma, verze 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Leden 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Příručka aplikace gedit, verze 2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Příručka aplikace pluma, verze 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Březen 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Příručka aplikace gedit, verze 2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Příručka aplikace pluma, verze 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Září 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Příručka aplikace gedit, verze 2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Příručka aplikace pluma, verze 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Březen 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Příručka aplikace gedit, verze 2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Příručka aplikace pluma, verze 2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Červenec 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Příručka aplikace gedit, verze 2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Příručka aplikace pluma, verze 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Dokumentační tým MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Tato příručka popisuje gedit ve verzi 2.16." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Tato příručka popisuje pluma ve verzi 2.16." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Ohlasy" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Pokud chcete oznámit chybu nebo navrhnout vylepšení vztahující se k aplikaci " -"gedit nebo této příručce, postupujte dle " +"pluma nebo této příručce, postupujte dle " "instrukcí na stránce Stránka s ohlasy na MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit je textový editor pro pracovní prostředí MATE poskytujíc základní, " +"pluma je textový editor pro pracovní prostředí MATE poskytujíc základní, " "nicméně robustní schopnosti, jako je tisk, kontrola pravopisu, hledání a " "nahrazování a zvýrazňování syntaxe. Další pokročilé funkce jsou k dispozici " "v podobě zásuvných modulů." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "textový editor" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Úvod" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"Pomocí aplikace gedit můžete vytvářet a upravovat " +"Pomocí aplikace pluma můžete vytvářet a upravovat " "textové soubory." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Aplikace gedit se snaží být jednoduchým a snadno " +"Aplikace pluma se snaží být jednoduchým a snadno " "použitelným textovým editorem. Složitější funkce lze doplnit různými " "zásuvnými moduly, což umožňuje provádět rozmanité " "činnosti související s úpravou textu." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Jak začít" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Spuštění gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Spuštění pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "gedit můžete spustit následujícími způsoby:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "pluma můžete spustit následujícími způsoby:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Nabídka Aplikace" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -421,64 +421,64 @@ msgstr "" "Zvolte PříslušenstvíTextový editor." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Příkazový řádek" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Spusťte následující příkaz: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Spusťte následující příkaz: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Standardně, pokud otevřete textový dokument ve správci souborů, tak se " -"spustí gedit a zobrazí dotyčný dokument." +"spustí pluma a zobrazí dotyčný dokument." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Okno aplikace gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Okno aplikace pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Když spustíte gedit, objeví se následující okno:" +"Když spustíte pluma, objeví se následující okno:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Okno aplikace gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Okno aplikace pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Zobrazuje hlavní okno aplikace gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Zobrazuje hlavní okno aplikace pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"Okno aplikace gedit obsahuje následující části:" +"Okno aplikace pluma obsahuje následující části:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Panel nabídek" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Nabídky v panelu nabídek obsahují všechny příkazy, které jsou zapotřebí pro " -"práci v gedit." +"práci v pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Panel nástrojů" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -486,35 +486,35 @@ msgstr "" "Panel nástrojů obsahuje část nejpoužívanějších příkazů ze celého panelu " "nabídek." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Zobrazovací plocha" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Zobrazovací plocha obsahuje text ze soubory, který upravujete." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Stavový řádek" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "Stavový řádek zobrazuje informace o současných činnostech " -"gedit a kontextové informace položkám nabídek. " +"pluma a kontextové informace položkám nabídek. " "Stavový řádek rovněž obsahuje následující informace:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "Umístění kurzoru: číslo řádku a sloupce, kde se kurzor nachází." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -526,11 +526,11 @@ msgstr "" "stavový řádek obsahuje text PŘE. Režim můžete přepnout " "klávesou Insert." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Postranní panel" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -538,7 +538,7 @@ msgstr "" "Postranní panel obsahuje seznam otevřených dokumentů a další informace " "závislé na tom, které zásuvné moduly jsou povolené." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneZobrazitPostranní panel." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Spodní panel" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -560,7 +560,7 @@ msgstr "" "Spodní panel využívají programátorské nástroje, jako je zásuvný modul " "Konzola Pythonu k zobrazení výstupu." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneZobrazitSpodní panel." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Pokud kliknete pravým tlačítkem v okně gedit, tak " +"Pokud kliknete pravým tlačítkem v okně pluma, tak " "aplikace zobrazí vyskakovací nabídku. Vyskakovací nabídka obsahuje " "nejběžnější příkazy pro úpravu textu." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Podobně jako v jiných aplikacích MATE, můžete v geditpluma provádět činnosti několika způsoby: s pomocí nabídek, s pomocí " "panelu nástrojů a nebo s pomocí klávesových zkratek. Klávesové zkratky " "obecné pro všechny aplikace jsou uvedené v Uživatelské přiručce." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Spouštění gedit z příkazového řádku" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Spouštění pluma z příkazového řádku" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"gedit můžete spustit z příkazového řádku a přitom " +"pluma můžete spustit z příkazového řádku a přitom " "otevřít jeden nebo i více souborů. Pokud chcete otevřít z příkazové řádky " "více souborů, napište příkaz podobně jako v následujícím příkladu a " "stiskněte Return:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "soubor1.txt soubor2.txt soubor3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Případně můžete místo názvu souboru zadat URI." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Více informací o tom, jak spustit gedit z " -"příkazové řádky najdete v unixových manuálových stránkách gedit geditpluma z " +"příkazové řádky najdete v unixových manuálových stránkách pluma pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Práce se soubory" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Vytváření nového dokumentu" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Nový dokument vytvoříte volbou SouborNový. Aplikace " -"gedit zobrazí v okně nový prázdný dokument." +"pluma zobrazí v okně nový prázdný dokument." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Otevírání souboru" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Pokud chcete otevřít soubor, zvolte SouborOtevřít a objeví se dialog " "Otevřít soubory. Zvolte soubor, který chcete otevřít a " "klikněte na Otevřít. Soubor se zobrazí v okně " -"gedit." +"pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Zobrazuje ikonu nabídky Nedávné soubory. " -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -685,25 +685,25 @@ msgstr "" "Soubor. Můžete je také zobrazit " "kliknutím na ikonu na panelu nástrojů." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"V gedit můžete otevřít více souborů naráz. " +"V pluma můžete otevřít více souborů naráz. " "Aplikace pro každý otevřený soubor přidá do okna další kartu. Více se o tom " -"dozvíte v ." +"dozvíte v ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Ukládání souboru" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Ukládat můžete soubory následujícími způsoby:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -711,7 +711,7 @@ msgstr "" "Pokud chcete uložit existující soubor, zvolte SouborUložit." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave As. V dialogu Uložit jako " "zadejte název souboru a klikněte na Uložit." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Pokud chcete uložit všechny soubory současně otevřené v geditpluma, zvolte DokumentyUložit vše." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Pro zavření všech souborů, které jsou současně v geditpluma otevřené, zvolte DokumentyZavřít vše." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Otevírání souboru z URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -755,7 +755,7 @@ msgstr "" "Pokud chcete otevřít soubor z Uniform Resource Identifier (URI), proveďte " "následující kroky:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -765,11 +765,11 @@ msgstr "" "guimenuitem> a zobrazí se dialog Otevřít umístění." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Zadejte URI souboru, který chcete otevřít." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -777,11 +777,11 @@ msgstr "" "Použijte vyskakovací seznam Kódování znaků k zadání " "správného kódování znaků." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Klikněte na Otevřít." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -791,7 +791,7 @@ msgstr "" "literal>, ftp:, file: a všechny další " "metody podporované mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -803,64 +803,64 @@ msgstr "" "soubory pouze číst. Soubory otevřené z FTP jsou pouze pro čtení, protože ne " "všechny FTP servery pracují korektně s ukládáním vzdálených souborů." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Ukládání na FTP servery můžete povolit v Editoru nastavení " -"nastavením klíče /apps/gedit-2/preferences/editor/save/" +"nastavením klíče /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, ale může to způsobovat chyby." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Práce s kartami." -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Pokud je otevřený víc než jeden soubor, gedit " +"Pokud je otevřený víc než jeden soubor, pluma " "vytvoří v zobrazovací oblasti pro každý dokument kartu. Mezi dokumenty se přepíná kliknutím na kartu." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Dokumenty můžete přesouvat mezi okny gedit, stačí " +"Dokumenty můžete přesouvat mezi okny pluma, stačí " "jednoduše přetáhnout příslušnou kartu myší do kterého okna chcete." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Pokud chcete dokument přesunout do nového okna geditpluma, tak přesuňte příslušnou kartu myší na plochu a nebo zvolte " "DokumentyPřesunout do nového " "okna." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Práce s textem" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Úprava textu" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Text souboru můžete upravovat následujícími postupy:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -870,7 +870,7 @@ msgstr "" "vkládací kurzor. Jeho pozici můžete měnit kurzorovými " "klávesami nebo kliknutím myší." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyUpravitKopírovat." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutUpravitVyjmout." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteUpravitVymazat." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Obsah schránky vložíte na aktuální pozici kurzoru pomocí " "UpravitVložit. Než můžete text vložit, musíte jej nejdříve nakopírovat nebo " -"vyjmout do schránky, ať už v gedit nebo jiné aplikaci." +"vyjmout do schránky, ať už v pluma nebo jiné aplikaci." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -919,11 +919,11 @@ msgstr "" "Všechen text v souboru označíte volbou UpravitVybrat vše." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Vracení a opětovné provádění změn" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -935,33 +935,33 @@ msgstr "" "menuchoice>. Opakem k této funkci je UpravitZnovu." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Vyhledávání a nahrazování" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"V programu gedit jsou dva způsoby, jak vyhledat " +"V programu pluma jsou dva způsoby, jak vyhledat " "text. Můžete použít dialog Hledat k hledání zadané " "části textu nebo Inkrementální hledání ke zvýraznění " "textu ve shodně s textem jak jej píšete." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Vyhledávání textu" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "Pokud chcete v souboru vyhledat textový řetězec, postupujte podle " "následujících kroků:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -969,30 +969,30 @@ msgstr "" "Zvolte HledatHledat a objeví se dialog Hledat." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Do pole Hledat zadejte řetězec, který chcete najít. " "Můžete zadat i různé speciální znaky, jako je třeba zalomení řádku nebo " -"tabelátor, jak je uvádí ." +"tabelátor, jak je uvádí ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Klikněte na Hledat a soubor se začne od současné " "pozice kurzoru prohledávat na výskyt zadaného řetězce. Jakmile " -"gedit najde první výskyt, tak nalezený řetězec " +"pluma najde první výskyt, tak nalezený řetězec " "vybere. Ostatní výskyty se zvýrazní." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextHledatHledat předchozí." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1020,7 +1020,7 @@ msgstr "" "guimenuitem> můžete i po zavření dialogu Hledat." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightHledatZrušit " "zvýrazňování." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Inkrementální vyhledávání" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1044,7 +1044,7 @@ msgstr "" "píšete písmenko po písmenku. (Funguje to podobně jako vyhledávání v " "některých webových prohlížečích.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1054,7 +1054,7 @@ msgstr "" "guimenu>Inkrementální hledání. V " "horní části zobrazovací plochy se objeví vyhledávací políčko." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1062,7 +1062,7 @@ msgstr "" "Stačí začít psát a v textu se budou zvýrazňovat shody. První výskyt od " "pozice kurzoru se navíc i vybere." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftG." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1083,11 +1083,11 @@ msgstr "" "Pro pohyb mezi nalezenými výskyty řetězce můžete použít i klávesové šipky " "nahoru a dolů nebo kolečko myši." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Nahrazování textu" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1095,7 +1095,7 @@ msgstr "" "Pokud chcete v souboru řetězec najít a nahradit jej jiným řetězcem, " "postupujte následovně:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1103,17 +1103,17 @@ msgstr "" "Zvolte HledatNahradit a zobrazí se dialog Nahradit." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Do pole Hledat zadejte řetězec, který chcete najít. " "Můžete zadat i různé speciální znaky, jako je třeba zalomení řádku nebo " -"tabelátor, jak je uvádí ." +"tabelátor, jak je uvádí ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1121,22 +1121,22 @@ msgstr "" "Řetězec, kterým chcete nahrazovat nalezený řetězec, zadejte do pole " "Nahradit za." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Pokud chcete každý nalezený výskyt řetězce před jeho nahrazení zkontrolovat, " -"klikněte na Hledat. Pokud geditHledat. Pokud pluma řetězec nalezne, tak jej vybere. Vy potom kliknete na " "Nahradit a vybraný řetězec se nahradí. Pro " "pokračování na další výskyt řetězce klikněte znovu na Hledat." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1144,11 +1144,11 @@ msgstr "" "Jestliže chcete nahradit úplně všechny výskyty řetězce v celém dokumenty, " "tak klikněte na Nahradit vše." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Volby vyhledávání a nahrazování" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1156,7 +1156,7 @@ msgstr "" "Oba dialog Hledat i Nahradit mají " "následující volby:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1167,7 +1167,7 @@ msgstr "" "že chcete hledat výskyt řetězců, které se shodují i velikostí písmen. " "Například s touto zapnutou volbou slovo „TEXT“ neodpovídá slovu „text“." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1179,7 +1179,7 @@ msgstr "" "slovo. Například se zapnutou touto volbou slovo „text“ neodpovídá slovu " "„textura“." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1187,7 +1187,7 @@ msgstr "" "Volba Hledat pozpátku způsobí, že se bude hledat od " "pozice kurzoru směrem k začátku dokumentu." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1195,11 +1195,11 @@ msgstr "" "Volba Přecházet přes okraj způsobí, že po dosažení " "konce dokumentu bude hledání pokračovat od opačného konce dokumentu." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Speciální znaky" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1207,35 +1207,35 @@ msgstr "" "Pro vyhledávání nebo nahrazování speciálních znaků můžete zadávat " "následující escape sekvence:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Představuje znak NL (nový řádek)." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Představuje znak tabelátor." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Představuje znak CR (na začátek řádku)" -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1248,11 +1248,11 @@ msgstr "" "Hledat zadat „\\\\n“. Jednoduše řečeno, každé zpětné " "lomítko, které hledáte, musíte zadat zdvojeně." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Umístění kurzoru na zadaný řádek" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. V horní části zobrazovací plochy se objeví " "políčka na zadání čísla řádku." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1271,7 +1271,7 @@ msgstr "" "Jakmile začnete psát číslo řádku, na který chcete kurzor přesunout, začne se " "dokument posouvat na zadaný řádek." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1279,15 +1279,15 @@ msgstr "" "Zadání dokončíte stiskem Return. Poličko zmizí a kurzor se " "přesune na zadaný řádek." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Tisk" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Nastavení voleb stránky" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1297,7 +1297,7 @@ msgstr "" "guimenu>Nastavení stránky a objeví " "se dialog Nastavení stránky." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1305,28 +1305,28 @@ msgstr "" "V dialogu Nastavení stránky můžete upravovat " "následující volby pro stránku:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Karta Všeobecné" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Tisk zvýrazňování syntaxe" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Zvolte tuto možnost, pokud chcete tisknout zvýrazněnou syntaxi. Více " -"informací o zvýrazňování syntaxe podává ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Tisk záhlaví stránky" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1334,11 +1334,11 @@ msgstr "" "Touto volbou zajistíte tisk záhlaví na každé vyjeté stránce. Vzhled záhlaví " "nelze nastavit." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Čísla řádků" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1346,7 +1346,7 @@ msgstr "" "Zvolte Tisknout čísla řádků, aby se při tisku souboru " "před každý řádek umístilo jeho číslo." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1356,11 +1356,11 @@ msgstr "" "jak často se mají čísla řádků tisknout. Například na každém 5 řádku, každém " "10 řádku atd." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Zalamování textu" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1370,7 +1370,7 @@ msgstr "" "souboru text zalamoval na úrovni znaků na nové řádky. Zalamování nemá vliv " "na číslování řádků, zlámaný řádek se počítá jako jeden." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1378,15 +1378,15 @@ msgstr "" "Zvolte Nerozdělovat slova na dva řádky, aby se text při " "tisku souboru zalamoval na další řádek na úrovni slov." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Písma" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Tělo" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1394,21 +1394,21 @@ msgstr "" "Klikněte na toto tlačítko, abyste mohli vybrat písmo použité pro tisk těla " "textu." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Čísla řádků" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Klikněte na toto tlačítko, abyste mohli vybrat písmo použité pro tisk čísel " "řádků." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Záhlaví a zápatí" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1416,46 +1416,46 @@ msgstr "" "Klikněte na toto tlačítko, abyste mohli vybrat písmo použité pro tisk " "záhlaví a zápatí." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"Výchozí písma pro tisk souborů z gedit nastavíte " +"Výchozí písma pro tisk souborů z pluma nastavíte " "zpátky kliknutím na Obnovit výchozí písma." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Tisk dokumentu" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"V gedit můžete provádět následující tiskové " +"V pluma můžete provádět následující tiskové " "operace:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Tisk dokumentu na tiskárnu" -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Tisk výstupu zpracování tisku do souboru" -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Pokud tisknete do souboru, gedit posílá výstup " +"Pokud tisknete do souboru, pluma posílá výstup " "do souboru v předtiskovém formátu. Nejběžnější předtiskové formáty jsou " "PostScript a Portable Document Format (PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewSouborNáhled před tiskem." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintSouborTisk, která vám zobrazí dialog Tisk." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1483,33 +1483,33 @@ msgstr "" "Dialog Tisk vám dovoluje přizpůsobit následující " "nastavení:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Karta Úloha" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Rozsah tisku" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Zvolte jednu z následujících možností pro určení, které stránky vytisknout:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Vše" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Tato volba způsobí vytisknutí všech stránek souboru." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Řádky" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1518,11 +1518,11 @@ msgstr "" "Touto volbou vytisknete jen určené řádky. V polích Od a " "do zadejte rozsah stránek." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Výběr" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1530,11 +1530,11 @@ msgstr "" "Tato volba způsobí, že se vytiskne jen vybraný text. Dostupná je ale jen v " "případě, že nějaký text vybraný je." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Kopie" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1542,7 +1542,7 @@ msgstr "" "V poli Kopie můžete zadat kolik kopií souboru chcete " "vytisknout." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1550,15 +1550,15 @@ msgstr "" "Pokud tisknete více kopií souboru, můžete volbou Setřídit zajistit, že se stránky správně seřadí." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Karta Tiskárna" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Tiskárna" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1566,15 +1566,15 @@ msgstr "" "Použijte tento vyskakovací seznam k výběru tiskárny, na kterou chcete soubor " "vytisknout." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Nastavení" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "V seznamu si zvolte nastavení tiskárny." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1584,25 +1584,25 @@ msgstr "" "guibutton>. Můžete například povolit nebo zakázat oboustranný tisk nebo " "naplánovat zpožděný tisk, pokud tiskárna tyto věci podporuje." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Místo" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "V tomto seznamu vyberte z následujících možností, kam se má tisk provést:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Tisknout soubor na tiskárnu CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1610,23 +1610,23 @@ msgstr "" "Pokud je vybraná tiskárna tiskárnou CUPS, pak je CUPS " "jedinou nabízenou volbou v tomto seznamu." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Tisknout soubor na tiskárnu." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Soubor" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Tisknut soubor do souboru formátu PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1634,15 +1634,15 @@ msgstr "" "Kliknutím na Uložit jako se zobrazí dialog, ve kterém " "můžete zadat název a umístění souboru formátu PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Uživatelský" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Použít zadaný příkaz pro tisk do souboru." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1650,31 +1650,31 @@ msgstr "" "Do textového pole zadejte název příkazu. Včetně všech voleb příkazového " "řádku." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Stav" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Tato funkcionalita není v této verzi gedit podporovaná." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Tato funkcionalita není v této verzi pluma podporovaná." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Typ" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Komentář" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Karta Papír" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Velikost papíru" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1682,11 +1682,11 @@ msgstr "" "V tomto vyskakovacím seznamu si zvolte velikost papíru, na který hodláte " "tisknout." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Šířka" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1694,39 +1694,39 @@ msgstr "" "V tomto poli můžete zadat šířku papíru. V přiléhajícím seznamu můžete zvolit " "jednotky, v kterých budete rozměry zadávat." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Šířka" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "V tomto poli můžete zadat výšku papíru." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientace podavače" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "" "V tomto vyskakovacím seznamu zadejte, jak je natočený papír v podavači." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientace papíru" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "" "V tomto vyskakovacím seznamu zvolte, jaká má být orientace papíru pro tisk." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Rozvržení" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1734,37 +1734,37 @@ msgstr "" "Použijte tento vyskakovací seznam k volbě rozvržení stránky. V " "Náhledu se vám ukazuje, jak zvolené rozvržení vypadá." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Zdroj papíru" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "" "V tomto vyskakovacím seznamu můžete zvolit, ze kterého podavače bude " "tiskárna brát papír." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Programátorské funkce" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Několik programátorských funkcí je v gedit " +"Několik programátorských funkcí je v pluma " "nabízeno v podobě zásuvných modulů. Například zásuvný modul Seznam tagů " "poskytuje seznam nejpoužívanějších tagů pro různé značkovací jazyky: viz " -"." +"." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Zvýrazňování syntaxe" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1772,31 +1772,31 @@ msgstr "" "Zvýrazňování syntaxe usnadňuje čtení zdrojového kódu díky různobarevnému " "rozlišení částí textu." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit zvolí příslušné zvýrazňování syntaxe na " +"pluma zvolí příslušné zvýrazňování syntaxe na " "základě typu dokumentu. Režim můžete ručně přenastavit volbou " "ZobrazitRežim zvýrazňování a následným výběrem z nabídek:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Prostý text" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Nezobrazuje žádné zvýraznění syntaxe." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Zdrojové kódy" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1804,11 +1804,11 @@ msgstr "" "Zobrazuje zvýraznění syntaxe pro zdrojové kódy. V podnabídce " "Zdrojové kódy zvolte typ zdrojového kódu." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Značky" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1816,11 +1816,11 @@ msgstr "" "Zobrazuje zvýraznění syntaxe pro značkovací jazyky. V podnabídce " "Značky zvolte typ značkovacího jazyka." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Skripty" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1828,11 +1828,11 @@ msgstr "" "Zobrazuje zvýraznění syntaxe pro skriptovací jazyky. V podnabídce " "Skripty zvolte typ skriptovacího jazyka." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Jiné" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1840,31 +1840,31 @@ msgstr "" "Zobrazuje zvýraznění syntaxe pro ostatní kód. V podnabídce Jiné zvolte typ kódu." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Propojení výstupu příkazu do souboru" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Můžete gedit použít k propojení výstupu příkazu " +"Můžete pluma použít k propojení výstupu příkazu " "do textového souboru. Například chcete dostat do textového souboru výstup " -"příkazu ls, tak stačí napsat ls | geditls, tak stačí napsat ls | pluma a stisknout Return." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Výstup příkazu ls se zobrazí jako nový textový soubor v " -"okně gedit." +"okně pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1872,21 +1872,21 @@ msgstr "" "Případně lze použít i zásuvný modul Externí nástroje, který propojí výstup příkazu do současného souboru." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Klávesové zkratky" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Používejte klávesové zkratky pro provádění běžných úkonů rychleji než " "kdybyste pracovali s myší a nabídkami. Následující tabulky uvádějí klávesové " -"zkratky aplikace gedit." +"zkratky aplikace pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1895,420 +1895,420 @@ msgstr "" "keyboard-skills\">Uživatelská příručka k pracovnímu prostředí." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Tabelátory" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Klávesové zkratky pro karty:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Klávesová zkratka" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Příkaz" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Přepnout na následující kartu vlevo." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Přepnout na následující kartu vpravo." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Zavřít kartu." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Uložit všechny karty." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Zavřít všechny karty." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Přepnout na n-tou kartu." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Soubory" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Klávesové zkratky pro práci se soubory:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Vytvořit nový dokument." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Otevřít dokument." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Otevřít umístění." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Uložit současný dokument na disk." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Uložit současný dokument pod novým názvem." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Vytisknout současný dokument." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Zobrazit náhled před tiskem." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Zavřít současný dokument." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Ukončit Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Ukončit Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Úprava" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Klávesové zkratky pro úpravu dokumentu:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Vrátit zpět poslední provedený úkon." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Znovu provést naposledy zpět vrácený úkon." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Vyjmout vybraný text nebo oblast a vložit ji do schránky." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Zkopírovat vybraný text nebo oblast do schránky." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Vložit obsah ze schránky." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Vybrat vše." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Odstranit aktuální řádek." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) msgid "Alt + Up" msgstr "Alt + Up" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "Přesune vybraný řádek o řádek nahoru." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) msgid "Alt + Down" msgstr "Alt + Down" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Move the selected line down one line." msgstr "Přesune vybraný řádek o řádek dolů." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Panely" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Klávesové zkratky pro zobrazování a skrývání panelů:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Zobrazit/skrýt postranní panel." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Zobrazit/skrýt spodní panel." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Vyhledávání" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Klávesové zkratky pro vyhledávání:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Hledat řetězec." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Hledat následující výskyt téhož řetězce." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Hledat předchozí výskyt téhož řetězce." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Interaktivní inkrementální vyhledávání." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Vyhledat a nahradit." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Zrušit zvýrazňování." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Přejít na řádek." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Nástroje" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Klávesové zkratky pro nástroje:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Zkontrolovat pravopis (se zásuvným modulem)" -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Odstranit koncové mezery (se zásuvným modulem)" -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Odsadit (se zásuvným modulem)" -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Zrušit odsazení (se zásuvným modulem)" -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Spustit „make“ v aktuální složce (se zásuvným modulem)" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Výpis složky (se zásuvným modulem)" #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Nápověda" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Klávesové zkratky pro nápovědu:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." msgstr "" -"Otevřít uživatelskou příručku k aplikaci gedit" +"Otevřít uživatelskou příručku k aplikaci pluma" -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Volby" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Pokud si potřebujete gedit nastavit, zvolte " +"Pokud si potřebujete pluma nastavit, zvolte " "UpravitVolby. Dialog Volby aplikace gedit obsahuje " +"menuchoice>. Dialog Volby aplikace pluma obsahuje " "následující karty:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Volby na kartě Zobrazit" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2318,7 +2318,7 @@ msgstr "" "příliš dlouhé řádky textu zalomily do odstavce místo toho, aby přetékaly za " "okraj okna. Díky tomu nemusíte používat vodorovný posuvník." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2328,19 +2328,19 @@ msgstr "" "zabránit rozdělení celého slova na dva řádky v případě dlouhých řádků. Díky " "tomu je text lépe čitelný." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Zvolte Zobrazovat čísla řádků, pokud chcete na levé " "straně okna vypisovat čísla řádků." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Aktuální řádek" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2348,11 +2348,11 @@ msgstr "" "Zvolte Zvýrazňovat aktuální řádek, pokud chcete " "zvýraznit řádek, na kterém se nachází kurzor." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Pravý okraj" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2360,7 +2360,7 @@ msgstr "" "Zvolte Zobrazovat pravý okraj, pokud chcete vykreslovat " "svislou čáru naznačující pravý okraj." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2368,11 +2368,11 @@ msgstr "" "V poli Pravý okraj ve sloupci můžete určit umístění " "čáry označující pravý okraj." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Odpovídající závorky" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2382,35 +2382,35 @@ msgstr "" "zvýraznit odpovídající závorku do páru v situaci, kdy se kurzor nachází na " "znaku závorky." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Volby na kartě Editor" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Použijte pole Šířka tabelátorů k určení šířky místa, " -"které gedit vloží, pokud stisknete klávesu " +"které pluma vloží, pokud stisknete klávesu " "Tab." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Zvolte Vkládat mezery místo tabelátorů, pokud chcete, " -"aby gedit vkládal mezery místo znaku tab, ve " +"aby pluma vkládal mezery místo znaku tab, ve " "chvíli, kdy stisknete klávesu Tab." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Automatické odsazování" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2418,11 +2418,11 @@ msgstr "" "Zvolte Povolit automatické odsazování, pokud chcete, " "aby se po přechodu na nový řádek nastavilo stejné odsazení jako u aktuálního." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Ukládání souborů" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2432,7 +2432,7 @@ msgstr "" "pokud chcete vytvářet záložní kopii souboru pokaždé, když soubor uložíte. " "Záložní kopie souboru obsahuje na konci názvu znak ~." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2442,39 +2442,39 @@ msgstr "" "pokud chcete aby se aktuální soubory ukládaly v pravidelných intervalech. Do " "číselného pole zadejte, jak často se má ukládání provádět." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Volby na kartě Písma a barvy" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Písmo" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Zvolte Použít systémové písmo s pevnou šířkou, pokud " "chcete použít výchozí systémový font s pevnou šířkou pro text v okně " -"gedit." +"pluma." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Písmo editoru vám umožňuje vybrat písmo textu, pokud " "nepoužíváte systémové. Kliknutím na tlačítko můžete vybrat typ písma a jeho " "styl a velikost." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Schéma barev" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2482,47 +2482,47 @@ msgstr "" "Můžete si vybrat barevné schéma ze seznamu barevných schémat. Standardně " "jsou nainstalovaná následující barevná schémata:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Classic" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Klasické barevné schéma založené na barevném schématu gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Barevné schéma do modra." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "Barevné schéma používané v editoru Kate." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Tmavé barevné schéma dle barevné palety Tango." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Barevné schéma využívající barevnou paletu Tango." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2530,7 +2530,7 @@ msgstr "" "Můžete i přidat nové barevné schéma kliknutím na Přidat " "a výběrem souboru s barevným schématem." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2538,34 +2538,34 @@ msgstr "" "Odstranit vybrané barevné schéma lze kliknutím na Odebrat." -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Volby na kartě Zásuvné moduly" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Zásuvné moduly přidávají do aplikace gedit " +"Zásuvné moduly přidávají do aplikace pluma " "dodatečnou funkcionalitu. Více informací o zásuvných modulech a o tom, jak " -"používat zabudované zásuvné moduly, podává ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Povolení zásuvného modulu" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Zásuvný modul gedit povolíte následujícím " +"Zásuvný modul pluma povolíte následujícím " "postupem:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2573,125 +2573,125 @@ msgstr "" "Zvolte UpravitVolby." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Přejděte na kartu Zásuvné moduly" -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "Zaškrtněte pole vedle názvu zásuvného modulu, který chcete povolit." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." msgstr "" "Kliknutím na Zavřít dialog Volby aplikace " -"gedit uzavřete." +"pluma uzavřete." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Zakázání zásuvného modulu" -#: C/gedit.xml:1317(para) +#: C/pluma.xml:1317(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Zásuvný modul zůstane povolený i když gedit " +"Zásuvný modul zůstane povolený i když pluma " "ukončíte." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Zásuvný modul gedit zakážete následujícím " +"Zásuvný modul pluma zakážete následujícím " "postupem:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" "Zrušte zaškrtnutí pole vedle názvu zásuvného modulu, který chcete zakázat." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Zásuvné moduly" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Práce se zásuvnými moduly" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Do gedit můžete další funkce doplnit povolením " +"Do pluma můžete další funkce doplnit povolením " "zásuvných modulů. Zásuvný modul je přídavný program, " "který rozšiřuje funkčnost aplikace. Zásuvné moduly přidávají do nabídek " -"gedit nové položky pro nové funkce, které " +"pluma nové položky pro nové funkce, které " "poskytují." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Několik zásuvných modulů je přímo součástí gedit, " +"Několik zásuvných modulů je přímo součástí pluma, " "další si můžete doinstalovat. Na webu gedit je uvedený seznam zásuvných " +"gnome.org/Pluma/Plugins\">webu pluma je uvedený seznam zásuvných " "modulů třetích stran." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "K povolení a zakázání nebo jen zjištění, které zásuvné moduly jsou " -"momentálně povolené, použijte Volby " +"momentálně povolené, použijte Volby " "zásuvných modulů." -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Následující zásuvné moduly vám přináší gedit jako " +"Následující zásuvné moduly vám přináší pluma jako " "standardní součást:" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Změnit velikost " +"Změnit velikost " "písmen umožňuje změnit velikost písmen vybraného textu." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Statistika " +"Statistika " "dokumentu ukazuje počet řádků, slov a znaků v dokumentu." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Externí nástroje umožňuje spustit z gedit " +"Externí nástroje umožňuje spustit z pluma " "externí příkaz." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2699,96 +2699,96 @@ msgstr "" "Panel prohlížeče souboru vám umožní procházet své " "soubory a složky v postranním panelu." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Odsadit řádkyOdsadit řádky přidává nebo ruší odsazení u vybraných řádků." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Vložit datum/" +"Vložit datum/" "čas přidá aktuální datum a čas do dokumentu." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"Řádky s režimemŘádky s režimem vám umožní nastavit editační volby zvlášť pro jednotlivé " "dokumenty a podporuje režimy ve stylu Emacs, " "Kate a Vim." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Konzola PythonuKonzola Pythonu umožňuje spustit příkazy programovacího jazyka Python." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"ÚryvkyÚryvky vám umožní zapamatovat si často používané části textu a rychle " "je do dokumentu vkládat." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"Řadit " +"Řadit " "uspořádává vybrané řádky textu v abecedním pořadí." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Kontrola " +"Kontrola " "pravopisu opravuje překlepy ve vybraném textu nebo " "chyby v dokumentu automaticky označuje." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Seznam tagůSeznam tagů vám usnadňuje vkládání běžně používaných tagů pro HTML a další " "jazyky ze seznamu v postranním panelu." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Více informací o tom, jak vytvářet zásuvné moduly, najdete na webu aplikace " -"gedit." +"\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">webu aplikace " +"pluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Zásuvný modul Změnit velikost písmen" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2796,7 +2796,7 @@ msgstr "" "Zásuvný modul Změnit velikost písmen mění " "velikost písmen ve vybraném textu." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2805,82 +2805,82 @@ msgstr "" "povolený, přidají se do nabídky Upravit následující " "položky." -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Položka nabídky" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Činnost" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Příklad" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Změnit velikost písmen" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Vše velkými písmeny" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Každé písmeno změní na velké." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "" "Tento text se změní na TENTO TEXT" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Vše malými písmeny" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Každé písmeno změní na malé." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "" "Tento Text se změní na tento text" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Invertovat velikost písmen" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Každé malé písmeno změní na velké a každé velké písmeno na malé." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Tento Text se změní na tENTO tEXT" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Začátky slov velkými písmeny" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "První písmeno každého slova změní na velké, ostatní na malé." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "" "tento text se změní na Tento Text" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Zásuvný modul Statistika dokumentu" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2893,7 +2893,7 @@ msgstr "" "Výsledky zásuvný modul zobrazuje v dialogu Statistika dokumentu. Pokud chcete využít tento zásuvný modul, postupujte následovně:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsStatistika dokumentu. Dialog obsahuje o souboru " "následující informace:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Počet řádků v současném dokumentu." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Počet slov v současném dokumentu." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "Počet znaků v současném dokumentu, včetně mezer." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Počet znaků v současném dokumentu, mimo mezer." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "Počet bajtů v současném dokumentu." -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Můžete v gedit pokračovat v další práci se " +"Můžete v pluma pokračovat v další práci se " "souborem a dialog Statistika dokumentu přitom nechat " "otevřený. Obsah dialogu občerstvíte kliknutím na tlačítko " "Aktualizovat." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Zásuvný modul Externí nástroje" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "Zásuvný modul Externí nástroje slouží ke " -"spouštění externích příkazů z aplikace gedit. " +"spouštění externích příkazů z aplikace pluma. " "Příkazu můžete předat nějaký obsah a využít jeho výstup (např. " "sed) nebo spustit předefinovaný příkaz (např. " "make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools. Spustit externí příkazy můžete z nabídky " "Nástroje" -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Zabudované příkazy" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -2977,37 +2977,37 @@ msgstr "" "Se zásuvným modulem Externí nástroje jsou " "dodávané následující příkazy:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Sestavit" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "Spustí make ve složce současného souboru." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Výpis složky" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Vypíše do nového dokumentu obsah složky současného dokumentu." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Proměnné prostředí" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Zobrazí ve spodním panelu seznam proměnných prostředí." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3015,19 +3015,19 @@ msgstr "" "Vyhledá termín pomocí srovnání vzorků ve všech souborech nacházejících se ve " "složce současného dokumentu. Výsledek se zobrazí ve spodním panelu." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Odstranit koncové mezery" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Odstraní v dokumentu všechny mezery z konců řádků." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Definování příkazu" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3035,7 +3035,7 @@ msgstr "" "Přidat lze externí příkazy volbou NástrojeExterní nástroje." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3044,44 +3044,44 @@ msgstr "" "V okně Správce externích nástrojů klikněte na " "Nový. U nového příkazu můžete zadat následující údaje:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Popis" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Popis se ukáže ve stavovém řádku ve chvíli, kdy příkaz vyberete v nabídce." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Klávesová zkratka" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Zadejte klávesovou zkratku pro příkaz." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Příkazy" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Vlastní příkaz, který se má spouštět. Pokud potřebujete příkazu předat " "údaje, můžete použít několik proměnných prostředí definovaných programem " -"gedit: viz pluma: viz ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Vstup" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3090,11 +3090,11 @@ msgstr "" "systemitem>): celý text současného dokumentu, současný výběr, řádek nebo " "slovo." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Výstup" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3104,11 +3104,11 @@ msgstr "" "nového dokumentu nebo vložit do současného dokumentu na konec, na aktuální " "pozici nebo nahradit výběr nebo celý dokument." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Použitelnost" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3116,22 +3116,22 @@ msgstr "" "Určuje, jakou kategorie dokumentů může příkaz zpracovávat, např. zda jsou " "uložené nebo ne, místní nebo vzdálené apod." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Úprava a odstraňování nástrojů" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Pokud chcete nástroj upravit, zvolte jej v seznamu a změňte jeho vlastnosti." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "" "Pokud chcete nástroj přejmenovat, klikněte na něj v seznamu ještě jednou." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3139,7 +3139,7 @@ msgstr "" "Pokud chcete zabudovaný nástroj vrátit do původního stavu, klikněte na " "Vrátit." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3149,11 +3149,11 @@ msgstr "" "Odstranit. Zabudované nástroje odstranit nelze, pouze " "ty, které jste vytvořili." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Proměnné" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3161,39 +3161,39 @@ msgstr "" "V definici příkazu v poli Příkazy můžete použít " "následující proměnné:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Zásuvný modul Panel prohlížeče souborů" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3202,7 +3202,7 @@ msgstr "" "vaše soubory a složky v postranním panelu, což vám umožňuje rychle otevírat " "soubory." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3212,11 +3212,11 @@ msgstr "" "guimenu>Postranní panel a následným " "kliknutím na kartu s ikonou Prohlížeče souborů dole na postranním panelu." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Procházení vašich souborů" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3224,7 +3224,7 @@ msgstr "" "Na kartě prohlížeče souborů jsou v počátečním stavu zobrazené záložky ze " "správce souborů. Obsah kterékoliv z nich zobrazíte dvojitým kliknutím na ní." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3232,7 +3232,7 @@ msgstr "" "Rodičovskou složku zobrazíte buď výběrem s vyskakovacího seznamu nebo " "zmáčknutím šipky nahoru na panelu nástrojů prohlížeče souborů." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3242,19 +3242,19 @@ msgstr "" "kliknutím pravým tlačítkem v seznamu souborů a následnou volbou " "Nastavit kořen podle aktivního dokumentu." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Pro otevření souboru v gedit postačí dvojitě " +"Pro otevření souboru v pluma postačí dvojitě " "kliknout na soubor v seznamu." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Vytváření souborů a složek" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3263,7 +3263,7 @@ msgstr "" "zobrazené v prohlížeči, klikněte pravým tlačítkem v seznamu souborů a zvolte " "Nový soubor." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3272,11 +3272,11 @@ msgstr "" "klikněte pravým tlačítkem v seznamu souborů a zvolte Nová " "složka." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Zásuvný modul Odsadit řádky" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3284,11 +3284,11 @@ msgstr "" "Zásuvný modul Odsadit řádky přidá nebo odstraní " "mezery ze začátku textového řádku." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Pro odsazení nebo přiražení textu proveďte následující kroky:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3296,7 +3296,7 @@ msgstr "" "Vyberte řádky, který chcete odsadit. Pokud chcete odsadit nebo přirazit jen " "jeden řádek, stačí na něj umístit textový kurzor." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3304,7 +3304,7 @@ msgstr "" "Text odsadíte pomocí UpravitOdsadit." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3312,21 +3312,21 @@ msgstr "" "Odsazení zrušíte pomocí UpravitZrušit odsazení." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Počet mezer a zda se mají použít mezery nebo tabelátor, je závislé na " "nastavení Tabelátory ve volbách editoru: viz ." +"linkend=\"pluma-prefs-editor\"/>." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Zásuvný modul Vložit datum/čas" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3335,7 +3335,7 @@ msgstr "" "Zásuvný modul Vložit datum/čas vkládá současné " "datum a čas do dokumentu. Tento zásuvný modul se používá následovně:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3343,48 +3343,48 @@ msgstr "" "Zvolte UpravitVložit datum a " "čas." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Pokud nemáte zásuvný modul Vložit datum/čas nastavený tak, aby vkládal datum/" -"čas automaticky bez ptaní na formát, gedit " +"čas automaticky bez ptaní na formát, pluma " "zobrazí dialog Vložit datum a čas. Ze seznamu si " "vyberte požadovaný formát data/času. Klikněte na Vložit, dialog se zavře a gedit vloží datum/" +"guibutton>, dialog se zavře a pluma vloží datum/" "čas do aktuálního souboru na pozici kurzoru." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Pokud máte gedit nastavený tak, aby používal " +"Pokud máte pluma nastavený tak, aby používal " "konkrétní formát data/času, dialog Vložit datum a čas " "se nezobrazí. Datum/čas se automaticky vloží na pozici kurzoru v aktuálním " "souboru." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Nastavení zásuvného modulu Vložit datum/čas" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Nastavení zásuvného modulu Vložit datum/čas provedete následovně:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Zvolte zásuvný modul Vložit datum/čas." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3392,11 +3392,11 @@ msgstr "" "Klikněte na Nastavit zásuvný modul pro zobrazení " "dialogu Nastavit zásuvný modul pro vložení data a času." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Vyberte jednu z následujících možností:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3404,23 +3404,23 @@ msgstr "" "Pokud chcete při každém vkládání data/času určovat jeho formát, zvolte si " "Zeptat se na formát" -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" "Pokud chcete při každém vkládání data/času použít stejný v " -"gedit předdefinovaný formát, zvolte " +"pluma předdefinovaný formát, zvolte " "Použít vybraný formát a vyberte jeden z formátů v " -"seznamu. Při této volbě se vás gedit nebude při " +"seznamu. Při této volbě se vás pluma nebude při " "vkládání dat/času na nic dotazovat." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3428,7 +3428,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3437,10 +3437,10 @@ msgstr "" "zadejte požadovaný formát. Pro více informací, jak formát definovat se " "podívejte na strftime3. Při této volbě se vás gedit. Při této volbě se vás pluma nebude při vkládání dat/času na nic dotazovat." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3448,7 +3448,7 @@ msgstr "" "Kliknutím na OK dialog Nastavit zásuvný " "modul pro vložení data a času zavřete." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3456,23 +3456,23 @@ msgstr "" "Dialog Volby zavřete kliknutím na Zavřít." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Zásuvný modul Řádky s režimem" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Zásuvný modul Řádky s režimem vám umožní nastavit " "volby pro jednotlivé dokumenty. Řádka s režimem je " "řádek textu na začátku nebo konci dokumentu obsahující nastavení, která " -"gedit rozpoznává." +"pluma rozpoznává." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3480,27 +3480,27 @@ msgstr "" "Volby nastavené s použitím řádků s režimem mají přednost před stejnými " "volbami zadanými v dialogu Volby." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "V řádcích s režimem můžete nastavit následující volby:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Šířka tabelátoru" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Šířka odsazení" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Vkládání mezer místo tabelátorů" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Šířka pravého okraje" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3511,11 +3511,11 @@ msgstr "" "application>, Kate a Vim." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Řádky s režimem ve stylu Emacs" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3523,7 +3523,7 @@ msgstr "" "První dva řádky dokumentu se zkoumají na řádky s režimem Emacs." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3535,11 +3535,11 @@ msgstr "" "\" url=\"http://www.delorie.com/gnu/docs/emacs/emacs_486.html\">GNU Emacs " "Manual." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Řádky s režimem ve stylu Kate" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3547,7 +3547,7 @@ msgstr "" "První dva řádky dokumentu se zkoumají na řádky s režimem Kate." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3559,11 +3559,11 @@ msgstr "" "webu Kate." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Řádky s režimem ve stylu Vim" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3571,7 +3571,7 @@ msgstr "" "První dva řádky dokumentu se zkoumají na řádky s režimem Vim." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3583,38 +3583,38 @@ msgstr "" "type=\"http\" url=\"http://vimdoc.sourceforge.net/htmldoc/options." "html#modeline\">webu Vim." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Zásuvný modul Konzola Pythonu" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Zásuvný modul Konzola Pythonu vám umožňuje " "spouštět příkazy programovacího jazyka Python z prostředí " -"gedit. Po povolení tohoto zásuvného modulu se " +"pluma. Po povolení tohoto zásuvného modulu se " "přidá karta do spodního panelu. Na ní se zobrazují poslední výstupy a a " "výzva k příkazu." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Příkazy zadané do konzoly Pythonu se před spuštěním nekontrolují. Proto " -"mohou způsobit zatuhnutí celé aplikace gedit, " +"mohou způsobit zatuhnutí celé aplikace pluma, " "například když zadáte nekonečnou smyčku." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Zásuvný modul Úryvky" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3624,7 +3624,7 @@ msgstr "" "používané části textu nazývané úryvky a rychle je " "vkládat do dokumentu." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3635,19 +3635,19 @@ msgstr "" "pracujete v HTML dokumentu, můžete vybírat z úryvků použitelných pro HTML. " "Některé úryvky jsou ale globální a lze je použít ve všech dokumentech." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" "Množství zabudovaných úryvků se nainstaluje spolu s aplikací " -"gedit, ale můžete si je upravovat." +"pluma, ale můžete si je upravovat." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Vložení úryvku" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3659,7 +3659,7 @@ msgstr "" "tabelátoru je obvykle pár prvních písmen z úryvku nebo jiný krátký a snadno " "zapamatovatelný text." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3667,15 +3667,15 @@ msgstr "" "Respektive můžete zmáčknout CtrlSpace pro zobrazení seznamu úryvků, které můžete vložit." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Přidání úryvku" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Nový úryvek vytvoříte následovně:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3685,7 +3685,7 @@ msgstr "" "guimenuitem>. Otevře se okno Správce úryvků." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3698,20 +3698,20 @@ msgstr "" "seznamu. Skupina odpovídající syntaxi dokumentu, který právě upravujete, se " "na začátku přímo nabídne." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Klikněte na Nový. Nový úryvek se objeví v seznamu." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "U nového úryvku zadejte následující informace:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Název" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3721,21 +3721,21 @@ msgstr "" "pouze k označení jeho účelu. Název vytvořeného úryvku můžete změnit " "kliknutím na vybraný název v seznamu." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Text úryvku" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Do textového pole Upravit zadejte text úryvku. Můžete " -"použít speciální kódy, jak je uvádí ." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3743,11 +3743,11 @@ msgstr "" "Můžete se přepnout zpátky do okna s dokumentem, abyste si zkopírovali text, " "i bez zavření Správce úryvků." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Spouštěč tabelátoru" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3755,7 +3755,7 @@ msgstr "" "Zadejte spouštěč tabelátoru pro úryvek. Jedná se o text, který musíte zadat, " "než můžete zmáčknout Tab pro vložení úryvku." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3765,19 +3765,19 @@ msgstr "" "samostatný znak. V případě, že zadáte neplatný Spouštěč " "tabelátoru, tak zčervená." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Klávesová zkratka" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Zapište klávesovou zkratku použitelnou pro vložení úryvku." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Úprava a odstranění úryvků" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3785,12 +3785,12 @@ msgstr "" "Upravit úryvek můžete tak, že jej vyberete v seznamu a změníte jeho text a " "spouštěcí vlastnosti." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "" "Pokud chcete vybraný úryvek přejmenovat, tak na něj ještě jednou klikněte." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3798,7 +3798,7 @@ msgstr "" "Jestliže jste zabudovaný úryvek změnili a chcete jej vrátit do původního " "stavu, zmáčkněte Vrátit." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3808,11 +3808,11 @@ msgstr "" "Odstranit. Nelze odstranit zabudované úryvky, pouze " "ty, které jste vytvořili." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Náhrady v úryvcích" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3822,15 +3822,15 @@ msgstr "" "nebo rezervované místo, na které doplníte text až po vložení úryvku do " "dokumentu." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "V úryvcích můžete použít následující zástupné kódy:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Tabelátorový zástupce" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3838,7 +3838,7 @@ msgstr "" "$n definuje tabelátorového " "zástupce, kde n je číslo větší než 1." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3846,7 +3846,7 @@ msgstr "" "${n:default} definuje tabelátorového zástupce s výchozí hodnotou." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3854,7 +3854,7 @@ msgstr "" "Tabelátorový zástupce označuje v textu úryvku místo, na které můžete po " "vložení úryvku doplnit dodatečný text." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3867,7 +3867,7 @@ msgstr "" "zástupce. Číslo tabelátorového zástupce určuje pořadí, v jakém se budete po " "tabelátorových zástupcích pohybovat." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3880,11 +3880,11 @@ msgstr "" "zástupce, kurzor se přesune na konec úryvku nebo na koncového zástupce, " "pokud existuje." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Zrcadlený zástupce" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3893,11 +3893,11 @@ msgstr "" "Opakování stejného tabelátorového zástupce bude zrcadlem již definovaného " "zástupce. Potom stačí zadat text jen jednou a objeví se v úryvku vícekrát." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Koncový zástupce" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3906,33 +3906,33 @@ msgstr "" "$0 definuje koncového zástupce. Ten umožňuje dokončit " "práci s úryvkem s kurzorem na jiné pozici, než je konec textu úryvku." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Proměnné prostředí" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Proměnné prostředí, jako je $PATH a $HOME, se v úryvku příslušně nahradí jejich hodnotou. Navíc můžete použít " -"následující proměnné specifické pro gedit:" +"následující proměnné specifické pro pluma:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "Aktuálně vybraný text." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3940,11 +3940,11 @@ msgstr "" "Plný název souboru s dokumentem nebo prázdný řetězec v případě, že dokument " "není doposud uložený." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -3952,11 +3952,11 @@ msgstr "" "Samotný název souboru s dokumentem bez cesty nebo prázdný řetězec v případě, " "že dokument není doposud uložený." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -3964,11 +3964,11 @@ msgstr "" "Slovo nacházející se na pozici kurzoru v dokumentu. Pokud se použije tato " "proměnná, tak se současné slovo nahradí textem úryvku." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Zástupce Shell" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3976,7 +3976,7 @@ msgstr "" "$(cmd) se nahradí výsledkem " "spuštění cmd v shellu." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3990,11 +3990,11 @@ msgstr "" "replaceable> můžete zadat výstup jednoho zástupce jako vstup " "jiného." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Zástupce Python" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4003,7 +4003,7 @@ msgstr "" "$<cmd> se nahradí " "výsledkem vyhodnocení cmd v interpretru Pythonu." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4021,7 +4021,7 @@ msgstr "" "replaceable>,b:cmd>" "" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4029,11 +4029,11 @@ msgstr "" "Aby šly proměnné použít ve všech dalších úryvcích, musíte je deklarovat jako " "global." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Zásuvný modul Řadit" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4041,7 +4041,7 @@ msgstr "" "Zásuvný modul Řadit uspořádává vybrané řádky " "textu v abecedním pořadí." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4053,15 +4053,15 @@ msgstr "" "SouborVrátit." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Zásuvný modul Řadit se používá následovně:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Vyberte řádky s textem, které chcete seřadit." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4069,11 +4069,11 @@ msgstr "" "Zvolte UpravitSeřadit. Otevře se dialog Řadit." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Nastavte volby, jak chcete řadit:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4081,20 +4081,20 @@ msgstr "" "Aby se text uspořádal v opačném pořadí, zvolte Obrácené peřadí." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Aby se vymazaly duplicitní řádky, zvolte Odstranit duplikáty." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Aby se ignorovala velikost písmen, zvolte Ignorovat velikost " "písmen." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4103,31 +4103,31 @@ msgstr "" "Aby se při řazení ignorovaly znaky na začátku řádku, nastavte první znak, " "který se použije pro řazení, v poli Začít ve sloupci." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "Operaci seřazení spustíte kliknutím na Seřadit." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Zásuvný modul Kontrola pravopisu" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Zásuvný modul Kontrola pravopisu kontroluje " -"překlepy ve vybraném textu. Můžete si gedit " +"překlepy ve vybraném textu. Můžete si pluma " "nastavit tak, aby překlepy kontroloval průběžně automaticky a nebo si " "kontrolu spouštět ručně, oboje v zadaném jazyce. Nastavený jazyk a " "automatická kontrola se vztahují na jednotlivé dokumenty. Modul " "Kontrola pravopisu se používá následovně:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4139,7 +4139,7 @@ msgstr "" "guilabel>. Vyberte si požadovaný jazyk v seznamu. Kliknutím na " "OK dialog uzavřete." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4147,7 +4147,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Pokud chcete kontrolu provádět automaticky, zvolte " @@ -4157,10 +4157,10 @@ msgstr "" "pravopis automatickou kontrolu vypnete. Zda je " "automatická kontrola zapnutá poznáte podle zaškrtnutí položky " "Automaticky kontrolovat pravopis v nabídce. Po " -"každém spuštění gedit je automatická kontrola " +"každém spuštění pluma je automatická kontrola " "standardně vypnutá." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsNávrhy pravopisu " "provést:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4179,7 +4179,7 @@ msgstr "" "Nahrazení neznámého slova jiným slovem ze seznamu volbou navrženého slova ve " "vyskakovací nabídce Návrhy pravopisu." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddNávrhy pravopisuPřidat." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Ignorování všech výskytu tohoto neznámého slova volbou " "Návrhy pravopisuIgnorovat vše, Slovo se potom již nebude označovat jako neznámé, " "ale do osobního slovníku se nepřidá. Ignorování tohoto neznámého slova bude " -"platit jen pro současné sezení gedit." +"platit jen pro současné sezení pluma." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4211,7 +4211,7 @@ msgstr "" "Ručně kontrolu pravopisu spustíte NástrojeZkontrolovat pravopis." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4223,7 +4223,7 @@ msgstr "" "slova s překlepy. Kliknutím na OK dialog " "guilabel>Informace zavřete." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4231,13 +4231,13 @@ msgstr "" "Pokud v dokumentu pravopisné chyby jsou, tak se zobrazí dialog " "Kontrolovat pravopis:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "Chybné slovo je uvedené v horní části dialogu." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4249,7 +4249,7 @@ msgstr "" "tvaru buď výběrem ze seznamu Návrhy nebo ručním zadáním " "slov přímo do pole Změnit na." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4263,20 +4263,20 @@ msgstr "" "(správný tvar). Pokud je slovo neznámé, objeví se v " "seznamu Návrhy nové položky." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Aktuální výskyt neznámého slova můžete ignorovat kliknutím na " "Ignorovat. Pokud chcete ignorovat veškeré výskyty " "toho neznámého slova, tak klikněte na Ignorovat vše. " -"Neznáme slovo se bude ignorovat pouze v tomto sezení geditpluma." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeZměnit na kliknutím na Změnit vše." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4297,7 +4297,7 @@ msgstr "" "Do osobního slovníku neznámé slovo přidáte kliknutím na Přidat " "slovo." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4305,11 +4305,11 @@ msgstr "" "Dialog Kontrolovat pravopis zavřete kliknutím na " "Zavřít." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Zásuvný modul Seznam tagů" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4317,11 +4317,11 @@ msgstr "" "Zásuvný modul Seznam tagů vám usnadní vkládání " "běžných tagů ze seznamu v postranním panelu." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Zásuvný modul Seznam tagů se používá následujícím způsobem:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4329,7 +4329,7 @@ msgstr "" "Zvolte ZobrazitPostranní panel." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4339,7 +4339,7 @@ msgstr "" "otevřených dokumentů. Klikněte na kartu s ikonou „+“ v dolní části, aby se " "zobrazil seznam tagů." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4347,11 +4347,11 @@ msgstr "" "Ve vyskakovacím seznamu si vyberte správnou kategorii, např. HTML " "- Tagy." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "Najděte si v seznamu požadovaný tag." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4359,7 +4359,7 @@ msgstr "" "Tag do aktuálního souboru na pozici kurzoru vložíte dvojitým kliknutím na " "tag v seznamu. A nebo můžete použít následující postupy:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4367,7 +4367,7 @@ msgstr "" "Vložit tag do aktuálního souboru a přepnout zaměření z postranního panelu do " "zobrazovací oblasti stiskem Return." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press Shift." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Marek Černocký , 2009.\n" -"Lucas Lommer , 2009." +"Lucas Lommer , 2009." diff --git a/help/cs/figures/gedit_window.png b/help/cs/figures/pluma_window.png similarity index 100% rename from help/cs/figures/gedit_window.png rename to help/cs/figures/pluma_window.png diff --git a/help/da/da.po b/help/da/da.po index e42ce1a..d6c4fed 100755 --- a/help/da/da.po +++ b/help/da/da.po @@ -1,4 +1,4 @@ -# Danish translation of gedit Manual +# Danish translation of pluma Manual # # M.P. Rommedahl , 2008 # Ask Hjorth Larsen , 2008, 09 @@ -13,7 +13,7 @@ # NB. Farveskemaer som henvises til nedenfor kommer fra gtksourceview msgid "" msgstr "" -"Project-Id-Version: gedit Manual V.2.16\n" +"Project-Id-Version: pluma Manual V.2.16\n" "POT-Creation-Date: 2010-03-28 23:52+0200\n" "PO-Revision-Date: 2010-03-28 19:08+0200\n" "Last-Translator: Ask Hjorth Larsen \n" @@ -126,296 +126,296 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:268(None) +#: ../C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "Intet skærmbillede" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:349(None) +#: ../C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "Intet skærmbillede" -#: ../C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manual til gedit" +#: ../C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manual til pluma" -#: ../C/gedit.xml:25(year) +#: ../C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: ../C/gedit.xml:26(holder) ../C/gedit.xml:45(publishername) -#: ../C/gedit.xml:56(firstname) ../C/gedit.xml:79(orgname) -#: ../C/gedit.xml:120(para) ../C/gedit.xml:128(para) ../C/gedit.xml:136(para) -#: ../C/gedit.xml:144(para) ../C/gedit.xml:152(para) ../C/gedit.xml:160(para) -#: ../C/gedit.xml:168(para) ../C/gedit.xml:176(para) ../C/gedit.xml:184(para) -#: ../C/gedit.xml:192(para) ../C/gedit.xml:200(para) +#: ../C/pluma.xml:26(holder) ../C/pluma.xml:45(publishername) +#: ../C/pluma.xml:56(firstname) ../C/pluma.xml:79(orgname) +#: ../C/pluma.xml:120(para) ../C/pluma.xml:128(para) ../C/pluma.xml:136(para) +#: ../C/pluma.xml:144(para) ../C/pluma.xml:152(para) ../C/pluma.xml:160(para) +#: ../C/pluma.xml:168(para) ../C/pluma.xml:176(para) ../C/pluma.xml:184(para) +#: ../C/pluma.xml:192(para) ../C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE-dokumentationsprojektet" -#: ../C/gedit.xml:28(year) +#: ../C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: ../C/gedit.xml:29(year) +#: ../C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: ../C/gedit.xml:30(year) +#: ../C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: ../C/gedit.xml:31(holder) ../C/gedit.xml:71(orgname) +#: ../C/pluma.xml:31(holder) ../C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: ../C/gedit.xml:33(year) ../C/gedit.xml:116(date) +#: ../C/pluma.xml:33(year) ../C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: ../C/gedit.xml:34(holder) +#: ../C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: ../C/gedit.xml:52(firstname) +#: ../C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: ../C/gedit.xml:53(surname) +#: ../C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: ../C/gedit.xml:59(orgname) +#: ../C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: ../C/gedit.xml:63(firstname) +#: ../C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: ../C/gedit.xml:64(surname) +#: ../C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: ../C/gedit.xml:65(contrib) +#: ../C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Tilføjede tastaturgenvej-skemaet" -#: ../C/gedit.xml:68(firstname) ../C/gedit.xml:191(para) +#: ../C/pluma.xml:68(firstname) ../C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java skrivebordssystems-dokumentationsholdet" -#: ../C/gedit.xml:72(email) +#: ../C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: ../C/gedit.xml:76(firstname) +#: ../C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: ../C/gedit.xml:77(surname) +#: ../C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: ../C/gedit.xml:80(email) +#: ../C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: ../C/gedit.xml:84(firstname) +#: ../C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: ../C/gedit.xml:85(surname) +#: ../C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" -"Cicek bidrog med information fra tidligere versioner af programmet gedit." +"Cicek bidrog med information fra tidligere versioner af programmet pluma." -#: ../C/gedit.xml:86(contrib) ../C/gedit.xml:91(contrib) +#: ../C/pluma.xml:86(contrib) ../C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Anerkendelser" -#: ../C/gedit.xml:89(firstname) +#: ../C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: ../C/gedit.xml:90(surname) +#: ../C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George bidrog med information om udvidelsesmoduler." -#: ../C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit v. 1.0" +#: ../C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma v. 1.0" -#: ../C/gedit.xml:118(para) +#: ../C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: ../C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manual til gedit v. 2.0" +#: ../C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manual til pluma v. 2.0" -#: ../C/gedit.xml:125(date) +#: ../C/pluma.xml:125(date) msgid "March 2002" msgstr "Marts 2002" -#: ../C/gedit.xml:127(para) ../C/gedit.xml:135(para) ../C/gedit.xml:143(para) -#: ../C/gedit.xml:151(para) ../C/gedit.xml:159(para) ../C/gedit.xml:167(para) -#: ../C/gedit.xml:175(para) ../C/gedit.xml:183(para) +#: ../C/pluma.xml:127(para) ../C/pluma.xml:135(para) ../C/pluma.xml:143(para) +#: ../C/pluma.xml:151(para) ../C/pluma.xml:159(para) ../C/pluma.xml:167(para) +#: ../C/pluma.xml:175(para) ../C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE-dokumentationsholdet" -#: ../C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manual til gedit v. 2.1" +#: ../C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manual til pluma v. 2.1" -#: ../C/gedit.xml:133(date) +#: ../C/pluma.xml:133(date) msgid "June 2002" msgstr "Juni 2002" -#: ../C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manual til gedit v. 2.2" +#: ../C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manual til pluma v. 2.2" -#: ../C/gedit.xml:141(date) +#: ../C/pluma.xml:141(date) msgid "August 2002" msgstr "August 2002" -#: ../C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manual til gedit v. 2.3" +#: ../C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manual til pluma v. 2.3" -#: ../C/gedit.xml:149(date) +#: ../C/pluma.xml:149(date) msgid "September 2002" msgstr "September 2002" -#: ../C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manual til gedit v. 2.4" +#: ../C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manual til pluma v. 2.4" -#: ../C/gedit.xml:157(date) +#: ../C/pluma.xml:157(date) msgid "January 2003" msgstr "Januar 2003" -#: ../C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manual til gedit v. 2.5" +#: ../C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manual til pluma v. 2.5" -#: ../C/gedit.xml:165(date) +#: ../C/pluma.xml:165(date) msgid "March 2003" msgstr "Marts 2003" -#: ../C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manual til gedit v. 2.6" +#: ../C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manual til pluma v. 2.6" -#: ../C/gedit.xml:173(date) +#: ../C/pluma.xml:173(date) msgid "September 2003" msgstr "September 2003" -#: ../C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manual til gedit v. 2.7" +#: ../C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manual til pluma v. 2.7" -#: ../C/gedit.xml:181(date) +#: ../C/pluma.xml:181(date) msgid "March 2004" msgstr "Marts 2004" -#: ../C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manual til gedit v. 2.8" +#: ../C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manual til pluma v. 2.8" -#: ../C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manual til gedit v. 2.9" +#: ../C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manual til pluma v. 2.9" -#: ../C/gedit.xml:199(para) +#: ../C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE-dokumentationsholdet" -#: ../C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Denne manual beskriver version 2.16 af gedit." +#: ../C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Denne manual beskriver version 2.16 af pluma." -#: ../C/gedit.xml:207(title) +#: ../C/pluma.xml:207(title) msgid "Feedback" msgstr "Feedback" -#: ../C/gedit.xml:208(para) +#: ../C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "For at rapportere fejl eller foreslå forbedringer vedrørende programmet " -"gedit eller denne manual, bør du følge " +"pluma eller denne manual, bør du følge " "instruktionerne på MATE-Feedbacksiden." -#: ../C/gedit.xml:213(para) +#: ../C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit er et tekstredigeringsprogram for MATE-skrivebordet med basal men " +"pluma er et tekstredigeringsprogram for MATE-skrivebordet med basal men " "robust funktionalitet såsom udskrivning, stavekontrol, søg og erstat og " "synteksfremhævning. Mere avanceret funktionalitet er tilgængelig i form af " "udvidelsesmoduler." -#: ../C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: ../C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: ../C/gedit.xml:219(primary) +#: ../C/pluma.xml:219(primary) msgid "text editor" msgstr "teksredigeringsprogram" -#: ../C/gedit.xml:224(title) +#: ../C/pluma.xml:224(title) msgid "Introduction" msgstr "Introduktion" -#: ../C/gedit.xml:229(para) +#: ../C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"Programmet gedit gør dig i stand til at oprette " +"Programmet pluma gør dig i stand til at oprette " "og redigere i tekstfiler." -#: ../C/gedit.xml:231(para) +#: ../C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Målet med gedit er, at det skal være et simpelt " +"Målet med pluma er, at det skal være et simpelt " "tekstredigeringsprogram, som er let at bruge. Mere avancerede funktioner kan " "aktiveres ved hjælp af diverse udvidelsesmoduler, som " "kan give programmet mange nye tekstredigeringsrelaterede funktioner." -#: ../C/gedit.xml:235(title) +#: ../C/pluma.xml:235(title) msgid "Getting Started" msgstr "Kom godt i gang" -#: ../C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Opstart af gedit" +#: ../C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Opstart af pluma" -#: ../C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "Du kan starte gedit på følgende måder:" +#: ../C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "Du kan starte pluma på følgende måder:" -#: ../C/gedit.xml:243(term) +#: ../C/pluma.xml:243(term) msgid "Applications menu" msgstr "Menuen Programmer" -#: ../C/gedit.xml:245(para) +#: ../C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -423,65 +423,65 @@ msgstr "" "Vælg TilbehørTekstredigering." -#: ../C/gedit.xml:249(term) +#: ../C/pluma.xml:249(term) msgid "Command line" msgstr "Kommandolinje" -#: ../C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Udfør den følgende kommando: gedit" +#: ../C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Udfør den følgende kommando: pluma" -#: ../C/gedit.xml:255(para) +#: ../C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"Som standard, når du åbner et tekstdokument, vil gedit starte op og vise " +"Som standard, når du åbner et tekstdokument, vil pluma starte op og vise " "dokumentets indhold." -#: ../C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "gedit-vinduet" +#: ../C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "pluma-vinduet" -#: ../C/gedit.xml:261(para) +#: ../C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Når du starter gedit, vil det følgende vindue " +"Når du starter pluma, vil det følgende vindue " "blive vist:" -#: ../C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "gedit-vindue" +#: ../C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "pluma-vindue" -#: ../C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Viser gedits hovedvindue." +#: ../C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Viser plumas hovedvindue." -#: ../C/gedit.xml:276(para) +#: ../C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"gedit-vinduet indeholder følgende elementer:" +"pluma-vinduet indeholder følgende elementer:" -#: ../C/gedit.xml:279(term) +#: ../C/pluma.xml:279(term) msgid "Menubar" msgstr "Menulinje" -#: ../C/gedit.xml:281(para) +#: ../C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Menuerne på menulinjen indeholder alle de kommandoer du behøver for at kunne " -"arbejde med filer i gedit." +"arbejde med filer i pluma." -#: ../C/gedit.xml:284(term) +#: ../C/pluma.xml:284(term) msgid "Toolbar" msgstr "Værktøjslinje" -#: ../C/gedit.xml:286(para) +#: ../C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -489,29 +489,29 @@ msgstr "" "Værktøjslinjen indeholder et udvalg af de kommandoer du kan finde i " "menulinjen." -#: ../C/gedit.xml:289(term) +#: ../C/pluma.xml:289(term) msgid "Display area" msgstr "Visningsområde" -#: ../C/gedit.xml:291(para) +#: ../C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Visningsområdet indeholder teksten fra den fil, som du redigerer." -#: ../C/gedit.xml:294(term) +#: ../C/pluma.xml:294(term) msgid "Statusbar" msgstr "Statuslinje" -#: ../C/gedit.xml:296(para) +#: ../C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"Statuslinjen viser information om nuværende aktivitet i geditpluma samt kontekstuel information om menuobjekterne. Statuslinjen " "viser også den følgende information:" -#: ../C/gedit.xml:299(para) +#: ../C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -520,7 +520,7 @@ msgstr "" "befinder sig." # Indsatte paranteser for at lette forståelsen. "Indsæt-tilstand" og "Overskriv-tilstand" siger jo i sig selv ikke særlig meget... -#: ../C/gedit.xml:302(para) +#: ../C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -535,11 +535,11 @@ msgstr "" "guilabel>. Tryk på Insert på dit tastatur for at ændre " "redigeringstilstand." -#: ../C/gedit.xml:307(term) +#: ../C/pluma.xml:307(term) msgid "Side Pane" msgstr "Sidepanel" -#: ../C/gedit.xml:309(para) +#: ../C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -547,7 +547,7 @@ msgstr "" "Sidepanelet viser en liste over åbne dokumenter samt anden information " "afhængigt af hvilke udvidelsesmoduler der er aktiveret." -#: ../C/gedit.xml:310(para) +#: ../C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneVisSidepanel." -#: ../C/gedit.xml:313(term) +#: ../C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Bundpanel" # Og lad nu for h*** være med at ændre dette til "uddata", tak -#: ../C/gedit.xml:315(para) +#: ../C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -570,7 +570,7 @@ msgstr "" "Bundpanelet bruges af programmeringsværktøjer, som f.eks. udvidelsesmodulet " "Python-konsol til at vise output." -#: ../C/gedit.xml:316(para) +#: ../C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneVisBundpanel." -#: ../C/gedit.xml:320(para) +#: ../C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Når du højreklikker i gedit-vinduet, viser " +"Når du højreklikker i pluma-vinduet, viser " "programmet en popup-menu. Popup-menuen indeholder de oftest brugte " "tekstredigeringskommandoer." -#: ../C/gedit.xml:322(para) +#: ../C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Ligesom i andre MATE-programmer kan handlinger i geditpluma udføres på flere forskellige måder: med menuen, med " "værktøjslinjen eller med genvejstasterne. Genvejstaster, som er generelle " "for alle programmer, er vist i brugervejledningen." -#: ../C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Opstart af gedit fra en kommandolinje" +#: ../C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Opstart af pluma fra en kommandolinje" # Er lidt usikker på hvad tasten officielt hedder på dansk, men jeg og alle jeg kender har altid brugt "Enter" -#: ../C/gedit.xml:328(para) +#: ../C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Du kan køre gedit fra en kommandolinje og åbne en " +"Du kan køre pluma fra en kommandolinje og åbne en " "enkelt eller flere filer. For at åbne flere filer fra en kommandolinje skal " "du skrive den følgende kommando og afslutte med et tryk på Enter:" -#: ../C/gedit.xml:329(replaceable) +#: ../C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "fil1.txt fil2.txt fil3.txt" # Kommando, bør næppe oversættes -#: ../C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: ../C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: ../C/gedit.xml:330(para) +#: ../C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Alternativt kan du angive en URI i stedet for et filnavn." -#: ../C/gedit.xml:331(para) +#: ../C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"For yderligere information om hvordan du kører geditpluma fra en kommandolinje, se programmets unix-manual, geditpluma1." -#: ../C/gedit.xml:336(title) +#: ../C/pluma.xml:336(title) msgid "Working with Files" msgstr "Arbejde med filer" -#: ../C/gedit.xml:340(title) +#: ../C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Opret et nyt dokument" -#: ../C/gedit.xml:341(para) +#: ../C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "For at oprette et nyt dokument skal du vælge FilNy. Programmet viser et nyt, " -"tomt dokument i gedit-vinduet." +"tomt dokument i pluma-vinduet." -#: ../C/gedit.xml:346(title) ../C/gedit.xml:1589(title) +#: ../C/pluma.xml:346(title) ../C/pluma.xml:1589(title) msgid "Opening a File" msgstr "Åbn en fil" -#: ../C/gedit.xml:347(para) +#: ../C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Hvis du vil åbne en eksisterende fil skal du vælge FilÅbn... for at vise dialogen " "Åbn filer. Vælg den fil som du ønsker at åbne og klik " "derefter på Åbn. Filen vises herefter i " -"gedit-vinduet." +"pluma-vinduet." -#: ../C/gedit.xml:349(phrase) +#: ../C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Viser menuikonet for Senest benyttede filer." -#: ../C/gedit.xml:349(para) +#: ../C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -698,25 +698,25 @@ msgstr "" "ikonet på værktøjslinjen for at få vist listen over senest " "benyttede filer." -#: ../C/gedit.xml:351(para) +#: ../C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Du kan åbne flere filer i gedit. Programmet " +"Du kan åbne flere filer i pluma. Programmet " "tilføjer et ekstra faneblad i vinduet for hver åben fil. Se for yderligere information." +"\"pluma-tabs\"/> for yderligere information." -#: ../C/gedit.xml:357(title) +#: ../C/pluma.xml:357(title) msgid "Saving a File" msgstr "Gem en fil" -#: ../C/gedit.xml:358(para) +#: ../C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Du kan gemme filer på følgende måder:" -#: ../C/gedit.xml:360(para) +#: ../C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -725,7 +725,7 @@ msgstr "" "FilGem." -#: ../C/gedit.xml:362(para) +#: ../C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsGem som... og afslut med et klik på Gem." -#: ../C/gedit.xml:364(para) +#: ../C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" "Hvis du ønsker at gemme alle de filer, som du i øjeblikket har åbne i " -"gedit, skal du vælge " +"pluma, skal du vælge " "DokumenterGem alle." -#: ../C/gedit.xml:367(para) +#: ../C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" "For at lukke alle de filer, som du i øjeblikket har åbne i " -"gedit, skal du vælge " +"pluma, skal du vælge " "DokumenterLuk alle." -#: ../C/gedit.xml:372(title) +#: ../C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Åbn en fil fra en URI" -#: ../C/gedit.xml:373(para) +#: ../C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -772,7 +772,7 @@ msgstr "" "For at åbne en fil fra en Uniform Resource Identifier (URI) skal du gøre " "følgende:" -#: ../C/gedit.xml:376(para) +#: ../C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -782,11 +782,11 @@ msgstr "" "guimenuitem> for at få vist dialogen Åbn sted...." -#: ../C/gedit.xml:379(para) +#: ../C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Skriv URI'en på den fil som du vil åbne." -#: ../C/gedit.xml:382(para) +#: ../C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -794,11 +794,11 @@ msgstr "" "Brug rullemenuen Tegnkodning til at vælge den korrekte " "tegnkodning." -#: ../C/gedit.xml:385(para) +#: ../C/pluma.xml:385(para) msgid "Click Open." msgstr "Klik Åbn." -#: ../C/gedit.xml:388(para) +#: ../C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -808,7 +808,7 @@ msgstr "" "literal>, ftp:, file:, samt alle " "metoder som understøttes af mate-vfs." -#: ../C/gedit.xml:389(para) +#: ../C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -820,65 +820,65 @@ msgstr "" "filer. Filer åbnet fra FTP kan også kun læses, fordi ikke alle FTP-servere " "kan gemme fjernfiler." -#: ../C/gedit.xml:390(para) +#: ../C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "At gemme til FTP-servere kan aktiveres med Konfigurationsredigering " -"ved at sætte nøglen /apps/gedit-2/preferences/editor/save/" +"ved at sætte nøglen /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, men dette kan give fejlmeddelelser." -#: ../C/gedit.xml:395(title) +#: ../C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Arbejde med faneblade" -#: ../C/gedit.xml:397(para) +#: ../C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Når du har mere end en fil åben, viser gedit et " +"Når du har mere end en fil åben, viser pluma et " "faneblad for hvert dokument over visningsområdet. For " "at skifte til et andet dokument skal du blot klikke på dets faneblad." -#: ../C/gedit.xml:398(para) +#: ../C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"For at flytte et dokument til et andet gedit-" +"For at flytte et dokument til et andet pluma-" "vindue skal du trække filens faneblad til det vindue du vil flytte den til." -#: ../C/gedit.xml:399(para) +#: ../C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"For at flytte et dokument til et nyt gedit-vindue " +"For at flytte et dokument til et nyt pluma-vindue " "kan du enten trække dets faneblad ud på skrivebordet eller vælge " "DokumenterFlyt til nyt vindue." -#: ../C/gedit.xml:405(title) +#: ../C/pluma.xml:405(title) msgid "Working with Text" msgstr "Arbejd med tekst" -#: ../C/gedit.xml:409(title) +#: ../C/pluma.xml:409(title) msgid "Editing Text" msgstr "Redigér i tekst" -#: ../C/gedit.xml:410(para) +#: ../C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Du kan redigere teksten i en fil på følgende måder:" # "indsætningsmarkør" er et gæt -#: ../C/gedit.xml:412(para) +#: ../C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -888,7 +888,7 @@ msgstr "" "firstterm> markerer det punkt hvor den nye tekst vil fremkomme. Brug " "piletasterne på tastaturet, eller klik med musen, for at ændre dette." -#: ../C/gedit.xml:414(para) +#: ../C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyRedigérKopiér." -#: ../C/gedit.xml:416(para) +#: ../C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutRedigérKlip." -#: ../C/gedit.xml:418(para) +#: ../C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteRedigérSlet." -#: ../C/gedit.xml:420(para) +#: ../C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "For at indsætte indholdet af udklipsholderen på det punkt, hvor markøren er " "placeret, skal du vælge RedigérIndsæt. Du skal klippe eller " -"kopiere teksten du vil indsætte, enten fra gedit eller fra et andet program, " +"kopiere teksten du vil indsætte, enten fra pluma eller fra et andet program, " "før du kan indsætte den i filen." -#: ../C/gedit.xml:422(para) +#: ../C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -939,11 +939,11 @@ msgstr "" "For at markere al tekst i en fil skal du vælge RedigérMarkér alt." -#: ../C/gedit.xml:428(title) +#: ../C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Fortryd og gentag ændringer" -#: ../C/gedit.xml:429(para) +#: ../C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -956,32 +956,32 @@ msgstr "" "skal du vælge RedigérGentag." -#: ../C/gedit.xml:434(title) +#: ../C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Find og erstat" -#: ../C/gedit.xml:436(para) +#: ../C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"I gedit er der to måder at kunne søge efter tekst " +"I pluma er der to måder at kunne søge efter tekst " "på. Du kan bruge dialogen Find til at søge efter et " "specifikt stykke tekst, eller Løbende søgning... til at " "fremhæve matchende tekst efterhånden som du skriver den." -#: ../C/gedit.xml:441(title) +#: ../C/pluma.xml:441(title) msgid "Finding Text" msgstr "Find specifik tekst" -#: ../C/gedit.xml:442(para) +#: ../C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "For at søge i en fil efter et specifikt stykke tekst skal du gøre følgende:" -#: ../C/gedit.xml:444(para) +#: ../C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -989,30 +989,30 @@ msgstr "" "Vælg SøgFind... for at vise dialogen Find." -#: ../C/gedit.xml:446(para) +#: ../C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Skriv det tekststykke, som du ønsker at finde, i Søg efter-feltet. Din søgning kan godt indeholde specielle tegn såsom en ny " -"linje eller indryk: se ." +"linje eller indryk: se ." -#: ../C/gedit.xml:448(para) +#: ../C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Klik Find for at søge i filen efter første sted efter " "den nuværende markørposition hvor den ønskede tekst figurerer. Hvis " -"gedit finder teksten, vælger programmet det " +"pluma finder teksten, vælger programmet det " "første sted hvor teksten forekommer. Andre forekomster af teksten fremhæves." -#: ../C/gedit.xml:450(para) +#: ../C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextSøgFind forrige." -#: ../C/gedit.xml:453(para) +#: ../C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1040,7 +1040,7 @@ msgstr "" "menuchoice> og SøgFind forrige." -#: ../C/gedit.xml:454(para) +#: ../C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightSøgRyd fremhævning." -#: ../C/gedit.xml:458(title) +#: ../C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Løbende søgning" -#: ../C/gedit.xml:460(para) +#: ../C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1064,7 +1064,7 @@ msgstr "" "at du skriver teksten ind bogstav for bogstav. (Dette ligner meget " "søgefunktionen i flere webbrowsere.)" -#: ../C/gedit.xml:461(para) +#: ../C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1074,7 +1074,7 @@ msgstr "" "guimenu>Løbende søgning. Søgeboksen " "kommer frem i toppen af visningsområdet." -#: ../C/gedit.xml:462(para) +#: ../C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1082,7 +1082,7 @@ msgstr "" "Begynd at skrive, og teksten som matcher vil blive fremhævet i dokumentet. " "Den første forekomst efter markørens placering markeres også." -#: ../C/gedit.xml:463(para) +#: ../C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlG. Tryk CtrlShiftG for at gå tilbage til den forrige match." -#: ../C/gedit.xml:464(para) +#: ../C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1102,11 +1102,11 @@ msgstr "" "Du kan også bruge piletasterne op og ned, eller musehjulet, til at flytte " "markeringen mellem fundne tekststrenge der matcher." -#: ../C/gedit.xml:469(title) +#: ../C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Erstat tekst" -#: ../C/gedit.xml:471(para) +#: ../C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1114,7 +1114,7 @@ msgstr "" "For at søge i en fil efter en tekststreng, og erstatte denne streng med en " "alternativ streng, skal du gøre følgende:" -#: ../C/gedit.xml:473(para) +#: ../C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1122,17 +1122,17 @@ msgstr "" "Vælg SøgErstat... for at vise dialogen Erstat." -#: ../C/gedit.xml:475(para) +#: ../C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Indtast den tekststreng, som du ønsker at finde, i Søg efter-feltet. Du kan godt bruge specielle tegn såsom ny linje eller " -"indryk: se ." +"indryk: se ." -#: ../C/gedit.xml:476(para) +#: ../C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1140,22 +1140,22 @@ msgstr "" "Skriv den tekststreng, som du ønsker at erstatte den gamle tekststreng med, " "i Erstat med-feltet." -#: ../C/gedit.xml:480(para) +#: ../C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "For at undersøge hver enkelt forekomst af tekststrengen før du erstatter den " -"skal du klikke på Find. Hvis geditFind. Hvis pluma finder teksten markerer programmet den automatisk. Klik på " "Erstat for at erstatte den markerede forekomst af " "tekststrengen. For at finde den næste forekomst klikker du blot " "Find igen." -#: ../C/gedit.xml:481(para) +#: ../C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1163,11 +1163,11 @@ msgstr "" "Hvis du vil erstatte alle forekomster af tekststrengen i hele dokumentet, " "skal du klikke på Erstat alle." -#: ../C/gedit.xml:486(title) +#: ../C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Indstillinger for Find og Erstat" -#: ../C/gedit.xml:487(para) +#: ../C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1175,7 +1175,7 @@ msgstr "" "Dialogen Find og dialogen Erstat " "har begge følgende indstillingsmuligheder:" -#: ../C/gedit.xml:489(para) +#: ../C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1187,7 +1187,7 @@ msgstr "" "eksempel vil \"TEKST\" ikke være det samme som \"tekst\", hvis du har valgt " "Forskel på små/store bogstaver." -#: ../C/gedit.xml:491(para) +#: ../C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1199,7 +1199,7 @@ msgstr "" "skriver. For eksempel vil \"tekst\" ikke matche \"tekstiler\" hvis du har " "valgt Søg kun efter hele ord." -#: ../C/gedit.xml:493(para) +#: ../C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1207,7 +1207,7 @@ msgstr "" "Vælg Søg bagud for at søge baglæns mod begyndelsen af " "dokumentet." -#: ../C/gedit.xml:495(para) +#: ../C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1216,11 +1216,11 @@ msgstr "" "slutningen af dokumentet, og derefter fortsætte søgningen fra den anden ende " "af filen." -#: ../C/gedit.xml:502(title) +#: ../C/pluma.xml:502(title) msgid "Special Characters" msgstr "Specielle tegn" -#: ../C/gedit.xml:503(para) +#: ../C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1228,35 +1228,35 @@ msgstr "" "Du kan inkludere de følgende sekvenser i teksten, der skal findes eller " "erstattes, til at repræsentere specielle tegn:" -#: ../C/gedit.xml:506(literal) +#: ../C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: ../C/gedit.xml:508(para) +#: ../C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Indikerer en ny linje (line feed)." -#: ../C/gedit.xml:512(literal) +#: ../C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: ../C/gedit.xml:514(para) +#: ../C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Indikerer et indtryk." -#: ../C/gedit.xml:518(literal) +#: ../C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: ../C/gedit.xml:520(para) +#: ../C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Indikerer en ny linje (carriage return)." -#: ../C/gedit.xml:524(literal) +#: ../C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: ../C/gedit.xml:526(para) +#: ../C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1270,11 +1270,11 @@ msgstr "" "guilabel>-feltet. Hvis du søger efter en følge af omvendte skråstreger, skal " "antallet af disse fordobles i søgestrengen." -#: ../C/gedit.xml:538(title) +#: ../C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Placering af markøren på en bestemt linje" -#: ../C/gedit.xml:540(para) +#: ../C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. Linjenummerboksen vises i toppen af " "visningsområdet." -#: ../C/gedit.xml:541(para) +#: ../C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1293,7 +1293,7 @@ msgstr "" "Begynd at skrive nummeret på den linje som du ønsker at flytte markøren til, " "og dokumentet vil rulle op/ned til den angivne linje." -#: ../C/gedit.xml:542(para) +#: ../C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1301,15 +1301,15 @@ msgstr "" "For at fjerne boksen og flytte markøren til den angivne linje, skal du " "trykke på Enter." -#: ../C/gedit.xml:548(title) +#: ../C/pluma.xml:548(title) msgid "Printing" msgstr "Udskrivning" -#: ../C/gedit.xml:552(title) +#: ../C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Indstilling af sideopsætning" -#: ../C/gedit.xml:554(para) +#: ../C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1319,7 +1319,7 @@ msgstr "" "guimenu>Sideopsætning... for at vise " "dialogen Sideopsætning." -#: ../C/gedit.xml:556(para) +#: ../C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1327,27 +1327,27 @@ msgstr "" "Dialogen Sideopsætning giver dig mulighed for at angive " "de følgende udskriftsindstillinger:" -#: ../C/gedit.xml:559(title) +#: ../C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Fanebladet Generelt" -#: ../C/gedit.xml:561(guilabel) +#: ../C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Udskriv syntaksfremhævning" -#: ../C/gedit.xml:563(para) +#: ../C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Vælg denne mulighed for at udskrive syntaksfremhævning. Se for yderligere information." +"\"pluma-set-highlightmode\"/> for yderligere information." -#: ../C/gedit.xml:566(guilabel) +#: ../C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Udskriv sidehoveder" -#: ../C/gedit.xml:568(para) +#: ../C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1355,11 +1355,11 @@ msgstr "" "Vælg denne mulighed for at inkludere et sidehoved på hver side, som du " "udskriver. Du kan ikke konfigurere sidehovedet." -#: ../C/gedit.xml:571(guilabel) ../C/gedit.xml:1175(guilabel) +#: ../C/pluma.xml:571(guilabel) ../C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Linjenummerering" -#: ../C/gedit.xml:574(para) +#: ../C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1367,7 +1367,7 @@ msgstr "" "Vælg Udskriv linjenumre for at inkludere linjenumre når " "du udskriver en fil." -#: ../C/gedit.xml:575(para) +#: ../C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1377,13 +1377,13 @@ msgstr "" "hvor ofte linjenumrene skal udskrives, for eksempel hver 5. linje, hver 10. " "linje osv." -#: ../C/gedit.xml:578(guilabel) ../C/gedit.xml:1168(guilabel) -#: ../C/gedit.xml:1685(para) +#: ../C/pluma.xml:578(guilabel) ../C/pluma.xml:1168(guilabel) +#: ../C/pluma.xml:1685(para) msgid "Text Wrapping" msgstr "Tekstombrydning" # Ekstra, kunstig forklaring tilføjet for at redde en ellers kryptisk oversættelse. -#: ../C/gedit.xml:580(para) +#: ../C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1396,7 +1396,7 @@ msgstr "" "i forbindelse med linjenummerering." # Ekstra, kunstig forklaring tilføjet for at redde en ellers kryptisk oversættelse. -#: ../C/gedit.xml:582(para) +#: ../C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1406,15 +1406,15 @@ msgstr "" "vil et ord ikke blive delt mellem to linjer - i stedet vil hele ordet blive " "flyttet til den næste linje." -#: ../C/gedit.xml:590(title) +#: ../C/pluma.xml:590(title) msgid "Fonts" msgstr "Skrifttyper" -#: ../C/gedit.xml:592(guilabel) +#: ../C/pluma.xml:592(guilabel) msgid "Body" msgstr "Brødtekst" -#: ../C/gedit.xml:594(para) +#: ../C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1422,19 +1422,19 @@ msgstr "" "Klik på denne knap for at vælge skrifttype til udskrift af brødteksten i en " "fil." -#: ../C/gedit.xml:597(guilabel) +#: ../C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Linjenumre" -#: ../C/gedit.xml:600(para) +#: ../C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "Klik på denne knap for at vælge skrifttype til udskrift af linjenumre." -#: ../C/gedit.xml:603(guilabel) +#: ../C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Sidehoveder og -fødder" -#: ../C/gedit.xml:605(para) +#: ../C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1442,47 +1442,47 @@ msgstr "" "Klik på denne knap for at vælge skrifttype til udskrift af sidehoveder og " "sidefødder i en fil." -#: ../C/gedit.xml:609(para) +#: ../C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"For at gendanne standardskrifttyperne for udskrifter i geditpluma skal du klikke på Gendan standardskrifttyper." -#: ../C/gedit.xml:616(title) +#: ../C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Udskriv et dokument" -#: ../C/gedit.xml:617(para) +#: ../C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Du kan bruge gedit til at udføre følgende " +"Du kan bruge pluma til at udføre følgende " "udskrivningsfunktioner:" -#: ../C/gedit.xml:619(para) +#: ../C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Udskriv et dokument til en printer." -#: ../C/gedit.xml:621(para) +#: ../C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Udskriv output fra udskrivningskommandoen til en fil." -#: ../C/gedit.xml:624(para) +#: ../C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Hvis du udskriver til en fil vil gedit sende " +"Hvis du udskriver til en fil vil pluma sende " "filens output til en præ-pres-formatfil. De mest brugte præ-pres-formater er " "PostScript og Portable Document Format (PDF)." -#: ../C/gedit.xml:626(para) +#: ../C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewFilVis udskrift." -#: ../C/gedit.xml:628(para) +#: ../C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintFilUdskriv... for at vise dialogen Udskriv." -#: ../C/gedit.xml:630(para) +#: ../C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1510,34 +1510,34 @@ msgstr "" "Dialogen Udskriv gør dig i stand til at angive følgende " "udskrivningsindstillinger:" -#: ../C/gedit.xml:633(title) +#: ../C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Fanebladet Job" -#: ../C/gedit.xml:635(guilabel) +#: ../C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Udskriftsområde" -#: ../C/gedit.xml:637(para) +#: ../C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Vælg en af de følgende muligheder for at bestemme, hvor mange sider der skal " "udskrives:" -#: ../C/gedit.xml:640(guilabel) +#: ../C/pluma.xml:640(guilabel) msgid "All" msgstr "Alle" -#: ../C/gedit.xml:641(para) +#: ../C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Vælg denne mulighed for at udskrive alle filens sider." -#: ../C/gedit.xml:644(guilabel) +#: ../C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Linjer" -#: ../C/gedit.xml:645(para) +#: ../C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1547,11 +1547,11 @@ msgstr "" "rulleknapperne Fra og Til for at " "angive, hvilket område der skal udskrives." -#: ../C/gedit.xml:648(guilabel) +#: ../C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Markerede" -#: ../C/gedit.xml:649(para) +#: ../C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1559,11 +1559,11 @@ msgstr "" "Vælg denne mulighed for kun at udskrive den markerede tekst. Denne mulighed " "er kun tilgængelig hvis du har markeret tekst." -#: ../C/gedit.xml:655(guilabel) +#: ../C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Kopier" -#: ../C/gedit.xml:657(para) +#: ../C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1572,7 +1572,7 @@ msgstr "" "af kopier du ønsker af udskriften af filen." # Ændres nok snart -#: ../C/gedit.xml:658(para) +#: ../C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1580,15 +1580,15 @@ msgstr "" "Hvis du udskriver flere kopier af filen, kan du vælge Ordn for at ordne de udskrevne kopier." -#: ../C/gedit.xml:665(title) +#: ../C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Fanebladet Printer" -#: ../C/gedit.xml:667(guilabel) +#: ../C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Printer" -#: ../C/gedit.xml:669(para) +#: ../C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1596,15 +1596,15 @@ msgstr "" "Brug denne rullegardinsliste til at vælge den printer, som du ønsker skal " "udskrive filen." -#: ../C/gedit.xml:672(guilabel) +#: ../C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Indstillinger" -#: ../C/gedit.xml:674(para) +#: ../C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Brug denne rullegardinsliste til at vælge printerindstillinger." -#: ../C/gedit.xml:676(para) +#: ../C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1615,26 +1615,26 @@ msgstr "" "eller planlægge forsinket udskrift, hvis denne funktionalitet understøttes " "af printeren." -#: ../C/gedit.xml:680(guilabel) +#: ../C/pluma.xml:680(guilabel) msgid "Location" msgstr "Placering" -#: ../C/gedit.xml:682(para) +#: ../C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Brug denne rullegardinsliste til at vælge en af de følgende " "udskrivningsdestinationer:" -#: ../C/gedit.xml:687(guilabel) +#: ../C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: ../C/gedit.xml:689(para) +#: ../C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Udskriv filen til en CUPS-printer." -#: ../C/gedit.xml:693(para) +#: ../C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1642,23 +1642,23 @@ msgstr "" "Hvis den valgte printer er en CUPS-printer, er CUPS den " "eneste mulighed i denne rullegardinsliste." -#: ../C/gedit.xml:700(guilabel) +#: ../C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: ../C/gedit.xml:702(para) +#: ../C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Udskriv filen til en printer." -#: ../C/gedit.xml:708(guilabel) +#: ../C/pluma.xml:708(guilabel) msgid "File" msgstr "File" -#: ../C/gedit.xml:710(para) +#: ../C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Udskriv filen til en PostScript-fil." -#: ../C/gedit.xml:713(para) +#: ../C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1666,15 +1666,15 @@ msgstr "" "Klik på Gem som for at vise en dialog, hvor du " "angiver navn og placering til PostScript-filen." -#: ../C/gedit.xml:719(guilabel) +#: ../C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Custom" -#: ../C/gedit.xml:721(para) +#: ../C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Brug den angivne kommando til at udskrive filen." -#: ../C/gedit.xml:724(para) +#: ../C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1682,32 +1682,32 @@ msgstr "" "Indtast navnet på kommandoen i tekstboksen. Inkludér alle " "kommandolinjeargumenter." -#: ../C/gedit.xml:732(guilabel) +#: ../C/pluma.xml:732(guilabel) msgid "State" msgstr "Tilstand" -#: ../C/gedit.xml:734(para) ../C/gedit.xml:740(para) ../C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Denne funktionalitet understøttes ikke i denne version af gedit." +#: ../C/pluma.xml:734(para) ../C/pluma.xml:740(para) ../C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Denne funktionalitet understøttes ikke i denne version af pluma." -#: ../C/gedit.xml:738(guilabel) +#: ../C/pluma.xml:738(guilabel) msgid "Type" msgstr "Type" -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:744(guilabel) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Kommentér" -#: ../C/gedit.xml:754(title) +#: ../C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Fanebladet Papir" -#: ../C/gedit.xml:756(guilabel) +#: ../C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Papirstørrelse" -#: ../C/gedit.xml:758(para) +#: ../C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1715,11 +1715,11 @@ msgstr "" "Brug denne rullegardinsliste til at vælge størrelse på det papir, som du " "ønsker filen udskrevet på." -#: ../C/gedit.xml:761(guilabel) +#: ../C/pluma.xml:761(guilabel) msgid "Width" msgstr "Bredde" -#: ../C/gedit.xml:763(para) +#: ../C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1727,21 +1727,21 @@ msgstr "" "Brug denne rulleknap til at angive papirbredden. Brug rullegardinslisten ved " "siden af til at ændre måleenhed." -#: ../C/gedit.xml:766(guilabel) +#: ../C/pluma.xml:766(guilabel) msgid "Height" msgstr "Højde" -#: ../C/gedit.xml:768(para) +#: ../C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Brug denne rulleknap til at angive papirhøjden." -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:771(guilabel) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Feedorientering" -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:773(para) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." @@ -1749,19 +1749,19 @@ msgstr "" "Brug denne rullegardinsmenu til at vælge orienteringen af det papir som er i " "printeren." -#: ../C/gedit.xml:776(guilabel) +#: ../C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Sideorientering" -#: ../C/gedit.xml:778(para) +#: ../C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Brug denne rullegardinsliste til at vælge sideorientering." -#: ../C/gedit.xml:781(guilabel) +#: ../C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Layout" -#: ../C/gedit.xml:783(para) +#: ../C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1769,35 +1769,35 @@ msgstr "" "Brug denne rullegardinsliste til at vælge sidelayout. En forhåndsvisning af " "hvert layout, du vælger, vises i Eksempel-området." -#: ../C/gedit.xml:786(guilabel) +#: ../C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Papirbakke" -#: ../C/gedit.xml:788(para) +#: ../C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Brug denne rullegardinsliste til at vælge papirbakken." -#: ../C/gedit.xml:799(title) +#: ../C/pluma.xml:799(title) msgid "Programming Features" msgstr "Programmeringsfaciliteter" -#: ../C/gedit.xml:801(para) +#: ../C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Flere af gedits programmeringsfaciliteter ydes " +"Flere af plumas programmeringsfaciliteter ydes " "via udvidelsesmoduler. For eksempel giver Mærkeliste-modulet en liste over " "de oftest brugte mærker for diverse opmærkningssprog: se ." +"\"pluma-tag-list-plugin\"/>." -#: ../C/gedit.xml:805(title) +#: ../C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Syntaksfremhævning" -#: ../C/gedit.xml:806(para) +#: ../C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1805,32 +1805,32 @@ msgstr "" "Syntaksfremhævning gør kildekode nemmere at læse ved at vise forskellige " "dele af teksten i forskellige farver." -#: ../C/gedit.xml:808(para) +#: ../C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit vælger en passende syntaksfremhævning " +"pluma vælger en passende syntaksfremhævning " "baseret på et dokuments type. For at tvinge en bestemt syntaksfremhævning " "igennem skal du vælge VisFremhævningstilstand, og " "vælg derefter en af de følgende:" -#: ../C/gedit.xml:811(guimenuitem) +#: ../C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normal" -#: ../C/gedit.xml:813(para) +#: ../C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Vis ikke syntaksfremhævning." -#: ../C/gedit.xml:817(guisubmenu) +#: ../C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Kilder" -#: ../C/gedit.xml:819(para) +#: ../C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1838,11 +1838,11 @@ msgstr "" "Vis syntaksfremhævning til at redigere kildekode. Brug undermenuen " "Kilder til at vælge kildekodetype." -#: ../C/gedit.xml:823(guisubmenu) +#: ../C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Opmærkning" -#: ../C/gedit.xml:825(para) +#: ../C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1850,11 +1850,11 @@ msgstr "" "Vis syntaksfremhævning til at redigere opmærkningskode. Brug undermenuen " "Markup til at vælge markupkode-type." -#: ../C/gedit.xml:829(guisubmenu) +#: ../C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Scripts" -#: ../C/gedit.xml:831(para) +#: ../C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1862,11 +1862,11 @@ msgstr "" "Vis syntaksfremhævning til at redigere scriptkode. Brug undermenuen " "Scripts til at vælge scriptkode-type." -#: ../C/gedit.xml:835(guisubmenu) +#: ../C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Andre" -#: ../C/gedit.xml:837(para) +#: ../C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1874,31 +1874,31 @@ msgstr "" "Vis syntaksfremhævning til at redigere andre kodetyper. Brug undermenuen " "Andre til at vælge kodetype." -#: ../C/gedit.xml:845(title) +#: ../C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Videreled et kommandooutput til en fil" -#: ../C/gedit.xml:846(para) +#: ../C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Du kan bruge gedit til at viderelede en kommandos " +"Du kan bruge pluma til at viderelede en kommandos " "output til en tekstfil. Hvis du for eksempel vil viderelede output af en " "ls-kommando til en tekstfil skal du skrive ls | " -"gedit, og derefter trykke Enter." +"pluma, og derefter trykke Enter." -#: ../C/gedit.xml:847(para) +#: ../C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Output af kommandoen ls vises i en ny tekstfil i " -"gedit-vinduet." +"pluma-vinduet." -#: ../C/gedit.xml:848(para) +#: ../C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1906,21 +1906,21 @@ msgstr "" "Alternativt kan du bruge udvidelsesmodulet Eksterne værktøjer til at viderelede kommandooutput til den nuværende fil." -#: ../C/gedit.xml:854(title) +#: ../C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Genvejstaster" -#: ../C/gedit.xml:855(para) +#: ../C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Brug genvejstaster til at udføre almindelige opgaver hurtigere end med musen " "og menuerne. De følgende tabeller viser alle tastekombinationerne i " -"gedit." +"pluma." -#: ../C/gedit.xml:856(para) +#: ../C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1929,404 +1929,404 @@ msgstr "" "brugervejledningen for yderligere info om genvejstaster." #. ============= Tabs ======================== -#: ../C/gedit.xml:859(bridgehead) ../C/gedit.xml:1207(guilabel) +#: ../C/pluma.xml:859(bridgehead) ../C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Faneblade" -#: ../C/gedit.xml:860(para) +#: ../C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Genveje til faneblade:" -#: ../C/gedit.xml:868(para) ../C/gedit.xml:912(para) ../C/gedit.xml:968(para) -#: ../C/gedit.xml:1016(para) ../C/gedit.xml:1044(para) -#: ../C/gedit.xml:1091(para) ../C/gedit.xml:1134(para) +#: ../C/pluma.xml:868(para) ../C/pluma.xml:912(para) ../C/pluma.xml:968(para) +#: ../C/pluma.xml:1016(para) ../C/pluma.xml:1044(para) +#: ../C/pluma.xml:1091(para) ../C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Genvejstast" -#: ../C/gedit.xml:870(para) ../C/gedit.xml:914(para) ../C/gedit.xml:970(para) -#: ../C/gedit.xml:1018(para) ../C/gedit.xml:1046(para) -#: ../C/gedit.xml:1093(para) ../C/gedit.xml:1136(para) +#: ../C/pluma.xml:870(para) ../C/pluma.xml:914(para) ../C/pluma.xml:970(para) +#: ../C/pluma.xml:1018(para) ../C/pluma.xml:1046(para) +#: ../C/pluma.xml:1093(para) ../C/pluma.xml:1136(para) msgid "Command" msgstr "Kommando" -#: ../C/gedit.xml:875(para) +#: ../C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: ../C/gedit.xml:876(para) +#: ../C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Skifter til det næste faneblad til venstre." -#: ../C/gedit.xml:879(para) +#: ../C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: ../C/gedit.xml:880(para) +#: ../C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Skifter til det næste faneblad til højre." -#: ../C/gedit.xml:883(para) ../C/gedit.xml:947(para) +#: ../C/pluma.xml:883(para) ../C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: ../C/gedit.xml:884(para) +#: ../C/pluma.xml:884(para) msgid "Close tab." msgstr "Luk faneblad." -#: ../C/gedit.xml:887(para) +#: ../C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: ../C/gedit.xml:888(para) +#: ../C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Gem alle faneblade." -#: ../C/gedit.xml:891(para) +#: ../C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: ../C/gedit.xml:892(para) +#: ../C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Luk alle faneblade." -#: ../C/gedit.xml:895(para) +#: ../C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: ../C/gedit.xml:896(para) +#: ../C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Spring til n. tab." #. ============= Files ======================== -#: ../C/gedit.xml:903(bridgehead) +#: ../C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Filer" -#: ../C/gedit.xml:904(para) +#: ../C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Genveje til arbejde med filer:" -#: ../C/gedit.xml:919(para) +#: ../C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: ../C/gedit.xml:920(para) +#: ../C/pluma.xml:920(para) msgid "Create a new document." msgstr "Opret et nyt dokument." -#: ../C/gedit.xml:923(para) +#: ../C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: ../C/gedit.xml:924(para) +#: ../C/pluma.xml:924(para) msgid "Open a document." msgstr "Åbn et dokument." -#: ../C/gedit.xml:927(para) +#: ../C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: ../C/gedit.xml:928(para) +#: ../C/pluma.xml:928(para) msgid "Open a location." msgstr "Åbn en placering." -#: ../C/gedit.xml:931(para) +#: ../C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: ../C/gedit.xml:932(para) +#: ../C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Gem det nuværende dokument til disken." -#: ../C/gedit.xml:935(para) +#: ../C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: ../C/gedit.xml:936(para) +#: ../C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Gem det nuværende dokument med et nyt filnavn." -#: ../C/gedit.xml:939(para) +#: ../C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: ../C/gedit.xml:940(para) +#: ../C/pluma.xml:940(para) msgid "Print the current document." msgstr "Udskriv det nuværende dokument." -#: ../C/gedit.xml:943(para) +#: ../C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: ../C/gedit.xml:944(para) +#: ../C/pluma.xml:944(para) msgid "Print preview." msgstr "Vis udskrift." -#: ../C/gedit.xml:948(para) +#: ../C/pluma.xml:948(para) msgid "Close the current document." msgstr "Luk det nuværende dokument." -#: ../C/gedit.xml:951(para) +#: ../C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: ../C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Luk gedit." +#: ../C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Luk pluma." #. ============= Edit ======================= -#: ../C/gedit.xml:959(bridgehead) ../C/gedit.xml:1406(guimenu) -#: ../C/gedit.xml:1412(guimenu) ../C/gedit.xml:1418(guimenu) -#: ../C/gedit.xml:1424(guimenu) +#: ../C/pluma.xml:959(bridgehead) ../C/pluma.xml:1406(guimenu) +#: ../C/pluma.xml:1412(guimenu) ../C/pluma.xml:1418(guimenu) +#: ../C/pluma.xml:1424(guimenu) msgid "Edit" msgstr "Redigér" -#: ../C/gedit.xml:960(para) +#: ../C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Genveje til at redigere i dokumenter:" -#: ../C/gedit.xml:975(para) +#: ../C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: ../C/gedit.xml:976(para) +#: ../C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Fortryd den seneste handling." -#: ../C/gedit.xml:979(para) +#: ../C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: ../C/gedit.xml:980(para) +#: ../C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Omgør den senest fortrudte handling." -#: ../C/gedit.xml:983(para) +#: ../C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: ../C/gedit.xml:984(para) +#: ../C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Klip den valgte tekst og placer den i udklipsholderen." -#: ../C/gedit.xml:987(para) +#: ../C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: ../C/gedit.xml:988(para) +#: ../C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Kopier den valgte tekst til udklipsholderen." -#: ../C/gedit.xml:991(para) +#: ../C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: ../C/gedit.xml:992(para) +#: ../C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Indsæt indholdet af udklipsholderen." -#: ../C/gedit.xml:995(para) +#: ../C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: ../C/gedit.xml:996(para) +#: ../C/pluma.xml:996(para) msgid "Select all." msgstr "Markér alt." -#: ../C/gedit.xml:999(para) +#: ../C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: ../C/gedit.xml:1000(para) +#: ../C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Fjern aktuelle linje." #. ============= Panes ======================= -#: ../C/gedit.xml:1007(bridgehead) +#: ../C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Paneler" -#: ../C/gedit.xml:1008(para) +#: ../C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Genveje til at vise og skjule paneler:" -#: ../C/gedit.xml:1023(para) +#: ../C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: ../C/gedit.xml:1024(para) +#: ../C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Vis/skjul sidepanelet." -#: ../C/gedit.xml:1027(para) +#: ../C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: ../C/gedit.xml:1028(para) +#: ../C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Vis/skjul bundpanelet." #. ============= Search ======================= -#: ../C/gedit.xml:1035(bridgehead) +#: ../C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Søg" -#: ../C/gedit.xml:1036(para) +#: ../C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Genveje til søgning:" -#: ../C/gedit.xml:1051(para) +#: ../C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: ../C/gedit.xml:1052(para) +#: ../C/pluma.xml:1052(para) msgid "Find a string." msgstr "Find en streng." -#: ../C/gedit.xml:1055(para) +#: ../C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: ../C/gedit.xml:1056(para) +#: ../C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Find den næste forekomst af strengen." -#: ../C/gedit.xml:1059(para) +#: ../C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: ../C/gedit.xml:1060(para) +#: ../C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Find den forrige forekomst af strengen." -#: ../C/gedit.xml:1063(para) +#: ../C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: ../C/gedit.xml:1064(para) +#: ../C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Interaktiv søgning." -#: ../C/gedit.xml:1067(para) +#: ../C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: ../C/gedit.xml:1068(para) +#: ../C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Søg og erstat." -#: ../C/gedit.xml:1071(para) +#: ../C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: ../C/gedit.xml:1072(para) +#: ../C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Ryd fremhævning." -#: ../C/gedit.xml:1075(para) +#: ../C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: ../C/gedit.xml:1076(para) +#: ../C/pluma.xml:1076(para) msgid "Goto line." msgstr "Gå til linje." #. ============= Tools ======================= -#: ../C/gedit.xml:1082(bridgehead) +#: ../C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Værktøjer" -#: ../C/gedit.xml:1083(para) +#: ../C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Genveje til værktøjer:" -#: ../C/gedit.xml:1098(para) +#: ../C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Shift + F7" -#: ../C/gedit.xml:1099(para) +#: ../C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Tjek stavning (med udvidelsesmodul)." -#: ../C/gedit.xml:1102(para) +#: ../C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: ../C/gedit.xml:1103(para) +#: ../C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Fjern efterfølgende mellemrum (med udvidelsesmodul)." -#: ../C/gedit.xml:1106(para) +#: ../C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: ../C/gedit.xml:1107(para) +#: ../C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Ryk ind (med udvidelsesmodul)." -#: ../C/gedit.xml:1110(para) +#: ../C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: ../C/gedit.xml:1111(para) +#: ../C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Fjern indryk (med udvidelsesmodul)." -#: ../C/gedit.xml:1114(para) +#: ../C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: ../C/gedit.xml:1115(para) +#: ../C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Kør \"make\" i det nuværende katalog (med udvidelsesmodul)." -#: ../C/gedit.xml:1118(para) +#: ../C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: ../C/gedit.xml:1119(para) +#: ../C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Vis katalogliste (med udvidelsesmodul)." #. ============= Help ======================= -#: ../C/gedit.xml:1125(bridgehead) +#: ../C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Hjælp" -#: ../C/gedit.xml:1126(para) +#: ../C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Genveje til hjælp:" -#: ../C/gedit.xml:1141(para) +#: ../C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: ../C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Åbn gedits brugermanual." +#: ../C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Åbn plumas brugermanual." -#: ../C/gedit.xml:1154(title) +#: ../C/pluma.xml:1154(title) msgid "Preferences" msgstr "Indstillinger" -#: ../C/gedit.xml:1156(para) +#: ../C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"For at konfigurere gedit skal du vælge " +"For at konfigurere pluma skal du vælge " "RedigérIndstillinger. Dialogen Indstillinger " "indeholder de følgende kategorier:" # (+indstillinger) -#: ../C/gedit.xml:1165(title) +#: ../C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Visning" -#: ../C/gedit.xml:1170(para) +#: ../C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2336,7 +2336,7 @@ msgstr "" "at glide ned i afsnit i stedet for at de fortsætter ud af vinduet. Dette gør " "at du ikke behøver rulle horisontalt gennem vinduet" -#: ../C/gedit.xml:1171(para) +#: ../C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2346,19 +2346,19 @@ msgstr "" "tekstombrydningen til at bevare hele ord når teksten ombrydes over flere " "linjer. Dette gør teksten nemmere at læse." -#: ../C/gedit.xml:1177(para) +#: ../C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Vælg Vis linjenumre for at få vist linjenumre i venstre " -"side af gedit-vinduet." +"side af pluma-vinduet." -#: ../C/gedit.xml:1181(guilabel) +#: ../C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Aktuel linje" -#: ../C/gedit.xml:1183(para) +#: ../C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2366,11 +2366,11 @@ msgstr "" "Vælg Fremhæv aktuel linje for at fremhæve den linje " "hvor markøren er placeret." -#: ../C/gedit.xml:1187(guilabel) +#: ../C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Højre margen" -#: ../C/gedit.xml:1189(para) +#: ../C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2378,7 +2378,7 @@ msgstr "" "Vælg Vis højre margen for at få vist en lodret linje, " "som indikerer den højre margen." -#: ../C/gedit.xml:1190(para) +#: ../C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2386,11 +2386,11 @@ msgstr "" "Brug rulleboksen Højre margen ved kolonne til at angive " "placeringen af den lodrette linje." -#: ../C/gedit.xml:1194(guilabel) +#: ../C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Parantesfremhævning" -#: ../C/gedit.xml:1196(para) +#: ../C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2400,36 +2400,36 @@ msgstr "" "modsvarende parantes når markøren er placeret på en parantes." # (+sindstillinger) -#: ../C/gedit.xml:1204(title) +#: ../C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Redigering" -#: ../C/gedit.xml:1209(para) +#: ../C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Brug rulleboksen Tabulatorbredde til at angive bredde " -"på det mellemrum, som gedit indsætter når du " +"på det mellemrum, som pluma indsætter når du " "trykker på Tab-tasten." -#: ../C/gedit.xml:1210(para) +#: ../C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Vælg Indsæt mellemrum i stedet for tabulatorer for at " -"angive at gedit skal indsætte mellemrumstegn i " +"angive at pluma skal indsætte mellemrumstegn i " "stedet for et enkelt tabulatortegn når du trykker på Tab-" "knappen." -#: ../C/gedit.xml:1214(guilabel) +#: ../C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Automatisk indrykning" -#: ../C/gedit.xml:1216(para) +#: ../C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2437,11 +2437,11 @@ msgstr "" "Vælg Aktivér automatisk indrykning for at angive at den " "næste linje starter på samme indrykningsniveau som den nuværende linje." -#: ../C/gedit.xml:1220(guilabel) +#: ../C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Filgemning" -#: ../C/gedit.xml:1222(para) +#: ../C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2451,7 +2451,7 @@ msgstr "" "at oprette en sikkerhedskopi af en fil hver gang du gemmer filen. " "Sikkerhedskopien indeholder et ~ i slutningen af filnavnet." -#: ../C/gedit.xml:1223(para) +#: ../C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2461,40 +2461,40 @@ msgstr "" "automatisk at gemme den aktuelle fil med regelmæssige intervaller. Brug " "rulleboksen til at angive hvor ofte du vil gemme filen." -#: ../C/gedit.xml:1230(title) +#: ../C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Skrifttyper og farver" -#: ../C/gedit.xml:1233(guilabel) +#: ../C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Skrifttype" -# Den engelske streng er forældet!! Bruger bedste gæt (som svarer til en streng i gedits po-fil) -#: ../C/gedit.xml:1235(para) +# Den engelske streng er forældet!! Bruger bedste gæt (som svarer til en streng i plumas po-fil) +#: ../C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Vælg Benyt standardskrifttype for at bruge systemets " -"standardskrifttype til teksten i gedits " +"standardskrifttype til teksten i plumas " "tekstvindue." -#: ../C/gedit.xml:1236(para) +#: ../C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Feltet Skrifttype for tekst viser den skrifttype som " -"gedit bruger til at vise tekst. Klik på knappen " +"pluma bruger til at vise tekst. Klik på knappen " "for at angive skrifttype, stil og størrelse til brug på tekst." -#: ../C/gedit.xml:1240(guilabel) +#: ../C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Farveskema" -#: ../C/gedit.xml:1242(para) +#: ../C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2502,47 +2502,47 @@ msgstr "" "Du kan vælge et farveskema fra listen af farveskemaer: Som standard vil " "følgende farveskemaer være installeret:" -#: ../C/gedit.xml:1245(guilabel) +#: ../C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Klassisk" -#: ../C/gedit.xml:1247(para) +#: ../C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Klassisk farveskema baseret på gvim-farveskemaet." -#: ../C/gedit.xml:1251(guilabel) +#: ../C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: ../C/gedit.xml:1253(para) +#: ../C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Blåligt farveskema." -#: ../C/gedit.xml:1257(guilabel) +#: ../C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "Kate" -#: ../C/gedit.xml:1259(para) +#: ../C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Farveskemaet, der bruges i tekstredigeringsprogrammet Kate." -#: ../C/gedit.xml:1263(guilabel) +#: ../C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: ../C/gedit.xml:1265(para) +#: ../C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Mørkt farveskema der bruger Tango-farvepaletten." -#: ../C/gedit.xml:1269(guilabel) +#: ../C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Tango" -#: ../C/gedit.xml:1271(para) +#: ../C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Farveskema der bruger Tango-farvepaletten." -#: ../C/gedit.xml:1275(para) +#: ../C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2550,7 +2550,7 @@ msgstr "" "Du kan tilføje et nyt farveskema ved at klikke på Tilføj..., og vælge en farveskemafil" -#: ../C/gedit.xml:1276(para) +#: ../C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2559,35 +2559,35 @@ msgstr "" "guilabel>" # (+indstillinger) -#: ../C/gedit.xml:1283(title) +#: ../C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Udvidelsesmoduler" -#: ../C/gedit.xml:1284(para) +#: ../C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Udvidelsesmoduler tilføjer ekstra funktioner til geditpluma. For yderligere information om udvidelsesmoduler og hvordan man " -"bruger de indbyggede udvidelsesmoduler kan du læse ." -#: ../C/gedit.xml:1288(title) +#: ../C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Aktivér et udvidelsesmodul" -#: ../C/gedit.xml:1289(para) +#: ../C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"For at aktivere et udvidelsesmodul til gedit skal " +"For at aktivere et udvidelsesmodul til pluma skal " "du gøre følgende:" -#: ../C/gedit.xml:1292(para) ../C/gedit.xml:1313(para) -#: ../C/gedit.xml:1635(para) +#: ../C/pluma.xml:1292(para) ../C/pluma.xml:1313(para) +#: ../C/pluma.xml:1635(para) msgid "" "Choose EditPreferences." @@ -2595,19 +2595,19 @@ msgstr "" "Vælg RedigérIndstillinger." -#: ../C/gedit.xml:1295(para) ../C/gedit.xml:1316(para) -#: ../C/gedit.xml:1638(para) +#: ../C/pluma.xml:1295(para) ../C/pluma.xml:1316(para) +#: ../C/pluma.xml:1638(para) msgid "Select the Plugins tab." msgstr "Vælg fanebladet Udvidelsesmoduler." -#: ../C/gedit.xml:1298(para) +#: ../C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Sæt flueben i feltet ved siden af navnet på det udvidelsesmodul som du " "ønsker at aktivere." -#: ../C/gedit.xml:1301(para) ../C/gedit.xml:1322(para) +#: ../C/pluma.xml:1301(para) ../C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." @@ -2615,26 +2615,26 @@ msgstr "" "Klik Luk for at lukke dialogen " "Indstillinger." -#: ../C/gedit.xml:1308(title) +#: ../C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Deaktivér et udvidelsesmodul" -#: ../C/gedit.xml:1309(para) +#: ../C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Et udvidelsesmodul forbliver aktiveret når du lukker geditpluma." -#: ../C/gedit.xml:1310(para) +#: ../C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"For at deaktivere et udvidelsesmodul til gedit " +"For at deaktivere et udvidelsesmodul til pluma " "skal du gøre følgende:" -#: ../C/gedit.xml:1319(para) +#: ../C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2642,84 +2642,84 @@ msgstr "" "Fjern flueben i feltet ved siden af navnet på det udvidelsesmodul som du " "ønsker at deaktivere." -#: ../C/gedit.xml:1331(title) +#: ../C/pluma.xml:1331(title) msgid "Plugins" msgstr "Udvidelsesmoduler" -#: ../C/gedit.xml:1333(title) +#: ../C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Arbejde med udvidelsesmoduler" -#: ../C/gedit.xml:1334(para) +#: ../C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Du kan tilføje ekstra funktioner til gedit ved at " +"Du kan tilføje ekstra funktioner til pluma ved at " "aktivere udvidelsesmoduler. Et udvidelsesmodul kan " "ses som et supplementprogram som forbedrer et programs funktionalitet. " -"Udvidelsesmoduler tilføjer nye elementer til menuerne i geditpluma for de nye funktioner som de yder." -#: ../C/gedit.xml:1336(para) +#: ../C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Flere udvidelsesmoduler kommer indbygget i gedit, " -"og du kan installere flere. gedits hjemmeside har en liste over " +"Flere udvidelsesmoduler kommer indbygget i pluma, " +"og du kan installere flere. plumas hjemmeside har en liste over " "udvidelsesmoduler fra tredjepart." -#: ../C/gedit.xml:1337(para) +#: ../C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "For at aktivere og deaktivere udvidelsesmoduler, eller se hvilke " "udvidelsesmoduler der aktuelt er aktiverede, kan du bruge indstillingerne for udvidelsesmoduler." +"\"pluma-prefs-plugins\">indstillingerne for udvidelsesmoduler." -#: ../C/gedit.xml:1338(para) +#: ../C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"De følgende udvidelsesmoduler er indbygget i geditpluma:" -#: ../C/gedit.xml:1344(para) +#: ../C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Skift bogstaverSkift bogstaver lader dig skifte mellem store/små bogstaver i den " "markerede tekst." -#: ../C/gedit.xml:1347(para) +#: ../C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Dokumentstatistik viser antallet af linjer, ord og " "tegn i dokumentet." -#: ../C/gedit.xml:1350(para) +#: ../C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Eksterne " +"Eksterne " "værktøjer lader dig udføre eksterne kommandoer fra " -"gedit." +"pluma." -#: ../C/gedit.xml:1353(para) +#: ../C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2727,97 +2727,97 @@ msgstr "" "Filvælger-panel lader dig gennemse dine filer og " "kataloger i sidepanelet." -#: ../C/gedit.xml:1356(para) +#: ../C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Indryk linjerIndryk linjer tilføjer eller fjerner indrykning af markerede linjer." -#: ../C/gedit.xml:1359(para) +#: ../C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Indsæt dato/" +"Indsæt dato/" "tid tilføjer den aktuelle dato og tid til et dokument." -#: ../C/gedit.xml:1362(para) +#: ../C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"TilstandslinjerTilstandslinjer lader dig sætte redigeringsindstillinger for " "individuelle dokumenter, og understøtter tilstandslinjer i stil med " "Emacs, Kate og " "Vim." -#: ../C/gedit.xml:1365(para) +#: ../C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Python-konsolPython-konsol lader dig køre kommandoer i programmeringssproget python." -#: ../C/gedit.xml:1368(para) +#: ../C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"TekststumperTekststumper lader dig opbevare ofte-brugte stykker af tekst og indsætte dem " "nemt og hurtigt i et dokument." -#: ../C/gedit.xml:1371(para) +#: ../C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"Sortér " +"Sortér " "arrangerer markerede tekstlinjer i alfabetisk orden." -#: ../C/gedit.xml:1374(para) +#: ../C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"StavekontrolStavekontrol retter stavningen i den markerede tekst, eller markerer " "automatisk fejl i dokumentet." -#: ../C/gedit.xml:1377(para) +#: ../C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"MærkelisteMærkeliste lader dig indsætte ofte-brugte mærker for HTML og andre sprog " "fra en liste i sidepanelet." -#: ../C/gedit.xml:1381(para) +#: ../C/pluma.xml:1381(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Mere information om oprettelse af udvidelsesmoduler kan findes på hjemmesiden for " -"gedit." +"type=\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">hjemmesiden for " +"pluma." -#: ../C/gedit.xml:1385(title) +#: ../C/pluma.xml:1385(title) msgid "Change Case Plugin" msgstr "Udvidelsesmodulet Skift bogstaver" -#: ../C/gedit.xml:1386(para) +#: ../C/pluma.xml:1386(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2825,7 +2825,7 @@ msgstr "" "Udvidelsesmodulet Skift bogstaver skifter mellem " "store/små bogstaver i den markerede tekst." -#: ../C/gedit.xml:1387(para) +#: ../C/pluma.xml:1387(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2833,82 +2833,82 @@ msgstr "" "De følgende elementer føjes til menuen Redigér når " "udvidelsesmodulet Skift bogstaver er aktiveret:" -#: ../C/gedit.xml:1397(para) +#: ../C/pluma.xml:1397(para) msgid "Menu Item" msgstr "Menuelement" -#: ../C/gedit.xml:1399(para) +#: ../C/pluma.xml:1399(para) msgid "Action" msgstr "Handling" -#: ../C/gedit.xml:1401(para) +#: ../C/pluma.xml:1401(para) msgid "Example" msgstr "Eksempel" -#: ../C/gedit.xml:1407(guisubmenu) ../C/gedit.xml:1413(guisubmenu) -#: ../C/gedit.xml:1419(guisubmenu) ../C/gedit.xml:1425(guisubmenu) +#: ../C/pluma.xml:1407(guisubmenu) ../C/pluma.xml:1413(guisubmenu) +#: ../C/pluma.xml:1419(guisubmenu) ../C/pluma.xml:1425(guisubmenu) msgid "Change Case" msgstr "Skift bogstaver" -#: ../C/gedit.xml:1407(guimenuitem) +#: ../C/pluma.xml:1407(guimenuitem) msgid "All Upper Case" msgstr "Alle bogstaver store" -#: ../C/gedit.xml:1408(para) +#: ../C/pluma.xml:1408(para) msgid "Change each character to uppercase." msgstr "Skifter alle bogstaver til store bogstaver." -#: ../C/gedit.xml:1409(para) +#: ../C/pluma.xml:1409(para) msgid "This text becomes THIS TEXT" msgstr "" "Denne tekst bliver til DENNE TEKST" -#: ../C/gedit.xml:1413(guimenuitem) +#: ../C/pluma.xml:1413(guimenuitem) msgid "All Lower Case" msgstr "Alle bogstaver små" -#: ../C/gedit.xml:1414(para) +#: ../C/pluma.xml:1414(para) msgid "Change each character to lowercase." msgstr "Skifter alle bogstaver til små bogstaver." -#: ../C/gedit.xml:1415(para) +#: ../C/pluma.xml:1415(para) msgid "This Text becomes this text" msgstr "" "Denne Tekst bliver til denne tekst" -#: ../C/gedit.xml:1419(guimenuitem) +#: ../C/pluma.xml:1419(guimenuitem) msgid "Invert Case" msgstr "Invertér bogstavstørrelse" -#: ../C/gedit.xml:1420(para) +#: ../C/pluma.xml:1420(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Skifter alle små bogstaver til store, og alle store bogstaver til små." -#: ../C/gedit.xml:1421(para) +#: ../C/pluma.xml:1421(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Denne Tekst bliver til dENNE tEKST" -#: ../C/gedit.xml:1425(guimenuitem) +#: ../C/pluma.xml:1425(guimenuitem) msgid "Title Case" msgstr "Første bogstav med stort" -#: ../C/gedit.xml:1426(para) +#: ../C/pluma.xml:1426(para) msgid "Change the first character of each word to uppercase." msgstr "Ændrer det første bogstav i hvert ord til store bogstaver." -#: ../C/gedit.xml:1427(para) +#: ../C/pluma.xml:1427(para) msgid "this text becomes This Text" msgstr "" "denne tekst bliver til Denne Tekst" -#: ../C/gedit.xml:1436(title) +#: ../C/pluma.xml:1436(title) msgid "Document Statistics Plugin" msgstr "Udvidelsesmodulet Dokumentstatistik" -#: ../C/gedit.xml:1437(para) +#: ../C/pluma.xml:1437(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2922,7 +2922,7 @@ msgstr "" "Dokumentstatistik-dialog. For at bruge " "udvidelsesmodulet Dokumentstatistik skal du gøre følgende:" -#: ../C/gedit.xml:1439(para) +#: ../C/pluma.xml:1439(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsDokumentstatistik. Denne dialog viser den følgende " "information om filen:" -#: ../C/gedit.xml:1442(para) +#: ../C/pluma.xml:1442(para) msgid "Number of lines in the current document." msgstr "Antal linjer i det aktuelle dokument." -#: ../C/gedit.xml:1445(para) +#: ../C/pluma.xml:1445(para) msgid "Number of words in the current document." msgstr "Antal ord i det aktuelle dokument." -#: ../C/gedit.xml:1448(para) +#: ../C/pluma.xml:1448(para) msgid "Number of characters, including spaces, in the current document." msgstr "Antal tegn, inklusive mellemrum, i det aktuelle dokument." -#: ../C/gedit.xml:1451(para) +#: ../C/pluma.xml:1451(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Antal tegn, ikke medregnende mellemrum, i det aktuelle dokument." -#: ../C/gedit.xml:1454(para) +#: ../C/pluma.xml:1454(para) msgid "Number of bytes in the current document." msgstr "Antal bytes i det aktuelle dokument." -#: ../C/gedit.xml:1459(para) +#: ../C/pluma.xml:1459(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Du kan fortsætte med at opdatere den aktuelle tekstfil i geditpluma samtidig med at dialogen Dokumentstatistik " "er åben. For at opdatere indholdet i dialogen Dokumentstatistik skal du klikke påOpdatér." -#: ../C/gedit.xml:1466(title) +#: ../C/pluma.xml:1466(title) msgid "External Tools Plugin" msgstr "Udvidelsesmodulet Eksterne værktøjer" -#: ../C/gedit.xml:1467(para) +#: ../C/pluma.xml:1467(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "Udvidelsesmodulet Eksterne værktøjer lader dig " -"køre eksterne kommandoer fra gedit. Du kan " +"køre eksterne kommandoer fra pluma. Du kan " "viderelede noget indhold i en kommando og benytte dig af dens output (for " "eksempel, sed), eller køre en foruddefineret " "kommando (for eksempel, make)." -#: ../C/gedit.xml:1468(para) +#: ../C/pluma.xml:1468(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsVærktøjer." -#: ../C/gedit.xml:1471(title) +#: ../C/pluma.xml:1471(title) msgid "Built-in Commands" msgstr "Indbyggede kommandoer" -#: ../C/gedit.xml:1472(para) +#: ../C/pluma.xml:1472(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3006,44 +3006,44 @@ msgstr "" "De følgende kommandoer følger i forvejen med udvidelsesmodulet " "Eksterne værktøjer:" -#: ../C/gedit.xml:1474(term) +#: ../C/pluma.xml:1474(term) msgid "Build" msgstr "Byg" -#: ../C/gedit.xml:1476(para) +#: ../C/pluma.xml:1476(para) msgid "" "Runs make in the current document's directory." msgstr "" "Kører make i det aktuelle dokuments katalog." -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1479(term) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1479(term) msgid "Directory Listing" msgstr "Mappeoversigt" -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1481(para) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1481(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Viser indholdet af det aktuelle dokuments mappe i et nyt dokument." -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1484(term) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1484(term) msgid "Environment Variables" msgstr "Miljøvariable" -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1486(para) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1486(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Viser listen over miljøvariable i bundpanelet." -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1489(term) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1489(term) msgid "Grep" msgstr "Grep" -# Denne funktion lader til at være udgået i den seneste version af gedit... -#: ../C/gedit.xml:1491(para) +# Denne funktion lader til at være udgået i den seneste version af pluma... +#: ../C/pluma.xml:1491(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3051,19 +3051,19 @@ msgstr "" "Søger efter en streng i alle filer i den aktuelle dokumentmappe ved hjælp af " "mønstersammenligning. Resultater vises i bundpanelet." -#: ../C/gedit.xml:1494(term) +#: ../C/pluma.xml:1494(term) msgid "Remove Trailing Spaces" msgstr "Fjern efterfølgende mellemrum" -#: ../C/gedit.xml:1496(para) +#: ../C/pluma.xml:1496(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Fjerner alle mellemrum fra linjeslutningerne i dokumentet." -#: ../C/gedit.xml:1503(title) +#: ../C/pluma.xml:1503(title) msgid "Defining a Command" msgstr "Definér en kommando" -#: ../C/gedit.xml:1504(para) +#: ../C/pluma.xml:1504(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3072,7 +3072,7 @@ msgstr "" "VærktøjerEksterne værktøjer...." -#: ../C/gedit.xml:1505(para) +#: ../C/pluma.xml:1505(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3082,45 +3082,45 @@ msgstr "" "Ny. Du kan angive de følgende detaljer for den nye " "kommando:" -#: ../C/gedit.xml:1507(term) +#: ../C/pluma.xml:1507(term) msgid "Description" msgstr "Beskrivelse" -#: ../C/gedit.xml:1509(para) +#: ../C/pluma.xml:1509(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Denne beskrivelse bliver vist i statuslinjen når kommandoen vælges i menuen." -#: ../C/gedit.xml:1512(term) +#: ../C/pluma.xml:1512(term) msgid "Accelerator" msgstr "Genvejstast" -#: ../C/gedit.xml:1514(para) +#: ../C/pluma.xml:1514(para) msgid "Enter a keyboard shortcut for the command." msgstr "Vælg en tastaturgenvej til kommandoen." -#: ../C/gedit.xml:1517(term) +#: ../C/pluma.xml:1517(term) msgid "Commands" msgstr "Kommandoer" -#: ../C/gedit.xml:1519(para) +#: ../C/pluma.xml:1519(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "De faktiske kommandoer som skal køres. Flere miljøvariabler i " -"gedit kan bruges til at videresende data til " -"disse kommandoer: se pluma kan bruges til at videresende data til " +"disse kommandoer: se ." # Ja, jeg ved godt at der står "Inddata", men jeg satser på at vi skrotter den inden længe! -#: ../C/gedit.xml:1522(term) +#: ../C/pluma.xml:1522(term) msgid "Input" msgstr "Input" -#: ../C/gedit.xml:1524(para) +#: ../C/pluma.xml:1524(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3130,11 +3130,11 @@ msgstr "" "ord." # Ja, jeg ved godt at der står "Uddata", men jeg satser på at vi skrotter den inden længe! -#: ../C/gedit.xml:1527(term) +#: ../C/pluma.xml:1527(term) msgid "Output" msgstr "Output" -#: ../C/gedit.xml:1529(para) +#: ../C/pluma.xml:1529(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3145,11 +3145,11 @@ msgstr "" "ved markørens placering eller som erstatning for den aktuelle markering " "eller hele dokumentet." -#: ../C/gedit.xml:1532(term) +#: ../C/pluma.xml:1532(term) msgid "Applicability" msgstr "Anvendelsesområde" -#: ../C/gedit.xml:1534(para) +#: ../C/pluma.xml:1534(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3157,22 +3157,22 @@ msgstr "" "Afgør hvilken slags dokumenter der kan berøres af kommandoen, for eksempel " "om filen skal være gemt eller ej, og om den skal være lokal eller ekstern." -#: ../C/gedit.xml:1542(title) +#: ../C/pluma.xml:1542(title) msgid "Editing and Removing Tools" msgstr "Redigér og fjern værktøjer" -#: ../C/gedit.xml:1543(para) +#: ../C/pluma.xml:1543(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "For at redigere et værktøj skal du vælge det i listen og ændre dets " "egenskaber." -#: ../C/gedit.xml:1544(para) +#: ../C/pluma.xml:1544(para) msgid "To rename a tool, click it again in the list." msgstr "For at omdøbe et værktøj skal du klikke på det igen i listen." -#: ../C/gedit.xml:1545(para) +#: ../C/pluma.xml:1545(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3180,7 +3180,7 @@ msgstr "" "For at gendanne et indbygget værktøj som du har ændret skal du trykke på " "Forkast." -#: ../C/gedit.xml:1546(para) +#: ../C/pluma.xml:1546(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3190,11 +3190,11 @@ msgstr "" "Fjern. Du kan ikke fjerne indbyggede værktøjer, kun " "de som du selv har oprettet." -#: ../C/gedit.xml:1550(title) +#: ../C/pluma.xml:1550(title) msgid "Variables" msgstr "Variabler" -#: ../C/gedit.xml:1551(para) +#: ../C/pluma.xml:1551(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3202,39 +3202,39 @@ msgstr "" "Du kan bruge følgende variabler i Kommando-feltet i " "definitionen af kommandoen:" -#: ../C/gedit.xml:1554(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: ../C/pluma.xml:1554(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: ../C/gedit.xml:1557(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: ../C/pluma.xml:1557(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: ../C/gedit.xml:1560(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: ../C/pluma.xml:1560(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: ../C/gedit.xml:1563(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: ../C/pluma.xml:1563(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: ../C/gedit.xml:1566(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: ../C/pluma.xml:1566(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: ../C/gedit.xml:1569(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: ../C/pluma.xml:1569(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: ../C/gedit.xml:1572(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: ../C/pluma.xml:1572(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: ../C/gedit.xml:1579(title) +#: ../C/pluma.xml:1579(title) msgid "File Browser Plugin" msgstr "Udvidelsesmodulet Filvælger" -#: ../C/gedit.xml:1580(para) +#: ../C/pluma.xml:1580(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3242,7 +3242,7 @@ msgstr "" "Udvidelsesmodulet Filvælger viser dine filer og " "mapper i sidepanelet, hvilket gør at du hurtigt og nemt kan åbne filer." -#: ../C/gedit.xml:1581(para) +#: ../C/pluma.xml:1581(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3252,11 +3252,11 @@ msgstr "" "guimenu>Sidepanel og derefter klikke " "på fanebladet der viser Filvælger-ikonet i bunden af sidepanelet." -#: ../C/gedit.xml:1583(title) +#: ../C/pluma.xml:1583(title) msgid "Browsing your Files" msgstr "Gennemse dine filer" -#: ../C/gedit.xml:1584(para) +#: ../C/pluma.xml:1584(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3264,7 +3264,7 @@ msgstr "" "Filvælger-fanebladet viser dine bogmærker fra filhåndtering. For at gennemse " "indholdet af et element skal du dobbeltklikke på det." -#: ../C/gedit.xml:1585(para) +#: ../C/pluma.xml:1585(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3272,7 +3272,7 @@ msgstr "" "For at få vist en forældermappe skal du vælge fra rullegardinslisten eller " "trykke på op-pilen i filvælgerens værktøjslinje." -#: ../C/gedit.xml:1586(para) +#: ../C/pluma.xml:1586(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3282,19 +3282,19 @@ msgstr "" "på, skal du højreklikke på filen i listen og vælge Sæt rod til " "aktive dokument." -#: ../C/gedit.xml:1590(para) +#: ../C/pluma.xml:1590(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"For at åbne en fil i gedit skal du dobbeltklikke " +"For at åbne en fil i pluma skal du dobbeltklikke " "på den i fillisten." -#: ../C/gedit.xml:1593(title) +#: ../C/pluma.xml:1593(title) msgid "Creating Files and Folders" msgstr "Opret filer og mapper" -#: ../C/gedit.xml:1594(para) +#: ../C/pluma.xml:1594(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3302,7 +3302,7 @@ msgstr "" "For at oprette en ny, tom tekstfil i den aktuelle mappe vist i filvælgeren " "skal du højreklikke i fillisten og vælge Ny fil." -#: ../C/gedit.xml:1595(para) +#: ../C/pluma.xml:1595(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3310,11 +3310,11 @@ msgstr "" "For at oprette en ny mappe i den aktuelle mappe vist i filvælgeren skal du " "højreklikke i fillisten og vælge Ny mappe." -#: ../C/gedit.xml:1600(title) +#: ../C/pluma.xml:1600(title) msgid "Indent Lines Plugin" msgstr "Udvidelsesmodulet Indryk linjer" -#: ../C/gedit.xml:1601(para) +#: ../C/pluma.xml:1601(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3322,12 +3322,12 @@ msgstr "" "Udvidelsesmodulet Indryk linjer tilføjer eller " "fjerner mellemrum fra begyndelsen af tekstens linjer." -#: ../C/gedit.xml:1602(para) +#: ../C/pluma.xml:1602(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" "Udfør følgende skridt for at indrykke eller fjerne indrykning af tekst:" -#: ../C/gedit.xml:1604(para) +#: ../C/pluma.xml:1604(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3336,7 +3336,7 @@ msgstr "" "fjerne indrykning for en enkelt linje, kan du placere markøren et sted på " "denne linje." -#: ../C/gedit.xml:1609(para) +#: ../C/pluma.xml:1609(para) msgid "" "To indent the text, choose EditIndent." @@ -3344,7 +3344,7 @@ msgstr "" "Vælg RedigérIndryk for at indrykke teksten." -#: ../C/gedit.xml:1612(para) +#: ../C/pluma.xml:1612(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3352,21 +3352,21 @@ msgstr "" "Vælg RedigérFjern indrykning for at fjerne indrykning." -#: ../C/gedit.xml:1617(para) +#: ../C/pluma.xml:1617(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Mængden af mellemrum der bruges, og hvorvidt der anvendes tabulatortegn " "eller mellemrumstegn, afhænger af indstillingerne Tabulatorstop i indstillingerne: se ." +"guilabel> i indstillingerne: se ." -#: ../C/gedit.xml:1622(title) +#: ../C/pluma.xml:1622(title) msgid "Insert Date/Time Plugin" msgstr "Udvidelsesmodulet Indsæt dato/tid" -#: ../C/gedit.xml:1623(para) +#: ../C/pluma.xml:1623(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3376,8 +3376,8 @@ msgstr "" "nuværende dato og tidspunkt i et dokument. For at bruge udvidelsesmodulet " "Indsæt dato/tid skal du gøre følgende:" -# Kommandoen hedder det inklusive kommaer i gedit -#: ../C/gedit.xml:1625(para) +# Kommandoen hedder det inklusive kommaer i pluma +#: ../C/pluma.xml:1625(para) msgid "" "Choose EditInsert Date and Time." @@ -3385,49 +3385,49 @@ msgstr "" "Vælg RedigérIndsæt dato og tid..." "." -#: ../C/gedit.xml:1626(para) +#: ../C/pluma.xml:1626(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Hvis du ikke har konfigureret Indsæt dato/tid til automatisk at indsætte " -"dato/tid uden at spørge dig om format, vil gedit " +"dato/tid uden at spørge dig om format, vil pluma " "vise dialogen Indsæt dato og tid. Vælg det passende " "dato/tid-format fra listen. Klik på Indsæt for at " -"lukke dialogen Indsæt dato og tid. geditIndsæt dato og tid. pluma indsætter dato/tid ved markørens placering i den aktuelle fil." -#: ../C/gedit.xml:1627(para) +#: ../C/pluma.xml:1627(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Hvis du har konfigureret gedit til at bruge et " +"Hvis du har konfigureret pluma til at bruge et " "bestemt dato/tid-format, vises dialogen Indsæt dato og tid ikke. Dato/tid indsættes automatisk ved markørens placering i den " "aktuelle fil." -#: ../C/gedit.xml:1632(title) +#: ../C/pluma.xml:1632(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Konfiguration af udvidelsesmodulet Indsæt dato/tid" -#: ../C/gedit.xml:1633(para) +#: ../C/pluma.xml:1633(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "For at konfigurere udvidelsesmodulet Indsæt dato/tid skal du gøre følgende:" -#: ../C/gedit.xml:1641(para) +#: ../C/pluma.xml:1641(para) msgid "Select the Insert Date/Time plugin." msgstr "Vælg udvidelsesmodulet Indsæt dato/tid." -#: ../C/gedit.xml:1644(para) +#: ../C/pluma.xml:1644(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3435,11 +3435,11 @@ msgstr "" "Klik på Konfigurér udvidelsesmodul for at få vist " "dialogen Konfigurér indsætning af dato/tid." -#: ../C/gedit.xml:1647(para) +#: ../C/pluma.xml:1647(para) msgid "Select one of the options, as follows:" msgstr "Vælg en af følgende muligheder:" -#: ../C/gedit.xml:1649(para) +#: ../C/pluma.xml:1649(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3447,25 +3447,25 @@ msgstr "" "For at angive dato/tid-formatet hver gang du indsætter dato/tid skal du " "vælge Spørg efter et format." -#: ../C/gedit.xml:1652(para) +#: ../C/pluma.xml:1652(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"For at bruge det samme gedit-leverede dato/tid-" +"For at bruge det samme pluma-leverede dato/tid-" "format hver gang du indsætter dato/tid, skal du vælge Benyt det " "valgte format og derefter vælge det ønskede format fra listen. " -"Når du benytter dig af denne mulighed vil gedit " +"Når du benytter dig af denne mulighed vil pluma " "ikke spørge efter dato/tid-format når du vælger " "RedigérIndsæt dato og tid...." -#: ../C/gedit.xml:1655(para) +#: ../C/pluma.xml:1655(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3473,7 +3473,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3483,11 +3483,11 @@ msgstr "" "information om hvordan man angiver et tilpasset format kan du se strftime3. Når du vælger " -"denne mulighed vil gedit ikke spørge om dato/tid-" +"denne mulighed vil pluma ikke spørge om dato/tid-" "format når du vælger RedigérIndsæt dato og tid...." -#: ../C/gedit.xml:1660(para) +#: ../C/pluma.xml:1660(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3495,31 +3495,31 @@ msgstr "" "Klik O.k. for at lukke dialogen Konfigurér " "indsætning af dato/tid." -#: ../C/gedit.xml:1663(para) +#: ../C/pluma.xml:1663(para) msgid "" "To close the Preferences dialog, click " "Close." msgstr "" -"For at lukke dialogen Indstillinger for gedit skal du " +"For at lukke dialogen Indstillinger for pluma skal du " "klikke på Luk." -#: ../C/gedit.xml:1670(title) +#: ../C/pluma.xml:1670(title) msgid "Modelines Plugin" msgstr "Udvidelsesmodulet Tilstandslinjer" -#: ../C/gedit.xml:1671(para) +#: ../C/pluma.xml:1671(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Udvidelsesmodulet Tilstandslinjer lader dig " "redigere indstillinger for enkelte dokumenter. En tilstandslinje er en linje af tekst i begyndelsen af dokumentet med " -"indstillinger, som gedit genkender." +"indstillinger, som pluma genkender." -#: ../C/gedit.xml:1672(para) +#: ../C/pluma.xml:1672(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3527,27 +3527,27 @@ msgstr "" "Indstillinger, der angives ved hjælp af tilstandslinjer, har præcedens over " "dem, der angives i indstillingsdialogen." -#: ../C/gedit.xml:1673(para) +#: ../C/pluma.xml:1673(para) msgid "You can set the following preferences with modelines:" msgstr "Du kan angive følgende indstillinger med tilstandslinjer:" -#: ../C/gedit.xml:1676(para) +#: ../C/pluma.xml:1676(para) msgid "Tab width" msgstr "Tabulatorbredde" -#: ../C/gedit.xml:1679(para) +#: ../C/pluma.xml:1679(para) msgid "Indent width" msgstr "Indrykningsbredde" -#: ../C/gedit.xml:1682(para) +#: ../C/pluma.xml:1682(para) msgid "Insert spaces instead of tabs" msgstr "Indsæt mellemrumstegn frem for tabulartortegn" -#: ../C/gedit.xml:1688(para) +#: ../C/pluma.xml:1688(para) msgid "Right margin width" msgstr "Bredde af højre margen" -#: ../C/gedit.xml:1692(para) +#: ../C/pluma.xml:1692(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3558,11 +3558,11 @@ msgstr "" "Emacs, Kate og " "Vim." -#: ../C/gedit.xml:1695(title) +#: ../C/pluma.xml:1695(title) msgid "Emacs Modelines" msgstr "Emacs-tilstandslinjer" -#: ../C/gedit.xml:1696(para) +#: ../C/pluma.xml:1696(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3570,7 +3570,7 @@ msgstr "" "De første to linjer af et dokument undersøges for Emacs-tilstandslinjer." -#: ../C/gedit.xml:1697(para) +#: ../C/pluma.xml:1697(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3583,11 +3583,11 @@ msgstr "" "information findes i manualen til GNU Emacs." -#: ../C/gedit.xml:1700(title) +#: ../C/pluma.xml:1700(title) msgid "Kate Modelines" msgstr "Kate-tilstandslinjer" -#: ../C/gedit.xml:1701(para) +#: ../C/pluma.xml:1701(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3595,7 +3595,7 @@ msgstr "" "De første og sidste to linjer i et dokument undersøges efter " "Kate-tilstandslinjer." -#: ../C/gedit.xml:1702(para) +#: ../C/pluma.xml:1702(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3609,11 +3609,11 @@ msgstr "" "\"http://www.kate-editor.org/article/katepart_modelines\\\">websiden for " "Kate." -#: ../C/gedit.xml:1705(title) +#: ../C/pluma.xml:1705(title) msgid "Vim Modelines" msgstr "Vim-tilstandslinjer" -#: ../C/gedit.xml:1706(para) +#: ../C/pluma.xml:1706(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3621,7 +3621,7 @@ msgstr "" "De første og sidste tre linjer af et dokument undersøges for " "Vim-tilstandslinjer." -#: ../C/gedit.xml:1707(para) +#: ../C/pluma.xml:1707(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3633,37 +3633,37 @@ msgstr "" "information kan findes på websiden for Vim." -#: ../C/gedit.xml:1712(title) +#: ../C/pluma.xml:1712(title) msgid "Python Console Plugin" msgstr "Udvidelsesmodulet Python-konsol" -#: ../C/gedit.xml:1713(para) +#: ../C/pluma.xml:1713(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Udvidelsesmodulet Python-konsol lader dig køre " -"kommandoer i programmeringssproget Python fra geditpluma. Når dette udvidelsesmodul aktiveres, føjes et faneblad til " "bundpanelet. Dette viser den seneste udskrift og et kommandoindtastningsfelt." -#: ../C/gedit.xml:1714(para) +#: ../C/pluma.xml:1714(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Kommandoer som indtastes i Python-konsollen kontrolleres ikke før de køres. " -"Det er derfor muligt at få gedit til at gå i stå " +"Det er derfor muligt at få pluma til at gå i stå " "ved, for eksempel, at indtaste en uendelig løkke." -#: ../C/gedit.xml:1718(title) +#: ../C/pluma.xml:1718(title) msgid "Snippets Plugin" msgstr "Udvidelsesmodulet Tekststumper" -#: ../C/gedit.xml:1719(para) +#: ../C/pluma.xml:1719(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3673,7 +3673,7 @@ msgstr "" "ofte brugte bidder af tekst, kaldet tekststumper, og " "indsætte dem hurtigt i et dokument." -#: ../C/gedit.xml:1720(para) +#: ../C/pluma.xml:1720(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3685,19 +3685,19 @@ msgstr "" "tekststumper, som er nyttige til HTML. Ydermere er visse tekststumper " "globale, således at de er tilgængelige i alle dokumenter." -#: ../C/gedit.xml:1721(para) +#: ../C/pluma.xml:1721(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" "En samling af indbyggede tekststumper installeres sammen med " -"gedit, og kan redigeres." +"pluma, og kan redigeres." -#: ../C/gedit.xml:1724(title) +#: ../C/pluma.xml:1724(title) msgid "Inserting Snippets" msgstr "Indsættelse af tekststumper" -#: ../C/gedit.xml:1725(para) +#: ../C/pluma.xml:1725(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3710,7 +3710,7 @@ msgstr "" "bogstaver i tekststumpen, eller noget tilsvarende som er kort og nemt at " "huske." -#: ../C/gedit.xml:1726(para) +#: ../C/pluma.xml:1726(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3719,15 +3719,15 @@ msgstr "" "keycap>Mellemrumstast for at se en liste af " "tekststumper, som kan indsættes." -#: ../C/gedit.xml:1730(title) +#: ../C/pluma.xml:1730(title) msgid "Adding Snippets" msgstr "Tilføjelse af tekststumper" -#: ../C/gedit.xml:1731(para) +#: ../C/pluma.xml:1731(para) msgid "To create a new snippet, do the following:" msgstr "Gør følgende for at oprette en ny tekststump:" -#: ../C/gedit.xml:1734(para) +#: ../C/pluma.xml:1734(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3737,7 +3737,7 @@ msgstr "" "tekststumper. Vinduet Tekststumper åbnes." -#: ../C/gedit.xml:1737(para) +#: ../C/pluma.xml:1737(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3749,20 +3749,20 @@ msgstr "" "tilføje en tekststump for alle sprog, så vælg Global øverst på listen. " "Syntaksen for dokumentet, du i øjeblikket arbejder med, vises som standard." -#: ../C/gedit.xml:1740(para) +#: ../C/pluma.xml:1740(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Klik på Ny. En ny tekststump vil dukke op i listen." -#: ../C/gedit.xml:1743(para) +#: ../C/pluma.xml:1743(para) msgid "Enter the following information for the new snippet:" msgstr "Indtast følgende information for den nye tekststump:" -#: ../C/gedit.xml:1745(term) +#: ../C/pluma.xml:1745(term) msgid "Name" msgstr "Navn" -#: ../C/gedit.xml:1747(para) +#: ../C/pluma.xml:1747(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3773,22 +3773,22 @@ msgstr "" "formål. Du kan ændre navnet på en tekststump som du opretter, ved at klikke " "på det i listen." -#: ../C/gedit.xml:1750(term) +#: ../C/pluma.xml:1750(term) msgid "Snippet text" msgstr "Tekststump" -# Der er ingen komponent med teksten Edit snippet, men Redigér henviser til teksten for en streng i gedit som henvises fra en kildefil snippets-mappen -#: ../C/gedit.xml:1752(para) +# Der er ingen komponent med teksten Edit snippet, men Redigér henviser til teksten for en streng i pluma som henvises fra en kildefil snippets-mappen +#: ../C/pluma.xml:1752(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Indtast selve stumpen af tekst i Redigér-tekstfeltet. " -"Du kan her anvende specielle koder - se ." -#: ../C/gedit.xml:1753(para) +#: ../C/pluma.xml:1753(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3796,11 +3796,11 @@ msgstr "" "Du kan skifte tilbage til dokumentvinduet og kopiere teksten uden at lukke " "Tekststumper-vinduet." -#: ../C/gedit.xml:1756(term) +#: ../C/pluma.xml:1756(term) msgid "Tab Trigger" msgstr "Tabulator-udløser" -#: ../C/gedit.xml:1758(para) +#: ../C/pluma.xml:1758(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3809,7 +3809,7 @@ msgstr "" "skrive før du trykker Tabulatortest for at indsætte " "tekststumpen." -#: ../C/gedit.xml:1759(para) +#: ../C/pluma.xml:1759(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3819,19 +3819,19 @@ msgstr "" "enkelt tegn. Tabulator-udløser vil blive fremhævet med " "rødt hvis en ugyldig tabulator-udløser anføres." -#: ../C/gedit.xml:1762(term) +#: ../C/pluma.xml:1762(term) msgid "Shortcut key" msgstr "Genvejstast" -#: ../C/gedit.xml:1764(para) +#: ../C/pluma.xml:1764(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Tryk på en genvejstast der skal bruges til at indsætte tekststumpen." -#: ../C/gedit.xml:1773(title) +#: ../C/pluma.xml:1773(title) msgid "Editing and Removing Snippets" msgstr "Redigér og fjern tekststumper" -#: ../C/gedit.xml:1774(para) +#: ../C/pluma.xml:1774(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3839,12 +3839,12 @@ msgstr "" "Ønsker du at redigere en tekststump, så vælg den i listen og foretag " "ændringer i dens tekst og aktiveringsegenskaber." -#: ../C/gedit.xml:1775(para) +#: ../C/pluma.xml:1775(para) msgid "To rename a snippet, click it again in the list." msgstr "Klik på tekststumpen igen i listen for at omdøbe den." # Engelske tekst findes ikke i po-filen, har valgt mest sandsynlige oversættelse -#: ../C/gedit.xml:1776(para) +#: ../C/pluma.xml:1776(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3852,7 +3852,7 @@ msgstr "" "Du kan trykke Gendan den markerede tekststump for at " "gendanne en indbygget tekststump, du har redigeret." -#: ../C/gedit.xml:1777(para) +#: ../C/pluma.xml:1777(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3862,11 +3862,11 @@ msgstr "" "guibutton>. Du kan ikke fjerne indbyggede tekststumper, men kun dem som du " "selv har oprettet." -#: ../C/gedit.xml:1781(title) +#: ../C/pluma.xml:1781(title) msgid "Snippet Substitutions" msgstr "Substitution i tekststumper" -#: ../C/gedit.xml:1782(para) +#: ../C/pluma.xml:1782(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3876,15 +3876,15 @@ msgstr "" "redigerbar tekst, eller markere steder hvor du kan tilføje tekst når først " "tekstbidden er indsat i dit dokument." -#: ../C/gedit.xml:1786(para) +#: ../C/pluma.xml:1786(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Du kan anvende følgende substitutionskoder i tekststumpen:" -#: ../C/gedit.xml:1788(term) +#: ../C/pluma.xml:1788(term) msgid "Tab placeholders" msgstr "Tabulatorsubstitutioner" -#: ../C/gedit.xml:1790(para) +#: ../C/pluma.xml:1790(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3893,7 +3893,7 @@ msgstr "" "tabulatorsubstitution, hvor n er et tal større end eller " "lig med 1." -#: ../C/gedit.xml:1791(para) +#: ../C/pluma.xml:1791(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3902,7 +3902,7 @@ msgstr "" "replaceable>} definerer en tabulatorsubstitution med en " "standardværdi." -#: ../C/gedit.xml:1792(para) +#: ../C/pluma.xml:1792(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3910,7 +3910,7 @@ msgstr "" "En tabulatorsubstitution markerer et sted i tekststumpen hvor du kan tilføje " "ekstra tekst efter at stumpen er indsat." -#: ../C/gedit.xml:1793(para) +#: ../C/pluma.xml:1793(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3922,7 +3922,7 @@ msgstr "" "Tallet i substitutionskoden angiver rækkefølgen hvori der med tabulatortast " "navigeres mellem hver af substitutionsstederne i teksten." -#: ../C/gedit.xml:1794(para) +#: ../C/pluma.xml:1794(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3935,11 +3935,11 @@ msgstr "" "flyttes markøren til slutningen af tekststumpen, eller til sidste " "substitutionssted, hvis det findes." -#: ../C/gedit.xml:1797(term) +#: ../C/pluma.xml:1797(term) msgid "Mirror placeholders" msgstr "Klonsubstitutioner" -#: ../C/gedit.xml:1799(para) +#: ../C/pluma.xml:1799(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3949,11 +3949,11 @@ msgstr "" "defineret. Dette tillader dig, kun at skrive et stykke tekst en enkelt gang, " "selvom du vil have den inkluderet flere gange i tekststumpen." -#: ../C/gedit.xml:1802(term) +#: ../C/pluma.xml:1802(term) msgid "End placeholder" msgstr "Slutsubstitution" -#: ../C/gedit.xml:1804(para) +#: ../C/pluma.xml:1804(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3963,33 +3963,33 @@ msgstr "" "afslutte behandlingen af en tekststump således at markøren vil være på et " "andet punkt end slutningen af tekststumpen." -#: ../C/gedit.xml:1807(term) +#: ../C/pluma.xml:1807(term) msgid "Environmental variables" msgstr "Miljøvariable" -#: ../C/gedit.xml:1809(para) +#: ../C/pluma.xml:1809(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Miljøvariable såsom $PATH og $HOME " -"substitueres i tekststumpen. Specielt kan der i geditpluma også anvendes følgende variable:" -#: ../C/gedit.xml:1811(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: ../C/pluma.xml:1811(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: ../C/gedit.xml:1813(para) +#: ../C/pluma.xml:1813(para) msgid "The currently selected text." msgstr "Den aktuelt markerede tekst." -#: ../C/gedit.xml:1816(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: ../C/pluma.xml:1816(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: ../C/gedit.xml:1818(para) +#: ../C/pluma.xml:1818(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3997,11 +3997,11 @@ msgstr "" "Det fulde filnavn på dokumentet, eller en tom streng hvis dokumentet endnu " "ikke er blevet gemt." -#: ../C/gedit.xml:1821(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: ../C/pluma.xml:1821(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: ../C/gedit.xml:1823(para) +#: ../C/pluma.xml:1823(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4009,12 +4009,12 @@ msgstr "" "Filnavnets basenavn, eller en tom streng hvis dokumentet endnu ikke blevet " "gemt." -#: ../C/gedit.xml:1826(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: ../C/pluma.xml:1826(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" # Mystisk, dette lyder lidt omvendt -#: ../C/gedit.xml:1828(para) +#: ../C/pluma.xml:1828(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4022,11 +4022,11 @@ msgstr "" "Ordet ved markørens placering i dokumentet. Når denne variabel bruges, " "erstattes det aktuelle ord med tekststumpen." -#: ../C/gedit.xml:1836(term) +#: ../C/pluma.xml:1836(term) msgid "Shell placeholders" msgstr "Skalsubstitutioner" -#: ../C/gedit.xml:1838(para) +#: ../C/pluma.xml:1838(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4035,7 +4035,7 @@ msgstr "" "resultatet af udførelsen af kommandoen kmd i en " "skal." -#: ../C/gedit.xml:1839(para) +#: ../C/pluma.xml:1839(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4049,11 +4049,11 @@ msgstr "" "$n for at anvende uddata fra " "en skalsubstitution som inddata til en anden." -#: ../C/gedit.xml:1842(term) +#: ../C/pluma.xml:1842(term) msgid "Python placeholders" msgstr "Pythonsubstitutioner" -#: ../C/gedit.xml:1844(para) +#: ../C/pluma.xml:1844(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4063,7 +4063,7 @@ msgstr "" "af resultatet af evaluering af cmd i python-" "fortolkeren." -#: ../C/gedit.xml:1845(para) +#: ../C/pluma.xml:1845(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4081,7 +4081,7 @@ msgstr "" "$<a,b:" "kmd>" -#: ../C/gedit.xml:1846(para) +#: ../C/pluma.xml:1846(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4089,11 +4089,11 @@ msgstr "" "Erklær en variabel som global for at bruge den i alle " "andre Python-tekststumper." -#: ../C/gedit.xml:1855(title) +#: ../C/pluma.xml:1855(title) msgid "Sort Plugin" msgstr "Udvidelsesmodulet Sortering" -#: ../C/gedit.xml:1856(para) +#: ../C/pluma.xml:1856(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4101,7 +4101,7 @@ msgstr "" "Udvidelsesmodulet Sortering sorterer markerede " "linjer af tekst i alfabetisk orden." -#: ../C/gedit.xml:1857(para) +#: ../C/pluma.xml:1857(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4113,15 +4113,15 @@ msgstr "" "sorteringsoperation, kan du vælge FilForkast." -#: ../C/gedit.xml:1860(para) +#: ../C/pluma.xml:1860(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Udfør følgende trin for at anvende udvidelsesmodulet Sortering:" -#: ../C/gedit.xml:1863(para) +#: ../C/pluma.xml:1863(para) msgid "Select the lines of text you want to sort." msgstr "Vælg linjerne som du ønsker at sortere." -#: ../C/gedit.xml:1865(para) +#: ../C/pluma.xml:1865(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4130,11 +4130,11 @@ msgstr "" "guimenuitem>. Sortér-dialogen vil blive " "åbnet." -#: ../C/gedit.xml:1868(para) +#: ../C/pluma.xml:1868(para) msgid "Choose the options you want for the sort:" msgstr "Vælg indstillinger for sorteringen:" -#: ../C/gedit.xml:1871(para) +#: ../C/pluma.xml:1871(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4142,19 +4142,19 @@ msgstr "" "Vælg Omvendt orden for at sortere teksten i omvendt " "rækkefølge." -#: ../C/gedit.xml:1874(para) +#: ../C/pluma.xml:1874(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Vælg Fjern dupletter for at fjerne linjer, der " "forekommer mere end en gang." -#: ../C/gedit.xml:1877(para) +#: ../C/pluma.xml:1877(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Du kan eventuelt vælge Ignorér store/små bogstaver." -#: ../C/gedit.xml:1880(para) +#: ../C/pluma.xml:1880(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4164,32 +4164,32 @@ msgstr "" "gøres ved at angive kolonnenummeret på det første tegn der skal indgå i " "sorteringen i Begynd ved kolonne-rulleknappen." -#: ../C/gedit.xml:1885(para) +#: ../C/pluma.xml:1885(para) msgid "To perform the sort operation, click Sort." msgstr "" "Klik på Sortér for at udføre sorteringsoperationen." -#: ../C/gedit.xml:1892(title) +#: ../C/pluma.xml:1892(title) msgid "Spell Checker Plugin" msgstr "Udvidelsesmodulet Stavekontrol" -#: ../C/gedit.xml:1893(para) +#: ../C/pluma.xml:1893(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Udvidelsesmodulet Stavekontrol kontrollerer " -"stavningen i den valgte tekst. Du kan konfigurere geditpluma til at kontrollere stavningen automatisk, eller du kan køre " "stavekontrol manuelt på det angivne sprog. Sprogindstillingen og " "autokontrolegenskaberne gælder dokumentvis. For at bruge udvidelsesmodulet " "Stavekontrol, skal du gøre følgende:" -#: ../C/gedit.xml:1895(para) +#: ../C/pluma.xml:1895(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4201,7 +4201,7 @@ msgstr "" "guilabel>. Vælg så det ønskede sprog fra listen. Klik på O.k. for at lukke dialogen igen." -#: ../C/gedit.xml:1898(para) +#: ../C/pluma.xml:1898(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4209,7 +4209,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Hvis du vil anvende automatisk stavekontrol, så vælg " @@ -4219,10 +4219,10 @@ msgstr "" "stavning igen. Når automatisk stavekontrol er " "slået til, vil et ikon vises ved siden af menuelementet " "Kontrollér automatisk stavning. Automatisk " -"stavekontrol er som standard slået fra når gedit " +"stavekontrol er som standard slået fra når pluma " "startes." -#: ../C/gedit.xml:1899(para) +#: ../C/pluma.xml:1899(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsStavningsforslag fra popup-" "menuen:" -#: ../C/gedit.xml:1902(para) +#: ../C/pluma.xml:1902(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4241,7 +4241,7 @@ msgstr "" "For at erstatte den ukendte stavemåde med en anden stavemåde i listen, skal " "du vælge stavemåden i popup-menuen Stavningsforslag." -#: ../C/gedit.xml:1905(para) +#: ../C/pluma.xml:1905(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd for at tilføje den ukendte stavemåde til din " "personlige ordbog." -#: ../C/gedit.xml:1908(para) +#: ../C/pluma.xml:1908(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Hvis du vil ignorere alle forekomster af den ukendte stavemåde, således at " "de ikke længere bliver markeret som ukendt, men heller ikke føjes til din " "personlige ordbog, så vælg StavningsforslagIgnorér alle. Det ukendte " -"ord vil så kun blive ignoreret i den aktuelle geditpluma-session." -#: ../C/gedit.xml:1913(para) +#: ../C/pluma.xml:1913(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4274,7 +4274,7 @@ msgstr "" "Vælg VærktøjerKontrollér " "stavning for at kontrollere stavningen manuelt." -#: ../C/gedit.xml:1915(para) +#: ../C/pluma.xml:1915(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4286,7 +4286,7 @@ msgstr "" "stavede ord. Klik O.k. for at lukke " "Information-dialogen." -#: ../C/gedit.xml:1917(para) +#: ../C/pluma.xml:1917(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4294,13 +4294,13 @@ msgstr "" "Hvis der er stavefejl, vil dialogen Kontrollér stavning " "blive vist:" -#: ../C/gedit.xml:1920(para) +#: ../C/pluma.xml:1920(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "Forkert stavet ord vises øverst i dialogen." -#: ../C/gedit.xml:1923(para) +#: ../C/pluma.xml:1923(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4312,7 +4312,7 @@ msgstr "" "stavemåden fra listen Forslag, eller du kan indtaste " "teksten direkte i Ret til-tekstfeltet." -#: ../C/gedit.xml:1926(para) +#: ../C/pluma.xml:1926(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4326,19 +4326,19 @@ msgstr "" "(korrekt stavning). Hvis ordet ikke kendes, vil nye ord " "dukke op i Forslag-listen." -#: ../C/gedit.xml:1929(para) +#: ../C/pluma.xml:1929(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Klik på Ignorér for at ignorere den aktuelle " "forekomst af det ukendte ord. Klik på Ignorér alle " "for at ignorere alle forekomster af det ukendte ord. Det ukendte ord vil så " -"blive ignoreret i den aktuelle gedit-session." +"blive ignoreret i den aktuelle pluma-session." -#: ../C/gedit.xml:1932(para) +#: ../C/pluma.xml:1932(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeRet alle for at ændre alle forekomster af det " "ukendte ord til teksten i Ret til-tekstfeltet." -#: ../C/gedit.xml:1935(para) +#: ../C/pluma.xml:1935(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4359,7 +4359,7 @@ msgstr "" "Klik på Tilføj ord for at føje det ukendte ord til " "din personlige ordbog." -#: ../C/gedit.xml:1938(para) +#: ../C/pluma.xml:1938(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4367,11 +4367,11 @@ msgstr "" "Klik på Luk for at lukke dialogen " "Kontrollér stavning." -#: ../C/gedit.xml:1947(title) +#: ../C/pluma.xml:1947(title) msgid "Tag List Plugin" msgstr "Udvidelsesmodulet Mærkelister" -#: ../C/gedit.xml:1948(para) +#: ../C/pluma.xml:1948(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4379,11 +4379,11 @@ msgstr "" "Udvidelsesmodulet Mærkeliste lader dig indsætte " "almindelige mærker fra en liste i sidepanelet." -#: ../C/gedit.xml:1949(para) +#: ../C/pluma.xml:1949(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "For at bruge udvidelsesmodulet Mærkeliste, skal du gøre som følger:" -#: ../C/gedit.xml:1951(para) +#: ../C/pluma.xml:1951(para) msgid "" "Choose ViewSide Pane." @@ -4391,7 +4391,7 @@ msgstr "" "Vælg VisSidepanel." -#: ../C/gedit.xml:1955(para) +#: ../C/pluma.xml:1955(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4401,7 +4401,7 @@ msgstr "" "åbne dokumenter. Klik på fanebladet, der viser symbolet + i bunden af " "sidepanelet for at vise fanebladet for mærkelister." -#: ../C/gedit.xml:1957(para) +#: ../C/pluma.xml:1957(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4409,11 +4409,11 @@ msgstr "" "Vælg den relevante mærkekategori fra rullegardinslisten, for eksempel " "HTML - mærker." -#: ../C/gedit.xml:1960(para) +#: ../C/pluma.xml:1960(para) msgid "Scroll through the tag list to find the required tag." msgstr "Rul gennem mærkelisten for at finde det påkrævede mærke." -#: ../C/gedit.xml:1963(para) +#: ../C/pluma.xml:1963(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4423,7 +4423,7 @@ msgstr "" "følger:" # Jeg er ikke sikker på "visningsområdet", der synes ikke at være nogen streng i UI kaldet display area -#: ../C/gedit.xml:1965(para) +#: ../C/pluma.xml:1965(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4432,7 +4432,7 @@ msgstr "" "ændre fokus fra sidepanelet til visningsområdet." # Jeg tror ikke den engelske titel på vinduet er helt rigtig, så oversættelsen er gjort mest muligt generisk -#: ../C/gedit.xml:1968(para) +#: ../C/pluma.xml:1968(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press Shift, YEAR1, YEAR2 -#: ../C/gedit.xml:0(None) +#: ../C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "M.P. Rommedahl , 2008.\n" @@ -4456,10 +4456,10 @@ msgstr "" #~ msgstr "Juli 2006" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "BrugernavnBrugernavn indsætter den aktuelle brugers brugernavn i dokumentet." #~ msgid "User Name Plugin" @@ -4482,65 +4482,65 @@ msgstr "" #~ "guimenuitem>." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "Intet skærmbillede" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "Intet skærmbillede" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "Intet skærmbillede" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "Intet skærmbillede" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "For yderligere information om hvordan du konfigurerer syntaksfremhævning, " -#~ "se ." +#~ "se ." #~ msgid "Colors" #~ msgstr "Farveskema" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Vælg Brug farver fra standardtema for at bruge " -#~ "farverne fra tekstvinduet i gedit." +#~ "farverne fra tekstvinduet i pluma." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Klik på Normal tekstfarve for at få vist " #~ "farvevælger-dialogen. Vælg en farve at bruge til at få fremvist normal " -#~ "tekst i tekstvinduet i gedit." +#~ "tekst i tekstvinduet i pluma." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Klik på Baggrundsfarve for at få vist " #~ "farvevælgerdialogen. Vælg en baggrundsfarve til brug i tekstvinduet i " -#~ "gedit." +#~ "pluma." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Click on the Selected text color color button to " #~ "display the color selector dialog. Select a color to use to display " @@ -4550,7 +4550,7 @@ msgstr "" #~ "farvevælger-dialogen. Vælg en farve til brug ved visning af markeret " #~ "tekst." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Click on the Selection color color button to " #~ "display the color selector dialog. Select a background color to use to " @@ -4560,44 +4560,44 @@ msgstr "" #~ "dialogen. Vælg en baggrundsfarve som skal bruges til at fremhæve en " #~ "tekstmarkering." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Syntax Highlighting Preferences" #~ msgstr "Syntaksfremhævningsindstillinger" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Enable syntax highlighting" #~ msgstr "Aktivér syntaksfremhævning" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Select this option to highlight the syntax of the text that you edit." #~ msgstr "" #~ "Vælg denne mulighed for at fremhæve syntaksen i den tekst, som du " #~ "redigerer." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Highlight mode" #~ msgstr "Fremhævningstilstand" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Use this drop-down list to select a syntax mode to configure." #~ msgstr "" #~ "Brug denne rullegardinsmenu til at vælge en syntakstilstand at " #~ "konfigurere." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Elements" #~ msgstr "Elementer" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Use this list box to select a syntax element to configure." #~ msgstr "Brug denne listeboks til at vælge et syntakselement at konfigurere." -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "Format buttons" #~ msgstr "Formatknapper" -# Denne funktion lader til at være udgået i den seneste version af gedit... +# Denne funktion lader til at være udgået i den seneste version af pluma... #~ msgid "" #~ "Use the following buttons to change the format of the selected syntax " #~ "element:" @@ -4637,7 +4637,7 @@ msgstr "" #~ msgid "Foreground" #~ msgstr "Forgrund" -# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af gedit... +# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af pluma... #~ msgid "" #~ "Select this option to change the font color of the selected syntax " #~ "element. Click on the color button to display the color selector dialog, " @@ -4650,7 +4650,7 @@ msgstr "" #~ msgid "Background" #~ msgstr "Baggrund" -# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af gedit... +# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af pluma... #~ msgid "" #~ "Select this option to change the background color of the selected syntax " #~ "element. Click on the color button to display the color selector dialog, " @@ -4660,11 +4660,11 @@ msgstr "" #~ "syntakselement. Klik på farveknappen for at få vist farvevalgsdialogen, " #~ "og vælg derefter baggrundsfarve." -# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af gedit... +# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af pluma... #~ msgid "Reset to Default" #~ msgstr "Gendan til standard" -# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af gedit... +# Dette er rent gæt, da funktionen lader til at være udgået i den nyeste version af pluma... #~ msgid "" #~ "Click on this button to reset the foreground color and background color " #~ "of the selected syntax element to the default values." diff --git a/help/de/de.po b/help/de/de.po index 72db195..3a719f2 100755 --- a/help/de/de.po +++ b/help/de/de.po @@ -1,11 +1,11 @@ -# German translation of the gedit documentation +# German translation of the pluma documentation # Jan Arne Petersen , 2007. # Mario Blättermann , 2008-2010. # Andre Klapper , 2009. # msgid "" msgstr "" -"Project-Id-Version: gedit help\n" +"Project-Id-Version: pluma help\n" "POT-Creation-Date: 2010-07-28 06:52+0000\n" "PO-Revision-Date: 2010-08-08 15:32+0100\n" "Last-Translator: Mario Blättermann \n" @@ -122,301 +122,301 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "translated" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "translated" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Gedit-Handbuch" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Pluma-Handbuch" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE-Dokumentationsprojekt" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Fügte die Tabelle der Tastenkombinationen hinzu" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java-Desktop-System-Dokumentationsteam" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek hat Informationen aus früheren Revisionen von gedit beigetragen." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek hat Informationen aus früheren Revisionen von pluma beigetragen." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Danksagungen" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George für Informationen zu Plugins." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit-Handbuch V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma-Handbuch V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "März 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE Dokumentationsteam" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit-Handbuch V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma-Handbuch V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Juni 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit-Handbuch V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma-Handbuch V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "August 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit-Handbuch V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma-Handbuch V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "September 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit-Handbuch V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma-Handbuch V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Januar 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit-Handbuch V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma-Handbuch V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "März 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit-Handbuch V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma-Handbuch V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "September 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit-Handbuch V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma-Handbuch V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "März 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit-Handbuch V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma-Handbuch V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Juli 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit-Handbuch V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma-Handbuch V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE-Dokumentationsteam" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "In diesem Handbuch wird Version 2.16 von gedit beschrieben." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "In diesem Handbuch wird Version 2.16 von pluma beschrieben." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Rückmeldungen" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"Wenn Sie Fehler finden oder Vorschläge zur Anwendung geditpluma oder diesem Handbuch haben, folgen Sie den Anweisungen auf der " "MATE-Seite für " "Rückmeldungen." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"Gedit ist der Texteditor für den MATE-Desktop, der über grundlegende und " +"Pluma ist der Texteditor für den MATE-Desktop, der über grundlegende und " "robuste Funktionen wie Drucken, Rechtschreibprüfung, Suchen und Ersetzen, und " "Syntax-Hervorhebung verfügt. Anspruchsvollere Funktionen sind als Plugins " "verfügbar." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "Texteditor" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Einführung" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"Die Anwendung gedit erlaubt Ihnen, Textdateien zu " +"Die Anwendung pluma erlaubt Ihnen, Textdateien zu " "erstellen und zu bearbeiten." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to use " +"The aim of pluma is to be a simple and easy to use " "text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Die Absicht von gedit ist es, ein schlichter und " +"Die Absicht von pluma ist es, ein schlichter und " "einfach zu verwendender Texteditor zu sein. Leistungsfähigere Funktionen, die " "eine Vielzahl von Aufgaben im Zusammenhang mit Textbearbeitung erfüllen, " "können durch verschiedene Plugins aktiviert werden." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Erste Schritte" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Gedit starten" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Pluma starten" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"Sie können gedit auf eine der folgenden Weisen " +"Sie können pluma auf eine der folgenden Weisen " "starten:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Anwendungen-Menü" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -424,64 +424,64 @@ msgstr "" "Wählen Sie WerkzeugeTexteditor." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Befehlszeile" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Führen Sie den folgenden Befehl aus: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Führen Sie den folgenden Befehl aus: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"Wenn Sie ein Textdokument im Dateimanager öffnen, wird standardmäßig gedit " +"Wenn Sie ein Textdokument im Dateimanager öffnen, wird standardmäßig pluma " "gestartet und das Dokument angezeigt." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Das gedit-Fenster" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Das pluma-Fenster" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Wenn Sie gedit starten, wird folgendes Fenster " +"Wenn Sie pluma starten, wird folgendes Fenster " "angezeigt:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "gedit-Fenster" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "pluma-Fenster" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Zeigt das gedit-Hauptfenster an." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Zeigt das pluma-Hauptfenster an." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "Das gedit-Fenster enthält folgende Elemente:" +"The pluma window contains the following elements:" +msgstr "Das pluma-Fenster enthält folgende Elemente:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Menüleiste" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Die Menüs in der Menüleiste enthalten alle Befehle, die Sie zum Arbeiten mit " -"Dateien in gedit benötigen." +"Dateien in pluma benötigen." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Werkzeugleiste" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -489,29 +489,29 @@ msgstr "" "Die Werkzeugleiste enthält einen Teil der Befehle, die Sie über die " "Menüleiste aufrufen können." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Anzeigebereich" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Der Anzeigebereich enthält den Text der Datei, die Sie bearbeiten." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Statusleiste" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "In der Statusleiste werden Informationen über die aktuelle " -"gedit-Aktivität und Kontextinformationen über die " +"pluma-Aktivität und Kontextinformationen über die " "Menüpunkte angezeigt. Die Statusleiste zeigt auch folgende Informationen an:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -519,7 +519,7 @@ msgstr "" "Position des Cursors: Die Nummer der Zeile und Spalte, in der sich der Cursor " "befindet." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -532,11 +532,11 @@ msgstr "" "Drücken Sie die Einfg-Taste, um den Bearbeitungsmodus zu " "ändern." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Seitenleiste" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -544,7 +544,7 @@ msgstr "" "In der Seitenleiste wird eine Liste von offenen Dokumenten und, abhängig von " "den aktiven Plugins, andere Informationen angezeigt." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneAnsichtSeitenleiste um sie anzuzeigen." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Fußleiste" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -566,7 +566,7 @@ msgstr "" "Die Fußleiste wird von Programmierwerkzeugen, wie dem Python-" "Konsole-Plugin, verwendet um Ausgaben anzuzeigen." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneAnsichtFußleiste um sie anzuzeigen." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Wenn Sie mit der rechten Maustaste auf das gedit-" +"Wenn Sie mit der rechten Maustaste auf das pluma-" "Fenster klicken, wird ein Kontextmenü angezeigt. Das Kontextmenü enthält die " "gängigsten Textbearbeitungsbefehle." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" "Wie in anderen MATE-Anwendungen auch, können Sie Befehle in " -"gedit in unterschiedlicher Weise ausführen: mit " +"pluma in unterschiedlicher Weise ausführen: mit " "dem Menü, mit der Werkzeugleiste oder mit Tastenkombinationen. Von allen " "Anwendungen verwendete Tastenkombinationen sind im Benutzerhandbuch aufgeführt." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Gedit aus der Befehlszeile ausführen" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Pluma aus der Befehlszeile ausführen" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Sie können gedit über eine Befehlszeile ausführen " +"Sie können pluma über eine Befehlszeile ausführen " "und eine oder mehrere Dateien öffnen. Zum Öffnen mehrerer Dateien über eine " "Befehlszeile geben Sie den folgenden Befehl ein und drücken anschließend die " "Eingabetaste:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "Datei1.txt Datei2.txt Datei3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Alternativ können Sie einen URI anstelle eines Dateinamens verwenden." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Weitere Informationen zur Ausführung von gedit aus " -"der Befehlszeile finden Sie in der Unix-Handbuchseite zu gedit: geditpluma aus " +"der Befehlszeile finden Sie in der Unix-Handbuchseite zu pluma: pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Mit Dateien arbeiten" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Eine neue Datei anlegen" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application displays " -"a new blank document in the gedit window." +"a new blank document in the pluma window." msgstr "" "Um eine neue Datei anzulegen, wählen Sie DateiNeu. Eine neue Datei wird im " -"gedit-Fenster angezeigt." +"pluma-Fenster angezeigt." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Eine Datei öffnen" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Wenn Sie eine Datei öffnen möchten, wählen Sie DateiÖffnen, um das Dialogfeld " "Datei öffnen anzuzeigen. Wählen Sie die zu öffnende " "Datei aus, und klicken Sie auf Öffnen. Die Datei wird " -"im gedit-Fenster angezeigt." +"im pluma-Fenster angezeigt." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Zuletzt geöffnete Dateien anzeigen (Menüsymbol)" -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent files " "that you edited and displays the files as menu items on the " @@ -692,25 +692,25 @@ msgstr "" "auch auf den Knopf in der Werkzeugleiste klicken, um die " "Liste der zuletzt geöffneten Dateien anzuzeigen." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this see " -"." +"." msgstr "" -"Sie können mehrere Dateien in gedit öffnen. Für " +"Sie können mehrere Dateien in pluma öffnen. Für " "jede geöffnete Datei wird ein Reiter in das Fenster eingefügt. Weitere " -"Informationen dazu finden Sie unter ." +"Informationen dazu finden Sie unter ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Eine Datei speichern" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Sie können Dateien in einer der folgenden Weisen speichern:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -719,7 +719,7 @@ msgstr "" "DateiSpeichern." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsSpeichern unter einen Namen für die Datei " "ein, und klicken Sie auf Speichern." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Wenn Sie alle Dateien speichern möchten, die gerade in geditpluma geöffnet sind, wählen Sie DokumenteAlle speichern." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Wenn Sie alle Dateien schließen möchten, die gerade in geditpluma geöffnet sind, wählen Sie DokumenteAlle schließen." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Eine Datei über einen URI öffnen" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -764,7 +764,7 @@ msgstr "" "Führen Sie zum Öffnen einer Datei über einen URI (Uniform Resource " "Identifier) die folgenden Schritte aus:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -774,11 +774,11 @@ msgstr "" "guimenuitem>, um das Dialogfeld Ort öffnen " "anzuzeigen." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Geben Sie den URI der Datei ein, die Sie öffnen möchten." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -786,11 +786,11 @@ msgstr "" "Verwenden Sie die Zeichenkodierung-Einblendliste, um die " "passende Zeichenkodierung auszuwählen." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Klicken Sie auf Öffnen." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -800,7 +800,7 @@ msgstr "" "http:, ftp:, file: " "sowie alle anderen von mate-vfs unterstützten Methoden." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -813,68 +813,68 @@ msgstr "" "liegende Dateien werden auch als nur lesbar geöffnet, weil nicht alle FTP-" "Server entfernte Dateien korrekt speichern können." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Das Speichern auf FTP-Servern kann mit Hilfe des Konfigurationsditors ermöglicht werden. Aktivieren Sie den Schlüssel /apps/" -"gedit-2/preferences/editor/save/writable_vfs_schemes, aber " +"pluma-2/preferences/editor/save/writable_vfs_schemes, aber " "bedenken Sie, dass dies Fehler zur Folge haben kann." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Mit Reitern arbeiten" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Wenn mehr als eine Datei geöffnet wird, zeigt geditpluma einen Reiter für jedes Dokument über dem " "Anzeigebereich. Klicken Sie auf den entsprechenden Reiter, um zu einem " "anderen Dokument zu wechseln." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Um ein Dokument in ein anderes gedit-Fenster zu " +"Um ein Dokument in ein anderes pluma-Fenster zu " "bewegen, ziehen sie den zur Datei gehörenden Reiter in das Fenster, in " "welches Sie die Datei verschieben möchten." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Um ein Dokument in ein neues gedit-Fenster zu " +"Um ein Dokument in ein neues pluma-Fenster zu " "verschieben, können Sie entweder dessen Reiter auf den Desktop ziehen, oder " "Sie wählen DokumenteIn neues " "Fenster verschieben." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Mit Text arbeiten" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Text bearbeiten" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "" "Sie können den Text einer Datei auf eine der folgenden Weisen bearbeiten:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -885,7 +885,7 @@ msgstr "" "Text erscheint. Um diesen Punkt zu ändern, verwenden Sie die Pfeiltasten oder " "klicken Sie mit der Maus." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose EditCopy." @@ -894,7 +894,7 @@ msgstr "" "BearbeitenKopieren." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutBearbeitenAusschneiden." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteBearbeitenLöschen." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Um den Inhalt der Zwischenablage an der Cursorposition einzufügen, wählen Sie " "BearbeitenEinfügen. Sie müssen zunächst Text aus gedit oder einer anderen Anwendung " +"menuchoice>. Sie müssen zunächst Text aus pluma oder einer anderen Anwendung " "kopieren oder ausschneiden, bevor Sie ihn aus dem Puffer in die Datei " "einfügen können." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -936,11 +936,11 @@ msgstr "" "BearbeitenAlles markieren." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Änderungen rückgängig machen oder wiederholen" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this action, " @@ -953,33 +953,33 @@ msgstr "" "BearbeitenWiederholen." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Suchen und Ersetzen" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"In gedit gibt es zwei Möglichkeiten der Textsuche. " +"In pluma gibt es zwei Möglichkeiten der Textsuche. " "Zum einen können Sie den Suchen-Dialog verwenden, um " "nach einem bestimmten Text zu suchen, oder die Inkrementelle Suche, um den gefundenen Text bereits hervorzuheben, währen Sie ihn " "eingeben." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Nach Text suchen" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "Führen Sie zum Durchsuchen einer Datei nach einem Text folgende Schritte aus:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -988,30 +988,30 @@ msgstr "" "guimenuitem>, um das Dialogfeld Suchen " "anzuzeigen." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Geben Sie den Text, nach dem Sie suchen möchten, in das Feld Suchen " "nach ein. Sie können auch Sonderzeichen wie »Neue Zeile« oder " -"»Tabulator« eingeben. Information dazu finden Sie unter ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first occurrence " -"of the string after your current cursor position. If geditpluma finds the string, the application selects first occurrence of " "the string. Other occurrences of the string are highlighted." msgstr "" "Klicken Sie auf Suchen, um nach dem ersten Auftreten " "des Textes nach der aktuellen Cursor-Postion zu suchen. Wenn " -"gedit den Text findet, wird der Text markiert. " +"pluma den Text findet, wird der Text markiert. " "Andere Vorkommen des Textes werden hervorgehoben." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextSuchenRückwärts suchen." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1040,7 +1040,7 @@ msgstr "" "guimenuitem> und SuchenRückwärts suchen." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose SearchClear Highlight." @@ -1049,11 +1049,11 @@ msgstr "" "SuchenHervorhebung zurücksetzen." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Inkrementelle Suche" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1063,7 +1063,7 @@ msgstr "" "Sie ihn Buchstabe für Buchstabe eingeben. Dieses Verhalten ähnelt der " "Suchfunktion in verschiedenen Webbrowsern." -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1074,7 +1074,7 @@ msgstr "" "guimenuitem>. Das Suchfeld erscheint am oberen Rand des " "Anzeigebereichs." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1083,7 +1083,7 @@ msgstr "" "Dokument hervorgehoben. Das erste Vorkommen nach der Position des Cursors " "wird auch markiert." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGStrgUmschaltG." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1105,11 +1105,11 @@ msgstr "" "Sie können ebenfalls mit den Pfeiltasten nach oben/nach unten oder mit dem " "Mausrad die Markierung zwischen den gefundenen passenden Texten verschieben." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Ersetzen von Text" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1117,7 +1117,7 @@ msgstr "" "Wenn Sie nach einer Zeichenkette suchen und diese durch eine andere " "Zeichenkette ersetzen möchten, gehen Sie folgendermaßen vor:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1126,18 +1126,18 @@ msgstr "" "guimenuitem>, um das Dialogfeld Ersetzen " "anzuzeigen." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Geben Sie die Zeichenkette, nach der Sie suchen möchten, in das Feld " "Suchen nach ein. Sie können auch Sonderzeichen wie »Neue " "Zeile« oder »Tabulator« eingeben: Information dazu finden Sie in ." +"linkend=\"pluma-find-escapes\"/>." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1145,22 +1145,22 @@ msgstr "" "Geben Sie die Zeichenkette, durch die die gefundene Zeichenkette ersetzt " "werden soll, in das Feld Ersetzen durch ein." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the next " "occurrence of the string, click Find again." msgstr "" "Um jedes Vorkommen einer Zeichenkette vor dem Ersetzen zu prüfen, klicken Sie " -"auf Suchen. Falls gedit die " +"auf Suchen. Falls pluma die " "Zeichenkette findet, wird sie markiert. Klicken Sie auf Ersetzen, um das markierte Vorkommen der Zeichenkette zu ersetzen. Um nach " "dem nächsten Vorkommen der Zeichenkette zu suchen, klicken Sie wieder auf " "Suchen." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1168,11 +1168,11 @@ msgstr "" "Um jedes Auftreten der Zeichenkette im Dokument zu ersetzen, klicken Sie auf " "Alle ersetzen." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Optionen zum Suchen und Ersetzen" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1180,7 +1180,7 @@ msgstr "" "Sowohl im Dialogfeld Suchen als auch im Dialogfeld " "Ersetzen können Sie die folgenden Optionen festlegen:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences of " "the string that match the case of the text that you type. For example, with " @@ -1192,7 +1192,7 @@ msgstr "" "Groß-/Kleinschreibung berücksichtigen »TEXT« nicht in " "»text« gefunden." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1205,7 +1205,7 @@ msgstr "" "Nur vollständige Wörter berücksichtigen »Text« nicht in " "»Textur« gefunden." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1213,7 +1213,7 @@ msgstr "" "Wählen Sie die Option Rückwärts suchen, um Rückwärts in " "Richtung des Dokumentanfangs zu suchen." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1223,11 +1223,11 @@ msgstr "" "fortzusetzen, wenn bei der Suche das Dokumentende oder der Dokumentanfang " "erreicht wird." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Sonderzeichen" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or replace " "to represent special characters:" @@ -1235,35 +1235,35 @@ msgstr "" "Sie können folgende Escape-Sequenzen in den zu suchenden oder zu ersetzenden " "Text einfügen, um folgende Sonderzeichen zu verwenden:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Steht für einen Zeilenumbruch." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Steht für einen Tabulator." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Steht für einen Wagenrücklauf." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1277,11 +1277,11 @@ msgstr "" "eingeben. Falls Sie nach mehreren aufeinanderfolgenden Backslash-Zeichen " "suchen wollen, müssen Sie deren Anzahl in der Suche verdoppeln." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Den Cursor in eine bestimmte Zeile setzen" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. Das Zeilennummerfeld erscheint oberhalb des " "Anzeigebereichs." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1300,7 +1300,7 @@ msgstr "" "Sobald Sie die Nummer der Zeile eingeben, in die der Cursor verschoben werden " "soll wird die entsprechende Zeile des Dokuments angezeigt." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1308,15 +1308,15 @@ msgstr "" "Um das Feld zu schließen und den Cursor in die eingegebene Zeile zu setzen, " "drücken Sie die Eingabetaste." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Drucken" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Optionen der Seiteneinstellungen" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1327,7 +1327,7 @@ msgstr "" "guimenuitem>, um den Dialog Seite einrichten anzuzeigen." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1335,28 +1335,28 @@ msgstr "" "Im Dialogfeld Seite einrichten können Sie die folgenden " "Druckoptionen festlegen:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Reiter »Allgemein«" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Im Hervorhebungsmodus drucken" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Wählen Sie diese Option, um den Text im Hervorhebungsmodus zu drucken. " -"Weitere Informationen über Hervorhebungen finden Sie in ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Seitenkopfzeilen drucken" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1364,11 +1364,11 @@ msgstr "" "Wählen Sie diese Option, um auf jeder gedruckten Seite eine Kopfzeile " "einzufügen. Die Kopfzeile kann nicht konfiguriert werden." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Zeilennummern" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1376,7 +1376,7 @@ msgstr "" "Wählen Sie die Option Zeilennummern drucken, um die " "Zeilennummern beim Drucken mit einzuschließen." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1386,11 +1386,11 @@ msgstr "" "guilabel>, wie oft die Zeilennummern gedruckt werden sollen, z. B. alle 5 " "Zeilen, alle 10 Zeilen usw." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Textumbruch" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text onto " "the next line, at a character level, when you print a file. The application " @@ -1401,7 +1401,7 @@ msgstr "" "Umbrochene Zeilen werden aus Gründen der Zeilennummerierung als eine Zeile " "gezählt." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1410,15 +1410,15 @@ msgstr "" "Rand des Textfensters auf Wortebene in die nächste Zeile umgebrochen (d. h. " "es werden nur vollständige Wörter umgebrochen)." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Schrift" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Rumpf" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1426,21 +1426,21 @@ msgstr "" "Klicken Sie auf diesen Knopf, um die Schriftart für den Fließtext einer Datei " "auszuwählen." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Zeilennummern" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Klicken Sie auf diesen Knopf, um die Schriftart für den Fließtext einer Datei " "auszuwählen." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Kopf- und Fußzeilen" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1448,48 +1448,48 @@ msgstr "" "Klicken Sie auf diesen Knopf, um die Schriftart zum Drucken der Kopfzeilen " "und Fußzeilen in einer Datei auszuwählen." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"Um die Standardschriftart einzustellen, die in geditpluma zum Drucken einer Datei verwendet wird, klicken Sie auf den " "Knopf Auf Vorgabeschriften zurücksetzen." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Drucken eines Dokumentes" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Mit gedit können Sie die folgenden Druckvorgänge " +"Mit pluma können Sie die folgenden Druckvorgänge " "ausführen:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "das Dokument auf einem Drucker ausgeben." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "die Ausgabe des Druckbefehls in einer Datei speichern." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Wenn Sie in eine Datei drucken, sendet gedit die " +"Wenn Sie in eine Datei drucken, sendet pluma die " "Ausgabe der Datei in eine Datei mit Druckvorstufenformat. Die am meisten " "verbreiteten Formate der Druckvorstufe sind PostScript und PDF (Portable " "Document Format)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewDateiDruckvorschau." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint, um das Dialogfeld Drucken zu " "öffnen." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1518,34 +1518,34 @@ msgstr "" "Im Dialogfeld Drucken können Sie die folgenden " "Druckoptionen festlegen:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Reiter »Drucker«" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Druckbereich" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Wählen Sie eine der folgenden Optionen, um die Anzahl der zu druckenden " "Seiten festzulegen:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Alle" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Wählen Sie diese Option, um sämtliche Seiten der Datei zu drucken." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Zeilen" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the From and To spin boxes to specify the line range." @@ -1554,11 +1554,11 @@ msgstr "" "Sie die Einstellfelder von und bis, " "um den zu druckenden Zeilenbereich festzulegen." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Markierung" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1566,11 +1566,11 @@ msgstr "" "Wählen Sie diese Option, um nur den markierten Text auszudrucken. Diese " "Option ist nur verfügbar, wenn Sie Text markiert haben." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Kopien" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1578,7 +1578,7 @@ msgstr "" "Geben Sie im Einstellfeld Anzahl der Kopien die Anzahl " "der Kopien an, die von dieser Datei gedruckt werden sollen." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1586,15 +1586,15 @@ msgstr "" "Wenn Sie mehrere Kopien der Datei drucken, wählen Sie die Option " "Sortieren, um die gedruckten Kopien zu sortieren." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Reiter »Drucker«" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Drucker" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1602,15 +1602,15 @@ msgstr "" "Verwenden Sie die Auswahlliste, um den Drucker auszuwählen, auf welchem Sie " "das Dokument ausgeben wollen." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Einstellungen" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Verwenden Sie die Auswahlliste, um die Druckeinstellungen zu ändern." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1621,24 +1621,24 @@ msgstr "" "ausschalten, oder den Druck zu einem späteren Zeitpunkt definieren, sofern " "Ihr Drucker dies unterstützt." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Ort" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "Wählen Sie mithilfe dieses Einstellfeldes die folgenden Druckziele aus:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Gibt die Datei auf einem CUPS-Drucker aus." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1646,23 +1646,23 @@ msgstr "" "Wenn der ausgewählte Drucker ein CUPS-Drucker ist, dann ist CUPS der einzige Eintrag in dieser Auswahlliste." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Gibt die Datei auf einem Drucker aus." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Datei" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Druckt das Dokument in eine PostScript-Datei." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1670,15 +1670,15 @@ msgstr "" "Klicken Sie auf Speichern unter, um einen Dialog zur " "Auswahl des Namens und des Speicherorts der PostScript-Datei anzuzeigen." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Benutzerdefiniert" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Verwendet einen spezifischen Befehl zum Drucken des Dokuments." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1686,33 +1686,33 @@ msgstr "" "Geben Sie den Namen des Befehls in das Eingabefeld ein, einschliesslich aller " "Befehlszeilenargumente." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Status" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "" -"Diese Funktionalität wird in der vorliegenden Version von Gedit nicht " +"Diese Funktionalität wird in der vorliegenden Version von Pluma nicht " "unterstützt." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Typ" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Kommentar" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Reiter »Papier«" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Papierformat" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1720,11 +1720,11 @@ msgstr "" "Legen Sie mit dieser Einblendliste das Format des Papiers fest, auf dem die " "Datei gedruckt werden soll." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Breite" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1732,38 +1732,38 @@ msgstr "" "Legen Sie mittels des Eingabefeldes die Papierbreite fest. Über die daneben " "stehende Einblendliste können Sie die Maßeinheit einstellen." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Höhe" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Legen Sie mittels dieses Eingabefeldes die Höhe des Papiers fest." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Einzugsausrichtung" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the printer." msgstr "" "Mit dieser Einblendliste geben Sie an, wie das Papier im Drucker ausgerichtet " "ist." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Papierausrichtung" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Wählen Sie mithilfe dieser Einblendliste die Papierausrichtung aus." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Layout" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1772,36 +1772,36 @@ msgstr "" "des gerade ausgewählten Layouts wird im Bereich Vorschau " "angezeigt." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Papiereinzug" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Wählen Sie mithilfe dieser Einblendliste den Papiereinzug aus." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Programmierfunktionen" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Verschiedene von gedit für Programmierzwecke " +"Verschiedene von pluma für Programmierzwecke " "bestimmten Funktionsmerkmale werden durch Plugins realisiert. Beispielsweise " "stellt das Taglisten-Plugin häufig benutzte Tags für verschiedene " "Beschreibungssprachen bereit. Weitere Informationen hierzu finden Sie in " -"." +"." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Hervorhebung" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1809,32 +1809,32 @@ msgstr "" "Die Hervorhebung macht Quellcode leichte lesbar, indem Teile des Textes in " "verschiedenen Farben dargestellt werden." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit verwendet einen passenden " +"pluma verwendet einen passenden " "Hervorhebungsmodus, passend zum Typ des Dokuments. Um den Hervorhebungsmodus " "selbst zu bestimmen, wählen Sie AnsichtHervorhebungsmodus. Dann " "können Sie aus den folgenden Menüeinträgen wählen:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Keine" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Zeigt keine Hervorhebungen an." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Quellcode" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the Sources submenu to select the source code type." @@ -1843,11 +1843,11 @@ msgstr "" "das Untermenü Quellcode, um den Typ des Quellcodes " "auszuwählen." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Auszeichnung" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1856,11 +1856,11 @@ msgstr "" "Verwenden Sie das Untermenü Auszeichnung, um den Typ " "des Auszeichnungs-Codes auszuwählen." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Skripte" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the Scripts submenu to select the script code type." @@ -1869,11 +1869,11 @@ msgstr "" "Verwenden Sie das Untermenü Skripte, um den Typ des " "Skriptsprachen-Codes auszuwählen." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Sonstige" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1882,31 +1882,31 @@ msgstr "" "Verwenden Sie das Untermenü Andere, um den Code-Typ " "auszuwählen." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Die Ausgabe eines Befehls in eine Datei umleiten" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Mit gedit können Sie die Ausgabe eines Befehls in " +"Mit pluma können Sie die Ausgabe eines Befehls in " "eine Textdatei leiten. Wenn Sie z. B. die Ausgabe eines ls-" -"Befehls in eine Textdatei umleiten möchten, geben Sie ls | geditls | pluma ein, und drücken Sie die Eingabetaste." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -"Die Ausgabe des Befehls ls wird im geditls wird im pluma-Fenster in einer neuen Textdatei angezeigt." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1914,21 +1914,21 @@ msgstr "" "Alternativ können Sie das Plugin Externe Werkzeuge " "verwenden, um die Ausgabe des Befehls in die aktuelle Datei umzuleiten." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Tastenkombinationen" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Verwenden Sie Tastenkürzel, um häufig vorkommende Aufgaben schneller als mit " "der Maus oder über die Menüs auszuführen. In den folgenden Tabellen werden " -"alle Tastenkürzel von gedit aufgelistet." +"alle Tastenkürzel von pluma aufgelistet." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1937,423 +1937,423 @@ msgstr "" "url=\"ghelp:user-guide?keyboard-skills\">Desktop-Benutzerhandbuch." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Reiter" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Tastenkombinationen für Reiter:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Tastenkombination" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Befehl" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Strg+Alt+Bild auf" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Aktiviert den vorherigen Reiter." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Strg + Alt + Bild_Ab" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Aktiviert den nächsten Reiter." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Strg + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Schließt den Reiter." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Umschalt + Strg + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Alle Reiter speichern." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Umschalt + Strg + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Alle Reiter schließen." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Den n-ten Reiter aktivieren." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Dateien" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Tastenkombinationen zum Arbeiten mit Dateien:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Strg + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Eine neues Dokument anlegen." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Strg + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Ein Dokument öffnen." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Strg + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Einen Ort öffnen." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Strg + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Das aktuelle Dokument auf die Festplatte speichern." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Umschalt + Strg + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Das aktuelle Dokument unter einem anderen Dateinamen speichern." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Strg + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Das aktuelle Dokument drucken." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Umschalt + Strg + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Druckvorschau." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Das aktuelle Dokument schließen." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Strg + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Gedit beenden." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Pluma beenden." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Bearbeiten" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Tastenkombinationen zum Bearbeiten von Dokumenten:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Strg + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Letzten Vorgang rückgängig machen." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Umschalt + Strg + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Den rückgängig gemachten Vorgang wiederholen." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Strg + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "" "Den markierten Text oder die markierte Region ausschneiden und in die " "Zwischenablage verschieben." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Strg + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "" "Den markierten Text oder den markierten Bereich in die Zwischenablage " "kopieren." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Strg + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Den Inhalt der Zwischenablage einfügen." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Strg + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Alles markieren." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Strg + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Die aktuelle Zeile löschen." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) msgid "Alt + Up" msgstr "Alt + Pfeiltaste hoch" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "Die markierte Zeile um eine Position nach oben verschieben." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) msgid "Alt + Down" msgstr "Alt + Pfeiltaste runter" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Move the selected line down one line." msgstr "Die markierte Zeile um eine Position nach unten verschieben." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Leisten" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Tastenkombinationen zum Anzeigen und Verbergen von Leisten:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Die Seitenleiste anzeigen/verbergen." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Strg + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Die Fußleiste anzeigen/verbergen." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Suchen" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Tastenkombinationen zum Suchen:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Strg + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Einen Text suchen." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Strg + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Das nächste Vorkommen des gleichen Textes suchen." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Umschalt + Strg + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Das vorherige Vorkommen des gleichen Textes suchen." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Strg + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Inkrementelle Suche." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Strg + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Suchen und ersetzen." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Umschalt + Strg + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Hervorhebung zurücksetzen." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Strg + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Zu einer bestimmten Zeile gehen." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Werkzeuge" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Tastenkombinationen für Werkzeuge:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Umschalt + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Rechtschreibprüfung (mit Plugin)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Unnötige Leerzeichen am Zeilenende entfernen (mit Plugin)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Strg + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Einzug erhöhen (mit Plugin)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Umschalt + Strg + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Einzug vermindern (mit Plugin)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "»make« im aktuellen Ordner ausführen (mit Plugin)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Umschalt + Strg + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Ordnerinhalt anzeigen (mit Plugin)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Hilfe" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Tastenkombinationen für Hilfe:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "Das gedit-Handbuch öffnen." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "Das pluma-Handbuch öffnen." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Einstellungen" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Um gedit zu konfigurieren, wählen Sie " +"Um pluma zu konfigurieren, wählen Sie " "BearbeitenEinstellungen. Das Dialogfeld Einstellungen " "enthält die folgenden Kategorien:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Ansicht-Einstellungen" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2363,7 +2363,7 @@ msgstr "" "Zeilen umzubrechen, anstatt Sie über den Rand des Textfensters hinauslaufen " "zu lassen. Dadurch lässt sich horizontales Scrollen vermeiden." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2373,19 +2373,19 @@ msgstr "" "Wörter nicht getrennt werden, wenn der Text in die nächste Zeile umgebrochen " "wird. Dies verbessert die Lesbarkeit des Textes." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Wählen Sie die Option Zeilennummern anzeigen, um links " -"im gedit-Fenster Zeilennummern anzuzeigen." +"im pluma-Fenster Zeilennummern anzuzeigen." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Aktuelle Zeile" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2393,11 +2393,11 @@ msgstr "" "Wählen Sie die Option Aktuelle Zeile hervorheben, um " "jene Zeile hervorzuheben, in der sich der Cursor befindet." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Rechter Rand" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2406,7 +2406,7 @@ msgstr "" "guilabel>, um eine senkrechte Linie zur Markierung des rechten Randes " "anzuzeigen." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2414,11 +2414,11 @@ msgstr "" "Verwenden Sie das Einstellfeld Rechter Rand in Spalte, " "um die Position der senkrechten Linie anzugeben." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Klammerübereinstimmung" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2428,36 +2428,36 @@ msgstr "" "hervorheben, um die korrespondierende Klammer hervorzuheben, wenn " "sich der Cursor über einer Klammer befindet." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Einstellungen des Editors" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Legen Sie im Einstellfeld Tabulatorbreite fest, wie viel " -"Platz von gedit eingefügt wird, wenn Sie die " +"Platz von pluma eingefügt wird, wenn Sie die " "Tabulatortaste drücken." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Mit der Option An Stelle von Tabulatoren Leerzeichen einfügen können Sie festlegen, dass gedit beim " +"guilabel> können Sie festlegen, dass pluma beim " "Drücken der Tabulatortaste statt eines Tabulatorzeichens " "eine entsprechende Anzahl von Leerzeichen einfügen soll." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Auto-Einzug" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2466,11 +2466,11 @@ msgstr "" "aktiviert ist, werden neue Zeilen automatisch so weit wie die jeweils " "vorhergehende Zeile eingerückt." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Speichern von Dateien" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2481,7 +2481,7 @@ msgstr "" "Sicherungskopie erstellen zu lassen. An den Dateinamen der Sicherungskopie " "wird eine Tilde (~) angefügt." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box to " @@ -2492,39 +2492,39 @@ msgstr "" "Legen Sie im Einstellfeld das Intervall fest, in dem die Datei gespeichert " "werden soll." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Schriftarten und Farben" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Schrift" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit text " +"default system font for the text in the pluma text " "window." msgstr "" "Wählen Sie die Option Dicktengleiche Schrift des Systems benutzen, um die Standard-Systemschrift für den Text im Textfenster " -"gedit zu verwenden." +"pluma zu verwenden." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button to " +"pluma uses to display text. Click on the button to " "specify the font type, style, and size to use for text." msgstr "" -"In diesem Feld wird die Schriftart angezeigt, in der in geditpluma Text angezeigt wird. Klicken Sie auf den Knopf, um Schriftart, -" "stil und -größe für den Text festzulegen." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Farbschema" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, the " "following color schemes are installed:" @@ -2532,50 +2532,50 @@ msgstr "" "Sie können ein Farbschema aus der Liste der Farbschemata wählen. " "Standardmäßig sind die folgenden Farbschemata installiert:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Classic" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "" "Klassisches Farbschema, basierend auf dem Schema von gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Kobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Auf Blau basierendes Farbschema." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "" "Das im Texteditor Kate verwendete Farbschema." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Dunkles Farbschema, welches die Tango-Farbpalette verwendet." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Farbschema, welches das Tango-Farbschema verwendet." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2583,7 +2583,7 @@ msgstr "" "Sie können ein neues Farbschema hinzufügen, indem Sie auf " "Hinzufügen … klicken und eine Farbschema-Datei auswählen." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2591,33 +2591,33 @@ msgstr "" "Sie können das ausgewählte Farbschema entfernen, indem Sie auf " "Entfernen klicken." -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Plugin-Einstellungen" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"\"pluma-plugins-overview\"/>." msgstr "" -"Plugins fügen weitere Funktionsmerkmale zu gedit " +"Plugins fügen weitere Funktionsmerkmale zu pluma " "hinzu. Weitere Informationen zu Plugins sowie über die Benutzung der " -"eingebauten Plugins finden Sie in ." +"eingebauten Plugins finden Sie in ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Aktivieren eines Plugins" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Um ein gedit-Plugin zu aktivieren, führen Sie die " +"Um ein pluma-Plugin zu aktivieren, führen Sie die " "folgenden Schritte aus:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2625,18 +2625,18 @@ msgstr "" "Wählen Sie BearbeitenEinstellungen." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Wählen Sie den Reiter Plugins aus." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Aktivieren Sie das Kontrollkästchen neben dem Plugin, welches Sie aktivieren " "wollen." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2644,25 +2644,25 @@ msgstr "" "Klicken Sie auf Schließen, um den Dialog " "Einstellungen zu schließen." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Deaktivieren eines Plugins" -#: C/gedit.xml:1317(para) -msgid "A plugin remains enabled when you quit gedit." +#: C/pluma.xml:1317(para) +msgid "A plugin remains enabled when you quit pluma." msgstr "" -"Plugins bleiben auch nach dem Beenden von gedit " +"Plugins bleiben auch nach dem Beenden von pluma " "noch geladen." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Um ein gedit-Plugin zu deaktivieren, führen sie " +"Um ein pluma-Plugin zu deaktivieren, führen sie " "die folgenden Schritte aus:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2670,83 +2670,83 @@ msgstr "" "Deaktivieren Sie das Kontrollkästchen neben dem Plugin, welches Sie " "deaktivieren wollen." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Plugins" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Arbeiten mit Plugins" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Sie können zu gedit weitere Funktionsmerkmale " +"Sie können zu pluma weitere Funktionsmerkmale " "hinzufügen, indem Sie plugins aktivieren. Ein Plugin " "ist ein ergänzendes Programm, das die Funktionalität einer Anwendung " "erweitert. Plugins fügen für die angebotenen Funktionen zu " -"gedit neue Menüeinträge hinzu." +"pluma neue Menüeinträge hinzu." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Verschiedene Plugins sind bereits in gedit " +"Verschiedene Plugins sind bereits in pluma " "eingebaut, weitere können zusätzlich installiert werden. Die Gedit-Website " +"\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">Pluma-Website " "listet Plugins von Drittanbietern auf." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Um Plugins zu aktivieren oder zu deaktivieren, oder um zu sehen, welche " -"Plugins gegenwärtig aktiviert sind, verwenden Sie die Plugin-Einstellungen." -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Die folgenden Plugins liefert gedit bereits mit:" +"Die folgenden Plugins liefert pluma bereits mit:" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Groß-/Kleinschreibung " +"Groß-/Kleinschreibung " "verändern ermöglicht Ihnen die Groß- oder " "Kleinschreibung des ausgewählten Texts zu ändern." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Die Statistik " +"Die Statistik " "zum Dokument zeigt die Anzahl der Zeilen, Wörter und " "Zeichen im Dokument an." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Externe WerkzeugeExterne Werkzeuge ermöglicht Ihnen die Ausführung externer Befehle in " -"gedit." +"pluma." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2754,99 +2754,99 @@ msgstr "" "Die Dateiverwaltungsleiste ermöglicht Ihnen das " "Durchsuchen Ihrer Dateien und Ordner in der Seitenleiste." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"ZeileneinzugZeileneinzug verändert die Einzugsbreite der ausgewählten Zeilen." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Datum/Uhrzeit " +"Datum/Uhrzeit " "einfügen fügt die aktuelle Zeit und das aktuelle Datum " "in ein Dokument ein." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModelinesModelines ermöglichen die Bearbeitung von Einstellungen für spezielle " "Dokumente. Dabei werden auf Emacs, " "Kate und Vim basierende " "Modelines unterstützt." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Die Python-" +"Die Python-" "Konsole ermöglicht die Ausführung von Befehlen in der " "Programmiersprache Python." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"In SchnipselnSchnipseln können Sie oft genutzte Textpassagen speichern und diese auf " "einfache Weise in ein Dokument einfügen." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"SortierenSortieren ordnet gewählte Textzeilen in alphabetischer Reihenfolge an." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Die Rechtschreibprüfung korrigiert die Rechtschreibung im " "ausgewählten Text oder markiert Rechtschreibfehler im Dokument automatisch." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Die Tag-ListeTag-Liste stellt häufig verwendete Tags für HTML und andere Sprachen in " "einer Liste in der Seitenleiste bereit." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Weitere Informationen über die Erstellung von Plugins finden Sie auf der " -"Webseite von " -"gedit." +"Webseite von " +"pluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Groß-/Kleinschreibung ändern" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2854,7 +2854,7 @@ msgstr "" "Das Plugin Groß-/Kleinschreibung ändern ändert die " "Groß- oder Kleinschreibung des ausgewählten Texts." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2863,52 +2863,52 @@ msgstr "" "hinzugefügt, wenn das Plugin Groß-/Kleinschreibung verändern aktiviert ist:" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Menüeintrag" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Aktion" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Beispiel" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Groß-/Kleinschreibung verändern" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Alles in Großschreibung" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Wechselt für jedes Zeichen die Schreibweise zu Großschreibung." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "Dieser Text wird zu DIESER TEXT" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Alles in Kleinschreibung" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Wechselt für jedes Zeichen die Schreibweise zu Kleinschreibung." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "Dieser Text wird zu dieser text" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Groß-/Kleinschreibung umkehren" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." @@ -2916,27 +2916,27 @@ msgstr "" "Kehrt die Groß- und Kleinschreibung um. Jeder Kleinbuchstabe wird zu einem " "Großbuchstaben, jeder Großbuchstabe zu einem Kleinbuchstaben." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "Dieser Text wird zu dIESER tEXT" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Anfangsbuchstaben in Großschreibung" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Ändert den ersten Buchstaben jedes Wortes in einen Großbuchstaben." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "dieser text wird zu Dieser Text" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Plugin »Statistik zum Dokument«" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and bytes " @@ -2950,7 +2950,7 @@ msgstr "" "Dokument angezeigt. Die Arbeit mit dem Plugin »Statistik zum " "Dokument« gestaltet sich wie folgt:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics werden die folgenden Informationen über die Datei " "angezeigt:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Die Anzahl der Zeilen im aktuellen Dokument" -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Die Anzahl der Wörter im aktuellen Dokument" -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "" "Die Anzahl der Zeichen im aktuellen Dokument (einschließlich Leerzeichen)" -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Die Anzahl der Zeichen im aktuellen Dokument (ohne Leerzeichen)" -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "Die Anzahl der Bytes im aktuellen Dokument" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Sie können weiter an der gedit-Datei arbeiten, " +"Sie können weiter an der pluma-Datei arbeiten, " "während das Dialogfeld Statistik zum Dokument geöffnet " "bleibt. Um den Inhalt des Dialogfelds Statistik zum Dokument zu aktualisieren, klicken Sie auf den Knopf " "Aktualisieren." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Verwaltung externer Werkzeuge" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, sed), or launch a predefined command (for example, " "make)." msgstr "" "Das Plugin Externe Werkzeuge ermöglicht Ihnen die " -"Ausführung interner Befehle in gedit. Sie können " +"Ausführung interner Befehle in pluma. Sie können " "Inhalte an einen Befehl weiterleiten und dessen Ausgabe verwerten (z.B. " "sed) oder einen voreingestellten Befehl starten (z." "B. make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsWerkzeuge aus." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Eingebaute Befehle" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3037,41 +3037,41 @@ msgstr "" "Die folgenden Befehle werden durch das Plugin Externe Werkzeuge bereitgestellt:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Alles kompilieren" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "" "Führt den Befehl make im aktuellen Ordner aus, in " "welchem sich das Dokument befindet." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Ordnerliste" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" "Listet den Inhalt des aktuellen, das Dokument enthaltenden Ordners in einem " "neuen Dokument auf." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Umgebungsvariablen" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Zeigt die Liste der Umgebungsvariablen in der Fußleiste an." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3080,19 +3080,19 @@ msgstr "" "Dateien im gegenwärtigen Dokumentenordner. Die Ergebnisse werden in der " "Fußleiste angezeigt." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Leerzeichen am Ende entfernen" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Enfernt im gesamten Dokument Leerzeichen am Zeilenende." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Definieren eines Befehls" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3101,7 +3101,7 @@ msgstr "" "WerkzeugeExterne Werkzeuge." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the new " @@ -3111,45 +3111,45 @@ msgstr "" "Neu. Sie können für den neuen Befehl folgende " "Einzelheiten festlegen:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Beschreibung" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Diese Beschreibung wird in der Statuszeile angezeigt, wenn der Menübefehl " "ausgewählt ist." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Tastaturkürzel" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Geben Sie ein Tastenkürzel für den Befehl ein." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Befehle" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Der gegenwärtig auszuführende Befehl. Verschiedene Umgebungsvariablen in " -"gedit können dazu benutzt werden, um Inhalte an " +"pluma können dazu benutzt werden, um Inhalte an " "diese Befehle weiterzuleiten. Weitere Informationen hierzu finden Sie in " -"." +"." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Eingabe" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3158,11 +3158,11 @@ msgstr "" "systemitem>): der gesamte Text des gegenwärtigen Dokuments, die gegenwärtige " "Auswahl, Zeile oder Wort." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Ausgabe" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3172,11 +3172,11 @@ msgstr "" "Anzeigen in der Fußleiste, Einfügen in ein neues Dokument, am Ende, an der " "Cursorposition, oder Ersetzen der Auswahl oder des gesamten Dokuments." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Anwendbarkeit" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3184,22 +3184,22 @@ msgstr "" "Hierdurch wird bestimmt, welche Dokumente durch den Befehl beeinflusst " "werden, beispielsweise gespeichert oder nicht, oder lokal oder entfernt." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Werkzeuge zum Bearbeiten und Entfernen" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Um eines der Werkzeuge zu bearbeiten, wählen Sie es in der Liste aus und " "ändern Sie dessen Eigenschaften." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Um ein Werkzeug umzubenennen, klicken Sie es erneut in der Liste an." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3207,7 +3207,7 @@ msgstr "" "Um eines der eingebauten Werkzeuge wiederherzustellen, nachdem Sie es " "verändert haben, klicken Sie auf Zurücksetzen." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3215,14 +3215,14 @@ msgid "" msgstr "" "Um eines der Werkzeuge zu löschen, wählen Sie es in der Liste aus und klicken " "Sie auf Entfernen. Beachten Sie, dass Sie nur selbst " -"erstellte Werkzeuge löschen können, nicht jedoch die in geditpluma eingebauten Werkzeuge." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Variablen" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3230,39 +3230,39 @@ msgstr "" "Sie können im Feld Befehle der Befehlsdefinition die " "folgenden Variablen verwenden:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Dateiverwaltungs-Plugin" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3271,7 +3271,7 @@ msgstr "" "Dateien und Ordner in der Seitenleiste an und ermöglicht das schnelle Öffnen " "von Dateien." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3282,11 +3282,11 @@ msgstr "" "guimenuitem>. Dann klicken Sie an der Unterseite der " "Seitenleiste auf den Reiter mit dem Dateiverwaltungssymbol." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Durchsuchen Ihrer Dateien" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3294,7 +3294,7 @@ msgstr "" "Der Dateiverwaltungs-Reiter zeigt zunächst die Lesezeichen des Dateimanagers " "an. Um den Inhalt eines der Objekte zu durchsuchen, doppelklicken Sie darauf." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3303,7 +3303,7 @@ msgstr "" "oder klicken Sie auf den nach oben zeigenden Pfeil in der Werkzeugleiste der " "Dateiverwaltung." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3313,19 +3313,19 @@ msgstr "" "enthält, klicken Sie mit der rechten Maustaste in die Dateiliste und wählen " "Das aktive Dokument als Wurzel festlegen." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Um eine Datei in gedit zu öffnen, doppelklicken " +"Um eine Datei in pluma zu öffnen, doppelklicken " "Sie darauf in der Dateiliste." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Erstellen von Dateien und Ordnern" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3334,7 +3334,7 @@ msgstr "" "anzulegen, klicken Sie mit der rechten Maustaste in die Dateiliste und wählen " "Sie Neue Datei." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3343,11 +3343,11 @@ msgstr "" "mit der rechten Maustaste in die Dateiliste und wählen Sie Neuer " "Ordner." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Plugin »Einzugsbreite«" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space from " "the beginning of lines of text." @@ -3355,13 +3355,13 @@ msgstr "" "Das Plugin Einzugsbreite fügt am Anfang von " "Textzeilen Leerzeichen hinzu oder entfernt diese." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" "Um den Einzug eines Textes zu erhöhen oder zu verringern, führen Sie die " "folgenden Schritte aus:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3370,7 +3370,7 @@ msgstr "" "einer einzelnen Zeile zu ändern, setzen Sie den Cursor einfach an eine " "beliebige Stelle in dieser Zeile." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3378,7 +3378,7 @@ msgstr "" "Wählen Sie BearbeitenEinzug " "erhöhen." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3387,22 +3387,22 @@ msgstr "" "BearbeitenEinzug verringern." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Ob hierbei Tabulatoren oder Leerzeichen verwendet werden und um wieviele " "Zeichen der Einzug verändert wird, hängt von den Einstellungen in " "Tabulatoren in den Editor-Einstellungen ab. Weitere " -"Informationen hierzu finden Sie in ." +"Informationen hierzu finden Sie in ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Plugin »Datum/Uhrzeit einfügen«" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3412,7 +3412,7 @@ msgstr "" "in eine Datei ein. Um das Plugin »Datum/Uhrzeit einfügen« zu verwenden, " "führen Sie die folgenden Schritte aus:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3420,53 +3420,53 @@ msgstr "" "Wählen Sie BearbeitenDatum/" "Uhrzeit einfügen." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and Timepluma displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. " "Click Insert to close the Insert Date and " -"Time dialog. gedit inserts the date/" +"Time dialog. pluma inserts the date/" "time at the cursor position in the current file." msgstr "" -"gedit zeigt nun das Dialogfeld Datum und " +"pluma zeigt nun das Dialogfeld Datum und " "Uhrzeit einfügen an, es sei denn, Sie haben das Plugin »Datum/" "Uhrzeit einfügen« so konfiguriert, dass es ohne weitere Formatabfrage direkt " "Datum und Uhrzeit einfügt. Wählen Sie das gewünschte Format für Datum und " "Uhrzeit aus der Liste aus. Klicken Sie auf Einfügen, " "um das Dialogfeld Datum und Uhrzeit einfügen zu " -"schließen.gedit fügt nun an der Cursorposition das " +"schließen.pluma fügt nun an der Cursorposition das " "Datum und die Uhrzeit in die aktuelle Datei ein." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one particular " +"If you have configured pluma to use one particular " "date/time format, the Insert Date and Time dialog is not " "displayed. The date/time is automatically entered at the cursor position in " "the current file." msgstr "" -"Falls Sie gedit so konfiguriert haben, dass " +"Falls Sie pluma so konfiguriert haben, dass " "automatisch ein bestimmtes Format für Datum und Uhrzeit verwendet wird, so " "erscheint das Dialogfeld Datum und Uhrzeit einfügen " "nicht. Datum und Uhrzeit werden in diesem Fall automatisch ohne weitere " "Abfrage an der Position des Cursors in die aktuelle Datei eingefügt." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Konfigurieren des Plugins »Datum/Uhrzeit einfügen«" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "Um das Plugin »Datum/Uhrzeit einfügen« zu konfigurieren, gehen Sie wie folgt " "vor:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Wählen Sie das Plugin Datum/Uhrzeit einfügen." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3475,11 +3475,11 @@ msgstr "" "Dialogfeld Plugin »Datum/Uhrzeit einfügen« konfigurieren " "anzuzeigen." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Wählen Sie eine der folgenden Optionen aus:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3488,25 +3488,25 @@ msgstr "" "Format gefragt werden möchten, wählen Sie die Option Nach dem " "Format fragen." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not prompt " +"When you select this option, pluma does not prompt " "you for the date/time format when you choose EditInsert Date and Time." msgstr "" -"Wenn Sie hingegen möchten, dass gedit bei jedem " +"Wenn Sie hingegen möchten, dass pluma bei jedem " "Einfügen automatisch ein bestimmtes Format für Datum und Uhrzeit verwendet, " "so aktivieren Sie die Option Folgendes Format verwenden " "und wählen anschließend das gewünschte Format aus der Liste aus. Ist diese " -"Option aktiviert, so fragt Sie gedit nicht mehr " +"Option aktiviert, so fragt Sie pluma nicht mehr " "nach dem Format, wenn Sie den Menübefehl BearbeitenDatum und Uhrzeit einfügen " "wählen." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3514,7 +3514,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time format " +"pluma does not prompt you for the date/time format " "when you choose EditInsert Date " "and Time." msgstr "" @@ -3526,11 +3526,11 @@ msgstr "" "finden Sie unter strftime3. Ist diese Option aktiviert, so fragt Sie " -"gedit nicht mehr nach dem Format, wenn Sie den " +"pluma nicht mehr nach dem Format, wenn Sie den " "Menübefehl BearbeitenDatum und " "Uhrzeit einfügen wählen." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3538,7 +3538,7 @@ msgstr "" "Klicken Sie auf OK, um das Dialogfeld Plugin " "'Datum/Uhrzeit einfügen' konfigurieren zu schließen." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click Close." @@ -3546,24 +3546,24 @@ msgstr "" "Um das Dialogfeld Einstellungen zu schließen, klicken " "Sie auf Schließen." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Modelines-Plugin" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set preferences " "for individual documents. A modeline is a line of text " -"at the start or end of the document with settings that geditpluma recognises." msgstr "" "Das Modelines-Plugin ermöglicht Ihnen die " "Festlegung von Einstellungen für individuelle Dokumente. Eine " "modeline ist eine Textzeile am Beginn oder Ende eines " -"Dokuments, deren spezielle Inhalte gedit " +"Dokuments, deren spezielle Inhalte pluma " "berücksichtigt." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3571,27 +3571,27 @@ msgstr "" "Die mithilfe von Modelines vorgenommenen Einstellungen haben Vorrang " "gegenüber den Festlegungen im Einstellungsdialog." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "Sie können die folgenden Einstellungen für Modelines vornehmen:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Tablulatorbreite" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Einrückbreite" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Leerzeichen an Stelle von Tabulatoren einfügen" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Breite des rechten Rands" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3602,11 +3602,11 @@ msgstr "" "Kate und Vim " "verwendeten Optionen." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Emacs-Modelines" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3614,7 +3614,7 @@ msgstr "" "Die ersten zwei Zeilen eines Dokuments werden für Emacs-Modelines eingelesen." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3626,11 +3626,11 @@ msgstr "" "Informationen hierzu finden Sie im GNU-Emacs-Handbuch." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Kate-Modelines" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3638,7 +3638,7 @@ msgstr "" "Die ersten und die letzten jeweils zehn Zeilen werden für Kate-Modelines eingelesen." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3650,11 +3650,11 @@ msgstr "" "Informationen hierzu finden Sie auf der Kate-Website." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Vim-Modelines" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3662,7 +3662,7 @@ msgstr "" "Die ersten und die letzten jeweils drei Zeilen eines Dokuments werden für " "Vim-Modelines eingelesen." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3674,39 +3674,39 @@ msgstr "" "Informationen hierzu finden Sie auf der Vim-Website." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Python-Konsole" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Das Plugin Python-Konsole ermöglicht Ihnen die " "Ausführung von in der Programmiersprache Python geschriebenen Befehlen in " -"gedit. Die Aktivierung dieses Plugins fügt einen " +"pluma. Die Aktivierung dieses Plugins fügt einen " "Reiter zur Fußleiste hinzu. Dieser zeigt die gegenwärtige Ausgabe und ein " "Eingabefeld für den Befehl an." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are run. " -"It is therefore possible to hang gedit, for " +"It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Die in der Python-Konsole eingegebenen Befehle werden vor der Ausführung " -"nicht überprüft. Daher kann es passieren, dass sich geditpluma aufhängt, beispielsweise durch die Erzeugung einer " "Endlosschleife." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Plugin »Schnipsel«" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store frequently-" "used pieces of text, called snippets, and insert them " @@ -3716,7 +3716,7 @@ msgstr "" "Speicherung häufig verwendeter Textbausteine, genannt Schnipsel, welche Sie dann schnell in ein Dokument einfügen können." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3728,19 +3728,19 @@ msgstr "" "Liste von Schnipseln wählen, die für HTML geeignet sind. Zusätzlich sind " "einige Schnipsel global und somit in allen Dokumenten verfügbar." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" "Eine Reihe von Schnipseln, welche auch anpassbar sind, werden mit " -"gedit bereits installiert." +"pluma bereits installiert." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Einfügen von Textschnipseln" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is usually " @@ -3753,7 +3753,7 @@ msgstr "" "besteht üblicherweise aus dessen ersten Buchstaben, oder etwas anderem, was " "kurz und leicht zu merken ist." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3762,15 +3762,15 @@ msgstr "" "keycap>, um eine Liste der Schnipsel anzuzeigen, die Sie einfügen " "können." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Hinzufügen von Textschnipseln" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Einen neuen Textschnipsel können Sie auf die folgende Weise erstellen:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3780,7 +3780,7 @@ msgstr "" "verwalten, um das Fenster " "Schnipselverwaltung zu öffnen." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3792,21 +3792,21 @@ msgstr "" "Sprachgruppe. Um einen Schnipsel für alle Sprachen verfügbar zu machen, " "wählen Sie Global im Kopf der Liste." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Klicken Sie auf Neu. Ein neuer Textschnipsel erscheint " "in der Liste." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Geben Sie die folgenden Informationen für den neuen Textschnipsel ein:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Name" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3817,22 +3817,22 @@ msgstr "" "Sie können den Namen eines von Ihnen erstellten Schnipsel ändern, indem Sie " "ihn in der Liste anklicken." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Textschnipsel" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Geben Sie den gewünschten Text für den Schnipsel in das Eingabefeld " "Bearbeiten ein. Für spezielle Codes, die Sie verwenden " -"können, finden Sie weitere Informationen in ." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3840,11 +3840,11 @@ msgstr "" "Sie können zum Kopieren des Texts in die Dokumentenansicht zurückschalten, " "ohne das Fenster der Schnipselverwaltung zu schließen." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Tabulatorauslösung" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3853,7 +3853,7 @@ msgstr "" "den Sie eingeben, bevor Sie die Tabulatortaste zum Einfügen " "des Schnipsels drücken." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3863,21 +3863,21 @@ msgstr "" "besteht, oder ein einzelnes Zeichen. Die Tabulatorauslösung wird bei einer ungültigen Eingabe in roter Farbe hervorgehoben." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Tastenkombination" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "" "Geben Sie ein Tastenkürzel ein, welches Sie für das Einfügen des Schnipsels " "benutzen wollen." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Bearbeiten und Entfernen von Schnipseln" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3885,12 +3885,12 @@ msgstr "" "Um einen Schnipsel zu bearbeiten, wählen sie ihn in der Liste aus und ändern " "Sie dessen Text sowie die Aktivierungseigenschaften." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "" "Um einen Schnipsel umzubenennen, klicken Sie ihn erneut in der Liste an." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3899,7 +3899,7 @@ msgstr "" "wiederherstellen wollen, wenn Sie ihn geändert haben, klicken Sie auf " "Zurücksetzen." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have created " @@ -3910,11 +3910,11 @@ msgstr "" "mitgelieferten Schnipsel nicht entfernen, sondern nur jene, die Sie selbst " "erstellt haben." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Ersetzungen in Textschnipseln" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3924,16 +3924,16 @@ msgstr "" "veränderbaren Text oder markierte Bereiche enthalten. Sobald der Schnipsel in " "ein Dokument eingefügt wurde, können Sie hier weiteren Text hinzufügen." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "Sie können die folgenden Platzhalter-Codes in den Textschnipseln verwenden:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Tabulator-Platzhalter" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3942,7 +3942,7 @@ msgstr "" "Platzhalter, wobei n eine Zahl größer oder gleich 1 sein " "muss." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3950,7 +3950,7 @@ msgstr "" "${n:default} definiert einen Tabulator-Platzhalter mit einem Standardwert." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3958,7 +3958,7 @@ msgstr "" "Ein Tabulator-Platzhalter markiert eine Stelle in einem Textschnipsel, an der " "Sie nach dem Einfügen des Schnipsels zusätzlichen Text hinzufügen können." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3972,7 +3972,7 @@ msgstr "" "definiert den Tabulatorabstand zum nächsten auf diese Weise zu erreichenden " "Zeichen im Text." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3985,11 +3985,11 @@ msgstr "" "auf die Tabulatortaste den Cursor an das Ende des " "Textschnipsels oder an das Ende des Platzhalters, falls dieser existiert." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Spiegel-Platzhalter" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times in " @@ -3999,11 +3999,11 @@ msgstr "" "Platzhalter spiegelt. Auf diese Weise müssen Sie Text, der mehrmals im " "Schnipsel erscheinen soll, nur einmalig eingeben." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Ende-Platzhalter" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of the " @@ -4013,33 +4013,33 @@ msgstr "" "Vorgang des Einfügens und Bearbeitens des Schnipsels beendet, auch wenn sich " "der Cursor an einer anderen Stelle als dem Ende des Schnipsels befindet." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Umgebungsvariablen" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to " -"gedit can also be used:" +"pluma can also be used:" msgstr "" "Umgebungsvariablen wie $PATH und $HOME " -"werden in den Textschnipseln ersetzt. Die folgenden geditpluma-spezifischen Variablen können ebenfalls verwendet werden:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "Der gegenwärtig ausgewählte Text." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -4047,11 +4047,11 @@ msgstr "" "Der komplette Name der Dokumentdatei (mit Dateinamenerweiterung), oder eine " "leere Zeichenkette, falls das Dokument noch nicht gespeichert wurde." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4059,11 +4059,11 @@ msgstr "" "Der Basisname der Dokumentdatei (ohne Dateinamenerweiterung), oder eine leere " "Zeichenkette, falls das Dokument noch nicht gespeichert wurde." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4071,11 +4071,11 @@ msgstr "" "Das Wort an der Position des Cursors im Dokument. Wird diese Variable " "verwendet, wird das gegenwärtige Wort durch den Schnipsel ersetzt. " -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Shell-Platzhalter" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4083,7 +4083,7 @@ msgstr "" "$(cmd) wird durch das Ergebnis " "der Ausführung von cmd in einer Shell ersetzt." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4098,11 +4098,11 @@ msgstr "" "eines Shell-Platzhalters als Eingabe für einen anderen Platzhalter zu " "verwenden." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Python-Platzhalter" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by the " "result of evaluating cmd in the python interpreter." @@ -4111,7 +4111,7 @@ msgstr "" "Ergebnis der Ausführung von cmd im Python-" "Interpreter ersetzt." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4129,7 +4129,7 @@ msgstr "" "durch Kommas voneinander: $<a," "b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4137,11 +4137,11 @@ msgstr "" "Um eine Variablem in allen anderen Python-Schnipseln zu verwenden, " "deklarieren Sie sie als global." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Plugin »Sortieren«" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4149,7 +4149,7 @@ msgstr "" "Das Plugin Sortieren sortiert ausgewählte " "Textzeilen in alphabetischer Reihenfolge." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4162,15 +4162,15 @@ msgstr "" "Sie DateiZurücksetzen." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Die Arbeit mit dem Plugin »Sortieren« gestaltet sich wie folgt:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Geben Sie die Zeilen des Texts an, die Sie sortieren wollen." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4179,11 +4179,11 @@ msgstr "" "guimenuitem>, um das Dialogfeld Sortieren " "zu öffnen." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Wählen Sie aus folgenden Optionen für die Sortierung:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4191,21 +4191,21 @@ msgstr "" "Um den Text in umgekehrter Reihenfolge zu sortieren, aktivieren Sie die " "Option Reihenfolge umkehren." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Um doppelt vorhandene Zeilen zu löschen, aktivieren Sie die Option " "Duplikate entfernen." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Wenn nicht nach Groß- und Kleinschreibung unterschieden werden soll, " "aktivieren Sie die Option Groß-/Kleinschreibung nicht " "berücksichtigen." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4215,27 +4215,27 @@ msgstr "" "legen Sie das erste für die Sortierung zu verwendende Zeichen im Einstellfeld " "Beginnen bei Spalte: fest." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "" "Starten Sie den Sortiervorgang anschließend, indem Sie auf den Knopf " "Sortieren klicken." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Plugin »Rechtschreibprüfung«" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Das Plugin Rechtschreibprüfung überprüft die " -"Rechtschreibung im ausgewählten Text. Sie können geditpluma so konfigurieren, dass die Rechtschreibung automatisch geprüft " "wird, oder Sie nehmen die Rechtschreibprüfung in einer gewählten Sprache " "manuell vor. Die Spracheinstellungen sowie die Einstellungen für die " @@ -4243,7 +4243,7 @@ msgstr "" "festgelegt. Um das Rechschreibprüfungs-Plugin zu verwenden, führen Sie die " "folgenden Schritte aus:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4256,7 +4256,7 @@ msgstr "" "Liste aus. Klicken Sie auf OK, um den Dialog " "Sprache festlegen zu schließen." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4264,7 +4264,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Um die Rechtschreibung automatisch zu prüfen, wählen Sie " @@ -4275,10 +4275,10 @@ msgstr "" "Rechtschreibprüfung erneut. Wenn die automatische " "Rechtschreibprüfung eiungeschaltet ist, wird ein Symbol neben dem Menüeintrag " "Automatische Rechtschreibprüfung angezeigt. Die " -"automatische Rechtschreibprüfung ist bei jedem Start von geditpluma per Vorgabe ausgeschaltet." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsRechtschreibvorschläge " "aus dem Kontextmenü:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select the " "replacement spelling from the Spelling Suggestions popup " @@ -4299,7 +4299,7 @@ msgstr "" "Liste zu ersetzen, wählen Sie Ersetzung im Aufklappmenü " "Rechtschreibvorschläge aus." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddRechtschreibvorschlägeHinzufügen." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no longer " "flagged as unknown but are not added to your personal dictionary, select " "Spelling SuggestionsIgnore All. The unknown word is ignored in the current " -"gedit session only." +"pluma session only." msgstr "" "Um jedes Vorkommen der unbekannten Schreibweise zu ignorieren, so dass es " "sowohl nicht mehr als unbekannt markiert wird, aber auch nicht zum " "persönlichen Wörterbuch hinzugefügt wird, wählen Sie " "RechtschreibvorschlägeAlle " "ignorieren. Das unbekannte Wort wird nur in der " -"gegenwärtigen Sitzung von gedit ignoriert." +"gegenwärtigen Sitzung von pluma ignoriert." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4333,7 +4333,7 @@ msgstr "" "WerkzeugeRechtschreibprüfung." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4346,7 +4346,7 @@ msgstr "" "OK, um den Informationsdialog zu " "schließen." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4354,7 +4354,7 @@ msgstr "" "Falls es Rechtschreibfehler gibt, wird der Dialog " "Rechtschreibprüfung angezeigt:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4362,7 +4362,7 @@ msgstr "" "Das falsch geschriebene Wort wird im Kopf des Dialogs " "angezeigt." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to " "text box. You can replace this with another known spelling by selecting a " @@ -4375,7 +4375,7 @@ msgstr "" "oder Sie geben den Text direkt in das Textfeld Ändern in " "ein." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4390,18 +4390,18 @@ msgstr "" "ersetzt. Falls das Wort unbekannt ist, erscheinen neue Einträge in der Liste " "der Vorschläge." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown word, " "click Ignore All. The unknown word is ignored in the " -"current gedit session only." +"current pluma session only." msgstr "" "Um das aktuelle Vorkommen der unbekannten Schreibweise zu ignorieren, klicken " "Sie auf Ignorieren. Das unbekannte Wort wird nur in " -"der gegenwärtigen Sitzung von gedit ignoriert." +"der gegenwärtigen Sitzung von pluma ignoriert." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change. " @@ -4415,7 +4415,7 @@ msgstr "" "Ändern in zu ändern, klicken Sie auf Alle " "ändern. " -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4423,7 +4423,7 @@ msgstr "" "Um das unbekannte Wort zu Ihrem persönlichen Wörterbuch hinzuzufügen, klicken " "Sie auf Wort hinzufügen." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4431,11 +4431,11 @@ msgstr "" "Klicken Sie auf Schließen, um das Dialogfeld " "Rechtschreibprüfung zu schließen." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Plugin »Tagliste«" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4443,12 +4443,12 @@ msgstr "" "Das Taglisten-Plugin ermöglicht Ihnen das Einfügen " "häufig benutzter Tags aus einer Liste in der Seitenleiste." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" "Um das Taglisten-Plugin zu verwenden, führen Sie die folgenden Schritte aus:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4456,7 +4456,7 @@ msgstr "" "Wählen Sie AnsichtSeitenleiste." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4466,7 +4466,7 @@ msgstr "" "geöffneter Dokumente enthält. Klicken sie auf den Reiter mit dem »+« am " "unteren Rand der Seitenleiste, um den Taglisten-Reiter anzuzeigen." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4474,11 +4474,11 @@ msgstr "" "Wählen Sie die gewünschte Kategorie aus der Auswahlliste, so z. B. " "HTML - Tags." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "Blättern Sie in der Tagliste nach dem gewünschten Tag." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4487,7 +4487,7 @@ msgstr "" "doppelklicken Sie in der Tagliste darauf. Sie können den Tag auch wie folgt " "einfügen:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4496,7 +4496,7 @@ msgstr "" "Taglisten-Plugin auf das Editorfenster umzuschalten, " "drücken Sie die Eingabetaste." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftUmschaltEingabetaste." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Jan Arne Petersen , 2007\n" "Mario Blättermann , 2008-2010" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "BenutzernameBenutzername fügt den Namen des aktuellen Benutzers in ein Dokument ein." #~ msgid "User Name Plugin" @@ -4540,60 +4540,60 @@ msgstr "" #~ "einfügen." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "translated" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "translated" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "translated" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "translated" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see ." +#~ "linkend=\"pluma-prefs-syntax\"/>." #~ msgstr "" #~ "Weitere Informationen darüber, wie Sie die Hervorhebung anpassen können, " -#~ "finden Sie in ." +#~ "finden Sie in ." #~ msgid "Colors" #~ msgstr "Farben" #~ msgid "" #~ "Select the Use default theme colors option to use the " -#~ "default theme colors in the gedit text window." +#~ "default theme colors in the pluma text window." #~ msgstr "" #~ "Wählen Sie diese Option aus, um die Farben des Standardthemas im " -#~ "Textfenster von gedit festzulegen." +#~ "Textfenster von pluma festzulegen." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display normal " -#~ "text in the gedit text window." +#~ "text in the pluma text window." #~ msgstr "" #~ "Klicken Sie auf den Knopf Textfarbe, um das " #~ "Dialogfeld zum Auswählen der Farbe zu öffnen. Wählen Sie eine Farbe aus, " -#~ "in der der Text im Textfenster von gedit " +#~ "in der der Text im Textfenster von pluma " #~ "dargestellt werden soll." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Klicken Sie auf den Knopf Hintergrundfarbe, um das " #~ "Dialogfeld zum Auswählen der Farbe zu öffnen. Wählen Sie eine " -#~ "Hintergrundfarbe für das Textfenster von gedit." +#~ "Hintergrundfarbe für das Textfenster von pluma." #~ msgid "" #~ "Click on the Selected text color color button to " diff --git a/help/de/figures/gedit_window.png b/help/de/figures/pluma_window.png similarity index 100% rename from help/de/figures/gedit_window.png rename to help/de/figures/pluma_window.png diff --git a/help/el/el.po b/help/el/el.po index 947c160..a07b717 100755 --- a/help/el/el.po +++ b/help/el/el.po @@ -1,4 +1,4 @@ -# Greek translation of Gedit Documentation +# Greek translation of Pluma Documentation # Copyright (C) 2009, Free Software Foundation, Inc. # Μάριος Ζηντίλης , 2009. msgid "" @@ -37,724 +37,724 @@ msgstr "TΟ ΕΓΓΡΑΦΟ ΚΑΙ ΟΙ ΤΡΟΠΟΙΗΜΕΝΕΣ ΕΚΔΟΣΕΙΣ #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) -msgid "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" -msgstr "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +#: C/pluma.xml:268(None) +msgid "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +msgstr "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) -msgid "@@image: 'figures/gedit_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" -msgstr "@@image: 'figures/gedit_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" +#: C/pluma.xml:349(None) +msgid "@@image: 'figures/pluma_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" +msgstr "@@image: 'figures/pluma_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Εγχειρίδιο του Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Εγχειρίδιο του Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) -#: C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) -#: C/gedit.xml:79(orgname) -#: C/gedit.xml:120(para) -#: C/gedit.xml:128(para) -#: C/gedit.xml:136(para) -#: C/gedit.xml:144(para) -#: C/gedit.xml:152(para) -#: C/gedit.xml:160(para) -#: C/gedit.xml:168(para) -#: C/gedit.xml:176(para) -#: C/gedit.xml:184(para) -#: C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) +#: C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) +#: C/pluma.xml:79(orgname) +#: C/pluma.xml:120(para) +#: C/pluma.xml:128(para) +#: C/pluma.xml:136(para) +#: C/pluma.xml:144(para) +#: C/pluma.xml:152(para) +#: C/pluma.xml:160(para) +#: C/pluma.xml:168(para) +#: C/pluma.xml:176(para) +#: C/pluma.xml:184(para) +#: C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Έργο τεκμηρίωσης του MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) -#: C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) +#: C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) -#: C/gedit.xml:116(date) +#: C/pluma.xml:33(year) +#: C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Προσθήκη του πίνακα συντομεύσεων πληκτρολογίου" -#: C/gedit.xml:68(firstname) -#: C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) +#: C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Ομάδα τεκμηρίωσης του συστήματος επιφάνειας εργασίας της Sun Java" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) -msgid "Cicek provided information from earlier revisions of the gedit application." -msgstr "O Cicek έδωσε τις πληροφορίες για τις προηγούμενες αναθεωρήσεις της εφαρμογής Gedit." +#: C/pluma.xml:85(surname) +msgid "Cicek provided information from earlier revisions of the pluma application." +msgstr "O Cicek έδωσε τις πληροφορίες για τις προηγούμενες αναθεωρήσεις της εφαρμογής Pluma." -#: C/gedit.xml:86(contrib) -#: C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) +#: C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Γνωστοποιήσεις" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "Ο George έδωσε τις πληροφορίες για τις πρόσθετες λειτουργίες." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "Έκδοση 1.0 του Gedit" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "Έκδοση 1.0 του Pluma" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Μάρτιος 2002" -#: C/gedit.xml:127(para) -#: C/gedit.xml:135(para) -#: C/gedit.xml:143(para) -#: C/gedit.xml:151(para) -#: C/gedit.xml:159(para) -#: C/gedit.xml:167(para) -#: C/gedit.xml:175(para) -#: C/gedit.xml:183(para) +#: C/pluma.xml:127(para) +#: C/pluma.xml:135(para) +#: C/pluma.xml:143(para) +#: C/pluma.xml:151(para) +#: C/pluma.xml:159(para) +#: C/pluma.xml:167(para) +#: C/pluma.xml:175(para) +#: C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Ομάδα της Sun για την τεκμηρίωση του MATE" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Ιούνιος 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Αύγουστος 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Σεπτέμβριος 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Ιανουάριος 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Μάρτιος 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Σεπτέμβριος 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Μάρτιος 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.8" -#: C/gedit.xml:189(date) -#: C/gedit.xml:197(date) +#: C/pluma.xml:189(date) +#: C/pluma.xml:197(date) msgid "July 2006" msgstr "Ιούλιος 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Εγχειρίδιο του Gedit, Έκδοση 2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Εγχειρίδιο του Pluma, Έκδοση 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Ομάδα τεκμηρίωσης του MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Αυτό το εγχειρίδιο περιγράφει την έκδοση 2.16 του Gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Αυτό το εγχειρίδιο περιγράφει την έκδοση 2.16 του Pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Ανάδραση" -#: C/gedit.xml:208(para) -msgid "To report a bug or make a suggestion regarding the gedit application or this manual, follow the directions in the MATE Feedback Page." -msgstr "Για να αναφέρετε ένα σφάλμα ή να κάνετε μια εισήγηση σχετικά με την εφαρμογή gedit ή με αυτό το έγγραφο, ακολουθήστε τις οδηγίες στη Σελίδα ανάδρασης του MATE." +#: C/pluma.xml:208(para) +msgid "To report a bug or make a suggestion regarding the pluma application or this manual, follow the directions in the MATE Feedback Page." +msgstr "Για να αναφέρετε ένα σφάλμα ή να κάνετε μια εισήγηση σχετικά με την εφαρμογή pluma ή με αυτό το έγγραφο, ακολουθήστε τις οδηγίες στη Σελίδα ανάδρασης του MATE." -#: C/gedit.xml:213(para) -msgid "gedit is a text editor for the MATE Desktop featuring basic yet robust capabilities such as printing, spell checking, find and replace, and syntax highlighting. More advanced features are available as plugins." -msgstr "Το gedit είναι ένα επεξεργαστής κειμένου για την επιφάνεια εργασίας του MATE που το χαρακτηρίζουν βασικές αλλά ισχυρές δυνατότητες όπως εκτύπωση, ορθογραφικός έλεγχος, εύρεση και αντικατάσταση, και επισήμανση σύνταξης. Πιο προχωρημένα χαρακτηριστικά είναι διαθέσιμα ως πρόσθετες λειτουργίες." +#: C/pluma.xml:213(para) +msgid "pluma is a text editor for the MATE Desktop featuring basic yet robust capabilities such as printing, spell checking, find and replace, and syntax highlighting. More advanced features are available as plugins." +msgstr "Το pluma είναι ένα επεξεργαστής κειμένου για την επιφάνεια εργασίας του MATE που το χαρακτηρίζουν βασικές αλλά ισχυρές δυνατότητες όπως εκτύπωση, ορθογραφικός έλεγχος, εύρεση και αντικατάσταση, και επισήμανση σύνταξης. Πιο προχωρημένα χαρακτηριστικά είναι διαθέσιμα ως πρόσθετες λειτουργίες." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "επεξεργαστής κειμένου" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Εισαγωγή" -#: C/gedit.xml:229(para) -msgid "The gedit application enables you to create and edit text files." -msgstr "Η εφαρμογή gedit σας επιτρέπει να δημιουργείτε και να επεξεργάζεστε αρχεία κειμένου." +#: C/pluma.xml:229(para) +msgid "The pluma application enables you to create and edit text files." +msgstr "Η εφαρμογή pluma σας επιτρέπει να δημιουργείτε και να επεξεργάζεστε αρχεία κειμένου." -#: C/gedit.xml:231(para) -msgid "The aim of gedit is to be a simple and easy to use text editor. More powerful features can be enabled with different plugins, allowing a variety of tasks related to text-editing." -msgstr "Το gedit στοχεύει να είναι ένας απλός επεξεργαστής κειμένου. Πιο ισχυρές δυνατότητες μπορούν να ενεργοποιηθούν με διάφορες πρόσθετες λειτουργίες, που επιτρέπουν μια ποικιλία από εργασίες σχετικές με την επεξεργασία κειμένου." +#: C/pluma.xml:231(para) +msgid "The aim of pluma is to be a simple and easy to use text editor. More powerful features can be enabled with different plugins, allowing a variety of tasks related to text-editing." +msgstr "Το pluma στοχεύει να είναι ένας απλός επεξεργαστής κειμένου. Πιο ισχυρές δυνατότητες μπορούν να ενεργοποιηθούν με διάφορες πρόσθετες λειτουργίες, που επιτρέπουν μια ποικιλία από εργασίες σχετικές με την επεξεργασία κειμένου." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Ξεκινώντας" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Εκκινώντας το Gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Εκκινώντας το Pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "Μπορείτε να εκκινήσετε το gedit με τους εξής τρόπους:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "Μπορείτε να εκκινήσετε το pluma με τους εξής τρόπους:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Μενού Εφαρμογές" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "Choose AccessoriesText Editor." msgstr "Επιλέξτε το ΒοηθήματαΕπεξεργαστής κειμένου." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Γραμμή εντολών" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Εκτελέστε την ακόλουθη εντολή: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Εκτελέστε την ακόλουθη εντολή: pluma" -#: C/gedit.xml:255(para) -msgid "By default, when you open a text document in the file manager, gedit will start, and display the document." -msgstr "Εξ ορισμού, όταν ανοίγετε ένα αρχείο κειμένου από τον περιηγητή αρχείων, θα ξεκινήσει το gedit και θα εμφανίσει το κείμενο." +#: C/pluma.xml:255(para) +msgid "By default, when you open a text document in the file manager, pluma will start, and display the document." +msgstr "Εξ ορισμού, όταν ανοίγετε ένα αρχείο κειμένου από τον περιηγητή αρχείων, θα ξεκινήσει το pluma και θα εμφανίσει το κείμενο." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Το παράθυρο του gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Το παράθυρο του pluma" -#: C/gedit.xml:261(para) -msgid "When you start gedit, the following window is displayed:" -msgstr "Όταν ξεκινάτε το gedit εμφανίζεται το ακόλουθο παράθυρο:" +#: C/pluma.xml:261(para) +msgid "When you start pluma, the following window is displayed:" +msgstr "Όταν ξεκινάτε το pluma εμφανίζεται το ακόλουθο παράθυρο:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Το παράθυρο του gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Το παράθυρο του pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Δείχνει το κεντρικό παράθυρο του gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Δείχνει το κεντρικό παράθυρο του pluma." -#: C/gedit.xml:276(para) -msgid "The gedit window contains the following elements:" -msgstr "Το παράθυρο του gedit περιέχει τα εξής στοιχεία:" +#: C/pluma.xml:276(para) +msgid "The pluma window contains the following elements:" +msgstr "Το παράθυρο του pluma περιέχει τα εξής στοιχεία:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Γραμμή μενού" -#: C/gedit.xml:281(para) -msgid "The menus on the menubar contain all of the commands you need to work with files in gedit." -msgstr "Τα μενού στη γραμμή μενού περιέχουν όλες τις εντολές που θα χρειαστείτε για να δουλέψετε με αρχείο στο gedit." +#: C/pluma.xml:281(para) +msgid "The menus on the menubar contain all of the commands you need to work with files in pluma." +msgstr "Τα μενού στη γραμμή μενού περιέχουν όλες τις εντολές που θα χρειαστείτε για να δουλέψετε με αρχείο στο pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Γραμμή εργαλείων" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "The toolbar contains a subset of the commands that you can access from the menubar." msgstr "Η γραμμή εργαλείων περιέχει μερικές από τις εντολές στις οποίες έχετε πρόσβαση από τη μπάρα μενού." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Περιοχή προβολής" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Η περιοχή προβολής περιλαμβάνει το κείμενο που επεξεργάζεστε." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Γραμμή κατάστασης" -#: C/gedit.xml:296(para) -msgid "The statusbar displays information about current gedit activity and contextual information about the menu items. The statusbar also displays the following information:" -msgstr "Η γραμμή κατάστασης εμφανίζει πληροφορίες για την τρέχουσα δραστηριότητα του gedit και πληροφορίες του περιεχομένου των αντικειμένων του μενού. Η γραμμή κατάστασης εμφανίζει επίσης τις εξής πληροφορίες:" +#: C/pluma.xml:296(para) +msgid "The statusbar displays information about current pluma activity and contextual information about the menu items. The statusbar also displays the following information:" +msgstr "Η γραμμή κατάστασης εμφανίζει πληροφορίες για την τρέχουσα δραστηριότητα του pluma και πληροφορίες του περιεχομένου των αντικειμένων του μενού. Η γραμμή κατάστασης εμφανίζει επίσης τις εξής πληροφορίες:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "Cursor position: the line number and column number where the cursor is located." msgstr "Θέση δρομέα: ο αριθμός της γραμμής και της στήλης στη θέση του δρομέα." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "Edit mode: If the editor is in insert mode, the statusbar contains the text INS. If the editor is in overwrite mode, the statusbar contains the text OVR. Press the Insert key to change edit mode." msgstr "Μορφή επεξεργασίας: αν ο επεξεργαστής είναι σε λειτουργία εισαγωγής τότε η μπάρα κατάστασης περιέχει το κείμενο ΕΙΣ. Αν ο επεξεργαστής είναι σε λειτουργία αντικατάστασης, τότε η μπάρα κατάστασης περιέχει το κείμενο ΑΝΤ. Πατήστε το πλήκτρο Insert για να αλλάξετε τη λειτουργία." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Πλευρική εργαλειοθήκη" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "The side pane displays a list of open documents, and other information depending on which plugins are enabled." msgstr "Η πλευρική εργαλειοθήκη εμφανίζει μια λίστα από ανοικτά έγγραφα, και άλλες πληροφορίες ανάλογα με τις ενεργοποιημένες πρόσθετες λειτουργίες." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "By default the side pane is not shown. To show it, choose ViewSide Pane." msgstr "Εξ ορισμού η πλευρική εργαλειοθήκη δεν εμφανίζεται. Για να την εμφανίσετε, επιλέξτε ΠροβολήΠλευρική εργαλειοθήκη." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Κάτω εργαλειοθήκη" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "The bottom pane is used by programming tools such as the Python Console plugin to display output." msgstr "Η κάτω εργαλειοθήκη χρησιμοποιείται από προγραμματιστικά εργαλεία όπως η πρόσθετη λειτουργία Κονσόλα Python για να εμφανίζουν την έξοδο του προγράμματος." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "By default the bottom pane is not shown. To show it, choose ViewBottom Pane." msgstr "Εξ ορισμού η κάτω εργαλειοθήκη δεν εμφανίζεται. Για να την εμφανίσετε, επιλέξτε ΠροβολήΚάτω εργαλειοθήκη." -#: C/gedit.xml:320(para) -msgid "When you right-click in the gedit window, the application displays a popup menu. The popup menu contains the most common text editing commands." -msgstr "Όταν κάνετε δεξί κλικ μέσα στο παράθυρο του gedit, η εφαρμογή εμφανίζει ένα αναδυόμενο μενού. Το αναδυόμενο μενού περιέχει τις πιο συνηθισμένες εντολές επεξεργασίας κειμένου." +#: C/pluma.xml:320(para) +msgid "When you right-click in the pluma window, the application displays a popup menu. The popup menu contains the most common text editing commands." +msgstr "Όταν κάνετε δεξί κλικ μέσα στο παράθυρο του pluma, η εφαρμογή εμφανίζει ένα αναδυόμενο μενού. Το αναδυόμενο μενού περιέχει τις πιο συνηθισμένες εντολές επεξεργασίας κειμένου." -#: C/gedit.xml:322(para) -msgid "Like other MATE applications, actions in gedit can be performed in several ways: with the menu, with the toolbar, or with shortcut keys. Shortcuts keys common to all applications are listed in the User Guide." -msgstr "Όπως και στις άλλες εφαρμογές του MATE, οι ενέργειες στο gedit μπορούν να γίνουν με διάφορους τρόπους: με το μενού, με την εργαλειοθήκη ή με συντομεύσεις πληκτρολογίου. Οι συντομεύσεις που είναι κοινές σε όλες τις εφαρμογές βρίσκονται στον Οδηγό χρήσης." +#: C/pluma.xml:322(para) +msgid "Like other MATE applications, actions in pluma can be performed in several ways: with the menu, with the toolbar, or with shortcut keys. Shortcuts keys common to all applications are listed in the User Guide." +msgstr "Όπως και στις άλλες εφαρμογές του MATE, οι ενέργειες στο pluma μπορούν να γίνουν με διάφορους τρόπους: με το μενού, με την εργαλειοθήκη ή με συντομεύσεις πληκτρολογίου. Οι συντομεύσεις που είναι κοινές σε όλες τις εφαρμογές βρίσκονται στον Οδηγό χρήσης." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Εκτέλεση του gedit από τη Γραμμή εντολών" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Εκτέλεση του pluma από τη Γραμμή εντολών" -#: C/gedit.xml:328(para) -msgid "You can run gedit from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return:" -msgstr "Μπορείτε να εκτελέσετε το gedit από μια γραμμή εντολών και να ανοίξετε ένα ή περισσότερα αρχεία. Για να ανοίξετε πολλά αρχεία από γραμμή εντολών, πληκτρολογήστε την ακόλουθη εντολή και πατήστε Return:" +#: C/pluma.xml:328(para) +msgid "You can run pluma from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return:" +msgstr "Μπορείτε να εκτελέσετε το pluma από μια γραμμή εντολών και να ανοίξετε ένα ή περισσότερα αρχεία. Για να ανοίξετε πολλά αρχεία από γραμμή εντολών, πληκτρολογήστε την ακόλουθη εντολή και πατήστε Return:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Εναλλακτικά, μπορείτε να καθορίσετε μια τοποθεσία (URI) αντί για ένα όνομα αρχείου." -#: C/gedit.xml:331(para) -msgid "For more information on how to run gedit from a command line, see the unix manual page for gedit, gedit1." -msgstr "Για περισσότερες πληροφορίες για την εκτέλεση του gedit από μια γραμμή εντολών, δείτε τη σελίδα εγχειριδίου του Unix για το gedit, gedit1." +#: C/pluma.xml:331(para) +msgid "For more information on how to run pluma from a command line, see the unix manual page for pluma, pluma1." +msgstr "Για περισσότερες πληροφορίες για την εκτέλεση του pluma από μια γραμμή εντολών, δείτε τη σελίδα εγχειριδίου του Unix για το pluma, pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Δουλεύοντας με αρχεία" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Δημιουργία ενός νέου εγγράφου" -#: C/gedit.xml:341(para) -msgid "To create a new document, choose FileNew. The application displays a new blank document in the gedit window." -msgstr "Για να δημιουργήσετε ένα νέο έγγραφο, επιλέξτε ΑρχείοΝέο. Η εφαρμογή εμφανίζει ένα νέο άδειο έγγραφο στο παράθυρο του gedit." +#: C/pluma.xml:341(para) +msgid "To create a new document, choose FileNew. The application displays a new blank document in the pluma window." +msgstr "Για να δημιουργήσετε ένα νέο έγγραφο, επιλέξτε ΑρχείοΝέο. Η εφαρμογή εμφανίζει ένα νέο άδειο έγγραφο στο παράθυρο του pluma." -#: C/gedit.xml:346(title) -#: C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) +#: C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Άνοιγμα ενός αρχείου" -#: C/gedit.xml:347(para) -msgid "To open a file, choose FileOpen to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit window." -msgstr "Για να ανοίξετε ένα αρχείο, επιλέξτε ΑρχείοΆνοιγμα για να εμφανίσετε το διάλογο Άνοιγμα αρχείων. Επιλέξτε το αρχείο που θέλετε να ανοίξετε και πατήστε Άνοιγμα. Το αρχείο εμφανίζεται στο παράθυρο του gedit." +#: C/pluma.xml:347(para) +msgid "To open a file, choose FileOpen to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the pluma window." +msgstr "Για να ανοίξετε ένα αρχείο, επιλέξτε ΑρχείοΆνοιγμα για να εμφανίσετε το διάλογο Άνοιγμα αρχείων. Επιλέξτε το αρχείο που θέλετε να ανοίξετε και πατήστε Άνοιγμα. Το αρχείο εμφανίζεται στο παράθυρο του pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Εμφάνιση του εικονιδίου Πρόσφατα αρχεία στο μενού." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the icon on the toolbar to display the list of recent files." msgstr "Η εφαρμογή καταγράφει τις διαδρομές και τα ονόματα των πέντε αρχείων που επεξεργαστήκατε πιο πρόσφατα και τα εμφανίζει ως αντικείμενα στο μενού Αρχείο. Μπορείτε επίσης να πατήσετε στο εικονίδιο για να εμφανίσετε τη λίστα με τα πιο πρόσφατα αρχεία." -#: C/gedit.xml:351(para) -msgid "You can open multiple files in gedit. The application adds a tab for each open file to the window. For more on this see ." -msgstr "Μπορείτε να ανοίξετε πολλαπλά αρχεία στο gedit. Η εφαρμογή προσθέτει μια καρτέλα στο παράθυρο για κάθε ανοικτό αρχείο. Για περισσότερες πληροφορίες δείτε ." +#: C/pluma.xml:351(para) +msgid "You can open multiple files in pluma. The application adds a tab for each open file to the window. For more on this see ." +msgstr "Μπορείτε να ανοίξετε πολλαπλά αρχεία στο pluma. Η εφαρμογή προσθέτει μια καρτέλα στο παράθυρο για κάθε ανοικτό αρχείο. Για περισσότερες πληροφορίες δείτε ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Αποθήκευση αρχείου" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Μπορείτε να αποθηκεύετε αρχεία με τους εξής τρόπους:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "To save changes to an existing file, choose FileSave." msgstr "Για να αποθηκεύσετε αλλαγές σε υφιστάμενο αρχείο, επιλέξτε ΑρχείοΑποθήκευση." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "To save a new file or to save an existing file under a new filename, choose FileSave As. Enter a name for the file in the Save As dialog, then click Save." msgstr "Για να αποθηκεύσετε ένα νέο αρχείο ή να αποθηκεύσετε ένα υπάρχον αρχείο με νέο όνομα, επιλέξτε ΑρχείοΑποθήκευση ως.... Βάλτε ένα όνομα για το αρχείο στο διάλογο Αποθήκευση ως... και πατήστε Αποθήκευση." -#: C/gedit.xml:364(para) -msgid "To save all of the files that are currently open in gedit, choose DocumentsSave All." -msgstr "Για να αποθηκεύσετε όλα τα αρχεία που είναι ανοικτά στο gedit, επιλέξτε ΈγγραφαΑποθήκευση όλων." +#: C/pluma.xml:364(para) +msgid "To save all of the files that are currently open in pluma, choose DocumentsSave All." +msgstr "Για να αποθηκεύσετε όλα τα αρχεία που είναι ανοικτά στο pluma, επιλέξτε ΈγγραφαΑποθήκευση όλων." -#: C/gedit.xml:367(para) -msgid "To close all of the files that are currently open in gedit, choose DocumentsClose All." -msgstr "Για να κλείσετε όλα τα αρχεία που είναι ανοικτά στο gedit, επιλέξτε ΈγγραφαΚλείσιμο όλων." +#: C/pluma.xml:367(para) +msgid "To close all of the files that are currently open in pluma, choose DocumentsClose All." +msgstr "Για να κλείσετε όλα τα αρχεία που είναι ανοικτά στο pluma, επιλέξτε ΈγγραφαΚλείσιμο όλων." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Άνοιγμα ενός αρχείου από μια τοποθεσία (URI)" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "To open a file from a Uniform Resource Identifier (URI), perform the following steps:" msgstr "Για να ανοίξετε ένα αρχείο από μια τοποθεσία URI, κάντε τα εξής βήματα:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "Choose FileOpen Location to display the Open Location dialog." msgstr "Επιλέξτε ΑρχείοΆνοιγμα τοποθεσίας για να εμφανίσετε το διάλογο Άνοιγμα τοποθεσίας." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Εισάγετε την τοποθεσία του αρχείου που θέλετε να ανοίξετε." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "Use the Character coding drop-down list to select the appropriate character coding." msgstr "Χρησιμοποιήστε την αναδιπλούμενη λίστα Kωδικοποίηση χαρακτήρων για να διαλέξετε την κατάλληλη κωδικοποίηση." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Πατήστε το Άνοιγμα." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "Valid types of URI include http:, ftp:, file:, and all of the methods supported by mate-vfs." msgstr "Τα http:, ftp:, file:, και όλες οι μέθοδοι που υποστηρίζονται από το mate-vfs είναι έγκυροι τύποι τοποθεσιών URI." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files." msgstr "Αρχεία από μερικούς τύπους URI ανοίγονται μόνο για ανάγνωση, και ό,τι αλλαγές κάνετε θα πρέπει να αποθηκευτούν σε μια διαφορετική τοποθεσία. Το HTTP επιτρέπει μόνο την ανάγνωση αρχείων. Αρχεία που ανοίγονται από FTP είναι μόνο για ανάγνωση γιατί δεν υποστηρίζουν όλοι οι εξυπηρετητές FTP την αποθήκευση απομακρυσμένων αρχείων." -#: C/gedit.xml:390(para) -msgid "Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/gedit-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors." -msgstr "Η αποθήκευση σε εξυπηρετητές FTP μπορεί να ενεργοποιηθεί από τον Configuration Editor, με την επιλογή του κλειδιού /apps/gedit-2/preferences/editor/save/writable_vfs_schemes, αλλά αυτό μπορεί να προκαλέσει σφάλματα." +#: C/pluma.xml:390(para) +msgid "Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/pluma-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors." +msgstr "Η αποθήκευση σε εξυπηρετητές FTP μπορεί να ενεργοποιηθεί από τον Configuration Editor, με την επιλογή του κλειδιού /apps/pluma-2/preferences/editor/save/writable_vfs_schemes, αλλά αυτό μπορεί να προκαλέσει σφάλματα." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Δουλεύοντας με τις καρτέλες" -#: C/gedit.xml:397(para) -msgid "When more than one file is open, gedit shows a tab for each document above the display area. To switch to another document, click on its tab." -msgstr "Όταν είναι ανοικτά περισσότερα από ένα αρχεία, τότε το gedit εμφανίζει μια καρτέλα για κάθε έγγραφο στο πάνω μέρος της περιοχής προβολής. Για να περάσετε σε ένα άλλο έγγραφο, πατήστε στην καρτέλα του." +#: C/pluma.xml:397(para) +msgid "When more than one file is open, pluma shows a tab for each document above the display area. To switch to another document, click on its tab." +msgstr "Όταν είναι ανοικτά περισσότερα από ένα αρχεία, τότε το pluma εμφανίζει μια καρτέλα για κάθε έγγραφο στο πάνω μέρος της περιοχής προβολής. Για να περάσετε σε ένα άλλο έγγραφο, πατήστε στην καρτέλα του." -#: C/gedit.xml:398(para) -msgid "To move a document to another gedit window, drag the tab corresponding to the file to the window you want to move it to." -msgstr "Για να μετακινήσετε ένα έγγραφο σε ένα άλλο παράθυρο του gedit, σύρετε την αντίστοιχη καρτέλα στο παράθυρο στο οποίο θέλετε να τη μετακινήσετε." +#: C/pluma.xml:398(para) +msgid "To move a document to another pluma window, drag the tab corresponding to the file to the window you want to move it to." +msgstr "Για να μετακινήσετε ένα έγγραφο σε ένα άλλο παράθυρο του pluma, σύρετε την αντίστοιχη καρτέλα στο παράθυρο στο οποίο θέλετε να τη μετακινήσετε." -#: C/gedit.xml:399(para) -msgid "To move a document to a new gedit window, either drag its tab to the desktop, or choose DocumentsMove to New Window." -msgstr "Για να μετακινήσετε ένα έγγραφο σε ένα καινούριο παράθυρο του gedit, είτε σύρετε την καρτέλα του στην επιφάνεια εργασίας, είτε επιλέξτε ΈγγραφαΜετακίνηση σε νέο παράθυρο." +#: C/pluma.xml:399(para) +msgid "To move a document to a new pluma window, either drag its tab to the desktop, or choose DocumentsMove to New Window." +msgstr "Για να μετακινήσετε ένα έγγραφο σε ένα καινούριο παράθυρο του pluma, είτε σύρετε την καρτέλα του στην επιφάνεια εργασίας, είτε επιλέξτε ΈγγραφαΜετακίνηση σε νέο παράθυρο." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Δουλεύοντας με κείμενο" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Επεξεργασία κειμένου" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Μπορείτε να επεξεργαστείτε το κείμενο σε ένα αρχείο με τους ακόλουθους τρόπους:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the arrow keys on the keyboard or click with the mouse." msgstr "Πληκτρολογήστε νέο κείμενο από το πληκτρολόγιο. Ο δρομέας εισαγωγής, που αναβοσβήνει, υποδεικνύει το σημείο στο οποίο θα εμφανίζεται το νέο κείμενο. Για να το αλλάξετε αυτό, χρησιμοποιήστε τα βελάκια ή πατήστε με το ποντίκι." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "To copy the selected text to the clipboard, choose EditCopy." msgstr "Για να αντιγράψετε το επιλεγμένο κείμενο στο πρόχειρο, επιλέξτε ΕπεξεργασίαΑντιγραφή." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "To delete the selected text from the file and move the selected text to the clipboard, choose EditCut." msgstr "Για να σβήσετε το επιλεγμένο κείμενο από το αρχείο και να το μετακινήσετε στο πρόχειρο, επιλέξτε ΕπεξεργασίαΑποκοπή." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "To permanently delete the selected text from the file, choose EditDelete." msgstr "Για να σβήσετε μόνιμα το επιλεγμένο κείμενο από το αρχείο, επιλέξτε ΕπεξεργασίαΔιαγραφή." -#: C/gedit.xml:420(para) -msgid "To insert the contents of the clipboard at the cursor position, choose EditPaste. You must cut or copy text before you can paste text into the file, either from gedit or another application." -msgstr "Για να εισάγετε τα περιεχόμενα του πρόχειρου στη θέση του δρομέα, επιλέξτε ΕπεξεργασίαΕπικόλληση. Θα πρέπει να έχετε προηγουμένως αντιγράψει ή αποκόψει κείμενο προτού το επικολλήσετε στο αρχείο, είτε από το gedit είτε από άλλη εφαρμογή." +#: C/pluma.xml:420(para) +msgid "To insert the contents of the clipboard at the cursor position, choose EditPaste. You must cut or copy text before you can paste text into the file, either from pluma or another application." +msgstr "Για να εισάγετε τα περιεχόμενα του πρόχειρου στη θέση του δρομέα, επιλέξτε ΕπεξεργασίαΕπικόλληση. Θα πρέπει να έχετε προηγουμένως αντιγράψει ή αποκόψει κείμενο προτού το επικολλήσετε στο αρχείο, είτε από το pluma είτε από άλλη εφαρμογή." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "To select all of the text in a file, choose EditSelect All." msgstr "Για να επιλέξετε ολόκληρο το κείμενο ενός αρχείου, επιλέξτε ΕπεξεργασίαΕπιλογή όλων." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Αναίρεση αλλαγών και ακύρωση αναίρεσης" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "To undo a change you have made, choose EditUndo. To reverse this action, choose EditRedo." msgstr "Για να αναιρέσετε μια αλλαγή που κάνατε, επιλέξτε ΕπεξεργασίαΑναίρεση. Για να αντιστρέψετε αυτή την ενέργεια, επιλέξτε ΕπεξεργασίαΑκύρωση αναίρεσης." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Εύρεση και αντικατάσταση" -#: C/gedit.xml:436(para) -msgid "In gedit, there are two ways of searching for text. You can use the Find dialog to search for a specific piece of text, or Incremental Search to highlight matching text as you type it." -msgstr "Στο gedit υπάρχουν δύο τρόποι αναζήτησης κειμένου. Μπορείτε να χρησιμοποιήσετε το διάλογο Εύρεση για να ψάξετε για ένα συγκεκριμένο κομμάτι κειμένου, ή την Αυξητική αναζήτηση για να φωτίσετε το κείμενο που ταιριάζει καθώς πληκτρολογείτε." +#: C/pluma.xml:436(para) +msgid "In pluma, there are two ways of searching for text. You can use the Find dialog to search for a specific piece of text, or Incremental Search to highlight matching text as you type it." +msgstr "Στο pluma υπάρχουν δύο τρόποι αναζήτησης κειμένου. Μπορείτε να χρησιμοποιήσετε το διάλογο Εύρεση για να ψάξετε για ένα συγκεκριμένο κομμάτι κειμένου, ή την Αυξητική αναζήτηση για να φωτίσετε το κείμενο που ταιριάζει καθώς πληκτρολογείτε." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Εύρεση κειμένου" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Για να αναζητήσετε μια σειρά κειμένου, ακολουθήστε τα εξής βήματα:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "Choose SearchFind to display the Find dialog." msgstr "Επιλέξτε ΑναζήτησηΕύρεση για να εμφανίσετε το διάλογο Εύρεση." -#: C/gedit.xml:446(para) -msgid "Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see ." -msgstr "Πληκρολογήστε την αλληλουχία που θέλετε να αναζητήσετε στο πεδίο Αναζήτηση για. Μπορείτε να συμπεριλάβετε ειδικούς χαρακτήρες όπως νέα γραμμή και στηλοθέτης: δείτε το ." +#: C/pluma.xml:446(para) +msgid "Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see ." +msgstr "Πληκρολογήστε την αλληλουχία που θέλετε να αναζητήσετε στο πεδίο Αναζήτηση για. Μπορείτε να συμπεριλάβετε ειδικούς χαρακτήρες όπως νέα γραμμή και στηλοθέτης: δείτε το ." -#: C/gedit.xml:448(para) -msgid "Click Find to search the file for the first occurrence of the string after your current cursor position. If gedit finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted." -msgstr "Κάντε κλικ στο Εύρεση για να κάνετε αναζήτηση στο αρχείο για την πρώτη εμφάνιση της αλληλουχίας μετά την τρέχουσα θέση του δρομέα. Αν το gedit βρει την αλληλουχία, θα επιλέξει την πρώτη εμφάνισή της. Άλλες περιπτώσεις της αλληλουχίας στο κείμενο θα επισημανθούν." +#: C/pluma.xml:448(para) +msgid "Click Find to search the file for the first occurrence of the string after your current cursor position. If pluma finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted." +msgstr "Κάντε κλικ στο Εύρεση για να κάνετε αναζήτηση στο αρχείο για την πρώτη εμφάνιση της αλληλουχίας μετά την τρέχουσα θέση του δρομέα. Αν το pluma βρει την αλληλουχία, θα επιλέξει την πρώτη εμφάνισή της. Άλλες περιπτώσεις της αλληλουχίας στο κείμενο θα επισημανθούν." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "To find the next occurrence of the string, click Find or choose SearchFind Next. To find the previous occurrence of the text, choose SearchFind Previous." msgstr "Για να βρείτε την επόμενη εμφάνιση της αλληλουχίας, κάντε κλικ στο Εύρεση ή επιλέξτε ΑναζήτησηΕύρεση επομένου." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "After you have closed the Find dialog, you can still move the selection to other occurrences of the text by choosing SearchFind Next and SearchFind Previous." msgstr "Αφού κλείσετε το παράθυρο διαλόγου Εύρεση, μπορείτε ακόμα να μετακινήσετε την επιλογή σε άλλες εμφανίσεις του κειμένου, επιλέγοντας ΑναζήτησηΕύρεση επομένου και ΑναζήτησηΕύρεση προηγουμένου." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "To remove the highlighting from the text, choose SearchClear Highlight." msgstr "Για να αφαιρέσετε την επισήμανση από το κείμενο, επιλέξτε ΑναζήτησηΕκκαθάριση επισήμανσης." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Αυξητική αναζήτηση" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.)" msgstr "Η αυξητική αναζήτηση επισημαίνει το κείμενο που ταιριάζει με αυτό της αναζήτησης καθώς το πληκτρολογείτε γράμμα γράμμα. (Παρόμοιο με το χαρακτηριστικό αναζήτησης σε πολλούς περιηγητές ιστοσελίδων)." -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "To start an incremental search, choose SearchIncremental Search. The search box appears at the top of the display area." msgstr "Για να αρχίσετε μια αυξητική αναζήτηση, επιλέξτε ΑναζήτησηΑυξητική αναζήτηση. Το πεδίο αναζήτησης εμφανίζεται στην κορυφή της περιοχής απεικόνισης." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "Begin typing, and text that matches will be highlighted in the document. The first instance after the cursor position is also selected." msgstr "Ξεκινήστε την πληκτρολόγηση και το κείμενο που ταιριάζει θα επισημανθεί στο έγγραφο. Επίσης, η πρώτη περίπτωση εμφάνισης μετά τη θέση του δρομέα θα επιλεγεί." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "To advance the selection to the next match while keeping the incremental search box open, press CtrlG. Press CtrlShiftG to go back to the previous match." msgstr "Για να προχωρήσετε την επιλογή στην επόμενη σύμπτωση ενώ κρατάτε το πεδίο της αυξητικής αναζήτησης ανοιχτό, πατήστε CtrlG. Πατήστε CtrlShiftG για να πάτε στην προηγούμενη σύμπτωση." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "You can also use the up and down arrow keys or the mouse wheel to move the selection between matches." msgstr "Μπορείτε επίσης να χρησιμοποιήσετε τα άνω και κάτω βελάκια ή τη ροδέλα του ποντικιού για να μετακινήσετε την επιλογή μεταξύ των συμπτώσεων." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Αντικατάσταση κειμένου" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "To search a file for a string, and replace the string with an alternative string, perform the following steps:" msgstr "Για να κάνετε αναζήτηση για μια αλληλουχία χαρακτήρων σε ένα αρχείο και να την αντικαταστήσετε με μια εναλλακτική, κάντε τα ακόλουθα:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "Choose SearchReplace to display the Replace dialog." msgstr "Επιλέξτε ΑναζήτησηΑντικατάσταση για να εμφανίσετε το παράθυρο διαλόγου Αντικατάσταση." -#: C/gedit.xml:475(para) -msgid "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see ." -msgstr "Πληκτρολογήστε την αλληλουχία που θέλετε να βρείτε, στο πεδίο Αναζήτηση για. Μπορείτε να περιλάβατε ειδικούς χαρακτήρες όπως νέα γραμμή ή στηλοθέτη: δείτε το ." +#: C/pluma.xml:475(para) +msgid "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see ." +msgstr "Πληκτρολογήστε την αλληλουχία που θέλετε να βρείτε, στο πεδίο Αναζήτηση για. Μπορείτε να περιλάβατε ειδικούς χαρακτήρες όπως νέα γραμμή ή στηλοθέτη: δείτε το ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "Type the string that you want to use to replace the string that you find, in the Replace with field." msgstr "Πληκτρολογήστε την αλληλουχία που θέλετε να χρησιμοποιήσετε για να αντικαταστήσετε την αναζητούμενη αλληλουχία στο πεδίο Αντικατάσταση με." -#: C/gedit.xml:480(para) -msgid "To examine each occurrence of the string before replacing it, click Find. If gedit finds the string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the next occurrence of the string, click Find again." -msgstr "Για να εξετάσετε κάθε εμφάνιση της αλληλουχίας χαρακτήρων πριν την αντικαταστήσετε, πατήστε το Εύρεση. Αν το gedit βρει την αλληλουχία, την επιλέγει. Κάντε κλικ στο Αντικατάσταση για να αντικαταστήσετε την επιλεγμένη εμφάνιση της αλληλουχίας. Για να βρείτε την επόμενη εμφάνιση της αλληλουχίας κάντε ξανά κλικ στο Εύρεση." +#: C/pluma.xml:480(para) +msgid "To examine each occurrence of the string before replacing it, click Find. If pluma finds the string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the next occurrence of the string, click Find again." +msgstr "Για να εξετάσετε κάθε εμφάνιση της αλληλουχίας χαρακτήρων πριν την αντικαταστήσετε, πατήστε το Εύρεση. Αν το pluma βρει την αλληλουχία, την επιλέγει. Κάντε κλικ στο Αντικατάσταση για να αντικαταστήσετε την επιλεγμένη εμφάνιση της αλληλουχίας. Για να βρείτε την επόμενη εμφάνιση της αλληλουχίας κάντε ξανά κλικ στο Εύρεση." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "To replace all occurrences of the string throughout the document, click Replace All." msgstr "Για να αντικαταστήσετε όλες τις περιπτώσεις εμφάνισης της αλληλουχίας σε όλο το έγγραφο, κάντε κλικ στο Αντικατάσταση όλων." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Επιλογές εύρεσης και αντικατάστασης" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "The Find dialog and the Replace dialog both have the following options:" msgstr "Τα παράθυρα διαλόγου Εύρεση και Αντικατάσταση έχουν και τα δύο τις ακόλουθες επιλογές:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "Select the Match case option to only find occurrences of the string that match the case of the text that you type. For example, with Match case selected, \"TEXT\" will not match \"text\"." msgstr "Επιλέξτε το Διάκριση πεζών από κεφαλαία για να βρείτε εμφανίσεις της αλληλουχίας που ταιριάζουν και ως προς αυτό με το κείμενο που πληκτρολογείτε. Π.χ. έχοντας επιλέξει το Διάκριση πεζών από κεφαλαία το \"ΚΕΙΜΕΝΟ\" δεν θα βρεί το \"κείμενο\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "Select the Match entire word only option to only find occurrences of the string that match the entire words of the text that you type. For example, with Match entire word only selected, \"text\" will not match \"texture\"." msgstr "Επιλέξτε το Ταίριασμα ολόκληρης λέξης μόνο για να βρείτε εμφανίσεις της αλληλουχίας όπου ταιριάζει με ολόκληρες τις λέξεις του κειμένου που πληκτρολογείτε. Π.χ. έχοντας επιλέξει το Ταίριασμα ολόκληρης λέξης μόνο, το \"κείμενο\" δεν θα βρει το \"υπερκείμενο\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "Select the Search backwards option to search backwards towards the beginning of the document." msgstr "Επιλέξτε το Αναζήτηση προς τα πίσω για να γίνει η αναζήτηση προς τα πίσω, δηλ. προς την αρχή του εγγράφου." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "Select the Wrap around option to search to one end of the document and then continue the search from the other end of the file." msgstr "Επιλέξτε το Αναδίπλωση γύρω για να αναζητήσετε μέχρι το τέλος του εγγράφου και μετά να συνεχίσετε την αναζήτηση από την άλλη άκρη του εγγράφου." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Ειδικοί χαρακτήρες" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "You can include the following escape sequences in the text to find or replace to represent special characters:" msgstr "Μπορείτε να συμπεριλάβετε τις ακόλουθες αλληλουχίες διαφυγής στο κείμενο προς εύρεση ή αντικατάσταση για να αναπαραστήσετε ειδικούς χαρακτήρες:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Καθορίζει μια καινούρια γραμμή." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Καθορίζει στηλοθέτη." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Καθορίζει επιστροφή γραμμής." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. For example, if you are looking for the \"\\n" "\" literal, you will have to type \"\\\\n" @@ -764,2033 +764,2033 @@ msgstr "" "\" ως έχει, θα πρέπει να πληκτρολογήσετε \"\\\\n" "\" στο πεδίο Αναζήτηση για. Ή αν ψάχνετε για μια αλληλουχία ανάστροφων καθέτων, θα πρέπει να διπλασιάσετε τον αριθμό τους στο πεδίο." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Τοποθέτηση του δρομέα σε συγκεκριμένη γραμμή" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "To position the cursor on a specific line in the current file, choose SearchGo to Line. The line number box appears at the top of the display area." msgstr "Για να τοποθετήσετε το δρομέα σε μια συγκεκριμένη γραμμή στο τρέχον αρχείο, επιλέξτε ΑναζήτησηΜετάβαση στη γραμμή. Το πεδίο αριθμού γραμμής εμφανίζεται στην κορυφή της περιοχής απεικόνισης." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "Begin typing the number of the line that you want to move the cursor to and the document will scroll to the specified line." msgstr "Ξεκινήστε να πληκτρολογείτε τον αριθμό της γραμμής στην οποία θέλετε να μετακινήσετε το δρομέα και το έγγραφο θα κυλήσει στην καθορισμένη γραμμή." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "To dismiss the box and move the cursor to the specified line, press Return." msgstr "Για να απομακρύνετε το πεδίο και να μετακινήσετε το δρομέα στην καθορισμένη γραμμή, πατήστε Return." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Εκτύπωση" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Ορισμός επιλογών σελίδας" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "To set the page options, choose FilePage Setup to display the Page Setup dialog." msgstr "Για να ορίσετε τις επιλογές σελίδας, επιλέξτε ΑρχείοΔιαμόρφωση σελίδας για να εμφανίσετε το παράθυρο διαλόγου Διαμόρφωση σελίδας." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "The Page Setup dialog enables you to specify the following print options:" msgstr "Το παράθυρο διαλόγου Διαμόρφωση σελίδας σας επιτρέπει να καθορίσετε τις ακόλουθες επιλογές εκτύπωσης:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Καρτέλα Γενικά" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Εκτύπωση επισήμανσης σύνταξης" -#: C/gedit.xml:563(para) -msgid "Select this option to print syntax highlighting. For more information about syntax highlighting, see ." -msgstr "Επιλέξτε το για να εκτυπώσετε την επισήμανση σύνταξης. Για περισσότερες πληροφορίες σχετικά με την επισήμανση σύνταξης, δείτε το ." +#: C/pluma.xml:563(para) +msgid "Select this option to print syntax highlighting. For more information about syntax highlighting, see ." +msgstr "Επιλέξτε το για να εκτυπώσετε την επισήμανση σύνταξης. Για περισσότερες πληροφορίες σχετικά με την επισήμανση σύνταξης, δείτε το ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Εκτύπωση κεφαλίδων σελίδας" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "Select this option to include a header on each page that you print. You cannot configure the header." msgstr "Επιλέξτε το για να περιλάβετε μια κεφαλίδα σε κάθε σελίδα που εκτυπώνετε. Δεν μπορείτε να διαμορφώσετε την κεφαλίδα." -#: C/gedit.xml:571(guilabel) -#: C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) +#: C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Αριθμοί γραμμής" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "Select the Print line numbers option to include line numbers when you print a file." msgstr "Επιλέξτε το Εκτύπωση αριθμών γραμμής για να συμπεριλάβετε τους αριθμούς γραμμής στην εκτύπωση ενός αρχείου." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "Use the Number every ... lines spin box to specify how often to print the line numbers, for example every 5 lines, every 10 lines, and so on." msgstr "Χρησιμοποιήστε το πεδίο αριθμών Αριθμός γραμμής κάθε ... γραμμές για να καθορίσετε πόσο συχνά θα εκτυπώνονται οι αριθμοί γραμμής, π.χ. κάθε 5 γραμμές, κάθε 10 γραμμές κ.ο.κ." -#: C/gedit.xml:578(guilabel) -#: C/gedit.xml:1176(guilabel) -#: C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) +#: C/pluma.xml:1176(guilabel) +#: C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Αναδίπλωση κειμένου" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "Select the Enable text wrapping option to wrap text onto the next line, at a character level, when you print a file. The application counts wrapped lines as one line for line numbering purposes." msgstr "Επιλέξτε το Ενεργοποίηση αναδίπλωσης κειμένου για να αναδιπλώσετε κείμενο στην επόμενη γραμμή, σε επίπεδο χαρακτήρα, όταν εκτυπώνετε ένα αρχείο. Η εφαρμογή υπολογίζει κάθε αναδιπλωμένη γραμμή ως μία γραμμή για τους σκοπούς της αρίθμησης." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "Select the Do not split words over two lines option to wrap text onto the next line, at a word level, when you print a file." msgstr "Επιλέξτε το Να μην χωρίζονται λέξεις σε δύο γραμμές για να αναδιπλώσετε το κείμενο στην επόμενη γραμμή, σε επίπεδο λέξης, όταν εκτυπώνετε ένα αρχείο." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Γραμματοσειρές" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Σώμα κειμένου" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "Click on this button to select the font to use to print the body text of a file." msgstr "Κάντε κλικ σε αυτό το κουμπί για να επιλέξετε τη γραμματοσειρά στην οποία θα εκτυπωθεί το σώμα του κειμένου ενός αρχείου." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Αριθμοί γραμμής" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "Κάντε κλικ σε αυτό το κουμπί για να επιλέξετε τη γραμματοσειρά στην οποία θα εκτυπωθούν οι αριθμοί γραμμών." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Κεφαλίδες και υποσέλιδα" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "Click on this button to select the font to use to print the headers and footers in a file." msgstr "Κάντε κλικ σε αυτό το κουμπί για να επιλέξτε τη γραμματοσειρά στην οποία θα εκτυπωθούν οι κεφαλίδες και τα υποσέλιδα ενός αρχείου." -#: C/gedit.xml:609(para) -msgid "To reset the fonts to the default fonts for printing a file from gedit, click Restore Default Fonts." -msgstr "Για να επαναφέρετε τις γραμματοσειρές στις προεπιλεγμένες για την εκτύπωση ενός αρχείου από το gedit, κάντε κλικ στο κουμπί Επαναφορά προεπιλεγμένων γραμματοσειρών." +#: C/pluma.xml:609(para) +msgid "To reset the fonts to the default fonts for printing a file from pluma, click Restore Default Fonts." +msgstr "Για να επαναφέρετε τις γραμματοσειρές στις προεπιλεγμένες για την εκτύπωση ενός αρχείου από το pluma, κάντε κλικ στο κουμπί Επαναφορά προεπιλεγμένων γραμματοσειρών." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Εκτύπωση εγγράφου" -#: C/gedit.xml:617(para) -msgid "You can use gedit to perform the following print operations:" -msgstr "Μπορείτε να χρησιμοποιήσετε το gedit για να εκτελέσετε τις ακόλουθες εργασίες εκτύπωσης:" +#: C/pluma.xml:617(para) +msgid "You can use pluma to perform the following print operations:" +msgstr "Μπορείτε να χρησιμοποιήσετε το pluma για να εκτελέσετε τις ακόλουθες εργασίες εκτύπωσης:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Εκτύπωση εγγράφου σε εκτυπωτή." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Εκτύπωση του αποτελέσματος της εντολής εκτύπωσης σε ένα αρχείο." -#: C/gedit.xml:624(para) -msgid "If you print to a file, gedit sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF)." -msgstr "Αν εκτυπώσετε σε αρχείο, το gedit στέλνει το αποτέλεσμα σε ένα αρχείο προ-εκτύπωσης. ΟΙ πιο κοινές μορφές αρχείων προ-εκτύπωσης είναι το PostScript και το Portable Document Format (PDF)." +#: C/pluma.xml:624(para) +msgid "If you print to a file, pluma sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF)." +msgstr "Αν εκτυπώσετε σε αρχείο, το pluma στέλνει το αποτέλεσμα σε ένα αρχείο προ-εκτύπωσης. ΟΙ πιο κοινές μορφές αρχείων προ-εκτύπωσης είναι το PostScript και το Portable Document Format (PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "To preview the pages that you want to print, choose FilePrint Preview." msgstr "Για να προεπισκοπήσετε τις σελίδες που θέλετε να εκτυπώσετε, επιλέξτε ΑρχείοΠροεπισκόπηση εκτύπωσης." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "To print the current file to a printer or a file, choose FilePrint to display the Print dialog." msgstr "Για να εκτυπώσετε το τρέχον αρχείο σε έναν εκτυπωτή ή αρχείο, επιλέξτε ΑρχείοΕκτύπωση για να εμφανίσετε το παράθυρο διαλόγου Εκτύπωση." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "The Print dialog enables you to specify the following print options:" msgstr "Το παράθυρο διαλόγου Εκτύπωση σας επιτρέπει να ορίσετε τις ακόλουθες επιλογές εκτύπωσης:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Καρτέλα εργασία" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Εύρος εκτύπωσης" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "Select one of the following options to determine how many pages to print:" msgstr "Επιλέξτε μία από τις ακόλουθες επιλογές για να καθορίσετε πόσες σελίδες θα εκτυπωθούν:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Όλες οι σελίδες" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Επιλέξτε αυτή την επιλογή για να εκτυπώσετε όλες τις σελίδες του αρχείου." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Γραμμές" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "Select this option to print the specified lines only. Use the From and To spin boxes to specify the line range." msgstr "Επιλέξτε αυτή την επιλογή για εκτυπώσετε μόνο τις καθορισμένες γραμμές. Χρησιμοποιήστε τα αριθμητικά πεδία Από και Έως για να καθορίσετε τις γραμμές." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Επιλογή" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "Select this option to print the selected text only. This option is only available if you select text." msgstr "Επιλέξτε αυτή την επιλογή για να εκτυπώσετε μόνο το επιλεγμένο κείμενο. Αυτή η επιλογή είναι διαθέσιμη μόνο αν επιλέξετε κείμενο." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Αντίγραφα" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "Use the Number of copies spin box to specify the number of copies of the file that you want to print." msgstr "Χρησιμοπιήστε το αριθμητικό πεδίο Αριθμός αντιγράφων για να καθορίσετε τον αριθμό των αντιγράφων για το αρχείο που θέελτε να εκτυπώσετε." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "If you print multiple copies of the file, select the Collate option to collate the printed copies." msgstr "Αν εκτυπώσετε πολλαπλά αντίγραφα του αρχείου, επιλέξτε το Συρραφή για να συρράψετε τα αντίγραφα που θα εκτυπωθούν." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Καρτέλα Εκτυπωτής" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Εκτυπωτής" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "Use this drop-down list to select the printer to which you want to print the file." msgstr "Χρησιμοποιήστε την αναδυόμενη λίστα για να επιλέξετε τον εκτυπωτή στον οποίο θέλετε να εκτυπωθεί το αρχείο." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Ρυθμίσεις" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε τις ρυθμίσεις εκτυπωτή." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "To configure the printer, click Configure. For example, you can enable or disable duplex printing, or schedule delayed printing, if this functionality is supported by the printer." msgstr "Για να διαμορφώσετε τον εκτυπωτή, κάντε κλικ στο Διαμόρφωση. Π.χ., μπορείτε να ενεργοποιήσετε ή απενεργοποιήσετε την εκτύπωση διπλής όψης, αν αυτή η λειτουργία υποστηρίζεται από τον εκτυπωτή σας." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Τοποθεσία" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "Use this drop-down list to select one of the following print destinations:" msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε έναν από τους ακόλουθους προορισμούς εκτύπωσης:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Εκτύπωση του αρχείου σε εκτυπωτή του CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "If the selected printer is a CUPS printer, CUPS is the only entry in this drop-down list." msgstr "Αν ο επιλεγμένος εκτυπωτής είναι CUPS, το CUPS είναι η μόνη καταχώρηση σε αυτή τη λίστα." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Εκτύπωση του αρχείου σε εκτυπωτή." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Αρχείο" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Εκτύπωση του αρχείου σε αρχείο PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "Click Save As to display a dialog where you specify the name and location of the PostScript file." msgstr "Κάντε κλικ στο Αποθήκευση ως για να εμφανίσετε ένα παράθυρο διαλόγου όπου καθορίζετε το όνομα και την τοποθεσία του αρχείου PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Προσαρμοσμένο" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Χρησιμοποιήστε την καθορισμένη εντολή για να εκτυπώσετε το αρχείο." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "Type the name of the command in the text box. Include all command-line arguments." msgstr "Πληκτρολογήστε το όνομα της εντολής στο πεδίο κειμένου. Συμπεριλάβετε όλα τα ορίσματα της γραμμής εντολών." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Κατάσταση" -#: C/gedit.xml:734(para) -#: C/gedit.xml:740(para) -#: C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Αυτή η λειτουργία δεν υποστηρίζεται σε αυτή την έκδοση του gedit." +#: C/pluma.xml:734(para) +#: C/pluma.xml:740(para) +#: C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Αυτή η λειτουργία δεν υποστηρίζεται σε αυτή την έκδοση του pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Τύπος" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Σχόλιο" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Καρτέλα Χαρτί" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Μέγεθος χαρτιού" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "Use this drop-down list to select the size of the paper to which you want to print the file." msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε το μέγεθος του χαρτιού στο οποίο θέλετε να εκτυπώσετε το αρχείο." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Πλάτος" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "Use this spin box to specify the width of the paper. Use the adjacent drop-down list to change the measurement unit." msgstr "Χρησιμοποιήστε αυτό το αριθμητικό πεδίο για να καθορίσετε το πλάτος του χαρτιού. Χρησιμοποιήστε τη διπλανή λίστα για αλλάξετε τη μονάδα μέτρησης." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Ύψος" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Χρησιμοποιήστε αυτό το αριθμητικό πεδίο για να ορίσετε το ύψος του χαρτιού." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Προσανατολισμός τροφοδοσίας" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "Use this drop-down list to select the orientation of the paper in the printer." msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε τον προσανατολισμό του χαρτιού στον εκτυπωτή." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Προσανατολισμός σελίδας" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε τον προσανατολισμό της σελίδας." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Διάταξη" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "Use this drop-down list to select the page layout. A preview of each layout that you select is displayed in the Preview area." msgstr "Χρησιμοποιήστε αυτή τη λίστα για επιλέξετε τη διάταξη σελίδας. Μια προεπισκόπηση κάθε διάταξης που επιλέγετε εμφανίζεται στην περιοχή Προεπισκόπηση." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Τροφοδότης χαρτιού" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Χρησιμοποιήστε αυτή τη λίστα για να επιλέξετε τροφοδότη χαρτιού." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Προγραμματιστικά χαρακτηριστικά" -#: C/gedit.xml:801(para) -msgid "Several of gedit's features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see ." -msgstr "Πολλές λειτουργίες προγραμματισμού του gedit παρέχονται με πρόσθετα. Π.χ., το πρόσθετο Λίστα Ετικετών παρέχει μια λίστα των συνηθέστερων ετικετών για διαφορετικές γλώσσες ιστοσελίδων: δείτε το ." +#: C/pluma.xml:801(para) +msgid "Several of pluma's features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see ." +msgstr "Πολλές λειτουργίες προγραμματισμού του pluma παρέχονται με πρόσθετα. Π.χ., το πρόσθετο Λίστα Ετικετών παρέχει μια λίστα των συνηθέστερων ετικετών για διαφορετικές γλώσσες ιστοσελίδων: δείτε το ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Επισήμανση σύνταξης" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "Syntax highlighting makes source code easier to read by showing different parts of the text in different colors." msgstr "Η επισήμανση σύνταξης καθιστά ευκολότερη την ανάγνωση πηγαίου κώδικα, απεικονίζοντας διαφορετικά μέρη του με διαφορετικά χρώματα." -#: C/gedit.xml:808(para) -msgid "gedit chooses an appropriate syntax highlighting mode based on a document's type. To override the syntax highlighting mode, choose ViewHighlight Mode, then choose one of the following menu items:" -msgstr "Το gedit επιλέγει ένα κατάλληλο τρόπο επισήμανσης σύνταξης βασιζόμενο στον τύπο του εγγράφου. Για να παρακάμψετε αυτή την κατάσταση λειτουργίας, επιλέξτε ΠροβολήΛειτουργία επισήμανσης, μετά επιλέξτε ένα από τα ακόλουθα αντικείμενα του μενού:" +#: C/pluma.xml:808(para) +msgid "pluma chooses an appropriate syntax highlighting mode based on a document's type. To override the syntax highlighting mode, choose ViewHighlight Mode, then choose one of the following menu items:" +msgstr "Το pluma επιλέγει ένα κατάλληλο τρόπο επισήμανσης σύνταξης βασιζόμενο στον τύπο του εγγράφου. Για να παρακάμψετε αυτή την κατάσταση λειτουργίας, επιλέξτε ΠροβολήΛειτουργία επισήμανσης, μετά επιλέξτε ένα από τα ακόλουθα αντικείμενα του μενού:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Απλό κείμενο" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Καμμία επισήμανση σύνταξης." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Κώδικας" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "Display syntax highlighting to edit source code. Use the Sources submenu to select the source code type." msgstr "Εμφάνιση επισήμανσης για επεξεργασία πηγαίου κώδικα. Χρησιμοποιήστε το υπομενού Κώδικας για να επιλέξετε τον τύπο του πηγαίου κώδικα." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Σήμανση (Markup)" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "Εμφάνιση επισήμανσης σύνταξης για επεξεργασία κώδικα σήμανσης. Χρησιμοποιήστε το υπομενού Markup για να επιλέξετε τον τύπο του κώδικα σήμανσης." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Σενάρια ενεργειών (scripts)" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "Display syntax highlighting to edit script code. Use the Scripts submenu to select the script code type." msgstr "Εμφανίστε τη λειτουργία επισήμανσης κώδικα για επεξεργασθείτε κώδικα σεναρίων ενεργειών. Χρησιμοποιήστε το υπομενού Σενάρια ενεργειών για να επιλέξετε τον τύπο του κώδικα." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Άλλα" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "Display syntax highlighting to edit other types of code. Use the Others submenu to select the code type." msgstr "Εμφάνιση επισήμανσης σύνταξης για επεξεργασία άλλων τύπων κώδικα. Χρησιμοποιήστε το υπομενού Άλλα για να επιλέξετε τον τύπο του κώδικα." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Διοχέτευση της εξόδου μιας εντολής σε ένα αρχείο." -#: C/gedit.xml:846(para) -msgid "You can use gedit to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | gedit, then press Return." -msgstr "Μπορείτε να χρησιμοποιήσετε το gedit για να διοχετεύσετε την έξοδο μιας εντολής σε ένα αρχείο κειμένου. Π.χ., για να διοχετεύσετε το αποτέλεσμα μιας εντολής ls σε ένα αρχείο, πληκτρολογήστε ls | gedit και πατήστε Return." +#: C/pluma.xml:846(para) +msgid "You can use pluma to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | pluma, then press Return." +msgstr "Μπορείτε να χρησιμοποιήσετε το pluma για να διοχετεύσετε την έξοδο μιας εντολής σε ένα αρχείο κειμένου. Π.χ., για να διοχετεύσετε το αποτέλεσμα μιας εντολής ls σε ένα αρχείο, πληκτρολογήστε ls | pluma και πατήστε Return." -#: C/gedit.xml:847(para) -msgid "The output of the ls command is displayed in a new text file in the gedit window." -msgstr "Η έξοδος της εντολής ls εμφανίζεται σε ένα καινούριο αρχείο κειμένου στο παράθυρο του gedit." +#: C/pluma.xml:847(para) +msgid "The output of the ls command is displayed in a new text file in the pluma window." +msgstr "Η έξοδος της εντολής ls εμφανίζεται σε ένα καινούριο αρχείο κειμένου στο παράθυρο του pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "Alternatively, you can use the External tools plugin to pipe command output to the current file." msgstr "Εναλλακτικά μπορείτε να χρησιμοποιήσετε το πρόσθετο External tools για να διοχετεύσετε την έξοδο της εντολής στο τρέχον αρχείο." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Πλήκτρα συντόμευσης" -#: C/gedit.xml:855(para) -msgid "Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of gedit's shortcut keys." -msgstr "Χρησιμοποιήστε πλήκτρα συντόμευσης για να πραγματοποιήσετε συνήθεις εργασίες πιο γρήγορα σε σχέση με το ποντίκι και τα μενού. Οι ακόλουθοι πίνακες απαριθμούν όλες τις συντομεύσεις πληκτρολογίου του gedit." +#: C/pluma.xml:855(para) +msgid "Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of pluma's shortcut keys." +msgstr "Χρησιμοποιήστε πλήκτρα συντόμευσης για να πραγματοποιήσετε συνήθεις εργασίες πιο γρήγορα σε σχέση με το ποντίκι και τα μενού. Οι ακόλουθοι πίνακες απαριθμούν όλες τις συντομεύσεις πληκτρολογίου του pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "For more on shortcut keys, see the Desktop User Guide." msgstr "Για περισσότερα σχετικά με τις συντομεύσεις πληκτρολογίου, δείτε τον Desktop User Guide." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) -#: C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) +#: C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Καρτέλες" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Συντομεύσεις για τις καρτέλες:" -#: C/gedit.xml:868(para) -#: C/gedit.xml:912(para) -#: C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) -#: C/gedit.xml:1052(para) -#: C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) +#: C/pluma.xml:912(para) +#: C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) +#: C/pluma.xml:1052(para) +#: C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Πλήκτρα συντόμευσης" -#: C/gedit.xml:870(para) -#: C/gedit.xml:914(para) -#: C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) -#: C/gedit.xml:1054(para) -#: C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) +#: C/pluma.xml:914(para) +#: C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) +#: C/pluma.xml:1054(para) +#: C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Εντολή" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Μετάβαση στην επόμενη προς τα αριστερά καρτέλα." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Μετάβαση στην επόμενη προς τα δεξιά καρτέλα." -#: C/gedit.xml:883(para) -#: C/gedit.xml:947(para) +#: C/pluma.xml:883(para) +#: C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Κλείσιμο καρτέλας." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Αποθήκευση όλων των καρτελών." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Κλείσιμο όλων των καρτελών." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + αριθμός" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Μετάβαση στην καρτέλα με τον αντίστοιχο αριθμό (μπορεί να μη λειτουργεί με το αριθμητικό πληκτρολόγιο)" #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Αρχεία" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Συντομεύσεις για εργασία με αρχεία:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Δημιουργία νέου εγγράφου" -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Άνοιγμα εγγράφου." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Άνοιγμα τοποθεσίας." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Αποθήκευση του τρέχοντος εγγράφου στο δίσκο." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Αποθήκευση του τρέχοντος εγγράφου με νέο όνομα αρχείου." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Εκτύπωση του τρέχοντος εγγράφου." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Προεπισκόπηση εκτύπωσης" -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Κλείσιμο του τρέχοντος εγγράφου." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Έξοδος από το Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Έξοδος από το Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) -#: C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) -#: C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) +#: C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) +#: C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Επεξεργασία" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Συντομεύσεις για επεξεργασία εγγράφων:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Αναίρεση της τελευταίας ενέργειας." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Επανάληψη της τελευταίας ενέργειας." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Αποκοπή του επιλεγμένου κειμένου ή περιοχής και τοποθέτηση στο πρόχειρο." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Αντιγραφή του επιλεγμένου κειμένου ή περιοχή στο πρόχειρο." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Επικόλληση των περιεχομένων του πρόχειρου." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Επιλογή όλων." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Διαγραφή τρέχουσας γραμμής." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) #| msgid "Alt + n" msgid "Alt + Up" msgstr "Alt + πάνω" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "Μετακίνηση της επιλεγμένης γραμμής μια γραμμή επάνω." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) #| msgid "Alt + n" msgid "Alt + Down" msgstr "Alt + κάτω" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) #| msgid "Copy the selected text or region onto the clipboard." msgid "Move the selected line down one line." msgstr "Μετακίνηση της επιλεγμένης γραμμής μια γραμμή κάτω." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Εργαλειοθήκες" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Συντομεύσεις για εμφάνιση και απόκρυψη εργαλειοθηκών:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Εμφάνιση / απόκρυψη της πλευρικής εργαλειοθήκης." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Εμφάνιση / απόκρυψη της κάτω εργαλειοθήκης." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Αναζήτηση" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Συντομεύσεις για αναζήτηση:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Εύρεση αλληλουχίας." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Εύρεση της επόμενης εμφάνισης της αλληλουχίας." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Εύρεση της προηγούμενης εμφάνισης της αλληλουχίας." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Διαδραστική αναζήτηση." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Αναζήτηση και αντικατάσταση." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Καθαρισμός επισήμανσης." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Μετάβαση στη γραμμή." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Εργαλεία" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Συντομεύσεις για τα εργαλεία:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Έλεγχος ορθογραφίας (με πρόσθετο)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Αφαίρεαση πλεοναζόντων κενών (με πρόσθετο)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Εσοχή (με πρόσθετο)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Αφαίρεση εσοχής (με πρόσθετο)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Εκτέλεση της εντολής \"make\" στον τρέχοντα κατάλογο (με πρόσθετο)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Λίστα καταλόγου (με πρόσθετο)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Βοήθεια" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Συντομεύσεις για τη βοήθεια:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "Άνοιγμα του οδηγού χρήστη του gedit." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "Άνοιγμα του οδηγού χρήστη του pluma." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Προτιμήσεις" -#: C/gedit.xml:1164(para) -msgid "To configure gedit, choose EditPreferences. The Preferences dialog contains the following categories:" -msgstr "Για να διαμορφώσετε το gedit, επιλέξτε ΕπεξεργασίαΠροτιμήσεις. Το παράθυρο διαλόγου Προτιμήσεις περιέχει τις ακόλουθες κατηγορίες:" +#: C/pluma.xml:1164(para) +msgid "To configure pluma, choose EditPreferences. The Preferences dialog contains the following categories:" +msgstr "Για να διαμορφώσετε το pluma, επιλέξτε ΕπεξεργασίαΠροτιμήσεις. Το παράθυρο διαλόγου Προτιμήσεις περιέχει τις ακόλουθες κατηγορίες:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Προβολή" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "Select the Enable text wrapping option to have long lines of text flow into paragraphs instead of running off the edge of the text window. This avoids having to scroll horizontally" msgstr "Επιλέξτε την επιλογή Ενεργοποίηση αναδίπλωσης κειμένου για να οργανώνονται σε παραγράφους οι μακρές γραμμές κειμένου αντί να συνεχίζονται πέραν της άκρης του παραθύρου κειμένου. Έτσι αποφεύγετε την οριζόντια κύλιση." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "Select the Do not split words over two lines option to have the text wrapping option preserve whole words when flowing text to the next line. This makes text easier to read." msgstr "Επιλέξτε το Να μη χωρίζονται οι λέξεις σε δύο γραμμές για να διατηρούνται ολόκληρες οι λέξεις κατά την αναδίπλωση κειμένου. Έτσι γίνεται ευκολότερη η ανάγνωση." -#: C/gedit.xml:1185(para) -msgid "Select the Display line numbers option to display line numbers on the left side of the gedit window." -msgstr "Επιλέξτε το Προβολή αριθμών γραμμής για εμφανίζονται οι αριθμοί γραμμής στην αριστερή πλευρά του παραθύρου του gedit." +#: C/pluma.xml:1185(para) +msgid "Select the Display line numbers option to display line numbers on the left side of the pluma window." +msgstr "Επιλέξτε το Προβολή αριθμών γραμμής για εμφανίζονται οι αριθμοί γραμμής στην αριστερή πλευρά του παραθύρου του pluma." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Τρέχουσα γραμμή" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "Select the Highlight current line option to highlight the line where the cursor is placed." msgstr "Επιλέξτε το Επισήμανση τρέχουσας γραμμής για να επισημάνετε τη γραμμή όπου βρίσκεται ο δρομέας." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Δεξί περιθώριο" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "Select the Display right margin option to display a vertical line that indicates the right margin." msgstr "Επιλέξτε το Προβολή δεξιού περιθωρίου για να εμφανίσετε μια κάθετη γραμμή που υποδεικνύει τη θέση του δεξιού περιθωρίου." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "Use the Right margin at column spin box to specify the location of the vertical line." msgstr "Χρησιμοποιήστε το αριθμητικό πεδίο Δεξί περιθώριο στη στήλη για να καθορίσετε τη θέση της κάθετης γραμμής." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Ταίριασμα αγκυλών" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "Select the Highlight matching bracket option to highlight the corresponding bracket when the cursor is positioned on a bracket character." msgstr "Επιλέξτε το Επισήμανση παρένθεσης που ταιριάζει για να επισημαίνετε την αντίστοιχη παρένθεση όταν ο δρομέας τοποθετηθεί σε ένα χαρακτήρα παρένθεσης." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Επεξεργαστής" -#: C/gedit.xml:1217(para) -msgid "Use the Tab width spin box to specify the width of the space that gedit inserts when you press the Tab key." -msgstr "Χρησιμοποιήστε το αριθμητικό πεδίο Πλάτος στηλοθέτη για να ορίσετε το πλάτος του διαστήματος που θα εισάγει το gedit όταν πιέζετε το πλήκτρο Tab." +#: C/pluma.xml:1217(para) +msgid "Use the Tab width spin box to specify the width of the space that pluma inserts when you press the Tab key." +msgstr "Χρησιμοποιήστε το αριθμητικό πεδίο Πλάτος στηλοθέτη για να ορίσετε το πλάτος του διαστήματος που θα εισάγει το pluma όταν πιέζετε το πλήκτρο Tab." -#: C/gedit.xml:1218(para) -msgid "Select the Insert spaces instead of tabs option to specify that gedit inserts spaces instead of a tab character when you press the Tab key." -msgstr "Επιλέξτε το Εισαγωγή διαστημάτων αντί για στηλοθέτες για να ορίσετε ότι το gedit θα εισάγει διαστήματα αντί για χαρακτήρα στηλοθέτη όταν πατάτε το Tab." +#: C/pluma.xml:1218(para) +msgid "Select the Insert spaces instead of tabs option to specify that pluma inserts spaces instead of a tab character when you press the Tab key." +msgstr "Επιλέξτε το Εισαγωγή διαστημάτων αντί για στηλοθέτες για να ορίσετε ότι το pluma θα εισάγει διαστήματα αντί για χαρακτήρα στηλοθέτη όταν πατάτε το Tab." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Αυτόματη εσοχή" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "Select the Enable auto indentation option to specify that the next line starts at the indentation level of the current line." msgstr "Επιλέξτε το Ενεργοποίηση αυτόματης εσοχής για να ορίσετε ότι η επόμενη γραμμή θα ξεκινά με την ίδια εσοχή με την τρέχουσα γραμμή." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Αποθήκευση αρχείου" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "Select the Create a backup copy of files before saving option to create a backup copy of a file each time you save the file. The backup copy of the file contains a ~ at the end of the filename." msgstr "Επιλέξτε Δημιουργία αντιγράφου ασφαλείας πριν την αποθήκευση για να δημιουργείται ένα αντίγραφο του αρχείου κάθε φορά που το αποθηκεύετε. Το αντίγραφο του αρχείου περιέχει μια ~ στο τέλος του ονόματος του αρχείου." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "Select the Autosave files every ... minutes option to automatically save the current file at regular intervals. Use the spin box to specify how often you want to save the file." msgstr "Επιλέξτε το Αυτόματη αποθήκευση αρχείων κάθε ... λεπτά για να αποθηκεύετε το τρέχον αρχείο σε τακτά διαστήματα. Χρησιμοποιήστε το αριθμητικό πεδίο για να ορίσετε πόσο συχνά θέλετε να αποθηκεύεται το αρχείο." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Γραμματοσειρές & Χρώματα" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Γραμματοσειρά" -#: C/gedit.xml:1243(para) -msgid "Select the Use default theme font option to use the default system font for the text in the gedit text window." -msgstr "Επιλέξτε το Χρήση προκαθορισμένης σταθερού πλάτους γραμματοσειράς συστήματος για να χρησιμοποιήσετε την προεπιλεγμένη γραμματοσειρά του συστήματος στο παράθυρο κειμένου του gedit." +#: C/pluma.xml:1243(para) +msgid "Select the Use default theme font option to use the default system font for the text in the pluma text window." +msgstr "Επιλέξτε το Χρήση προκαθορισμένης σταθερού πλάτους γραμματοσειράς συστήματος για να χρησιμοποιήσετε την προεπιλεγμένη γραμματοσειρά του συστήματος στο παράθυρο κειμένου του pluma." -#: C/gedit.xml:1244(para) -msgid "The Editor font field displays the font that gedit uses to display text. Click on the button to specify the font type, style, and size to use for text." -msgstr "Το πεδίο Γραμματοσειρά επεξεργαστή απεικονίζει τη γραμματοσειρά που χρησιμοποιεί το gedit για να εμφανίσει το κείμενο. Κάντε κλικ στο κουμπί για να καθορίσετε τον τύπο, μορφή και μέγεθος της γραμματοσειράς που θα χρησιμοποιηθεί για το κείμενο." +#: C/pluma.xml:1244(para) +msgid "The Editor font field displays the font that pluma uses to display text. Click on the button to specify the font type, style, and size to use for text." +msgstr "Το πεδίο Γραμματοσειρά επεξεργαστή απεικονίζει τη γραμματοσειρά που χρησιμοποιεί το pluma για να εμφανίσει το κείμενο. Κάντε κλικ στο κουμπί για να καθορίσετε τον τύπο, μορφή και μέγεθος της γραμματοσειράς που θα χρησιμοποιηθεί για το κείμενο." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Συνδυασμοί χρωμάτων" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "You can choose a color scheme from the list of color schemes. By default, the following color schemes are installed:" msgstr "Μπορείτε να επιλέξετε ένα συνδυασμό χρωμάτων από τη λίστα των συνδυασμών χρωμάτων. Ως προεπιλογή, οι ακόλουθοι συνδυασμοί είναι εγκατεστημένοι:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Κλασσικός" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Κλασσικός συνδυασμός χρωμάτων που βασίζεται σε αυτόν του gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Κοβαλτίου" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Συνδυασμός χρωμάτων βασισμένος στο μπλε." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "Συνδυασμός χρωμάτων στο επεξεργαστή κειμένου Kate." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Σκοτεινός συνδυασμός χρωμάτων που χρησιμοποιεί τη χρωματική παλέττα του Tango." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Συνδυασμός χρωμάτων που χρησιμοποιεί αυτόν του Tango." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "You can add a new color scheme by clicking on Add..., and selecting a color scheme file" msgstr "Μπορείτε να προσθέσετε ένα νέο συνδυασμό χρωμάτων κάνοντας κλικ στο Προσθήκη... και επιλέγοντας αρχείο χρωματικού συνδυασμού." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "You can remove the selected color scheme by clicking on Remove" msgstr "Μπορείτε να αφαιρέσετε τον επιλεγμένο συνδυασμό χρωμάτων κάνοντας κλικ στο Αφαίρεση" -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Προτιμήσεις Πρόσθετων Λειτουργιών" -#: C/gedit.xml:1292(para) -msgid "Plugins add extra features to gedit. For more information on plugins and how to use the built-in plugins, see ." -msgstr "Τα πρόσθετα δίνουν επιπλέον χαρακτηριστικά στο gedit. Για περισσότερες πληροφορίες για τα πρόσθετα και τη χρήση των ενσωματωμένων προσθέτων, δείτε το ." +#: C/pluma.xml:1292(para) +msgid "Plugins add extra features to pluma. For more information on plugins and how to use the built-in plugins, see ." +msgstr "Τα πρόσθετα δίνουν επιπλέον χαρακτηριστικά στο pluma. Για περισσότερες πληροφορίες για τα πρόσθετα και τη χρήση των ενσωματωμένων προσθέτων, δείτε το ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Ενεργοποίηση προσθέτων" -#: C/gedit.xml:1297(para) -msgid "To enable a gedit plugin, perform the following steps:" -msgstr "Για να ενεργοποιήσετε ένα πρόσθετο του gedit, κάντε τα ακόλουθα βήματα:" +#: C/pluma.xml:1297(para) +msgid "To enable a pluma plugin, perform the following steps:" +msgstr "Για να ενεργοποιήσετε ένα πρόσθετο του pluma, κάντε τα ακόλουθα βήματα:" -#: C/gedit.xml:1300(para) -#: C/gedit.xml:1321(para) -#: C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) +#: C/pluma.xml:1321(para) +#: C/pluma.xml:1643(para) msgid "Choose EditPreferences." msgstr "Επιλέξτε ΕπεξεργασίαΠροτιμήσεις." -#: C/gedit.xml:1303(para) -#: C/gedit.xml:1324(para) -#: C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) +#: C/pluma.xml:1324(para) +#: C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Επιλέξτε την καρτέλα Πρόσθετες λειτουργίες." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "Select the check box next to the name of the plugin that you want to enable." msgstr "Επιλέξτε το κουτάκι δίπλα στο όνομα του προσθέτου που θέλετε να ενεργοποιήσετε." -#: C/gedit.xml:1309(para) -#: C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) +#: C/pluma.xml:1330(para) msgid "Click Close to close the Preferences dialog." msgstr "Κάντε κλικ στο Κλείσιμο για να κλείσετε το παράθυρο διαλόγου Προτιμήσεις." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Απενεργοποίηση πρόσθετου" -#: C/gedit.xml:1317(para) -msgid "A plugin remains enabled when you quit gedit." -msgstr "Τα πρόσθετα παραμένουν ενεργοποιημένα και αφού εγκαταλείψετε το gedit." +#: C/pluma.xml:1317(para) +msgid "A plugin remains enabled when you quit pluma." +msgstr "Τα πρόσθετα παραμένουν ενεργοποιημένα και αφού εγκαταλείψετε το pluma." -#: C/gedit.xml:1318(para) -msgid "To disable a gedit plugin, perform the following steps:" -msgstr "Για να απενεργοποιήσετε ένα πρόσθετο του gedit, ακολουθήστε τα εξής βήματα:" +#: C/pluma.xml:1318(para) +msgid "To disable a pluma plugin, perform the following steps:" +msgstr "Για να απενεργοποιήσετε ένα πρόσθετο του pluma, ακολουθήστε τα εξής βήματα:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "Deselect the check box next to the name of the plugin that you want to disable." msgstr "Απο-επιλέξτε το κουτάκι δίπλα στο όνομα του πρόσθετου που θέλετε να απενεργοποιήσετε." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Πρόσθετα" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Εργασία με πρόσθετα" -#: C/gedit.xml:1342(para) -msgid "You can add extra features to gedit by enabling plugins. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the gedit menus for the new features they provide." -msgstr "Μπορείτε να προσθέσετε επιπλέον χαρακτηριστικά στο gedit ενεργοποιώντας τα plugins. Το πρόσθετο είναι ένα συμπληρωματικό πρόγραμμα που αυξάνει τη λειτουργικότητα μιας εφαρμογής. Τα πρόσθετα προσθέτουν νέα αντικείμενα στα μενού του gedit για τα νέα χαρακτηριστικά που παρέχουν." +#: C/pluma.xml:1342(para) +msgid "You can add extra features to pluma by enabling plugins. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the pluma menus for the new features they provide." +msgstr "Μπορείτε να προσθέσετε επιπλέον χαρακτηριστικά στο pluma ενεργοποιώντας τα plugins. Το πρόσθετο είναι ένα συμπληρωματικό πρόγραμμα που αυξάνει τη λειτουργικότητα μιας εφαρμογής. Τα πρόσθετα προσθέτουν νέα αντικείμενα στα μενού του pluma για τα νέα χαρακτηριστικά που παρέχουν." -#: C/gedit.xml:1344(para) -msgid "Several plugins come built-in with gedit, and you can install more. The gedit website lists third-party plugins." -msgstr "Πολλά πρόσθετα έρχονται ενσωματωμένα στο gedit και μπορείτε να εγκαταστήσετε περισσότερα. Στο gedit website απαριθμούνται πρόσθετα από τρίτους." +#: C/pluma.xml:1344(para) +msgid "Several plugins come built-in with pluma, and you can install more. The pluma website lists third-party plugins." +msgstr "Πολλά πρόσθετα έρχονται ενσωματωμένα στο pluma και μπορείτε να εγκαταστήσετε περισσότερα. Στο pluma website απαριθμούνται πρόσθετα από τρίτους." -#: C/gedit.xml:1345(para) -msgid "To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences." -msgstr "Για να ενεργοποιήσετε και να απενεργοποιήσετε πρόσθετα ή να δείτε ποια πρόσθετα είναι ενεργοποιημένα, χρησιμοποιήστε το Προτιμήσεις προσθέτων." +#: C/pluma.xml:1345(para) +msgid "To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences." +msgstr "Για να ενεργοποιήσετε και να απενεργοποιήσετε πρόσθετα ή να δείτε ποια πρόσθετα είναι ενεργοποιημένα, χρησιμοποιήστε το Προτιμήσεις προσθέτων." -#: C/gedit.xml:1346(para) -msgid "The following plugins come built-in with gedit:" -msgstr "Τα ακόλουθα πρόσθετα είναι ενσωματωμένα στο gedit:" +#: C/pluma.xml:1346(para) +msgid "The following plugins come built-in with pluma:" +msgstr "Τα ακόλουθα πρόσθετα είναι ενσωματωμένα στο pluma:" -#: C/gedit.xml:1352(para) -msgid "Change Case allows you to change the case of the selected text." -msgstr "Αλλαγή πεζών κεφαλαίων, σας επιτρέπει να αλλάξετε μεταξύ πεζών και κεφαλαίων στο επιλεγμένο κείμενο." +#: C/pluma.xml:1352(para) +msgid "Change Case allows you to change the case of the selected text." +msgstr "Αλλαγή πεζών κεφαλαίων, σας επιτρέπει να αλλάξετε μεταξύ πεζών και κεφαλαίων στο επιλεγμένο κείμενο." -#: C/gedit.xml:1355(para) -msgid "Document Statistics shows the number of lines, words, and characters in the document." -msgstr "Στατιστικά εγγράφου, δείχνει τον αριθμό γραμμών, λέξεων και χαρακτήρων του εγγράφου." +#: C/pluma.xml:1355(para) +msgid "Document Statistics shows the number of lines, words, and characters in the document." +msgstr "Στατιστικά εγγράφου, δείχνει τον αριθμό γραμμών, λέξεων και χαρακτήρων του εγγράφου." -#: C/gedit.xml:1358(para) -msgid "External Tools allows you to execute external commands from gedit." -msgstr "Εξωτερικά εργαλεία, σας επιτρέπει να εκτελέσετε εξωτερικές εντολές από το gedit." +#: C/pluma.xml:1358(para) +msgid "External Tools allows you to execute external commands from pluma." +msgstr "Εξωτερικά εργαλεία, σας επιτρέπει να εκτελέσετε εξωτερικές εντολές από το pluma." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "File Browser allows you to browse your files and folders in the side pane." msgstr "Περιηγητής αρχείων, σας επιτρέπει να περιηγηθείτε στα αρχεία και τους φακέλους σας στο πλευρικό πλαίσιο." -#: C/gedit.xml:1364(para) -msgid "Indent Lines adds or removes indentation from the selected lines." -msgstr "Εσοχή γραμμών, προσθέτει ή αφαιρεί την εσοχή στις επιλεγμένες γραμμές." +#: C/pluma.xml:1364(para) +msgid "Indent Lines adds or removes indentation from the selected lines." +msgstr "Εσοχή γραμμών, προσθέτει ή αφαιρεί την εσοχή στις επιλεγμένες γραμμές." -#: C/gedit.xml:1367(para) -msgid "Insert Date/Time adds the current date and time into a document." -msgstr "Εισαγωγή Ημερομηνίας/Ώρας, προσθέτει την τρέχουσα ημερομηνία και ώρα σε ένα έγγραφο." +#: C/pluma.xml:1367(para) +msgid "Insert Date/Time adds the current date and time into a document." +msgstr "Εισαγωγή Ημερομηνίας/Ώρας, προσθέτει την τρέχουσα ημερομηνία και ώρα σε ένα έγγραφο." -#: C/gedit.xml:1370(para) -msgid "Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines." -msgstr "Modelines, σας επιτρέπει να ορίσετε τις προτιμήσεις επεξεργασίας ξεχωριστά για κάθε έγγραφο, και υποστηρίζει modelines τύπου Emacs, Kate και Vim." +#: C/pluma.xml:1370(para) +msgid "Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines." +msgstr "Modelines, σας επιτρέπει να ορίσετε τις προτιμήσεις επεξεργασίας ξεχωριστά για κάθε έγγραφο, και υποστηρίζει modelines τύπου Emacs, Kate και Vim." -#: C/gedit.xml:1373(para) -msgid "Python Console allows you to run commands in the python programming language." -msgstr "Κοσνόλα Python, σας επιτρέπει να εκτελείτε εντολές της γλώσσας προγραμματισμού python." +#: C/pluma.xml:1373(para) +msgid "Python Console allows you to run commands in the python programming language." +msgstr "Κοσνόλα Python, σας επιτρέπει να εκτελείτε εντολές της γλώσσας προγραμματισμού python." -#: C/gedit.xml:1376(para) -msgid "Snippets allows you to store frequently-used pieces of text and insert them quickly into a document." -msgstr "Snippets, σας επιτρέπει να αποθηκεύσετε συχνά χρησιμοποιούμενα τμήματα κειμένου και να τα εισάγετε γρήγορα σε ένα έγγραφο." +#: C/pluma.xml:1376(para) +msgid "Snippets allows you to store frequently-used pieces of text and insert them quickly into a document." +msgstr "Snippets, σας επιτρέπει να αποθηκεύσετε συχνά χρησιμοποιούμενα τμήματα κειμένου και να τα εισάγετε γρήγορα σε ένα έγγραφο." -#: C/gedit.xml:1379(para) -msgid "Sort arranges selected lines of text into alphabetical order." -msgstr "Ταξινόμηση, ταξινομεί τις επιλεγμένες γραμμές κειμένου σε αλφαβητική σειρά." +#: C/pluma.xml:1379(para) +msgid "Sort arranges selected lines of text into alphabetical order." +msgstr "Ταξινόμηση, ταξινομεί τις επιλεγμένες γραμμές κειμένου σε αλφαβητική σειρά." -#: C/gedit.xml:1382(para) -msgid "Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document." -msgstr "Έλεγχος ορθογραφίας, διορθώνει τα ορθογραφικά λάθη στο επιλεγμένο κείμενο ή σημειώνει αυτόματα τα λάθη στο έγγραφο." +#: C/pluma.xml:1382(para) +msgid "Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document." +msgstr "Έλεγχος ορθογραφίας, διορθώνει τα ορθογραφικά λάθη στο επιλεγμένο κείμενο ή σημειώνει αυτόματα τα λάθη στο έγγραφο." -#: C/gedit.xml:1385(para) -msgid "Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane." -msgstr "Λίστα ετικετών, σας επιτρέπει να εισάγετε συνήθεις ετικέτες για την HTML και άλλες γλώσσες από μια λίστα στο πλευρικό πλαίσιο." +#: C/pluma.xml:1385(para) +msgid "Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane." +msgstr "Λίστα ετικετών, σας επιτρέπει να εισάγετε συνήθεις ετικέτες για την HTML και άλλες γλώσσες από μια λίστα στο πλευρικό πλαίσιο." -#: C/gedit.xml:1389(para) -msgid "For more information on creating plugins, see the gedit website." -msgstr "Για περισσότερες πληροφορίες σχετικά με τη δημιουργία προσθέτων, δείτε τον ιστότοπο τουgedit." +#: C/pluma.xml:1389(para) +msgid "For more information on creating plugins, see the pluma website." +msgstr "Για περισσότερες πληροφορίες σχετικά με τη δημιουργία προσθέτων, δείτε τον ιστότοπο τουpluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Πρόσθετο Αλλαγή πεζών κεφαλαίων" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "The Change Case plugin changes the case of the selected text." msgstr "Το πρόσθετο Αλλαγή πεζών κεφαλαίων αλλάζει τα γράμματα (πεζά - κεφαλαία) του επιλεγμένου κειμένου." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "The following items are added to the Edit menu when the Change Case plugin is enabled:" msgstr "Τα ακόλουθα αντικείμενα προστίθενται στο μενού Επεξεργασία όταν είναι ενεργό το πρόσθετο Αλλαγή πεζών κεφαλαίων:" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Αντικείμενο μενού" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Ενέργεια" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Παράδειγμα" -#: C/gedit.xml:1415(guisubmenu) -#: C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) -#: C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) +#: C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) +#: C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Αλλαγή πεζών - κεφαλαίων" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Όλα κεφαλαία" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Αλλάζει κάθε χαρακτήρα σε κεφαλαίο." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "Αυτό το κείμενο γίνεται ΑΥΤΟ ΤΟ ΚΕΙΜΕΝΟ" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Όλα πεζά" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Αλλάζει κάθε χαρακτήρα σε πεζό." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "Αυτό το κείμενο γίνεται αυτό το κείμενο" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Αντιστροφή πεζών - κεφαλαίων" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "Change each lowercase character to uppercase, and change each uppercase character to lowercase." msgstr "Αλλάζει κάθε πεζό χαρακτήρα σε κεφαλαίο και αντίστροφα." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "Αυτό Το Κείμενο γίνεται αΥΤΟ τΟ κΕΙΜΕΝΟ" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Αρχικά κεφαλαία" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Αλλάζει τον πρώτο χαρακτήρα κάθε λέξης σε κεφαλαίο." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "αυτό το κείμενο γίνεται Αυτό Το Κείμενο" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Πρόσθετο στατιστικών εγγράφου" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "The Document Statistics plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a Document Statistics dialog. To use the Document Statistics plugin, perform the following steps:" msgstr "Το πρόσθετο Στατιστικά εγγράφου καταμετρά τον αριθμό γραμμών, λέξεων, χαρακτήρων με τα διαστήματα, χαρακτήρων χωρίς τα διαστήματα, και τα bytes του τρέχοντος αρχείου. Το πρόσθετο απεικονίζει τα αποτελέσματα σε ένα παράθυρο διαλόγου Στατιστικά εγγράφου. Για να χρησιμοποιήσετε το πρόσθετο Στατιστικά εγγράφου, κάντε τα ακόλουθα βήματα:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "Choose ToolsDocument Statistics to display the Document Statistics dialog. The Document Statistics dialog displays the following information about the file:" msgstr "Επιλέξτε ΕργαλείαΣτατιστικά εγγράφου για να εμφανίσετε το παράθυρο διαλόγου Στατιστικά εγγράφου. Τα παράθυρο διαλόγου εμφανίζει τις ακόλουθες πληροφορίες σχετικά με το αρχείο:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Αριθμός γραμμών στο τρέχον έγγραφο." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Αριθμός λέξεων στο τρέχον έγγραφο." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "Αριθμός χαρακτήρων, συμπεριλαμβανομένων των διαστημάτων, στο τρέχον έγγραφο." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Αριθμός χαρακτήρων, μη συμπεριλαμβανομένων των διαστημάτων, στο τρέχον έγγραφο." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "Αριθμός bytes στο τρέχον έγγραφο." -#: C/gedit.xml:1467(para) -msgid "You can continue to update the gedit file while the Document Statistics dialog is open. To refresh the contents of the Document Statistics dialog, click Update." -msgstr "Μπορείτε να συνεχίσετε να ενημερώνετε το αρχείο του gedit ενώ το παράθυρο διαλόγου Στατιστικά εγγράφου είναι ανοιχτό. Για να ανανεώσετε τα περιεχόμενα του παραθύρου διαλόγου Στατιστικά εγγράφου, κάντε κλικ στο Ενημέρωση." +#: C/pluma.xml:1467(para) +msgid "You can continue to update the pluma file while the Document Statistics dialog is open. To refresh the contents of the Document Statistics dialog, click Update." +msgstr "Μπορείτε να συνεχίσετε να ενημερώνετε το αρχείο του pluma ενώ το παράθυρο διαλόγου Στατιστικά εγγράφου είναι ανοιχτό. Για να ανανεώσετε τα περιεχόμενα του παραθύρου διαλόγου Στατιστικά εγγράφου, κάντε κλικ στο Ενημέρωση." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Πρόσθετο εξωτερικά εργαλεία" -#: C/gedit.xml:1475(para) -msgid "The External Tools plugin allows you to execute external commands from gedit. You can pipe some content into a command and exploit its output (for example, sed), or launch a predefined command (for example, make)." -msgstr "Το πρόσθετο Εξωτερικά εργαλεία σας επιτρέπει να εκτελέσετε εξωτερικές εντολές από το gedit. Μπορείτε να διοχετεύσετε κάποιο περιεχόμενο σε μια εντολή και να εκμεταλλευθείτε το αποτέλεσμά της (π.χ., sed) ή να εκκινήσετε μια προκαθορισμένη εντολή (π.χ., make)." +#: C/pluma.xml:1475(para) +msgid "The External Tools plugin allows you to execute external commands from pluma. You can pipe some content into a command and exploit its output (for example, sed), or launch a predefined command (for example, make)." +msgstr "Το πρόσθετο Εξωτερικά εργαλεία σας επιτρέπει να εκτελέσετε εξωτερικές εντολές από το pluma. Μπορείτε να διοχετεύσετε κάποιο περιεχόμενο σε μια εντολή και να εκμεταλλευθείτε το αποτέλεσμά της (π.χ., sed) ή να εκκινήσετε μια προκαθορισμένη εντολή (π.χ., make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "Use the External Tools Manager to create and edit commands. To run an external command, choose it from the Tools menu." msgstr "Χρησιμοποιήστε τη Διαχείριση εξωτερικών εργαλείων για να δημιουργήσετε και επεξεργασθείτε εντολές. Για να εκτελέσετε μια εξωτερική εντολή, επιλέξτε τη από το μενού Εργαλεία." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Ενσωματωμένες εντολές" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "The following commands are provided with the External Tools plugin:" msgstr "Οι ακόλουθες εντολές παρέχονται με το πρόσθετο Εξωτερικά εργαλεία:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Κατασκευή (Build)" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "Runs make in the current document's directory." msgstr "Εκτελεί τη make στον κατάλογο του τρέχοντος εγγράφου." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Περιεχόμενα καταλόγου" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "Lists the contents of the current document's directory in a new document." msgstr "Εμφανίζει τα περιεχόμενα του καταλόγου του τρέχοντος εγγράφου σε ένα νέο έγγραφο." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Μεταβλητές περιβάλλοντος" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Εμφανίζει τις μεταβλητές περιβάλλοντος στο κάτω πλαίσιο." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "Searches for a term in all files in the current document directory, using pattern matching. Results are shown in the bottom pane." msgstr "Αναζητά για έναν όρο σε όλα τα αρχεία του καταλόγου του τρέχοντος εγγράφου, χρησιμοποιώντας ταίριασμα μορφής. Τα αποτελέσματα εμφανίζονται στο κάτω πλαίσιο." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Αφαίρεση τελικών διαστημάτων" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Αφαιρεί όλα τα διαστήματα από το τέλος των γραμμών στο έγγραφο." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Ορισμός εντολής" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "To add an external command, choose ToolsExternal Tools." msgstr "Για να προσθέσετε μια εξωτερική , επιλέξτε ΕργαλείαΕξωτερικά εργαλεία." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "In the External Tools Manager window, click New. You can speficy the following details for the new command:" msgstr "Στο παράθυρο της Διαχείρισης εξωτερικών εργαλείων, κάντε κλικ στο Νέο. Μπορείτε να καθορίσετε τις ακόλουθες λεπτομέρειες για τη νέα εντολή:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Περιγραφή" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "This description is shown in the statusbar when the menu command is chosen." msgstr "Αυτή η περιγραφή εμφανίζεται στη γραμμή κατάστασης όταν έχει επιλεγεί η εντολή μενού." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Επιταχυντής" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Εισάγετε μια συντόμευση πληκτρολογίου για την εντολή." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Εντολές" -#: C/gedit.xml:1527(para) -msgid "The actual commands to be run. Several gedit environment variables can be used to pass content to these commands: see ." -msgstr "Οι εντολές που θα εκτελεστούν. Πολλές μεταβλητές περιβάλλοντος του gedit μπορούν να χρησιμοποιηθούν για να περάσει περιεχόμενο σε αυτές τις εντολές: δείτε το ." +#: C/pluma.xml:1527(para) +msgid "The actual commands to be run. Several pluma environment variables can be used to pass content to these commands: see ." +msgstr "Οι εντολές που θα εκτελεστούν. Πολλές μεταβλητές περιβάλλοντος του pluma μπορούν να χρησιμοποιηθούν για να περάσει περιεχόμενο σε αυτές τις εντολές: δείτε το ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Είσοδος" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "The content to give to the commands (as stdin): the entire text of the current document, the current selection, line, or word." msgstr "Το περιεχόμενο που θα δοθεί στις εντολές (όπως stdin): ολόκληρο το κείμενο του τρέχοντος εγγράφου, η τρέχουσα επιλογή, γραμμή ή λέξη." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Έξοδος" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "What to do with the output of the commands: display in the bottom pane, put in a new document, or place in the current document, at the end, at the cursor position, or replacing the selection or the entire document." msgstr "Τι θα γίνει το αποτέλεσμα των εντολών: εμφάνιση στο κάτω πλαίσιο, τοποθέτηση σε νέο έγγραφο ή στο τρέχον έγγραφο, στο τέλος, στη θέση του δρομέα ή αντικατάσταση της επιλογής ή ολόκληρου του εγγράφου." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Πεδίο εφαρμογής" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "Determines which sort of documents can be affected by the command, for example whether saved or not, and local or remote." msgstr "Καθορίζει τι είδους έγγραφα μπορούν να επηρεαστούν από την εντολή, π.χ. αν θα είναι αποθηκευμένα ή όχι, τοπικά ή απομακρυσμένα." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Επεξεργασία και αφαίρεση εργαλείων" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "To edit a tool, select it in the list and make changes to its properties." msgstr "Για να επεξεργασθείτε ένα εργαλείο, επιλέξτε το από τη λίστα και αλλάξτε τις ιδιότητές του." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Για να μετονομάσετε ένα εργαλείο, κάντε του ξανά κλικ στη λίστα." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "To restore a built-in tool that you have changed, press Revert." msgstr "Για να επαναφέρετε ένα ενσωματωμένο εργαλείο που έχετε αλλάξει, πατήστε Επαναφορά." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created yourself." msgstr "Για να αφαιρέσετε ένα εργαλείο, επιλέξτε το στη λίστα και πατήστε Αφαίρεση. Δεν μπορείτε να αφαιρέσετε ενσωματωμένα εργαλεία, μόνο αυτά που έχετε δημιουργήσει μόνοι σας." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Μεταβλητές" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "You can use the following variables in the Commands field of the command definition:" msgstr "Μπορείτε να χρησιμοποιήσετε τις ακόλουθες μεταβλητές στο πεδίο Εντολές στον ορισμό εντολών:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Πρόσθετο περιηγητή αρχείων" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "The File Browser Plugin shows your files and folders in the side pane, allowing you to quickly open files." msgstr "Το πρόσθετο Πειρηγητής αρχείων σας δείχνει τα αρχεία και τους φακέλους σε ένα πλευρικό πλαίσιο, επιτρέποντάς σας να ανοίξετε γρήγορα αρχεία." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "To view the File Browser, choose ViewSide Pane and then click on the tab showing the File Browser icon at the bottom of the side pane." msgstr "Για να προβάλετε τον περιηγητή αρχείων, επιλέξτε ΠροβολήΠλευρικό πλαίσιο και μετά κάντε κλικ στην καρτέλα που δείχνει το εικονίδιο του περιηγητή αρχείων στο πλευρικό πλαίσιο." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Περιήγηση στα αρχεία σας" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it." msgstr "Η καρτέλα του περιηγητή αρχείων αρχικά δείχνει τους σελιδοδείκτες του διαχειριστή αρχείων σας. Για να περιηγηθείτε στα περιεχόμενα οποιουδήποτε αντικειμένου κάντε διπλό κλικ σε αυτό." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar." msgstr "Για να εμφανίσετε ένα γονικό φάκελο, επιλέξτε από τη λίστα ή πατήστε το πάνω βέλος στη γραμμή εργαλείων του περιηγητή αρχείων." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "To show the folder that contains the document you are currently working on, right-click in the file list and choose Set root to active document." msgstr "Για να εμφανίσετε το φάκελο που περιέχει το έγγραφο στο οποίο ήδη εργάζεστε, κάντε δεξί κλικ στη λίστα αρχείων και επιλέξτε Ορισμός του ριζικού στο ενεργό έγγραφο." -#: C/gedit.xml:1598(para) -msgid "To open a file in gedit, double-click it in the file list." -msgstr "Για να ανοίξετε ένα αρχείο στο gedit, κάντε διπλό κλικ σε αυτό στη λίστα." +#: C/pluma.xml:1598(para) +msgid "To open a file in pluma, double-click it in the file list." +msgstr "Για να ανοίξετε ένα αρχείο στο pluma, κάντε διπλό κλικ σε αυτό στη λίστα." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Δημιουργία αρχείων και φακέλων" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose New File." msgstr "Για να δημιουργήσετε ένα νέο, κενό αρχείο κειμένου στον τρέχοντα φάκελο που φαίνεται στον περιηγητή, κάντε δεξί κλικ στη λίστα αρχείων και επιλέξτε Νέο αρχείο." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "To create a new folder in the current folder shown in the browser, right-click in the file list and choose New Folder." msgstr "Για να δημιουργήσετε ένα νέο φάκελο μέσα στον τρέχοντα φάκελο που φαίνεται στον περιηγητή, κάντε δεξί κλικ στη λίστα αρχείων και επιλέξτε Νέος φάκελος." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Πρόσθετο εσοχής γραμμών" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "The Indent Lines plugin adds or removes space from the beginning of lines of text." msgstr "Το πρόσθετο Εσοχή γραμμών προσθέτει ή αφαιρεί διάστημα από την αρχή των γραμμών κειμένου." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Για να προσθέσετε ή να αφαιρέσετε εσοχή σε κείμενο, ακολουθήστε τα εξής βήματα:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "Select the lines that you want to indent. To indent or unindent a single line, place the cursor anywhere on that line." msgstr "Επιλέξτε τις γραμμές που θέλετε να εργασθείτε. Για να προσθέσετε ή να αφαιρέσετε την εσοχή από μία μόνο γραμμή, τοποθετήστε το δρομέα σε αυτή τη γραμμή." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "To indent the text, choose EditIndent." msgstr "Για να προσθέσετε εσοχή στο κείμενο, επιλέξτε επεξεργασίαΕσοχή." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "To remove the indentation, choose EditUnindent." msgstr "Για να αφαιρέσετε την εσοχή από το κείμενο, επιλέξτε επεξεργασίαΑφαίρεση Εσοχής." -#: C/gedit.xml:1625(para) -msgid "The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see ." -msgstr "Το μέγεθος του διαστήματος που θα χρησιμοποιηθεί καθώς και αν θα χρησιμοποιηθούν χαρακτήρες στηλοθέτη ή χαρακτήρες κενού διαστήματος, εξαρτάται από την επιλογή Στηλοθέτες στις ρυθμίσεις των Προτιμήσεων επεξεργαστή: δείτε το ." +#: C/pluma.xml:1625(para) +msgid "The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see ." +msgstr "Το μέγεθος του διαστήματος που θα χρησιμοποιηθεί καθώς και αν θα χρησιμοποιηθούν χαρακτήρες στηλοθέτη ή χαρακτήρες κενού διαστήματος, εξαρτάται από την επιλογή Στηλοθέτες στις ρυθμίσεις των Προτιμήσεων επεξεργαστή: δείτε το ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Πρόσθετο εισαγωγής ημερομηνίας/ώρας" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "The Insert Date/Time plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:" msgstr "Το πρόσθετο Εισαγωγή ημερομηνίας/ώρας εισάγει την τρέχουσα ημερομηνία και ώρα σε ένα έγγραφο. Για να κάνετε χρήση του προσθέτου ακολουθήστε τα εξής βήματα:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "Choose EditInsert Date and Time." msgstr "Επιλέξτε ΕπεξεργασίαΕισαγωγή ημερομηνίας και ώρας." -#: C/gedit.xml:1634(para) -msgid "If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, gedit displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. Click Insert to close the Insert Date and Time dialog. gedit inserts the date/time at the cursor position in the current file." -msgstr "Αν δεν έχετε ρυθμίσει το πρόσθετο Εισαγωγή ημερομηνίας/ώρας να εισάγει αυτόματα την ημερομηνία/ώρα χωρίς να σας ρωτά για τη μορφή, το gedit εμφανίζει το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας. Επιλέξτε την κατάλληλη μορφοποίηση ημερομηνίας/ώρας από τη λίστα. Κάντε κλικ στο κουμπί Εισαγωγή για κλείσετε το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας. Το gedit εισάγει την ημερομηνία/ώρα στη θέση του δρομέα στο τρέχον αρχείο." +#: C/pluma.xml:1634(para) +msgid "If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, pluma displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. Click Insert to close the Insert Date and Time dialog. pluma inserts the date/time at the cursor position in the current file." +msgstr "Αν δεν έχετε ρυθμίσει το πρόσθετο Εισαγωγή ημερομηνίας/ώρας να εισάγει αυτόματα την ημερομηνία/ώρα χωρίς να σας ρωτά για τη μορφή, το pluma εμφανίζει το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας. Επιλέξτε την κατάλληλη μορφοποίηση ημερομηνίας/ώρας από τη λίστα. Κάντε κλικ στο κουμπί Εισαγωγή για κλείσετε το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας. Το pluma εισάγει την ημερομηνία/ώρα στη θέση του δρομέα στο τρέχον αρχείο." -#: C/gedit.xml:1635(para) -msgid "If you have configured gedit to use one particular date/time format, the Insert Date and Time dialog is not displayed. The date/time is automatically entered at the cursor position in the current file." -msgstr "Αν έχετε ρυθμίσει το gedit να χρησιμοποιεί μια συγκεκριμένη μορφοποίηση ημερομηνίας/ώρας, το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας δεν εμφανίζεται. Το gedit εισάγει αυτόματα την ημερομηνία/ώρα στη θέση του δρομέα στο τρέχον αρχείο." +#: C/pluma.xml:1635(para) +msgid "If you have configured pluma to use one particular date/time format, the Insert Date and Time dialog is not displayed. The date/time is automatically entered at the cursor position in the current file." +msgstr "Αν έχετε ρυθμίσει το pluma να χρησιμοποιεί μια συγκεκριμένη μορφοποίηση ημερομηνίας/ώρας, το παράθυρο διαλόγου Εισαγωγή ημερομηνίας και ώρας δεν εμφανίζεται. Το pluma εισάγει αυτόματα την ημερομηνία/ώρα στη θέση του δρομέα στο τρέχον αρχείο." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Ρύθμιση του πρόσθετου Εισαγωγή ημερομηνίας/ώρας" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Για να ρυθμίσετε το πρόσθετο Εισαγωγή ημερομηνίας/ώρας, κάντε τα ακόλουθα:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Επιλέξτε το πρόσθετο Εισαγωγή ημερομηνίας/ώρας." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "Click Configure Plugin to display the Configure insert date/time plugin dialog." msgstr "Κάντε κλικ στο Προσαρμογή προσθέτου για να εμφανίσετε το παράθυρο διαλόγου Ρύθμιση προσθέτου Εισαγωγή ημερομηνίας/ώρας." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Επιλέξτε ένα από τα ακόλουθα:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "To specify the date/time format each time you insert the date/time, select the Prompt for a format option." msgstr "Για να ορίσετε τη μορφή ημερομηνίας/ώρας κάθε φορά που εισάγετε την ημερομηνία/ώρα, επιλέξτε το Ερώτημα για μορφή." -#: C/gedit.xml:1660(para) -msgid "To use the same gedit-provided date/time format each time you insert the date/time, select the Use the selected format option, then select the appropriate format from the list. When you select this option, gedit does not prompt you for the date/time format when you choose EditInsert Date and Time." -msgstr "Για να χρησιμοποιήσετε την ίδια μορφή ημερομηνίας/ώρας όπως παρέχεται από το gedit, κάθε φορά που τις εισάγετε, επιλέξτε το Χρήση της επιλεγμένης μορφοποίησης και μετά επιλέξτε την κατάλληλη μορφοποίηση από τη λίστα. Όταν κάνετε αυτή την επιλογή, το gedit δεν σας ερωτά για τη μορφή ημερομηνίας/ώρας όταν επιλέγετε ΕπεξεργασίαΕισαγωγή ημερομηνίας και ώρας." +#: C/pluma.xml:1660(para) +msgid "To use the same pluma-provided date/time format each time you insert the date/time, select the Use the selected format option, then select the appropriate format from the list. When you select this option, pluma does not prompt you for the date/time format when you choose EditInsert Date and Time." +msgstr "Για να χρησιμοποιήσετε την ίδια μορφή ημερομηνίας/ώρας όπως παρέχεται από το pluma, κάθε φορά που τις εισάγετε, επιλέξτε το Χρήση της επιλεγμένης μορφοποίησης και μετά επιλέξτε την κατάλληλη μορφοποίηση από τη λίστα. Όταν κάνετε αυτή την επιλογή, το pluma δεν σας ερωτά για τη μορφή ημερομηνίας/ώρας όταν επιλέγετε ΕπεξεργασίαΕισαγωγή ημερομηνίας και ώρας." -#: C/gedit.xml:1663(para) -msgid "To use the same customized date/time format each time you insert the date/time, select the Use custom format option, then enter the appropriate format in the text box. For more information about how to specify a custom format, see strftime3. When you select this option, gedit does not prompt you for the date/time format when you choose EditInsert Date and Time." -msgstr "Για να χρησιμοποιήσετε την ίδια προσαρμοσμένη μορφή ημερομηνίας/ώρας κάθε φορά που την εισάγετε, επιλέξτε το Χρήση προσαρμοσμένης μορφής και μετά εισάγετε την επιθυμητή μορφή στο πεδίο κειμένου. Για περισσότερες πληροφορίες σχετικά με τον ορισμό μιας προσαρμοσμένης μορφοποίησης δείτε το strftime3. Όταν κάνετε αυτή την επιλογή, το gedit δεν σας ρωτάει για τη μορφή της ημερομηνίας/ώρας όταν επιλέγετε ΕπεξεργασίαΕισαγωγή ημερομηνίας και ώρας." +#: C/pluma.xml:1663(para) +msgid "To use the same customized date/time format each time you insert the date/time, select the Use custom format option, then enter the appropriate format in the text box. For more information about how to specify a custom format, see strftime3. When you select this option, pluma does not prompt you for the date/time format when you choose EditInsert Date and Time." +msgstr "Για να χρησιμοποιήσετε την ίδια προσαρμοσμένη μορφή ημερομηνίας/ώρας κάθε φορά που την εισάγετε, επιλέξτε το Χρήση προσαρμοσμένης μορφής και μετά εισάγετε την επιθυμητή μορφή στο πεδίο κειμένου. Για περισσότερες πληροφορίες σχετικά με τον ορισμό μιας προσαρμοσμένης μορφοποίησης δείτε το strftime3. Όταν κάνετε αυτή την επιλογή, το pluma δεν σας ρωτάει για τη μορφή της ημερομηνίας/ώρας όταν επιλέγετε ΕπεξεργασίαΕισαγωγή ημερομηνίας και ώρας." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "Click OK to close the Configure insert date/time plugin dialog." msgstr "Πατήστε OK για να κλείσετε το παράθυρο διαλόγου Προσαρμογή προσθέτου Εισαγωγή ημερομηνίας/ώρας." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "To close the Preferences dialog, click Close." msgstr "Για να κλείσετε το παράθυρο διαλόγου Προτιμήσεις, κάντε κλικ στο Κλείσιμο." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Πρόσθετο Modelines" -#: C/gedit.xml:1679(para) -msgid "The Modelines plugin allows you to set preferences for individual documents. A modeline is a line of text at the start or end of the document with settings that gedit recognises." -msgstr "Το πρόσθετο Modelines σας επιτρέπει να ορίσετε προτιμήσεις για συγκεκριμένα έγγραφα. Μια modeline είναι μια γραμμή κειμένου στην αρχή ή το τέλος του εγγράφου με ρυθμίσεις που αναγνωρίζει το gedit." +#: C/pluma.xml:1679(para) +msgid "The Modelines plugin allows you to set preferences for individual documents. A modeline is a line of text at the start or end of the document with settings that pluma recognises." +msgstr "Το πρόσθετο Modelines σας επιτρέπει να ορίσετε προτιμήσεις για συγκεκριμένα έγγραφα. Μια modeline είναι μια γραμμή κειμένου στην αρχή ή το τέλος του εγγράφου με ρυθμίσεις που αναγνωρίζει το pluma." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "Preferences set using modelines take precedence over the ones specified in the preference dialog." msgstr "Οι προτιμήσεις που ορίζονται με τις modelines υπερισχύουν αυτών που καθορίζονται στο παράθυρο διαλόγου προτιμήσεις." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "Μπορείτε να ορίσετε τις ακόλουθες προτιμήσεις με modelines:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Πλάτος στηλοθέτη" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Πλάτος εσοχής" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Εισαγωγή κενών διαστημάτων αντί στηλοθετών" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Πλάτος δεξιού περιθωρίου" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "The Modelines plugin supports a subset of the options used by other text editors Emacs, Kate and Vim." msgstr "Το πρόσθετο Modelines υποστηρίζει ένα υποσύνολο των επιλογών που χρησιμοποιούνται από άλλους επεξεργαστές κειμένου, τους Emacs, Kate και Vim." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Emacs Modelines" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "The first two lines of a document are scanned for Emacs modelines." msgstr "Οι πρώτες δύο γραμμές ενός κειμένου σαρώνονται για Emacs modelines." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "The Emacs options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the GNU Emacs Manual." msgstr "Υποστηρίζονται οι επιλογές του Emacs για πλάτος στηλοθέτη, εσοχή, εσοχή στηλοθετών και αυτόματη αναδίπλωση. Για περισσότερες πληροφορίες δείτε το GNU Emacs Manual." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Kate Modelines" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "The first and last ten lines a document are scanned for Kate modelines." msgstr "Η πρώτη και οι τελευταίες δέκα γραμμές ενός κειμένου σαρώνονται για Kate modelines." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "The Kate options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the Kate website." msgstr "Υποστηρίζονται οι επιλογές του Kate για πλάτος στηλοθέτη, εσοχή με διαστήματα, αναδίπλωση λέξης και αναδίπλωση λέξης σε στήλη. Για περισσότερες πληροφορίες δείτε το Kate website." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Vim Modelines" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "The first and last three lines a document are scanned for Vim modelines." msgstr "Η πρώτη και οι τελευταίες τρεις γραμμές ενός κειμένου σαρώνονται για Vim modelines." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "The Vim options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the Vim website." msgstr "Υποστηρίζονται οι επιλογές του vim για et, expandtab, ts, tabstop, sw, shiftwidth, wrap, και textwidth. Για περισσότερες πληροφορίες δείτε το Vim website." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Πρόσθετο κονσόλας Python" -#: C/gedit.xml:1721(para) -msgid "The Python Console Plugin allows you to run commands in the python programming language from gedit. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field." -msgstr "Το πρόσθετο Κονσόλα Python σας επιτρέπει να εκτελείτε εντολές της γλώσσας προγραμματισμού Python από το gedit. Η ενεργοποίηση του προσθέτου προσθέτει μια καρτέλα στο κάτω πλαίσιο. Αυτή δείχνει τα πρόσφατα αποτελέσματα και ένα πεδίο γραμμής εντολών." +#: C/pluma.xml:1721(para) +msgid "The Python Console Plugin allows you to run commands in the python programming language from pluma. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field." +msgstr "Το πρόσθετο Κονσόλα Python σας επιτρέπει να εκτελείτε εντολές της γλώσσας προγραμματισμού Python από το pluma. Η ενεργοποίηση του προσθέτου προσθέτει μια καρτέλα στο κάτω πλαίσιο. Αυτή δείχνει τα πρόσφατα αποτελέσματα και ένα πεδίο γραμμής εντολών." -#: C/gedit.xml:1722(para) -msgid "Commands entered into the python console are not checked before they are run. It is therefore possible to hang gedit, for example by entering an infinite loop." -msgstr "Οι εντολές που εισάγονται στην κονσόλα της python δεν ελέγχονται πριν εκτελεσθούν. Επομένως, είναι δυνατόν να \"κρεμάσει\" το gedit, π.χ. εισάγοντας έναν ατέρμονα βρόγχο." +#: C/pluma.xml:1722(para) +msgid "Commands entered into the python console are not checked before they are run. It is therefore possible to hang pluma, for example by entering an infinite loop." +msgstr "Οι εντολές που εισάγονται στην κονσόλα της python δεν ελέγχονται πριν εκτελεσθούν. Επομένως, είναι δυνατόν να \"κρεμάσει\" το pluma, π.χ. εισάγοντας έναν ατέρμονα βρόγχο." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Πρόσθετο αποσπασμάτων κειμένου (snippets)" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "The Snippets plugin allows you to store frequently-used pieces of text, called snippets, and insert them quickly into a document." msgstr "Το πρόσθετο Snippets σας επιτρέπει να αποθηκεύσετε συχνά χρησιμοποιούμενα τμήματα κειμένου, αποκαλούμενα αποσπάσματα (snippets) και να εισάγετε γρήγορα σε ένα έγγραφο." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents." msgstr "Τα αποσπάσματα (snippets) είναι εξειδικευμένα για το συντακτικό της γλώσσας του τρέχοντος εγγράφου. Π.χ. όταν εργάζεσται με ένα έγγραφο σε HTML μπορείτε να επιλέξετε από μια λίστα snippets που χρησιμοποιούνται στην HTML. Επιπλέον, μερικά αποσπάσματα έχουν καθολική ισχύ και είναι διαθέσιμα σε όλα τα έγγραφα." -#: C/gedit.xml:1729(para) -msgid "A number of built-in snippets are installed with gedit, which can be modified." -msgstr "Με το gedit, εγκαθιστάται και ένας αριθμός ενσωματωμένων αποσπασμάτων, τα οποία μπορούν να τροποποιηθούν." +#: C/pluma.xml:1729(para) +msgid "A number of built-in snippets are installed with pluma, which can be modified." +msgstr "Με το pluma, εγκαθιστάται και ένας αριθμός ενσωματωμένων αποσπασμάτων, τα οποία μπορούν να τροποποιηθούν." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Εισαγωγή Αποσπασμάτων (Snippets)" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember." msgstr "Για να εισάγετε ένα απόσπασμα (snippet) σε ένα έγγραφο, πληκτρολογείστε το έναυσμα tab του και πατήστε Tab. Συνήθως αυτό είναι τα πρώτα γράμματα του αποσπάσματος ή κάτι άλλο σύντομο και εύκολο στην απομνημόνευση." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "Alternatively, press CtrlSpace to see a list of snippets you can insert." msgstr "Εναλλακτικά, πατήστε CtrlSpace για δείτε μια λίστα αποσπασμάτων που μπορείτε να εισάγετε." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Προσθήκη αποσπασμάτων" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Για να δημιουργήσετε ένα καινούριο απόσπασμα, κάντε τα ακόλουθα:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "Choose ToolsManage Snippets. The Snippets Manager window opens." msgstr "Επιλέξτε ΕργαλείαΔιαχείριση Αποσπασμάτων." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "The list of snippets is grouped by language. Select the language you want to add a snippet to, or a snippet in that language group. To add a snippet for all languages, choose Global at the top of the list. The syntax of the document you are currently working with is shown by default." msgstr "Η λίστα αποσπασμάτων είναι ομαδοποιημένη κατά γλώσσα. Επιλέξτε τη γλώσσα στην οποία επιθυμείτε να προσθέσετε ένα απόσπασμα ή ένα απόσπασμα σε αυτή την ομάδα. Για να προσθέσετε ένα απόσπασμα σε όλες τις γλώσσες, επιλέξτε Καθολικό στην κορυφή της λίστας. Η σύνταξη του εγγράφου στο οποίο εργάζεστε εμφανίζεται από προεπιλογή." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "Κάντε κλικ στο Νέο. Ένα νέο απόσπασμα εμφανίζεται στη λίστα." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Εισάγετε τις ακόλουθες πληροφορίες για το νέο απόσπασμα:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Όνομα" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "Enter a name for the snippet in the text field within the snippet list. The name of a snippet serves only as a reminder of its purpose. You can change name of a snippet you create by clicking on it in the list." msgstr "Εισάγετε ένα όνομα για το απόσπασμα στο πεδίο κειμένου εντός της λίστας. Το όνομα του αποσπάσματος εξυπηρετεί μόνο ως υπενθύμιση του σκοπού του. Μπορείτε να αλλάξετε το όνομα ενός αποσπάσματος που δημιουργήσατε κάνοντας κλικ σε αυτό στη λίστα." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Κείμενο αποσπάσματος" -#: C/gedit.xml:1760(para) -msgid "Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see ." -msgstr "Εισάγετε το κείμενο του αποσπάσματος στο πεδίο κειμένου Επεξεργασία αποσπάσματος. Για ειδικούς κώδικες που μπορείτε να χρησιμοποιήσετε, δείτε το ." +#: C/pluma.xml:1760(para) +msgid "Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see ." +msgstr "Εισάγετε το κείμενο του αποσπάσματος στο πεδίο κειμένου Επεξεργασία αποσπάσματος. Για ειδικούς κώδικες που μπορείτε να χρησιμοποιήσετε, δείτε το ." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "You can switch back to the document window to copy text without closing the Snippets Manager window." msgstr "Μπορείτε να επιστρέψετε στο παράθυρο του εγγράφου για να αντιγράψετε κείμενο χωρίς να κλείσετε το παράθυρο της Διαχείρισης αποσπασμάτων." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Έναυσμα Tab (Tab Trigger)" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "Enter the tab trigger for the snippet. This is the text that you type before pressing Tab to insert the snippet." msgstr "Εισάγετε το έναυσμα για το πλήκτρο tab του αποσπάσματος. Αυτό είναι το κείμενο που πληκτρολογείτε πριν πατήσετε το πλήκτρο Tab για να εισάγετε το απόσπασμα." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "The tag must be either a single word comprising only letters, or any single character. The Tab trigger will highlight in red if an invalid tab trigger is entered." msgstr "Η ετικέτα πρέπει να είναι είτε μία μόνο λέξη αποτελούμενη μόνο από γράμματα ή οποιοσδήποτε ένας χαρακτήρας. Το Έναυσμα Tab θα επισημανθεί με κόκκινο αν εισαχθεί μη επιτρεπόμενο έναυσμα." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Πλήκτρο συντόμευσης" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Δώστε ένα πλήκτρο συντόμευσης για την εισαγωγή του αποσπάσματος." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Επεξεργασία και αφαίρεση αποσπασμάτων" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "To edit a snippet, select it in the list and make changes to its text and activation properties." msgstr "Για να επεξεργασθείτε ένα απόσπασμα, επιλέξτε το στη λίστα και κάντε αλλαγές στο κείμενό του και στις ιδιότητες ενεργοποίησής του." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "Για να μετονομάσετε ένα απόσπασμα, κάντε ξανά κλικ σε αυτό στη λίστα." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "To restore a built-in snippet that you have changed, press Revert." msgstr "Για να αποκαταστήσετε ένα ενσωματωμένο απόσπασμα στο οποίο έχετε κάνει αλλαγές, πατήστε Επαναφορά." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have created yourself." msgstr "Για να αφαιρέσετε ένα απόσπασμα, επιλέξτε το από τη λίστα και πατήστε Αφαίρεση. Δεν μπορείτε να αφαιρέσετε τα ενσωματωμένα αποσπάσματα, μόνο αυτά που έχετε δημιουργήσει οι ίδιοι." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Υποκαταστάσεις αποσπασμάτων" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document." msgstr "Επιπλέον της εισαγωγής αποθηκευμένου κειμένου, ένα απόσπασμα μπορεί να περιέχει προσαρμόσιμο κείμενο ή σημειωμένα διαστήματα όπου μπορείτε να προσθέσετε κείμενο μόλις το απόσπασμα εισαχθεί στο έγγραφό σας." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Μπορείτε να χρησιμοποιήσετε τους ακόλουθες κώδικες κράτησης θέσης στο κείμενο των αποσπασμάτων σας:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Θέσεις στηλοθέτη (Tab)" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "$n defines a tab placeholder, where n is any number from 1 upwards." msgstr "$n, καθορίζει μια θέση στηλοθέτη, όπου n οποιοσδήποτε αριθμός από το 1 και άνω." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "${n:default} defines a tab placeholder with a default value." msgstr "${n:default}, καθορίζει μια θέση στηλοθέτη με προκαθορισμένη τιμή." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "A tab placeholder marks a place in the snippet text where you can add extra text after the snippet is inserted." msgstr "Μια θέση κράτησης στηλοθέτη υποδεικνύει ένα σημείο στο κείμενο του αποσπάσματος όπου μπορείτε να εισάγετε επιπλέον κείμενο μετά την εισαγωγή του αποσπάσματος." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "To use tab placeholders, insert the snippet as normal. The cursor is placed at the first tab placeholder. Type text, and press Tab to advance to the next tab placeholder. The number in the placeholder code defines the order in which tab advances to each place in the text." msgstr "Για να χρησιμοποιήσετε θέσεις κράτησης στηλοθετών, εισάγετε το απόσπασμα κανονικά. Πληκτρολογήστε το κείμενο και πατήστε το Tab για να μεταβείτε στην επόμενη θέση στηλοθέτη. Ο αριθμός στον κώδικα του στηλοθέτη καθορίζει τη σειρά μετάβασης σε κάθε θέση στο κείμενο." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "Press ShiftTab to return to the previous tab placeholder. Pressing Tab when there are no more tab placeholders moves the cursor to the end of the snippet text, or to the end placeholder if it exists." msgstr "Πατήστε ShiftTab για να επιστρέψετε στην προηγούμενη θέση. Το πάτημα του Tab όταν δεν υπάρχουν άλλες θέσεις μετακινεί το δρομέα στο τέλος του κειμένου του αποσπάσματος ή στη θέση τέλους αν υπάρχει." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Επαναλαμβανόμενες θέσεις κράτησης" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "A repeated tab placeholder will mirror the placeholder already defined. This allows you to type in text only once that you want to appear several times in the snippet." msgstr "Μια επαναλαμβανόμενη κράτηση στηλοθέτη θα αντικατοπτρίζει τη θέση που έχει ήδη καθοριστεί. Αυτό σας επιτρέπει να πληκτρολογείτε μόνο μια φορά κείμενο που επιθυμείτε να εμφανίζεται πολλές φορές στο απόσπασμα." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Θέση κράτησης τέλους" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "$0 defines the end placeholder. This allows you to finish working with the snippet with the cursor at a point other than the end of the snippet text." msgstr "$0, καθορίζει τη θέση κράτησης τέλους. Αυτό σας επιτρέπει να τελειώνετε την εργασία σας με το απόσπασμα με το δρομέα σε σημείο άλλο από το τέλος του κειμένου του αποσπάσματος." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Μεταβλητές περιβάλλοντος" -#: C/gedit.xml:1817(para) -msgid "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to gedit can also be used:" -msgstr "Μεταβλητές περιβάλλοντος όπως $PATH και $HOME αντικαθίστανται στο κείμενο του αποσπάσματος. Οι ακόλουθες μεταβλητές, ειδικές για το gedit, μπορούν επίσης να χρησιμοποιηθούν:" +#: C/pluma.xml:1817(para) +msgid "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to pluma can also be used:" +msgstr "Μεταβλητές περιβάλλοντος όπως $PATH και $HOME αντικαθίστανται στο κείμενο του αποσπάσματος. Οι ακόλουθες μεταβλητές, ειδικές για το pluma, μπορούν επίσης να χρησιμοποιηθούν:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "Η τρέχουσα επιλογή κειμένου." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "The full filename of the document, or an empty string if the document isn't saved yet." msgstr "Το πλήρες όνομα αρχείου του εγγράφου ή μια κενή αλληλουχία αν το έγγραφο δεν έχει αποθηκευθεί ακόμα." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "The basename of the filename of the document, or an empty string if the document isn't saved yet." msgstr "Το βασικό όνομα του ονόματος αρχείου του εγγράφου ή μια κενή αλληλουχία αν το έγγραφο δεν έχει αποθηκευθεί ακόμα." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text." msgstr "Η λέξη στη θέση του δρομέα στο έγγραφο. Όταν αυτή η μεταβλητή χρησιμοποιηθεί, η τρέχουσα λέξη θα αντικατασταθεί από το κείμενο του αποσπάσματος (snippet)." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Θέσης κράτησης κελύφους" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "$(cmd) is replaced by the result of executing cmd in a shell." msgstr "$(cmd), αντικαθίσταται από το αποτέλεσμα της εκτέλεσης της cmd σε ένα κέλυφος." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "$(n:cmd) allows you to give this placeholder a reference, where n is any number from 1 upwards. Use $n to use the output from one shell placeholder as input in another." msgstr "$(n:cmd), σας επιτρέπει να δώσετε σε αυτή τη θέση κράτησης μια αναφορά, όπου το n είναι οποιοσδήποτε αριθμός από το 1 και άνω. Χρησιμοποιήστε το $n για να χρησιμοποιήσετε το αποτέλεσμα από μια θέση κράτησης κελύφους ως είσοδο σε μια άλλη." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Θέσεις κράτησης της Python" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "$<cmd> is replaced by the result of evaluating cmd in the python interpreter." msgstr "$<cmd>, αντικαθίσταται από το αποτέλεσμα της αξιολόγησης της cmd στο μεταφραστή της python." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "$<a:cmd> specifies another python placeholder as a dependency, where a gives its order in the snippet. This allows you to use python functions defined in another snippet. To specify several dependencies, separate the numbers with commas thus: $<a,b:cmd>" msgstr "$<a:cmd>, καθορίζει μια άλλη θέση κράτησης της python ως εξάρτηση, όπου το a ορίζει τη σειρά του στο απόσπασμα. Αυτό σας επιτρέπει να χρησιμοποιείτε λειτουργίες της python που ορίζονται σε άλλο απόσπασμα. Για να ορίσετε πολλές εξαρτήσεις, χωρίστε τους αριθμούς με κόμματα, όπως: $<a,b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "To use a variable in all other python snippets, declare it as global." msgstr "Για να χρησιμοποιήσετε μια μεταβλητή σε όλα τα άλλα αποσπάσματα της python, δηλώστε τη ως καθολική." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Πρόσθετο Ταξινόμηση" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "The Sort plugin arranges selected lines of text into alphabetical order." msgstr "Το πρόσθετο Ταξινόμηση διευθετεί τις επιλεγμένες γραμμές κειμένου σε αλφαβητική σειρά." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "You cannot undo the Sort operation, so you should save the file before performing the sort. To revert to the saved version of the file after the sort operation, choose FileRevert." msgstr "Δεν μπορείτε να αναιρέσετε την Ταξινόμηση, έτσι θα πρέπει να αποθηκεύετε το αρχείο πριν κάνετε την ταξινόμηση. Για να επαναφέρετε την αποθηκευμένη έκδοση του αρχείου μετά την ταξινόμηση, επιλέξτε ΑρχείοΕπαναφορά." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Για να χρησιμοποιήσετε το πρόσθετο Ταξινόμηση, κάντε τα ακόλουθα:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Επιλέξτε τις γραμμές κειμένου που θέλετε να ταξινομήσετε." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "Choose EditSort. The Sort dialog opens." msgstr "Επιλέξτε ΕπεξεργασίαΤαξινόμηση. Ανοίγει το παράθυρο διαλόγου Ταξινόμηση." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Επιλέξτε τους ακόλουθους τρόπους ταξινόμησης:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "To arrange the text in reverse order, select Reverse order." msgstr "Για να ταξινομήσετε το κείμενο με ανάστροφη σειρά, επιλέξτε Ανάστροφη σειρά." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "To delete duplicate lines, select Remove duplicates." msgstr "Για να διαγράψετε διπλές γραμμές, επιλέξτε Αφαίρεση διπλών γραμμών." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "Για αγνοήσετε τα πεζά - κεφαλαία, επιλέξτε Να αγνοούνται πεζά - κεφαλαία." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "To have the sort ignore the characters at the start of the lines, set the first character that should be used for sorting in the Start at column spin box." msgstr "Για να αγνοεί η ταξινόμηση τον πρώτο χαρακτήρα στην αρχή των γραμμών, ορίστε τον πρώτο χαρακτήρα που θα χρησιμοποιηθεί για την ταξινόμηση στο αριθμητικό πεδίο Έναρξη στη στήλη." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "Για να εκτελεστεί η ταξινόμηση, κάντε κλικ στο Ταξινόμηση." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Πρόσθετο ελέγχου ορθογραφίας" -#: C/gedit.xml:1901(para) -msgid "The Spell Checker plugin checks the spelling in the selected text. You can configure gedit to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:" -msgstr "Το πρόσθετο Έλεγχος ορθογραφίας ελέγχει την ορθογραφία στο επιλεγμένο κείμενο. Μπορείτε να διαμορφώσετε το gedit να ελέγχει αυτόματα την ορθογραφία ή μπορείτε να ελέγξετε την ορθογραφία χειροκίνητα, στην επιλεγμένη γλώσσα. Η ρύθμιση γλώσσας και οι ιδιότητες του αυτόματου ορθογραφικού ελέγχου ισχύουν σε έγγραφο ξεχωριστά. Για να χρησιμοποιήσετε το πρόσθετο Ορθογραφικός έλεγχος, κάντε τα ακόλουθα:" +#: C/pluma.xml:1901(para) +msgid "The Spell Checker plugin checks the spelling in the selected text. You can configure pluma to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:" +msgstr "Το πρόσθετο Έλεγχος ορθογραφίας ελέγχει την ορθογραφία στο επιλεγμένο κείμενο. Μπορείτε να διαμορφώσετε το pluma να ελέγχει αυτόματα την ορθογραφία ή μπορείτε να ελέγξετε την ορθογραφία χειροκίνητα, στην επιλεγμένη γλώσσα. Η ρύθμιση γλώσσας και οι ιδιότητες του αυτόματου ορθογραφικού ελέγχου ισχύουν σε έγγραφο ξεχωριστά. Για να χρησιμοποιήσετε το πρόσθετο Ορθογραφικός έλεγχος, κάντε τα ακόλουθα:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "Choose ToolsSet Language to display the Set language dialog. Select the appropriate language from the list. Click OK to close the Set language dialog." msgstr "Επιλέξτε ΕργαλείαΡύθμιση γλώσσας για να εμφανίσετε το παράθυρο διαλόγου Ρύθμιση γλώσσας. Επιλέξτε την κατάλληλη γλώσσα από τη λίστα. Κάντε κλικ στο OK για να κλείσετε το παράθυρο διαλόγου Ρύθμιση γλώσσας." -#: C/gedit.xml:1906(para) -msgid "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset the automatic spell check, choose ToolsAutocheck Spelling again. When automatic spell checking is set, an icon is displayed beside the Autocheck Spelling menu item. Automatic spell checking is unset by default, each time gedit starts." -msgstr "Για να γίνεται αυτόματος ορθογραφικός έλεγχος, επιλέξτε ΕργαλείαΑυτόματος ορθογραφικός έλεγχος. Για να αναιρέσετε τον αυτόματο ορθογραφικό έλεγχο, επιλέξτε ξανά ΕργαλείαΑυτόματος ορθογραφικός έλεγχος. Όταν έχει ορισθεί αυτόματος ορθογραφικός έλεγχος, εμφανίζεται ένα εικονίδιο δίπλα στην καταχώρηση μενού Αυτόματος ορθογραφικός έλεγχος. Ο αυτόματος ορθογραφικός έλεγχος δεν είναι ενεργοποιημένος ως προεπιλογή κατά την εκκίνηση του gedit." +#: C/pluma.xml:1906(para) +msgid "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset the automatic spell check, choose ToolsAutocheck Spelling again. When automatic spell checking is set, an icon is displayed beside the Autocheck Spelling menu item. Automatic spell checking is unset by default, each time pluma starts." +msgstr "Για να γίνεται αυτόματος ορθογραφικός έλεγχος, επιλέξτε ΕργαλείαΑυτόματος ορθογραφικός έλεγχος. Για να αναιρέσετε τον αυτόματο ορθογραφικό έλεγχο, επιλέξτε ξανά ΕργαλείαΑυτόματος ορθογραφικός έλεγχος. Όταν έχει ορισθεί αυτόματος ορθογραφικός έλεγχος, εμφανίζεται ένα εικονίδιο δίπλα στην καταχώρηση μενού Αυτόματος ορθογραφικός έλεγχος. Ο αυτόματος ορθογραφικός έλεγχος δεν είναι ενεργοποιημένος ως προεπιλογή κατά την εκκίνηση του pluma." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "Unknown spellings are displayed in a different color, and underlined. Right-click on an unknown spelling, then select Spelling Suggestions from the popup menu:" msgstr "Πιθανά ορθογραφικά λάθη επισημαίνονται με διαφορετικό χρώμα και υπογραμμίζονται. Κάντε δεξί κλικ σε ένα πιθανό ορθογραφικό λάθος και επιλέξτε Προτάσεις ορθογραφίας από το αναδυόμενο μενού:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "To replace the unknown spelling with another spelling in the list, select the replacement spelling from the Spelling Suggestions popup menu." msgstr "Για να αντικαταστήσετε το πιθανό λάθος με μια λέξη της λίστας, επιλέξτε την από το αναδυόμενο μενού." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "To add the unknown spelling to your personal dictionary, select Spelling SuggestionsAdd." msgstr "Για να προσθέσετε την επισημασμένη λέξη ως ορθή στο προσωπικό σας λεξικό, επιλέξτε Προτάσεις ορθογραφίαςΠροσθήκη." -#: C/gedit.xml:1916(para) -msgid "To ignore all occurrences of the unknown spelling, so that they are no longer flagged as unknown but are not added to your personal dictionary, select Spelling SuggestionsIgnore All. The unknown word is ignored in the current gedit session only." -msgstr "Για να αγνοήσετε όλες τις περιπτώσεις εμφάνισης της πιθανά λανθασμένης λέξης, ώστε να μην επισημαίνονται αλλά να μην προστεθεί στο προσωπικό σας λεξικό, επιλέξτε Προτάσεις ορθογραφίαςΠαράβλεψη όλων. Η λέξη παραβλέπεται στην τρέχουσα μόνο συνεδρία του gedit." +#: C/pluma.xml:1916(para) +msgid "To ignore all occurrences of the unknown spelling, so that they are no longer flagged as unknown but are not added to your personal dictionary, select Spelling SuggestionsIgnore All. The unknown word is ignored in the current pluma session only." +msgstr "Για να αγνοήσετε όλες τις περιπτώσεις εμφάνισης της πιθανά λανθασμένης λέξης, ώστε να μην επισημαίνονται αλλά να μην προστεθεί στο προσωπικό σας λεξικό, επιλέξτε Προτάσεις ορθογραφίαςΠαράβλεψη όλων. Η λέξη παραβλέπεται στην τρέχουσα μόνο συνεδρία του pluma." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "To check the spelling manually, choose ToolsCheck Spelling." msgstr "Για να ελέγξετε την ορθογραφία χειροκίνητα, επιλέξτε ΕργαλείαΈλεγχος ορθογραφίας." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "If there are no spelling errors, an Information dialog displays a message stating that the document does not contain misspelled words. Click OK to close the Information dialog." msgstr "Αν δεν υπάρχουν ορθογραφικά λάθη ένα παράθυρο διαλόγου Πληροφορίες εμφανίζει ένα μήνυμα που δηλώνει ότι το έγγραφο δεν περιέχει λέξεις με λάθη. Κάντε κλικ στο OK για να κλείσετε το παράθυρο διαλόγου Πληροφορίες." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "If there are spelling errors, the Check Spelling dialog is displayed:" msgstr "Αν υπάρχουν ορθογραφικά λάθη, εμφανίζεται το παράθυρο διαλόγου Έλεγχος ορθογραφίας:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "The Misspelled word is displayed at the top of the dialog." msgstr "Στην κορυφή του παραθύρου διαλόγου εμφανίζεται το Ορθογραφικό λάθος." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by selecting a spelling from the Suggestions list, or you can enter text directly into the Change to text box." msgstr "Μια προτεινόμενη ορθογραφία εμφανίζεται στο πεδίο κειμένου Αλλαγή σε. Μπορείτε να αντικαταστήσετε αυτή με μια άλλη γνωστή ορθογραφία επιλέγοντας από τη λίστα Προτάσεις ή μπορείτε να εισάγετε κείμενο απευθείας στο πεδίο κειμένου Αλλαγή σε." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "To check the spelling of the text in the Change to text box, click Check Word. If this is a known word, the Suggestions list is replaced with the text (correct spelling). If the word is not known, new entries appear in the Suggestions list." msgstr "Για να ελέγξετε την ορθογραφία του κειμένου στο πεδίο κειμένου Αλλαγή σε, κάντε κλικ στο Έλεγχος λέξης. Αν η λέξη είναι γνωστή, η λίστα Προτάσεις αντικαθίσταται με το κείμενο (σωστή ορθογραφία). Αν η λέξη είναι άγνωστη εμφανίζονται νέες καταχωρήσεις στη λίστα Προτάσεις." -#: C/gedit.xml:1937(para) -msgid "To ignore the current occurrence of the unknown word, click Ignore. To ignore all occurrences of the unknown word, click Ignore All. The unknown word is ignored in the current gedit session only." -msgstr "Για να μη ληφθεί υπόψη η τρέχουσα περίπτωση εμφάνισης της άγνωστης λέξης, κάντε κλικ στο Παράβλεψη. Για να παραβλεφθούν όλες οι περιπτώσεις εμφάνισης της άγνωστης λέξης, κάντε κλικ στο Παράβλεψη όλων. Η άγνωστη λέξη παραβλέπεται για την τρέχουσα μόνο συνεδρία του gedit." +#: C/pluma.xml:1937(para) +msgid "To ignore the current occurrence of the unknown word, click Ignore. To ignore all occurrences of the unknown word, click Ignore All. The unknown word is ignored in the current pluma session only." +msgstr "Για να μη ληφθεί υπόψη η τρέχουσα περίπτωση εμφάνισης της άγνωστης λέξης, κάντε κλικ στο Παράβλεψη. Για να παραβλεφθούν όλες οι περιπτώσεις εμφάνισης της άγνωστης λέξης, κάντε κλικ στο Παράβλεψη όλων. Η άγνωστη λέξη παραβλέπεται για την τρέχουσα μόνο συνεδρία του pluma." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "To change the current occurrence of the unknown word to the text in the Change to text box, click Change. To change all occurrences of the unknown word to the text in the Change to text box, click Change All." msgstr "Για να αλλάξετε την τρέχουσα περίπτωση εμφάνιση της άγνωστης λέξης στο κείμενο στο πεδίο κειμένου Αλλαγή σε, κάντε κλικ στο Αλλαγή. Για να αλλάξετε όλες τις περιπτώσεις εμφάνισης της άγνωστης λέξης στο κείμενο στο πεδίο κειμένου Αλλαγή σε, κάντε κλικ στο Αλλαγή όλων." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "To add the unknown word to your personal dictionary, click Add word." msgstr "Για να προσθέσετε την άγνωστη λέξη στο προσωπικό σας λεξικό, κάντε κλικ στο Προσθήκη λέξης." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "To close the Check Spelling dialog, click Close." msgstr "Για να κλείσετε το παράθυρο διαλόγου Έλεγχος ορθογραφίας, κάντε κλικ στο Κλείσιμο." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Πρόσθετο Λίστα ετικετών (Tags)" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "The Tag List plugin allows you to insert common tags from a list in the side pane." msgstr "Το πρόσθετο Λίστα ετικετών σας επιτρέπει να εισάγετε κοινές ετικέτες από μια λίστα στο πλευρικό πλαίσιο." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Για να χρησιμοποιήσετε το πρόσθετο Λίστα ετικετών, κάντε τα ακόλουθα:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "Choose ViewSide Pane." msgstr "Επιλέξτε ΠροβολήΠλευρική εργαλειοθήκη." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "By default, the side pane shows a tab containing a list of open documents. Click on the tab showing a + icon at the bottom of the side pane to show the tag list tab." msgstr "Ως προεπιλογή, η πλευρική εργαλειοθήκη εμφανίζει μια καρτέλα που περιέχει μια λίστα των ανοιχτών εγγράφων. Κάντε κλικ στην καρτέλα που εμφανίζει ένα + στο τέλος της πλευρικής εργαλειοθήκης για εμφανίσετε την καρτέλα με τη λίστα ετικετών." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "Select the appropriate tag category from the drop-down list. For example, HTML - Tags." msgstr "Επιλέξτε την κατάλληλη κατηγορία ετικετών από την αναδυόμενη λίστα. Π.χ. Ετικέτες HTML." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "Κυλίστε τη λίστα ετικετών μέχρι να βρείτε την απαιτούμενη ετικέτα." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "To insert a tag at the cursor position in the current file, double-click on the tag in the tag list. You can also insert a tag as follows:" msgstr "Για εισάγετε μια ετικέτα στη θέση του δρομέα στο τρέχον αρχείο, κάντε διπλό κλικ στην ετικέτα στη λίστα ετικετών. Μπορείτε επίσης να εισάγετε μια ετικέτα ως εξής:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "To insert a tag in the current file and change the focus from the side pane to the display area, press Return." msgstr "Για να εισάγετε μια ετικέτα στο τρέχον αρχείο και να αλλάξετε την εστίαση από την πλευρική εργαλειοθήκη στην περιοχή απεικόνισης, πατήστε Return." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "To insert a tag in the current file and maintain the focus on the Tag list plugin window, press ShiftReturn." msgstr "Για να εισάγετε μια ετικέτα στο τρέχον αρχείο και να παραμείνετε στο παράθυρο Πρόσθετο Λίστα ετικετών, πατήστε ShiftReturn." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Ελληνική μεταφραστική ομάδα MATE\n" @@ -2799,10 +2799,10 @@ msgstr "" "Για περισσότερα δείτε http://www.mate.gr/" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "Όνομα χρήστηΌνομα χρήστη, εισάγει το όνομα χρήστη του τρέχοντα χρήστη στο " #~ "έγγραφο." #~ msgid "User Name Plugin" diff --git a/help/el/figures/gedit_window.png b/help/el/figures/pluma_window.png similarity index 100% rename from help/el/figures/gedit_window.png rename to help/el/figures/pluma_window.png diff --git a/help/es/es.po b/help/es/es.po index f0501c2..328b96a 100755 --- a/help/es/es.po +++ b/help/es/es.po @@ -1,16 +1,16 @@ -# translation of gedit.help.HEAD.po to Español -# translation of gedit manual to Spanish +# translation of pluma.help.HEAD.po to Español +# translation of pluma manual to Spanish # -# Francisco Javier F. Serrador , 2006. +# Francisco Javier F. Serrador , 2006. # María Majadas , 2005. -# Jorge González , 2006, 2007, 2009, 2010. +# Jorge González , 2006, 2007, 2009, 2010. # msgid "" msgstr "" -"Project-Id-Version: gedit.help.HEAD\n" +"Project-Id-Version: pluma.help.HEAD\n" "POT-Creation-Date: 2010-06-26 10:26+0000\n" "PO-Revision-Date: 2010-06-28 20:51+0200\n" -"Last-Translator: Jorge González \n" +"Last-Translator: Jorge González \n" "Language-Team: Español \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -120,304 +120,304 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -msgstr "@@image: 'figures/_gedit.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" +msgstr "@@image: 'figures/_pluma.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manual de Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manual de Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Proyecto de documentación de MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Añadida la tabla de teclas rápidas" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Equipo de documentación de Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" "Cicek proporcionó información sobre las revisiones anteriores de la " -"aplicación gedit." +"aplicación pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Reconocimientos" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George ha ofrecido información acerca de los complementos." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manual de gedit V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manual de pluma V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Marzo 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Equipo de documentación de Sun MATE" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manual de gedit V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manual de pluma V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Junio 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manual de gedit V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manual de pluma V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Agosto 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manual de gedit V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manual de pluma V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Septiembre 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manual de gedit V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manual de pluma V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Enero 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manual de gedit V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manual de pluma V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Marzo 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manual de gedit V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manual de pluma V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Septiembre 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manual de gedit V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manual de pluma V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Marzo 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manual de gedit V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manual de pluma V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Junio de 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manual de gedit V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manual de pluma V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Equipo de documentación de MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Este manual describe la versión 2.16 de gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Este manual describe la versión 2.16 de pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Comentarios" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Para informar de un error o hacer alguna sugerencia sobre la aplicación " -"gedit o el presente manual, siga las " +"pluma o el presente manual, siga las " "instrucciones que aparecen en la Página de comentarios de MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit es un editor de textos para el Escritorio MATE con características " +"pluma es un editor de textos para el Escritorio MATE con características " "básicas pero robustas, tales como impresión, corrección ortográfica, " "busqueda y reemplazo y resaltado de sintaxis. Existen características más " "avanzadas como complementos." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "editor de textos" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introducción" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"La aplicación gedit le permite crear y editar " +"La aplicación pluma le permite crear y editar " "archivos de texto." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"El objetivo de gedit es ser un editor de texto " +"El objetivo de pluma es ser un editor de texto " "simple y fácil de usar. Se pueden activar características mas potentes con " "diferentes complementos, permitiendo una variedad de " "tareas relativas a la edición de texto." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Procedimientos iniciales" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Para iniciar gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Para iniciar pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"Para iniciar la aplicación gedit, siga estos " +"Para iniciar la aplicación pluma, siga estos " "pasos:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Aplicaciones menú" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -425,65 +425,65 @@ msgstr "" "Seleccione AccesoriosEditor de " "texto." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Línea de comandos" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Ejecute el comando siguiente: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Ejecute el comando siguiente: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Por omisión, cuando abra un documento de texto en el gestor de archivos, " -"gedit arrancará, y mostrará el documento." +"pluma arrancará, y mostrará el documento." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "La ventana de gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "La ventana de pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Cuando inicia gedit, aparece la ventana siguiente:" +"Cuando inicia pluma, aparece la ventana siguiente:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Ventana de gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Ventana de pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Muestra la ventana principal de gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Muestra la ventana principal de pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"La ventana de gedit contiene los elementos " +"La ventana de pluma contiene los elementos " "siguientes:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Barra de menús" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Los menús de esta barra contienen todos los comandos necesarios para " -"trabajar con archivos de gedit." +"trabajar con archivos de pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Barra de herramientas" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -491,36 +491,36 @@ msgstr "" "La barra de herramientas contiene un subconjunto de comandos a los que puede " "acceder desde la barra de menús." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Área de visualización" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "" "El área de visualización contiene el texto del archivo que se está editando." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Barra de estado" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "La barra de estado muestra información sobre la actividad actual de " -"gedit e información contextual sobre los " +"pluma e información contextual sobre los " "elementos de menú:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "Muestra el número de línea y columna en que se encuentra el cursor." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -533,11 +533,11 @@ msgstr "" "contiene la palabra SOB. Pulse la tecla Insert para cambiar el modo de edición." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Panel lateral" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -545,7 +545,7 @@ msgstr "" "El panel lateral muestra una lista de los documentos abiertos y otra " "información dependiendo de los complementos que estén activados." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneVerPanel lateral." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Panel inferior" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -568,7 +568,7 @@ msgstr "" "complemento de Consola Python para mostrar la " "salida. Por omisión no se muestra." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneVerPanel inferior." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" "Cuando se pulsa el botón derecho del ratón en la ventana de " -"gedit, la aplicación muestra un menú emergente. " +"pluma, la aplicación muestra un menú emergente. " "El menú emergente contiene los comandos de edición de texto más habituales." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Como en otras aplicaciones de MATE, las acciones en geditpluma pueden realizarse de varios modos: con el menú, con la barra de " "herramientas, o con combinaciones de teclas. Las combinaciones de teclas " "comunes a todas las aplicaciones están en la Guía de usuario." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Para abrir gedit desde una línea de comandos" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Para abrir pluma desde una línea de comandos" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Puede ejecutar gedit desde una línea de comandos " +"Puede ejecutar pluma desde una línea de comandos " "y abrir uno o varios archivos. Para abrir varios archivos desde una línea de " "comandos, escriba este comando y pulse la tecla Intro:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "archivo1.txt archivo2.txt archivo3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "" "Alternativamente, puede especificar un URI en vez de un nombre de archivo." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Para obtener más información acerca de la ejecución de geditpluma desde una línea de comandos, consulte la página del manual de " -"unix para gedit gedit1pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Trabajar con archivos" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Creación de un documento" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Para crear un documento nuevo, seleccione ArchivoNuevo. La aplicación " -"mostrará un documento nuevo en blanco en la ventana geditpluma." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Apertura de un archivo" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Para abrir un archivo, seleccione ArchivoAbrir para que se muestre el " "cuadro de diálogo Abrir archivo. Seleccione el archivo " "que desee abrir y después pulse Aceptar. El archivo " -"se muestra en la ventana gedit." +"se muestra en la ventana pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Icono del menú «Mostrar archivos recientes»." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -696,25 +696,25 @@ msgstr "" "pulsar en el icono de la barra de herramientas para mostrar " "la lista de archivos recientes." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Puede abrir múltiples archivos en gedit. La " +"Puede abrir múltiples archivos en pluma. La " "aplicación añade a la ventana una solapa para cada archivo abierto. Para más " -"sobre ello vea la ." +"sobre ello vea la ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Guardado de un archivo" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Puede guardar archivos de cualquiera de estas maneras:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -723,7 +723,7 @@ msgstr "" "ArchivoGuardar." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsGuardar como y después pulse en Guardar." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" "Para guardar todos los archivos que estén abiertos en este momento en " -"gedit, seleccione " +"pluma, seleccione " "DocumentosGuardar todo." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" "Para cerrar todos los archivos que estén abiertos en ese momento en " -"gedit, seleccione " +"pluma, seleccione " "DocumentosCerrar todo." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Abrir un archivo desde una URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -770,7 +770,7 @@ msgstr "" "Para abrir un archivo desde un identificador de recursos uniforme (URI), " "lleve a cabo los siguientes pasos:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -780,11 +780,11 @@ msgstr "" "guimenuitem> para mostrar el diálogo Abrir lugar." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Introduzca la URI del archivo que quiere abrir." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -792,11 +792,11 @@ msgstr "" "Use la lista desplegable Codificación de caracteres " "para seleccionar la codificación de caracteres apropiada." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Pulse Abrir." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -806,7 +806,7 @@ msgstr "" "literal>, ftp:, file: y todos los " "métodos admitidos por mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -819,65 +819,65 @@ msgstr "" "lectura porque no todos los servidores FTP trabajan correctamente con " "guardado remoto de archivos." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Guardar a servidores FTP puede activarse con el Editor de configuración, estableciendo la clave /apps/gedit-2/preferences/editor/" +"ulink>, estableciendo la clave /apps/pluma-2/preferences/editor/" "save/writable_vfs_schemes, pero puede causar errores." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Trabajar con solapas" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Cuando se abre más de un archivo, gedit muestra " +"Cuando se abre más de un archivo, pluma muestra " "una solapa para cada documento en la parte superior " "del área de visualización. Para cambiar a otro documento, pulse en su solapa." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Para mover un documento a otra ventana de gedit, " +"Para mover un documento a otra ventana de pluma, " "arrastre la solapa correspondiente al archivo a la ventana a la que la " "quiere mover." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Para mover un documento a una ventana nueva de geditpluma, arrastre la solapa al escritorio, o elija " "DocumentosMover a una ventana " "nueva." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Trabajar con el texto" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Editar texto" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "El texto de un archivo se puede editar de las siguientes maneras:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -887,7 +887,7 @@ msgstr "" "firstterm> parpadeante marca donde aparece el texto. Para cambiar ésto, use " "las teclas de flechas del teclado o pulse con el ratón." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyEditarCopiar." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutEditarCortar." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteEditarBorrar." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Para insertar el contenido del portapapeles en la posición del cursor, " "seleccione EditarPegar. Debe cortar o copiar antes de pegar el texto en " -"el archivo, desde gedit u otra aplicación." +"el archivo, desde pluma u otra aplicación." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -938,11 +938,11 @@ msgstr "" "EditarSeleccionar todo." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Deshacer y rehacer cambios" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -954,31 +954,31 @@ msgstr "" "menuchoice>. Para deshacer esta acción, elija EditarRehacer." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Búsqueda y reemplazo" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"En gedit, hay dos modos de buscar un texto. Puede " +"En pluma, hay dos modos de buscar un texto. Puede " "usar el diálogo Buscar para buscar un fragmento " "específico del texto, o Búsqueda incremental para " "resaltar el texto coincidente a medida que lo teclea." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Búsqueda de texto" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Para buscar en un archivo una cadena de texto, realice estos pasos:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -987,31 +987,31 @@ msgstr "" "guimenuitem> para que se muestre el cuadro de diálogo " "Buscar." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Escriba la cadena que desea buscar en el campo Buscar. " "Puede incluir caracteres especiales como línea nueva o tabulador: vea la " -"." +"." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Pulse Buscar para buscar el archivo por la primera " "aparición de la cadena después de la posición actual del cursor. Si " -"gedit encuentra la cadena, la aplicación " +"pluma encuentra la cadena, la aplicación " "selecciona la primera aparición de la cadena. Otras apariciones de la cadena " "se resaltan." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextBuscarBuscar " "anterior." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1039,7 +1039,7 @@ msgstr "" "guimenuitem> y BuscarBuscar anterior." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightBuscarQuitar resaltado." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Búsqueda incremental " -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1062,7 +1062,7 @@ msgstr "" "medida que lo teclea letra a letra. (Esto es similar a la función de " "búsqueda en muchos navegadores web.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1072,7 +1072,7 @@ msgstr "" "guimenu>Búsqueda incremental. La " "caja de búsqueda aparece en parte de arriba del área de visualización." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1080,7 +1080,7 @@ msgstr "" "Empiece a teclear, y el texto que coincida será resaltado en el documento. " "La primera instancia después la posición del cursor también se selecciona." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGMayúsG para volver a la " "coincidencia anterior." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1101,11 +1101,11 @@ msgstr "" "También puede usar las teclas de flechas arriba y abajo o la rueda del ratón " "para mover la selección entre coincidencias." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Reemplazar texto" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1113,7 +1113,7 @@ msgstr "" "Para buscar en un archivo una cadena y sustituirla por por otra, lleve a " "cabo los pasos siguientes:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1122,17 +1122,17 @@ msgstr "" "guimenuitem> para que se muestre el cuadro de diálogo " "Reemplazar." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Teclee la cadena que desea buscar, en el campo Buscar. " "Puede incluir caracteres especiales como linea nueva o tabulador: vea la " -"." +"." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1140,22 +1140,22 @@ msgstr "" "Escriba la cadena que desea usar para reemplazar a la que se ha encontrado " "en el campo Reemplazar por." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Para examinar cada aparición de la cadena antes de sustituirla, pulse " -"Buscar. Si gedit encuentra " +"Buscar. Si pluma encuentra " "la cadena, la aplicación la selecciona. Pulse Sustituir para sustituir la aparición de la cadena seleccionada. Para " "encontrar la siguiente aparición de la cadena, pulse otra vez " "Buscar." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1163,11 +1163,11 @@ msgstr "" "Para reemplazar todas apariciones de la cadena en el documento, pulse " "Reemplazar todo." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Opciones buscar y reemplazar" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1175,7 +1175,7 @@ msgstr "" "El diálogo Buscar y el diálogo Reemplazar tienen las siguientes opciones:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1188,7 +1188,7 @@ msgstr "" "Coincidir con capitalización , \"TEXTO\" no coincidirá " "con \"texto\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1201,7 +1201,7 @@ msgstr "" "seleccionando Coincidir sólo con la palabra completa," "\"texto\" no coincidirá con \"textura\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1209,7 +1209,7 @@ msgstr "" "Seleccione la opción Buscar atrás para buscar hacia " "atrás hasta el principio del documento." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1218,11 +1218,11 @@ msgstr "" "buscar hasta el final del documento y entonces continuar la búsqueda desde " "el principio del documento." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Caracteres especiales" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1230,35 +1230,35 @@ msgstr "" "Puede incluir las siguientes secuencias de escape en el texto para buscar o " "reemplazar para representar caracteres especiales:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Especifica una línea nueva." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Especifica un carácter tabulador." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Especifica un retorno de carro." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1272,11 +1272,11 @@ msgstr "" "una secuencia de barras invertidas, deberá duplicar el número de barras " "invertidas buscadas." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Situar el cursor en una línea específica" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. La caja de número de línea aparece en parte de " "arriba del área de visualización." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1295,7 +1295,7 @@ msgstr "" "Escriba el número de la línea a la que desea desplazar el cursor y el " "documento se deslizará hasta la línea especificada." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1303,15 +1303,15 @@ msgstr "" "Para quitar la caja y mover el cursor a la línea especificada, pulse " "Intro." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Impresión" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Establecimiento de opciones de página" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1322,7 +1322,7 @@ msgstr "" "guimenuitem> para mostrar el diálogo Configuración de " "página." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1330,28 +1330,28 @@ msgstr "" "El cuadro de diálogo Configuración de página le permite " "especificar las opciones de impresión siguientes:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Solapa General" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Imprimir con sintaxis resaltada" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Seleccione esta opción para imprimir con sintaxis resaltada. Para más " -"información sobre el resaltado de sintaxis, vea la ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Imprimir cabeceras de página" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1359,11 +1359,11 @@ msgstr "" "Seleccione esta opción para que se incluya una cabecera en todas las páginas " "que se impriman. La cabecera no se puede configurar." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Números de línea" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1371,7 +1371,7 @@ msgstr "" "Seleccione la opción Impresión de números de línea para " "incluir los números de línea cuando imprime un archivo." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1381,11 +1381,11 @@ msgstr "" "especificar la frecuencia con la que desea que se impriman los números de " "línea, por ejemplo cada 5 líneas, cada 10 líneas, etc." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Ajuste de texto" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1397,7 +1397,7 @@ msgstr "" "las líneas desplazadas como si fueran una sola en lo que respecta a la " "numeración." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1406,15 +1406,15 @@ msgstr "" "para ajustar texto a la línea siguiente, en el nivel de palabra, cuando " "imprime un archivo." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Tipografía" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Cuerpo" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1422,21 +1422,21 @@ msgstr "" "Pulse en este botón con el fin de seleccionar la tipografía que desea usar " "para imprimir el cuerpo del texto de un archivo." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Números de línea" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Pulse en este botón para seleccionar la tipografía que desea usar para " "imprimir los números de línea." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Encabezamientos y pies de página" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1444,47 +1444,47 @@ msgstr "" "Pulse en este botón con el fin de seleccionar la tipografía que desea usar " "para imprimir las cabeceras en un archivo." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Para restablecer las tipografías a los valores predeterminados para imprimir " -"un archivo desde gedit pulse en el botón " +"un archivo desde pluma pulse en el botón " "Restablecer las tipografía predeterminada." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Impresión de un documento" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"La aplicación gedit se puede utilizar para " +"La aplicación pluma se puede utilizar para " "realizar las operaciones de impresión siguientes:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Imprimir un documento en una impresora." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Imprimir la salida del comando de impresión en un archivo." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Si imprime en un archivo, gedit envía la salida a " +"Si imprime en un archivo, pluma envía la salida a " "un archivo de formato de preimpresión. Los formatos de preimpresión más " "comunes son PostScript y Portable Document Format (PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewArchivoVista " "preliminar de impresión." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintArchivoImprimir para mostrar el cuadro de diálogo Imprimir." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1512,34 +1512,34 @@ msgstr "" "El cuadro de diálogo Imprimir permite especificar las " "opciones de impresión siguientes:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Solapa tarea de impresión" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Rango de impresión" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Seleccione una de las opciones siguientes para determinar cuántas páginas " "quiere imprimir:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Todo" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Seleccione esta opción para imprimir todas las páginas del archivo." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Líneas" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1549,11 +1549,11 @@ msgstr "" "marcadores incrementables Desde y A para especificar el rango de líneas." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Selección" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1561,11 +1561,11 @@ msgstr "" "Seleccione esta opción para imprimir sólo el texto seleccionado. Esta opción " "sólo está disponible si previamente se ha seleccionado texto." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Copias" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1573,7 +1573,7 @@ msgstr "" "Use el marcador incrementable Número de copias para " "especificar el número de copias del archivo que desea imprimir." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1581,15 +1581,15 @@ msgstr "" "Si va a imprimir varias copias del archivo, seleccione la opción " "Intercalar para intercalar las copias impresas." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Solapa impresora" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Impresora" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1597,16 +1597,16 @@ msgstr "" "Use esta lista desplegable para seleccionar la impresora en la que quiera " "imprimir el archivo." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Configuración" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "" "Use esta lista desplegable para seleccionar la configuración de la impresora." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1616,26 +1616,26 @@ msgstr "" "ejemplo, puede permitir o no la impresión dúplex, o programar una impresión " "para más tarde, si ésta función está soportada en la impresora." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Ubicación" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Use esta lista desplegable para seleccionar uno de las siguientes destinos " "de impresión:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Imprime el archivo a una impresora CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1643,23 +1643,23 @@ msgstr "" "Si la impresora seleccionada es una impresora CUPS, CUPS es la única entrada en esta lista desplegable." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Imprime el archivo en una impresora." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Archivo" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Imprime el archivo en un archivo PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1667,15 +1667,15 @@ msgstr "" "Pulse Guardar como para mostrar un diálogo cuando " "especifique el nombre y ubicación del archivo PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Personalizado" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Use el comando especificado para imprimir el archivo." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1683,31 +1683,31 @@ msgstr "" "Teclee el nombre del comando en la caja de texto. Incluya todos los " "argumentos de línea de comandos." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Estado" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Esta funcionalidad no está soportada en esta versión de gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Esta funcionalidad no está soportada en esta versión de pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Tipo" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Comentario" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Solapa papel" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Tamaño del papel" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1715,11 +1715,11 @@ msgstr "" "Use esta lista desplegable para seleccionar el tamaño del papel en el que " "desea imprimir el archivo." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Anchura" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1727,19 +1727,19 @@ msgstr "" "Use este marcador incrementable para especificar la anchura del papel. Use " "la lista desplegable contigua para cambiar la unidad de medida." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Altura" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Use este marcador incrementable para especificar la altura del papel." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientación del alimentador" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." @@ -1747,20 +1747,20 @@ msgstr "" "Utilice esta lista desplegable para seleccionar la orientación del papel en " "la impresora." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientación de la página" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "" "Use esta lista desplegable para seleccionar la orientación de la página." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Disposición" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1769,36 +1769,36 @@ msgstr "" "el área de Previsualización se muestra una vista previa " "de la disposición de las páginas que haya seleccionado." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Bandeja de papel" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Use esta lista desplegable para seleccionar la bandeja de papel." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Características de programación" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Varias de las características para programación de geditpluma las proporcionan complementos. Por ejemplo, el complemento " "Lista de etiquetas proporciona una lista de etiquetas comúnmente usadas para " -"diferentes lenguajes de marcado: vea ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Resaltado de sintaxis" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1806,32 +1806,32 @@ msgstr "" "El resaltado de sintaxis hace el código fuente más legible mostrando " "diferentes partes del texto en diferentes colores." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit elije un modo de resaltado de sintaxis " +"pluma elije un modo de resaltado de sintaxis " "apropiado según el tipo de documento. Para reemplazar el modo de resaltado " "de sintaxis, elija VerModo de " "resaltado, después seleccione uno de los " "siguientes elementos de menú:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normal" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "No mostrar ningún resaltado de sintaxis." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Fuentes" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1839,11 +1839,11 @@ msgstr "" "Muestra el resaltado de sintaxis para editar código fuente. Use el submenú " "Fuentes para seleccionar el tipo de código fuente." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Marcado" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1852,11 +1852,11 @@ msgstr "" "Marcado para seleccionar el tipo de marcado de " "código." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Scripts" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1865,11 +1865,11 @@ msgstr "" "Scripts para seleccionar el tipo de código de " "script." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Otros" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1877,31 +1877,31 @@ msgstr "" "Muestra el marcado de sintaxis para editar otros tipos de código. Use el " "submenú Otros para seleccionar el tipo de código." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Redirección la salida de un comando a un archivo" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"La aplicación gedit se puede usar para redirigir " +"La aplicación pluma se puede usar para redirigir " "la salida de un comando a un archivo de texto. Por ejemplo, para redirigir " "la salida del comando ls a un archivo de texto, escriba " -"ls | gedit y a continuación pulse Intro." +"ls | pluma y a continuación pulse Intro." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "La salida del comando ls se muestra en un archivo de " -"texto nuevo de la ventana gedit." +"texto nuevo de la ventana pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1910,21 +1910,21 @@ msgstr "" "externas para conducir la salida de un comando al archivo " "actual." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Teclas rápidas" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Use las teclas rápidas para realizar tareas comunes más rápidamente que con " "el ratón y los menús. Las siguientes tablas listan todas las teclas rápidas " -"de gedit." +"de pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1934,422 +1934,422 @@ msgstr "" "escritorio." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Solapas" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Teclas rápidas para las solapas:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Tecla rápida" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Comando" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + RePág" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Cambia a la siguiente solapa a la izquierda." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + AvPág" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Cambia a la siguiente solapa a la derecha." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Cerrar la solapa." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Mayús. + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Guardar todas las solapas." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Mayús. + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Cerrar todas las solapas." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Saltar a la enésima solapa." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Archivos" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Teclas rápidas para trabajar con archivos:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Crear un nuevo documento." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Abrir un documento." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Abrir un lugar." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Guardar el documento actual al disco." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Mayús. + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Guardar el documento actual con un nuevo nombre de archivo." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Imprimir el documento actual." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Mayús. + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Vista preliminar de impresión." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Cerrar el documento actual." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Salir de Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Salir de Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Editar" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Teclas rápidas para editar documentos:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Deshacer la última acción." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Mayús. + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Rehacer la última acción deshecha." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Copiar el texto o región seleccionado y ubicarlo en el portapapeles." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Copiar el texto o región seleccionado al portapapeles." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Pegar el contenido del portapapeles." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Seleccionar todo." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Borrar la línea actual." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) #| msgid "Alt + n" msgid "Alt + Up" msgstr "Alt + Arriba" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "Mover la línea seleccionada una línea arriba." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) #| msgid "Alt + n" msgid "Alt + Down" msgstr "Alt + Abajo" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) #| msgid "Copy the selected text or region onto the clipboard." msgid "Move the selected line down one line." msgstr "Mover la línea seleccionada una línea abajo." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Paneles" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Teclas rápidas para mostrar y ocultar los paneles:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Mostrar/ocultar el panel lateral." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Mostrar/ocultar el panel inferior." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Buscar" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Teclas rápidas para búsquedas:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Buscar una cadena." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Buscar la siguiente instancia de una cadena." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Mayús. + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Buscar la instancia anterior de una cadena." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Búsqueda interactiva." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Buscar y reemplazar." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Mayús. + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Limpiar el resaltado." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Ir a la línea." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Herramientas" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Teclas rápidas para las herramientas:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Mayús. + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Comprobar ortografía (con complemento)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Eliminar espacios finales (con complemento)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Sangría (con complemento)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Mayús. + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Quitar sangría (con complemento)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Ejecutar «make» en el directorio actual (con complemento)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Mayús. + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Listado de directorio (con complemento)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Ayuda" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Teclas rápidas para la ayuda:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "Abra el manual del usuario de gedit." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "Abra el manual del usuario de pluma." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Preferencias" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Para configurar gedit, seleccione " +"Para configurar pluma, seleccione " "EditarPreferencias. El cuadro de diálogo Preferencias contiene las categorías siguientes:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Preferencias de visualización" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2360,7 +2360,7 @@ msgstr "" "el borde de la ventana de texto. Esto evita tener que desplazarse " "horizontalmente" -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2370,19 +2370,19 @@ msgstr "" "para que la opción de ajustar el texto conserve las palabras enteras cuando " "el texto salte a la siguiente línea. Esto hace el texto más fácil de leer." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Seleccione esta opción para que se muestren números de línea en la parte " -"izquierda de la ventana de gedit." +"izquierda de la ventana de pluma." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Línea actual" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2390,11 +2390,11 @@ msgstr "" "Seleccione la opción Resaltar la línea actual para " "resaltar la línea donde se ubica el cursor." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Margen derecho" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2402,7 +2402,7 @@ msgstr "" "Seleccionar Visualizar margen derecho opción para " "visualizar la linea vertical que indica el margen derecho." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2410,11 +2410,11 @@ msgstr "" "El cuadro de diálogo Imprimir permite especificar las " "opciones de impresión siguientes." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Coincidencia de corchetes" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2424,36 +2424,36 @@ msgstr "" "para resaltar el corchete correspondiente cuando el cursor está posicionado " "en un carácter corchete." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Preferencias del Editor" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Use el marcador incrementable Ancho de tabulador para " -"especificar la anchura de espacio que gedit " +"especificar la anchura de espacio que pluma " "inserta cuando se pulsa la tecla Tabulador." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Seleccione la opción Insertar espacios en lugar de tabuladores para especificar que gedit inserte " +"guilabel> para especificar que pluma inserte " "espacios en lugar de caracteres de tabulador al pulsar la tecla " "Tabulador." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Sangría automática" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2462,11 +2462,11 @@ msgstr "" "especificar que la línea siguiente empiece con el nivel de sangrado de la " "línea actual." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Guardado de archivos" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2477,7 +2477,7 @@ msgstr "" "archivos cada vez que se procede a guardarlos. La copia de seguridad de un " "archivo contiene una tilde (~) al final del nombre de archivo." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2488,38 +2488,38 @@ msgstr "" "regulares. Use el marcador incrementable para especificar el intervalo para " "guardar el archivo." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Preferencias de Tipografías y colores" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Fuentes" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Seleccione esta opción para usar la fuente de sistema predeterminada para el " -"texto de la ventana de gedit." +"texto de la ventana de pluma." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" -"Este campo muestra la fuente que gedit usa para " +"Este campo muestra la fuente que pluma usa para " "mostrar texto. Pulse en el botón para especificar el tipo, estilo y tamaño " "de fuente que desea usar para el texto." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Esquema de color" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2527,47 +2527,47 @@ msgstr "" "Puede elegir un esquema de color de la lista de esquemas de colores. Los " "siguientes esquemas de color están instalados de forma predeterminada:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Clásico" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Esquema de color clásico basado en el esquema de color de gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Cobalto" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Esquema de color basado en el azul" -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "Esquema de color usado en el editor de textos Kate." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Esquema de color oscuro usando la paleta de color Tango." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Esquema de color usando el esquema de color Tango." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2575,7 +2575,7 @@ msgstr "" "Puede añadir un esquema de color nuevo pulsando en Añadir... y seleccionando un archivo de esquema de color." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2583,34 +2583,34 @@ msgstr "" "Puede quitar el esquema de color seleccionar pulsando en Quitar" -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Preferencias de Complementos" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Los complementos añaden características extras a geditpluma. Para más información acerca de los complementos y cómo usar " -"los complementos integrados, vea la ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Activación de un complemento" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Para activar un complemento de gedit, realice los " +"Para activar un complemento de pluma, realice los " "siguientes pasos:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2618,17 +2618,17 @@ msgstr "" "Seleccione Editar Preferencias." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Seleccione la solapa Complementos." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Seleccione la casilla junto al nombre del complemento que desea activar." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2636,109 +2636,109 @@ msgstr "" "Pulse en Cerrar para cerrar el cuadro de diálogo " "Preferencias." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Desactivación de un complemento" -#: C/gedit.xml:1317(para) +#: C/pluma.xml:1317(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Un complemento permanece activado cuando sale de geditpluma." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Para desactivar un complemento de gedit, realice " +"Para desactivar un complemento de pluma, realice " "los siguientes pasos:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" "Deseleccione la casilla junto al nombre del complemento que desea desactivar." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Complementos" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Trabajar con complementos" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Puede añadir características extras a gedit " +"Puede añadir características extras a pluma " "añadiendo complementos. Un complemento es un programa " "suplementario que aumenta la funcionalidad de una aplicación. Los " -"complementos añaden elementos nuevos a los menús de geditpluma para las características nuevas que proporcionan." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Varios complementos vienen integrados con gedit, " -"y puede instalar más. El sitio web de gedit lista complementos de terceros." +"Varios complementos vienen integrados con pluma, " +"y puede instalar más. El sitio web de pluma lista complementos de terceros." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Para activar o desactivar complementos, o ver qué complementos están " -"activados use las Preferencias de " +"activados use las Preferencias de " "complementos." -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Los siguientes complementos vienen integrados con geditpluma:" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Cambio de " +"Cambio de " "capitalización le permite cambiar la capitalización del " "texto seleccionado." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Estadísticas " +"Estadísticas " "del documento muestra el número de líneas, palabras, y " "caracteres en el documento." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Herramientas " +"Herramientas " "externas le permite ejecutar comandos externos desde " -"gedit." +"pluma." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2746,99 +2746,99 @@ msgstr "" "Examinador de archivos le permite examinar sus " "archivos y carpetas en los paneles laterales." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Sangría de líneasSangría de líneas añade o elimina la sangría de las líneas seleccionadas." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Insertar fecha/" +"Insertar fecha/" "hora añade la fecha actual y la hora a un documento." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"Líneas de modoLíneas de modo le permite establecer preferencias de edición para documentos " "individuales, soportando estilos de líneas de modo de Emacs, Kate y Vim." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Consola PythonConsola Python le permite ejecutar comandos en el lenguaje de " "programación python." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"El complemento Recortes le permite almacenar trozos de texto usados " "frecuentemente, llamados recortes, e insertarlos " "rápidamente en un documento." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"OrdenarOrdenar ordena las líneas seleccionadas de texto en orden alfabético." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"OrtografíaOrtografía corrige la ortografía en el texto seleccionado, o marca errores " "automáticamente en el documento." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Lista de etiquetasLista de etiquetas le permite insertar etiquetas usadas comúnmente para " "HTML y otros lenguajes de una lista en el panel lateral." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Para obtener más información acerca de cómo crear complementos, consulte el " -"sitio web " -"de gedit." +"sitio web " +"de pluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Complemento Cambiar capitalización" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2846,7 +2846,7 @@ msgstr "" "El complemento Cambiar capitalización le permite " "cambiar la capitalización del texto seleccionado." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2855,82 +2855,82 @@ msgstr "" "está activado el complemento Cambiar capitalización:" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Elemento del menú" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Acción" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Ejemplo" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Cambiar capitalización" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Todo en mayúscula" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Cambiar cada carácter a mayúsculas." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "" "Este texto se convierte ESTE TEXTO" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Todo en minúscula" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Cambia cada carácter a minúsculas." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "" "Este Texto se convierte en este texto" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Capitalización invertida" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Cambiar cada carácter de minúscula a mayúscula y viceversa." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Este Texto se convierte en eSTE tEXTO" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Capitalización de título" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Cambiar el primer carácter de cada palabra a mayúscula." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "" "este texto se convierte en Este Texto" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Complemento Estadísticas del documento" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2944,7 +2944,7 @@ msgstr "" "un diálogo Estadísticas del documento. Para utilizar el " "complemento Estadísticas del documento, siga estos pasos:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsEstadísticas del documento muestra la " "información siguiente acerca del archivo:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Número de líneas del documento actual." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Número de palabras del documento actual." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "Número de caracteres, espacios incluidos, del documento actual." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Número de caracteres, espacios excluidos, del documento actual." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "Número de bytes del documento actual." -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Puede seguir actualizando el archivo de gedit " +"Puede seguir actualizando el archivo de pluma " "mientras el diálogo Estadísticas del documento esté " "abierto. Para actualizar el contenido del cuadro de diálogo " "Estadísticas del documento, pulse en el botón " "Actualizar." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Complemento de herramientas externas" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "El complemento Herramientas externas permite " -"ejecutar comandos externos desde gedit. Puede " +"ejecutar comandos externos desde pluma. Puede " "encauzar contenido a un comando y explotar su salida (por ejemplo, " "sed), o lanzar un comando predefinido (por " "ejemplo, make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsHerramientas." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Comandos integrados" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3030,40 +3030,40 @@ msgstr "" "Los siguientes comandos se proporcionan con el complemento " "Herramientas externas:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Construir" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "" "Ejecuta la aplicación make en el directorio del " "documento actual." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Listado de directorio" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" "Lista el contenido del directorio del documento actual en un nuevo documento." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Variables de entorno" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Muestra la lista de variables de entorno en el panel inferior." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3072,19 +3072,19 @@ msgstr "" "documento, usando coincidencia de patrones. El resultado se muestra en el " "panel inferior." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Eliminar espacios finales" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Quita todos los espacios del final de las líneas en el documento." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Definir un comando" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3092,7 +3092,7 @@ msgstr "" "Para añadir un comando externo, elija HerramientasHerramientas externas." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3102,44 +3102,44 @@ msgstr "" "pulse Nuevo. Puede especificar los siguientes " "detalles para el comando nuevo:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Descripción" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Esta descripción se muestra en la barra de estado cuando se elije el comando " "de menú." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Acelerador" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Introduzca un atajo de teclado para el comando." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Comandos" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Los comandos actuales para ejecutar. Se pueden usar varias variables de " -"entorno de gedit para pasar contenido a estos " -"comandos: vea ." +"entorno de pluma para pasar contenido a estos " +"comandos: vea ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Entrada" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3148,11 +3148,11 @@ msgstr "" "el texto entero del documento actual, la selección, la línea o palabra " "actual." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Salida" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3162,11 +3162,11 @@ msgstr "" "ponerla en un documento nuevo, colocarla en el documento actual, al final, " "en la posición del cursor, o reemplazar la selección del documento entero." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Aplicabilidad" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3174,22 +3174,22 @@ msgstr "" "Determina qué clase de documentos pueden verse afectados por el comando, por " "ejemplo si están guardados o no, los locales o los remotos." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Editar y quitar herramientas" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Para editar una herramienta, selecciónela en la lista y haga cambios a sus " "propiedades." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Para renombrar una herramienta, pulse otra vez en la lista." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3197,7 +3197,7 @@ msgstr "" "Para restaurar una herramienta integrada que haya modificado, pulse " "Revertir." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3207,11 +3207,11 @@ msgstr "" "Quitar. No puede quitar los herramientas integradas, " "sólo aquellas que haya creado." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Variables" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3219,39 +3219,39 @@ msgstr "" "Puede usar las siguientes variables en el campo Comandos de la definición del comando:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Complemento del examinador de archivos" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3260,7 +3260,7 @@ msgstr "" "sus archivos y carpetas en el panel lateral, permitiéndole abrir rápidamente " "archivos." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3271,11 +3271,11 @@ msgstr "" "pulse en la solapa que muestra el icono del examinador de archivos en la " "parte inferior del panel lateral." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Examinar sus archivos" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3284,7 +3284,7 @@ msgstr "" "gestor de archivos. Para examinar el contenido de cualquier elemento, pulse " "dos veces en él." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3292,7 +3292,7 @@ msgstr "" "Para mostrar una carpeta madre, elija de la lista desplegable, o pulse la " "flecha arriba en la barra de herramientas del gestor de archivos." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3302,19 +3302,19 @@ msgstr "" "actualmente, pulse dos veces en la lista del archivo y elija " "Establecer raíz al documento activo." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Para abrir un archivo en gedit, pulse dos veces " +"Para abrir un archivo en pluma, pulse dos veces " "en él en la lista de archivos." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Crear archivos y carpetas" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3323,7 +3323,7 @@ msgstr "" "el examinador, pulse con el botón derecho en la lista de archivos y elija " "Archivo nuevo." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3332,11 +3332,11 @@ msgstr "" "pulse con el botón derecho en la lista de archivos y elija " "Nueva carpeta." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Complemento Sangrar líneas" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3344,12 +3344,12 @@ msgstr "" "El complemento de Sangrar líneas añade o quita " "espacio del principio de las líneas de texto." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" "Para sangrar o quitar la sangría del texto, realice los siguientes pasos:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3357,7 +3357,7 @@ msgstr "" "Seleccione las líneas que desea sangrar. Para sangrar o anular el sangrado " "de una única línea, sitúe el cursor en cualquier posición dentro de la línea." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3365,7 +3365,7 @@ msgstr "" "Para sangrar el texto, elija EditarSangrar." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3373,22 +3373,22 @@ msgstr "" "Para anular la sangría, seleccione elija EditarQuitar sangría." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "La cantidad de espacio usado, y dependiendo de si se usan caracteres de " "tabulación o caracteres de espacio, depende de los ajustes de " "Puntos de tabulación en las preferencias del Editor: " -"vea ." +"vea ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Complemento Insertar fecha/hora" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3398,7 +3398,7 @@ msgstr "" "fecha y la hora actuales en un documento. Para utilizar el complemento " "Insertar fecha/hora, realice los siguientes pasos:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3406,52 +3406,52 @@ msgstr "" "Seleccione EditarInsertar fecha " "y hora." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Si no ha configurado el complemento Insertar fecha/hora para insertar " "automáticamente la fecha y la hora sin solicitar el formato, " -"gedit mostrará el diálogo Insertar " +"pluma mostrará el diálogo Insertar " "fecha y hora. Seleccione el formato de fecha/hora apropiado en la " "lista. Pulse en el botón Insertar para cerrar el " -"diálogo Insertar fecha y hora;geditInsertar fecha y hora;pluma insertará la fecha y la hora en el archivo actual, en la " "posición del cursor." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Si ha configurado gedit para que utilice un " +"Si ha configurado pluma para que utilice un " "formato de fecha/hora especifico, no se mostrará el diálogo " "Insertar fecha y hora; la fecha y la hora se insertarán " "automáticamente en el archivo actual, en la posición del cursor." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Para configurar el complemento Insertar fecha/hora" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "Para configurar el complemento Insertar fecha/hora, realice los siguientes " "pasos:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Seleccione el complemento Insertar fecha/hora." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3460,11 +3460,11 @@ msgstr "" "cuadro de diálogo Configurar el complemento Insertar fecha/hora." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Seleccione una de las siguientes opciones:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3472,25 +3472,25 @@ msgstr "" "Para especificar el formato de fecha/hora cada vez que inserte este dato, " "seleccione la opción Preguntar por un formato." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" "Para utilizar el mismo formato, proporcionado por la aplicación " -"gedit, cada vez que se inserte la fecha o la " +"pluma, cada vez que se inserte la fecha o la " "hora, seleccione la opción Usar el formato seleccionado " "y elija el formato apropiado en la lista. Si se selecciona esta opción, " -"gedit no solicita el formato de fecha/hora cuando " +"pluma no solicita el formato de fecha/hora cuando " "se elige EditarInsertar fecha/" "hora." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3498,7 +3498,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3509,11 +3509,11 @@ msgstr "" "personalizado, consulte strftime3. Si se selecciona esta opción, " -"gedit no solicita el formato de fecha/hora cuando " +"pluma no solicita el formato de fecha/hora cuando " "se elige EditarInsertar fecha/" "hora." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3521,7 +3521,7 @@ msgstr "" "Pulse en Aceptar para cerrar el cuadro de diálogo " "Configurar el complemento Insertar fecha/hora." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3529,23 +3529,23 @@ msgstr "" "Para cerrar el cuadro de diálogo Preferencias, pulse " "Cerrar." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Complemento líneas de modo" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "El complemento Líneas de modo le permite " "establecer preferencias para documentos individuales. Una línea " "de modo es una línea de texto al principio o final del documento " -"con ajustes que gedit reconoce." +"con ajustes que pluma reconoce." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3553,27 +3553,27 @@ msgstr "" "Las preferencias establecidas para usar líneas de modo tienen preferencia " "sobre las especificadas en el diálogo de preferencias." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "Puede establecer las siguientes preferencias con líneas de modos:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Ancho de tabulación" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Anchura de la sangría" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Insertar espacios en lugar de tabuladores" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Anchura del margen derecho" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3584,11 +3584,11 @@ msgstr "" "Emacs, Kate y " "Vim." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Líneas de modo Emacs" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3596,7 +3596,7 @@ msgstr "" "Las primeras dos líneas de un documento se analizan buscando líneas de modos " "Emacs." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3608,11 +3608,11 @@ msgstr "" "consulte el manual de GNU Emacs." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Líneas de modo Kate" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3620,7 +3620,7 @@ msgstr "" "La primera y las últimas diez líneas de un documento se analizan buscando " "líneas de modo Kate." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3632,11 +3632,11 @@ msgstr "" "información, vea el sitio web de Kate." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Líneas de modo Vim" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3644,7 +3644,7 @@ msgstr "" "La primera y las últimas tres líneas de un documento se escanean buscando " "líneas de modo Vim." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3656,37 +3656,37 @@ msgstr "" "información, consulte la \">página web de Vim." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Complemento consola Python" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "El complemento Consola Python le permite ejecutar " -"comandoes en el lenguaje de programación Python desde geditpluma. Activando el complemento se añade una solapa al panel " "inferior. Esta muestra su salida reciente y un campo de entrada de comandos." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Los comandos introducidos en la consola de python no se comprueban antes de " -"ejecutarlos. Es posible entonces colgar gedit, " +"ejecutarlos. Es posible entonces colgar pluma, " "por ejemplo entrando un bucle infinito." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Complemento Recortes" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3696,7 +3696,7 @@ msgstr "" "trozos de texto usados frecuentemente, llamados recortes, e insertarlos rápidamente en un documento." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3708,19 +3708,19 @@ msgstr "" "elegir de una lista de recortes que son útiles para HTML. Además, algunos " "recortes son globales, y están disponibles para todos los documentos." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Junto con gedit, se instalan varios recortes, que " +"Junto con pluma, se instalan varios recortes, que " "pueden modificarse." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Inserción de recortes" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3732,7 +3732,7 @@ msgstr "" "usualmente las primeras pocas letras del recorte, o algo parecido que sea " "corto y fácil de recordar." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3740,15 +3740,15 @@ msgstr "" "Alternativamente, pulse CtrlEspacio para ver una lista de recortes que puede insertar." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Adición de recortes" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Puede crear un recorte nuevo, haga lo siguiente:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3758,7 +3758,7 @@ msgstr "" "de Recortes. La ventana del Gestor de " "Recortes se abre." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3771,20 +3771,20 @@ msgstr "" "superior de la lista. La sintaxis del documento con el que esta trabajando " "actualmente se muestra por omisión." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Pulse Nuevo. Aparece un recorte nuevo en la lista." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Introduzca la siguiente información para el recorte nuevo:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Nombre" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3795,21 +3795,21 @@ msgstr "" "propósito. Puede cambiar el nombre de un recorte que cree para pulsar en él " "en la lista." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Texto del recorte" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Introduzca el texto del recorte en la caja de texto Editar " "recorte. Para códigos especiales, que pueda usar, vea ." +"linkend=\"pluma-snippets-plugin-syntax\"/>." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3817,11 +3817,11 @@ msgstr "" "Puede volver a la ventana del documento para copiar texto sin cerrar la " "ventana del Gestor de recortes." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Disparador de tabulador" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3829,7 +3829,7 @@ msgstr "" "Introduzca el disparado para el recorte. Este es el texto que teclea antes " "de pulsar la tecla Tab para insertar el recorte." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3839,20 +3839,20 @@ msgstr "" "cualquier carácter en solitario. El disparador se " "resaltará en rojo si se introduce un disparador inválido." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Tecla rápida" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "" "Teclee una tecla de acceso rápido para usarla para insertar el recorte." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Editar y quitar recortes" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3860,11 +3860,11 @@ msgstr "" "Para editar un recorte, selecciónelo en la lista y haga cambios a sus " "propiedades de activación de texto." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "Para renombrar un recorte, pulse otra vez en la lista." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3872,7 +3872,7 @@ msgstr "" "Para restaurar un recorte integrado que haya modificado, pulse " "Revertir." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3882,11 +3882,11 @@ msgstr "" "Quitar. No puede quitar los recortes integrados, sólo " "aquellos que usted haya creado." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Sustituciones de recortes" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3896,17 +3896,17 @@ msgstr "" "personalizado, o marcar espacios donde puede añadir texto una vez que el " "recorte se ha insertado en su documento." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "Puede usar los siguientes códigos de reserva de espacio en el texto del " "recorte:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Reservas de espacio para tabuladores" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3915,7 +3915,7 @@ msgstr "" "de tabulador donde n es cualquier número desde 1 en " "adelante." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3923,7 +3923,7 @@ msgstr "" "${n:default} define una reserva de espacio de tabulación con un valor diferente." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3931,7 +3931,7 @@ msgstr "" "Una reserva de espacio de tabulación marca un lugar en el texto de un " "recorte donde puede añadir texto adicional después de insertar el recorte." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3944,7 +3944,7 @@ msgstr "" "El número en el código de la reserva de espacio define el orden en que cada " "tabulación avanza a cada lugar del texto." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3956,11 +3956,11 @@ msgstr "" "keycap> cuando no hay más reservas de espacio de tabulador mueve el cursor " "al final del recorte de texto, o a la reserva de espacio al final si existe." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Replicar reservas de espacio" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3970,11 +3970,11 @@ msgstr "" "Esto permite teclear texto sólo una vez cuando quiere que aparezca varias " "veces en el recorte." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Terminar reserva de espacio" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3984,33 +3984,33 @@ msgstr "" "permite terminar de trabajar con el recorte con el cursor en un punto " "distinto que el final del texto recortado." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Variables de entorno" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Las variables de entorno como $PATH y $HOME se sustituyen en el texto del recorte. Las siguientes variables " -"específicas de gedit se pueden usar también:" +"específicas de pluma se pueden usar también:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "El texto actualmente seleccionado." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -4018,11 +4018,11 @@ msgstr "" "El nombre completo del documento, o una cadena vacía si el documento no está " "guardado aún." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4030,11 +4030,11 @@ msgstr "" "El nombre base del nombre de archivo del documento, o una cadena vacía si el " "documento aún no se ha guardado." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4042,11 +4042,11 @@ msgstr "" "La palabra en al lugar del cursor en el documento. Cuando esta variable se " "esté usando, la palabra actual se reemplazará con el texto del recorte." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Reservas de espacio de shell" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4054,7 +4054,7 @@ msgstr "" "$(cmd) se reemplaza por el " "resultado de ejecutar cmd en una shell." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4068,11 +4068,11 @@ msgstr "" "$n para usar la salida desde " "una reserva de espacio de shell como entrada en otra." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Reservas de espacio de Python" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4082,7 +4082,7 @@ msgstr "" "el resultado de evaluar cmd en el intérprete de " "python." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4100,7 +4100,7 @@ msgstr "" "a,b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4108,11 +4108,11 @@ msgstr "" "Para usar una variable en todos los otros recortes de python, declárela como " "global." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Complemento Ordenar" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4120,7 +4120,7 @@ msgstr "" "El complemento Ordenar coloca las líneas " "seleccionadas en orden alfabético." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4133,15 +4133,15 @@ msgstr "" "ArchivoRevertir." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Para utilizar el complemento Ordenar, realice los siguientes pasos:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Seleccione las líneas de texto que quiere ordenar." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4149,11 +4149,11 @@ msgstr "" "Seleccione EditarOrdenar. El diálogo Ordenar se abre." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Elija las opciones que quiera para la ordenación:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4161,20 +4161,20 @@ msgstr "" "Para ordenar el texto en orden inverso, seleccione la opción Orden " "inverso." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Para borrar las líneas duplicadas, seleccione la opción Eliminar " "duplicados." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Para no distinguir entre mayúsculas y minúsculas, seleccione la opción " "Ignorar capitalización." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4184,32 +4184,32 @@ msgstr "" "establezca el primer carácter que debería usarse para ordenar en el marcador " "incrementable Empezar en la columna." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "" "Para efectuar la ordenación, pulse el botón Ordenar." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Complemento Corrector ortográfico" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "El complemento Corrector ortográfico revisa la ortografía del texto " -"seleccionado. Puede configurar gedit para revisar " +"seleccionado. Puede configurar pluma para revisar " "la ortografía automáticamente, o puede revisar la ortografía manualmente, en " "el idioma especificado. El idioma y las propiedades del revisor de " "ortografía, se aplican por cada documento. Para usar el complemento " "Corrector ortográfico, realice los siguientes pasos:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4223,7 +4223,7 @@ msgstr "" "guibutton> para cerrar el cuadro de diálogo Establecer idioma…." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4231,7 +4231,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Para revisar la ortografía automáticamente, seleccione " @@ -4243,9 +4243,9 @@ msgstr "" "seleccionado, un icono se visualiza al lado de Revisar " "Ortografía Automáticamente artículo de menú. El revisor de " "ortografía automático está sin seleccionar por omisión, cada vez que " -"gedit comienza." +"pluma comienza." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsSugerencias de ortografía del menú emergente:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4265,7 +4265,7 @@ msgstr "" "seleccione sustituir ortografía desde Sugerencias de ortografía del menú emergente." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddEditarAnular sangría." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Para ignorar todas las palabras de ortografía desconocida, así que no se " "volverán a ver como desconocidas pero no serán añadidas a su diccionario " "personal, seleccione Sugerencias de ortografíaIgnorar todo. La palabra " -"desconocida es ignorada sólo en la actual sesión de geditpluma." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4299,7 +4299,7 @@ msgstr "" "EditarSeleccionar todo." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4311,7 +4311,7 @@ msgstr "" "mal escritas. Pulse Aceptar para cerrar el diálogo de " "Información." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4319,7 +4319,7 @@ msgstr "" "Si hay errores de ortografía, el Revisor de Ortografía " "diálogo se visualiza:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4327,7 +4327,7 @@ msgstr "" "La Palabra mal escrita se visualiza en la parte de " "arriba del diálogo." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4340,7 +4340,7 @@ msgstr "" "guilabel>, o puede introducir el texto directamente en la casilla de texto " "de Cambiar a." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4355,20 +4355,20 @@ msgstr "" "literal>. Si la palabra es desconocida, aparecerán nuevas entradas en la " "lista de Sugerencias." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Para ignorar en ese momento la palabra desconocida señalada, pulse " "Ignorar. Para ignorar todas las palabras " "desconocidas, pulse Ignorar todo. La palabra " -"desconocida es ignorada sólo en la sesión actual de geditpluma." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeCambiar por, pulse Cambiar todo." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4389,7 +4389,7 @@ msgstr "" "Para añadir la palabra desconocida a su diccionario personal, pulse el botón " "Añadir palabra." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4397,11 +4397,11 @@ msgstr "" "Para cerrar el cuadro de diálogo Ir a la línea, pulse " "en el botón Cerrar." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Complemento Lista de etiquetas" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4409,13 +4409,13 @@ msgstr "" "La aplicación Lista de etiquetas le permite " "insertar etiquetas comunes de una lista en el panel lateral." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" "Para utilizar el complemento Lista de etiquetas, realice los siguientes " "pasos:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4423,7 +4423,7 @@ msgstr "" "Elija EditarPanel lateral." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4433,7 +4433,7 @@ msgstr "" "documentos abiertos. pulse en la solapa mostrando un icono + en la parte de " "abajo del panel lateral para mostrar la solapa de listas de etiquetas." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4441,11 +4441,11 @@ msgstr "" "Seleccione la categoría de etiquetas apropiada en la lista desplegable; por " "ejemplo, Etiquetas HTML." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "Desplácese en la lista hasta encontrar la etiqueta deseada." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4454,7 +4454,7 @@ msgstr "" "pulse dos veces sobre la etiqueta en la lista. También puede emplear este " "procedimiento:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4462,7 +4462,7 @@ msgstr "" "Para insertar una etiqueta en el archivo actual y cambiar el foco desde el " "panel lateral al área de visualización, pulse Intro." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftMayúsIntro." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" -"Jorge González , 2006-2009\n" +"Jorge González , 2006-2009\n" "María Majadas , 2005" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "Nombre de usuarioNombre de usuario inserta el nombre de usuario del usuario actual en el " #~ "documento." @@ -4507,37 +4507,37 @@ msgstr "" #~ "usuario." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" -#~ msgstr "@@image: 'figures/_gedit.png'; md5=cf962f5d9df721c1f4f4cef2780915ed" +#~ msgstr "@@image: 'figures/_pluma.png'; md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "Para más información sobre cómo configurar el resaltado de sintaxis, vea " -#~ "la ." +#~ "la ." #~ msgid "Syntax Highlighting Preferences" #~ msgstr "Preferencias de Resaltado de Sintaxis" @@ -4646,30 +4646,30 @@ msgstr "" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Seleccione esta opción para usar los colores predeterminados del tema en " -#~ "la ventana de texto de gedit." +#~ "la ventana de texto de pluma." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Pulse en el botón Color del texto para que se " #~ "muestre el cuadro de diálogo del selector de colores. Seleccione el color " #~ "que desea usar para la visualización del texto en la ventana de " -#~ "gedit." +#~ "pluma." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Pulse en el botón Color del fondo para que se " #~ "muestre el cuadro de diálogo del selector de colores. Seleccione un color " -#~ "de fondo para la ventana de texto de gedit." +#~ "de fondo para la ventana de texto de pluma." #~ msgid "" #~ "Click on the Selected text color color button to " diff --git a/help/es/figures/gedit_window.png b/help/es/figures/pluma_window.png similarity index 100% rename from help/es/figures/gedit_window.png rename to help/es/figures/pluma_window.png diff --git a/help/fi/fi.po b/help/fi/fi.po index 41d63f7..77a3ed0 100755 --- a/help/fi/fi.po +++ b/help/fi/fi.po @@ -1,4 +1,4 @@ -# gedit finnish help +# pluma finnish help # Copyright (C) 2008 Valto Wirkola. # # Valto Wirkola , 2008. @@ -7,7 +7,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit\n" +"Project-Id-Version: pluma\n" "POT-Creation-Date: 2009-05-17 18:37+0000\n" "PO-Revision-Date: 2009-09-12 19:31+0300\n" "Last-Translator: Tommi Vainikainen \n" @@ -92,299 +92,299 @@ msgstr "ASIAKIRJA JA SEN MUOKATUT VERSIOT TARJOTAAN GNU FREE DOCUMENTATION LICEN #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Gedit-käyttöohje" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Pluma-käyttöohje" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE:n ohjeistusprojekti" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Ganary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Lisätty näppäinyhdistelmätauluun" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System Documentation Team" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek tarjoaa tietoa aikaisemmista gedit-sovelluksen uudistuksista." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek tarjoaa tietoa aikaisemmista pluma-sovelluksen uudistuksista." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Tietolähteet" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George tarjoaa tietoa liitännäisistä." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit-opas V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma-opas V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Maaliskuu 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE Documentation Team" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit-käyttöopas V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma-käyttöopas V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Kesäkuu 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit-käyttöopas V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma-käyttöopas V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Elokuu 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit-käyttöopas V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma-käyttöopas V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Syyskuu 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit-käyttöopas V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma-käyttöopas V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Tammikuu 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit-käyttöopas V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma-käyttöopas V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Maaliskuu 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit-käyttöopas V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma-käyttöopas V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Syyskuu 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit-käyttöopas V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma-käyttöopas V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Maaliskuu 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit-käyttöopas V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma-käyttöopas V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Heinäkuu 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit-käyttöopas V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma-käyttöopas V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE:n dokumentointitiimi" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Tämä käyttöopas kertoo gedit:in versiosta 2.16" +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Tämä käyttöopas kertoo pluma:in versiosta 2.16" -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Palaute" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." -msgstr "Ilmoittaaksesi viasta tai ehdottaaksesi jotakin gedit-sovellukseen tai tähän käyttöoppaaseen, seuraa opasteita MATE:n palautesivulle." +msgstr "Ilmoittaaksesi viasta tai ehdottaaksesi jotakin pluma-sovellukseen tai tähän käyttöoppaaseen, seuraa opasteita MATE:n palautesivulle." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit on tekstinmuokkain MATE-työpöydälle. Se tarjoaa toistaiseksi helppoja " +"pluma on tekstinmuokkain MATE-työpöydälle. Se tarjoaa toistaiseksi helppoja " "runkotoimintoja, kuten tulostuksen, oikeinkirjoituksen tarkistuksen, etsi ja " "korvaa-toiminnon ja syntaksikorostimen. Lisää kehittyneitä toimintoja on " "saatavilla liitännäisinä." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "tekstinmuokkain" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Johdanto" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"gedit-sovellus tarjoaa sinulle mahdollisuuden " +"pluma-sovellus tarjoaa sinulle mahdollisuuden " "luoda ja muokata tekstitiedostoja." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"gedit:in tarkoitus on olla yksinkertainen ja " +"pluma:in tarkoitus on olla yksinkertainen ja " "helppokäyttöinen tekstinmuokkain. Lisää tehokkaita toimintoja saadaan " "erilaisilla liitännäisillä, mahdollistaen erilaisten " "asioiden tekemisen liittyen tekstin muokkaukseen." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Aluksi" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Gedit:in käynnistys" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Pluma:in käynnistys" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"Voit käynnistää gedit:in seuraavilla tavoilla:" +"Voit käynnistää pluma:in seuraavilla tavoilla:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Sovellukset-valikosta" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -392,64 +392,64 @@ msgstr "" "Valitse ApuohjelmatTekstinmuokkain." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Komentorivi" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Suorita seuraava komento: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Suorita seuraava komento: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"Oletuksena, kun avaat tekstitiedoston tiedostohallinnassa, gedit käynnistyy " +"Oletuksena, kun avaat tekstitiedoston tiedostohallinnassa, pluma käynnistyy " "ja näyttää tiedoston." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "gedit-ikkuna" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "pluma-ikkuna" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Kun käynnistät geditin, seuraavanlainen ikkuna " +"Kun käynnistät plumain, seuraavanlainen ikkuna " "näytetään:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "gedit-ikkuna" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "pluma-ikkuna" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Näyttää gedit:in pääikkunan" +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Näyttää pluma:in pääikkunan" -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "gedit-ikkuna sisältää seuraavat osat:" +"The pluma window contains the following elements:" +msgstr "pluma-ikkuna sisältää seuraavat osat:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Valikkopalkki" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Valikkopalkin valikot sisältävät kaikki komennot, joita tarvitset " -"tiedostoillesi gedit:ssä." +"tiedostoillesi pluma:ssä." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Työkalupalkki" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -457,36 +457,36 @@ msgstr "" "Työkalupalkki sisältää pienen kokoelman komentoja, joihin pääset " "valikkopalkista." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Näyttöalue" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Näyttöalue sisältää muokkaamasi tiedoston tekstin." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Tilarivi" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"Tilarivi näyttää tietoa gedit:in tämänhetkisistä " +"Tilarivi näyttää tietoa pluma:in tämänhetkisistä " "tapahtumista ja lisätietoa valikkokohdista. Tilarivi näyttää myös seuraavat " "tiedot:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "" "Osoittimen sijainti: rivin ja sarakkeen numero, jossa osoitin sijaitsee." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -497,11 +497,11 @@ msgstr "" "INS. Paina Insert-painiketta " "vaihtaaksesi muokkaustilaa." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Sivupaneeli" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -509,7 +509,7 @@ msgstr "" "Sivupaneeli näyttää listan avoimista asiakirjoista ja muuta tietoa riippuen " "käytössä olevista liitännäisistä." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneNäytäSivupaneeli." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Alapaneeli" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -531,7 +531,7 @@ msgstr "" "Alapaneelia käytetään ohjelmointityökalujen, kuten Python-" "konsoliliitännäisen tulosteiden näyttöön." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneNäytäAlapaneeli" -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Kun klikkaat oikealla hiirenpainikkeella gedit-" +"Kun klikkaat oikealla hiirenpainikkeella pluma-" "ikkunaa, sovellus näyttää ponnahdusvalikon. Valikko sisältää yleisimmät " "tekstinmuokkauskomennot." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" "Kuten muissakin MATE-sovelluksissa, toimintoja voidaan suorittaa " -"geditissäkin muutamin tavoin: valikosta, " +"plumaissäkin muutamin tavoin: valikosta, " "työkalupalkista ja tai pikanäppäimistä. Yleiset pikanäppäinkomennot kaikille " "sovelluksille löytyy listattuna Käyttäjän oppaasta." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Gedit:in ajaminen komentoriviltä" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Pluma:in ajaminen komentoriviltä" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Voit avata gedit:iä komentoriviltä ja avata " +"Voit avata pluma:iä komentoriviltä ja avata " "yksittäisiä tai useita tiedostoja. Avataksesi useita tiedostoja " "komentoriviltä, kirjoita seuraava komento ja paina Enter:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "tiedosto1.txt tiedosto2.txt tiedosto3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Vaihtoehtoisesti, voit määrittää URI-osoitteen tiedostonimen sijaan." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Saadaksesi lisätietoa gedit:in ajamisesta " -"komentorivillä, katso unix-käyttöoppaan gedit1pluma:in ajamisesta " +"komentorivillä, katso unix-käyttöoppaan pluma1-sivu." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Tiedostojenkäsittely" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Uuden asiakirjan luonti" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Tehdäksesi uuden asiakirjan, valitse TiedostoUusi. Sovellus näyttää uuden " -"tyhjän asiakirjan gedit-ikkunassa." +"tyhjän asiakirjan pluma-ikkunassa." -#: C/gedit.xml:346(title) C/gedit.xml:1589(title) +#: C/pluma.xml:346(title) C/pluma.xml:1589(title) msgid "Opening a File" msgstr "Tiedoston avaus" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Avataksesi tiedoston, valitse TiedostoAvaa, Avaa " "tiedostoja-dialogin näyttämiseksi. Valitse tiedostot, jotka " "haluat avata, napsauta sitten Avaa-painiketta. " -"Tiedosto näytetään gedit-ikkunassa." +"Tiedosto näytetään pluma-ikkunassa." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Näytä viimeisimmät tiedostot valikkokuvakkeen." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -655,25 +655,25 @@ msgstr "" "guimenu>-valikossa. Voit myös napsauttaa -" "kuvaketta työkalupalkissa nähdäksesi listan viimeisimmistä tiedostoista." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Voit avata useita tiedostoja gedit:ssä. Sovellus " +"Voit avata useita tiedostoja pluma:ssä. Sovellus " "lisää välilehden jokaiselle avatulle ikkunalle. Lisätietoa: ." +"\"pluma-tabs\"/>." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Tallenna tiedosto" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Voit tallentaa tiedostoja seuraavin tavoin:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -682,7 +682,7 @@ msgstr "" "TiedostoTallenna." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsTallenna nimellä-dialogissa ja napsauta " "Tallenna." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Tallentaaksesi kaikki gedit:issä avoinna olevat " +"Tallentaaksesi kaikki pluma:issä avoinna olevat " "tiedostot, valitse AsiakirjatTallenna kaikki." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Sulkeaksesi kaikki gedit:issä auki olevat " +"Sulkeaksesi kaikki pluma:issä auki olevat " "tiedostot, valitse AsiakirjatSulje kaikki." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Tiedoston avaus URI-osoitteesta." -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -727,7 +727,7 @@ msgstr "" "Avataksesi tiedoston Uniform Resource Identifier (URI) -osoitteesta, toimi " "seuraavien vaiheiden kautta:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -737,11 +737,11 @@ msgstr "" "guimenuitem> näyttääksesi Avaa sijainti-" "dialogin." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Syötä avattavan tiedoston URI-osoite." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -749,11 +749,11 @@ msgstr "" "Käytä Merkistön koodaustapa-pudotusvalikkoa " "asianmukaisen merkistökoodauksen valitsemiseksi." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Napsauta Avaa." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -763,7 +763,7 @@ msgstr "" "literal>, ftp:, file:, ja kaikki " "mate-vfs:n tukemat muodot." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -775,64 +775,64 @@ msgstr "" "FTP:llä avatut tiedostot ovat \"vain-luku\"-tilassa, koska kaikki FTP-" "palvelimet eivät pysty etätallentamaan tiedostoja oikein." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "FTP-palvelimille tallentaminen voidaan kytkeä päälle Asetusten muokkaimella asettamalla avain /apps/gedit-2/preferences/" +"application> asettamalla avain /apps/pluma-2/preferences/" "editor/save/writable_vfs_schemes, mutta tämä voi tuottaa " "virheitä." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Välilehtien käyttö" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Kun useita tiedostoja on auki, gedit näyttää " +"Kun useita tiedostoja on auki, pluma näyttää " "välilehden jokaiselle asiakirjalle näyttöalueen " "yläosassa. Vaihtaaksesi toiseen asiakirjaan, napsauta sen välilehteä." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Siirtääksesi asiakirjan toiseen gedit-ikkunan, " +"Siirtääksesi asiakirjan toiseen pluma-ikkunan, " "vedä tiedoston välilehti ikkunaan, johon haluat sen siirtää." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Siirtääksesi asiakirjan uuteen gedit-ikkunaan, " +"Siirtääksesi asiakirjan uuteen pluma-ikkunaan, " "vedä sen välilehti työpöydälle, tai valitse AsiakirjatSiirrä uuteen ikkunaan." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Tekstinkäsittely" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Tekstinmuokkaus" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Voit muokata tiedoston tekstiä seuraavin tavoin:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -842,7 +842,7 @@ msgstr "" "firstterm> näyttää paikan, johon uusi teksti ilmestyy. Muuttaaksesi tätä " "paikkaa, käytä näppäimistö nuolinäppäimiä tai napsauta hiirellä." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyMuokkaaKopioi." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutMuokkaaLeikkaa." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteMuokkaaPoista." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Lisätäksesi leikepöydän sisällön osoittimen osoittamalle paikalle, valitse " "MuokkaaLiitä. Sinun täytyy leikata tai kopioida tekstiä, ennen kuin voit " -"liittää sitä tiedostoon, joko gedit:isä tai toisesta sovelluksesta." +"liittää sitä tiedostoon, joko pluma:isä tai toisesta sovelluksesta." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -893,11 +893,11 @@ msgstr "" "MuokkaaValitse kaikki." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Muutosten kumoaminen ja uudelleentekeminen" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -909,31 +909,31 @@ msgstr "" "toiminnon, valitse MuokkaaTee " "uudelleen." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Etsi ja korvaa" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"gedit:ssä, on kaksi tapaa etsiä tekstiä. Voit " +"pluma:ssä, on kaksi tapaa etsiä tekstiä. Voit " "käyttää Etsi-dialogia etsiäksesi tietyltä alueelta " "tekstiä, tai Incremental Search korostaaksesi sopivan " "tekstin kirjoittaessasi." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Tekstin etsiminen" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Etsiäksesi tiedostosta tekstijonoa, tee seuraavat vaiheet:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -941,27 +941,27 @@ msgstr "" "Valitse EtsiEtsi avataksesi Etsi-dialogin." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." -msgstr "Kirjoita merkkijono, jonka haluat etsiä Hakusana-kenttään. Voit sisällyttää erikoismerkkejä kuten rivinvaihdon tai sarkaimen: katso ." +"." +msgstr "Kirjoita merkkijono, jonka haluat etsiä Hakusana-kenttään. Voit sisällyttää erikoismerkkejä kuten rivinvaihdon tai sarkaimen: katso ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Napsauta Etsi etsiäksesi tiedostosta ensimmäistä " -"sopivaa merkkijonoa osoittimesi sijainnin jälkeen. Jos geditpluma löytää merkkijonon, sovellus valitsee ensimmäisen merkkijonon " "sijainnin. Muut sijainnit korostetaan." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextEtsiEtsi " "edellinen." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -989,7 +989,7 @@ msgstr "" "menuchoice> ja EtsiEtsi " "edellinen." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightEtsiÄlä korosta osumia." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Tarkentava haku" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1012,7 +1012,7 @@ msgstr "" "yhteneviä sillä hetkellä kirjoittamasi merkkijonon kanssa. (Tämä on " "samanlainen hakutoiminto kuin muutamissa web-selaimissa.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1022,7 +1022,7 @@ msgstr "" "guimenu>Tarkentava haku. " "Hakukenttä ilmestyy näyttöalueen yläosaan." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1030,7 +1030,7 @@ msgstr "" "Ala kirjoittaa ja kaikki osuvat merkkijonot korostetaan asiakirjasta. " "Ensimmäinen osuma osoittimen jälkeen valitaan." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftG palataksesi takaisin edelliseen osumaan." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1050,11 +1050,11 @@ msgstr "" "Voit myös käyttää ylös- ja alas-nuolinäppäimiä tai hiiren rullaa " "liikuttaaksesi valintaa osumien välillä." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Tekstin korvaaminen" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1062,7 +1062,7 @@ msgstr "" "Etsiäksesi merkkijonoa tiedostosta ja korvataksesi sen toisella " "merkkijonolla, tee seuraavat vaiheet:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1070,17 +1070,17 @@ msgstr "" "Valitse EtsiKorvaa avataksesi Korvaa-dialogin." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Kirjoita merkkijono, jonka haluat etsiä EtsiHakusana-kenttään. Voit sisällyttää erikoismerkkejä kuten rivinvaihdon tai " -"sarkaimen: katso ." +"sarkaimen: katso ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1088,22 +1088,22 @@ msgstr "" "Kirjoita merkkijono, jonka haluat korvata merkkijonolla, joka löytyy " "Korvaava merkkijono-kentästä." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Tutkiaksesi jokaista merkkijono-osumaa ennen korvaamista, napsauta " -"Etsi. Jos gedit löytää " +"Etsi. Jos pluma löytää " "merkkijonon, sovellus valitsee tämän merkkijonon. Napsauta " "Korvaa korvataksesi valitun merkkijono-osuman. " "Etsiäksesi seuraava merkkijono-osuman, napsauta Etsi " "uudelleen." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1111,11 +1111,11 @@ msgstr "" "Korvataksesi kaikki merkkijono-osumat koko asiakirjassa, napsauta " "Korvaa kaikki." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Etsi ja korvaa -asetukset" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1123,7 +1123,7 @@ msgstr "" "Etsi-dialogi ja Korvaa-dialogi " "sisältävät molemmat seuraavat asetukset:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1135,7 +1135,7 @@ msgstr "" "Huomioi kirjainkoko -valinnan ollessa päällä " "hakusanalla \"Kissa\" ei löydy sanaa \"kissa\" tai \"KISSA\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1147,7 +1147,7 @@ msgstr "" "valittuna, hakusanalla \"kirja\" ei löydy sanoja \"kirjailija\" tai " "\"kirjahylly\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1155,7 +1155,7 @@ msgstr "" "Valitse Etsi taaksepäin -valinta etsiäksesi hakusanaa " "osoittimesta asiakirjan alkuun päin." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1163,11 +1163,11 @@ msgstr "" "Valitse Jatka alusta -valinta etsiäksesi asiakirjan " "loppuun, palataksesi alkuun ja etsiäksesi vielä alkupään." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Erikoismerkit" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1175,35 +1175,35 @@ msgstr "" "Voit sisällyttää seuraavia merkintöjä tekstiin etsiäksesi ja korvataksesi " "erikoismerkkejä:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Määrittää rivinvaihdon." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Määrittää sarkainmerkin." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Määrittää alkuunkelauksen." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1217,11 +1217,11 @@ msgstr "" "merkintää kenoviivasarjalle, sinun täytyy kertoa kahdella haettavien " "kenoviivojen määrä." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Osoittimen asettaminen tietylle riville" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to LineEtsiSiirry riville.... Rivinumerokenttä aukeaa näyttöalueen yläosaan." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1239,7 +1239,7 @@ msgstr "" "Aloita kirjoittamaan rivinumeroa, jolle haluat siirtää osoittimen ja " "asiakirjan vierii halutulle riville." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1247,15 +1247,15 @@ msgstr "" "Sulkeaksesi kentän ja siirtääksesi osoittimen halutulle riville, paina " "Return." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Tulostus" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Sivuasetusten asettaminen" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1265,7 +1265,7 @@ msgstr "" "guimenu>Sivuasetukset... avataksesi " "Sivuasetukset-dialogin." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1273,27 +1273,27 @@ msgstr "" "Sivuasetukset-dialogi päästää sinut määrittämään " "seuraavia tulostusasetuksia:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Yleiset-välilehtiosio" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Tulosta syntaksiväritys" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Valitse tämä valinta tulostaaksesi syntaksivärityksen. Lisätietoja " -"syntaksivärityksestä: ." +"syntaksivärityksestä: ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Tulosta sivujen otsakkeet" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1301,11 +1301,11 @@ msgstr "" "Valitse tämä asetus sisällyttääksesi otsakkeen jokaiseen tulostettavaan " "sivuun. Et voi säätää otsakkeita." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Rivinumerot" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1313,7 +1313,7 @@ msgstr "" "Valitse Tulosta rivinumerot -valitsin sisällyttääksesi " "rivinumerot tulostettaviin tiedostoihin." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1323,11 +1323,11 @@ msgstr "" "numerovalitsinta määrittääksesi, kuinka usein tulostetaan rivinumerot. " "Esimerkiksi 5 rivin välein, 10 rivin välein jne." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1685(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1685(para) msgid "Text Wrapping" msgstr "Tekstin rivitys" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1338,7 +1338,7 @@ msgstr "" "tulostaessasi tiedostoon. Sovellus laskee rivitetyt rivit yksittäisenä " "rivinä rivinumeroinnissa." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1347,15 +1347,15 @@ msgstr "" "rivittääksesi tekstin seuraavalle riville, sanavälien kohdalta " "tulostettaessa tiedostoon." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Kirjasimet" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Tekstiosa" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1363,20 +1363,20 @@ msgstr "" "Napsauta tätä painiketta valitaksesi käytettävän kirjasimen tulostettaessa " "tiedoston tekstiosaa." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Rivinumerot" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Napsauta tätä painiketta valitaksesi kirjasimen rivinumeroinnin tulostukseen." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Otsakkeet ja alatunnisteet" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1384,47 +1384,47 @@ msgstr "" "Napsauta tätä painiketta valitaksesi kirjasimen otsakkeiden ja " "alatunnisteiden tulostukseen." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Palauttaaksesi oletuskirjasinasetukset tiedoston tulostukseen " -"gedit:llä, napsauta Palauta " +"pluma:llä, napsauta Palauta " "oletuskirjasimet." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Asiakirjan tulostus" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Voit käyttää gedit:iä seuraavien " +"Voit käyttää pluma:iä seuraavien " "tulostustehtävien suoritukseen." -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Tulosta asiakirja tulostimelle" -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Tulosta tiedostoon." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Jos tulostat tiedostoon, gedit lähettää tiedoston " +"Jos tulostat tiedostoon, pluma lähettää tiedoston " "tulosteen esimuotoiltuun tiedostoon. Yleisimmät esimuotoilutiedostomuodot " "ovat PostScript ja Portable Document Format (PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewTiedostoTulostuksen esikatselu." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintTiedostoTulosta avataksesi Tulosta-dialogin." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1452,34 +1452,34 @@ msgstr "" "Tulosta-dialogi päästää sinut määrittämään seuraavat " "tulostusasetukset:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Työ-välilehti" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Tulostusalue" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Valitse yksi seuraavista vaihtoehdoista ilmoittaaksesi, montako sivua haluat " "tulostaa:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Kaikki" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Valitse tämän vaihtoehto tulostaaksesi tiedoston kaikki sivut." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Rivit" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1489,11 +1489,11 @@ msgstr "" "Tulostusalueen alku ja Tulostusalueen loppu valintakenttiä määrittääksesi rivialueen." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Valinta" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1501,11 +1501,11 @@ msgstr "" "Valitse tämä vaihtoehto tulostaaksesi vain valitun tekstin. Tämä vaihtoehto " "on käytettävissä vain, jos olet valinnut tekstiä." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Kopiot" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1513,7 +1513,7 @@ msgstr "" "Käytä Kopioita valintakenttää määrittääksesi haluamasi " "määrän kopioita, jotka haluat tiedostosta tulostaa." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1521,29 +1521,29 @@ msgstr "" "Jos tulostaa useita kopioita samasta tiedostosta, valitse Kerää-valinta lajitellaksesi tulostetut kopiot." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Tulostin-välilehti" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Tulostin" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "Käytä pudotusvalikkoa valitaksesi tulostimen, jota haluat käyttää." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Asetukset" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Käytä pudotusvalikkoa valitaksesi tulostimen asetukset." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1553,24 +1553,24 @@ msgstr "" "voit kytkeä päälle tai pois päältä duplex-tulostuksen tai ajastetun " "tulostuksen, jos tämä toiminto on tulostimen tukema." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Sijainti" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "Käytä pudotusvalikkolistaa valitaksesi yhden tulostussijainneista:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Tulosta tiedoston CUPS-tulostimella." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1578,23 +1578,23 @@ msgstr "" "Jos valittu tulostin on CUPS-tulostin, CUPS on ainoa " "valinta pudotusvalikossa." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Tulosta tiedosto tulostimelle." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Tiedosto" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Tulosta tiedosto PostScript-tiedostoon." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1602,15 +1602,15 @@ msgstr "" "Napsauta Tallenna nimellä avataksesi dialogin, jossa " "voit määrittää nimen ja sijainnin PostScript-tiedostolle." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Mukautettu" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Käytä määritettyä komentoa tiedoston tulostukseen." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1618,31 +1618,31 @@ msgstr "" "Kirjoita komennon nimi tekstilaatikkoon. Sisällytä kaikki " "komentorivimääritteet." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Tila." -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Tämä toiminto ei ole tuettu tässä gedit:in versiossa." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Tämä toiminto ei ole tuettu tässä pluma:in versiossa." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Tyyppi" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Kommentti" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Paperi-välilehti" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Paperin koko" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1650,11 +1650,11 @@ msgstr "" "Käytä pudotusvalikkoa valitaksesi koon paperille, jota haluat käyttää " "tiedoston tulostukseen." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Leveys" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1662,37 +1662,37 @@ msgstr "" "Käytä tätä valintakenttää määrittääksesi paperin leveyden. Käytä " "pudotusvalikkoa vaihtaaksesi mittayksikköä." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Korkeus" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Käytä valintalaatikkoa määrittääksesi paperin leveyden" -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Syöttötapa" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "Käytä pudotusvalikkoa valitaksesi paperinsyöttötavan tulostimelle." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Tulostustapa" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Käytä pudotusvalikkoa valitaksesi tulostustavan sivun tulostukselle." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Asettelu" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1700,35 +1700,35 @@ msgstr "" "Käytä pudotusvalikkoa valitaksesi sivun asettelu. Jokaisen valitsemasi " "asettelun esikatselu näkyy Esikatselu-alueella." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Paperilokero" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Käytä pudotusvalikkoa valitaksesi paperilokeron." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Ohjelmointiominaisuudet" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Muutamat gedit:in ohjelmointiominaisuudet " +"Muutamat pluma:in ohjelmointiominaisuudet " "tarjotaan liitännäisinä. Esimerkiksi Tag List -liitännäinen tarjoaa listan " "yleisimmin käytetyistä merkinnöistä eri merkintäkielissä: katso ." +"linkend=\"pluma-tag-list-plugin\"/>." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Syntaksiväritys" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1736,31 +1736,31 @@ msgstr "" "Syntaksiväritys parantaa koodin luettavuutta ja näyttää tekstin eri osat eri " "väreillä." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit valitsee sopivan syntaksiväritystilan " +"pluma valitsee sopivan syntaksiväritystilan " "asiakirjan tyypin mukaan. Muuttaaksesi syntaksiväritystilaa, valitse " "NäytäVäritystila ja valitse yksi seuraavista valikkovalinnoista:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normaali" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Älä näytä syntaksiväritystä." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Lähdekoodit" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1769,11 +1769,11 @@ msgstr "" "Lähdekoodit-alavalikkoa valitaksesi " "lähdekoodityypin." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Merkintä" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1782,11 +1782,11 @@ msgstr "" "Merkintä-alavalikkoa valitaksesi " "merkintäkoodityypin." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Komentojonot" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1795,11 +1795,11 @@ msgstr "" "Komentojonot-alavalikkoa valitaksesi " "komentojonokoodityypin." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Muut" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1807,31 +1807,31 @@ msgstr "" "Näyttää syntaksikorostuksen muokattaessa muita koodityyppejä. Käytä " "Muut-alavalikkoa valitaksesi koodityypin." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Komennon tulosteen ohjaus tiedostoon" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Voit käyttää gedit:iä ohjataksesi komennon " +"Voit käyttää pluma:iä ohjataksesi komennon " "tulosteen tiedostoon. Esimerkiksi, tulostaaksesi ls-" -"komennon tekstitiedostoon, kirjoita ls | gedit, ja paina " +"komennon tekstitiedostoon, kirjoita ls | pluma, ja paina " "Return." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Komennon ls tuloste näytetään uudessa tekstitiedostossa " -"gedit-ikkunassa." +"pluma-ikkunassa." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1839,21 +1839,21 @@ msgstr "" "Vaihtoehtoisesti voit käyttää Ulkoiset työkalut-" "liitännäistä ohjataksesi komennon auki olevaan tiedostoon." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Pikanäppäimet" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Käytä pikanäppäimiä yleisten tehtävien suorittamiseen nopeammin kuin " "hiirellä ja valikoilla. Seuraavat taulukot luettelevat kaikki " -"geditin pikanäppäimet." +"plumain pikanäppäimet." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1862,404 +1862,404 @@ msgstr "" "keyboard-skills\">Työpöytäkäyttäjän opas." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Välilehdet" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Pikanäppäimet välilehdille:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Pikanäppäin" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "Komento" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Vaihtaa seuraavaan välilehteen vasemmalla." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Vaihtaa seuraavaan välilehteen oikealla." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Sulkee välilehden." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Vaihto + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Tallentaa kaikki välilehdet" -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Vaihto + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Sulkee kaikki välilehdet" -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Hyppää seuraavaan nth-välilehteen" #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Tiedostot" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Pikanäppäimet tiedostojen käsittelyyn:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Luo uuden asiakirjan" -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Avaa asiakirjan" -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Avaa sijainnin" -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Tallentaa auki olevan asiakirjan levylle." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Vaihto + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Tallentaa avoinna olevan asiakirjan uudella tiedostonimellä." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Tulostaa avoinna olevan asiakirjan" -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Vaihto + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Tulostuksen esikatselu." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Sulkee avoinna olevan asiakirjan." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Sulkee Gedit:in." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Sulkee Pluma:in." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1406(guimenu) -#: C/gedit.xml:1412(guimenu) C/gedit.xml:1418(guimenu) -#: C/gedit.xml:1424(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1406(guimenu) +#: C/pluma.xml:1412(guimenu) C/pluma.xml:1418(guimenu) +#: C/pluma.xml:1424(guimenu) msgid "Edit" msgstr "Muokkaa" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Pikanäppäimet asiakirjojen muokkaukseen:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Kumoaa viimeisen toiminnon." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Vaihto + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Palauta viimeinen kumottu toiminto." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Leikkaa valitun tekstin tai alueen ja siirtää sen leikepöydälle." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Kopioi valitun tekstin tai alueen leikepöydälle." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Liittää leikepöydän sisällön." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Valitsee kaiken." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Poistaa rivin, jolla olet." #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Paneelit" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Pikanäppäimet paneelien näyttämiseen ja piilottamiseen:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Näytä/piilota tämä paneeli." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Näytä/Piilota alapaneeli." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Etsiminen" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Pikanäppäimet etsimiseen:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "Etsii merkkijonoa." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Etsii seuraavan osuman merkkijonolle." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Vaihto + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Etsii edellinen osuma merkkijonolle." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Vuorovaikutteinen etsimistoiminto." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Etsii ja korvaa." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Vaihto + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Poistaa korostukset." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "Menee riville." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Työkalut" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Pikanäppäimet työkaluille:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Vaihto + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Tarkistaa oikeinkirjoitus (liitännäisellä)." -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Poistaa ohjaavan tyhjämerkin (liitännäisellä)." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Sisentää (liitännäisellä)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Vaihto + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Poistaa sisennyksen (liitännäisellä)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "" "Suorittaa komennon \"make\" paikallisessa hakemistossa (liitännäisellä)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Vaihto + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Hakemistolistaus (liitännäisellä)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Ohje" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Pikanäppäimet ohjeille:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Avaa gedit:in käyttöoppaan." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Avaa pluma:in käyttöoppaan." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "Asetukset" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Säätääksesi gedit:iä, valitse " +"Säätääksesi pluma:iä, valitse " "MuokkaaAsetukset. Asetukset-dialogi sisältää seuraavat " "alaluokat:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Näytä-välilehti" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2269,7 +2269,7 @@ msgstr "" "tulvimaan kappaleiksi ikkunasta ulos menevän rivin sijaan. Tällä vältät " "pitkittäisen kelauksen." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2279,19 +2279,19 @@ msgstr "" "rivittääksesi tekstin katkaisematta kokonaisia sanoja rivitettäessä tekstiä " "seuraavalle riville. Tämä helpoittaa tekstin luettavuutta." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Valitse Näytä rivinumerot -asetus näyttääksesi " -"rivinumerot gedit-ikkunan vasemmalla puolella." +"rivinumerot pluma-ikkunan vasemmalla puolella." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Nykyinen rivi" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2299,11 +2299,11 @@ msgstr "" "Valitse Korosta nykyinen rivi -asetus korostaaksesi " "rivin, jolla osoitin on." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Oikea reunus" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2311,7 +2311,7 @@ msgstr "" "Valitse Näytä oikea reunus-valitsin näyttääksesi " "pystysuoran viivan, joka merkitsee oikeaa reunusta." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2319,11 +2319,11 @@ msgstr "" "Käytä Oikea reunus sarakkeessa:-lukurullaa " "määrittääksesi pystysuoran viivan sijainnin." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Hakasulkujen vastaavuus" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2333,35 +2333,35 @@ msgstr "" "korostaakseesi vastaavan hakasulun, kun osoitin on asetettu " "hakasulkumerkille." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Muokkain-välilehti" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Käytä Sarkainleveys-lukurullaa määrittääksesi " "syötettävän välin leveyden painettaessa Sarkain-näppäintä " -"geditissä." +"plumaissä." -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Valitse Lisää välilyöntejä sarkaimien sijaan-asetus " -"määrittääksesi geditin syöttämään tyhjämerkkejä " +"määrittääksesi plumain syöttämään tyhjämerkkejä " "sarkainmerkin sijaan painettaessa Sarkain-näppäintä." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Automaattinen sisennys" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2369,11 +2369,11 @@ msgstr "" "Valitse Käytä automaattisisennystä-asetusta " "määrittääksesi seuraavan rivin sisennyksen suhteessa nykyiseen riviin." -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Tallentaminen" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2384,7 +2384,7 @@ msgstr "" "tallentaessasi sitä. Tiedoston varmuuskopion tiedostonimen perässä on ~-" "merkki." -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2395,124 +2395,124 @@ msgstr "" "säännöllisin väliajoin. Käytä lukurullaa määrittääksesi, kuinka usein haluat " "tallentaa tiedoston." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Kirjaseimet & Värit-välilehti" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Kirjasin" -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Valitse Käytä järjestelmän tasalevyistä kirjasinta-" "asetus käyttääksesi järjestelmän oletuskirjasinta tekstissä " -"gedit-teksti-ikkunassa." +"pluma-teksti-ikkunassa." -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Muokkaimen kirjasin-kenttä näyttää kirjasimen, jota " -"gedit käyttää tekstin näyttämiseen. Napsauta " +"pluma käyttää tekstin näyttämiseen. Napsauta " "painiketta määrittääksesi kirjasimen tyypin, tyylin ja koon käytettäväksi " "tekstissä." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Värimalli" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" msgstr "Voit valita värimallin värimallien luettelosta. Oletuksena on asennettu seuraavat värimallit:" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Perinteinen" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Perinteinen värimalli, joka pohjautuu gvimin värimalliin." -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Koboltti" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Siniseen perustuva värimalli." -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Kate-tekstieditorin käyttämä värimalli." -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Tango-väripaletin käyttämä tumma värimalli." -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Tango-väripaletin käyttämä värimalli." -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" msgstr "Voit lisätä uuden värimallin napsauttamalla Lisää... ja valitsemalla värimallitiedoston" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" msgstr "Voit poistaa valitun värimallin napsauttamalla Poista" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Liitännäisasetukset" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Liitännäiset lisäävät lisäominaisuuksia gedit:" +"Liitännäiset lisäävät lisäominaisuuksia pluma:" "iin. Lisätietoa liitännäisistä ja sisäänrakennettujen liitännäisten " -"käytöstä: ." +"käytöstä: ." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Liitännäisten kytkeminen päälle" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Kytkeäksesi gedit-liitännäisen päälle, toimi " +"Kytkeäksesi pluma-liitännäisen päälle, toimi " "seuraavien ohjeiden mukaisesti:" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1635(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1635(para) msgid "" "Choose EditPreferences." @@ -2520,18 +2520,18 @@ msgstr "" "Valitse MuokkaaAsetukset." -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1638(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1638(para) msgid "Select the Plugins tab." msgstr "Valitse Liitännäiset-välilehti." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Valitse liitännäisen vieressä oleva ruksilaatikko liitännäisistä, jotka " "haluat kytkeä päälle." -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." @@ -2539,26 +2539,26 @@ msgstr "" "Napsauta Sulje sulkeaksesi Asetukset-dialogin." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Liitännäisen kytkeminen pois päältä" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Liitännäinen pysyy kytkettynä, kun suljet gedit:" +"Liitännäinen pysyy kytkettynä, kun suljet pluma:" "in." -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Kytkeäksesi gedit-liitännäisen pois päältä, toimi " +"Kytkeäksesi pluma-liitännäisen pois päältä, toimi " "seuraavien ohjeiden mukaisesti:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2566,82 +2566,82 @@ msgstr "" "Poista valinta poistettavien liitännäisten nimien vieressä olevista " "ruksilaatikoista." -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "Liitännäiset" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Liitännäisten kanssa toiminen" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Voit lisätä lisätoimintoja gedit:iin kytkemällä " +"Voit lisätä lisätoimintoja pluma:iin kytkemällä " "liitännäisiä päälle. Liitännäinen on täydentävä " "ohjelma, joka parantaa sovelluksen toiminnallisuutta. Liitännäiset lisäävät " -"uusia valintoja gedit:in uusille toiminnoilleen." +"uusia valintoja pluma:in uusille toiminnoilleen." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Muutamia liitännäisiä on gedit:ssä " +"Muutamia liitännäisiä on pluma:ssä " "sisäänrakennettuna ja voit asentaa niitä myös lisää. Gedit:in verkkosivustoltaPluma:in verkkosivustolta löydät listan 3. osapuolen tarjoamista liitännäisistä." -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Kytkeäksesi liitännäisiä päälle tai pois, tai katsoaksesi, mitkä " -"liitännäiset ovat tällä hetkellä päällä, mene Liitännäisasetuksiin." -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Seuraavat liitännäiset ovat sisäänrakennettuina geditpluma:ssä:" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Muuta kirjainkokoaMuuta kirjainkokoa mahdollista kirjainkoon vaihtamisen tekstissä." -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Asiakirjatilastot näyttää rivien, sanojen, ja " "merkkien määrän asiakirjassa." -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Ulkoiset " +"Ulkoiset " "työkalut mahdollistaa lisäkomentojen suorittamisen " -"gedit:ssä." +"pluma:ssä." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2649,94 +2649,94 @@ msgstr "" "Tiedostoselain mahdollistaa tiedostojen ja " "kansioiden selailun sivupaneelissa." -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Päiväys/AikaPäiväys/Aika lisää aikaleiman asiakirjaan." -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"TilarivitTilarivit mahdollistaa muokkausasetusten asettamisen eri asiakirjoille, " "ja se tukee Emacs, Kate ja Vim-tyylisiä tilarivejä." -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Python-konsoliPython-konsoli mahdollistaa python-ohjelmointikielen komentojen " "ajamisen." -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"TekstileikkeetTekstileikkeet mahdollistaa yleisten tekstinpätkien tallentamisen ja " "syöttämisen nopeasti asiakirjaan." -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"LajitteluLajittelu järjestää valitut tekstirivit aakkosjärjestykseen." -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"OikolukuOikoluku korjaa kirjoitusvirheet valitussa tekstissä, tai merkitsee " "virheet automaattisesti asiakirjaan." -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"MerkintälistaMerkintälista mahdollistaa yleisten eri kielien (esim. HTML) merkintöjen " "lisäämisen listasta sivupaneelista." -#: C/gedit.xml:1381(para) +#: C/pluma.xml:1381(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." -msgstr "Lisätietoa liitännäisten luomisesta, katso gedit:in web-sivusto." +msgstr "Lisätietoa liitännäisten luomisesta, katso pluma:in web-sivusto." -#: C/gedit.xml:1385(title) +#: C/pluma.xml:1385(title) msgid "Change Case Plugin" msgstr "Vaihda kirjainkokoa -liitännäinen" -#: C/gedit.xml:1386(para) +#: C/pluma.xml:1386(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2744,7 +2744,7 @@ msgstr "" "The Vaihda kirjainkokoa -liitännäinen vaihtaa " "valitun tekstin kirjainkokoa." -#: C/gedit.xml:1387(para) +#: C/pluma.xml:1387(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2752,79 +2752,79 @@ msgstr "" "Seuraavat valinnat lisätään Muokkaa -valikkoon, kun " "Vaihda kirjainkokoa -liitännäinen on kytketty:" -#: C/gedit.xml:1397(para) +#: C/pluma.xml:1397(para) msgid "Menu Item" msgstr "Valikkovalinta" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Action" msgstr "Toiminto" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Example" msgstr "Esimerkki" -#: C/gedit.xml:1407(guisubmenu) C/gedit.xml:1413(guisubmenu) -#: C/gedit.xml:1419(guisubmenu) C/gedit.xml:1425(guisubmenu) +#: C/pluma.xml:1407(guisubmenu) C/pluma.xml:1413(guisubmenu) +#: C/pluma.xml:1419(guisubmenu) C/pluma.xml:1425(guisubmenu) msgid "Change Case" msgstr "Vaihda kirjainkokoa" -#: C/gedit.xml:1407(guimenuitem) +#: C/pluma.xml:1407(guimenuitem) msgid "All Upper Case" msgstr "Kaikki isoja kirjaimia" -#: C/gedit.xml:1408(para) +#: C/pluma.xml:1408(para) msgid "Change each character to uppercase." msgstr "Muuttaa jokaisen kirjaimen isoksi." -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "This text becomes THIS TEXT" msgstr "Esim. Kissa => KISSA" -#: C/gedit.xml:1413(guimenuitem) +#: C/pluma.xml:1413(guimenuitem) msgid "All Lower Case" msgstr "Kaikki pieniä kirjaimia" -#: C/gedit.xml:1414(para) +#: C/pluma.xml:1414(para) msgid "Change each character to lowercase." msgstr "Muuttaa jokaisen kirjaimen pieneksi." -#: C/gedit.xml:1415(para) +#: C/pluma.xml:1415(para) msgid "This Text becomes this text" msgstr "Esim.Kissa => kissa" -#: C/gedit.xml:1419(guimenuitem) +#: C/pluma.xml:1419(guimenuitem) msgid "Invert Case" msgstr "Käännä kirjainkoot päinvastaisiksi" -#: C/gedit.xml:1420(para) +#: C/pluma.xml:1420(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Vaihtaa jokaisen ison kirjaimen pieneksi ja pienen kirjaimen isoksi." -#: C/gedit.xml:1421(para) +#: C/pluma.xml:1421(para) msgid "This Text becomes tHIS tEXT" msgstr "Esim.Kissa => kISSA" -#: C/gedit.xml:1425(guimenuitem) +#: C/pluma.xml:1425(guimenuitem) msgid "Title Case" msgstr "Iso alkukirjain" -#: C/gedit.xml:1426(para) +#: C/pluma.xml:1426(para) msgid "Change the first character of each word to uppercase." msgstr "Muuttaa jokaisen sanan ensimmäisen kirjaimen isoksi." -#: C/gedit.xml:1427(para) +#: C/pluma.xml:1427(para) msgid "this text becomes This Text" msgstr "" "Esim.kissa juoksee => Kissa Juoksee" -#: C/gedit.xml:1436(title) +#: C/pluma.xml:1436(title) msgid "Document Statistics Plugin" msgstr "Asiakirjan tilastot -liitännäinen" -#: C/gedit.xml:1437(para) +#: C/pluma.xml:1437(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2838,7 +2838,7 @@ msgstr "" "guilabel> -dialogissa. Käyttääksesi Asiakirjan tilastot -liitännäistä, toimi " "seuraavien ohjeiden mukaisesti:" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics-dialogin. Asiakirjan tilastot-" "dialogi näyttää seuraavat tiedot tiedostosta:" -#: C/gedit.xml:1442(para) +#: C/pluma.xml:1442(para) msgid "Number of lines in the current document." msgstr "Rivien määrän asiakirjassa." -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "Number of words in the current document." msgstr "Sanojen määrän asiakirjassa." -#: C/gedit.xml:1448(para) +#: C/pluma.xml:1448(para) msgid "Number of characters, including spaces, in the current document." msgstr "Merkkien määrän (mukaan lukien välilyöntimerkit) asiakirjassa." -#: C/gedit.xml:1451(para) +#: C/pluma.xml:1451(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Merkkien määrän (pois lukien välilyöntimerkit) asiakirjassa." -#: C/gedit.xml:1454(para) +#: C/pluma.xml:1454(para) msgid "Number of bytes in the current document." msgstr "Tavujen määrän asiakirjassa." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Voit jatkaa gedit-tiedoston päivittämistä " +"Voit jatkaa pluma-tiedoston päivittämistä " "Asiakirjan tilastot-dialogin ollessa avoinna. " "Päivittääksesi Asiakirjan tilastot-dialogin sisällön, " "napsauta Päivitä." -#: C/gedit.xml:1466(title) +#: C/pluma.xml:1466(title) msgid "External Tools Plugin" msgstr "Ulkoiset työkalut -liitännäinen" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "Ulkoiset työkalut -liitännäinen sallii ulkoisten " -"komentojen suorittamisen gedit:stä. Voit ohjata " +"komentojen suorittamisen pluma:stä. Voit ohjata " "sisältöä komentoon ja lisätä sen tulostetta (esim. sed), tai käynnistää määritellyn komennon (esim, make)." -#: C/gedit.xml:1468(para) +#: C/pluma.xml:1468(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsTyökalut-valikosta." -#: C/gedit.xml:1471(title) +#: C/pluma.xml:1471(title) msgid "Built-in Commands" msgstr "Sisäänrakennetut komennot" -#: C/gedit.xml:1472(para) +#: C/pluma.xml:1472(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -2922,37 +2922,37 @@ msgstr "" "Seuraavat komennot tarjotaan Ulkoiset työkalut-" "liitännäisellä:" -#: C/gedit.xml:1474(term) +#: C/pluma.xml:1474(term) msgid "Build" msgstr "Paketoi" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Runs make in the current document's directory." msgstr "Suorittaa make valitussa hakemistossa." -#: C/gedit.xml:1479(term) +#: C/pluma.xml:1479(term) msgid "Directory Listing" msgstr "Hakemistolistaus" -#: C/gedit.xml:1481(para) +#: C/pluma.xml:1481(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Listaa asiakirjan kansion sisällön uuteen asiakirjaan." -#: C/gedit.xml:1484(term) +#: C/pluma.xml:1484(term) msgid "Environment Variables" msgstr "Ympäristömuuttujat" -#: C/gedit.xml:1486(para) +#: C/pluma.xml:1486(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Näyttää ympäristömuuttujalistan alapaneelissa." -#: C/gedit.xml:1489(term) +#: C/pluma.xml:1489(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1491(para) +#: C/pluma.xml:1491(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -2960,19 +2960,19 @@ msgstr "" "Etsii käsitettä kaikista tiedostoista asiakirjan kansiosta käyttäen " "lauseketäsmäystä. Tulokset näkyvät alapaneelissa." -#: C/gedit.xml:1494(term) +#: C/pluma.xml:1494(term) msgid "Remove Trailing Spaces" msgstr "Poista ohjausvälit" -#: C/gedit.xml:1496(para) +#: C/pluma.xml:1496(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Poistaa kaikki välilyöntimerkit asiakirjan rivien lopuista." -#: C/gedit.xml:1503(title) +#: C/pluma.xml:1503(title) msgid "Defining a Command" msgstr "Komennon määritys." -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -2980,7 +2980,7 @@ msgstr "" "Lisätäksesi ulkoisen komennon, valitse TyökalutUlkoiset työkalut." -#: C/gedit.xml:1505(para) +#: C/pluma.xml:1505(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -2990,42 +2990,42 @@ msgstr "" "Uusi. Voit määrittää seuraavat tiedot uudelle " "komennolle:" -#: C/gedit.xml:1507(term) +#: C/pluma.xml:1507(term) msgid "Description" msgstr "Selostus" -#: C/gedit.xml:1509(para) +#: C/pluma.xml:1509(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "Selostus näytetään tilarivillä, kun valikkokomento valitaan." -#: C/gedit.xml:1512(term) +#: C/pluma.xml:1512(term) msgid "Accelerator" msgstr "Kiihdytin" -#: C/gedit.xml:1514(para) +#: C/pluma.xml:1514(para) msgid "Enter a keyboard shortcut for the command." msgstr "Syötä pikanäppäin komennolle." -#: C/gedit.xml:1517(term) +#: C/pluma.xml:1517(term) msgid "Commands" msgstr "Komennot" -#: C/gedit.xml:1519(para) +#: C/pluma.xml:1519(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -"Varsinaiset ajettavat komennot. Muutamia gedit:in " +"Varsinaiset ajettavat komennot. Muutamia pluma:in " "ympäristömuuttujia voidaan käyttää komentojen sisältönä. Lisätietoa: ." +"linkend=\"pluma-external-tools-plugin-variables\"/>." -#: C/gedit.xml:1522(term) +#: C/pluma.xml:1522(term) msgid "Input" msgstr "Syöte" -#: C/gedit.xml:1524(para) +#: C/pluma.xml:1524(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3033,11 +3033,11 @@ msgstr "" "Annettava sisältö komennolle (esim. stdin): koko " "teksti asiakirjasta, valittu alue, rivi tai sana." -#: C/gedit.xml:1527(term) +#: C/pluma.xml:1527(term) msgid "Output" msgstr "Tuloste" -#: C/gedit.xml:1529(para) +#: C/pluma.xml:1529(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3047,11 +3047,11 @@ msgstr "" "asiakirjaan tai nykyiseen asiakirjaan, loppuun, osoittimen kohdalle tai " "korvaamaan valinnan tai koko asiakirjan." -#: C/gedit.xml:1532(term) +#: C/pluma.xml:1532(term) msgid "Applicability" msgstr "Kohteet" -#: C/gedit.xml:1534(para) +#: C/pluma.xml:1534(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3059,21 +3059,21 @@ msgstr "" "Määrää, minkä tyyppisiä asiakirjoja komennolla voidaan käsitellä, esim. " "tallennettuja tai tallentamattomia, paikallisia tai etäisiä." -#: C/gedit.xml:1542(title) +#: C/pluma.xml:1542(title) msgid "Editing and Removing Tools" msgstr "Työkalujen muokkaus ja poistaminen" -#: C/gedit.xml:1543(para) +#: C/pluma.xml:1543(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Muokataksesi työkalua, valitse se listalta ja tee muutokset sen asetuksiin." -#: C/gedit.xml:1544(para) +#: C/pluma.xml:1544(para) msgid "To rename a tool, click it again in the list." msgstr "Nimetäksesi työkalun, napsauta sitä listalta uudelleen." -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3081,7 +3081,7 @@ msgstr "" "Palauttaaksesi sisäänrakennetun työkalun, jota olet muokannut, paina " "Palauta." -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3091,11 +3091,11 @@ msgstr "" "voi poistaa sisäänrakennettua työkaluja, ainoastaan niitä, jotka olet luonut " "itse." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Variables" msgstr "Muuttujat" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3103,39 +3103,39 @@ msgstr "" "Voit käyttää seuraavia muuttujia Komennot-kentässä " "komentomäärittelyssä:" -#: C/gedit.xml:1554(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1554(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1557(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1557(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1560(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1560(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1563(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1563(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1566(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1566(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1569(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1569(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1572(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1572(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1579(title) +#: C/pluma.xml:1579(title) msgid "File Browser Plugin" msgstr "Tiedostoselain -liitännäinen" -#: C/gedit.xml:1580(para) +#: C/pluma.xml:1580(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3143,7 +3143,7 @@ msgstr "" "Tiedostoselain-liitännäinen näyttää tiedostosi ja " "kansiosi sivupaneelissa mahdollistaen tiedostojen nopean avaamisen." -#: C/gedit.xml:1581(para) +#: C/pluma.xml:1581(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3154,11 +3154,11 @@ msgstr "" "sitten välilehteä, joka näyttää tiedostoselainkuvakkeen sivupaneelin " "alaosassa." -#: C/gedit.xml:1583(title) +#: C/pluma.xml:1583(title) msgid "Browsing your Files" msgstr "Tiedostojen selaus" -#: C/gedit.xml:1584(para) +#: C/pluma.xml:1584(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3166,7 +3166,7 @@ msgstr "" "Tiedostoselain-välilehti näyttää aluksi tiedostonhallinnan kirjanmerkkejä. " "Selataksesi kohteen sisältöä kaksoisnapsauta sitä." -#: C/gedit.xml:1585(para) +#: C/pluma.xml:1585(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3174,7 +3174,7 @@ msgstr "" "Näyttääksesi ylähakemiston, valitse se pudotusvalikosta tai paina ylös " "osoittavaa nuolta tiedostonhallinnan työkalupalkista." -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3184,19 +3184,19 @@ msgstr "" "napsauta oikealla hiiren painikkeella tiedostolistaa ja valitse " "Aseta juuri aktiiviseen asiakirjan sijaintiin." -#: C/gedit.xml:1590(para) +#: C/pluma.xml:1590(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Avataksesi tiedoston gedit:ssä, kaksoisnapsauta " +"Avataksesi tiedoston pluma:ssä, kaksoisnapsauta " "sitä tiedostolistassa." -#: C/gedit.xml:1593(title) +#: C/pluma.xml:1593(title) msgid "Creating Files and Folders" msgstr "Tiedostojen ja kansioiden luonti" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3205,7 +3205,7 @@ msgstr "" "napsauta oikealla hiiren painikkeella tiedostolistaa ja valitse " "Uusi tiedosto." -#: C/gedit.xml:1595(para) +#: C/pluma.xml:1595(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3214,11 +3214,11 @@ msgstr "" "hiiren painikkeella tiedostolistassa ja valitse Uusi kansio." -#: C/gedit.xml:1600(title) +#: C/pluma.xml:1600(title) msgid "Indent Lines Plugin" msgstr "Sisennä rivit -liitännäinen" -#: C/gedit.xml:1601(para) +#: C/pluma.xml:1601(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3226,11 +3226,11 @@ msgstr "" "Sisennä rivit -liitännäinen lisää tai poistaa " "välilyöntejä tekstirivien alkuun." -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Sisentääksesi tai ulontaaksesi tekstiä, toimi seuraavasti:" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3238,7 +3238,7 @@ msgstr "" "Valitse rivit, jotka haluat sisentää. Sisentääksesi tai ulontaaksesi " "yksittäisen rivin, aseta osoitin tälle riville." -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "To indent the text, choose EditIndent." @@ -3246,7 +3246,7 @@ msgstr "" "Sisentääksesi tekstin, valitse Muokkaa" "Sisennä." -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3254,21 +3254,21 @@ msgstr "" "Poistaaksesi sisennyksen, valitse MuokkaaPoista sisennys." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Käytettyjen välilyöntien määrää ja käytettävä merkki (sarkain tai " "välilyönti) riippuvat Sarkaimet-asetuksista " -"muokkainasetuksista. Lisätietoa: ." +"muokkainasetuksista. Lisätietoa: ." -#: C/gedit.xml:1622(title) +#: C/pluma.xml:1622(title) msgid "Insert Date/Time Plugin" msgstr "Päiväys/aika -liitännäinen" -#: C/gedit.xml:1623(para) +#: C/pluma.xml:1623(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3278,7 +3278,7 @@ msgstr "" "päivämäärän ja kellonajan asiakirjaan. Käyttääksesi päiväys/aika -" "liitännäistä, toimi seuraavasti:" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "Choose EditInsert Date and Time." @@ -3286,47 +3286,47 @@ msgstr "" "Valitse MuokkaaLisää päiväys/" "aika." -#: C/gedit.xml:1626(para) +#: C/pluma.xml:1626(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Jos et ole asettanut päiväys/aika -liitännäistä syöttämään päiväystä/aikaa " -"automaattisesti kysymättä muotoa, gedit näyttää " -"Lisää päiväys/aika-dialogin. geditpluma näyttää " +"Lisää päiväys/aika-dialogin. pluma syöttää päiväyksen/ajan sen hetkisen sijaintiin aktiivisessa " "tiedostossa." -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Jos olet asettanut gedit:in käyttämään " +"Jos olet asettanut pluma:in käyttämään " "määritettyä päiväys/aika-muotoa, Lisää päiväys/aika-" "dialogia ei näytetä. Päiväys/aika syötetään automaattisesti sen hetkiseen " "sijaintiin aktiivisessa tiedostossa." -#: C/gedit.xml:1632(title) +#: C/pluma.xml:1632(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Säädetään päiväys/aika -liitännäistä" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Säätääksesi päiväys/aika -liitännäistä, toimi seuraavasti:" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "Select the Insert Date/Time plugin." msgstr "Valitse Lisää päiväys/aika-liitännäinen." -#: C/gedit.xml:1644(para) +#: C/pluma.xml:1644(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3334,11 +3334,11 @@ msgstr "" "Napsauta Muokkaa liitännäisen asetuksia näyttääksesi " "Muokkaa liitännäisen asetuksia-dialogin." -#: C/gedit.xml:1647(para) +#: C/pluma.xml:1647(para) msgid "Select one of the options, as follows:" msgstr "Valitse yksi seuraavista asetuksista:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3346,25 +3346,25 @@ msgstr "" "Määrittääksesi päiväys/aika-muodon aina päiväys/aika-toimintoa käytettäessä, " "valitse Kysy muotoilua-asetus." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"Käyttääksesi aina samaa gedit:in valikoimasta " +"Käyttääksesi aina samaa pluma:in valikoimasta " "löytyvää päiväys/aika-muotoilua päiväystä/aikaa syötettäessä, valitse " "Käytä valittua muotoilua-asetus ja valitse sitten " -"sopiva muotoilu listasta. Kun valitset tämän asetuksen,geditpluma ei kysy sinulta päiväys/aika-muotoilua, kun " "valitsetMuokkaaLisää päiväys/" "aika." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3372,7 +3372,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3382,11 +3382,11 @@ msgstr "" "muotoilusta: strftime3. Kun valitset tämän asetuksen, " -"gedit ei kysy sinulta muotoilua valitessasi " +"pluma ei kysy sinulta muotoilua valitessasi " "MuokkaaLisää päiväys/aika." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3394,7 +3394,7 @@ msgstr "" "Napsauta OK sulkeaksesi Muokkaa päiväys/" "aika -liitännäisen asetuksia-dialogin." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3402,49 +3402,49 @@ msgstr "" "Sulkeaksesi Asetukset-dialogin, napsauta " "Sulje." -#: C/gedit.xml:1670(title) +#: C/pluma.xml:1670(title) msgid "Modelines Plugin" msgstr "Tilarivit -liitännäinen" -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Tilarivit-liitännäinen mahdollistaa asetusten " "asettamisen yksilöllisille asiakirjoille. Tilarivi on " -"rivi tekstiä asiakirjan alussa tai lopussa, jonka geditpluma tunnistaa." -#: C/gedit.xml:1672(para) +#: C/pluma.xml:1672(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "Tilarivien asettamat asetukset ohittavat asetusdialogin asetukset." -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "You can set the following preferences with modelines:" msgstr "Voit asettaa seuraavat asetukset tilariveillä:" -#: C/gedit.xml:1676(para) +#: C/pluma.xml:1676(para) msgid "Tab width" msgstr "Sarkaimen leveys" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "Indent width" msgstr "Sisennyksen leveys" -#: C/gedit.xml:1682(para) +#: C/pluma.xml:1682(para) msgid "Insert spaces instead of tabs" msgstr "Välilyöntien syöttö sarkaimien sijaan" -#: C/gedit.xml:1688(para) +#: C/pluma.xml:1688(para) msgid "Right margin width" msgstr "Oikean kehyksen leveys" -#: C/gedit.xml:1692(para) +#: C/pluma.xml:1692(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3454,11 +3454,11 @@ msgstr "" "tekstimuokkaimissa (Emacs, Kate ja Vim) käytetyistä asetuksista." -#: C/gedit.xml:1695(title) +#: C/pluma.xml:1695(title) msgid "Emacs Modelines" msgstr "Emacs-tilarivit" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3466,7 +3466,7 @@ msgstr "" "Ensimmäisiltä kahdelta riviltä etsitään Emacs-" "tilarivejä." -#: C/gedit.xml:1697(para) +#: C/pluma.xml:1697(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3478,11 +3478,11 @@ msgstr "" "\"http://www.delorie.com/gnu/docs/emacs/emacs_486.html\">GNU Emacs " "Käyttöopas." -#: C/gedit.xml:1700(title) +#: C/pluma.xml:1700(title) msgid "Kate Modelines" msgstr "Kate-tilarivit" -#: C/gedit.xml:1701(para) +#: C/pluma.xml:1701(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3490,7 +3490,7 @@ msgstr "" "Ensimmäisiltä ja viimeisiltä kymmeneltä riviltä etsitään Kate-tilarivejä." -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3502,11 +3502,11 @@ msgstr "" "type=\"http\" url=\"http://www.kate-editor.org/article/katepart_modelines" "\">Kate:n web-sivusto." -#: C/gedit.xml:1705(title) +#: C/pluma.xml:1705(title) msgid "Vim Modelines" msgstr "Vim-tilarivit" -#: C/gedit.xml:1706(para) +#: C/pluma.xml:1706(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3514,7 +3514,7 @@ msgstr "" "Ensimmäisiltä ja viimeisiltä kolmelta riviltä etsitään Vim-tilarivejä." -#: C/gedit.xml:1707(para) +#: C/pluma.xml:1707(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3526,37 +3526,37 @@ msgstr "" "\" url=\"http://vimdoc.sourceforge.net/htmldoc/options.html#modeline\">Vim:" "in web-sivusto." -#: C/gedit.xml:1712(title) +#: C/pluma.xml:1712(title) msgid "Python Console Plugin" msgstr "Python-konsoli -liitännäinen" -#: C/gedit.xml:1713(para) +#: C/pluma.xml:1713(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Python-konsoli-liitännäinen mahdollistaa " -"komentojen jaon Python-ohjelmointikielellä gedit:" +"komentojen jaon Python-ohjelmointikielellä pluma:" "stä. Liitännäisen kytkeminen lisää välilehden alapaneeliin. Se näyttää " "viimeisimmän tulosteen ja komentorivikentän." -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Python-konsoliin syötettäviä komentoja ei tarkisteta ennen ajamista. On " -"mahdollista, että gedit jumiutuu, esimerkiksi " +"mahdollista, että pluma jumiutuu, esimerkiksi " "loputtomasta silmukasta." -#: C/gedit.xml:1718(title) +#: C/pluma.xml:1718(title) msgid "Snippets Plugin" msgstr "Tekstileikkeet-liitännäinen" -#: C/gedit.xml:1719(para) +#: C/pluma.xml:1719(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3566,7 +3566,7 @@ msgstr "" "käytettyjen tekstinpätkien (tekstileikkeiden) " "syöttämisen ja niiden nopean syöttämisen asiakirjaan." -#: C/gedit.xml:1720(para) +#: C/pluma.xml:1720(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3578,19 +3578,19 @@ msgstr "" "ovat hyödyllisiä HTML:ssä. Lisäksi on tekstileikkeitä, jotka ovat saatavilla " "kaikkialla, jokaisessa asiakirjassa." -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Muutamia sisäänrakennettuja tekstileikkeitä asentuu geditpluma:in mukana. Niitä voi muokata." -#: C/gedit.xml:1724(title) +#: C/pluma.xml:1724(title) msgid "Inserting Snippets" msgstr "Tekstileikkeiden lisääminen" -#: C/gedit.xml:1725(para) +#: C/pluma.xml:1725(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3602,7 +3602,7 @@ msgstr "" "Leikkeen sarkainlaukaisin on tavallisesti muutama ensimmäistä kirjainta " "tekstileikkeestä tai jotain muuta, joka ei ole helppoa muistaa." -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3610,15 +3610,15 @@ msgstr "" "Vaihtoehtoisesti, paina CtrlVälilyönti nähdäksesi listan leikkeistä, joita voit lisätä." -#: C/gedit.xml:1730(title) +#: C/pluma.xml:1730(title) msgid "Adding Snippets" msgstr "Tekstileikkeiden lisääminen valikoimaan." -#: C/gedit.xml:1731(para) +#: C/pluma.xml:1731(para) msgid "To create a new snippet, do the following:" msgstr "Luodaksesi uuden tekstileikkeen, toimi seuraavasti:" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3628,7 +3628,7 @@ msgstr "" "tekstileikkeitä. Tekstileikkeiden " "hallinta-ikkuna aukeaa." -#: C/gedit.xml:1737(para) +#: C/pluma.xml:1737(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3640,19 +3640,19 @@ msgstr "" "valitse Kaikkialla listan yläosassa. Käsittelemäsi asiakirjan syntaksi " "näytetään oletuksena." -#: C/gedit.xml:1740(para) +#: C/pluma.xml:1740(para) msgid "Click New. A new snippet appears in the list." msgstr "Napsauta Uusi. Uusi leike ilmestyy listaan." -#: C/gedit.xml:1743(para) +#: C/pluma.xml:1743(para) msgid "Enter the following information for the new snippet:" msgstr "Syötä seuraavat tiedot uuteen leikkeeseen:" -#: C/gedit.xml:1745(term) +#: C/pluma.xml:1745(term) msgid "Name" msgstr "Nimi" -#: C/gedit.xml:1747(para) +#: C/pluma.xml:1747(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3662,21 +3662,21 @@ msgstr "" "ainoastaan muistutuksena sen käyttötarkoituksesta. Voit vaihtaa luomasi " "tekemäsi leikkeen nimeä napsauttamalla sitä listassa." -#: C/gedit.xml:1750(term) +#: C/pluma.xml:1750(term) msgid "Snippet text" msgstr "Leiketeksti" -#: C/gedit.xml:1752(para) +#: C/pluma.xml:1752(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Syötä leikkeen teksti Muokkaa tekstileikettä-" -"tekstikenttään. Sallitut erikoismerkit: ." -#: C/gedit.xml:1753(para) +#: C/pluma.xml:1753(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3684,11 +3684,11 @@ msgstr "" "Voit vaihtaa takaisin asiakirjaikkunaan kopioimaan tekstiä sulkematta " "Tekstileikkeiden hallinta-ikkuna." -#: C/gedit.xml:1756(term) +#: C/pluma.xml:1756(term) msgid "Tab Trigger" msgstr "Sarkainlaukaisin" -#: C/gedit.xml:1758(para) +#: C/pluma.xml:1758(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3696,7 +3696,7 @@ msgstr "" "Syötä sarkainlaukaisin tekstileikkeelle. Tämä on teksti, jonka kirjoitat " "ennen kuin painat Sarkain lisätäksesi leikkeen." -#: C/gedit.xml:1759(para) +#: C/pluma.xml:1759(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3706,19 +3706,19 @@ msgstr "" "yksittäinen kirjain. Sarkainlaukaisin korostaa " "punaisella, jos virheellinen sarkainlaukaisin kirjoitetaan." -#: C/gedit.xml:1762(term) +#: C/pluma.xml:1762(term) msgid "Shortcut key" msgstr "Pikanäppäin" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Kirjoita pikanäppäin käytettäväksi leikkeen lisäämiseen." -#: C/gedit.xml:1773(title) +#: C/pluma.xml:1773(title) msgid "Editing and Removing Snippets" msgstr "Tekstileikkeiden muokkaus ja poistaminen" -#: C/gedit.xml:1774(para) +#: C/pluma.xml:1774(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3726,11 +3726,11 @@ msgstr "" "Muokataksesi leikettä, valitse se listasta ja tee muutokset sen tekstiin ja " "aktivointiasetuksiin." -#: C/gedit.xml:1775(para) +#: C/pluma.xml:1775(para) msgid "To rename a snippet, click it again in the list." msgstr "Poistaaksesi leikkeen, napsauta sitä uudestaan listasta." -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3738,7 +3738,7 @@ msgstr "" "Palauttaaksesi sisäänrakennetun leikkeen, jota olet muokannut, paina " "Palauta." -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3748,11 +3748,11 @@ msgstr "" "guibutton>. Et voi poistaa sisäänrakennettua tekstileikkettä, ainoastaan " "itse tekemäsi leikkeet." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Snippet Substitutions" msgstr "Tekstileikkeiden korvaaminen" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3762,15 +3762,15 @@ msgstr "" "tekstiä tai siihen voidaan merkitä välejä, joihin voit lisätä tekstiä, kun " "leike on lisätty asiakirjaasi." -#: C/gedit.xml:1786(para) +#: C/pluma.xml:1786(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Voit käyttää seuraavia paikanmerkintäkoodeja leiketekstissä:" -#: C/gedit.xml:1788(term) +#: C/pluma.xml:1788(term) msgid "Tab placeholders" msgstr "Sarkainpaikkamerkki" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3779,7 +3779,7 @@ msgstr "" "sarkainpaikkamerkin, jossa n on mikä tahansa numerosta 1 " "ylöspäin." -#: C/gedit.xml:1791(para) +#: C/pluma.xml:1791(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3787,7 +3787,7 @@ msgstr "" "${n:oletus} korvaa sarkainpaikkamerkinnän oletusarvolla." -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3795,7 +3795,7 @@ msgstr "" "Sarkainpaikkamerkintä merkitsee paikan leiketekstissä, johon voit lisätä " "tekstiä leikkeen lisäyksen jälkeen." -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3808,7 +3808,7 @@ msgstr "" "paikkamerkintäkoodissa määrittää järjestyksen, jossa sarkain etenee " "tekstissä paikasta toiseen." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3820,11 +3820,11 @@ msgstr "" "keycap>, kun paikkamerkkejä ei ole enää jäljellä, osoitin siirtyy " "leiketekstin loppuun tai lopetuspaikkamerkintään, jos sellainen löytyy." -#: C/gedit.xml:1797(term) +#: C/pluma.xml:1797(term) msgid "Mirror placeholders" msgstr "Peilipaikkamerkinnät" -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3834,11 +3834,11 @@ msgstr "" "mahdollistaa tekstin syötön kerralla kaikkiin niihin paikkoihin leikkeessä, " "jossa haluat sen näkyvän." -#: C/gedit.xml:1802(term) +#: C/pluma.xml:1802(term) msgid "End placeholder" msgstr "Lopetuspaikkamerkki." -#: C/gedit.xml:1804(para) +#: C/pluma.xml:1804(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3847,33 +3847,33 @@ msgstr "" "$0 määrittää lopetuspaikkamerkin. Tämä mahdollistaa työn " "lopettamisen leikkeessä, ettei osoitinta siirretä leikkeen loppuun." -#: C/gedit.xml:1807(term) +#: C/pluma.xml:1807(term) msgid "Environmental variables" msgstr "Ympäristömuuttujat" -#: C/gedit.xml:1809(para) +#: C/pluma.xml:1809(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Ympäristömuuttuja, kuten $PATH ja $HOME korvataan tekstileikkeissä. Seuraavia gedit korvataan tekstileikkeissä. Seuraavia pluma-riippuvaisia muuttujia voidaan myös käyttää:" -#: C/gedit.xml:1811(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1811(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1813(para) +#: C/pluma.xml:1813(para) msgid "The currently selected text." msgstr "Valittuna oleva teksti" -#: C/gedit.xml:1816(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1816(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1818(para) +#: C/pluma.xml:1818(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3881,11 +3881,11 @@ msgstr "" "Koko tiedostonimi asiakirjaan, tai tyhjä merkkijono, jos asiakirjaa ei ole " "tallennettu." -#: C/gedit.xml:1821(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1821(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1823(para) +#: C/pluma.xml:1823(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -3893,11 +3893,11 @@ msgstr "" "Asiakirjan tiedostonimi tai tyhjä merkkijono, jos asiakirjaa ei ole vielä " "tallennettu." -#: C/gedit.xml:1826(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1826(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1828(para) +#: C/pluma.xml:1828(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -3905,11 +3905,11 @@ msgstr "" "Osoittimen kohdalla oleva sana asiakirjassa. Kun muuttujaa käytetään, " "nykyinen sana korvataan leiketekstillä." -#: C/gedit.xml:1836(term) +#: C/pluma.xml:1836(term) msgid "Shell placeholders" msgstr "Komentorivipaikkamerkki" -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3917,7 +3917,7 @@ msgstr "" "$(cmd) korvataan " "komentorivisuorituksen tulosteella cmd" -#: C/gedit.xml:1839(para) +#: C/pluma.xml:1839(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3931,11 +3931,11 @@ msgstr "" "$n käyttääksesi komentorivitulostetta " "yhdestä komentorivipaikkamerkistä syötteenä toiseen." -#: C/gedit.xml:1842(term) +#: C/pluma.xml:1842(term) msgid "Python placeholders" msgstr "Python-paikkamerkit" -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -3944,7 +3944,7 @@ msgstr "" "$<cmd> korvataan " "cmd:n tulosteella python-tulkista." -#: C/gedit.xml:1845(para) +#: C/pluma.xml:1845(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3962,7 +3962,7 @@ msgstr "" "replaceable>,b:cmd>" "" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -3970,11 +3970,11 @@ msgstr "" "Käyttääksesi muuttujaa kaikissa python-leikkeissä, määritä se näkymään " "kaikkialla (global)." -#: C/gedit.xml:1855(title) +#: C/pluma.xml:1855(title) msgid "Sort Plugin" msgstr "Lajittelu-liitännäinen" -#: C/gedit.xml:1856(para) +#: C/pluma.xml:1856(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -3982,7 +3982,7 @@ msgstr "" "Lajittelu-liitännäinen järjestää valitut " "tekstirivit aakkosjärjestykseen." -#: C/gedit.xml:1857(para) +#: C/pluma.xml:1857(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3994,15 +3994,15 @@ msgstr "" "TiedostoPalauta levyltä." -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Käyttääksesi Lajittelu-liitännäistä, toimi seuraavasti:" -#: C/gedit.xml:1863(para) +#: C/pluma.xml:1863(para) msgid "Select the lines of text you want to sort." msgstr "Valitse tekstirivit, jotka haluat järjestää." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4010,11 +4010,11 @@ msgstr "" "Valitse MuokkaaLajittele-dialogi aukeaa." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "Choose the options you want for the sort:" msgstr "Valitse asetukset lajitteluun:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4022,20 +4022,20 @@ msgstr "" "Järjestääksesi tekstin käänteiseen järjestykseen, valitse " "Käänteinen järjestys." -#: C/gedit.xml:1874(para) +#: C/pluma.xml:1874(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Poistaaksesi samanlaiset rivit, valitse Poista kaksoiskappaleet." -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Jättääksesi kirjainkoon huomiotta, valitseJätä kirjainkoko " "huomiotta." -#: C/gedit.xml:1880(para) +#: C/pluma.xml:1880(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4045,31 +4045,31 @@ msgstr "" "ensimmäinen kirjain, jota tulisi käyttää järjestettäessä Aloita " "sarakkeesta: -lukurullaaan." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To perform the sort operation, click Sort." msgstr "" "Suorittaaksesi lajittelutehtävän, paina Lajittele." -#: C/gedit.xml:1892(title) +#: C/pluma.xml:1892(title) msgid "Spell Checker Plugin" msgstr "Oikoluku-liitännäinen" -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Oikoluku-liitännäinen tarkistaa valitun tekstin " -"oikeinkirjoitus. Voit säätää gedit tarkistamaan " +"oikeinkirjoitus. Voit säätää pluma tarkistamaan " "oikeinkirjoituksen automaattisesti tai voit tarkistaa sen itse, haluamallasi " "kielellä. Kieliasetus ja automaattisen tarkistuksen asetukset ovat " "asiakirjakohtaisia. Käyttääksesi Oikoluku-liitännäistä, toimi seuraavasti:" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4081,7 +4081,7 @@ msgstr "" "dialogin. Valitse sopiva kieli listasta. Napsauta OK " "sulkeaksesi Aseta kieli-dialogi." -#: C/gedit.xml:1898(para) +#: C/pluma.xml:1898(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4089,7 +4089,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Tarkistaaksesi oikeinkirjoituksen automaattisesti, valitse " @@ -4099,9 +4099,9 @@ msgstr "" "guimenuitem> uudestaan. Kun automaattinen oikoluku on valittu, " "kuvake näytetään Automaattinen oikoluku-valikon " "vieressä. Automaattinen oikoluku ei ole automaattisesti kytketty, kun " -"gedit käynnistyy." +"pluma käynnistyy." -#: C/gedit.xml:1899(para) +#: C/pluma.xml:1899(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsKirjoitusehdotuksia ponnahdusvalikosta:" -#: C/gedit.xml:1902(para) +#: C/pluma.xml:1902(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4121,7 +4121,7 @@ msgstr "" "valitse korvaava kirjoitusasu Kirjoitusehdotuksia-" "pudotusvalikosta." -#: C/gedit.xml:1905(para) +#: C/pluma.xml:1905(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddKirjoitusehdotuksiaLisää." -#: C/gedit.xml:1908(para) +#: C/pluma.xml:1908(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Ohittaaksesi kaikki tuntemattomat kirjoitusasut, ettei niitä myöskään " "myöhemmin merkitä tuntemattomiksi, mutta niitä ei myöskään lisätä " "sanakirjaasi, valitse KirjoitusehdotuksiaOhita kaikki. Tuntematon " -"sana ohitetaan ainoastaan nykyisessä gedit-" +"sana ohitetaan ainoastaan nykyisessä pluma-" "istunnossa." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4155,7 +4155,7 @@ msgstr "" "TyökalutTarkista " "oikeinkirjoitus." -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4167,7 +4167,7 @@ msgstr "" "kirjoitettuja sanoja. Napsauta OK sulkeaksesi " "Tietoa-dialogin." -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4175,14 +4175,14 @@ msgstr "" "Jos kirjoitusvirheitä löytyy, Tarkista oikeinkirjoitus-" "dialogi näytetään:" -#: C/gedit.xml:1920(para) +#: C/pluma.xml:1920(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" "Väärinkirjoitettu sana näytetään dialogin yläosassa." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4195,7 +4195,7 @@ msgstr "" "tai voit kirjoittaa tekstiä suoraan Mihin muutetaan-" "tekstikenttään." -#: C/gedit.xml:1926(para) +#: C/pluma.xml:1926(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4209,19 +4209,19 @@ msgstr "" "tekstillä (correct spelling). Jos sana ei ole tunnettu, " "uudet merkinnät ilmestyvät Ehdotukset-listaan." -#: C/gedit.xml:1929(para) +#: C/pluma.xml:1929(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Ohittaaksesi nykyisen tuntemattoman sanan osuman, napsauta Ohita. Ohittaaksesi kaikki tuntemattoman sanan osumat, napsauta " "Ohita kaikki. Tuntematon sana ohitetaan vain " -"nykyisessä gedit-istunnossa." +"nykyisessä pluma-istunnossa." -#: C/gedit.xml:1932(para) +#: C/pluma.xml:1932(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change-tekstikentän sanaksi, napsauta Muuta kaikki." -#: C/gedit.xml:1935(para) +#: C/pluma.xml:1935(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4243,7 +4243,7 @@ msgstr "" "Lisää tuntematon sana henkilökohtaiseen sanakirjaasi, napsauta " "Lisää sana." -#: C/gedit.xml:1938(para) +#: C/pluma.xml:1938(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4251,11 +4251,11 @@ msgstr "" "Sulkeaksesi Tarkista oikeinkirjoitus-dialogin, napsauta " "Sulje." -#: C/gedit.xml:1947(title) +#: C/pluma.xml:1947(title) msgid "Tag List Plugin" msgstr "Merkintälista-liitännäinen" -#: C/gedit.xml:1948(para) +#: C/pluma.xml:1948(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4263,11 +4263,11 @@ msgstr "" "Merkintälista-liitännäinen mahdollista yleisten " "merkintöjen lisäämisen sivupaneelista." -#: C/gedit.xml:1949(para) +#: C/pluma.xml:1949(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Käyttääksesi Merkintälista-liitännäistä, toimi seuraavasti:" -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "" "Choose ViewSide Pane." @@ -4275,7 +4275,7 @@ msgstr "" "Valitse NäytäSivupaneeli." -#: C/gedit.xml:1955(para) +#: C/pluma.xml:1955(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4285,7 +4285,7 @@ msgstr "" "Napsauta välilehteä, jonka alaosassa on +-merkki sivupaneelissa näyttääksesi " "merkintälistavälilehden." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4293,11 +4293,11 @@ msgstr "" "Valitse sopiva merkintäkategoria pudotusvalikosta. Esimerkiksi " "HTML - Merkinnät." -#: C/gedit.xml:1960(para) +#: C/pluma.xml:1960(para) msgid "Scroll through the tag list to find the required tag." msgstr "Kelaa merkintälistaa löytääksesi sopivan merkinnän." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4306,7 +4306,7 @@ msgstr "" "kaksoisnapsauta merkintä merkintälistassa. Voit liittää merkinnän myös " "seuraavasti:" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4314,7 +4314,7 @@ msgstr "" "Lisätäksesi merkinnän nykyiseen tiedostoon tai vaihtaaksesi huomion " "sivupaneelista näyttöalueelle, paina Return." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftVaihtoReturn." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Valto Wirkola , 2008" #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "Type the string that you want to find in the Hakusana field. You can include special characters such as a new line or " -#~ "tab: see ." +#~ "tab: see ." #~ msgstr "" #~ "Kirjoita merkkijono, jota haluat etsiä Etsittävä merkkijono-kenttään. Voit lisätä erikoismerkkejä, kuten rivinvaihdon tai " -#~ "sarkaimen, katso ." +#~ "sarkaimen, katso ." #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" -#~ "Lisätietoa syntaksiväritysasetuksista: ." #~ msgid "Colors" @@ -4378,29 +4378,29 @@ msgstr "Valto Wirkola , 2008" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Käytä Käytä järjestelmän oletusvärimallia-asetusta " -#~ "käyttääksesi oletusvärimallia gedit-teksti-" +#~ "käyttääksesi oletusvärimallia pluma-teksti-" #~ "ikkunassa." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Napsauta Normaalin tekstin väri-väripainiketta " #~ "nähdäksesi värinvalitsindialogin. Valitse väri, jolla haluat normaalin " -#~ "tekstin näkyvän gedit-teksti-ikkunassa." +#~ "tekstin näkyvän pluma-teksti-ikkunassa." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Napsauta Taustaväri-väripainiketta nähdäksesi " -#~ "värinvalintadialogin, josta voit valita taustavärin geditpluma-teksti-ikkunalle." #~ msgid "" @@ -4519,10 +4519,10 @@ msgstr "Valto Wirkola , 2008" #~ "oletusarvot valittuun syntaksiosaan." #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "KäyttäjänimiKäyttäjänimi Lisää käyttäjänimen kohdistimen kohdalle." #~ msgid "User Name Plugin" diff --git a/help/fi/figures/gedit_window.png b/help/fi/figures/pluma_window.png similarity index 100% rename from help/fi/figures/gedit_window.png rename to help/fi/figures/pluma_window.png diff --git a/help/fr/figures/gedit_recent_files_menu_icon.png b/help/fr/figures/pluma_recent_files_menu_icon.png similarity index 100% rename from help/fr/figures/gedit_recent_files_menu_icon.png rename to help/fr/figures/pluma_recent_files_menu_icon.png diff --git a/help/fr/figures/gedit_window.png b/help/fr/figures/pluma_window.png similarity index 100% rename from help/fr/figures/gedit_window.png rename to help/fr/figures/pluma_window.png diff --git a/help/fr/fr.po b/help/fr/fr.po index 8eaddd7..078a027 100755 --- a/help/fr/fr.po +++ b/help/fr/fr.po @@ -1,6 +1,6 @@ -# French translation of gedit documentation. +# French translation of pluma documentation. # Copyright (C) 2006-2010 Free Software Foundation, Inc. -# This file is distributed under the same license as the gedit documentation +# This file is distributed under the same license as the pluma documentation # package. # # Vincent Untz , 2006. @@ -11,7 +11,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit fr\n" +"Project-Id-Version: pluma fr\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-08-08 13:37+0000\n" "PO-Revision-Date: 2009-04-11 17:33+0200\n" @@ -123,306 +123,306 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manuel de gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manuel de pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Projet de documentation MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Ajout du tableau de raccourcis clavier" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Équipe de documentation Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" "Cicek a fourni des informations concernant les précédentes révisions de " -"l'application gedit." +"l'application pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Remerciements" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George a fourni des informations concernant les greffons." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manuel de gedit V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manuel de pluma V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Mars 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "L'équipe de documentation MATE de Sun" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manuel de gedit V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manuel de pluma V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Juin 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manuel de gedit V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manuel de pluma V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Août 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manuel de gedit V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manuel de pluma V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Septembre 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manuel de gedit V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manuel de pluma V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Janvier 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manuel de gedit V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manuel de pluma V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Mars 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manuel de gedit V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manuel de pluma V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Septembre 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manuel de gedit V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manuel de pluma V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Mars 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manuel de gedit V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manuel de pluma V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Juillet 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manuel de gedit V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manuel de pluma V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "L'équipe de documentation MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Ce manuel documente la version 2.16 de gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Ce manuel documente la version 2.16 de pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Votre avis" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Pour rapporter une anomalie ou émettre une suggestion concernant " -"l'application gedit ou ce manuel, procédez comme " +"l'application pluma ou ce manuel, procédez comme " "indiqué sur la page de réactions sur MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit est un éditeur de texte pour le bureau MATE, contenant des " +"pluma est un éditeur de texte pour le bureau MATE, contenant des " "fonctionnalités basiques mais robustes telles que l'impression, la " "vérification de l'orthographe, la recherche et le remplacement, et la " "coloration syntaxique. Des fonctions plus avancées sont disponibles via des " "greffons." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "éditeur de texte" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introduction" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"L'application gedit permet de créer et d'éditer " +"L'application pluma permet de créer et d'éditer " "des fichiers texte." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Le but de gedit est d'être un éditeur de texte " +"Le but de pluma est d'être un éditeur de texte " "simple et facile à utiliser. Des fonctionnalités plus puissantes peuvent " "être activées avec différents greffons, offrant des " "fonctions relatives à l'édition de texte." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Premiers pas" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Démarrage de gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Démarrage de pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"gedit peut être démarré de la façon suivante :" +"pluma peut être démarré de la façon suivante :" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Par le menu Applications" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -430,64 +430,64 @@ msgstr "" "Choisissez AccessoiresÉditeur de " "texte." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "En ligne de commande" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Exécutez la commande : gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Exécutez la commande : pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Par défaut, lorsque l'on ouvre un document de type texte dans le " -"gestionnaire de fichiers, gedit se lance et l'affiche." +"gestionnaire de fichiers, pluma se lance et l'affiche." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Fenêtre de gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Fenêtre de pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Au démarrage de gedit, la fenêtre suivante " +"Au démarrage de pluma, la fenêtre suivante " "apparaît :" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Fenêtre de gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Fenêtre de pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Affiche la fenêtre principale de gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Affiche la fenêtre principale de pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "Elle contient les éléments suivants :" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "La barre de menus" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "La barre de menu contient toutes les commandes nécessaires pour travailler " -"avec des fichiers dans gedit." +"avec des fichiers dans pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "La barre d'outils" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -495,36 +495,36 @@ msgstr "" "La barre d'outils contient un sous-ensemble des commandes accessibles depuis " "la barre de menus." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "La zone d'affichage" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "La zone d'affichage contient le texte du document en cours d'édition." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "La barre d'état" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "La barre d'état contient des informations sur l'activité en cours dans " -"gedit ainsi que des informations contextuelles " +"pluma ainsi que des informations contextuelles " "sur les éléments de menu. Elle affiche également les informations suivantes :" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "" "Position de curseur : numéros de ligne et de colonne où se trouve le curseur." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -536,11 +536,11 @@ msgstr "" "barre d'état contient le mot ECR. Appuyez sur la touche " "Inser pour changer de mode d'édition." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Le panneau latéral" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -548,7 +548,7 @@ msgstr "" "Le panneau latéral affiche la liste des documents ouverts ainsi que des " "informations sur les greffons actifs." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneAffichagePanneau " "latéral." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Le panneau inférieur" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -570,7 +570,7 @@ msgstr "" "Le panneau inférieur est utilisé par des outils de programmation tels que le " "greffon Console Python pour leur affichage." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneAffichagePanneau inférieur." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" "Lorsque vous cliquez avec le bouton droit dans sa fenêtre, " -"gedit affiche un menu contextuel. Celui-ci " +"pluma affiche un menu contextuel. Celui-ci " "contient les commandes d'édition de texte les plus courantes." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Comme pour d'autres applications MATE, les actions dans geditpluma peuvent être réalisées de plusieurs façons : avec le menu, avec " "la barre d'outils ou avec les raccourcis clavier. Les raccourcis communs à " "toutes les applications sont décrites dans le Guide d'utilisation du bureau." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Lancement de gedit depuis la ligne de commande" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Lancement de pluma depuis la ligne de commande" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Il est possible de lancer gedit à partir de la " +"Il est possible de lancer pluma à partir de la " "ligne de commande, et d'ouvrir un ou plusieurs documents. Pour cela, " "saisissez la commande suivante et appuyez sur Entrée :" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "fichier1.txt fichier2.txt fichier3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Vous pouvez également indiquer un URI au lieu d'un nom de fichier." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Pour de plus amples informations sur l'exécution de geditpluma à partir de la ligne de commande, reportez-vous à geditpluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Travailler avec des fichiers" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Création d'un nouveau document" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Pour créer un nouveau document, choisissez FichierNouveau. Un document vide " -"s'affiche alors dans la fenêtre de gedit." +"s'affiche alors dans la fenêtre de pluma." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Ouverture d'un fichier" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Pour ouvrir un fichier, choisissez FichierOuvrir afin d'afficher la " "boîte de dialogue Ouvrir des fichiers. Sélectionnez le " "fichier à ouvrir, puis cliquez sur Ouvrir. Le fichier " -"est affiché dans la fenêtre de gedit." +"est affiché dans la fenêtre de pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Montre l'icône du menu Documents récents." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -695,26 +695,26 @@ msgstr "" "cliquer sur l'icône de la barre d'outils pour afficher " "cette même liste." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Comme il est possible d'ouvrir plusieurs documents dans geditpluma, l'application ajoute un onglet dans la fenêtre pour chaque " "document ouvert. Pour plus d'informations à ce sujet, consultez ." +"linkend=\"pluma-tabs\"/>." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Enregistrement d'un document" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Vous pouvez enregistrer vos documents de plusieurs façons :" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -723,7 +723,7 @@ msgstr "" "FichierEnregistrer." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsEnregistrer sous, " "puis cliquez sur Enregistrer." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Pour enregistrer tous les documents ouverts dans geditpluma, choisissez DocumentsTout enregistrer." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Pour fermer tous les documents ouverts dans geditpluma, choisissez DocumentsTout fermer." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Ouverture d'un fichier depuis un emplacement" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -768,7 +768,7 @@ msgstr "" "Pour ouvrir un document depuis un emplacement (URI : Uniform Resource " "Identifier), procédez comme suit :" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -778,11 +778,11 @@ msgstr "" "emplacement pour afficher la boîte de dialogue " "Ouvrir un emplacement." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Saisissez l'URI du fichier à ouvrir." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -790,11 +790,11 @@ msgstr "" "Choisissez l'encodage qui convient avec la liste déroulante Codage " "des caractères." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Cliquez sur Ouvrir." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -805,7 +805,7 @@ msgstr "" " ainsi que toutes les méthodes prises en charge par mate-" "vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -818,67 +818,67 @@ msgstr "" "FTP sont en lecture seule car certains serveurs FTP ne gèrent pas " "correctement l'enregistrement de fichiers distants." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "L'enregistrement de fichiers sur les serveurs FTP peut être activé avec " "l'Éditeur de " "configuration, en paramétrant la clé /apps/" -"gedit-2/preferences/editor/save/writable_vfs_schemes, mais cela " +"pluma-2/preferences/editor/save/writable_vfs_schemes, mais cela " "peut provoquer des erreurs." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Utilisation des onglets" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Quand il y a plus d'un document ouvert, gedit " +"Quand il y a plus d'un document ouvert, pluma " "affiche un onglet au dessus de la zone d'affichage " "pour chaque document. Pour passer d'un document à un autre, cliquez sur son " "onglet." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Pour déplacer un document vers une autre fenêtre de gedit pluma glissez son onglet jusqu'à la fenêtre où vous souhaitez le " "déplacer." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Pour déplacer un document vers une nouvelle fenêtre de gedit pluma, glissez son onglet sur le bureau, ou encore, choisissez " "DocumentsDéplacer à la nouvelle " "fenêtre." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Travailler avec du texte" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Édition" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Vous pouvez éditer le texte d'un document de plusieurs façons :" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -889,7 +889,7 @@ msgstr "" "modifier la position de ce curseur, utilisez les touches fléchées ou cliquez " "avec la souris." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyÉditionCopier." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutÉditionCouper." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteÉditionSupprimer." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Pour insérer le contenu du presse-papiers à l'endroit où est positionné le " "curseur, choisissez ÉditionEditSelect All." @@ -941,11 +941,11 @@ msgstr "" "ÉditionTout sélectionner." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Annulation et rétablissement des modifications" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -958,34 +958,34 @@ msgstr "" "ÉditionRétablir." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Recherche et remplacement de texte" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"Gedit fournit deux moyens pour faire des " +"Pluma fournit deux moyens pour faire des " "recherches dans le texte. Utilisez Rechercher pour " "trouver un morceau de texte particulier ou Recherche incrémentale pour mettre en surbrillance le texte au fur et à mesure que vous " "le saisissez." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Recherche de texte" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "Pour rechercher une chaîne de caractères dans un document, procédez comme " "suit :" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -994,31 +994,31 @@ msgstr "" "guimenuitem> pour afficher la boîte de dialogue " "Rechercher." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Saisissez la chaîne de caractères à rechercher dans le champ " "Rechercher. Des caractères spéciaux comme le retour " "chariot ou la tabulation peuvent être introduits. Voir : ." +"\"pluma-find-escapes\"/>." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Cliquez sur Rechercher pour trouver la première " -"occurrence du texte après la position du curseur. Si geditpluma trouve le texte, l'application sélectionne la première " "occurrence. Les autres occurrences sont mises en évidence." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next ou Rechercher le " "précédent." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1046,7 +1046,7 @@ msgstr "" "le suivant ou Rechercher " "le précédent." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightRechercherSupprimer la " "coloration." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Recherche incrémentale" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1070,7 +1070,7 @@ msgstr "" "à mesure qu'il est saisi. (Ce fonctionnement est similaire à celui utilisé " "dans certains navigateurs web)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1080,7 +1080,7 @@ msgstr "" "guimenu>Recherche incrémentale. Une " "boîte de recherche apparaît alors en haut de la zone d'affichage." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1089,7 +1089,7 @@ msgstr "" "dans le document. De plus, la première occurrence trouvée après la position " "du curseur est sélectionnée." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGMajusculeG pour revenir " "à l'occurrence précédente." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1110,11 +1110,11 @@ msgstr "" "Vous pouvez également utiliser les touches fléchées haut et bas ou la " "molette de la souris pour vous déplacer parmi les occurrences trouvées." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Remplacement de texte" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1122,7 +1122,7 @@ msgstr "" "Pour rechercher une chaîne de caractères dans un document et la remplacer, " "procédez comme suit :" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1131,18 +1131,18 @@ msgstr "" "guimenuitem> pour afficher la boîte de dialogue " "Remplacer." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Saisissez la chaîne de caractères à rechercher dans le champ " "Rechercher. Il est possible d'y inclure des caractères " "spéciaux tels que le retour chariot ou la tabulation. Voir : ." +"\"pluma-find-escapes\"/>." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1150,22 +1150,22 @@ msgstr "" "Indiquez dans le champ Remplacer par, la chaîne de " "caractères devant remplacer la chaîne de caractère recherchée." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Pour examiner chaque occurrence du texte cherché avant de le remplacer, " "cliquez sur Rechercher. Lorsqu'il est trouvé " -"gedit le sélectionne. Cliquez sur " +"pluma le sélectionne. Cliquez sur " "Remplacer pour effectuer le remplacement. Cliquez à " "nouveau sur Rechercher pour passer à l'occurrence " "suivante." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1174,11 +1174,11 @@ msgstr "" "l'ensemble du document, cliquez sur le bouton Remplacer tout." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Options de recherche et de remplacement." -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1186,7 +1186,7 @@ msgstr "" "Les fenêtres de dialogue Rechercher et " "Remplacer offrent les options suivantes :" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1197,7 +1197,7 @@ msgstr "" "occurrences respectant la casse du texte saisi. Dans ce cas, par exemple, " "les mots \"TEXTE\" et \"texte\" ne sont pas équivalents." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1208,7 +1208,7 @@ msgstr "" "les occurrences correspondant exactement au texte entré. Par exemple, avec " "cette option, les mots \"texte\" et \"contexte\" ne correspondent pas." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1216,7 +1216,7 @@ msgstr "" "Cochez Rechercher en arrière pour que la recherche se " "fasse de la position du curseur vers le début du document." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1225,11 +1225,11 @@ msgstr "" "recherche atteint une extrémité du document, elle se poursuive en reprenant " "à partir de l'autre extrémité." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Caractères spéciaux" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1237,35 +1237,35 @@ msgstr "" "Dans le texte à chercher ou à remplacer, il est possible d'inclure les " "séquences d'échappement suivantes :" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Indique une nouvelle ligne." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Indique une tabulation." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Indique un retour chariot." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1279,11 +1279,11 @@ msgstr "" "guilabel>. Ou si vous recherchez une suite de barres obliques inverses, vous " "devrez en doubler le nombre." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Positionnement du curseur sur une ligne particulière" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. La boîte de numéro de ligne apparaît alors en " "haut de la zone d'affichage." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1302,7 +1302,7 @@ msgstr "" "Saisissez le numéro de la ligne où vous souhaitez placer le curseur, et le " "contenu du document défile jusqu'à la ligne indiquée." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1310,15 +1310,15 @@ msgstr "" "Pour faire disparaître la boîte et placer le curseur à la ligne indiquée, " "appuyez sur Entrée." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Impression" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Mise en page" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1328,7 +1328,7 @@ msgstr "" "guimenu>Mise en page pour afficher " "la boîte de dialogue Mise en page." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1336,28 +1336,28 @@ msgstr "" "Cette boîte de dialogue permet d'indiquer les options d'impression " "suivantes :" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Onglet Général" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Imprimer la coloration syntaxique" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Cochez cette option pour imprimer le texte avec la coloration syntaxique. " -"Pour plus d'informations à ce sujet, consultez ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Imprimer les en-têtes des pages" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1365,11 +1365,11 @@ msgstr "" "Cochez cette option pour ajouter un en-tête sur chaque page imprimée. Les en-" "têtes ne sont pas modifiables." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Numéros de lignes" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1377,7 +1377,7 @@ msgstr "" "Cochez l'option Imprimer les numéros de ligne pour " "ajouter les numéros de ligne dans le texte imprimé." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1387,11 +1387,11 @@ msgstr "" "lignes pour spécifier l'espacement des numéros de ligne, par " "exemple toutes les 5 lignes, les 10 lignes, etc." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Renvoi automatique à la ligne" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1402,7 +1402,7 @@ msgstr "" "l'impression. À des fins de numérotation, l'application considère alors les " "lignes issues du renvoi automatique comme de nouvelles lignes." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1411,15 +1411,15 @@ msgstr "" "pour que le renvoi automatique à la ligne se fasse au niveau du mot, lors de " "l'impression." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Polices" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Corps" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1427,21 +1427,21 @@ msgstr "" "Cliquez sur ce bouton pour choisir la police à utiliser pour l'impression du " "corps du texte." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Numéros de lignes" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Cliquez sur ce bouton pour choisir la police à utiliser pour imprimer les " "numéros de ligne." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "En-têtes et pieds de page" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1449,46 +1449,46 @@ msgstr "" "Cliquez sur ce bouton pour choisir la police à utiliser pour l'impression " "des en-têtes et des pieds de page." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Pour restaurer les polices proposées par défaut pour l'impression, cliquez " "sur le bouton Restaurer les polices par défaut." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Impression d'un document" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Gedit permet d'exécuter les opérations " +"Pluma permet d'exécuter les opérations " "d'impression suivantes :" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Imprimer un document avec une imprimante." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Envoyer la sortie de la commande d'impression dans un fichier." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Si vous imprimez vers un fichier, gedit envoie le document dans un fichier " +"Si vous imprimez vers un fichier, pluma envoie le document dans un fichier " "dans un format pré-traité. Les plus courants de ces formats sont PostScript " "et PDF (Portable Document Format)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewFichierAperçu avant impression." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint. La boîte de dialogue Imprimer s'affiche." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "Les options d'impression suivantes sont disponibles :" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Onglet Travail" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Intervalle d'impression" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Sélectionnez l'une des options suivantes pour indiquer le nombre de pages à " "imprimer :" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Tout" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Imprime toutes les pages du document." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Lignes" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1550,11 +1550,11 @@ msgstr "" "Imprime les lignes spécifiées. Indiquez l'intervalle souhaité avec les zones " "de sélection numérique De et À." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Sélection" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1562,11 +1562,11 @@ msgstr "" "Imprime le texte sélectionné. Cette option n'est disponible que si vous avez " "sélectionné du texte." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Copies" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1574,7 +1574,7 @@ msgstr "" "Utilisez la zone de sélection numérique Nombre de copies pour indiquer le nombre d'exemplaires à imprimer." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1582,15 +1582,15 @@ msgstr "" "Si vous imprimez plusieurs exemplaires du document, l'option " "Rassembler permet de rassembler chaque copie." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Onglet Imprimante" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Imprimante" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1598,15 +1598,15 @@ msgstr "" "Utilisez la liste pour choisir l'imprimante avec laquelle vous souhaitez " "imprimer le document." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Paramètres" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Utilisez cette liste déroulante pour paramétrer l'impression." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1617,26 +1617,26 @@ msgstr "" "planifier l'impression dans le temps, si cette option est prise en charge " "par l'imprimante." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Emplacement" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Utilisez cette liste déroulante pour sélectionner l'une des destinations " "d'impression suivantes :" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Impression du document avec une imprimante CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1644,23 +1644,23 @@ msgstr "" "Si l'imprimante choisie est connue par CUPS, CUPS est " "le seul choix dans la liste déroulante." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Impression du document à une imprimante." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Fichier" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Envoie le document dans un fichier PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1669,47 +1669,47 @@ msgstr "" "de dialogue permettant de spécifier le nom et l'emplacement du fichier " "postscript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Personnalisé" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Commande à utiliser pour imprimer le document." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "" "Saisissez la commande ainsi que tous ses arguments dans la fenêtre de texte." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Statut" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "" -"Cette fonctionnalité n'est pas prise en charge dans cette version de gedit." +"Cette fonctionnalité n'est pas prise en charge dans cette version de pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Type" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Commentaire" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Onglet Papier" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Format du papier" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1717,11 +1717,11 @@ msgstr "" "Sélectionnez le format du papier sur lequel imprimer le document dans la " "liste déroulante." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Largeur" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1730,20 +1730,20 @@ msgstr "" "liste déroulante adjacente offre la possibilité de modifier l'unité de " "mesure utilisée." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Hauteur" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "" "La zone de sélection numérique permet de spécifier la hauteur du papier." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientation du défilement" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." @@ -1751,19 +1751,19 @@ msgstr "" "La liste déroulante permet de sélectionner l'orientation du papier dans " "l'imprimante." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientation de la page" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "La liste déroulante permet de sélectionner l'orientation de la page." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Agencement" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1771,36 +1771,36 @@ msgstr "" "La liste déroulante permet de sélectionner l'agencement des pages. Un aperçu " "de l'agencement choisi s'affiche dans la zone Aperçu." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Chargeur de papier" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "" "La liste déroulante permet de sélectionner le bac de papier de l'imprimante." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Aides à la programmation" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" "Plusieurs aides à la programmation sont fournies par des greffons de " -"gedit. Par exemple, le greffon Liste de Balises " +"pluma. Par exemple, le greffon Liste de Balises " "fournit les balises les plus communément utilisées par les différents " -"langages à balise : Voyez ." +"langages à balise : Voyez ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Coloration syntaxique" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1808,32 +1808,32 @@ msgstr "" "La coloration syntaxique rend les codes source plus faciles à lire en " "colorant de manière différente certaines parties du texte." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit choisit automatiquement une coloration " +"pluma choisit automatiquement une coloration " "syntaxique en fonction du type du document. Pour modifier ce choix, " "choisissez AffichageMode de " "coloration, puis sélectionnez l'une des entrées " "de menu suivantes :" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normal" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "N'utilise pas la coloration syntaxique." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Sources" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1841,11 +1841,11 @@ msgstr "" "Active la coloration syntaxique. Sélectionnez le type de code source avec le " "sous-menu Sources." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Balise" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1853,11 +1853,11 @@ msgstr "" "Active la coloration syntaxique pour un code à balises. Sélectionnez le type " "de balise avec le sous-menu Balisage." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Scripts" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1865,11 +1865,11 @@ msgstr "" "Active la coloration syntaxique pour un code script. Sélectionnez le sous-" "menu Scripts." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Autres" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1877,31 +1877,31 @@ msgstr "" "Active la coloration syntaxique pour d'autres types de code. Sélectionnez le " "sous-menu Autres." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Redirection de la sortie d'une commande shell dans un fichier" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" "On peut rediriger la sortie d'une commande shell dans un document au travers " -"de gedit. Par exemple, pour rediriger la sortie " -"de la commande ls, entrez ls | gedit, " +"de pluma. Par exemple, pour rediriger la sortie " +"de la commande ls, entrez ls | pluma, " "puis appuyez sur Entrée." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "La sortie de la commande s'affiche dans la zone d'affichage de " -"gedit, dans un nouveau document." +"pluma, dans un nouveau document." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1910,21 +1910,21 @@ msgstr "" "application> pour rediriger la sortie de la commande dans le document " "courant." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Raccourcis clavier" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Les raccourcis clavier permettent d'effectuer des tâches courantes plus " "rapidement qu'avec la souris et les menus. Les tableaux suivants énumèrent " -"tous les raccourcis clavier de gedit." +"tous les raccourcis clavier de pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1934,420 +1934,420 @@ msgstr "" "bureau MATE." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Tabulations" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Raccourcis pour les onglets :" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Raccourci clavier" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Commande" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + Page haut" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Bascule sur l'onglet suivant vers la gauche." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + Page bas" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Bascule sur l'onglet suivant vers la droite." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Ferme l'onglet." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Maj + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Enregistre tous les onglets." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Maj + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Ferme tous les onglets." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Active le nième onglet." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Fichiers" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Raccourcis pour la manipulation des fichiers :" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Crée un nouveau document." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Ouvre un document." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Ouvre un emplacement." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Enregistre le document actuel." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Maj + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Enregistre le document actuel sous un nouveau nom." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Imprime le document actuel." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Maj + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Aperçu avant impression." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Ferme le document actuel." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Quitte Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Quitte Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Édition" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Raccourcis pour l'édition de documents :" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Annule la dernière action." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Maj + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Rétablit la dernière action annulée." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "" "Coupe le texte ou la zone sélectionné et le place dans le presse-papiers." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Copie le texte ou la zone sélectionné dans le presse-papiers." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Colle le contenu du presse-papiers." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Sélectionne tout." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Supprime la ligne actuelle." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) msgid "Alt + Up" msgstr "Alt + flèche haut" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "Déplace la ligne sélectionnée d'une ligne vers le haut." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) msgid "Alt + Down" msgstr "Alt + flèche bas" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Move the selected line down one line." msgstr "Déplace la ligne sélectionnée d'une ligne vers le bas." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Panneaux" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Raccourcis pour l'affichage et le masquage des panneaux :" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Affiche ou masque le panneau latéral." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Affiche ou masque le panneau inférieur." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Recherche" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Raccourcis pour la recherche :" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Recherche un texte." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "Recherche la prochaine occurrence du texte." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Maj + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "Recherche l'occurrence précédente du texte." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Recherche interactive." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Recherche et remplace." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Maj + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Annule la surbrillance." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Se rendre à une ligne." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Outils" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Raccourcis pour les outils :" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Maj + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Vérifie l'orthographe (avec le greffon)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Enlève les espaces finales (avec le greffon)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Indente les lignes (avec le greffon)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Maj + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Supprime l'indentation (avec le greffon)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Exécute « make » dans le répertoire actuel (avec le greffon)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Maj + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Affiche le contenu du répertoire (avec le greffon)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Aide" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Raccourcis pour l'aide :" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "Ouvre le manuel d'utilisation de gedit." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "Ouvre le manuel d'utilisation de pluma." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Préférences" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Pour configurer gedit, choisissez " +"Pour configurer pluma, choisissez " "ÉditionPréférences. La boîte de dialogue Préférences contient les catégories suivantes :" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Affichage" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2358,7 +2358,7 @@ msgstr "" "atteint la limite de la fenêtre de texte. Ceci évite d'avoir à faire défiler " "le texte horizontalement." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2368,20 +2368,20 @@ msgstr "" "mots. Elle permet de conserver l'intégralité d'un mot sur la même " "ligne lorsque le renvoi de ligne est activé." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Cochez l'option Afficher les numéros de lignes pour " "afficher les numéros de lignes du côté gauche de la fenêtre de " -"gedit." +"pluma." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Ligne actuelle" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2389,11 +2389,11 @@ msgstr "" "Cochez l'option Surligner la ligne actuelle pour mettre " "en évidence la ligne où se trouve le curseur." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Marge de droite" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2401,7 +2401,7 @@ msgstr "" "Cochez l'option Afficher la marge de droite pour " "afficher une ligne verticale représentant cette marge." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2409,11 +2409,11 @@ msgstr "" "Utilisez la zone de sélection numérique Marge de droite à la " "colonne pour indiquer la position de la ligne verticale." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Correspondance des parenthèses" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2423,36 +2423,36 @@ msgstr "" "guilabel> pour mettre en évidence les parenthèses correspondantes lorsque le " "curseur se trouve sur une parenthèse." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Éditeur" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "La zone de sélection numérique Largeur des tabulations " "permet de spécifier la largeur de la tabulation insérée lors de " "l'utilisation de la touche Tabulation." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "L'option Insérer des espaces au lieu des tabulations " -"permet d'indiquer à gedit de remplacer les " +"permet d'indiquer à pluma de remplacer les " "tabulations par des espaces lors de l'utilisation de la touche " "Tabulation." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Indentation automatique" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2461,11 +2461,11 @@ msgstr "" "indiquer que chaque prochaine prochaine ligne doit commencer au niveau " "d'indentation de la ligne actuelle." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Enregistrement du fichier" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2476,7 +2476,7 @@ msgstr "" "chaque fois que le document est enregistré. Le nom du fichier de sauvegarde " "se termine par le signe ~." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2487,39 +2487,39 @@ msgstr "" "réguliers. Indiquer dans la zone de sélection numérique l'intervalle de " "temps entre ces enregistrements." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Police et couleurs" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Police" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Cochez Utiliser la police du thème par défaut pour " "utiliser la police par défaut du système pour le texte de la fenêtre de " -"gedit." +"pluma." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Le champ Police de l'éditeur indique la police utilisée " -"par gedit pour afficher le texte. Le bouton " +"par pluma pour afficher le texte. Le bouton " "permet de spécifier son type, son style et sa taille." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Jeu de couleurs" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2527,47 +2527,47 @@ msgstr "" "Vous pouvez choisir un jeu de couleurs dans ls liste des jeux de couleurs. " "Par défaut, les jeux de couleurs suivants sont installés :" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Classique" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Un jeu de couleurs classique basé sur les couleurs gvim." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Jeu de couleurs basé sur des tons bleus." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "Jeu de couleurs utilisé dans l'éditeur de texte Kate." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "Jeu de couleurs foncées utilisant la palette Tango." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "Jeu de couleurs utilisant la palette Tango." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2576,7 +2576,7 @@ msgstr "" "Ajouter et en sélectionnant un fichier de jeu de " "couleurs" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2584,33 +2584,33 @@ msgstr "" "Vous pouvez supprimer le jeu de couleurs sélectionné en cliquant sur " "Enlever" -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Préférences des greffons" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Les greffons offrent des possibilités supplémentaires à geditpluma. Pour plus d'informations sur les greffons et comment utiliser " -"les greffons intégrés, voir ." +"les greffons intégrés, voir ." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Activation d'un greffon" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Pour activer un greffon de gedit exécutez les " +"Pour activer un greffon de pluma exécutez les " "opérations suivantes :" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2618,16 +2618,16 @@ msgstr "" "Choisissez Édition Préférences." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Sélectionnez l'onglet Greffons." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "Cochez la case en regard du nom du greffon à activer." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2635,107 +2635,107 @@ msgstr "" "Cliquez sur Fermer pour fermer la boîte de dialogue " "Préférences." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Désactivation d'un greffon" -#: C/gedit.xml:1317(para) +#: C/pluma.xml:1317(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Un greffon reste actif lorsque vous fermez gedit." +"Un greffon reste actif lorsque vous fermez pluma." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Pour activer un greffon dans gedit, suivez les " +"Pour activer un greffon dans pluma, suivez les " "étapes ci-dessous :" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "Décochez la case en regard du nom du greffon à désactiver." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Greffons" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Travail sur des documents" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" "Il est possible d'ajouter des fonctions supplémentaires à " -"gedit en validant les greffonspluma en validant les greffons. Un greffon est un programme annexe qui améliore les " "fonctionnalités d'une application. Un greffon ajoute de nouvelles entrées " -"aux menus de gedit.suivant les fonctionnalités " +"aux menus de pluma.suivant les fonctionnalités " "apportées." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Certains greffons sont intégrés directement dans geditpluma mais on peut en installer d'autres. Le site de gedit recense les " +"\"http://live.gnome.org/Pluma/Plugins\">site de pluma recense les " "greffons tierce partie." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Pour valider ou non l'utilisation d'un greffon ou pour voir la liste de ceux " -"qui le sont utilisez Préférences des " +"qui le sont utilisez Préférences des " "greffons." -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Les greffons suivants sont intégrés à gedit :" +"Les greffons suivants sont intégrés à pluma :" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Modifier la casseModifier la casse permet de modifier la casse du texte sélectionné." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Statistiques " +"Statistiques " "du document affiche le nombre de lignes, de mots et de " "caractères dans le document." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Outils externesOutils externes permet d'exécuter des commandes externes depuis " -"gedit." +"pluma." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2743,100 +2743,100 @@ msgstr "" "Navigateur de fichiers permet de parcourir vos " "fichiers et vos dossier dans le panneau latéral." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Indenter les " +"Indenter les " "lignes augmente ou réduit l'indentation des lignes " "sélectionnées." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Insérer la date " +"Insérer la date " "et l'heure ajoute la date et l'heure actuelle dans un " "document." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModificateursModificateurs permet de définir des préférences d'édition pour chaque " "document, et prend en charge les modificateurs d'Emacs, de Kate et de Vim." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Console PythonConsole Python permet de lancer des commandes dans le langage de " "programmation Python." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"Extraits de codeExtraits de code permet de stocker des parties de code fréquemment " "utilisées et de les insérer rapidement dans un document." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"Trier " +"Trier " "trie les lignes sélectionnées dans l'ordre alphabétique." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Vérificateur " +"Vérificateur " "orthographique corrige l'orthographe du texte " "sélectionné, ou marque automatiquement les erreurs du document." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Liste des balisesListe des balises permet d'insérer des balises fréquemment utilisées pour " "HTML et d'autres langages à partir du panneau latéral." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Pour plus d'informations sur la création de greffons, consultez le site Web de " -"gedit." +"type=\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">site Web de " +"pluma." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Greffon Modifier la casse" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2844,7 +2844,7 @@ msgstr "" "Le greffon Modifier la casse change la casse du " "texte sélectionné." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2853,78 +2853,78 @@ msgstr "" "les entrées de menu suivantes sont ajoutées au menu Édition :" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Entrée de menu" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Action" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Exemple" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Changer la casse" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Tout en majuscule" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Passe chaque caractère en majuscule." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "Ce texte devient CE TEXTE" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Tout en minuscule" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Passe chaque caractère en minuscule." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "Ce Texte devient ce texte" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Inverser la casse" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Inverse majuscules et minuscules pour chaque lettre." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "Ce Texte devient cE tEXTE" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Casse du titre" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Passe chaque initiale de mot en majuscule." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "ce texte devient Ce Texte" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Greffon Statistiques du document" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2938,7 +2938,7 @@ msgstr "" "Statistiques du document. Pour l'utiliser, procédez " "comme suit :" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsStatistiques du document affiche les informations " "suivantes concernant le document :" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "nombre de lignes du document courant." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "nombre de mots du document." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "nombre de caractères (espaces comprises) du document." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "nombre de caractères (espaces non comprises) du document." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "nombre d'octets du document." -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Vous pouvez continuer à mettre le document gedit " +"Vous pouvez continuer à mettre le document pluma " "à jour tandis que la boîte de dialogue Statistiques du document est ouverte. Pour en actualiser le contenu, cliquez sur le bouton " "Mettre à jour." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Greffon Outils externes" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "Le greffon Outils externes permet d'exécuter des " -"commandes externes depuis gedit. Vous pouvez " +"commandes externes depuis pluma. Vous pouvez " "transmettre des données à une commande pour exploiter sa sortie (par exemple " "avec sed), ou lancer une commande prédéfinie (par " "exemple make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsOutils." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Commandes prédéfinies" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3023,39 +3023,39 @@ msgstr "" "Le greffon Outils externes fournit les commandes " "prédéfinies suivantes :" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Build (Construire)" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "" "Lance make dans le répertoire du document actif." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Directory Listing (Contenu du répertoire)" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" "Affiche le contenu du répertoire du document actif dans un nouveau document." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Environment Variables (Variables d'environnement)" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Affiche les variables d'environnement dans le panneau inférieur." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3064,19 +3064,19 @@ msgstr "" "en utilisant une correspondance de motif. Les résultats sont affichés dans " "le panneau inférieur." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Remove Trailing Spaces (Enlever les espaces finales)" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Enlève toutes les espaces des fins de ligne du document." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Définition d'une commande" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3084,7 +3084,7 @@ msgstr "" "Pour ajouter une commande externe, choisissez OutilsOutils externes." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3094,45 +3094,45 @@ msgstr "" "sur Nouveau. Renseignez les données suivantes de la " "nouvelle commande :" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Description" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Cette description est affichée dans la barre d'état quand l'entrée de menu " "est sélectionnée." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Raccourci" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Saisissez un raccourci clavier pour la commande." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Commande(s)" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Les commandes à lancer. De nombreuses variables d'environnement de " -"gedit peuvent être utilisées pour passer des " -"données à ces commandes : consultez pluma peuvent être utilisées pour passer des " +"données à ces commandes : consultez ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Entrée" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3141,11 +3141,11 @@ msgstr "" "standard) : l'ensemble du texte du document actif, la sélection " "active, la ligne active ou le mot actif." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Sortie" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3156,11 +3156,11 @@ msgstr "" "document actif, à la fin, à la position du curseur, ou replacer la sélection " "ou le document entier." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Applicabilité" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3168,22 +3168,22 @@ msgstr "" "Détermine quels documents peuvent être affectés par la commande, par exemple " "si le document est enregistré ou non, et s'il est local ou distant." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Édition et suppression d'outils" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Pour éditer un outil, sélectionnez-le dans la liste et effectuez les " "modifications à ses propriétés." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Pour renommer un outil, cliquez à nouveau dessus dans la liste." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3191,7 +3191,7 @@ msgstr "" "Pour restaurer un outil intégré que vous avez modifié, appuyez sur " "Restaurer." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3201,11 +3201,11 @@ msgstr "" "Enlever. Il n'est pas possible de retirer un outil " "intégré, uniquement ceux que vous avez créés." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Variables" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3213,39 +3213,39 @@ msgstr "" "Dans le champ Commande(s) définissant la commande à " "exécuter, vous pouvez utiliser les variables suivantes :" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Greffon Navigateur de fichiers" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3254,7 +3254,7 @@ msgstr "" "fichiers et vos dossiers dans le panneau latéral, permettant de les ouvrir " "rapidement." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3265,11 +3265,11 @@ msgstr "" "guimenuitem> puis cliquez sur l'onglet en haut du panneau " "latéral montrant l'icône du navigateur." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Parcours de vos fichiers" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3278,7 +3278,7 @@ msgstr "" "gestionnaire de fichiers. Pour parcourir l'un d'entre eux, double-cliquez " "dessus." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3287,7 +3287,7 @@ msgstr "" "appuyez sur le bouton flèche vers le haut de la barre d'outils du navigateur " "de fichiers." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3297,19 +3297,19 @@ msgstr "" "travaillez, cliquez avec le bouton droit dans la liste des fichiers et " "choisissez Définir la racine au document actif." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Pour ouvrir un fichier dans gedit, double-cliquez " +"Pour ouvrir un fichier dans pluma, double-cliquez " "dessus dans la liste des fichiers." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Création de documents et de dossiers" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3318,7 +3318,7 @@ msgstr "" "dans le navigateur, cliquez avec le bouton droit dans la liste des fichiers " "et choisissez Nouveau fichier." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3327,11 +3327,11 @@ msgstr "" "navigateur, cliquez avec le bouton droit dans la liste des fichiers et " "choisissez Nouveau dossier." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Greffon Indenter les lignes" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3339,13 +3339,13 @@ msgstr "" "Le greffon Indenter les lignes augmente ou réduit " "l'espace au début des lignes de texte." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" "Pour augmenter ou réduire l'indentation du texte, effectuez les opérations " "suivantes :" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3353,7 +3353,7 @@ msgstr "" "Sélectionnez les lignes à indenter. Pour n'agir que sur une seule ligne, " "placez le curseur n'importe où sur celle-ci." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3361,7 +3361,7 @@ msgstr "" "Pour augmenter l'indentation, choisissez ÉditionIndentation." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3369,21 +3369,21 @@ msgstr "" "Pour retirer l'indentation, choisissez ÉditionDésindentation." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "La largeur des indentations et l'utilisation de tabulations ou d'espaces " "dépendent des paramètres Tabulations dans les " -"préférences de l'éditeur : consultez ." +"préférences de l'éditeur : consultez ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Greffon Insérer la date et l'heure" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3393,7 +3393,7 @@ msgstr "" "d'insérer la date et l'heure actuelles dans le document. Pour l'utiliser, " "procédez comme suit :" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3401,51 +3401,51 @@ msgstr "" "Choisissez ÉditionInsérer la " "date et l'heure." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Si le greffon Insérer la date et l'heure n'est pas configuré pour le faire " -"automatiquement sans demander le format, gedit " +"automatiquement sans demander le format, pluma " "affiche la boîte de dialogue Insertion de la date et de l'heure. Sélectionnez le format approprié dans la liste. Cliquez sur le " "bouton Insérer pour fermer la boîte de dialogue ; " -"gedit insère la date et l'heure dans le document, " +"pluma insère la date et l'heure dans le document, " "à l'emplacement du curseur." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Si gedit est configuré pour utiliser un format " +"Si pluma est configuré pour utiliser un format " "date/heure particulier, la boîte de dialogue Insertion de la date " "et de l'heure ne s'affiche pas et l'insertion se fait " "automatiquement dans le document, à l'emplacement du curseur." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Configuration du greffon Insérer la date et l'heure" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" "Pour configurer le greffon Insérer la date et l'heure, suivez les étapes " "indiquées ci-dessous :" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Sélectionnez le greffon Insertion de la date et de l'heure." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3454,11 +3454,11 @@ msgstr "" "afficher la boîte de dialogue Configurer le greffon d'insertion de " "date/heure." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Sélectionnez une des options comme indiqué ci-après :" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3466,24 +3466,24 @@ msgstr "" "Pour définir le format date/heure à chaque insertion, sélectionnez l'option " "Demander un format." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"Pour utiliser le format proposé par gedit, " +"Pour utiliser le format proposé par pluma, " "sélectionnez l'option Utilisez le format sélectionné, " "puis sélectionnez-le dans la liste. Si cette option est activée, " -"gedit ne demande pas le format lorsque vous " +"pluma ne demande pas le format lorsque vous " "choisissez ÉditionInsertion de " "la date et de l'heure." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3491,7 +3491,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3502,11 +3502,11 @@ msgstr "" "vous à strftime3. Si cette option est activée, " -"gedit ne demande pas le format lorsque vous " +"pluma ne demande pas le format lorsque vous " "choisissez ÉditionInsertion de " "la date et de l'heure." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3514,7 +3514,7 @@ msgstr "" "Cliquez sur OK pour fermer la boîte de dialogue " "Configurer le greffon d'insertion de date/heure." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3522,23 +3522,23 @@ msgstr "" "Pour fermer la boîte de dialogue Préférences, cliquez " "sur Fermer." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Greffon Modificateurs" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Le greffon Modificateurs permet de définir des " "préférences pour chaque document. Un modificateur est " "une ligne de texte au début ou à la fin du document contenant des paramètres " -"reconnus par gedit." +"reconnus par pluma." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3546,28 +3546,28 @@ msgstr "" "Les préférences définies avec les modificateurs ont la priorité sur celles " "définies dans la boîte de dialogue des préférences." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "" "Avec les modificateurs, vous pouvez définir les préférences suivantes :" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Largeur des tabulations" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Largeur d'indentation" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Insérer des espaces au lieu des tabulations" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Marge de droite à la colonne" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3578,11 +3578,11 @@ msgstr "" "Emacs, Kate et " "Vim." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Modificateurs d'Emacs" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3590,7 +3590,7 @@ msgstr "" "Les deux premières lignes d'un document sont analysées pour trouver les " "modificateurs Emacs." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3603,11 +3603,11 @@ msgstr "" "\"http\"·url=\"http://www.delorie.com/gnu/docs/emacs/emacs_486.html\">le " "manuel d'Emacs GNU." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Modificateurs de Kate" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3615,7 +3615,7 @@ msgstr "" "Les modificateurs de Kate sont recherchés dans la " "première et les dix dernières lignes du document." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3627,11 +3627,11 @@ msgstr "" "d'informations consultez Le site Web de Kate." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Modificateurs de Vim" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3639,7 +3639,7 @@ msgstr "" "Les modificateurs de Vim sont recherchés dans la " "première et les trois dernières lignes du document." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3651,38 +3651,38 @@ msgstr "" "d'informations, consultez le site Web de Vim." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Greffon Console Python" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Le greffon Console Python permet d'exécuter des " -"commandes de ce langage à partir de gedit. " +"commandes de ce langage à partir de pluma. " "Lorsque le greffon est activé, un onglet est ajouté au panneau inférieur. Il " "montre les dernières sorties de commandes ainsi qu'un champ avec une invite " "de saisie de commande." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Les commandes entrées à la console python ne sont pas vérifiées avant d'être " -"exécutées, aussi, il est possible de bloquer geditpluma en entrant, par exemple, une boucle infinie." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Greffon Extraits" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3692,7 +3692,7 @@ msgstr "" "parties de texte fréquemment utilisées, appelées extraits et de les insérer rapidement dans un document." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3704,19 +3704,19 @@ msgstr "" "au HTML. Certains d'entre eux sont globaux et sont donc disponibles pour " "tous les documents." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" "Un certain nombre d'extraits intégrés sont installés avec " -"gedit et peuvent être modifiés." +"pluma et peuvent être modifiés." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Insertion d'extraits" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3728,7 +3728,7 @@ msgstr "" "déclencheur est en général constitué des premières lettres de l'extrait ou " "de quelque chose de court et de facilement mémorisable." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3736,15 +3736,15 @@ msgstr "" "Sinon, appuyez CtrlEspace pour afficher la liste des extraits qu'il est possible d'utiliser." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Ajout d'extraits" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Création d'un nouvel extrait :" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3754,7 +3754,7 @@ msgstr "" "extraits de code. La fenêtre " "Gestionnaire des extraits de code s'ouvre." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3766,21 +3766,21 @@ msgstr "" "l'ajouter à tous les langages, sélectionnez Global en haut de la liste. La " "syntaxe du document actif est affichée par défaut." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Cliquez sur Nouveau. Un nouvel extrait apparaît dans " "la liste." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Fournissez les informations suivantes pour le nouvel extrait :" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Nom" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3789,21 +3789,21 @@ msgstr "" "Saisissez un nom dans le champ texte de la liste. Ce nom sert à se souvenir " "de son utilité. Pour le modifier, cliquez dessus dans la liste." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Texte de l'extrait" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Saisissez le texte de l'extrait dans la zone de texte Modification " "de l'extrait de code. Pour l'utilisation de codes spéciaux, voyez " -"." +"." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3811,11 +3811,11 @@ msgstr "" "Vous pouvez retourner dans la fenêtre du document pour copier du texte sans " "fermer celle du Gestionnaire d'extraits." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Déclencheur." -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3823,7 +3823,7 @@ msgstr "" "Entrez le déclencheur de l'extrait. C'est le texte que vous tapez avant " "d'appuyer sur la touche Tabulation pour l'insérer." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3833,19 +3833,19 @@ msgstr "" "d'un caractère unique. Le déclencheur deviendra rouge " "si un commutateur invalide a été saisi." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Raccourci clavier" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Entrez le raccourci clavier à utiliser pour insérer l'extrait." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Édition et suppression des extraits" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3853,11 +3853,11 @@ msgstr "" "Pour éditer un extrait, sélectionnez-le dans la liste et effectuez les " "modifications dans son texte ou ses propriétés d'activation." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "Pour renommer un extrait, cliquez à nouveau dessus dans la liste." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3865,7 +3865,7 @@ msgstr "" "Pour restaurer un extrait intégré que vous avez modifié, appuyez sur " "Restaurer." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3875,11 +3875,11 @@ msgstr "" "Enlever. Il n'est pas possible de retirer un extrait " "intégré, mais seulement ceux que vous avez crées." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Substitutions dans un extrait" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3889,17 +3889,17 @@ msgstr "" "inclure un texte paramétrable avec des repères où il sera possible d'ajouter " "du texte un fois l'extrait inséré dans le document." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "Vous pouvez utiliser les codes de paramètres de substitution suivants dans " "le texte d'un extrait :" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Étiquettes des paramètres de substitution" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3908,7 +3908,7 @@ msgstr "" "paramètre de substitution où n est tout nombre supérieur " "ou égal à 1." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3917,7 +3917,7 @@ msgstr "" "literal> définit l'étiquette d'un paramètre de substitution avec une valeur " "par défaut." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3925,7 +3925,7 @@ msgstr "" "Une étiquette de paramètre marque un endroit dans le texte d'un extrait où " "il sera possible, après son insertion, d'y ajouter du texte." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3938,7 +3938,7 @@ msgstr "" "l'étiquette suivante. Le numéro dans le code de l'étiquette définit l'ordre " "dans lequel chacune d'elle sera accédée." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3951,11 +3951,11 @@ msgstr "" "curseur à la fin du texte de l'extrait ou sur la dernière étiquette si elle " "existe." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Miroir des paramètres de substitution" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3965,11 +3965,11 @@ msgstr "" "ne saisir un texte qu'une seule fois et de le reproduire en plusieurs " "endroits." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Paramètre de substitution terminal" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3979,34 +3979,34 @@ msgstr "" "permet de terminer le travail sur l'extrait avec le curseur à un endroit " "différent de celui de la fin du texte de l'extrait." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Variables d'environnement" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Les variables d'environnement, telles que $PATH et " "$HOME, sont substituées dans le texte de l'extrait. Les " -"variables suivantes, spécifiques à gedit peuvent " +"variables suivantes, spécifiques à pluma peuvent " "également être utilisées :" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "La sélection de texte actuelle." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -4014,11 +4014,11 @@ msgstr "" "Le nom du document, avec son chemin, ou une chaîne vide si le document n'a " "pas encore été enregistré." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4026,11 +4026,11 @@ msgstr "" "Le nom du document sans son chemin ou une chaîne vide si le document n'a pas " "encore été enregistré." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4038,11 +4038,11 @@ msgstr "" "Mot qui se trouve à l'emplacement du curseur dans le document. Quand cette " "variable est utilisée, le mot actuel est remplacé par le texte de l'extrait." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Paramètres de substitution pour le shell" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4050,7 +4050,7 @@ msgstr "" "$(cmd) est remplacé par le " "résultat de l'exécution de la commande shell cmd." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4064,11 +4064,11 @@ msgstr "" "replaceable> pour utiliser la sortie de la commande shell comme " "entrée d'une autre variable." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Paramètres de substitution pour Python" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4078,7 +4078,7 @@ msgstr "" "le résultat de l'évaluation de la commande cmd " "par l'interpréteur python." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4096,7 +4096,7 @@ msgstr "" "Par exemple : $<a,b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4104,11 +4104,11 @@ msgstr "" "Pour utiliser une variable dans d'autres extraits python, déclarez-la comme " "global." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Greffon Trier" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4116,7 +4116,7 @@ msgstr "" "Le greffon Trier trie les lignes sélectionnées " "dans l'ordre alphabétique." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4129,15 +4129,15 @@ msgstr "" "FichierRétablir." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Pour utiliser le greffon Trier, procédez comme suit :" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Sélectionnez les lignes à trier." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4146,11 +4146,11 @@ msgstr "" "guimenuitem>. La boîte de dialogue Trier." "s'ouvre." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Choisissez les options de tri :" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4158,19 +4158,19 @@ msgstr "" "Pour réaliser un tri inverse, cochez l'option Inverser l'ordre." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Pour supprimer les lignes identiques, cochez l'option Enlever les " "doublons." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Pour ignorer la casse, cochez l'option Ignorer la casse." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4180,31 +4180,31 @@ msgstr "" "zone de sélection numérique Commencer à la colonne les " "premiers caractères devant être utilisés dans le tri." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "Pour faire le tri, cliquez sur le bouton Trier." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Greffon Vérificateur orthographique" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Le greffon Vérificateur orthographique agit dans " -"le texte sélectionné. gedit peut le faire " +"le texte sélectionné. pluma peut le faire " "automatiquement ou manuellement et dans une langue donnée. Le paramétrage de " "la langue et les propriétés du correcteur orthographique s'appliquent à " "l'ensemble du document. Pour utiliser le correcteur, suivez les étapes " "suivantes :" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4216,7 +4216,7 @@ msgstr "" "Spécifier la langue. Sélectionnez dans la liste la " "langue qui vous convient, puis cliquez sur Valider." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4224,7 +4224,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Pour vérifier l'orthographe automatiquement, choisissez " @@ -4234,9 +4234,9 @@ msgstr "" "vérification automatique est activé, une coche s'affiche à côté de l'option " "dans le menu Vérification orthographique automatique. Cette option est désactivée chaque fois que " -"gedit démarre." +"pluma démarre." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsSuggestions d'orthographe :" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4255,7 +4255,7 @@ msgstr "" "Pour remplacer un mot inconnu par un de ceux de la liste, utilisez Remplacer " "dans le menu Suggestion d'orthographe." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddSuggestion d'orthographeAjouter le mot." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Pour ignorer toutes les occurrences d'un mot non reconnu, afin qu'il ne soit " "plus marqué comme inconnu mais qu'il ne soit pas ajouté à votre dictionnaire " "personnel, choisissez Suggestion d'orthographeIgnorer tout. Le mot est " "alors ignoré partout où il est rencontré durant la session actuelle de " -"gedit." +"pluma." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4288,7 +4288,7 @@ msgstr "" "Choisissez OutilsVérification " "orthographique pour une vérification manuelle." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4300,7 +4300,7 @@ msgstr "" "orthographié. Cliquez sur Fermer pour refermer cette " "fenêtre." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4308,7 +4308,7 @@ msgstr "" "S'il y a des fautes, la boîte de dialogue Vérification " "d'orthographe s'ouvre :" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4316,7 +4316,7 @@ msgstr "" "Le Mot mal orthographié est affiché en haut de la " "fenêtre." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4327,7 +4327,7 @@ msgstr "" "par. Il est possible de choisir un autre mot dans la liste des " "Suggestions ou encore de le saisir directement." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4341,19 +4341,19 @@ msgstr "" "est remplacée par le texte (orthographe correcte), sinon " "de nouvelles propositions apparaissent." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Pour ignorer l'occurrence courante du mot non reconnu, cliquez sur " "Ignorer. Pour l'ignorer partout dans le texte cliquez " "sur Toujours ignorer. Cela ne reste vrai que pour la " -"session actuelle de gedit." +"session actuelle de pluma." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeRemplacer. Pour corriger toutes les occurrences de ce " "mot dans le texte, cliquez sur Tout remplacer." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4374,7 +4374,7 @@ msgstr "" "Pour ajouter un mot inconnu à votre propre dictionnaire, cliquez sur le " "bouton Ajouter le mot." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4382,11 +4382,11 @@ msgstr "" "Pour fermer la boîte de dialogue Vérification orthographique, cliquez sur Fermer." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Greffon Liste des balises." -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4394,11 +4394,11 @@ msgstr "" "Le greffon Liste des balises permet d'insérer les " "balises courantes à partir d'une liste située dans le panneau latéral." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Pour utiliser le greffon Liste des balises, procédez comme suit :" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4406,7 +4406,7 @@ msgstr "" "Choisissez AffichagePanneau " "latéral." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4416,7 +4416,7 @@ msgstr "" "documents ouverts. Cliquez sur l'onglet montrant une icône + au bas du " "panneau pour afficher la liste des étiquettes." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4424,12 +4424,12 @@ msgstr "" "Sélectionnez la catégorie de balises appropriée dans la liste déroulante. " "Par exemple, HTML - Balises." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "" "Faites défiler la liste des balises pour trouver celle qui vous convient." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4438,7 +4438,7 @@ msgstr "" "cliquant deux fois sur son nom dans la liste. Vous pouvez également le faire " "comme suit :" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4447,7 +4447,7 @@ msgstr "" "Greffon de liste des balises à la fenêtre de l'éditeur, " "appuyez sur Entrée." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftMajusculeEntrée." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Vincent Untz , 2006.\n" diff --git a/help/hu/hu.po b/help/hu/hu.po index 4e601d3..9c7fcc8 100755 --- a/help/hu/hu.po +++ b/help/hu/hu.po @@ -1,9 +1,9 @@ -# Hungarian translation of gedit help +# Hungarian translation of pluma help # Mate Ory , 2007, 2008. # Gabor Kelemen , 2007, 2008, 2009, 2010. msgid "" msgstr "" -"Project-Id-Version: gedit_help master\n" +"Project-Id-Version: pluma_help master\n" "POT-Creation-Date: 2010-09-01 08:15+0000\n" "PO-Revision-Date: 2010-09-23 23:08+0200\n" "Last-Translator: Gabor Kelemen \n" @@ -115,298 +115,298 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) -msgid "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" -msgstr "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +#: C/pluma.xml:268(None) +msgid "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +msgstr "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Gedit kézikönyv" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Pluma kézikönyv" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE dokumentációs projekt" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002." -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003." -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004." -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000." -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Elkészítette a gyorsbillentyűk táblázatát" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System dokumentációs csapat" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) -msgid "Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek információt nyújtott a gedit alkalmazás korábbi változatairól." +#: C/pluma.xml:85(surname) +msgid "Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek információt nyújtott a pluma alkalmazás korábbi változatairól." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Köszönetnyilvánítások" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George a bővítményekről nyújtott információt." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit 1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma 1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit kézikönyv 2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma kézikönyv 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "2002. március" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE dokumentációs csapat" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit kézikönyv 2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma kézikönyv 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "2002. június" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit kézikönyv 2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma kézikönyv 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "2002. augusztus" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit kézikönyv 2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma kézikönyv 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "2002. szeptember" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit kézikönyv 2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma kézikönyv 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "2003. január" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit kézikönyv 2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma kézikönyv 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "2003. március" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit kézikönyv 2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma kézikönyv 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "2003. szeptember" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit kézikönyv 2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma kézikönyv 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "2004. március" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit kézikönyv 2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma kézikönyv 2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "2006. július" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit kézikönyv 2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma kézikönyv 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE dokumentációs csapat" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Ez a kézikönyv a gedit 2.16-os verzióját írja le." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Ez a kézikönyv a pluma 2.16-os verzióját írja le." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Visszajelzés" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"A gedit alkalmazás vagy dokumentáció hibáiról " +"A pluma alkalmazás vagy dokumentáció hibáiról " "bejelentést, illetve javaslatokat a MATE visszajelzés oldal leírása alapján tehet." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"A gedit egy szövegszerkesztő a MATE asztali környezethez, amely alapvető és " +"A pluma egy szövegszerkesztő a MATE asztali környezethez, amely alapvető és " "robusztus képességekkel rendelkezik, mint például a nyomtatás, helyesírás-" "ellenőrzés, keresés és csere, szintaxiskiemelés. További szolgáltatások " "érhetők el a bővítmények formájában." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "szövegszerkesztő" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Bevezetés" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"A gedit lehetővé teszi szövegfájlok készítését és " +"A pluma lehetővé teszi szövegfájlok készítését és " "szerkesztését." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"A gedit célja az egyszerűség és a könnyű " +"A pluma célja az egyszerűség és a könnyű " "használat. Hatékonyabb eszközöket a bővítmények " "nyújtanak, lehetővé téve szövegszerkesztési feladatok széles körének " "végrehajtását." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Kezdeti lépések" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "A gedit indítása" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "A pluma indítása" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "A következő módokon lehet elindítani a geditet:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "A következő módokon lehet elindítani a plumaet:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Alkalmazások menü" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -415,97 +415,97 @@ msgstr "" "guisubmenu>Szövegszerkesztő " "menüpontot." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Parancssor" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Adja ki a gedit parancsot." +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Adja ki a pluma parancsot." -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"Alapértelmezésben a fájlkezelőben megnyitott szövegfájlokat a gedit jeleníti " +"Alapértelmezésben a fájlkezelőben megnyitott szövegfájlokat a pluma jeleníti " "meg." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "A gedit ablaka" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "A pluma ablaka" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"A gedit elindításakor a következő ablak jelenik " +"A pluma elindításakor a következő ablak jelenik " "meg:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "A gedit ablaka" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "A pluma ablaka" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "A gedit főablaka." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "A pluma főablaka." -#: C/gedit.xml:276(para) -msgid "The gedit window contains the following elements:" -msgstr "A gedit ablak a következő elemekből áll:" +#: C/pluma.xml:276(para) +msgid "The pluma window contains the following elements:" +msgstr "A pluma ablak a következő elemekből áll:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Menüsor" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "A menüsor menüi az összes parancsot tartalmazzák, amire szükség lehet a " -"fájlok kezeléséhez a gedittel." +"fájlok kezeléséhez a plumatel." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Eszköztár" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "Az eszköztár a menüsorról elérhető parancsok egy részét tartalmazza." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Megjelenítő ablaktábla" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "A megjelenítő ablaktábla a szerkesztett fájl szövegét tartalmazza." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Állapotsor" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "Az állapotsor a pillanatnyi munkáról és környezeti információkról " -"tájékoztat. A gedit állapotsora a következőket is " +"tájékoztat. A pluma állapotsora a következőket is " "tartalmazza:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "Kurzorpozíció: a kurzor jelenlegi helye sor és oszlop szerint." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -517,11 +517,11 @@ msgstr "" "akkor az ÁTÍR. A szerkesztési mód váltásához nyomja meg " "a billentyűzet Insert gombját." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Oldalsó ablaktábla" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -529,7 +529,7 @@ msgstr "" "Az oldalsó ablaktábla felsorolja a megnyitott dokumentumokat és további " "bővítményfüggő adatokat jelenít meg." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneNézetOldalsó ablaktábla menüponttal kapcsolható be vagy ki." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Alsó ablaktábla" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -552,7 +552,7 @@ msgstr "" "Python konzol bővítmény a kimenetének " "megjelenítésére." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneNézetAlsó ablaktábla menüponttal kapcsolható be vagy ki." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"Ha a jobb gombbal kattint a gedit ablakra, " +"Ha a jobb gombbal kattint a pluma ablakra, " "megjelenik egy helyi menü. Ez a helyi menü a legfontosabb szövegszerkesztő-" "parancsokat tartalmazza." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Hasonlóan más MATE alkalmazásokhoz a geditben is " +"Hasonlóan más MATE alkalmazásokhoz a plumaben is " "több módon lehet egy műveletet végrehajtani: a menüsorból, az eszköztárról " "vagy gyorsbillentyűkkel. Az összes alkalmazásra jellemző gyorsbillentyűket a " "Felhasználói " "kézikönyv sorolja fel." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "A gedit futtatása parancssorból" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "A pluma futtatása parancssorból" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"A geditet parancssorból is futtatható. Így egy " +"A plumaet parancssorból is futtatható. Így egy " "vagy több fájlt is megnyithat. Több fájl megnyitásához gépelje be a " "következő parancsot, majd üssön Entert:" # magyarul nem sorszámozunk hátul, pont nélkül... -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "első_fájl.txt második_fájl.txt harmadik_fájl.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Lehetőség van a fájlnév helyett URI használatára." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"További, a gedit parancssori használatáról szóló " -"információért tekintse meg a gedit unix kézikönyvoldalát, a geditpluma parancssori használatáról szóló " +"információért tekintse meg a pluma unix kézikönyvoldalát, a pluma1-et." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Fájlok kezelése" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Új dokumentum létrehozása" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Új dokumentum létrehozásához válassza a FájlÚj menüpontot. Az alkalmazás " -"egy új üres dokumentumot fog megjeleníteni a geditpluma ablakban." -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "Fájl megnyitása" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Fájl megnyitásához válassza a FájlMegnyitás… menüpontot a " "Fájl megnyitása… ablak megjelenítéséhez. Válassza ki a " "megnyitandó fájlt és kattintson a Megnyitás gombra. A " -"fájl megjelenik a gedit ablakban." +"fájl megjelenik a pluma ablakban." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Nemrég használt fájlok megnyitása gomb." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -678,25 +678,25 @@ msgstr "" "menuchoice> menüben. Az eszköztár ikonjára kattintva " "szintén megjelenik a nemrég használt fájlok listája." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"A gedittel egyszerre több fájlt is meg lehet " +"A plumatel egyszerre több fájlt is meg lehet " "nyitni. Ekkor minden megnyitott fájl új lapra kerül. Erről további " -"részleteket a tartalmaz." +"részleteket a tartalmaz." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Fájl mentése" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "A következő módokon lehet fájlt menteni:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -704,7 +704,7 @@ msgstr "" "Létező fájl mentéséhez válassza a FájlMentés menüpontot." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsMentés másként… ablakban, majd kattintson a " "Mentés gombra." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Az összes geditben megnyitott fájl mentéséhez " +"Az összes plumaben megnyitott fájl mentéséhez " "válassza a DokumentumokÖsszes " "mentése menüpontot." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Az összes geditben megnyitott fájl bezárásához " +"Az összes plumaben megnyitott fájl bezárásához " "válassza a DokumentumokÖsszes " "bezárása menüpontot." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Fájl megnyitása URI alapján" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -749,7 +749,7 @@ msgstr "" "Fájl megnyitásához egységes erőforrás-azonosító (URI) használatával, tegye a " "következőket:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -759,11 +759,11 @@ msgstr "" "guimenuitem> menüpontot a Hely megnyitása " "ablak megjelenítéséhez." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Írja be a megnyitni kívánt fájl URI címét." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -771,11 +771,11 @@ msgstr "" "Válassza ki a megfelelő karakterkódolást a Karakterkódolás legördülő listából." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Kattintson a Megnyitás gombra." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -785,7 +785,7 @@ msgstr "" "literal>, az ftp:, a file: és minden " "más, a mate-vfs által támogatott elérési mód." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -798,65 +798,65 @@ msgstr "" "nem módosíthatók, mert egyes FTP kiszolgálók hibásan kezelik a távoli fájlok " "mentését." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Az FTP kiszolgálókra való mentés a Konfigurációszerkesztővel " -"kapcsolható be. A /apps/gedit-2/preferences/editor/save/" +"kapcsolható be. A /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes kulcsot kell beállítani, de ez hibákat " "okozhat." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Lapok kezelése" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Ha több fájl van megnyitva, akkor a gedit minden " +"Ha több fájl van megnyitva, akkor a pluma minden " "dokumentumot külön lapon jelenít meg a megjelenítő ablaktáblán. Másik " "dokumentumra váltáshoz kattintson a hozzá tartozó fülre." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"A dokumentumok gedit ablakok közti mozgatása az " +"A dokumentumok pluma ablakok közti mozgatása az " "adott fájlhoz tartozó fül másik ablakba húzásával lehetséges." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Dokumentum új gedit ablakba való mozgatásához " +"Dokumentum új pluma ablakba való mozgatásához " "húzza a fület az Asztalra vagy válassza a DokumentumokÁthelyezés új ablakba " "menüpontot." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Szöveg kezelése" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Szöveg szerkesztése" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "A következő módokon szerkesztheti szövegfájlok tartalmát:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -866,7 +866,7 @@ msgstr "" "jelöli az újonnan begépelt szövegek helyét. Ennek megváltoztatása a " "nyílbillentyűkkel vagy egérkattintással lehetséges." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyMásolás menüpont " "kiválasztásával lehetséges." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutSzerkesztésKivágás menüpont kiválasztásával lehetséges." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteTörlés menüpont " "kiválasztásával lehetséges." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "A vágólap tartalmának beszúrása a jelenlegi kurzorpozícióban a " "SzerkesztésBeillesztés menüpont kiválasztásával lehetséges. Ehhez " "előzőleg kivágással vagy másolással szöveget kell a vágólapra helyezni a " -"geditben vagy más alkalmazásban." +"plumaben vagy más alkalmazásban." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -918,11 +918,11 @@ msgstr "" "SzerkesztésMindent kijelöl menüpontot." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Változtatások visszavonása, változtatások visszavonásának megszüntetése" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -935,31 +935,31 @@ msgstr "" "SzerkesztésÚjra menüpontra." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Keresés és csere" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"A geditben két különböző módja van a szövegrészek " +"A plumaben két különböző módja van a szövegrészek " "keresésnek. Használhatja a Keresés ablakot egy adott " "szövegtöredék megkereséséhez, vagy kiemelheti a megfelelő szöveget gépelés " "közben a Gyorskeresés használatával." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Szöveg keresése" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Karakterlánc kereséséhez egy szövegfájlban, tegye a következőket:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -968,30 +968,30 @@ msgstr "" "guimenuitem> menüpontot, ami megjeleníti a Keresés… ablakot." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Gépelje be a keresett karakterláncot a Keresés erre " "mezőbe. Lehetséges speciális karakterek, például újsor vagy tabulátor " -"beszúrása is. További információkért tekintse meg a részt." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Kattintson a Keresés gombra. A beírt szöveg aktuális " -"kurzorhely utáni első előfordulását a gedit " +"kurzorhely utáni első előfordulását a pluma " "kijelöli, a többi találatot pedig kiemeli." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextElőző találat menüpont " "kiválasztásával érheti el." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1020,7 +1020,7 @@ msgstr "" "guimenu>Előző találat menüpontok " "segítségével továbbra is kiválaszthatja a szöveg további előfordulásait." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightKiemelés törlése menüpont " "kiválasztásával érhető el." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Gyorskeresés" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1044,7 +1044,7 @@ msgstr "" "egyező szövegtöredékeket. (Hasonlóan bizonyos webböngészők keresés " "funkciójához.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1055,7 +1055,7 @@ msgstr "" "kiválasztásával indíthat. A keresődoboz a megjelenítő ablaktábla felső " "részén jelenik meg." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1063,7 +1063,7 @@ msgstr "" "Kezdjen el gépelni; az egyező szövegtöredékek a dokumentumban kiemelésre " "kerülnek. A kurzor helye utáni első előfordulás ki is lesz jelölve." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlG (előre) és CtrlShiftG (vissza) billentyűkombinációkat." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1083,11 +1083,11 @@ msgstr "" "A nyílbillentyűk és az egér görgetőkereke is alkalmas a kijelölés " "mozgatására a találatok között." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Szöveg cseréje" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1095,7 +1095,7 @@ msgstr "" "Egy karakterlánc kereséshez a szövegben és annak egy másik karakterlánccal " "való helyettesítéséhez tegye a következőket:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1104,18 +1104,18 @@ msgstr "" "guimenuitem> menüpontot, ami megnyitja a Csere… ablakot." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Írja be a keresett karakterláncot a Keresés erre " "mezőbe. Speciális karaktereket, például újsort vagy tabulátort is " -"használhat. További információkért tekintse meg a részt." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1123,22 +1123,22 @@ msgstr "" "A Csere erre mezőbe írja be azt a karakterláncot, amire " "a találatokat cserélni kívánja." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "A karakterlánc minden előfordulásának megvizsgálásához kattintson a " -"Keresés gombra. Ha a gedit " +"Keresés gombra. Ha a pluma " "előfordulást talál, kijelöli azt. Ilyenkor a Csere " "gombra kattintva az alkalmazás a kijelölt előfordulást lecseréli. A " "következő előfordulásra lépéshez kattintson ismét a Keresés gombra." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1146,11 +1146,11 @@ msgstr "" "A dokumentumban lévő összes előfordulás cseréléséhez kattintson a " "Mindet cseréli gombra." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Keresés és csere beállításai" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1158,7 +1158,7 @@ msgstr "" "A Keresés és a Csere ablak is " "támogatja a következő beállításokat:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1170,7 +1170,7 @@ msgstr "" "nagybetű beállítás kiválasztásával a „SZÖVEG” keresőszóval nem " "fogja megtalálni a dokumentumban lévő „szöveg” szót." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1182,7 +1182,7 @@ msgstr "" "Csak teljes szóra beállítással az „egér” szóra kiadott " "keresés nem tekinti találatnak a „szövegértés” szót." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1190,7 +1190,7 @@ msgstr "" "A Keresés visszafelé lehetőség kijelölésével a keresés " "visszafelé, a dokumentum eleje felé történik." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1198,11 +1198,11 @@ msgstr "" "A Körbe lehetőség kijelölésével a keresés a dokumentum " "egyik végének elérése után a másik végéről folytatódik." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Speciális karakterek" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1210,35 +1210,35 @@ msgstr "" "A következő escape sorozatokkal speciális karaktereket kereshet, illetve " "azokat cserélheti:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Újsor karaktert jelöl." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Tabulátor karaktert jelöl." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Kocsivissza karaktert jelöl." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1252,11 +1252,11 @@ msgstr "" "írnia. Ha fordított törtvonalak sorozatát keresi, akkor meg kell dupláznia " "azok számát." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Kurzor adott sorba mozgatása" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to LineReturn." @@ -1282,15 +1282,15 @@ msgstr "" "A mező eltüntetéséhez és a kurzor megadott sorba való mozgatásához nyomja " "meg az Enter billentyűt." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Nyomtatás" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Oldalbeállítások" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1300,7 +1300,7 @@ msgstr "" "guimenu>Oldalbeállítás… menüpontot, " "ami megjeleníti az Oldalbeállítás ablakot." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1308,28 +1308,28 @@ msgstr "" "Az Oldalbeállítás ablak lehetővé teszi a következő " "nyomtatási beállítások megadását:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Általános lap" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Szintaxiskiemelés nyomtatása" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Ezt a lehetőséget kijelölve az alkalmazás kinyomtatja a szintaxiskiemelést. " "További információért a szintaxiskiemelésről tekintse meg a részt." +"\"pluma-set-highlightmode\"/> részt." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Oldal fejlécének nyomtatása" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1337,11 +1337,11 @@ msgstr "" "Ezt a lehetőséget kijelölve minden oldal tetején nyomtatásra kerül egy " "fejléc. A fejlécet nem lehet finomhangolni." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "Sorszámozás" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1349,7 +1349,7 @@ msgstr "" "A Sorszámok nyomtatása lehetőség kiválasztásával a " "dokumentum minden sorának elején szerepelni fog a száma." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1359,11 +1359,11 @@ msgstr "" "sorszámnyomtatás gyakoriságának meghatározására, például 5, 10, stb. " "soronként legyen sorszám." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "Szöveg tördelése" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1373,7 +1373,7 @@ msgstr "" "hosszú sorok nyomtatáskor karakterszinten kerülnek tördelésre. Az alkalmazás " "a tördelt sorokat egy sornak számolja a sorszámok nyomtatásánál." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1381,15 +1381,15 @@ msgstr "" "A Ne törje a szavakat két sorba lehetőség " "kiválasztásával nyomtatáskor a tördelés csak szóhatárokon fog megtörténni." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Betűkészletek" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Törzs" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1397,21 +1397,21 @@ msgstr "" "Kattintson erre a gombra a szövegtörzs nyomtatásához használt betűkészlet " "módosításához." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Sorszámok" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Kattintson erre a gombra a sorszámok nyomtatásához használt betűkészlet " "módosításához." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Élőfej és élőláb" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1419,47 +1419,47 @@ msgstr "" "Kattintson erre a gombra az élőfej és élőláb nyomtatásához használt " "betűkészlet módosításához." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"A gedit nyomtatáshoz használt betűkészleteinek " +"A pluma nyomtatáshoz használt betűkészleteinek " "alapértelmezettre állításához kattintson az Alapértelmezett " "betűkészletek visszaállítása gombra." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Dokumentum nyomtatása" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"A gedit segítségével a következő nyomtatási " +"A pluma segítségével a következő nyomtatási " "műveleteket hajthatja végre:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Dokumentum nyomtatása nyomtatóra." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "A nyomtatási parancs kimenetének fájlba nyomtatása." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Ha fájlba nyomtat, a gedit a nyomtatási parancs " +"Ha fájlba nyomtat, a pluma a nyomtatási parancs " "kimenetét egy nyomtatási fájlba küldi. A legáltalánosabb nyomtatási " "fájlformátumok a PostScript és a PDF." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewFájlNyomtatási kép menüpontot." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint menüpontot, ami megjeleníti a Nyomtatás " "ablakot." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1488,33 +1488,33 @@ msgstr "" "A Nyomtatás ablak a következő beállítások megadását " "teszi lehetővé:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Feladat lap" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Nyomtatási tartomány" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "Select one of the following options to determine how many pages to print:" msgstr "" "A a nyomtatandó oldalak számának meghatározásához válassza ki a következő " "lehetőségek egyikét:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Mindent" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Válassza ezt a lehetőséget a fájl minden oldalának kinyomtatásához." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Sorok" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1524,11 +1524,11 @@ msgstr "" "Ettől és Eddig léptetőmezőkkel " "adja meg a kívánt sortartományt." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Kijelölés" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1537,11 +1537,11 @@ msgstr "" "kinyomtatni. Ez a lehetőség csak akkor érhető el, ha kijelölt egy " "szövegrészt." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Példányok" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1549,7 +1549,7 @@ msgstr "" "Használja a Példányok száma léptetőmezőt a nyomtatandó " "példányszám meghatározásához." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1557,29 +1557,29 @@ msgstr "" "Amennyiben több példányt nyomtat, a Szétválogatás " "lehetőség használatával különválogattathatja a kész példányokat." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Nyomtató lap" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Nyomtató" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "Válassza ki a legördülő menüből a fájl nyomtatásához használandó nyomtatót." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Beállítások" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Használja ezt a legördülő listát a nyomtató beállításainak módosításához." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1589,26 +1589,26 @@ msgstr "" "guibutton> gombra. Például be lehet állítani a kétoldalas vagy késleltetett " "nyomtatást, ha a nyomtató támogatja ezeket a funkciókat." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Hely" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "Use this drop-down list to select one of the following print destinations:" msgstr "" "Használja ezt a legördülő listát a következő nyomtatási célok egyikének " "kiválasztására:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" # hülyeség -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Fájl nyomtatása egy CUPS nyomtatóval." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1616,23 +1616,23 @@ msgstr "" "Ha a kiválasztott nyomtató egy CUPS nyomtató, a CUPS " "lesz az egyetlen megjelenített elem a legördülő listában." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Fájl nyomtatása egy nyomtatóval." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Fájl" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Fájl nyomtatása PostScript fájlba." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1640,45 +1640,45 @@ msgstr "" "Kattintson a Mentés másként gombra a létrehozandó " "PostScript fájl helyének megadásához." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Egyéb" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Egy megadott parancs használata a fájl nyomtatására." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "Írja be a szövegmezőbe a nyomtatási parancsot a szükséges kapcsolókkal." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Állapot" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Ez a funkció nem támogatott ebben a gedit verzióban." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Ez a funkció nem támogatott ebben a pluma verzióban." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Típus" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Megjegyzés" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Papír lap" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Papírméret" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1686,11 +1686,11 @@ msgstr "" "Ezzel a legördülő listával kiválaszthatja a fájl nyomtatásához használandó " "papír méretét." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Szélesség" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1698,37 +1698,37 @@ msgstr "" "Ezzel a léptetőmezővel kiválaszthatja a használt papír szélességét. A " "szomszédos legördülő listából kiválasztható a mértékegység." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Magasság" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Ezzel a léptetőmezővel kiválaszthatja a papír magasságát." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Adagoló tájolása" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "Ezzel a legördülő listával kiválaszthatja a papírlap tájolását a nyomtatóban." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Oldal tájolása" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Ezzel a legördülő listával kiválaszthatja a nyomtatás tájolását." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Elrendezés" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1737,35 +1737,35 @@ msgstr "" "Előnézet ablaktáblán a kiválasztott elrendezés " "előnézete látható." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Papírtálca" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Ezzel a legördülő listával kiválaszthatja a papírtálcát." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Programozási szolgáltatások" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"A gedit több programozást segítő szolgáltatása " +"A pluma több programozást segítő szolgáltatása " "bővítmény formájában érhető el. Például az elemlista bővítmény egyes " "leírónyelvek gyakran használt elemeit sorolja fel. További részletekért " -"tekintse meg a részt." +"tekintse meg a részt." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Szintaxiskiemelés" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1773,31 +1773,31 @@ msgstr "" "A szintaxiskiemelés a szöveg eltérő jellegű részeinek színekkel való " "elkülönítésével könnyebbé teszi a forráskódok olvasását." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"A gedit kiválasztja a megfelelő " +"A pluma kiválasztja a megfelelő " "szintaxiskiemelési módot a dokumentum típusa alapján, de ez felülbírálható a " "NézetKiemelési üzemmód menüpont alatt:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normál" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "A szintaxiskiemelés kikapcsolása." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Források" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1805,11 +1805,11 @@ msgstr "" "Bekapcsolja a szintaxiskiemelést a forráskód szerkesztéséhez. A " "Források almenüben kiválasztható a forráskód típusa." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Jelölés" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1817,11 +1817,11 @@ msgstr "" "Bekapcsolja a szintaxiskiemelést leírónyelvekhez. A Leírás almenüben kiválasztható a jelölőnyelv." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Parancsfájlok" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1830,11 +1830,11 @@ msgstr "" "Parancsfájlok almenüben kiválasztható a " "parancsfájlkód típusa." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Egyéb" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1842,31 +1842,31 @@ msgstr "" "Bekapcsolja a szintaxiskiemelést egyéb jellegű fájlok szerkesztéséhez. Az " "Egyéb almenüben kiválasztható a kód típusa." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Parancs kimenetének fájlba irányítása" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" "Egy parancs kimenetét átirányítás használatával átadhatja a " -"geditnek. Például az ls " -"parancs kimenetét az ls | gedit parancs begépelésével és " +"plumanek. Például az ls " +"parancs kimenetét az ls | pluma parancs begépelésével és " "az Enter megnyomásával lehet egy új szövegfájlba küldeni." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Az ls parancs kimenete egy új szövegfájlban jelenik meg a " -"gedit ablakában." +"pluma ablakában." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1874,21 +1874,21 @@ msgstr "" "A Külső eszközök bővítmény használatával is " "fájlba irányítható a parancsok kimenete." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Gyorsbillentyűk" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "A gyorsbillentyűk segítségével a gyakori feladatok az egér és menük " "használatánál gyorsabban végezhetők el. A következő táblázatok felsorolják a " -"gedit összes gyorsbillentyűjét." +"pluma összes gyorsbillentyűjét." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1898,424 +1898,424 @@ msgstr "" "kézikönyvét." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "Lapok" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Gyorsbillentyűk a lapok kezeléséhez:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "Gyorsbillentyű" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "Parancs" # hulyeseg -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "A balra lévő lapra vált." # hulyeseg -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "A jobbra lévő lapra vált." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Bezárja a lapot." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Elmenti az összes lapot." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Bezárja az összes lapot." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + szám" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "A szám-adik lapra vált." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Fájlok" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Gyorsbillentyűk fájlok kezeléséhez:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Új dokumentum létrehozása." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Dokumentum megnyitása." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Hely megnyitása." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "A jelenlegi dokumentum lemezre mentése." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "A jelenlegi dokumentum mentése más fájlnéven." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "A jelenlegi dokumentum nyomtatása." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "A jelenlegi dokumentum nyomtatási előnézete." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "A jelenlegi dokumentum bezárása." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Kilépés a geditből." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Kilépés a plumaből." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "Szerkesztés" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Gyorsbillentyűk a dokumentumok szerkesztéséhez:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Utolsó művelet visszavonása." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Az előzőleg visszavont művelet ismételt végrehajtása." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "A kijelölt szöveg kivágása és vágólapra helyezése." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "A kijelölt szöveg másolása a vágólapra." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "A vágólap tartalmának beillesztése." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "A dokumentum tartalmának kijelölése." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "A jelenlegi sor törlése." -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) #| msgid "Alt + n" msgid "Alt + Up" msgstr "Alt + Fel" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "A kijelölt sor egy sorral feljebb mozgatása." -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) #| msgid "Alt + n" msgid "Alt + Down" msgstr "Alt + Le" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) #| msgid "Copy the selected text or region onto the clipboard." msgid "Move the selected line down one line." msgstr "A kijelölt sor egy sorral lejjebb mozgatása." #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "Ablaktáblák" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Ablaktáblákat elrejtő és megjelenítő gyorsbillentyűk:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "Oldalsó ablaktábla megjelenítése/elrejtése." -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "Alsó ablaktábla megjelenítése/elrejtése." #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "Keresés" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "Gyorsbillentyűk a kereséshez:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "Karakterlánc keresése." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "A karakterlánc következő előfordulására ugrás." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "A karakterlánc előző előfordulására ugrás." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "Gyorskeresés." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "Keresés és csere." -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "Kiemelés törlése." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "Ugrás sorra." #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "Eszközök" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "Gyorsbillentyűk az eszközökhöz:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "Helyesírás ellenőrzése (bővítménnyel)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "Sorvégi szóközök törlése (bővítménnyel)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "Behúzás (bővítménnyel)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "Behúzás csökkentése (bővítménnyel)." -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "A „make” futtatása a jelenlegi könyvtárban (bővítménnyel)." -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "Könyvtár listázása (bővítménnyel)." #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "Súgó" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "Súgó gyorsbillentyűi:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "A gedit felhasználói kézikönyvének megnyitása." +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "A pluma felhasználói kézikönyvének megnyitása." -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "Beállítások" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"A gedit beállításához válassza a " +"A pluma beállításához válassza a " "SzerkesztésBeállítások menüpontot. A Beállítások " "ablak a következő kategóriákból áll:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "Nézet beállításai" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2325,7 +2325,7 @@ msgstr "" "hosszú sorok bekezdésekbe tördeléséhez a szövegablak szélein való túlfutás " "helyett. Így elkerülhető a vízszintes görgetés." -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2334,20 +2334,20 @@ msgstr "" "Válassza ki a Ne törje a szavakat két sorba lehetőséget " "a töréspontok szóhatárokra helyezéséhez. Ez könnyebbé teszi az olvasást." -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Válassza ki a Sorok számának megjelenítése lehetőséget " -"a sorok számainak megjelenítéséhez a gedit ablak " +"a sorok számainak megjelenítéséhez a pluma ablak " "bal oldalán." -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "Jelenlegi sor" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2355,11 +2355,11 @@ msgstr "" "A Jelenlegi sor kiemelése lehetőség kiválasztásával az " "alkalmazás mindig kiemeli azt a sort, amelyikben a kurzor van." -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "Jobb margó" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2367,7 +2367,7 @@ msgstr "" "Válassza ki a Jobb margó megjelenítése lehetőséget a " "jobb margót jelző függőleges vonal megjelenítéséhez." -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2375,11 +2375,11 @@ msgstr "" "A Jobb oldali margó ennél az oszlopnál léptetőmező " "segítségével beállítható a vonal helye." -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "Zárójel párjának kijelölése" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2389,36 +2389,36 @@ msgstr "" "hogy az alkalmazás kiemelje annak a zárójelnek a párját, amelyik előtt a " "kurzor áll." -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "Szerkesztő beállításai" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "A Tabulátorok szélessége léptetőmezőben meghatározható " -"a tabulátorok (Tab billentyű) helyén a geditTab billentyű) helyén a pluma által kihagyott hely szélességét." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "A Szóközök beillesztése tabulátorok helyett mező " -"kiválasztásával megadható, hogy a gedit " +"kiválasztásával megadható, hogy a pluma " "szóközöket használjon a tabulátor karakterek helyett a Tab " "leütésekor." -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "Automatikus behúzás" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2427,11 +2427,11 @@ msgstr "" "kiválasztásakor az új sor mindig az azt megelőző sor behúzási szintjén fog " "kezdődni." -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "Fájlmentés" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2441,7 +2441,7 @@ msgstr "" "lehetőség kiválasztásával az alkalmazás mentéskor egy biztonsági másolatot " "készít a fájlokról. A biztonsági másolat neve ~ jellel végződik." -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2451,41 +2451,41 @@ msgstr "" "lehetőséget az aktuális fájl rendszeres mentéséhez. A léptetőmezőben adhatja " "meg a fájl mentésének gyakoriságát." -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "Betűk és színek beállításai" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "Betűkészlet" # hulyeseg -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Válassza ki a Rendszer rögzített szélességű betűkészletének " "használata lehetőséget az alapértelmezett betűkészlet " -"használatához a gedit megjelenítő ablaktáblában." +"használatához a pluma megjelenítő ablaktáblában." -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "A Szerkesztő betűkészlete mező megjeleníti a " -"gedit által a szöveg megjelenítésére használt " +"pluma által a szöveg megjelenítésére használt " "betűkészletet. Kattintson a gombra a betűtípus, -stílus és -méret " "beállításához." -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "Színséma" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2493,47 +2493,47 @@ msgstr "" "A színsémák listájából választhat színsémát. Alapértelmezésben a következő " "színsémák vannak telepítve:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "Klasszikus" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Klasszikus színséma a gvim alapján." -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Kobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "Kék alapú színséma." -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "A Kate szövegszerkesztőben használt színséma." -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "A Tango színpalettát használó sötét színséma." -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tangó" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "A Tango színpalettát használó színséma." -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2541,7 +2541,7 @@ msgstr "" "Új színsémát a Hozzáadás… gomb megnyomásával és egy " "színsémafájl kiválasztásával telepíthet." -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2549,34 +2549,34 @@ msgstr "" "A kiválasztott színsémát az Eltávolítás gomb " "megnyomásával távolíthatja el." -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "Bővítmények beállításai" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"A bővítmények további szolgáltatásokat adnak a gedithezplumahez. A bővítményekről és a beépített bővítményekről szóló további " -"információkért tekintse meg a " +"információkért tekintse meg a " "részt." -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "Bővítmény engedélyezése" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Egy gedit bővítmény engedélyezéséhez tegye a " +"Egy pluma bővítmény engedélyezéséhez tegye a " "következőket:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2584,15 +2584,15 @@ msgstr "" "Válassza a SzerkesztésBeállítások menüpontot." -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "Válassza ki a Bővítmények fület." -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "Select the check box next to the name of the plugin that you want to enable." msgstr "Jelölje be az engedélyezendő bővítmény neve melletti jelölőnégyzetet." -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2600,107 +2600,107 @@ msgstr "" "Kattintson a Bezárás gombra a Beállítások ablak bezárásához." -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "Bővítmény tiltása" -#: C/gedit.xml:1317(para) -msgid "A plugin remains enabled when you quit gedit." +#: C/pluma.xml:1317(para) +msgid "A plugin remains enabled when you quit pluma." msgstr "" -"A bővítmények a geditből való kilépés után is " +"A bővítmények a plumaből való kilépés után is " "engedélyezve maradnak." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Egy gedit bővítmény tiltásához tegye a " +"Egy pluma bővítmény tiltásához tegye a " "következőket:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "Szüntesse meg a tiltandó bővítmény neve melletti jelölőnégyzet kijelölését." -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "Bővítmények" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "Bővítmények használata" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"A bővítmények engedélyezésével a geditbővítmények engedélyezésével a pluma szolgáltatásai kiegészíthetőek továbbiakkal. A bővítmény egy " "olyan járulékos program, amelyik bővíti egy alkalmazás funkcionalitását. A " -"bővítmények új gedit menüpontokat hoznak létre az " +"bővítmények új pluma menüpontokat hoznak létre az " "új szolgáltatásokhoz." -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Néhány bővítményt alapértelmezetten tartalmaz a geditpluma, de továbbiakat is telepíthet. Harmadik fél által készített " -"bővítmények tölthetőek le a gedit weboldaláról." +"bővítmények tölthetőek le a pluma weboldaláról." -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "A bővítmények engedélyezéséről és tiltásáról, illetve állapotuk " -"megtekintéséről a Bővítmények " +"megtekintéséről a Bővítmények " "beállításai oldalon olvashat." -#: C/gedit.xml:1346(para) -msgid "The following plugins come built-in with gedit:" +#: C/pluma.xml:1346(para) +msgid "The following plugins come built-in with pluma:" msgstr "" -"A következő bővítmények érkeznek alapértelmezésben a gedittelplumatel:" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"A Kis- és nagybetű " +"A Kis- és nagybetű " "módosítása lehetővé teszi kijelölt szövegrész " "kisbetűssé vagy nagybetűssé alakítását." -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"A Statisztika a dokumentumról kijelzi a dokumentum " "sorainak, szavainak és karaktereinek számát." -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"A Külső eszközökKülső eszközök lehetővé teszik külső parancsok végrehajtását a " -"geditből." +"plumaből." -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2708,100 +2708,100 @@ msgstr "" "A Fájlböngésző ablaktábla lehetővé teszi fájlok " "és mappák böngészését az oldalsávban." -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"A Sorok behúzásaSorok behúzása a behúzás növelését és csökkentését teszi lehetővé a " "kijelölt sorokban." -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"A Dátum és idő " +"A Dátum és idő " "beszúrása a jelenlegi dátumot és időt szúrja be a " "dokumentumba." -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"A MódsorokMódsorok lehetővé teszi az egyedi dokumentumok szerkesztési " "beállításainak kezelését. Emacs, " "Kate és Vim stílusú " "módsorokat támogat." -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"A Python konzolPython konzol lehetővé teszi python programozási nyelven írt parancsok " "végrehajtását." -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"A TöredékekTöredékek lehetővé teszi gyakran használt szövegdarabok tárolását, és " "azok egyszerű és gyors beillesztését a dokumentumba." -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"A RendezésRendezés a dokumentum kijelölt sorait betűrendbe rendezi." -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"A Helyesírás-" +"A Helyesírás-" "ellenőrző javítja a kijelölt szövegrész helyesírását, " "és automatikusan jelöli a hibákat a dokumentumban." -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Az ElemlistaElemlista lehetővé teszi gyakran használt HTML és más nyelvi elemek " "beszúrását az oldalsó ablaktáblán megjelenő felsorolásból." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "A bővítménykészítésről további angol nyelvű információt a geditpluma weblapon találhat." -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "Kis- és nagybetű bővítmény" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2809,7 +2809,7 @@ msgstr "" "A Kis- és nagybetű módosítása bővítmény a kis- és " "nagybetűk közti váltást segíti." -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2818,78 +2818,78 @@ msgstr "" "menüben, ha a Kis- és nagybetű módosítása " "bővítmény engedélyezve van:" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "Menüpont" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "Művelet" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "Példa" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "Kis- és nagybetű módosítása" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "Mind nagybetűs" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "Minden karakter nagybetűssé alakítása." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "Ez a szöveg átalakul EZ A SZÖVEG-gé" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "Mind kisbetűs" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "Minden karakter kisbetűssé alakítása." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "Ez A Szöveg átalakul ez a szöveg-gé" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "Kis- és nagybetű invertálása" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Minden kisbetű nagybetűre cserélése, és minden nagybetű kisbetűre cserélése." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "Ez A Szöveg átalakul eZ a sZÖVEG-gé" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "Szókezdő" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "Minden szó első karakterének nagybetűre cserélése." -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "ez a szöveg átalakul Ez A Szöveg-gé" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "Statisztika a dokumentumról bővítmény" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2903,7 +2903,7 @@ msgstr "" "Statisztika a dokumentumról ablakban. A " "megjelenítéséhez tegye a következőket:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsStatisztika a dokumentumról ablak a következő " "információkat jeleníti meg a fájlról:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "Sorok száma az aktuális dokumentumban." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "Szavak száma az aktuális dokumentumban." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "Karakterek száma a dokumentumban, beleértve a szóközöket is." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Karakterek száma a dokumentumban, a szóközök nélkül." -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "A dokumentum mérete bájtban mérve." -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"A dokumentum szerkesztése folytatható a geditben, " +"A dokumentum szerkesztése folytatható a plumaben, " "amíg a Statisztika a dokumentumról ablak nyitva van, de " "az adatokat frissíteni kell a Statisztika a dokumentumról ablak Frissítés gombjára való kattintással." -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "Külső eszközök bővítmény" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "A Külső eszközök bővítmény lehetővé teszi külső " -"parancsok futtatását a geditből. Lehetőség van " +"parancsok futtatását a plumaből. Lehetőség van " "egy szövegrész egy parancs bemenetére küldésére, majd az így kiadott parancs " "kimenetére való cseréjére (például sed). " "Lehetséges előre megadott parancsok futtatása is (például make)." -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsEszközök menüből." -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "Beépített parancsok" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -2989,35 +2989,35 @@ msgstr "" "A következő parancsok érkeznek a Külső eszközök " "bővítménnyel:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Összeállítás" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "Runs make in the current document's directory." msgstr "Futtatja a make parancsot a jelenlegi könyvtárban." -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "Könyvtárlista" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "Lists the contents of the current document's directory in a new document." msgstr "Felsorolja a dokumentum könyvtárának tartalmát egy új dokumentumba." -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "Környezeti változók" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Az alsó ablaktáblában kijelzi a környezeti változók értékét." -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3025,19 +3025,19 @@ msgstr "" "Rákeres egy kifejezésre mintaillesztés használatával a jelenlegi dokumentum " "sorai közt, és a találatokat az alsó ablaktáblán jeleníti meg." -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "Befejező szóközök eltávolítása" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Eltávolítja a sorok végén lévő szóközöket." -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "Parancs létrehozása" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3045,7 +3045,7 @@ msgstr "" "Egy külső parancs létrehozásához válassza az EszközökKülső eszközök menüpontot." -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3055,43 +3055,43 @@ msgstr "" "Új gombra. A következő részleteket lehet megadni az " "új parancshoz:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "Leírás" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "This description is shown in the statusbar when the menu command is chosen." msgstr "" "A leírás az állapotsoron jelenik meg, amikor a menüből a parancs " "kiválasztásra kerül." -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "Gyorsbillentyű" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "Megadhat egy gyorsbillentyűt, amire a parancs lefut." -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "Parancsok" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -"A futtatandó parancsok. Néhány gedit környezeti " -"változó is használható. Lásd pluma környezeti " +"változó is használható. Lásd ." -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "Bemenet" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3099,11 +3099,11 @@ msgstr "" "A parancsnak (stdin formájában) adandó bemenet: az " "egész szöveg, a kijelölés, az aktuális sor vagy szó." -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "Kimenet" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3113,11 +3113,11 @@ msgstr "" "dokumentumba kerüljön, vagy a jelenlegi dokumentumban cserélje le az egész " "szöveget, a kijelölést, vagy kerüljön az elejére vagy a végére." -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "Alkalmazhatóság" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3126,21 +3126,21 @@ msgstr "" "Például csak a mentetteken vagy mentetleneken, a helyieken vagy éppen a " "távoliakon." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "Eszközök szerkesztése és eltávolítása" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Egy eszköz szerkesztéséhez válassza ki a listából és módosítsa a " "beállításait." -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "Egy eszköz átnevezéséhez kattintson újra a nevére a listában." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3148,7 +3148,7 @@ msgstr "" "Egy beépített eszközön végzett módosításokon végzett módosítások " "visszavonásához kattintson a Visszaállítás gombra." -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3158,49 +3158,49 @@ msgstr "" "Eltávolítás gombra. A beépített eszközöket nem lehet " "törölni." -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "Változók" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "A következő változókat használhatja a Parancsok mezőben:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "Fájlböngésző bővítmény" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3208,7 +3208,7 @@ msgstr "" "A Fájlböngésző bővítmény fájlokat és mappákat " "jelenít meg az oldalsó ablaktáblában, megkönnyítve a fájlok megnyitását." -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3218,11 +3218,11 @@ msgstr "" "guimenu>Oldalsó ablaktábla " "menüpontot, majd az ablaktábla alján a fájlböngészőt ábrázoló fülre." -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "Fájlok böngészése" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3230,7 +3230,7 @@ msgstr "" "A fájlböngésző oldal alapértelmezésben a fájlböngésző könyvjelzőit jeleníti " "meg. Valamelyikük böngészéséhez kattintson rá duplán." -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3238,7 +3238,7 @@ msgstr "" "Egy szülőmappa kiválasztásához válassza ki a legördülő listából, vagy " "kattintson a fájlböngésző eszközsorán a fölfelé mutató nyílra." -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3248,19 +3248,19 @@ msgstr "" "jobb gombbal a fájllistára, majd válassza az A gyökér " "beállítása az aktív dokumentumra elemet." -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Egy fájl geditben való megnyitásához kattintson " +"Egy fájl plumaben való megnyitásához kattintson " "rá duplán a fájllistában." -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "Fájlok és mappák létrehozása" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3269,7 +3269,7 @@ msgstr "" "történő létrehozásához kattintson jobb egérgombbal a fájllistára és válassza " "az Új fájl elemet." -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3278,11 +3278,11 @@ msgstr "" "létrehozásához kattintson jobb egérgombbal a fájllistára és válassza az " "Új mappa elemet." -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "Sorok behúzása bővítmény" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3290,11 +3290,11 @@ msgstr "" "A Sorok behúzása bővítmény a sorkezdeteken " "megjelenő behúzást növeli vagy csökkenti." -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "A behúzás növeléséhez vagy csökkentéséhez tegye a következőket:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3302,7 +3302,7 @@ msgstr "" "Jelölje ki a behúzandó sorokat. Egy sor behúzásához egyszerűen legyen a " "kurzor abban a sorban." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3310,7 +3310,7 @@ msgstr "" "A behúzás növeléséhez válassza a SzerkesztésBehúzás menüpontot." -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3319,22 +3319,22 @@ msgstr "" "SzerkesztésBehúzás csökkentése menüpontot." -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "A behúzáshoz használt szóközök száma, illetve a tabulátor karakter " "használata a Tabulátorok beállításától függ, ami a " -"Beállítások ablak Szerkesztő lapján található. Lásd ." -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "Dátum és idő beszúrása bővítmény" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3344,7 +3344,7 @@ msgstr "" "dátumot és időt szúrja be a dokumentumba. A Dátum és idő beszúrása bővítmény " "használatához tegye a következőket:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3352,49 +3352,49 @@ msgstr "" "Válassza a SzerkesztésDátum és " "idő beszúrása menüpontot." -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Ha nem állította be, hogy a Dátum és idő beszúrása bővítmény kérdés nélkül " -"egy bizonyos dátum- és időformátumot használjon, a geditpluma egy Dátum és idő beszúrása című ablakot " "jelenít meg. Válassza ki a kívánt formátumot a felsorolásból. Kattintson a " "Beszúrás gombra a Dátum és idő beszúrása ablak bezárásához. A gedit beszúrja a " +"guilabel> ablak bezárásához. A pluma beszúrja a " "az aktuális dátumot és időt a kurzorhoz." -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Ha úgy állította be a geditet, hogy használjon " +"Ha úgy állította be a plumaet, hogy használjon " "egy bizonyos dátum- és időformátumot, a Dátum és idő beszúrása ablak nem jelenik meg, hanem a beállított formában került a dátum " "és idő a beszúrásra a kurzorhoz." -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "A Dátum és idő beszúrása bővítmény beállítása" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "A Dátum és idő beszúrása bővítmény beállításához tegye a következőket:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "Válassza ki a Dátum és idő beszúrása bővítményt." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3402,11 +3402,11 @@ msgstr "" "Kattintson a Bővítmény beállítása gombra a " "Dátum/idő bővítmény beállítása ablak megjelenítéséhez." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "Válasszon a következő lehetőségekből:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3414,25 +3414,25 @@ msgstr "" "A dátum és idő formátumának minden egyes beszúrás előtt való megkérdezéséhez " "válassza a Formátum bekérése lehetőséget." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"A dátum és idő formátumának egy gedit által " +"A dátum és idő formátumának egy pluma által " "javasolt formátumra rögzítéséhez válassza az A kiválasztott " "formátum használata lehetőséget, majd válassza ki a kívánt " -"formátumot a listából. Ha ezt a lehetőséget választja, a geditpluma nem fogja megkérdezni a SzerkesztésDátum és idő beszúrása " "menüpont kiválasztásakor a beszúrandó formátumot." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3440,7 +3440,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3449,12 +3449,12 @@ msgstr "" "a szövegmezőbe. Ennek módjáról a strftime oldalon olvashat. Ha ezt a lehetőséget " -"választja, a gedit nem fogja megkérdezni a " +"választja, a pluma nem fogja megkérdezni a " "SzerkesztésDátum és idő " "beszúrása menüpont kiválasztásakor a beszúrandó " "formátumot." -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3462,7 +3462,7 @@ msgstr "" "Kattintson az OK gombra a Dátum/idő " "bővítmény beállítása ablak bezárásához." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3470,24 +3470,24 @@ msgstr "" "A Beállítások ablak bezárásához kattintson a " "Bezárás gombra." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Módsorok bővítmény" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "A Módsorok bővítmény lehetővé teszi a " "dokumentumonkénti szerkesztésibeállítás-megadást. Módsor alatt egy olyan sornyi szöveg a dokumentum elején vagy végén, " -"amely a gedit által értelmezhető beállításokat " +"amely a pluma által értelmezhető beállításokat " "tartalmaz." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3495,27 +3495,27 @@ msgstr "" "A módsor beállításai elsőbbséget élveznek a beállítások ablakban " "megadottakkal szemben." -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "A következő beállításokat lehet módsorokkal megadni:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Tabulátorszélesség" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "Behúzás szélessége" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "Tabulátorok helyett szóközök használata" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "Jobb margó szélessége" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3525,11 +3525,11 @@ msgstr "" "application>, Kate és Vim által használt lehetőségek egy részét támogatja." -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Emacs módsorok" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3537,7 +3537,7 @@ msgstr "" "A dokumentum első két sorában kerülnek felismerésre az Emacs módsorok." -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3549,11 +3549,11 @@ msgstr "" "GNU Emacs kézikönyvét (angolul)." -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Kate módsorok" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3561,7 +3561,7 @@ msgstr "" "A dokumentum első és utolsó 10 sorában kerülnek felismerésre a " "Kate módsorok." -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3573,11 +3573,11 @@ msgstr "" "Továbbiakért lásd a Kate weboldalát (angolul)." -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Vim módsorok" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3585,7 +3585,7 @@ msgstr "" "A dokumentum első és utolsó 3 sorában kerülnek felismerésre a " "Vim módsorok." -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3597,37 +3597,37 @@ msgstr "" "lásd a Vim weboldalát (angolul)." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Python konzol bővítmény" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "A Python konzol bővítmény lehetővé teszi python " -"programozási nyelven írt parancsok végrehajtását a geditbőlplumaből. A bővítmény engedélyezésekor megjelenik az alsó ablaktáblán " "egy új fül. Ez a kimenetet és a parancsbeíró mezőt jeleníti meg." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "A konzolra beírt parancsok nem kerülnek végrehajtás előtt ellenőrzésre. A " -"gedit kiakasztása is lehetséges, például egy " +"pluma kiakasztása is lehetséges, például egy " "végtelen ciklusba való belépéssel." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "Töredékek bővítmény" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3637,7 +3637,7 @@ msgstr "" "használt szövegrészletek, úgynevezett töredékek " "tárolását, és gyors beszúrását a dokumentumba." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3648,19 +3648,19 @@ msgstr "" "HTML dokumentum szerkesztésekor HTML-hez használható töredékekből lehet " "választani. Néhány töredék globális, mindenféle dokumentumból elérhető." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Számos beépített töredék érkezik a gedittel, " +"Számos beépített töredék érkezik a plumatel, " "amelyek módosíthatóak." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "Töredékek beszúrása" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3672,7 +3672,7 @@ msgstr "" "általában a töredék első néhány betűje, vagy valami más könnyen " "megjegyezhető." -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3680,15 +3680,15 @@ msgstr "" "A CtrlSzóköz " "billentyűkombinációval megjelennek a beszúrható töredékek." -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "Töredékek hozzáadása" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "Egy új töredék létrehozásához tegye a következőt:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3698,7 +3698,7 @@ msgstr "" "kezelése menüpontot. Megjelenik a " "Töredékek kezelése ablak." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3711,21 +3711,21 @@ msgstr "" "lista tetejéről. A jelenleg megnyitott dokumentum szintaxisa lesz az " "alapértelmezetten kiválasztott lehetőség." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Kattintson az Új gombra. Egy új töredék jelenik meg a " "listában." -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "Adja meg a következő adatokat az új töredékről:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "Név" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3735,21 +3735,21 @@ msgstr "" "a céljára emlékeztet. A listán a töredék nevére kattintva lehet " "megváltoztatni azt." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "Töredék szövege" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Írja be a töredék szövegét a Töredék szerkesztése " -"szövegdobozba. A speciális kódokról lásd ." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3757,11 +3757,11 @@ msgstr "" "Vissza lehet váltani a dokumentumablakra is a Töredékkezelő bezárása nélkül, így lehet onnan szöveget másolni is." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Tab aktiváló" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3769,7 +3769,7 @@ msgstr "" "Adja meg a tab aktiválót a töredékhez. Ez a szöveg az, amit a Tab billentyű leütése előtt be kell írni a töredék beszúrásához." -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3778,19 +3778,19 @@ msgstr "" "Ez egy csak betűkből álló szó vagy egy karakter lehet. A Tab " "aktiváló mező pirossá válik, ha érvénytelen tab aktiválót ad meg." -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "Gyorsbillentyű" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "A töredék beszúrására használt gyorsbillentyű." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "Töredékek szerkesztése és törlése" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3798,11 +3798,11 @@ msgstr "" "Egy töredék szerkesztéséhez válassza ki azt a listából és tegye meg a kívánt " "változtatásokat a szövegében vagy az aktiválási módjának beállításaiban." -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "Egy töredék átnevezéséhez kattintson még egyszer a nevére a listán." -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3810,7 +3810,7 @@ msgstr "" "Egy ön által megváltoztatott beépített töredék visszaállításához az " "eredetire kattintson a Visszaállítás gombra." -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3819,11 +3819,11 @@ msgstr "" "Egy töredék eltávolításához kattintson a Törlés " "gombra. A beépített töredékek nem törölhetőek." -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "Helykitöltők a töredékekben" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3833,15 +3833,15 @@ msgstr "" "használatára is. Meg lehet jelölni olyan helyeket a töredéken belül, ahol a " "beszúrás után könnyedén írható más szöveg (érték)." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "A következő helykitöltő kódokat lehet használni a töredék szövegében:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Tab helykitöltők" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3849,7 +3849,7 @@ msgstr "" "A $n olyan tab helykitöltőt " "jelez, ahol n pozitív egész." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3858,7 +3858,7 @@ msgstr "" "replaceable>} olyan tab helykitöltőt jelez, amely rendelkezik " "alapértelmezett értékkel." -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3866,7 +3866,7 @@ msgstr "" "A tab helykitöltő olyan helyet jelöl a szövegben, ahova további szöveg " "írható a töredék beszúrása után." -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3878,7 +3878,7 @@ msgstr "" "meg a Tab billentyűt a következő helykitöltőre való " "lépéshez. A helykitöltők sorszáma a kitöltés sorrendjét is meghatározza." -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3890,11 +3890,11 @@ msgstr "" "tab helykitöltő kitöltése után a Tab billentyűt megnyomva a " "töredék végére vagy, ha létezik, a záró helykitöltőre kerül a kurzor." -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Tükrözött helykitöltő" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3904,11 +3904,11 @@ msgstr "" "helykitöltő változásait. Ez lehetővé teszi egy többször megjelenítendő " "szöveg egyszeri beírását." -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "Záró helykitöltő" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3918,33 +3918,33 @@ msgstr "" "a töredék beszúrását befejezvén a munka folytatását egy a töredék végétől " "eltérő kurzorpozíción." -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "Környezeti változók" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "A környezeti változók – mint a $PATH és a $HOME – behelyettesítésre kerülnek a töredék szövegében. A következő " -"gedit-specifikus változók érhetőek el:" +"pluma-specifikus változók érhetőek el:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "Az aktuálisan kijelölt szöveg." -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3952,11 +3952,11 @@ msgstr "" "A dokumentum teljes fájlneve, vagy egy üres karakterlánc, ha a dokumentum " "még nincs mentve." -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -3964,11 +3964,11 @@ msgstr "" "A dokumentum kiterjesztés és könyvtárútvonal nélküli fájlneve, vagy egy üres " "karakterlánc, ha a dokumentum még nincs mentve." -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -3976,11 +3976,11 @@ msgstr "" "Az a szó, melyen a kurzor pillanatnyilag áll. Ha a változó szerepel a " "töredék szövegében, ez a szó kerül lecserélésre a beszúrt töredékkel." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Parancsértelmezett helykitöltők" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3988,7 +3988,7 @@ msgstr "" "A $(parancs) helyére a " "parancs parancs kimenete kerül." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4002,11 +4002,11 @@ msgstr "" "replaceable> formában hivatkozhat ennek a parancsnak a kimenetére " "egy másik parancs bemeneti paramétereként." -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Python helykitöltők" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4016,7 +4016,7 @@ msgstr "" "kerül a python által a parancs parancsra adott " "kimenetre." -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4034,7 +4034,7 @@ msgstr "" "<a,b:" "parancs>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4042,11 +4042,11 @@ msgstr "" "Egy változó bármelyik másik python töredékben való használatához deklarálja " "azt globálisként (global)." -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "Rendezés bővítmény" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4054,7 +4054,7 @@ msgstr "" "A Rendezés bővítmény a kijelölt sorokat " "betűrendbe teszi." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4066,15 +4066,15 @@ msgstr "" "FájlVisszaállítás menüpontot." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "A Rendezés bővítmény használatához tegye a következőket:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "Jelölje ki a rendezendő sorokat a szövegben." -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4083,11 +4083,11 @@ msgstr "" "guimenuitem> menüpontot. Megjelenik a Rendezés ablak." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "Válassza ki a kívánt beállításokat:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4095,19 +4095,19 @@ msgstr "" "A fordított betűrendbe való rendezéshez válassza a Fordított " "sorrend lehetőséget." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "To delete duplicate lines, select Remove duplicates." msgstr "" "A többször szereplő sorok törléséhez válassza a Duplikátumok " "eltávolítása lehetőséget." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "A kis- és nagybetűk egyenrangúként kezeléséhez válassza a Kis- és " "nagybetű nem számít lehetőséget." -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4117,20 +4117,20 @@ msgstr "" "figyelembevételre, válassza ki az első figyelembe veendő karakter számát a " "Kezdőoszlop léptetőmezőben." -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "" "A rendezés végrehajtásához kattintson a Rendezés " "gombra." -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "Helyesírás-ellenőrző bővítmény" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " @@ -4138,13 +4138,13 @@ msgid "" msgstr "" "A Helyesírás-ellenőrző bővítmény ellenőrzi a " "helyesírást a kiválasztott szövegben. Be lehet úgy is állítani a " -"geditet, hogy automatikusan ellenőrizze a " +"plumaet, hogy automatikusan ellenőrizze a " "helyesírást. Kézzel is elindíthatja a helyesírás-ellenőrzést egy megadott " "nyelven. A nyelvi és automatikus-ellenőrzési beállítások dokumentumonként " "kerülnek alkalmazásra. A Helyesírás-ellenőrző bővítmény használatához tegye " "a következőket:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4157,7 +4157,7 @@ msgstr "" "felsorolásból. Kattintson az OK gombra, ami bezárja a " "Nyelv megadása ablakot." -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4165,7 +4165,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "A helyesírás automatikus ellenőrzéséhez válassza az " @@ -4176,10 +4176,10 @@ msgstr "" "menuchoice> menüpontot. Amennyiben be van kapcsolva, az " "Helyesírás automatikus ellenőrzése menüpont " "mellett megjelenik egy pipa. A helyesírás automatikus ellenőrzése a " -"gedit minden indításakor automatikusan ki van " +"pluma minden indításakor automatikusan ki van " "kapcsolva." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsHelyesírási javaslatok menüpontot a megjelenő menüből:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4198,7 +4198,7 @@ msgstr "" "A hibás szó egy javaslatra cseréléséhez válassza ki azt a " "Helyesírási javaslatok menüből." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddHelyesírási javaslatokHozzáadás menüpontot választva." -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "A hibajelzés megszüntetéséhez a hibásnak jelzett szó minden előfordulásánál " "válassza a Helyesírási javaslatokMindet átugorja menüpontot. " -"Így a szó nem kerül be a személyes szótárba, de geditpluma munkamenet végéig nem lesz hibásnak jelölve." -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4231,7 +4231,7 @@ msgstr "" "guimenu>Helyesírás-ellenőrzés " "menüpontot." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4243,7 +4243,7 @@ msgstr "" "Kattintson az OK gombra az Információ ablak bezárásához." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4251,13 +4251,13 @@ msgstr "" "Ha az alkalmazás talált helyesírási hibát, a Helyesírás-" "ellenőrzés ablak jelenik meg:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "A Hibásan írt szó az ablak felső részén jelenik meg." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4269,7 +4269,7 @@ msgstr "" "a helyes szó Erre mezőbe való begépelésével " "változtathatja meg." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4284,20 +4284,20 @@ msgstr "" "helyesírás-javítási javaslatok jelennek meg a Javaslatok felsorolásban." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "A hibásnak jelölt szó jelen előfordulásának figyelmen kívül hagyásához " "kattintson a Kihagyás gombra. A szó összes " "előfordulásának figyelmen kívül hagyásához kattintson a Mindet " -"kihagyja gombra. A szó csak a jelenlegi gedit gombra. A szó csak a jelenlegi pluma munkamenetben kerül figyelmen kívül hagyásra." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeErre mezőbe írt szóra " "való cseréjéhez kattintson a Mindet módosítja gombra." -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4318,7 +4318,7 @@ msgstr "" "A hibásnak jelölt szó személyes szótárba való felvételéhez kattintson a " "Szó hozzáadása gombra." -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4326,11 +4326,11 @@ msgstr "" "A Helyesírás-ellenőrzés ablak bezárásához kattintson a " "Bezárás gombra." -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "Elemlista bővítmény" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4338,11 +4338,11 @@ msgstr "" "Az Elemlista bővítmény lehetővé teszi a gyakori " "elemek egy oldalsávi ablaktábláról való beillesztését." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Az elemlista bővítmény használatához tegye a következőket:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4350,7 +4350,7 @@ msgstr "" "Válassza a NézetOldalsó " "ablaktábla menüpontot." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4359,7 +4359,7 @@ msgstr "" "Alapértelmezésben az oldalsó ablaktábla a megnyitott dokumentumok listáját " "jeleníti meg. Kattintson a + jelet ábrázoló fülre az oldaltábla alján." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4367,11 +4367,11 @@ msgstr "" "Válassza ki a megfelelő elemkategóriát a legördülő listáról. Például " "HTML – elemek." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "Görgesse a megjelenő felsorolást a kívánt elem megkereséséhez." -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4379,7 +4379,7 @@ msgstr "" "A jelenlegi fájlba az elem kurzorpozíciónál való beszúrásához kattintson " "duplán a felsorolásban lévő elemre. A következő módon is szúrhat be elemet:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4387,7 +4387,7 @@ msgstr "" "Nyomja meg az Enter billentyűt az elem beillesztéséhez és a " "fókusz megjelenítőterületre való helyezéséhez." -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftEnter billentyűkombinációt." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Kelemen Gábor , 2007., 2008.\n" diff --git a/help/it/figures/gedit_window.png b/help/it/figures/pluma_window.png similarity index 100% rename from help/it/figures/gedit_window.png rename to help/it/figures/pluma_window.png diff --git a/help/it/it.po b/help/it/it.po index af39b56..ab4e8ba 100755 --- a/help/it/it.po +++ b/help/it/it.po @@ -1,11 +1,11 @@ -# Italian translation of Gedit manual +# Italian translation of Pluma manual # Copyright (C) 2007, 2008, 2009 The Free Software Foundation, Inc -# This file is distributed under the same license as the gedit package. +# This file is distributed under the same license as the pluma package. # # Milo Casagrande , 2007-2009 msgid "" msgstr "" -"Project-Id-Version: gedit manual\n" +"Project-Id-Version: pluma manual\n" "POT-Creation-Date: 2009-03-04 16:53+0000\n" "PO-Revision-Date: 2009-03-04 19:23+0100\n" "Last-Translator: Milo Casagrande \n" @@ -117,302 +117,302 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "fatto" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "fatto" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manuale di gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manuale di pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Progetto documentazione di MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Aggiunta la tabella sulle scorciatoie" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System Documentation Team" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" "Cicek ha fornito informazioni sulle revisioni precedenti dell'applicazione " -"gedit." +"pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Ringraziamenti" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George ha fornito informazioni sui plugin." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manuale di gedit V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manuale di pluma V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Marzo 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE Documentation Team" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manuale di gedit V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manuale di pluma V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Giugno 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manuale di gedit V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manuale di pluma V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Agosto 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manuale di gedit V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manuale di pluma V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Settembre 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manuale di gedit V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manuale di pluma V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Gennaio 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manuale di gedit V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manuale di pluma V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Marzo 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manuale di gedit V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manuale di pluma V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Settembre 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manuale di gedit V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manuale di pluma V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Marzo 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manuale di gedit V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manuale di pluma V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Luglio 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manuale di gedit V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manuale di pluma V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Team di documentazione di MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Questo manuale descrive la versione 2.16 di gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Questo manuale descrive la versione 2.16 di pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Commenti" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Per segnalare un problema o inviare suggerimenti sull'applicazione " -"gedit o su questo manuale, seguire le istruzioni " +"pluma o su questo manuale, seguire le istruzioni " "presenti alla pagina di commenti su MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit è un editor di testo per lo MATE Desktop dotato di funzionalità " +"pluma è un editor di testo per lo MATE Desktop dotato di funzionalità " "basilari e avanzate come la stampa dei documenti, il controllo ortografico, " "la ricerca e sostituzione del testo e l'evidenziazione della sintassi. " "Ulteriori funzionalità avanzate sono disponibili come plugin." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "editor di testo" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introduzione" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"L'applicazione gedit consente di creare e " +"L'applicazione pluma consente di creare e " "modificare file di testo." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Lo scopo di gedit è quello di essere un semplice " +"Lo scopo di pluma è quello di essere un semplice " "editor di testo. Caratteristiche più avanzate possono essere abilitate " "attraverso l'uso di diversi plugin, che consentono lo " "svolgimento di diverse attività correlate alla modifica di file di testo." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Per iniziare" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Avviare gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Avviare pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"È possibile avviare gedit nei seguenti modi:" +"È possibile avviare pluma nei seguenti modi:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Menù Applicazioni" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -420,65 +420,65 @@ msgstr "" "Scegliere AccessoriEditor di " "testo." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Riga di comando" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Eseguire il seguente comando: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Eseguire il seguente comando: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"In modo predefinito, aprendo un documento di testo dal file manager, gedit " +"In modo predefinito, aprendo un documento di testo dal file manager, pluma " "viene avviato mostrando il contenuto del documento." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "La finestra di gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "La finestra di pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"All'avvio di gedit viene visualizzata la seguente " +"All'avvio di pluma viene visualizzata la seguente " "finestra:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Finestra di gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Finestra di pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Mostra la finestra principale di gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Mostra la finestra principale di pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"La finestra di gedit contiene i seguenti elementi:" +"La finestra di pluma contiene i seguenti elementi:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Barra dei menù" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "I menù della barra dei menù contengono tutti i comandi necessari per le " -"operazioni sui file in gedit." +"operazioni sui file in pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Barra degli strumenti" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -486,30 +486,30 @@ msgstr "" "La barra degli strumenti contiene un sottoinsieme dei comandi a cui è " "possibile accedere nella barra dei menù." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Area di visualizzazione" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "" "L'area di visualizzazione contiene il testo del file che si sta modificando." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Barra di stato" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "La barra di stato visualizza informazioni sulle attività di " -"gedit attualmente in corso e altre indicazioni " +"pluma attualmente in corso e altre indicazioni " "contestuali relative alle voci di menù." -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -517,7 +517,7 @@ msgstr "" "Posizione del cursore: il numero di riga e di colonna in cui è posizionato " "il cursore." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -530,11 +530,11 @@ msgstr "" "SSC. Premere Ins per cambiare la " "modalità di modifica." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Riquadro laterale" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -542,7 +542,7 @@ msgstr "" "Il riquadro laterale visualizza l'elenco dei documenti aperti e altre " "informazioni in base ai plugin abilitati." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneVisualizzaRiquadro laterale." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Riquadro inferiore" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -565,7 +565,7 @@ msgstr "" "plugin Console Python per la visualizzazione " "dell'output." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneVisualizzaRiquadro inferiore." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" "Facendo clic con il pulsante destro del mouse nella finestra di " -"gedit, l'applicazione visualizza un menù pop-up. " +"pluma, l'applicazione visualizza un menù pop-up. " "Questo menù contiene i comandi di uso più frequente per la modifica del " "testo." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" "Come in altre applicazioni di MATE, le azioni da svolgere in " -"gedit possono essere svolte in diversi modi: " +"pluma possono essere svolte in diversi modi: " "attraverso i menù, dalla barra degli strumenti o con le scorciatoie da " "tastiera. Le scorciatoie da tastiera comuni a tutte le applicazioni sono " "elencate nella Guida utente." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Eseguire gedit dalla riga di comando" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Eseguire pluma dalla riga di comando" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"È possibile eseguire gedit dalla riga di comando " +"È possibile eseguire pluma dalla riga di comando " "e aprire automaticamente uno o più file. Per aprire più file dalla riga di " "comando, digitare il comando seguente e premere Invio:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "" "In alternativa, è possibile specificare un URI invece del nome di un file." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Per maggiori informazioni sull'esecuzione di geditpluma dalla riga di comando, consultare la pagina di manuale Unix di " -"gedit, gedit1pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Lavorare con i file" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Creare un nuovo documento" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Per creare un nuovo documento, scegliere FileNuovo. L'applicazione " -"visualizza un nuovo file nella finestra di gedit." +"visualizza un nuovo file nella finestra di pluma." -#: C/gedit.xml:346(title) C/gedit.xml:1591(title) +#: C/pluma.xml:346(title) C/pluma.xml:1591(title) msgid "Opening a File" msgstr "Aprire un file" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Per aprire un file, scegliere FileApri per visualizzare il " "dialogo Apri file. Selezionare il file da aprire e fare " "clic su Apri. Il file viene visualizzato nella " -"finestra di gedit." +"finestra di pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Mostra l'icona del menù File recenti." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -694,25 +694,25 @@ msgstr "" "accessibili anche facendo clic sull'icona della barra degli " "strumenti." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Con gedit è possibile aprire anche file multipli. " +"Con pluma è possibile aprire anche file multipli. " "L'applicazione aggiunge, nella finestra, una scheda per ogni file aperto. " -"Per maggiori informazioni, consultare ." +"Per maggiori informazioni, consultare ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Salvare un file" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "È possibile salvare un file nei seguenti modi:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -721,7 +721,7 @@ msgstr "" "FileSalva." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsSalva come... e fare clic su Salva." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Per salvare tutti i file aperti in quel momento in geditpluma, scegliere DocumentiSalva tutti." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Per chiudere tutti i file aperti in quel momento in geditpluma, scegliere DocumentiChiudi tutti." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Aprire un file da un URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -766,7 +766,7 @@ msgstr "" "Per aprire un file usando un URI (Uniform Resource Identifier), procedere " "come segue:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -776,11 +776,11 @@ msgstr "" "guimenuitem> per visualizzare il dialogo Apri " "posizione." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Inserire l'URI del file da aprire." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -788,11 +788,11 @@ msgstr "" "Usare l'elenco a discesa Codifiche dei caratteri per " "selezionare la codifica appropriata." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Fare clic su Apri." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -802,7 +802,7 @@ msgstr "" "ftp:, file: e tutti i metodi " "supportati da mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -815,67 +815,67 @@ msgstr "" "sono a sola lettura in quanto non tutti i server FTP sono in grado di " "gestire il salvataggio remoto di file." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Il salvataggio di file su server FTP può essere abilitato attraverso " "l'Editor della " "configurazione, impostando la chiave /apps/" -"gedit-2/preferences/editor/save/writable_vfs_schemes. Questo " +"pluma-2/preferences/editor/save/writable_vfs_schemes. Questo " "però, potrebbe causare degli errori." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Lavorare con le schede" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Quando sono aperti più file, gedit mostra una " +"Quando sono aperti più file, pluma mostra una " "scheda per ogni documento sopra l'area di " "visualizzazione. Per passare a un altro documento, fare clic sulla sua " "scheda." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Per spostare un documento in un'altra finestra di geditpluma, trascinare la scheda corrispondente nella finestra in cui si " "vuole spostarlo." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" "Inoltre, per spostare un documento in un'altra finestra di " -"gedit, è possibile scegliere " +"pluma, è possibile scegliere " "DocumentiSposta in una nuova " "finestra." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Lavorare con il testo" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Modificare il testo" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "È possibile modificare il testo di un file nei seguenti modi:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -886,7 +886,7 @@ msgstr "" "dove appare il testo. Per modificarlo, utilizzare le frecce direzionali o " "fare clic col mouse." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyModificaCopia." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutModificaTaglia." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteModificaElimina." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Per inserire il contenuto degli appunti nella posizione del cursore, " "scegliere ModificaIncolla. Prima di incollare un testo in un file è " -"necessario copiarlo o tagliarlo da gedit o da un'altra applicazione." +"necessario copiarlo o tagliarlo da pluma o da un'altra applicazione." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -937,11 +937,11 @@ msgstr "" "ModificaSeleziona tutto." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Annullare e ripetere le modifiche" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -954,31 +954,31 @@ msgstr "" "ModificaRipeti." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Trovare e sostituire del testo" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"In gedit ci sono due modi per cercare del testo. " +"In pluma ci sono due modi per cercare del testo. " "È possibile utilizzare il dialogo Trova per cercare un " "testo specifico, oppure la Ricerca incrementale per " "evidenziare le corrispondenze mentre viene digitato il testo." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Trovare del testo" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Per cercare una stringa all'interno di un file, procedere come segue:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -987,30 +987,30 @@ msgstr "" "guimenuitem> per visualizzare il dialogo Trova." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Digitare la stringa da trovare nel campo Cerca. È " "possibile utilizzare dei caratteri speciali come le tabulazioni o gli a " -"capo: consultare ." +"capo: consultare ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Fare clic su Trova per cercare la prima occorrenza " -"della stringa nel file dopo la posizione del cursore. Se geditpluma trova la stringa, l'applicazione ne seleziona la prima " "occorrenza, le altre vengono solo evidenziate." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextCercaTrova precedente." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1038,7 +1038,7 @@ msgstr "" "guimenuitem> e CercaTrova precedente." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightCercaAzzera evidenziazione." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Ricerca incrementale" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1062,7 +1062,7 @@ msgstr "" "durante la digitazione, lettera per lettera (simile alla ricerca in diversi " "browser web)." -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1073,7 +1073,7 @@ msgstr "" "Appare la casella di ricerca nella parte superiore dell'area di " "visualizzazione." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1082,7 +1082,7 @@ msgstr "" "nel documento e viene selezionata la prima istanza successiva alla posizione " "del cursore." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlG. Premere CtrlMaiuscG per spostare la selezione indietro." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1103,11 +1103,11 @@ msgstr "" "di scorrimento del mouse per spostare la selezione tra le varie " "corrispondenze." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Sostituire il testo" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1115,7 +1115,7 @@ msgstr "" "Per cercare una stringa all'interno di un file e sostituirla con un'altra, " "procedere come segue:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1124,17 +1124,17 @@ msgstr "" "guimenuitem> per aprire la finestra di dialogo " "Sostituisci." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Digitare la stringa da trovare nel campo Cerca. È " "possibile utilizzare dei caratteri speciali come le tabulazioni o gli a " -"capo: consultare ." +"capo: consultare ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1142,22 +1142,22 @@ msgstr "" "Digitare la stringa con cui sostituire quella che si sta ricercando nel " "campo Sostituisci con." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Per controllare le occorrenze della stringa prima di sostituirla, fare clic " -"su Trova. Se gedit trova " +"su Trova. Se pluma trova " "la stringa, questa viene selezionata. Fare clic su Sostituisci per sostituire l'occorrenza selezionata della stringa. Per " "trovare l'occorrenza successiva, fare clic nuovamente su Trova." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1165,11 +1165,11 @@ msgstr "" "Per sostituire tutte le occorrenze della stringa all'interno del documento, " "fare clic su Sostituisci tutti." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Opzioni di trova e sostituisci" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1177,7 +1177,7 @@ msgstr "" "Le finestre di dialogo Trova e Sostituisci presentano entrambe le seguenti opzioni:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1190,7 +1190,7 @@ msgstr "" "guilabel> selezionata, «TESTO» non corrisponde a «testo»." # (NdT) non mi veniva un esempio migliore... -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1202,7 +1202,7 @@ msgstr "" "intere del testo digitato. Per esempio, con l'opzione Solo parole " "intere selezionata, «testa» non corrisponde a «testamento»." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1210,7 +1210,7 @@ msgstr "" "Selezionare l'opzione Cercare all'indietro per eseguire " "la ricerca dalla fine del file al suo inizio." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1219,12 +1219,12 @@ msgstr "" "eseguire la ricerca fino alla fine del file e continuare dall'inizio del " "file." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Caratteri speciali" # (NdT) un po' libera... -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1232,36 +1232,36 @@ msgstr "" "È possibile includere i seguenti caratteri speciali per eseguire ricerche o " "sostituzioni:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Specifica un \"new line\"." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Specifica un carattere di tabulazione." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" # (NdT) trovare differenza con 'new line' -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Specifica un \"carriage return\"." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1275,11 +1275,11 @@ msgstr "" "per cercare una sequenza di backslash, è necessario raddoppiare il numero di " "backslash da cercare." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Posizionare il cursore su una riga specifica" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. Appare la casella del numero riga nella parte " "superiore dell'area di visualizzazione." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1298,7 +1298,7 @@ msgstr "" "Digitare il numero della riga in cui si intende spostare il cursore e il " "documento scorrerà fino alla riga specificata." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1306,15 +1306,15 @@ msgstr "" "Per rimuovere la casella di testo e spostare il cursore alla riga " "specificata, premere Invio." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Stampa" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Impostare le opzioni della pagina" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1324,7 +1324,7 @@ msgstr "" "guimenu>Configurazione stampa per " "visualizzare la finestra di dialogo Impostazioni pagina." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1332,28 +1332,28 @@ msgstr "" "La finestra di dialogo Impostazioni pagina consente di " "specificare le seguenti opzioni di stampa:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Scheda Generale" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Stampare evidenziazione sintassi" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Selezionare questa opzione per stampare l'evidenziazione di sintassi. Per " -"maggiori informazioni al riguardo, consultare ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Stampare intestazioni di pagina" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1361,11 +1361,11 @@ msgstr "" "Selezionare questa opzione per includere un'intestazione in ogni pagina " "stampata. Non è possibile configurare l'intestazione." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Numeri di riga" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1373,7 +1373,7 @@ msgstr "" "Selezionare l'opzione Stampare numeri di riga per " "includere i numeri delle righe nella stampa di un file." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1383,11 +1383,11 @@ msgstr "" "per specificare la frequenza con cui stampare i numeri, per esempio ogni 5 " "righe, ogni 10 righe e così via." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1687(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1687(para) msgid "Text Wrapping" msgstr "A capo automatico" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1398,7 +1398,7 @@ msgstr "" "stampa di un file. L'applicazione conteggia le righe mandate a capo come una " "singola riga ai fini della numerazione." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1407,15 +1407,15 @@ msgstr "" "guilabel> per impostare il ritorno a capo del testo a livello di parola " "durante la stampa di un file." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Caratteri" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Corpo del testo" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1423,21 +1423,21 @@ msgstr "" "Fare clic su questo pulsante per selezionare il tipo di carattere da usare " "per stampare il testo di un file." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Numeri di riga" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Fare clic su questo pulsante per selezionare il tipo di carattere da usare " "per stampare i numeri di riga di un file." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Intestazioni e piè di pagina" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1445,47 +1445,47 @@ msgstr "" "Fare clic su questo pulsante per selezionare il tipo di carattere da usare " "per stampare le intestazioni e i piè di pagina di un file." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Per ripristinare i caratteri predefiniti per la stampa dei file da " -"gedit, fare clic sul pulsante " +"pluma, fare clic sul pulsante " "Ripristina caratteri predefiniti." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Stampare un documento" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"gedit consente di eseguire le seguenti operazioni " +"pluma consente di eseguire le seguenti operazioni " "di stampa:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Stampare un documento su una stampante." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Inviare l'output di un comando di stampa in un file." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Quando si stampa su un file, gedit invia l'output " +"Quando si stampa su un file, pluma invia l'output " "al file in un formato di prestampa. I formati di prestampa più diffusi sono " "PostScript e PDF (Portable Document Format)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewFileAnteprima di stampa." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint per visualizzare la finestra di dialogo Stampa." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1514,33 +1514,33 @@ msgstr "" "La finestra di dialogo Stampa consente di specificare " "le seguenti opzioni di stampa:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Scheda Lavoro" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Intervallo di stampa" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Selezionare una delle opzioni seguenti per determinare quali pagine stampare:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Tutte" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Selezionare questa opzione per stampare tutte le pagine del file." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Righe" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1550,11 +1550,11 @@ msgstr "" "Usare i controlli di selezione Da: e A: per specificare un intervallo di righe." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Selezione" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1562,11 +1562,11 @@ msgstr "" "Selezionare questa opzione per stampare solo il testo selezionato. L'opzione " "è abilitata solo quando è stata effettuata una selezione." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Copie" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1574,7 +1574,7 @@ msgstr "" "Usare il controllo di selezione Numero di copie per " "specificare il numero di copie da stampare." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1582,15 +1582,15 @@ msgstr "" "Se si intendono stampare più copie del file, selezionare l'opzione " "Fascicola per fascicolare le copie stampate." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Scheda Stampante" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Stampante" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1598,16 +1598,16 @@ msgstr "" "Usare questo elenco a discesa per selezionare la stampante con cui stampare " "il file." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Impostazioni" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "" "Usare questa elenco a discesa per selezionare le impostazioni della pagina." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1618,25 +1618,25 @@ msgstr "" "stampa ritardata, sempre che queste funzionalità siano supportate dalla " "stampante." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Posizione" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Usare questo elenco a discesa per selezionare una delle seguenti opzioni:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Stampa il file su una stampante CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1644,23 +1644,23 @@ msgstr "" "Se la stampante selezionata è una stampante CUPS, CUPS " "è l'unica voce di questo elenco a discesa." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Stampa il file su una stampante." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "File" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Stampa su un file PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1668,15 +1668,15 @@ msgstr "" "Fare clic su Salva come per visualizzare la finestra " "di dialogo in cui specificare il nome e la posizione del file PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Personalizzato" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Usa il comando specificato per stampare il file." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1684,31 +1684,31 @@ msgstr "" "Digitare il nome del comando nella casella di testo. Includere anche tutti " "gli argomenti a riga di comando." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Stato" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Questa funzionalità non è supportata da questa versione di gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Questa funzionalità non è supportata da questa versione di pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Tipo" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Commento" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Scheda Carta" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Dimensione carta" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1716,11 +1716,11 @@ msgstr "" "Usare questo elenco a discesa per selezionare la dimensione della carta su " "cui stampare il file." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Larghezza" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1729,20 +1729,20 @@ msgstr "" "carta. Usare l'elenco a discesa adiacente per modificare l'unità di misura " "per la dimensione della carta." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Altezza" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "" "Usare questo controllo di selezione per specificare l'altezza della carta." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientamento alimentazione" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." @@ -1750,20 +1750,20 @@ msgstr "" "Usare questo elenco a discesa per selezionare l'orientamento della carta " "nella stampante." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientamento pagina" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "" "Usare questo elenco a discesa per selezionare l'orientamento della pagina." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Disposizione" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1772,37 +1772,37 @@ msgstr "" "La disposizione prescelta viene visualizzata in anteprima nell'area " "Anteprima." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Vassoio carta" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "" "Usare questo elenco a discesa per selezionare l'orientamento della pagina." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Caratteristiche di programmazione" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Molte delle caratteristiche di programmazione di geditpluma vengono fornite attraverso plugin. Il plugin «Elenco dei tag», " "per esempio, fornisce un elenco dei tag più usati per i maggiori linguaggi " -"di marcatura del testo: consultare ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Evidenziazione sintassi" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1810,32 +1810,32 @@ msgstr "" "L'evidenziazione della sintassi rende la lettura del codice sorgente più " "semplice visualizzando diverse parti del testo con colori differenti." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit sceglie un'evidenziazione della sintassi " +"pluma sceglie un'evidenziazione della sintassi " "appropriata in base al tipo di documento. Per modificare la modalità di " "evidenziazione, scegliere VisualizzaModalità di evidenziazione e " "quindi scegliere una delle seguenti voci:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Nessuna" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Non visualizza alcuna evidenziazione." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Sorgenti" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1844,11 +1844,11 @@ msgstr "" "sotto-menù Sorgenti per selezionare il tipo di " "codice sorgente." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Markup" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1857,11 +1857,11 @@ msgstr "" "il sotto-menù Markup per selezionare il tipo di " "marcatura." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Script" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1869,11 +1869,11 @@ msgstr "" "Visualizza l'evidenziazione della sintassi per gli script. Usare il sotto-" "menù Script per selezionare il tipo di script." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Altri" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1881,31 +1881,31 @@ msgstr "" "Visualizza l'evidenziazione di sintassi per altri tipi di codice. Usare il " "sotto-menù Altri per selezionare il tipo." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Inviare l'output di un comando in pipe a un file" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"È possibile usare gedit per inviare con una pipe " +"È possibile usare pluma per inviare con una pipe " "l'output di un comando a un file di testo. Per esempio, per inviare in pipe " "l'output del comando ls a un file di testo, digitare " -"ls | gedit, quindi premere Invio." +"ls | pluma, quindi premere Invio." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "L'output del comando ls viene visualizzato in un nuovo " -"file di testo nella finestra di gedit." +"file di testo nella finestra di pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1913,22 +1913,22 @@ msgstr "" "In alternativa, è possibile usare il plugin Strumenti esterni per inviare in pipe l'output del comando al file aperto." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Scorciatoie da tastiera" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "È possibile usare le scorciatoie da tastiera per eseguire delle azioni " "comuni più velocemente rispetto all'utilizzo del mouse o dei menù. La " -"seguente tabella elenca tutte le scorciatoie di geditpluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1938,404 +1938,404 @@ msgstr "" "all'ambiente grafico per l'utente." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Tabulazioni" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Scorciatoie per le tabulazioni:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Scorciatoia" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "Comando" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PagSu" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Passa alla successiva scheda sulla sinistra." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PagGiù" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Passa alla successiva scheda sulla destra." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Chiude la scheda." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Maiusc + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Salva tutte le schede." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Maiusc + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Chiude tutte le schede." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Passa all'n-esima scheda." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "File" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Scorciatoie per lavorare con i file:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Creare un nuovo file." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Apre un file." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Apre una posizione." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Salva il file aperto sul disco." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Maiusc + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Salva il file aperto con un nuovo nome." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Stampa il file corrente." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Maiusc + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Anteprima di stampa." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Chiude il file corrente." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Esce da Gedit" +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Esce da Pluma" #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1408(guimenu) -#: C/gedit.xml:1414(guimenu) C/gedit.xml:1420(guimenu) -#: C/gedit.xml:1426(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1408(guimenu) +#: C/pluma.xml:1414(guimenu) C/pluma.xml:1420(guimenu) +#: C/pluma.xml:1426(guimenu) msgid "Edit" msgstr "Modifica" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Scorciatoie per modificare i file:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Annulla l'ultima azione." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Maiusc + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Ripete l'ultima azione annullata." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Taglia il testo o la regione selezionata e la mette negli appunti." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Copia il testo o la regione selezionata negli appunti." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Incolla il contenuto degli appunti." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Seleziona tutto." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Elimina la riga attuale." #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Riquadri" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Scorciatoie per mostrare e nascondere i riquadri:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Mostra/Nasconde il riquadro laterale." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Mostra/Nasconde il riquadro inferiore." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Cerca" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Scorciatoie per eseguire ricerche:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "Trova una stringa." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Trova l'istanza successiva della stringa." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Maiusc + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Trova l'istanza precedente della stringa." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" # (NdT) è la ricerca incrementale... -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Ricerca incrementale." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Cerca e sostituisce." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Maiusc + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Azzera evidenziazione." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "Va alla riga." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Strumenti" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Scorciatoie per gli strumenti:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Maiusc + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Controllo ortografico (con plugin)." -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Rimuove gli spazi di fine riga (con plugin)." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Rientro (con plugin)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Maiusc + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Rimuove rientro (con plugin)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Esegue \"make\" nella directory attuale (con plugin)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Maiusc + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Elenco directory (con plugin)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Aiuto" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Scorciatoie per l'aiuto:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Apre il manuale utente di gedit." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Apre il manuale utente di pluma." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "Preferenze" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Per configurare gedit, scegliere " +"Per configurare pluma, scegliere " "ModificaPreferenze. La finestra di dialogo Preferenze contiene le seguenti categorie:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Preferenze di visualizzazione" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2345,7 +2345,7 @@ msgstr "" "modo che le righe di testo più lunghe non vadano oltre il bordo della " "finestra. In questo modo si evita lo scorrimento orizzontale." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2355,20 +2355,20 @@ msgstr "" "guilabel> in modo che l'opzione di a capo automatico preservi le parole a " "fine riga intere. Consente una lettura più facile del testo." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Selezionare l'opzione Mostrare i numeri di riga per " "visualizzare i numeri di riga nella parte sinistra della finestra di " -"gedit." +"pluma." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Riga corrente" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2376,11 +2376,11 @@ msgstr "" "Selezionare l'opzione Evidenziare la riga corrente per " "evidenziare la riga a cui il cursore è posizionato." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Margine destro" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2388,7 +2388,7 @@ msgstr "" "Selezionare l'opzione Mostrare il margine destro per " "visualizzare una riga verticale indicante il margine destro." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2396,11 +2396,11 @@ msgstr "" "Usare il controllo di selezione Margine destro alla colonna per specificare la posizione della riga verticale." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Corrispondenza parentesi" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2410,36 +2410,36 @@ msgstr "" "guilabel> per evidenziare la parentesi corrispondente quando il cursore è " "posizionato su una parentesi." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Preferenze dell'editor" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Usare il controllo di selezione Ampiezza tabulazione " -"per specificare la larghezza dello spazio che geditpluma deve inserire quando si preme il tasto Tab." -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Selezionare l'opzione Inserire spazi invece di tabulazioni per specificare che gedit deve inserire " +"guilabel> per specificare che pluma deve inserire " "una sequenza di spazi anziché un carattere di tabulazione quando si preme il " "tasto Tab." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Rientro automatico" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2448,11 +2448,11 @@ msgstr "" "specificare che la riga successiva deve iniziare al livello di rientro di " "quella attuale." -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Salvataggio file" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2463,7 +2463,7 @@ msgstr "" "viene salvato. La copia di backup del file presenta una tilde (~) alla fine " "del nome." -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2474,41 +2474,41 @@ msgstr "" "regolari. Usare il controllo di selezione per specificare l'intervallo per " "il salvataggio automatico del file." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Caratteri & colori" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Carattere" # (NdT) ma dove è? -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Selezionare l'opzione Usare il carattere predefinito del tema per usare il tipo di carattere predefinito del sistema nella " -"finestra di testo di gedit." +"finestra di testo di pluma." -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "Il campo Carattere dell'editor visualizza il tipo di " -"carattere utilizzato da gedit per la " +"carattere utilizzato da pluma per la " "visualizzazione del testo. Fare clic sul pulsante per specificare il tipo di " "carattere, lo stile e la dimensione da usare per il testo." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Schema colore" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2516,47 +2516,47 @@ msgstr "" "È possibile scegliere uno schema di colori dall'elenco di quelli installati. " "Quelli che seguono sono gli schemi di colori installati in modo predefinito:" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Classic" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Schema colore classico basato su quello di gvim." -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Schema colore basato sul blu." -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Schema colore usato nell'editor di testo Kate." -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Schema colore scuro che fa uso dei colori del progetto Tango." -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Schema colore che fa uso dei colori del progetto Tango." -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2565,7 +2565,7 @@ msgstr "" "Aggiungi... e selezionando un file contenente lo schema " "di colori" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2573,33 +2573,33 @@ msgstr "" "È possibile rimuovere lo schema colore selezionato facendo clic su " "Rimuovi" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Plugin" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"I plugin aggiungono funzionalità a gedit. Per " +"I plugin aggiungono funzionalità a pluma. Per " "maggiori informazioni sull'utilizzo dei plugin integrati, consultare ." +"linkend=\"pluma-plugins-overview\" />." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Abilitare un plugin" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Per abilitare un plugin di gedit, procedere come " +"Per abilitare un plugin di pluma, procedere come " "segue:" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1637(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1637(para) msgid "" "Choose EditPreferences." @@ -2607,17 +2607,17 @@ msgstr "" "Scegliere ModificaPreferenze." -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1640(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1640(para) msgid "Select the Plugins tab." msgstr "Selezionare la scheda Plugin." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Selezionare la casella di spunta a fianco il nome del plugin da abilitare." -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." @@ -2625,26 +2625,26 @@ msgstr "" "Fare clic su Chiudi per chiudere la finestra di " "dialogo Preferenze." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Disabilitare un plugin" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Quando si esce da gedit, i plugin rimangono " +"Quando si esce da pluma, i plugin rimangono " "abilitati." -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Per disabilitare un plugin di gedit, procedere " +"Per disabilitare un plugin di pluma, procedere " "come segue:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2654,81 +2654,81 @@ msgstr "" # (NdT) ho differenziato il titolo per via dello stesso usato precedentemente # in cui veniva indicata la scheda Plugin nelle Preferenze -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "I plugin" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Lavorare con i plugin" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"È possibile aggiungere ulteriori caratteristiche a geditpluma attraverso l'uso dei plugin. Un plugin è un programma " "ausiliario che aumenta le funzionalità di un'applicazione. I plugin " -"aggiungono nuovi oggetti ai menù di gedit in base " +"aggiungono nuovi oggetti ai menù di pluma in base " "alle funzionalità che forniscono." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Diversi plugin sono integrati in gedit ed è " +"Diversi plugin sono integrati in pluma ed è " "possibile installarne altri. Il sito wed di gedit elenca ulteriori plugin." +"org/Pluma/Plugins\">sito wed di pluma elenca ulteriori plugin." -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Per abilitare o disabilitare un plugin o per vedere quali plugin sono " -"attualmente abilitati, consultare la sezione Plugin." -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" -msgstr "I seguenti plugin sono integrati in gedit:" +"The following plugins come built-in with pluma:" +msgstr "I seguenti plugin sono integrati in pluma:" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Cambia maiuscole/" +"Cambia maiuscole/" "minuscole consente di cambiare il testo selezionato tra " "maiuscolo e minuscolo." -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Statistiche " +"Statistiche " "sul documento mostra il numero di righe, parole e " "caratteri del documento." -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Strumenti " +"Strumenti " "esterni consente di eseguire comandi esterni da " -"gedit." +"pluma." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2736,96 +2736,96 @@ msgstr "" "Pannello dell'esplorazione file consente di " "esplorare i propri file e cartelle nel riquadro laterale." -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Applica un rientro " +"Applica un rientro " "alle righe aggiunge o rimuove un rientro alle righe " "selezionate." -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Inserisci date " +"Inserisci date " "e ora aggiunge al documento la data e l'ora correnti." -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModelineModeline consente di impostare delle preferenze di modifica per alcuni " "documenti e supporta le modeline in stile Emacs, " "Kate e Vim." -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Console pythonConsole python consente di eseguire comandi attraverso il linguaggio di " "programmazione python." -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"SnippetSnippet consente di archiviare dei frammenti di testo usati " "frequentemente e di inserirli all'interno di un documento." -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"Ordina " +"Ordina " "organizza alfabeticamente le righe di testo selezionate." -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Correttore " +"Correttore " "ortografico controlla l'ortografia del testo " "selezionato o evidenzia automaticamente gli errori nel documento." -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Elenco tagElenco tag consente di inserire i tag più usati per l'HTML e altri " "linguaggi da un elenco nel riquadro laterale." -#: C/gedit.xml:1380(para) +#: C/pluma.xml:1380(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"Nome utenteNome utente inserisce il nome dell'utente nel documento." -#: C/gedit.xml:1387(title) +#: C/pluma.xml:1387(title) msgid "Change Case Plugin" msgstr "Plugin «Cambia maiuscole/minuscole»" -#: C/gedit.xml:1388(para) +#: C/pluma.xml:1388(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2833,7 +2833,7 @@ msgstr "" "Il plugin Cambia maiuscole/minuscole cambia tra " "maiuscole e minuscole il testo selezionato." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2841,83 +2841,83 @@ msgstr "" "I seguenti elementi sono aggiunti al menù Modifica quando " "il plugin Cambia maiuscole/minuscole è abilitato:" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Menu Item" msgstr "Voce di menù" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Action" msgstr "Azione" -#: C/gedit.xml:1403(para) +#: C/pluma.xml:1403(para) msgid "Example" msgstr "Esempio" -#: C/gedit.xml:1409(guisubmenu) C/gedit.xml:1415(guisubmenu) -#: C/gedit.xml:1421(guisubmenu) C/gedit.xml:1427(guisubmenu) +#: C/pluma.xml:1409(guisubmenu) C/pluma.xml:1415(guisubmenu) +#: C/pluma.xml:1421(guisubmenu) C/pluma.xml:1427(guisubmenu) msgid "Change Case" msgstr "Modifica maiuscole/minuscole" -#: C/gedit.xml:1409(guimenuitem) +#: C/pluma.xml:1409(guimenuitem) msgid "All Upper Case" msgstr "Tutto in maiuscolo" -#: C/gedit.xml:1410(para) +#: C/pluma.xml:1410(para) msgid "Change each character to uppercase." msgstr "Modifica ogni carattere in maiuscolo." -#: C/gedit.xml:1411(para) +#: C/pluma.xml:1411(para) msgid "This text becomes THIS TEXT" msgstr "" "Questo testo diventa QUESTO TESTO" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Lower Case" msgstr "Tutto in minuscolo" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to lowercase." msgstr "Modifica ogni carattere in minuscolo." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This Text becomes this text" msgstr "" "Questo Testo diventa questo testo" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "Invert Case" msgstr "Inverti maiuscole/minuscole" # (NdT) più corta :) -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "Modifica ogni carattere minuscolo in maiuscolo e viceversa." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Questo Testo diventa qUESTO tESTO" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Title Case" msgstr "Iniziali in maiuscolo" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "Change the first character of each word to uppercase." msgstr "Modifica il primo carattere di ogni parola in maiuscolo." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "this text becomes This Text" msgstr "" "questo testo diventa Questo Testo" -#: C/gedit.xml:1438(title) +#: C/pluma.xml:1438(title) msgid "Document Statistics Plugin" msgstr "Plugin «Statistiche sul documento»" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2931,7 +2931,7 @@ msgstr "" "Statistiche sul documento. Per usare il plugin " "«Statistiche sul documento», procedere come segue:" -#: C/gedit.xml:1441(para) +#: C/pluma.xml:1441(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsStatistiche sul documento visualizza le seguenti " "informazioni sul file:" -#: C/gedit.xml:1444(para) +#: C/pluma.xml:1444(para) msgid "Number of lines in the current document." msgstr "Numero di righe del documento." -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "Number of words in the current document." msgstr "Numero di parole del documento." -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of characters, including spaces, in the current document." msgstr "Numero di caratteri, compresi gli spazi, del documento." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Numero di caratteri, esclusi gli spazi, del documento." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of bytes in the current document." msgstr "Numero di byte del documento." -#: C/gedit.xml:1461(para) +#: C/pluma.xml:1461(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"È possibile continuare ad aggiornare il file di geditpluma anche tenendo aperta la finestra di dialogo " "Statistiche sul documento. Per aggiornare il contenuto " "della finestra di dialogo Statistiche sul documento, " "fare clic su Aggiorna." -#: C/gedit.xml:1468(title) +#: C/pluma.xml:1468(title) msgid "External Tools Plugin" msgstr "Plugin «Strumenti esterni»" -#: C/gedit.xml:1469(para) +#: C/pluma.xml:1469(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "Il plugin Strumenti esterni consente di eseguire " -"dei comandi esterni all'interno di gedit. È " +"dei comandi esterni all'interno di pluma. È " "possibile inviare in pipe dei contenuti a un comando e sfruttarne l'output " "(per esempio sed) o eseguire un comando " "predefinito (come make)." -#: C/gedit.xml:1470(para) +#: C/pluma.xml:1470(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsStrumenti." -#: C/gedit.xml:1473(title) +#: C/pluma.xml:1473(title) msgid "Built-in Commands" msgstr "Comandi integrati" -#: C/gedit.xml:1474(para) +#: C/pluma.xml:1474(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3017,39 +3017,39 @@ msgstr "" "I seguenti comandi sono forniti con il plugin Strumenti " "esterni:" -#: C/gedit.xml:1476(term) +#: C/pluma.xml:1476(term) msgid "Build" msgstr "Crea" -#: C/gedit.xml:1478(para) +#: C/pluma.xml:1478(para) msgid "" "Runs make in the current document's directory." msgstr "Esegue make nella directory del documento." # (NdT) Non traducibile nell'interfaccia -#: C/gedit.xml:1481(term) +#: C/pluma.xml:1481(term) msgid "Directory Listing" msgstr "Directory Listing" -#: C/gedit.xml:1483(para) +#: C/pluma.xml:1483(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Elenca i contenuti della cartella del documento in un nuovo documento." # (NdT) Non traducibile nell'interfaccia -#: C/gedit.xml:1486(term) +#: C/pluma.xml:1486(term) msgid "Environment Variables" msgstr "Environment Variables" -#: C/gedit.xml:1488(para) +#: C/pluma.xml:1488(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Visualizza l'elenco delle variabili d'ambiente nel riquadro inferiore." -#: C/gedit.xml:1491(term) +#: C/pluma.xml:1491(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1493(para) +#: C/pluma.xml:1493(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3058,19 +3058,19 @@ msgstr "" "usando una ricerca per corrispondenza. I risultati sono mostrati nel " "riquadro inferiore." -#: C/gedit.xml:1496(term) +#: C/pluma.xml:1496(term) msgid "Remove Trailing Spaces" msgstr "Rimuovi gli spazi di fine riga" -#: C/gedit.xml:1498(para) +#: C/pluma.xml:1498(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Rimuove tutti gli spazi alla fine di ogni riga del documento." -#: C/gedit.xml:1505(title) +#: C/pluma.xml:1505(title) msgid "Defining a Command" msgstr "Definire un comando" -#: C/gedit.xml:1506(para) +#: C/pluma.xml:1506(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3078,7 +3078,7 @@ msgstr "" "Per aggiungere un comando esterno, scegliere StrumentiStrumenti esterni...." -#: C/gedit.xml:1507(para) +#: C/pluma.xml:1507(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3088,45 +3088,45 @@ msgstr "" "su Nuovo. È possibile specificare i seguenti dettagli " "per il nuovo comando:" -#: C/gedit.xml:1509(term) +#: C/pluma.xml:1509(term) msgid "Description" msgstr "Descrizione" -#: C/gedit.xml:1511(para) +#: C/pluma.xml:1511(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "La descrizione è mostrata nella barra di stato quando viene scelto il " "comando." -#: C/gedit.xml:1514(term) +#: C/pluma.xml:1514(term) msgid "Accelerator" msgstr "Tasto scorciatoia" -#: C/gedit.xml:1516(para) +#: C/pluma.xml:1516(para) msgid "Enter a keyboard shortcut for the command." msgstr "Inserire una scorciatoia da tastiera per il comando." -#: C/gedit.xml:1519(term) +#: C/pluma.xml:1519(term) msgid "Commands" msgstr "Comando/i" -#: C/gedit.xml:1521(para) +#: C/pluma.xml:1521(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "I comandi da eseguire. È possibile utilizzare diverse variabili d'ambiente " -"di gedit per passare i contenuti a questi " -"comandi: consultare pluma per passare i contenuti a questi " +"comandi: consultare ." -#: C/gedit.xml:1524(term) +#: C/pluma.xml:1524(term) msgid "Input" msgstr "Input" -#: C/gedit.xml:1526(para) +#: C/pluma.xml:1526(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3134,11 +3134,11 @@ msgstr "" "Il contenuto da passare ai comandi (come stdin): " "l'intero documento, la selezione, una riga o una parola." -#: C/gedit.xml:1529(term) +#: C/pluma.xml:1529(term) msgid "Output" msgstr "Output" -#: C/gedit.xml:1531(para) +#: C/pluma.xml:1531(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3148,11 +3148,11 @@ msgstr "" "un nuovo documento o posizionarlo alla fine del documento attuale, alla " "posizione del cursore o sostituire la selezione o tutto il documento." -#: C/gedit.xml:1534(term) +#: C/pluma.xml:1534(term) msgid "Applicability" msgstr "Applicabilità" -#: C/gedit.xml:1536(para) +#: C/pluma.xml:1536(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3160,23 +3160,23 @@ msgstr "" "Determina quali documenti sono interessati dal comando, per esempio i " "documenti salvati oppure no, i documenti locali o quelli remoti." -#: C/gedit.xml:1544(title) +#: C/pluma.xml:1544(title) msgid "Editing and Removing Tools" msgstr "Modificare e rimuovere gli strumenti" -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Per modificare uno strumenti, selezionarlo dall'elenco e modificare le sue " "proprietà." -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "To rename a tool, click it again in the list." msgstr "" "Per rinominare uno strumento, fare nuovamente clic su di esso nell'elenco." -#: C/gedit.xml:1547(para) +#: C/pluma.xml:1547(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3184,7 +3184,7 @@ msgstr "" "Per ripristinare uno strumento integrato che è stato modificato, fare clic " "su Ripristina." -#: C/gedit.xml:1548(para) +#: C/pluma.xml:1548(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3194,11 +3194,11 @@ msgstr "" "Rimuovi. Non è possibile rimuovere gli strumenti " "integrati, solo quelli che vengono creati dall'utente." -#: C/gedit.xml:1552(title) +#: C/pluma.xml:1552(title) msgid "Variables" msgstr "Variabili" -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3206,39 +3206,39 @@ msgstr "" "È possibile utilizzare le seguenti variabili nel campo Comando/i della definizione del comando:" -#: C/gedit.xml:1556(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1556(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1559(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1559(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1571(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1571(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1574(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1574(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1581(title) +#: C/pluma.xml:1581(title) msgid "File Browser Plugin" msgstr "Plugin «Esplorazione file»" -#: C/gedit.xml:1582(para) +#: C/pluma.xml:1582(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3246,7 +3246,7 @@ msgstr "" "Il plugin Esplorazione file mostra i propri file " "e cartelle nel riquadro laterale, consentendo un'apertura veloce dei file." -#: C/gedit.xml:1583(para) +#: C/pluma.xml:1583(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3257,11 +3257,11 @@ msgstr "" "guimenuitem> e quindi fare clic sull'icona identificante " "l'esplorazione dei file in basso nel riquadro." -#: C/gedit.xml:1585(title) +#: C/pluma.xml:1585(title) msgid "Browsing your Files" msgstr "Esplorare i propri file" -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3269,7 +3269,7 @@ msgstr "" "La scheda dei file, inizialmente, mostra i segnalibri del gestore dei file. " "Per esplorare il contenuto di un oggetto, fare doppio clic su di esso." -#: C/gedit.xml:1587(para) +#: C/pluma.xml:1587(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3277,7 +3277,7 @@ msgstr "" "Per mostrare una cartella superiore, sceglierla dall'elenco a discesa o " "premere la freccia verso l'alto nella barra degli strumenti del riquadro." -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3287,19 +3287,19 @@ msgstr "" "tasto destro all'interno dell'elenco e scegliere Imposta il " "documento attivo come radice." -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Per aprire un file in gedit, fare doppio clic su " +"Per aprire un file in pluma, fare doppio clic su " "di esso nell'elenco." -#: C/gedit.xml:1595(title) +#: C/pluma.xml:1595(title) msgid "Creating Files and Folders" msgstr "Creare file e cartelle" -#: C/gedit.xml:1596(para) +#: C/pluma.xml:1596(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3308,7 +3308,7 @@ msgstr "" "clic col tasto destro del mouse nell'elenco dei file e scegliere " "Nuovo file." -#: C/gedit.xml:1597(para) +#: C/pluma.xml:1597(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3317,11 +3317,11 @@ msgstr "" "fare clic col tasto destro del mouse nell'elenco e scegliere " "Nuova cartella." -#: C/gedit.xml:1602(title) +#: C/pluma.xml:1602(title) msgid "Indent Lines Plugin" msgstr "Plugin «Applica un rientro alle righe»" -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3329,11 +3329,11 @@ msgstr "" "Il plugin Applica un rientro alle righe aggiunge " "o rimuove degli spazi all'inizio delle righe di testo." -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Per applicare o rimuovere un rientro, procedere come segue:" -#: C/gedit.xml:1606(para) +#: C/pluma.xml:1606(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3342,7 +3342,7 @@ msgstr "" "rimuovere un rientro su una singola riga, posizionare il cursore all'interno " "di quella riga." -#: C/gedit.xml:1611(para) +#: C/pluma.xml:1611(para) msgid "" "To indent the text, choose EditIndent." @@ -3350,7 +3350,7 @@ msgstr "" "Per applicare un rientro, scegliere ModificaRientro." -#: C/gedit.xml:1614(para) +#: C/pluma.xml:1614(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3358,21 +3358,21 @@ msgstr "" "Per rimuovere il rientro, scegliere ModificaElimina rientro." -#: C/gedit.xml:1619(para) +#: C/pluma.xml:1619(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "La quantità di spazio usato, o l'uso di spazi o caratteri di tabulazione, " "dipende delle impostazione di Tabulazioni nelle " -"preferenze: consultare ." +"preferenze: consultare ." -#: C/gedit.xml:1624(title) +#: C/pluma.xml:1624(title) msgid "Insert Date/Time Plugin" msgstr "Plugin «Inserisci data e ora»" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3382,7 +3382,7 @@ msgstr "" "inserire la data e l'ora corrente in un documento. Per usare il plugin " "«Inserisci data e ora», procedere come segue:" -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" "Choose EditInsert Date and Time." @@ -3390,50 +3390,50 @@ msgstr "" "Scegliere ModificaInserisci data " "e ora." -#: C/gedit.xml:1628(para) +#: C/pluma.xml:1628(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Se il plugin non è stato configurato per inserire automaticamente la data e " -"l'ora senza richiedere il formato all'utente, geditpluma visualizza la finestra di dialogo Inserisci data e " "ora. Selezionare dall'elenco il formato appropriato per la data e " "l'ora. Fare clic su Inserisci per chiudere la " "finestra di dialogo Inserisci data e ora;" -"gedit inserisce la data e l'ora nella posizione " +"pluma inserisce la data e l'ora nella posizione " "del cursore." -#: C/gedit.xml:1629(para) +#: C/pluma.xml:1629(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Se gedit è stato configurato per usare un " +"Se pluma è stato configurato per usare un " "determinato formato per la data e l'ora, la finestra di dialogo " "Inserisci data e ora non viene visualizzata; la data e " "l'ora vengono inserite automaticamente nella posizione del cursore." -#: C/gedit.xml:1634(title) +#: C/pluma.xml:1634(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Configurare il plugin «Inserisci data e ora»" -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Per configurare il plugin «Inserisci data e ora», procedere come segue:" -#: C/gedit.xml:1643(para) +#: C/pluma.xml:1643(para) msgid "Select the Insert Date/Time plugin." msgstr "Selezionare il plugin Inserisci data e ora." -#: C/gedit.xml:1646(para) +#: C/pluma.xml:1646(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3441,11 +3441,11 @@ msgstr "" "Fare clic su Configura plugin per aprire la finestra " "di dialogo Configura plugin «Inserisci data e ora»." -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select one of the options, as follows:" msgstr "Selezionare una delle seguenti opzioni:" -#: C/gedit.xml:1651(para) +#: C/pluma.xml:1651(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3453,25 +3453,25 @@ msgstr "" "Per specificare il formato da utilizzare ogni volta che si inseriscono la " "data e l'ora, selezionare l'opzione Chiedere il formato." -#: C/gedit.xml:1654(para) +#: C/pluma.xml:1654(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"Per usare lo stesso formato fornito da gedit ogni " +"Per usare lo stesso formato fornito da pluma ogni " "volta che si inseriscono la data e l'ora, selezionare l'opzione " "Usare il formato selezionato e scegliere il formato " -"appropriato nell'elenco. Selezionando questa opzione, geditpluma non richiede il formato per la data e l'ora quando si sceglie " "ModificaInserisci data e ora." -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3479,7 +3479,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3490,11 +3490,11 @@ msgstr "" "personalizzato, consultare strftime3. Selezionando questa opzione, " -"gedit non richiede il formato per la data e l'ora " +"pluma non richiede il formato per la data e l'ora " "quando si sceglie ModificaInserisci data e ora." -#: C/gedit.xml:1662(para) +#: C/pluma.xml:1662(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3502,7 +3502,7 @@ msgstr "" "Fare clic su OK per chiudere la finestra di dialogo " "Configura plugin «Inserisci data e ora»." -#: C/gedit.xml:1665(para) +#: C/pluma.xml:1665(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3510,23 +3510,23 @@ msgstr "" "Per chiudere la finestra di dialogo Preferenze, fare " "clic su Chiudi." -#: C/gedit.xml:1672(title) +#: C/pluma.xml:1672(title) msgid "Modelines Plugin" msgstr "Plugin «Modeline»" -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Il plugin Modeline consente di impostare delle " "preferenze per ogni documento. Una modeline è una " "riga di testo all'inizio o alla fine del documento con delle impostazioni " -"riconosciute da gedit." +"riconosciute da pluma." -#: C/gedit.xml:1674(para) +#: C/pluma.xml:1674(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3534,27 +3534,27 @@ msgstr "" "Le preferenze impostate usando le modeline hanno la precedenza su quelle " "specificate nella finestra di dialogo delle preferenze." -#: C/gedit.xml:1675(para) +#: C/pluma.xml:1675(para) msgid "You can set the following preferences with modelines:" msgstr "È possibile impostare le seguenti preferenze con le modeline:" -#: C/gedit.xml:1678(para) +#: C/pluma.xml:1678(para) msgid "Tab width" msgstr "Larghezza tabulazioni" -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "Indent width" msgstr "Larghezza rientro" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Insert spaces instead of tabs" msgstr "Inserire spazi al posto di tabulazioni" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Right margin width" msgstr "Larghezza margine destro" -#: C/gedit.xml:1694(para) +#: C/pluma.xml:1694(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3565,11 +3565,11 @@ msgstr "" "application>, Kate e Vim." -#: C/gedit.xml:1697(title) +#: C/pluma.xml:1697(title) msgid "Emacs Modelines" msgstr "Modeline Emacs" -#: C/gedit.xml:1698(para) +#: C/pluma.xml:1698(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3577,7 +3577,7 @@ msgstr "" "Le prime due righe di un documento vengono analizzate per le modeline di " "Emacs." -#: C/gedit.xml:1699(para) +#: C/pluma.xml:1699(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3590,11 +3590,11 @@ msgstr "" "GNU Emacs Manual." -#: C/gedit.xml:1702(title) +#: C/pluma.xml:1702(title) msgid "Kate Modelines" msgstr "Modeline Kate" -#: C/gedit.xml:1703(para) +#: C/pluma.xml:1703(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3602,7 +3602,7 @@ msgstr "" "Le prime e le ultime dieci righe di un documento sono analizzate per le " "modeline di Kate." -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3615,11 +3615,11 @@ msgstr "" "Per maggiori informazioni, consultare Kate website." -#: C/gedit.xml:1707(title) +#: C/pluma.xml:1707(title) msgid "Vim Modelines" msgstr "Modeline Vim" -#: C/gedit.xml:1708(para) +#: C/pluma.xml:1708(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3627,7 +3627,7 @@ msgstr "" "Le prime e le ultime tre righe di un documento sono analizzate per le " "modeline di Vim." -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3639,39 +3639,39 @@ msgstr "" "sito web di Vim." -#: C/gedit.xml:1714(title) +#: C/pluma.xml:1714(title) msgid "Python Console Plugin" msgstr "Plugin «Console python»" -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Il plugin Console python consente di eseguire " "comandi con il linguaggio di programmazione Python all'interno di " -"gedit. Abilitando il plugin, viene aggiunta una " +"pluma. Abilitando il plugin, viene aggiunta una " "scheda nel riquadro inferiore. Questa mostra l'ultimo output e un prompt dei " "comandi." -#: C/gedit.xml:1716(para) +#: C/pluma.xml:1716(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "I comandi digitati all'interno della console python non vengono verificati " -"prima dell'esecuzione. È possibile anche bloccare geditpluma eseguendo un ciclo infinito." # (NdT) Snippet al femminile? intesa come "porzione di testo"... -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Snippets Plugin" msgstr "Plugin «Snippet»" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3681,7 +3681,7 @@ msgstr "" "di testo molto usate, snippet, e di inserirle " "velocemente in un documento." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3693,19 +3693,19 @@ msgstr "" "snippet utili per l'HTML. Oltre a queste, alcune snippet sono globali e " "quindi disponibili in tutti i documenti." -#: C/gedit.xml:1723(para) +#: C/pluma.xml:1723(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Alcune snippet sono installate con gedit ed è " +"Alcune snippet sono installate con pluma ed è " "possibile modificarle." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Inserting Snippets" msgstr "Inserire snippet" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3717,7 +3717,7 @@ msgstr "" "composto solitamente dalle prime lettere della snippet o qualsiasi altra " "cosa corta e facile da ricordare." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3725,15 +3725,15 @@ msgstr "" "In alternativa, premere CtrlSpazio per l'elenco degli snippet da poter inserire." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Adding Snippets" msgstr "Aggiungere snippet" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "To create a new snippet, do the following:" msgstr "Per creare una nuova snippet, procedere come segue:" -#: C/gedit.xml:1736(para) +#: C/pluma.xml:1736(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3743,7 +3743,7 @@ msgstr "" "snippet... per aprire la finestra " "Gestione snippet." -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3756,21 +3756,21 @@ msgstr "" "«Globale» in alto nell'elenco. Viene mostrata in modo predefinito la sintassi " "del documento attuale." -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Fare clic su Nuovo per creare una nuova snippet " "nell'elenco." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "Enter the following information for the new snippet:" msgstr "Inserire le seguenti informazioni per la nuova snippet:" -#: C/gedit.xml:1747(term) +#: C/pluma.xml:1747(term) msgid "Name" msgstr "Nome" -#: C/gedit.xml:1749(para) +#: C/pluma.xml:1749(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3781,21 +3781,21 @@ msgstr "" "snippet. È possibile modificare il nome della snippet creata facendo clic su " "di esso." -#: C/gedit.xml:1752(term) +#: C/pluma.xml:1752(term) msgid "Snippet text" msgstr "Testo della snippet" -#: C/gedit.xml:1754(para) +#: C/pluma.xml:1754(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Inserire il testo della snippet nella casella di testo Modifica " "snippet. Per i codici speciali da poter usare, consultare ." +"linkend=\"pluma-snippets-plugin-syntax\" />." -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3803,11 +3803,11 @@ msgstr "" "È possibile ritornare alla finestra del documento per copiare il testo senza " "chiudere la finestra Gestore snippet." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Tab Trigger" msgstr "Tab trigger" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3815,7 +3815,7 @@ msgstr "" "Inserire il tab trigger per la snippet. Questo è il testo da digitare prima " "di premere il tasto Tab per inserire la snippet." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3825,20 +3825,20 @@ msgstr "" "carattere singolo. Il Tab trigger si colora di rosso se " "viene inserito un tab trigger non valido." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Shortcut key" msgstr "Tasto scorciatoia" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Digitare una scorciatoia per l'inserimento della snippet." -#: C/gedit.xml:1775(title) +#: C/pluma.xml:1775(title) msgid "Editing and Removing Snippets" msgstr "Modificare e rimuovere snippet" # (NdT) semplificata un po'... -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3846,12 +3846,12 @@ msgstr "" "Per modificare una snippet, selezionarla dall'elenco e apportare le " "modifiche necessarie." -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "To rename a snippet, click it again in the list." msgstr "" "Per rinominare una snippet, fare nuovamente clic su di essa nell'elenco." -#: C/gedit.xml:1778(para) +#: C/pluma.xml:1778(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3859,7 +3859,7 @@ msgstr "" "Per ripristinare una snippet integrata, modificata, fare clic su " "Ripristina." -#: C/gedit.xml:1779(para) +#: C/pluma.xml:1779(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3869,11 +3869,11 @@ msgstr "" "Rimuovi. Non è possibile rimuovere una snippet " "integrata, solamente quelle create personalmente." -#: C/gedit.xml:1783(title) +#: C/pluma.xml:1783(title) msgid "Snippet Substitutions" msgstr "Sostituire snippet" -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3883,17 +3883,17 @@ msgstr "" "personalizzabile o segnalare degli spazi in cui è possibile inserire del " "testo una volta inserita la snippet nel documento." -#: C/gedit.xml:1788(para) +#: C/pluma.xml:1788(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "È possibile utilizzare i seguenti simboli per i segnaposti nel testo della " "snippet:" -#: C/gedit.xml:1790(term) +#: C/pluma.xml:1790(term) msgid "Tab placeholders" msgstr "Segnaposti di tabulazione" -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3901,7 +3901,7 @@ msgstr "" "$n definisce un segnaposto di " "tabulazione, in cui n è un numero da 1 in su." -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3909,7 +3909,7 @@ msgstr "" "${n:default} definisce un segnaposto di tabulazione con un valore predefinito." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3919,7 +3919,7 @@ msgstr "" # (NdT) un po' riadattata... ma l'ultima frase in originale # poteva essere più chiara... -#: C/gedit.xml:1795(para) +#: C/pluma.xml:1795(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3931,7 +3931,7 @@ msgstr "" "Tab per avanzare al segnaposto successivo. Il numero nel " "codice del segnaposto indica l'ordine con cui il tasto tab avanza nel testo." -#: C/gedit.xml:1796(para) +#: C/pluma.xml:1796(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3943,11 +3943,11 @@ msgstr "" "ci sono altri segnaposti di tabulazione, il cursore viene spostato alla fine " "del testo della snippet o, se esiste, al segnaposto di terminazione." -#: C/gedit.xml:1799(term) +#: C/pluma.xml:1799(term) msgid "Mirror placeholders" msgstr "Segnaposti rispecchiati" -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3957,12 +3957,12 @@ msgstr "" "definito. Questo consente di digitare il testo da far apparire più volte " "nella snippet una sola volta." -#: C/gedit.xml:1804(term) +#: C/pluma.xml:1804(term) msgid "End placeholder" msgstr "Segnaposto di terminazione" # (NdT) non è molto chiara... -#: C/gedit.xml:1806(para) +#: C/pluma.xml:1806(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3972,34 +3972,34 @@ msgstr "" "consente di terminare il lavoro con la snippet con il cursore in una " "posizione diversa da quella della terminazione della snippet." -#: C/gedit.xml:1809(term) +#: C/pluma.xml:1809(term) msgid "Environmental variables" msgstr "Variabili d'ambiente" -#: C/gedit.xml:1811(para) +#: C/pluma.xml:1811(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Le variabili d'ambiente come $PATH e $HOME vengono sostituite all'interno del testo della snippet. Possono " -"essere usate anche le seguenti variabili specifiche di geditpluma:" -#: C/gedit.xml:1813(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1813(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1815(para) +#: C/pluma.xml:1815(para) msgid "The currently selected text." msgstr "Il testo attualmente selezionato." -#: C/gedit.xml:1818(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1818(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1820(para) +#: C/pluma.xml:1820(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -4007,11 +4007,11 @@ msgstr "" "Il nome completo del file o una stringa vuota se il documento non è ancora " "stato salvato." -#: C/gedit.xml:1823(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1823(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1825(para) +#: C/pluma.xml:1825(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4019,11 +4019,11 @@ msgstr "" "Il nome del file o una stringa vuota se il documento non è ancora stato " "salvato." -#: C/gedit.xml:1828(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1828(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1830(para) +#: C/pluma.xml:1830(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4031,11 +4031,11 @@ msgstr "" "La parola alla posizione del cursore. Quando questa variabile è usata, la " "parola attuale è sostituita con il testo dello snippet." -#: C/gedit.xml:1838(term) +#: C/pluma.xml:1838(term) msgid "Shell placeholders" msgstr "Segnaposti della shell" -#: C/gedit.xml:1840(para) +#: C/pluma.xml:1840(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4043,7 +4043,7 @@ msgstr "" "$(cmd) è sostituito dal " "risultato dell'esecuzione di cmd nella shell." -#: C/gedit.xml:1841(para) +#: C/pluma.xml:1841(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4057,11 +4057,11 @@ msgstr "" "$n per utilizzare l'output di " "un segnaposto della shell come input per un altro segnaposto." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Python placeholders" msgstr "Segnaposti di python" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4071,7 +4071,7 @@ msgstr "" "risultato della valutazione di cmd " "nell'interprete python." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4089,7 +4089,7 @@ msgstr "" "a,b:cmd>" -#: C/gedit.xml:1848(para) +#: C/pluma.xml:1848(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4097,11 +4097,11 @@ msgstr "" "Per usare una variabile in tutte le altre snippet, dichiararla " "global (globale)." -#: C/gedit.xml:1857(title) +#: C/pluma.xml:1857(title) msgid "Sort Plugin" msgstr "Plugin «Ordina»" -#: C/gedit.xml:1858(para) +#: C/pluma.xml:1858(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4109,7 +4109,7 @@ msgstr "" "Il plugin Ordina ordina alfabeticamente le righe " "selezionate in un file." -#: C/gedit.xml:1859(para) +#: C/pluma.xml:1859(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4121,15 +4121,15 @@ msgstr "" "dopo avere eseguito l'ordinamento, scegliere FileRipristina." -#: C/gedit.xml:1862(para) +#: C/pluma.xml:1862(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Per usare il plugin Ordina, procedere come segue:" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "Select the lines of text you want to sort." msgstr "Selezionare le righe di testo da ordinare." -#: C/gedit.xml:1867(para) +#: C/pluma.xml:1867(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4137,11 +4137,11 @@ msgstr "" "Scegliere ModificaOrdina per aprire il dialogo Ordina." -#: C/gedit.xml:1870(para) +#: C/pluma.xml:1870(para) msgid "Choose the options you want for the sort:" msgstr "Scegliere le opzioni per l'ordinamento:" -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4149,20 +4149,20 @@ msgstr "" "Per disporre il testo in ordine inverso, selezionare Ordine " "invertito." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Per eliminare le righe doppie, selezionare Rimuovere i duplicati." -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Per ignorare le differenze tra maiuscole e minuscole, selezionare l'opzione " "Ignorare maiuscole/minuscole." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4172,19 +4172,19 @@ msgstr "" "impostare il numero del primo carattere da ordinare attraverso il controllo " "di selezione Incomincia dalla colonna." -#: C/gedit.xml:1887(para) +#: C/pluma.xml:1887(para) msgid "To perform the sort operation, click Sort." msgstr "" "Per iniziare l'ordinamento, fare clic su Ordina." -#: C/gedit.xml:1894(title) +#: C/pluma.xml:1894(title) msgid "Spell Checker Plugin" msgstr "Plugin «Correttore ortografico»" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " @@ -4192,12 +4192,12 @@ msgid "" msgstr "" "Il plugin Correttore ortografico controlla " "l'ortografia nel testo selezionato. È possibile configurare " -"gedit per il controllo automatico, o manuale, " +"pluma per il controllo automatico, o manuale, " "nella lingua specificata. L'impostazione della lingua e le proprietà del " "controllo automatico, si applicano al singolo documento. Per usare il plugin " "«Correttore ortografico» procedere come segue:" -#: C/gedit.xml:1897(para) +#: C/pluma.xml:1897(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4210,7 +4210,7 @@ msgstr "" "dall'elenco e fare clic su OK per chiudere la " "finestra di dialogo Configura lingua." -#: C/gedit.xml:1900(para) +#: C/pluma.xml:1900(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4218,7 +4218,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Per il controllo automatico dell'ortografia, scegliere " @@ -4229,9 +4229,9 @@ msgstr "" "automatico è abilitato, viene mostrato un segno di spunta a fianco della " "voce Controllo ortografico automatico. Il " "controllo automatico è disabilitato in modo predefinito a ogni avvio di " -"gedit." +"pluma." -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsSuggerimenti ortografici dal menù a comparsa:" -#: C/gedit.xml:1904(para) +#: C/pluma.xml:1904(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4251,7 +4251,7 @@ msgstr "" "selezionare la parola dal menù a comparsa Suggerimenti ortografici." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddSuggerimenti ortografici...Aggiungi." -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Per ignorare tutte le occorrenze di una parola sconosciuta, in modo che non " "vengano visualizzate come sconosciute, ma senza aggiungerle al dizionario, " "selezionare Suggerimenti ortografici...Ignora tutto. La parola " "sconosciuta viene ignorata solamente nella sessione attuale di " -"gedit." +"pluma." -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4285,7 +4285,7 @@ msgstr "" "StrumentiControllo ortografico." -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4297,7 +4297,7 @@ msgstr "" "su OK per chiudere la finestra di dialogo " "Informazioni." -#: C/gedit.xml:1919(para) +#: C/pluma.xml:1919(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4305,7 +4305,7 @@ msgstr "" "In caso di errori ortografici, viene mostrata la finestra di dialogo " "Controllo ortografico:" -#: C/gedit.xml:1922(para) +#: C/pluma.xml:1922(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4313,7 +4313,7 @@ msgstr "" "La Parola errata è mostrata nella parte alta della " "finestra di dialogo." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4326,7 +4326,7 @@ msgstr "" "oppure è possibile digitare del testo direttamente nella casella di testo " "Sostituisci con." -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4341,19 +4341,19 @@ msgstr "" "(ortografia corretta). Se la parola non è conosciuta, vengono " "visualizzate delle nuove voci sotto Suggerimenti." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Per ignorare l'occorrenza attuale della parola sconosciuta, fare clic su " "Ignora. Per ignorare tutte le occorrenze, fare clic " "su Ignora tutto. La parola sconosciuta viene ignorata " -"nella sessione attuale di gedit." +"nella sessione attuale di pluma." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeModifica. Per cambiare tutte le occorrenze della " "parola sconosciuta, fare clic su Modifica tutto." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4374,7 +4374,7 @@ msgstr "" "Per aggiungere la parola sconosciuta al proprio dizionario, fare clic su " "Aggiungi parola." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4382,11 +4382,11 @@ msgstr "" "Per chiudere la finestra di dialogo Controllo ortografico, fare clic su Chiudi." -#: C/gedit.xml:1949(title) +#: C/pluma.xml:1949(title) msgid "Tag List Plugin" msgstr "Plugin «Elenco tag»" -#: C/gedit.xml:1950(para) +#: C/pluma.xml:1950(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4394,11 +4394,11 @@ msgstr "" "Il plugin Elenco tag consente di inserire, da un " "elenco nel riquadro laterale, dei tag comuni." -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Per usare il plugin «Elenco tag», procedere come segue:" -#: C/gedit.xml:1953(para) +#: C/pluma.xml:1953(para) msgid "" "Choose ViewSide Pane." @@ -4406,7 +4406,7 @@ msgstr "" "Scegliere VisualizzaRiquadro " "laterale." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4417,7 +4417,7 @@ msgstr "" "fare clic sulla scheda indicante il segno più («+») in basso nel riquadro " "laterale." -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4425,11 +4425,11 @@ msgstr "" "Selezionare la categoria di tag appropriata dall'elenco a discesa; per " "esempio HTML - Tag." -#: C/gedit.xml:1962(para) +#: C/pluma.xml:1962(para) msgid "Scroll through the tag list to find the required tag." msgstr "Se necessario, scorrere l'elenco per cercare il tag richiesto." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4437,7 +4437,7 @@ msgstr "" "Per inserire un tag nella posizione del cursore nel file corrente, fare " "doppio clic sul tag nell'elenco. È anche possibile procedere come segue:" -#: C/gedit.xml:1967(para) +#: C/pluma.xml:1967(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4445,7 +4445,7 @@ msgstr "" "Per inserire un tag nel file corrente e spostare il focus dal riquadro " "laterale all'area di visualizzazione, premere Invio." -#: C/gedit.xml:1970(para) +#: C/pluma.xml:1970(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftPlugin Elenco tag, premere " "MaiuscInvio." -#: C/gedit.xml:1979(title) +#: C/pluma.xml:1979(title) msgid "User Name Plugin" msgstr "Plugin «Nome utente»" -#: C/gedit.xml:1980(para) +#: C/pluma.xml:1980(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -4467,7 +4467,7 @@ msgstr "" "Il plugin Nome utente inserisce il nome " "dell'utente corrente nel file." -#: C/gedit.xml:1981(para) +#: C/pluma.xml:1981(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User NameModificaInserisci il nome " "utente." -#: C/gedit.xml:1983(para) +#: C/pluma.xml:1983(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" "Questo plugin è solo un esempio per aiutare nella creazione di altri plugin. " "Per maggiori informazioni sulla creazione di plugin, consultare il sito web di " -"gedit." +"type=\"http\" url=\"http://live.gnome.org/Pluma/Plugins\">sito web di " +"pluma." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Milo Casagrande " #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "fatto" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "fatto" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "fatto" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "fatto" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "Per maggiori informazioni sulla configurazione dell'evidenziazione della " -#~ "sintassi, consultare ." +#~ "sintassi, consultare ." #~ msgid "Colors" #~ msgstr "Colori" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Selezionare l'opzione Usare i colori predefiniti del tema per usare i colori del tema predefinito nella finestra di testo " -#~ "di gedit." +#~ "di pluma." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Fare clic sul pulsante Colore normale del testo " #~ "per visualizzare la finestra di dialogo per la selezione dei colori. " #~ "Scegliere un colore per il testo da visualizzare nella finestra di testo " -#~ "di gedit." +#~ "di pluma." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Fare clic sul pulsante Colore di sfondo per " #~ "visualizzare la finestra di dialogo per la selezione dei colori. " #~ "Selezionare un colore di sfondo per la finestra di testo di " -#~ "gedit." +#~ "pluma." #~ msgid "" #~ "Click on the Selected text color color button to " diff --git a/help/ja/figures/gedit_window.png b/help/ja/figures/pluma_window.png similarity index 100% rename from help/ja/figures/gedit_window.png rename to help/ja/figures/pluma_window.png diff --git a/help/ja/ja.po b/help/ja/ja.po index c99c458..7c2cb9b 100755 --- a/help/ja/ja.po +++ b/help/ja/ja.po @@ -1,10 +1,10 @@ -# gedit/help ja.po. +# pluma/help ja.po. # # Mitsuya Shibata , 2008. # msgid "" msgstr "" -"Project-Id-Version: gedit help 2.24\n" +"Project-Id-Version: pluma help 2.24\n" "POT-Creation-Date: 2008-05-12 19:08+0000\n" "PO-Revision-Date: 2008-10-13 08:08+0900\n" "Last-Translator: Mitsuya Shibata \n" @@ -94,340 +94,340 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1289(None) +#: C/pluma.xml:1289(None) msgid "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" msgstr "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1308(None) +#: C/pluma.xml:1308(None) msgid "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" msgstr "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1326(None) +#: C/pluma.xml:1326(None) msgid "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" msgstr "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1344(None) +#: C/pluma.xml:1344(None) msgid "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" msgstr "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "gedit マニュアル" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "pluma マニュアル" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE ドキュメンテーション プロジェクト" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "ショートカットキーテーブルの追加" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java デスクトップシステム ドキュメンテーションチーム" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." +"Cicek provided information from earlier revisions of the pluma application." msgstr "" -"Cicek 氏より、旧リビジョンの gedit アプリケーションについて情報を提供していた" +"Cicek 氏より、旧リビジョンの pluma アプリケーションについて情報を提供していた" "だきました。" -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "謝辞" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George 氏よりプラグインについて情報を提供していただきました。" -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit マニュアル V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma マニュアル V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "2002 年 3 月" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE ドキュメンテーションチーム" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit マニュアル V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma マニュアル V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "2002 年 6 月" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit マニュアル V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma マニュアル V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "2002 年 8 月" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit マニュアル V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma マニュアル V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "2002 年 9 月" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit マニュアル V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma マニュアル V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "2003 年 1 月" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit マニュアル V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma マニュアル V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "2003 年 3 月" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit マニュアル V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma マニュアル V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "2003 年 9 月" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit マニュアル V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma マニュアル V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "2004 年 3 月" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit マニュアル V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma マニュアル V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "2006 年 6 月" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit マニュアル V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma マニュアル V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE ドキュメンテーションチーム" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "このマニュアルは gedit のバージョン 2.16 について説明します。" +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "このマニュアルは pluma のバージョン 2.16 について説明します。" -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "フィードバック" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"geditアプリケーションまたはこのマニュアルに関してバグやご意見をご報告いただく" +"plumaアプリケーションまたはこのマニュアルに関してバグやご意見をご報告いただく" "場合は、「MATE フィード" "バックページ」を参照してください。" -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit は印刷やスペル・チェック、検索、強調表示といった基本的な機能を兼ね備えた、" +"pluma は印刷やスペル・チェック、検索、強調表示といった基本的な機能を兼ね備えた、" " MATE デスクトップのテキスト・エディタです。さらに、プラグインを導入することで" "より強力な機能を利用することもできます。" -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "text editor" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "概要" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"gedit はテキストファイルを作成・編集するための" +"pluma はテキストファイルを作成・編集するための" "アプリケーションです。" -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"gedit はより単純に、より簡単に使えるように作られて" +"pluma はより単純に、より簡単に使えるように作られて" "います。テキスト編集に関する複雑な作業については、強力なプラグイン" "を導入することで、補うことができます。" -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "基本的な使用方法" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "gedit を起動する" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "pluma を起動する" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "以下の方法で gedit を起動してください。" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "以下の方法で pluma を起動してください。" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "アプリケーションメニュー" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -435,64 +435,64 @@ msgstr "" "アクセサリテキスト・" "エディタを選択します。" -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "コマンドライン" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "次のコマンドを実行します: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "次のコマンドを実行します: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "初期設定のままファイル・マネージャからテキストドキュメントを開いた場合、" -"gedit が起動し、テキストの内容を表示するでしょう。" +"pluma が起動し、テキストの内容を表示するでしょう。" -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "gedit ウィンドウ" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "pluma ウィンドウ" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"gedit を起動すると、次のウィンドウが表示されます。" +"pluma を起動すると、次のウィンドウが表示されます。" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "gedit ウィンドウ" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "pluma ウィンドウ" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "gedit のメインウィンドウを表示。" +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "pluma のメインウィンドウを表示。" -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"gedit ウィンドウの構成要素は次のとおりです。" +"pluma ウィンドウの構成要素は次のとおりです。" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "メニューバー" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"メニューバー上のメニューには、gedit でファイルを操" +"メニューバー上のメニューには、pluma でファイルを操" "作するために必要なコマンドがすべて含まれています。" -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "ツールバー" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -500,35 +500,35 @@ msgstr "" "ツールバーには、メニューバーからアクセスできるコマンドの一部の機能が含まれて" "います。" -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "表示領域" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "表示領域には、編集中のファイルのテキストが表示されます。" -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "ステータスバー" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"ステータスバーには、gedit で実行中の操作に関する情" +"ステータスバーには、pluma で実行中の操作に関する情" "報や、選択中のメニュー項目に関する説明が表示されます。また、以下の情報も" "表示されます。" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "カーソルの位置:現在カーソルがある、行番号および列番号を表示します。" -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -540,11 +540,11 @@ msgstr "" "ステータスバーに上書きと表示されます。編集モードを切り替える" "には、Insertキーを押してください。" -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "サイド・ペイン" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -552,7 +552,7 @@ msgstr "" "サイド・ペインには現在開いているドキュメントや、プラグインによるさまざまな" "情報が表示されます。" -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Pane表示サイド・ペインを選択してください。" -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "ボトム・ペイン" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -574,7 +574,7 @@ msgstr "" "ボトム・ペインは Python コンソールプラグインのような" "プログラミングツールの出力を表示するために使われます。" -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom Pane表示ボトム・ペインを選択してください。" -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"gedit ウィンドウ内で右クリックすると、ポップアップ" +"pluma ウィンドウ内で右クリックすると、ポップアップ" "メニューが表示されます。 ポップアップメニューからは、使用頻度の高いテキスト編集" "コマンドを実行できます。" -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"他の MATE アプリケーションと同様に、 gedit の" +"他の MATE アプリケーションと同様に、 pluma の" "コマンドは、メニューやツールバー、ショートカットキーなどさまざまな方法で" "実行できます。すべてのアプリケーションで共通なショートカットキーの一覧は、" "ユーザーガイドに掲載されています。" -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "コマンドラインから gedit を起動する" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "コマンドラインから pluma を起動する" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"コマンドラインから gedit を起動し、単一のファイ" +"コマンドラインから pluma を起動し、単一のファイ" "ル、または複数のファイルを開くことができます。コマンドラインから複数のファイ" "ルを開くには、次のコマンドを入力して Enter キーを押してください。" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "ファイル名の代わりに、URI を指定することもできます。" -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"コマンドラインから gedit を実行する方法について" -"は、gedit1pluma を実行する方法について" +"は、pluma1 を参照してください。" -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "ファイルの操作" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "新しいファイルを作成する" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "新しいファイルを作成するには、ファイル新規を選択します。" -" gedit ウィンドウに新規の何も書かれていないファイルが" +" pluma ウィンドウに新規の何も書かれていないファイルが" "表示されます。" -#: C/gedit.xml:346(title) C/gedit.xml:1690(title) +#: C/pluma.xml:346(title) C/pluma.xml:1690(title) msgid "Opening a File" msgstr "ファイルを開く" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "ファイルを開くには、ファイル" "開くを選択してファイルを開くダイアログを表示させます。開きたいファイルを選択して、" -"開くをクリックします。選択したファイルが geditをクリックします。選択したファイルが pluma ウィンドウに表示されます。" -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "最近開いたファイルを表示するには。" -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -699,25 +699,25 @@ msgstr "" "表示されます。ツールバーの アイコンをクリックすることで、" "最近編集したファイルを表示することもできます。" -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"gedit では複数のファイルを開くこともできます。" +"pluma では複数のファイルを開くこともできます。" "その場合、一つのウィンドウ内に複数のタブにわかれて、それぞれのファイルが" -"表示されます。より詳しいことは、を参照してください。" +"表示されます。より詳しいことは、を参照してください。" -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "ファイルを保存する" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "ファイルの保存方法は次のとおりです。" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -726,7 +726,7 @@ msgstr "" "ファイル保存を選択してください。" -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave Asを選択します。別名で保存ダイアログにファイル名を" "入力し、保存をクリックします。" -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"gedit で現在開いている全てのファイルを保存するには、" +"pluma で現在開いている全てのファイルを保存するには、" "ドキュメント全て保存" "を選択します。" -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"gedit で現在開いている全てのファイルを閉じるには、" +"pluma で現在開いている全てのファイルを閉じるには、" "ドキュメント全て閉じる" "を選択します。" -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "URI からファイルを開く" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -770,7 +770,7 @@ msgstr "" "URI (Uniform Resource Identifier) からファイルを開くには、以下の操作" "を行います。" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -780,11 +780,11 @@ msgstr "" "guimenuitem>を選択し、場所を開く " "ダイアログを表示します。" -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "開きたいファイルの URI を入力します。" -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -792,11 +792,11 @@ msgstr "" "文字のエンコーディングから、開きたいファイルの文字コード" "を選択します。" -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "開くをクリックします。" -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -806,7 +806,7 @@ msgstr "" "literal>、 ftp:file:、および" " mate-vfs でサポートしている全ての形式です。" -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -818,66 +818,66 @@ msgstr "" "可能です。全ての FTP サーバがリモートファイルの保存をサポートしているわけでは" "ないので、FTP からファイルを開いた場合も、読み込み専用となります。" -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "設定エディタを利用すれば" -"FTP サーバへの保存も利用可能になります。/apps/gedit-2/preferences/" +"FTP サーバへの保存も利用可能になります。/apps/pluma-2/preferences/" "editor/save/writable_vfs_schemes キーを変更してください。" "ただしこれはエラーの原因にもなります。" -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "タブを利用する" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"複数のファイルを開いた場合、gedit は" +"複数のファイルを開いた場合、pluma は" "表示領域の上にドキュメントごとのタブを表示します。" "別のドキュメントを表示するには、このタブをクリックしてください。" -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"あるドキュメントを別の gedit ウィンドウに移動したい" +"あるドキュメントを別の pluma ウィンドウに移動したい" "場合は、そのドキュメントが表示されているタブを、移動したいウィンドウまで" "ドラッグしてください。" -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"あるドキュメントを新しい gedit ウィンドウで開きたい" +"あるドキュメントを新しい pluma ウィンドウで開きたい" "場合は、そのタブをデスクトップ上の何もないところへ移動するか、" "ドキュメント新しいウィンドウへ移動" "を選択してください。" -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "テキストの操作" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "テキストを編集する" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "ファイルのテキストを編集する方法は次のとおりです。" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -888,7 +888,7 @@ msgstr "" "には、キーボード上の矢印キーで移動するか、マウスを使って入力したい場所をクリック" "してください。" -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopy編集コピーを選択してください。" -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCut編集切り取り" "を選択してください。" -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDelete編" "集削除を選択してください。" -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "現在のカーソルの位置にクリップボードの内容を挿入するには、" "編集貼り付けを選択してください。実際にテキストを貼り付けるには、事前に gedit" +"menuchoice>を選択してください。実際にテキストを貼り付けるには、事前に pluma" " もしくは他のアプリケーション上で、コピーもしくは切り取りを行っておく" "必要があります。" -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -938,11 +938,11 @@ msgstr "" "ファイル内のすべてのテキストを選択するには、編集全て選択を選択してください。" -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "元に戻すもしくはやり直す" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -954,31 +954,31 @@ msgstr "" "逆に元に戻した操作をやり直したい場合は、編集<" "guimenuitem>やり直すを選択してください。" -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "文字列の検索・置換" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"gedit には文字列を検索するための二つの方法が" +"pluma には文字列を検索するための二つの方法が" "存在します。特定の文字列を検索したい場合は検索ダイアログを、" "入力にあわせて即座に検索したい場合はインクリメンタル検索" "を利用できます。" -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "文字列を検索する" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "ファイル内の特定の文字列を検索するには、次のようにします。" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -986,30 +986,30 @@ msgstr "" "検索検索を選択して、検索ダイアログを表示します。" -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "検索する文字列フィールドに、検索したい文字列を入力します。" "改行やタブなど特別な文字も入力できます。詳しいことは" -"を参照してください。" +"を参照してください。" -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "検索をクリックすると、現在のカーソルの位置より後ろにある、" -"入力した文字列と一致する最初の文字列が検索されます。gedit " +"入力した文字列と一致する最初の文字列が検索されます。pluma " "が文字列を発見した場合、最初の文字列を選択状態にします。他の場所で一致した文字列については" "強調表示されます。" -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next検索前を検索を選択します。" -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1035,7 +1035,7 @@ msgstr "" "検索前を検索" "を選択することで、一致した文字列間を移動できます。" -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlight強調表示のクリアを選択してください。" -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "インクリメンタル検索" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1058,7 +1058,7 @@ msgstr "" "インクリメンタル検索は、キーボードからの文字の入力にあわせてリアルタイムに" "検索する機能です(いくつかのウェブブラウザに搭載されている検索機能に似ています)。" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1068,7 +1068,7 @@ msgstr "" "guimenu>インクリメンタル検索" "を選択してください。すると、表示領域の上に検索ボックスが表示されます。" -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1077,7 +1077,7 @@ msgstr "" "一致した文字列が強調表示され、カーソルの場所から一番最初に一致された文字列が選択" "状態になります。" -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftGを押すと、一つ前の一致文字列に移動します。" -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." msgstr "" "矢印キーやマウスホイールを使っても、一致文字列間を移動できます。" -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "文字列を置換する" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" msgstr "" "ファイル内の特定の文字列を検索し、別の文字列に置換するには、次のようにします。" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1115,17 +1115,17 @@ msgstr "" "検索置換を選択して置換 ダイアログを表示します。" -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "検索する文字列フィールドに、検索したい文字列を入力します。" "改行やタブなど特別な文字も入力できます。詳しいことは" -"を参照してください。" +"を参照してください。" -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1133,21 +1133,21 @@ msgstr "" "置換後の文字列フィールドに、検索した文字列の代わりに表示したい" "文字列を入力します。" -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "一致した文字列ごとに置換するかどうかを確認したい場合は、" -"検索をクリックしてください。gedit " +"検索をクリックしてください。pluma " "が文字列を発見した場合、その文字列が選択状態になります。置換" "をクリックすれば、選択した文字列が置換されます。次の一致文字列に移動するには、" "再び検索をクリックしてください。" -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1155,11 +1155,11 @@ msgstr "" "ドキュメントにある全ての一致文字列を置換するには、全て置換をクリックしてください。" -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "検索・置換オプション" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1167,7 +1167,7 @@ msgstr "" "検索ダイアログと置換ダイアログ" "では、以下のオプションを指定できます。" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1179,7 +1179,7 @@ msgstr "" "大/小文字を区別するが選択されている状態では、" "\"TEXT\" を検索しても \"text\" に一致しません。" -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1190,7 +1190,7 @@ msgstr "" "一部のみ一致した文字列は無視します。例えば単語全体にマッチさせる" "が選択されている状態では、\"text\" を検索しても \"texture\" に一致しません。" -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1198,7 +1198,7 @@ msgstr "" "前方へ検索するオプションを選択すると、現在のカーソル一に対して" "ドキュメントの前の方へ検索を行います。" -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1206,11 +1206,11 @@ msgstr "" "折り返しも対象にするオプションを選択すると、ファイルの最後" "まで検索を行った後、再びファイルの最初から検索を行います。" -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "特殊文字" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1218,35 +1218,35 @@ msgstr "" "エスケープ文字を使うことで、検索・置換の際に以下のような特殊文字を" "使うことができます。" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "改行を意味します。" -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "タブ文字を意味します。" -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "復帰 (CR: Carriage Return) を意味します。" -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1260,11 +1260,11 @@ msgstr "" "もしバックスラッシュからなる文字列を検索したい場合は、倍の数のバックスラッシュを" "入力する必要があります。" -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "カーソルを指定行へ移動する" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line検索指定行へジャンプを選択してください。表示領域の上に行番号ボックスが表示されます。" -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1282,7 +1282,7 @@ msgstr "" "移動したい行番号の入力を開始すると、その数字に合わせてドキュメントが自動的に" "スクロールします。" -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1290,15 +1290,15 @@ msgstr "" "ボックスを消してカーソルの移動を確定したい場合は、" "Enterキーを押してください。" -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "印刷" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "ページオプションを設定する" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1308,7 +1308,7 @@ msgstr "" "guimenu>ページ設定を選択し、" "ページの設定ダイアログを開きます。" -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1316,27 +1316,27 @@ msgstr "" "ページの設定ダイアログでは、以下のオプションを" "指定できます。" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "全般タブ" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "構文の強調表示" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "このオプションを選択した場合、構文の強調表示も印刷に反映されます。構文の強調表示" -"機能については、を参照してください。" +"機能については、を参照してください。" -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "ページのヘッダ" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1344,11 +1344,11 @@ msgstr "" "このオプションを選択した場合、ページごとにヘッダが印刷されます。ヘッダの内容を" "設定することはできません。" -#: C/gedit.xml:571(guilabel) C/gedit.xml:1178(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1178(guilabel) msgid "Line Numbers" msgstr "行番号" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1356,7 +1356,7 @@ msgstr "" "行番号を印刷するオプションを選択した場合、ファイルの" "行番号も併せて印刷されます。" -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1365,11 +1365,11 @@ msgstr "" "行番号を付与する間隔では、行番号の印刷頻度、例えば 5 行ごと" "や 10 行ごとなどを指定できます。" -#: C/gedit.xml:578(guilabel) C/gedit.xml:1171(guilabel) C/gedit.xml:1786(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1171(guilabel) C/pluma.xml:1786(para) msgid "Text Wrapping" msgstr "テキストの折り返し" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1379,7 +1379,7 @@ msgstr "" "印刷する際に、必要に応じて文字単位で文字列の改行を行います。行番号を印刷する場合は、" "改行の前後を含めて 1 行として扱います。" -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1387,15 +1387,15 @@ msgstr "" "単語を二行以上に分割しないオプションを選択すると、" "印刷時に単語単位で折り返しを行います。" -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "フォント" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "本文" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1403,19 +1403,19 @@ msgstr "" "このボタンをクリックして、ドキュメント本文の印刷に使用するフォントを選" "択します。" -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "行番号" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "このボタンをクリックして、行番号の印刷に使用するフォントを選択します。" -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "ヘッダとフッタ" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1423,46 +1423,46 @@ msgstr "" "このボタンをクリックして、ファイルのヘッダとフッタの印刷に使用するフォントを選択し" "ます。" -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"gedit からファイルを印刷するときに使用するフォント" +"pluma からファイルを印刷するときに使用するフォント" "を初期設定に戻したい場合は、デフォルトに戻す" "をクリックしてください。" -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "ドキュメントを印刷する" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"gedit を使って、次の印刷操作を実行できます。" +"pluma を使って、次の印刷操作を実行できます。" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "ドキュメントをプリンタで印刷する。" -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "印刷コマンドの実行結果をファイルに出力する。" -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"ファイルに出力する場合、gedit は印刷用のフォーマット" +"ファイルに出力する場合、pluma は印刷用のフォーマット" "をファイルに送信します。最も一般的なフォーマットは、PostScript と PDF (Portable " "Document Format) です。" -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Previewファイル印刷プレビューを選択してください。" -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint印刷を選択" "して、印刷ダイアログを表示します。" -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "" "印刷ダイアログでは、次の印刷オプションを指定できます。" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "ジョブタブ" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "印刷するページ" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "次のいずれかのオプションを選択して、出力するページ数を指定します。" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "全て" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "ファイルの全ページを出力します。" -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "範囲" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1523,11 +1523,11 @@ msgstr "" "指定した行のみを出力します。FromTo " "にて、出力する行範囲を指定します。" -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "選択" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1535,17 +1535,17 @@ msgstr "" "選択したテキストだけを出力します。 このオプションは、テキストを選択している場" "合にのみ有効です。" -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "コピー" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." msgstr "コピーの数を使って、出力部数を指定します。" -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1553,30 +1553,30 @@ msgstr "" "ファイルを複数の部数出力する場合に、ページを揃える" "オプションを選択すると、各部ごとにページ順に並んだ結果が出力されます。" -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "プリンタタブ" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "プリンタ" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "" "ドロップダウンリストからファイルを出力するプリンタを選択します。" -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "設定" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "ドロップダウンリストからプリンタの設定を選択します。" -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1585,25 +1585,25 @@ msgstr "" "プリンタの設定を行うには、設定するをクリックしてください。" "プリンタがその機能をサポートしていれば、両面印刷、印刷スケジュールなどを設定できます。" -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "場所" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "ドロップダウンリストから印刷データの送り先を選択します。" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "CUPSプリンタに出力します。" -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1611,23 +1611,23 @@ msgstr "" "選択したプリンタがCUPSプリンタの場合、このドロップダウンリストには" "CUPSのみが表示されます。" -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "プリンタに出力します。" -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "ファイル" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "PostScript ファイルに出力します。" -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1635,56 +1635,56 @@ msgstr "" "別名で保存をクリックし、表示されるダイアログに" " PostScript ファイルの名前と場所を指定します。" -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "カスタム" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "印刷コマンドを直接記述します。" -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "" "テキストボックスに、引数も含めたコマンドを入力してください。" -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "状態" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "現在のバージョンではサポートされていません。" -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "タイプ" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "コメント" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "用紙タブ" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "用紙サイズ" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "ドロップダウンリストから印刷用紙のサイズを選択します。" -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "幅" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1692,37 +1692,37 @@ msgstr "" "用紙の幅を指定します。用紙サイズの単位を変更するには、隣のドロップダウンリス" "トを使用します。" -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "高さ" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "用紙の高さを指定します。" -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "フィード方向" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "ドロップダウンリストからプリンタ内の用紙の向きを選択します。" -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "ページの向き" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "ドロップダウンリストからページの向きを選択します。" -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "レイアウト" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1730,35 +1730,35 @@ msgstr "" "ドロップダウンリストからページレイアウトを選択します。プレ" "ビュー領域には、選択した各レイアウトのプレビューが表示されます。" -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "用紙トレイ" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "ドロップダウンリストから用紙のトレイを選択します。" -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "プログラミング機能" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"gedit プラグインによって、さまざまなプログラミング向け機能" +"pluma プラグインによって、さまざまなプログラミング向け機能" "が提供されています。例えば、タグの一覧プラグインを使えば、マークアップ言語ごとに、" -"よく使われるタグの一覧を表示してくれます。詳しいことは、を参照してください。" -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "構文の強調表示" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1766,31 +1766,31 @@ msgstr "" "構文の強調表示を使うと、ソースコードがその構文にしたがって色分けされ、より" "読みやすくなります。" -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit は、そのドキュメントの種類から適切な" +"pluma は、そのドキュメントの種類から適切な" "文法を選択します。構文の強調表示モードで利用する文法を選択しなおすには、" "表示強調表示モードを選択し、以下の項目から適切なものを選んでください。" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "なし" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "強調表示を行いません。" -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "ソース" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1798,11 +1798,11 @@ msgstr "" "ソースコード向け強調表示を行います。ソース" "サブメニューから、ソースコードの種類を選択してください。" -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "マークアップ" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1810,11 +1810,11 @@ msgstr "" "マークアップ言語向け強調表示を行います。マークアップ" "サブメニューから、マークアップ言語の種類を選択してください。" -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "スクリプト" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1822,11 +1822,11 @@ msgstr "" "スクリプト言語向け強調表示を行います。スクリプト" "サブメニューから、スクリプト言語の種類を選択してください。" -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "その他" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1834,39 +1834,39 @@ msgstr "" "その他のファイル向け強調表示を行います。その他" "サブメニューから、ファイルの種類を選択してください。" -#: C/gedit.xml:841(para) +#: C/pluma.xml:841(para) msgid "" "For more information about how to configure syntax highlighting, see ." +"linkend=\"pluma-prefs-syntax\"/>." msgstr "" "構文の強調表示機能の設定方法については、 を参照してください。" +"linkend=\"pluma-prefs-syntax\"/> を参照してください。" -#: C/gedit.xml:847(title) +#: C/pluma.xml:847(title) msgid "Piping the Output of a Command to a File" msgstr "コマンドの出力をファイルにパイプする" -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"gedit を使って、コマンド出力をテキストファイルに" +"pluma を使って、コマンド出力をテキストファイルに" "直接渡す(パイプする)ことができます。 例えば、ls コマンドの" -"出力をテキストファイルに渡すには、ls | gedit と入力して、" +"出力をテキストファイルに渡すには、ls | pluma と入力して、" "Enter キーを押します。" -#: C/gedit.xml:849(para) +#: C/pluma.xml:849(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "ls コマンドの結果が新しいテキストファイルに出力され、" -"gedit ウィンドウに表示されます。" +"pluma ウィンドウに表示されます。" -#: C/gedit.xml:850(para) +#: C/pluma.xml:850(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1874,21 +1874,21 @@ msgstr "" "別の方法として、外部ツールプラグインを使えば、" "コマンドの出力結果を現在開いているファイルに渡すことができます。" -#: C/gedit.xml:856(title) +#: C/pluma.xml:856(title) msgid "Shortcut Keys" msgstr "ショートカットキー" -#: C/gedit.xml:857(para) +#: C/pluma.xml:857(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "ショートカットキーを使えば、よく使う作業をマウスやメニューを使うよりも" -"素早く実行できます。以下の表は、gedit で" +"素早く実行できます。以下の表は、pluma で" "利用できるすべてのショートカットキーの一覧です。" -#: C/gedit.xml:858(para) +#: C/pluma.xml:858(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1897,398 +1897,398 @@ msgstr "" "guide?keyboard-skills\">デスクトップユーザーガイドを参照してください。" #. ============= Tabs ======================== -#: C/gedit.xml:861(bridgehead) C/gedit.xml:1209(guilabel) +#: C/pluma.xml:861(bridgehead) C/pluma.xml:1209(guilabel) msgid "Tabs" msgstr "タブ" -#: C/gedit.xml:862(para) +#: C/pluma.xml:862(para) msgid "Shortcuts for tabs:" msgstr "タブ用のショートカット" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Shortcut Key" msgstr "ショートカットキー" -#: C/gedit.xml:872(para) C/gedit.xml:916(para) C/gedit.xml:972(para) -#: C/gedit.xml:1020(para) C/gedit.xml:1048(para) C/gedit.xml:1095(para) -#: C/gedit.xml:1138(para) +#: C/pluma.xml:872(para) C/pluma.xml:916(para) C/pluma.xml:972(para) +#: C/pluma.xml:1020(para) C/pluma.xml:1048(para) C/pluma.xml:1095(para) +#: C/pluma.xml:1138(para) msgid "Command" msgstr "コマンド" -#: C/gedit.xml:877(para) C/gedit.xml:881(para) +#: C/pluma.xml:877(para) C/pluma.xml:881(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:878(para) +#: C/pluma.xml:878(para) msgid "Switches to the next tab to the left." msgstr "左のタブに移動します。" -#: C/gedit.xml:882(para) +#: C/pluma.xml:882(para) msgid "Switches to the next tab to the right." msgstr "右のタブに移動します。" -#: C/gedit.xml:885(para) C/gedit.xml:949(para) +#: C/pluma.xml:885(para) C/pluma.xml:949(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:886(para) +#: C/pluma.xml:886(para) msgid "Close tab." msgstr "タブを閉じます。" -#: C/gedit.xml:889(para) +#: C/pluma.xml:889(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:890(para) +#: C/pluma.xml:890(para) msgid "Save all tabs." msgstr "全てのタブを保存します。" -#: C/gedit.xml:893(para) +#: C/pluma.xml:893(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:894(para) +#: C/pluma.xml:894(para) msgid "Close all tabs." msgstr "全てのタブを閉じます。" -#: C/gedit.xml:897(para) +#: C/pluma.xml:897(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:898(para) +#: C/pluma.xml:898(para) msgid "Jump to nth tab." msgstr "n 番目のタブに移動します。" #. ============= Files ======================== -#: C/gedit.xml:905(bridgehead) +#: C/pluma.xml:905(bridgehead) msgid "Files" msgstr "ファイル" -#: C/gedit.xml:906(para) +#: C/pluma.xml:906(para) msgid "Shortcuts for working with files:" msgstr "ファイル用のショートカット" -#: C/gedit.xml:921(para) +#: C/pluma.xml:921(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:922(para) +#: C/pluma.xml:922(para) msgid "Create a new document." msgstr "新しいドキュメントを作成します。" -#: C/gedit.xml:925(para) +#: C/pluma.xml:925(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:926(para) +#: C/pluma.xml:926(para) msgid "Open a document." msgstr "ドキュメントを開きます。" -#: C/gedit.xml:929(para) +#: C/pluma.xml:929(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:930(para) +#: C/pluma.xml:930(para) msgid "Open a location." msgstr "指定した場所にあるファイルを開きます。" -#: C/gedit.xml:933(para) +#: C/pluma.xml:933(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:934(para) +#: C/pluma.xml:934(para) msgid "Save the current document to disk." msgstr "現在のドキュメントをファイルに保存します。" -#: C/gedit.xml:937(para) +#: C/pluma.xml:937(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:938(para) +#: C/pluma.xml:938(para) msgid "Save the current document with a new filename." msgstr "現在のドキュメントを新しいファイル名で保存します。" -#: C/gedit.xml:941(para) +#: C/pluma.xml:941(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:942(para) +#: C/pluma.xml:942(para) msgid "Print the current document." msgstr "現在のドキュメントを印刷します。" -#: C/gedit.xml:945(para) +#: C/pluma.xml:945(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:946(para) +#: C/pluma.xml:946(para) msgid "Print preview." msgstr "印刷プレビューを表示します。" -#: C/gedit.xml:950(para) +#: C/pluma.xml:950(para) msgid "Close the current document." msgstr "現在のドキュメントを閉じます。" -#: C/gedit.xml:953(para) +#: C/pluma.xml:953(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:954(para) -msgid "Quit Gedit." -msgstr "gedit を終了します。" +#: C/pluma.xml:954(para) +msgid "Quit Pluma." +msgstr "pluma を終了します。" #. ============= Edit ======================= -#: C/gedit.xml:961(bridgehead) C/gedit.xml:1507(guimenu) -#: C/gedit.xml:1513(guimenu) C/gedit.xml:1519(guimenu) -#: C/gedit.xml:1525(guimenu) +#: C/pluma.xml:961(bridgehead) C/pluma.xml:1507(guimenu) +#: C/pluma.xml:1513(guimenu) C/pluma.xml:1519(guimenu) +#: C/pluma.xml:1525(guimenu) msgid "Edit" msgstr "編集" -#: C/gedit.xml:962(para) +#: C/pluma.xml:962(para) msgid "Shortcuts for editing documents:" msgstr "編集用のショートカット" -#: C/gedit.xml:977(para) +#: C/pluma.xml:977(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:978(para) +#: C/pluma.xml:978(para) msgid "Undo the last action." msgstr "最後に行った作業を元に戻します。" -#: C/gedit.xml:981(para) +#: C/pluma.xml:981(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:982(para) +#: C/pluma.xml:982(para) msgid "Redo the last undone action ." msgstr "最後に元に戻した作業をやり直します。" -#: C/gedit.xml:985(para) +#: C/pluma.xml:985(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:986(para) +#: C/pluma.xml:986(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "選択したテキストもしくは領域を切り取り、クリップボードに移動します。" -#: C/gedit.xml:989(para) +#: C/pluma.xml:989(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:990(para) +#: C/pluma.xml:990(para) msgid "Copy the selected text or region onto the clipboard." msgstr "選択したテキストもしくは領域をクリップボードにコピーします。" -#: C/gedit.xml:993(para) +#: C/pluma.xml:993(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:994(para) +#: C/pluma.xml:994(para) msgid "Paste the contents of the clipboard." msgstr "クリップボードの内容を貼り付けます。" -#: C/gedit.xml:997(para) +#: C/pluma.xml:997(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:998(para) +#: C/pluma.xml:998(para) msgid "Select all." msgstr "全てを選択状態にします。" -#: C/gedit.xml:1001(para) +#: C/pluma.xml:1001(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1002(para) +#: C/pluma.xml:1002(para) msgid "Delete current line." msgstr "現在カーソルがある行を削除します。" #. ============= Panes ======================= -#: C/gedit.xml:1009(bridgehead) +#: C/pluma.xml:1009(bridgehead) msgid "Panes" msgstr "ペイン" -#: C/gedit.xml:1010(para) +#: C/pluma.xml:1010(para) msgid "Shortcuts for showing and hiding panes:" msgstr "ペイン用のショートカット" -#: C/gedit.xml:1025(para) +#: C/pluma.xml:1025(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1026(para) +#: C/pluma.xml:1026(para) msgid "Show/hide the side pane." msgstr "サイド・ペインの表示/非表示を切り替えます。" -#: C/gedit.xml:1029(para) +#: C/pluma.xml:1029(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1030(para) +#: C/pluma.xml:1030(para) msgid "Show/hide the bottom pane." msgstr "ボトム・ペインの表示/非表示を切り替えます。" #. ============= Search ======================= -#: C/gedit.xml:1037(bridgehead) +#: C/pluma.xml:1037(bridgehead) msgid "Search" msgstr "検索" -#: C/gedit.xml:1038(para) +#: C/pluma.xml:1038(para) msgid "Shortcuts for searching:" msgstr "検索用のショートカット" -#: C/gedit.xml:1053(para) +#: C/pluma.xml:1053(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1054(para) +#: C/pluma.xml:1054(para) msgid "Find a string." msgstr "文字列を検索します。" -#: C/gedit.xml:1057(para) +#: C/pluma.xml:1057(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1058(para) +#: C/pluma.xml:1058(para) msgid "Find the next instance of the string." msgstr "次の一致文字列に移動します。" -#: C/gedit.xml:1061(para) +#: C/pluma.xml:1061(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1062(para) +#: C/pluma.xml:1062(para) msgid "Find the previous instance of the string." msgstr "前の一致文字列に移動します。" -#: C/gedit.xml:1065(para) +#: C/pluma.xml:1065(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1066(para) +#: C/pluma.xml:1066(para) msgid "Interactive search." msgstr "インクリメンタル検索を行います。" -#: C/gedit.xml:1069(para) +#: C/pluma.xml:1069(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1070(para) +#: C/pluma.xml:1070(para) msgid "Search and replace." msgstr "文字列を検索し置換します。" -#: C/gedit.xml:1073(para) +#: C/pluma.xml:1073(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1074(para) +#: C/pluma.xml:1074(para) msgid "Clear highlight." msgstr "一致した文字列の強調表示を解除します。" -#: C/gedit.xml:1077(para) +#: C/pluma.xml:1077(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1078(para) +#: C/pluma.xml:1078(para) msgid "Goto line." msgstr "指定した行番号へ移動します。" #. ============= Tools ======================= -#: C/gedit.xml:1084(bridgehead) +#: C/pluma.xml:1084(bridgehead) msgid "Tools" msgstr "ツール" -#: C/gedit.xml:1085(para) +#: C/pluma.xml:1085(para) msgid "Shortcuts for tools:" msgstr "ツール用のショートカット" -#: C/gedit.xml:1100(para) +#: C/pluma.xml:1100(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1101(para) +#: C/pluma.xml:1101(para) msgid "Check spelling (with plugin)." msgstr "スペル・チェックを行います(プラグインを使用します)。" -#: C/gedit.xml:1104(para) +#: C/pluma.xml:1104(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1105(para) +#: C/pluma.xml:1105(para) msgid "Remove trailing spaces (with plugin)." msgstr "文字列の終端にある空白を削除します(プラグインを使用します)。" -#: C/gedit.xml:1108(para) +#: C/pluma.xml:1108(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1109(para) +#: C/pluma.xml:1109(para) msgid "Indent (with plugin)." msgstr "指定した行をインデントします(プラグインを使用します)。" -#: C/gedit.xml:1112(para) +#: C/pluma.xml:1112(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1113(para) +#: C/pluma.xml:1113(para) msgid "Remove Indent (with plugin)." msgstr "指定した行のインデントを削除します(プラグインを使用します)。" -#: C/gedit.xml:1116(para) +#: C/pluma.xml:1116(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1117(para) +#: C/pluma.xml:1117(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "現在のディレクトリで \"make\" を実行します(プラグインを使用します)。" -#: C/gedit.xml:1120(para) +#: C/pluma.xml:1120(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1121(para) +#: C/pluma.xml:1121(para) msgid "Directory listing (with plugin)." msgstr "ディレクトリを表示します(プラグインを使用します)。" #. ============= Help ======================= -#: C/gedit.xml:1127(bridgehead) +#: C/pluma.xml:1127(bridgehead) msgid "Help" msgstr "ヘルプ" -#: C/gedit.xml:1128(para) +#: C/pluma.xml:1128(para) msgid "Shortcuts for help:" msgstr "ヘルプ用のショートカット" -#: C/gedit.xml:1143(para) +#: C/pluma.xml:1143(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1144(para) -msgid "Open gedit's user manual." -msgstr "gedit のマニュアルを開きます。" +#: C/pluma.xml:1144(para) +msgid "Open pluma's user manual." +msgstr "pluma のマニュアルを開きます。" -#: C/gedit.xml:1156(title) +#: C/pluma.xml:1156(title) msgid "Preferences" msgstr "設定" -#: C/gedit.xml:1158(para) +#: C/pluma.xml:1158(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"gedit の設定を行うには、編" +"pluma の設定を行うには、編" "集設定を選択します。" "設定ダイアログには次のカテゴリがあります。" -#: C/gedit.xml:1168(title) +#: C/pluma.xml:1168(title) msgid "View Preferences" msgstr "表示" -#: C/gedit.xml:1173(para) +#: C/pluma.xml:1173(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2298,7 +2298,7 @@ msgstr "" "長い文字列がテキストウィンドウの端まで来たときに、文字単位で次の行に折り返します。" "これにより、水平方向のスクロールを避けることができます。" -#: C/gedit.xml:1174(para) +#: C/pluma.xml:1174(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2308,19 +2308,19 @@ msgstr "" "一つの単語が二行以上にまたがらないように折り返しが行われます。" "これにより、テキストが読みやすくなります。" -#: C/gedit.xml:1180(para) +#: C/pluma.xml:1180(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "行番号を表示するオプションを選択した場合、" -"gedit ウィンドウの左側に、行番号を表示します。" +"pluma ウィンドウの左側に、行番号を表示します。" -#: C/gedit.xml:1184(guilabel) +#: C/pluma.xml:1184(guilabel) msgid "Current Line" msgstr "カーソルがある行" -#: C/gedit.xml:1186(para) +#: C/pluma.xml:1186(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2328,11 +2328,11 @@ msgstr "" "カーソルのある行を強調表示するオプションを選択した場合、" "カーソルのある行の背景色が変わります。" -#: C/gedit.xml:1190(guilabel) +#: C/pluma.xml:1190(guilabel) msgid "Right Margin" msgstr "右マージン" -#: C/gedit.xml:1192(para) +#: C/pluma.xml:1192(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2340,18 +2340,18 @@ msgstr "" "右マージンを表示するオプションを選択した場合、右マージンの位置が" "垂直線で表示されます。" -#: C/gedit.xml:1193(para) +#: C/pluma.xml:1193(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." msgstr "" "右マージンを表す列番号を使って、垂直線の表示位置を指定できます。" -#: C/gedit.xml:1197(guilabel) +#: C/pluma.xml:1197(guilabel) msgid "Bracket Matching" msgstr "対応するカッコ" -#: C/gedit.xml:1199(para) +#: C/pluma.xml:1199(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2360,34 +2360,34 @@ msgstr "" "対応するカッコを強調表示するオプションを選択した場合、" "カーソルの位置にカッコ文字が存在した場合、それに対応するカッコが強調表示されます。" -#: C/gedit.xml:1207(title) +#: C/pluma.xml:1207(title) msgid "Editor Preferences" msgstr "エディタ" -#: C/gedit.xml:1211(para) +#: C/pluma.xml:1211(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "タブの幅を使って、Tab キーを押したときに" -"gedit が挿入する空白の幅を指定することができます。" +"pluma が挿入する空白の幅を指定することができます。" -#: C/gedit.xml:1212(para) +#: C/pluma.xml:1212(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "タブの代わりにスペースを挿入するオプションを選択した場合、" -"Tab キーを押したときにgedit " +"Tab キーを押したときにpluma " "はタブ文字ではなく、適切な数の半角空白文字を挿入します。" -#: C/gedit.xml:1215(guilabel) +#: C/pluma.xml:1215(guilabel) msgid "Auto Indentation" msgstr "自動インデント" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2395,11 +2395,11 @@ msgstr "" "自動インデントを有効にするオプションを選択した場合、" "改行すると元の行のインデントと同じ位置までインデントを行います。" -#: C/gedit.xml:1219(guilabel) +#: C/pluma.xml:1219(guilabel) msgid "File Saving" msgstr "ファイルの保存" -#: C/gedit.xml:1221(para) +#: C/pluma.xml:1221(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2409,7 +2409,7 @@ msgstr "" "ファイルを保存するたびに、バックアップ用のコピーも生成します。バックアップ用の" "コピーファイルは、ファイル名の末尾に ~ が付きます。" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2418,68 +2418,68 @@ msgstr "" "ファイルを自動的に保存する間隔 ... 分ごとオプションを使えば、" "現在のファイルを定期的に保存できます。ファイルを保存したい時間間隔を指定してください。" -#: C/gedit.xml:1229(title) +#: C/pluma.xml:1229(title) msgid "Font & Colors Preferences" msgstr "フォントと色" -#: C/gedit.xml:1231(guilabel) +#: C/pluma.xml:1231(guilabel) msgid "Font" msgstr "フォント" -#: C/gedit.xml:1233(para) +#: C/pluma.xml:1233(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "システムの固定幅フォントを使うオプションを選択した場合、" -"gedit テキストウィンドウの文字列には、システムの" +"pluma テキストウィンドウの文字列には、システムの" "標準フォントが使われます。" -#: C/gedit.xml:1234(para) +#: C/pluma.xml:1234(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" -"エディタのフォントフィールドには、geditエディタのフォントフィールドには、pluma が使う表示フォントの種類が表示されます。ボタンをクリックすれば、" "使用したいフォントの種類やスタイル、サイズを指定できます。" -#: C/gedit.xml:1237(guilabel) +#: C/pluma.xml:1237(guilabel) msgid "Colors" msgstr "色のスキーム" -#: C/gedit.xml:1239(para) +#: C/pluma.xml:1239(para) msgid "" "Select the Use default theme colors option to use the " -"default theme colors in the gedit text window." +"default theme colors in the pluma text window." msgstr "" "デフォルトのテーマカラーを使用するオプションが選択されている場合、" -"gedit テキストウィンドウには、デフォルトのテーマカラー" +"pluma テキストウィンドウには、デフォルトのテーマカラー" "が使用されます。" -#: C/gedit.xml:1240(para) +#: C/pluma.xml:1240(para) msgid "" "Click on the Normal text color color button to " "display the color selector dialog. Select a color to use to display normal " -"text in the gedit text window." +"text in the pluma text window." msgstr "" "通常のテキストの色ボタンをクリックすると、色の選択" -"ダイアログが表示されます。gedit テキストウィンドウ" +"ダイアログが表示されます。pluma テキストウィンドウ" "の通常のテキストで利用したい色を選択してください。" -#: C/gedit.xml:1241(para) +#: C/pluma.xml:1241(para) msgid "" "Click on the Background color color button to display " "the color selector dialog. Select a background color for the " -"gedit text window." +"pluma text window." msgstr "" "背景色ボタンをクリックすると、色の選択" -"ダイアログが表示されます。gedit テキストウィンドウ" +"ダイアログが表示されます。pluma テキストウィンドウ" "の背景で利用したい色を選択してください。" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "Click on the Selected text color color button to " "display the color selector dialog. Select a color to use to display selected " @@ -2488,7 +2488,7 @@ msgstr "" "選択したテキストの色ボタンをクリックすると、色の選択" "ダイアログが表示されます。選択したテキストで利用したい色を選択してください。" -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "Click on the Selection color color button to display " "the color selector dialog. Select a background color to use to highlight a " @@ -2497,90 +2497,90 @@ msgstr "" "選択した色ボタンをクリックすると、色の選択" "ダイアログが表示されます。選択したテキストの背景色として利用したい色を選択してください。" -#: C/gedit.xml:1251(title) +#: C/pluma.xml:1251(title) msgid "Syntax Highlighting Preferences" msgstr "構文の強調表示" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Enable syntax highlighting" msgstr "構文の強調表示を有効にする" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Select this option to highlight the syntax of the text that you edit." msgstr "このオプションを選択した場合、編集中のドキュメントの構文を強調表示します。" -#: C/gedit.xml:1258(guilabel) +#: C/pluma.xml:1258(guilabel) msgid "Highlight mode" msgstr "強調表示モード" -#: C/gedit.xml:1260(para) +#: C/pluma.xml:1260(para) msgid "Use this drop-down list to select a syntax mode to configure." msgstr "ドロップダウンリストから構文の種類を選択します。" -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Elements" msgstr "要素" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Use this list box to select a syntax element to configure." msgstr "ドロップダウンリストから構文要素を選択します。" -#: C/gedit.xml:1268(term) +#: C/pluma.xml:1268(term) msgid "Format buttons" msgstr "形式ボタン" -#: C/gedit.xml:1270(para) +#: C/pluma.xml:1270(para) msgid "" "Use the following buttons to change the format of the selected syntax " "element:" msgstr "" "構文要素ごとに、以下の形式を選択することができます。" -#: C/gedit.xml:1278(para) +#: C/pluma.xml:1278(para) msgid "Button" msgstr "ボタン" -#: C/gedit.xml:1280(para) +#: C/pluma.xml:1280(para) msgid "Format" msgstr "形式" -#: C/gedit.xml:1292(phrase) +#: C/pluma.xml:1292(phrase) msgid "Shows icon for bold format." msgstr "太字形式のアイコン" -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "Bold" msgstr "太字" -#: C/gedit.xml:1310(phrase) +#: C/pluma.xml:1310(phrase) msgid "Shows icon for italic format." msgstr "イタリック形式のアイコン" -#: C/gedit.xml:1316(para) +#: C/pluma.xml:1316(para) msgid "Italic" msgstr "イタリック" -#: C/gedit.xml:1328(phrase) +#: C/pluma.xml:1328(phrase) msgid "Shows icon for underline." msgstr "下線形式のアイコン" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "Underline" msgstr "下線" -#: C/gedit.xml:1346(phrase) +#: C/pluma.xml:1346(phrase) msgid "Shows icon for strikethrough." msgstr "取り消し線形式のアイコン" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "Strikethrough" msgstr "取り消し線" -#: C/gedit.xml:1362(guilabel) +#: C/pluma.xml:1362(guilabel) msgid "Foreground" msgstr "前景色" -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" "Select this option to change the font color of the selected syntax element. " "Click on the color button to display the color selector dialog, then select " @@ -2589,11 +2589,11 @@ msgstr "" "このオプションを選択すると、選択した構文要素の文字色を変更できます。" "カラーボタンをクリックして、色の選択ダイアログを表示し、設定したい文字色を選択してください。" -#: C/gedit.xml:1367(guilabel) +#: C/pluma.xml:1367(guilabel) msgid "Background" msgstr "背景色" -#: C/gedit.xml:1369(para) +#: C/pluma.xml:1369(para) msgid "" "Select this option to change the background color of the selected syntax " "element. Click on the color button to display the color selector dialog, " @@ -2602,11 +2602,11 @@ msgstr "" "このオプションを選択すると、選択した構文要素の背景色を変更できます。" "カラーボタンをクリックして、色の選択ダイアログを表示し、設定したい背景色を選択してください。" -#: C/gedit.xml:1372(guibutton) +#: C/pluma.xml:1372(guibutton) msgid "Reset to Default" msgstr "初期設定に戻す" -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" "Click on this button to reset the foreground color and background color of " "the selected syntax element to the default values." @@ -2614,32 +2614,32 @@ msgstr "" "このボタンをクリックすると、選択している構文要素の前景色と背景色の" "設定が、初期状態に戻ります。" -#: C/gedit.xml:1381(title) +#: C/pluma.xml:1381(title) msgid "Plugins Preferences" msgstr "プラグイン" -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"プラグインを使えば、より多彩な機能を gedit に" +"プラグインを使えば、より多彩な機能を pluma に" "追加できます。プラグインについての詳しい情報と、内蔵のプラグインについては、" -"を参照してください。" +"を参照してください。" -#: C/gedit.xml:1387(title) +#: C/pluma.xml:1387(title) msgid "Enabling a Plugin" msgstr "プラグインを有効化する" -#: C/gedit.xml:1388(para) +#: C/pluma.xml:1388(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"gedit プラグインを有効化するには、以下の操作を実行してください。" +"pluma プラグインを有効化するには、以下の操作を実行してください。" -#: C/gedit.xml:1391(para) C/gedit.xml:1412(para) C/gedit.xml:1736(para) +#: C/pluma.xml:1391(para) C/pluma.xml:1412(para) C/pluma.xml:1736(para) msgid "" "Choose EditPreferences." @@ -2647,17 +2647,17 @@ msgstr "" "編集設定を選択します。" -#: C/gedit.xml:1394(para) C/gedit.xml:1415(para) C/gedit.xml:1739(para) +#: C/pluma.xml:1394(para) C/pluma.xml:1415(para) C/pluma.xml:1739(para) msgid "Select the Plugins tab." msgstr "プラグインタブを選択します。" -#: C/gedit.xml:1397(para) +#: C/pluma.xml:1397(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "利用したいプラグインの名前の横にあるチェックボックスを選択します。" -#: C/gedit.xml:1400(para) C/gedit.xml:1421(para) +#: C/pluma.xml:1400(para) C/pluma.xml:1421(para) msgid "" "Click Close to close the Preferences dialog." @@ -2665,104 +2665,104 @@ msgstr "" "閉じるをクリックして、設定ダイアログ" "を閉じます。" -#: C/gedit.xml:1407(title) +#: C/pluma.xml:1407(title) msgid "Disabling a Plugin" msgstr "プラグインを無効化する" -#: C/gedit.xml:1408(para) +#: C/pluma.xml:1408(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"gedit を終了しても、プラグインは有効化されたままです。" +"pluma を終了しても、プラグインは有効化されたままです。" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"gedit プラグインを無効化するには、以下の操作を実行してください。" +"pluma プラグインを無効化するには、以下の操作を実行してください。" -#: C/gedit.xml:1418(para) +#: C/pluma.xml:1418(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" "無効化したいプラグインの名前の横にあるチェックボックスを非選択状態にします。" -#: C/gedit.xml:1430(title) +#: C/pluma.xml:1430(title) msgid "Plugins" msgstr "プラグイン" -#: C/gedit.xml:1432(title) +#: C/pluma.xml:1432(title) msgid "Working with Plugins" msgstr "プラグインを使用する" -#: C/gedit.xml:1433(para) +#: C/pluma.xml:1433(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" "プラグインとはアプリケーションの機能を強化する補完プログラムであり、" -"プラグインを導入することで、gedit " -"に多様な機能を追加することができます。例えば、gedit " +"プラグインを導入することで、pluma " +"に多様な機能を追加することができます。例えば、pluma " "メニューに新しい項目や新機能が追加されます。" -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"いくつかのプラグインが gedit に内蔵されています。" +"いくつかのプラグインが pluma に内蔵されています。" "また、追加でインストールすることも可能です。サードパーティのプラグインについては、" -"gedit のウェブサイトに一覧が存在します。" +"pluma のウェブサイトに一覧が存在します。" -#: C/gedit.xml:1436(para) +#: C/pluma.xml:1436(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "プラグインを有効化・無効化する方法や、どのプラグインが有効化されているかを" -"確認する方法については、プラグイン設定" +"確認する方法については、プラグイン設定" "の項目を参照してください。" -#: C/gedit.xml:1437(para) +#: C/pluma.xml:1437(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"以下のプラグインは gedit に内蔵されています。" +"以下のプラグインは pluma に内蔵されています。" -#: C/gedit.xml:1443(para) +#: C/pluma.xml:1443(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"大/小文字の変更大/小文字の変更は、選択したテキストの大/小文字を変更します。" -#: C/gedit.xml:1446(para) +#: C/pluma.xml:1446(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"ドキュメントの" +"ドキュメントの" "統計は、ドキュメントの行数や単語数、文字数を表示します。" -#: C/gedit.xml:1449(para) +#: C/pluma.xml:1449(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"外部ツールgedit から外部コマンドを" +"外部ツールpluma から外部コマンドを" "実行します。" -#: C/gedit.xml:1452(para) +#: C/pluma.xml:1452(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2770,93 +2770,93 @@ msgstr "" "ファイル参照ペインはサイド・ペインから、ファイルや" "フォルダの閲覧が可能になります。" -#: C/gedit.xml:1455(para) +#: C/pluma.xml:1455(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"行のインデント行のインデントは指定した行にインデントを追加・削除します。" -#: C/gedit.xml:1458(para) +#: C/pluma.xml:1458(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"日付/時刻の" +"日付/時刻の" "挿入はドキュメントに現在の日付や時刻を追加します。" -#: C/gedit.xml:1461(para) +#: C/pluma.xml:1461(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"モードラインモードラインは、個々のドキュメントごとに設定を保存したり、" "EmacsKate、" "Vim 風のモードラインをサポートします。" -#: C/gedit.xml:1464(para) +#: C/pluma.xml:1464(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Python コンソールPython コンソールは、プログラミング言語である Python のコマンドを実行します。" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"コード・スニペットコード・スニペットは、よく使われる文字列を保存し、手軽にドキュメントに挿入できます。" -#: C/gedit.xml:1470(para) +#: C/pluma.xml:1470(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"並び替え" +"並び替え" "は、選択した行を並び替えることができます。" -#: C/gedit.xml:1473(para) +#: C/pluma.xml:1473(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"スペル・チェッカスペル・チェッカは、選択したテキストのスペルを修正したり、ドキュメント内の" "誤字を自動的に発見します。" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"タグの一覧タグの一覧は、HTML やその他の言語で一般的に使われるタグをサイド・ペインから簡単に" "挿入することができます。" -#: C/gedit.xml:1479(para) +#: C/pluma.xml:1479(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"ユーザ名ユーザ名は、ドキュメントに現在のユーザ名を挿入します。" -#: C/gedit.xml:1486(title) +#: C/pluma.xml:1486(title) msgid "Change Case Plugin" msgstr "大/小文字の変更プラグイン" -#: C/gedit.xml:1487(para) +#: C/pluma.xml:1487(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2864,7 +2864,7 @@ msgstr "" "大/小文字の変更プラグインは選択した文字列の、" "大文字・小文字を切り替えます。" -#: C/gedit.xml:1488(para) +#: C/pluma.xml:1488(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2872,52 +2872,52 @@ msgstr "" "大/小文字の変更プラグインを有効にすると、" "以下の項目が編集メニューに追加されます。" -#: C/gedit.xml:1498(para) +#: C/pluma.xml:1498(para) msgid "Menu Item" msgstr "項目" -#: C/gedit.xml:1500(para) +#: C/pluma.xml:1500(para) msgid "Action" msgstr "動作" -#: C/gedit.xml:1502(para) +#: C/pluma.xml:1502(para) msgid "Example" msgstr "例" -#: C/gedit.xml:1508(guisubmenu) C/gedit.xml:1514(guisubmenu) -#: C/gedit.xml:1520(guisubmenu) C/gedit.xml:1526(guisubmenu) +#: C/pluma.xml:1508(guisubmenu) C/pluma.xml:1514(guisubmenu) +#: C/pluma.xml:1520(guisubmenu) C/pluma.xml:1526(guisubmenu) msgid "Change Case" msgstr "大/小文字の変更" -#: C/gedit.xml:1508(guimenuitem) +#: C/pluma.xml:1508(guimenuitem) msgid "All Upper Case" msgstr "全て大文字にする" -#: C/gedit.xml:1509(para) +#: C/pluma.xml:1509(para) msgid "Change each character to uppercase." msgstr "選択中の文字を全て大文字に変更します。" -#: C/gedit.xml:1510(para) +#: C/pluma.xml:1510(para) msgid "This text becomes THIS TEXT" msgstr "This textTHIS TEXT" -#: C/gedit.xml:1514(guimenuitem) +#: C/pluma.xml:1514(guimenuitem) msgid "All Lower Case" msgstr "全て小文字にする" -#: C/gedit.xml:1515(para) +#: C/pluma.xml:1515(para) msgid "Change each character to lowercase." msgstr "選択中の文字を全て小文字に変更します。" -#: C/gedit.xml:1516(para) +#: C/pluma.xml:1516(para) msgid "This Text becomes this text" msgstr "This Textthis text" -#: C/gedit.xml:1520(guimenuitem) +#: C/pluma.xml:1520(guimenuitem) msgid "Invert Case" msgstr "大/小文字を逆にする" -#: C/gedit.xml:1521(para) +#: C/pluma.xml:1521(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." @@ -2925,27 +2925,27 @@ msgstr "" "選択中の全ての小文字を大文字に変更し、逆に選択中の" "全ての大文字を小文字に変更します。" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "This Text becomes tHIS tEXT" msgstr "This TexttHIS tEXT" -#: C/gedit.xml:1526(guimenuitem) +#: C/pluma.xml:1526(guimenuitem) msgid "Title Case" msgstr "先頭文字を大文字にする" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "Change the first character of each word to uppercase." msgstr "各単語の最初の文字を大文字に変更します。" -#: C/gedit.xml:1528(para) +#: C/pluma.xml:1528(para) msgid "this text becomes This Text" msgstr "this textThis Text" -#: C/gedit.xml:1537(title) +#: C/pluma.xml:1537(title) msgid "Document Statistics Plugin" msgstr "ドキュメントの統計プラグイン" -#: C/gedit.xml:1538(para) +#: C/pluma.xml:1538(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2959,7 +2959,7 @@ msgstr "" "に表示されます。ドキュメントの統計プラグインを利用するには、以下の手順を" "実行します。" -#: C/gedit.xml:1540(para) +#: C/pluma.xml:1540(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statisticsダイアログを表示します。ドキュメントの統計" "ダイアログには次の情報が表示されます。" -#: C/gedit.xml:1543(para) +#: C/pluma.xml:1543(para) msgid "Number of lines in the current document." msgstr "現在のドキュメントの行数" -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "Number of words in the current document." msgstr "現在のドキュメントの単語数" -#: C/gedit.xml:1549(para) +#: C/pluma.xml:1549(para) msgid "Number of characters, including spaces, in the current document." msgstr "現在の文書の文字数(空白を含む)" -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "Number of characters, not including spaces, in the current document." msgstr "現在の文書の文字数(空白を除く)" -#: C/gedit.xml:1555(para) +#: C/pluma.xml:1555(para) msgid "Number of bytes in the current document." msgstr "現在の文書のバイト数" -#: C/gedit.xml:1560(para) +#: C/pluma.xml:1560(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" "ドキュメントの統計ダイアログを開いたまま、" -"gedit 中のファイルを編集し続けることもできます。" +"pluma 中のファイルを編集し続けることもできます。" "ドキュメントの統計ダイアログの情報を更新するには、" "更新をクリックしてください。" -#: C/gedit.xml:1567(title) +#: C/pluma.xml:1567(title) msgid "External Tools Plugin" msgstr "外部ツールプラグイン" -#: C/gedit.xml:1568(para) +#: C/pluma.xml:1568(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "外部ツールプラグインを使えば、" -"gedit から外部コマンドを実行することができます。" +"pluma から外部コマンドを実行することができます。" "コマンドにデータを渡して、その出力結果を取得したり(例えば、sed)、独立した外部コマンドを実行したり(例えば、make)といったことが可能になります。" -#: C/gedit.xml:1569(para) +#: C/pluma.xml:1569(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Toolsツール" "メニューに表示されます。" -#: C/gedit.xml:1572(title) +#: C/pluma.xml:1572(title) msgid "Built-in Commands" msgstr "組み込みコマンド" -#: C/gedit.xml:1573(para) +#: C/pluma.xml:1573(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3043,40 +3043,40 @@ msgstr "" "以下のコマンドは、外部ツールプラグインを" "有効にした段階で利用できます。" -#: C/gedit.xml:1575(term) +#: C/pluma.xml:1575(term) msgid "Build" msgstr "ビルド" -#: C/gedit.xml:1577(para) +#: C/pluma.xml:1577(para) msgid "" "Runs make in the current document's directory." msgstr "" "編集中のドキュメントが存在するディレクトリで、make " "を実行します。" -#: C/gedit.xml:1580(term) +#: C/pluma.xml:1580(term) msgid "Directory Listing" msgstr "ディレクトリの内容を表示" -#: C/gedit.xml:1582(para) +#: C/pluma.xml:1582(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" "編集中のドキュメントが存在するディレクトリの内容を、新しいドキュメントに出力します。" -#: C/gedit.xml:1585(term) +#: C/pluma.xml:1585(term) msgid "Environment Variables" msgstr "環境変数" -#: C/gedit.xml:1587(para) +#: C/pluma.xml:1587(para) msgid "Displays the environment variables list in the bottom pane." msgstr "ボトム・ペインに環境変数の一覧を表示します。" -#: C/gedit.xml:1590(term) +#: C/pluma.xml:1590(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3084,19 +3084,19 @@ msgstr "" "編集中のドキュメントが存在するディレクトリ中の全てのファイルに対して検索を行います。" "結果はボトム・ペインに表示されます。" -#: C/gedit.xml:1595(term) +#: C/pluma.xml:1595(term) msgid "Remove Trailing Spaces" msgstr "末尾の空白を削除する" -#: C/gedit.xml:1597(para) +#: C/pluma.xml:1597(para) msgid "Removes all spaces from the end of lines in the document." msgstr "ドキュメント中の各行末尾にある空白を削除します。" -#: C/gedit.xml:1604(title) +#: C/pluma.xml:1604(title) msgid "Defining a Command" msgstr "コマンドの定義" -#: C/gedit.xml:1605(para) +#: C/pluma.xml:1605(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3104,7 +3104,7 @@ msgstr "" "外部コマンドを新規に追加するには、ツール" "外部ツールを選択してください。" -#: C/gedit.xml:1606(para) +#: C/pluma.xml:1606(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3114,44 +3114,44 @@ msgstr "" "新規をクリックします。実行したいコマンドにあわせて、" "以下の情報を入力してください。" -#: C/gedit.xml:1608(term) +#: C/pluma.xml:1608(term) msgid "Description" msgstr "説明" -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "メニュー上でコマンドを選択したときに、ステータスバーに表示される説明です。" -#: C/gedit.xml:1613(term) +#: C/pluma.xml:1613(term) msgid "Accelerator" msgstr "ショートカット・キー" -#: C/gedit.xml:1615(para) +#: C/pluma.xml:1615(para) msgid "Enter a keyboard shortcut for the command." msgstr "キーボードショートカットを行うためのキーコマンドを入力してください。" -#: C/gedit.xml:1618(term) +#: C/pluma.xml:1618(term) msgid "Commands" msgstr "コマンド" -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "実行したいコマンドを入力します。コマンドに現在編集しているドキュメントの情報などを" -"渡すために、gedit 環境変数を使うこともできます。" -"詳しいことは" +"渡すために、pluma 環境変数を使うこともできます。" +"詳しいことは" "を参照してください。" -#: C/gedit.xml:1623(term) +#: C/pluma.xml:1623(term) msgid "Input" msgstr "入力" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3159,11 +3159,11 @@ msgstr "" "コマンドに(標準入力として)与える内容を指定します。" "編集中のドキュメント全体や、選択中のテキスト、行、単語などを指定できます。" -#: C/gedit.xml:1628(term) +#: C/pluma.xml:1628(term) msgid "Output" msgstr "出力" -#: C/gedit.xml:1630(para) +#: C/pluma.xml:1630(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3173,11 +3173,11 @@ msgstr "" "に出力、編集中のドキュメントの末尾に追記する、カーソル位置に挿入する、" "選択部分を置き換える、ドキュメント全体を置き換えるなどを指定できます。" -#: C/gedit.xml:1633(term) +#: C/pluma.xml:1633(term) msgid "Applicability" msgstr "適用範囲" -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3185,22 +3185,22 @@ msgstr "" "コマンドで扱えるドキュメントの種類を指定します。保存されているドキュメントか" "そうでないか、ローカルのドキュメントかリモートのドキュメントかなどから選べます。" -#: C/gedit.xml:1643(title) +#: C/pluma.xml:1643(title) msgid "Editing and Removing Tools" msgstr "ツールの編集・削除" -#: C/gedit.xml:1644(para) +#: C/pluma.xml:1644(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "既存のツールを編集するには、一覧から編集したいツールを選択し、設定を変更してください。" -#: C/gedit.xml:1645(para) +#: C/pluma.xml:1645(para) msgid "To rename a tool, click it again in the list." msgstr "" "ツールの名前を変更するには、一覧にて名前を二度クリックしてください。" -#: C/gedit.xml:1646(para) +#: C/pluma.xml:1646(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3208,7 +3208,7 @@ msgstr "" "組み込みコマンドに加えた変更を元に戻したい場合は、" "元に戻すをクリックしてください。" -#: C/gedit.xml:1647(para) +#: C/pluma.xml:1647(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3218,11 +3218,11 @@ msgstr "" "削除をクリックしてください。ただし組み込みコマンドは" "削除できません。削除できるのは、新規に作成したコマンドのみです。" -#: C/gedit.xml:1651(title) +#: C/pluma.xml:1651(title) msgid "Variables" msgstr "変数" -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3230,39 +3230,39 @@ msgstr "" "コマンドフィールドでコマンドを定義する際に、" "以下の変数を利用することができます。" -#: C/gedit.xml:1655(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1655(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1658(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1658(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1661(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1661(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1664(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1664(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1667(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1667(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1670(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1670(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1673(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1673(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1680(title) +#: C/pluma.xml:1680(title) msgid "File Browser Plugin" msgstr "ファイル参照ペインプラグイン" -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3270,7 +3270,7 @@ msgstr "" "ファイル参照ペインプラグインを使えば、サイド・ペイン" "にてファイルやフォルダを参照することができ、簡単にファイルを開くことができます。" -#: C/gedit.xml:1682(para) +#: C/pluma.xml:1682(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3280,11 +3280,11 @@ msgstr "" "表示サイド・ペイン" "を選択し、サイド・ペインの下部にあるファイル・ブラウザアイコンをクリックしてください。" -#: C/gedit.xml:1684(title) +#: C/pluma.xml:1684(title) msgid "Browsing your Files" msgstr "ファイルを表示する" -#: C/gedit.xml:1685(para) +#: C/pluma.xml:1685(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3292,7 +3292,7 @@ msgstr "" "初期状態のファイル・ブラウザタブでは、ファイル・マネージャでブックマークされている" "内容が表示されています。中身を表示するには、それぞれの項目をダブルクリックしてください。" -#: C/gedit.xml:1686(para) +#: C/pluma.xml:1686(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3300,7 +3300,7 @@ msgstr "" "親フォルダを表示するには、ドロップダウンリストから選択するか、ファイル・ブラウザ" "ツールバー上の上矢印をクリックしてください。" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3309,19 +3309,19 @@ msgstr "" "編集中のドキュメントが存在するフォルダを表示するには、ファイルの一覧で右クリックし、" "ドキュメントのルートにするを選択してください。" -#: C/gedit.xml:1691(para) +#: C/pluma.xml:1691(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"ファイルを gedit で開くには、ファイルの一覧から" +"ファイルを pluma で開くには、ファイルの一覧から" "開きたいファイルをダブルクリックしてください。" -#: C/gedit.xml:1694(title) +#: C/pluma.xml:1694(title) msgid "Creating Files and Folders" msgstr "ファイルやフォルダを作成する" -#: C/gedit.xml:1695(para) +#: C/pluma.xml:1695(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3330,7 +3330,7 @@ msgstr "" "を作成するには、そのファイル一覧上で右クリックし、" "新しいファイルを選択してください。" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3339,11 +3339,11 @@ msgstr "" "を作成するには、そのファイル一覧上で右クリックし、" "新しいフォルダを選択してください。" -#: C/gedit.xml:1701(title) +#: C/pluma.xml:1701(title) msgid "Indent Lines Plugin" msgstr "行のインデントプラグイン" -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3351,11 +3351,11 @@ msgstr "" "行のインデントプラグインは、行の先頭に" "空白を追加・削除します。" -#: C/gedit.xml:1703(para) +#: C/pluma.xml:1703(para) msgid "To indent or unindent text, perform the following steps:" msgstr "インデントやインデントの解除を行うには、次の手順を実行します。" -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3363,7 +3363,7 @@ msgstr "" "インデントを設定する行を選択します。1 行にインデントを設定したり削除したりす" "るには、その行にカーソルを置きます。同じ行であればカーソルの位置はどこでも構いません。" -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "To indent the text, choose EditIndent." @@ -3371,7 +3371,7 @@ msgstr "" "インデントするには、編集" "インデントを選択します。" -#: C/gedit.xml:1713(para) +#: C/pluma.xml:1713(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3379,21 +3379,21 @@ msgstr "" "インデントを削除するには、編集" "インデント解除を選択します。" -#: C/gedit.xml:1718(para) +#: C/pluma.xml:1718(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "インデント幅やタブ文字/空白文字のどちらを使うかといった設定は、エディタ設定の" "タブ文字に依存します。詳しいことは、" -"を参照してください。" +"を参照してください。" -#: C/gedit.xml:1723(title) +#: C/pluma.xml:1723(title) msgid "Insert Date/Time Plugin" msgstr "日付/時間の挿入プラグイン" -#: C/gedit.xml:1724(para) +#: C/pluma.xml:1724(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3403,7 +3403,7 @@ msgstr "" "に原罪の日付や時刻を挿入します。日付/時間の挿入プラグインを使用するには、" "次の手順を実行します。" -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "" "Choose EditInsert Date and Time." @@ -3411,14 +3411,14 @@ msgstr "" "編集日付/時間の挿入を選択します。" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "自動的に指定した形式で日付/時刻を挿入するよう日付/時刻の挿入プラグインで設定" @@ -3427,30 +3427,30 @@ msgstr "" "クリックすれば、日付と時刻の挿入ダイアログが閉じます。" "さらに現在編集中のファイルのカーソル位置に、日付/時刻が挿入されます。" -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"特定の日付/時間形式を gedit が使用する設定になって" +"特定の日付/時間形式を pluma が使用する設定になって" "いる場合は、日付と時刻の挿入ダイアログは表示されませ" "ん。日付/時間は、現在編集中のファイルのカーソル位置に自動的に挿入されます。" -#: C/gedit.xml:1733(title) +#: C/pluma.xml:1733(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "日付/時間の挿入プラグインの設定" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "日付/時間の挿入プラグインを設定するには、次の手順を実行します。" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "Select the Insert Date/Time plugin." msgstr "日付/時間の挿入 プラグインを選択します。" -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3458,11 +3458,11 @@ msgstr "" "プラグインの設定をクリックして、" "日付/時間挿入プラグインの設定ダイアログを表示します。" -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Select one of the options, as follows:" msgstr "次のようにオプションを 1 つ選択します。" -#: C/gedit.xml:1750(para) +#: C/pluma.xml:1750(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3470,24 +3470,24 @@ msgstr "" "日付/時間を挿入するたびに日付/時間の形式を指定したい場合は、フォーマット" "のためのプロンプトオプションを選択します。" -#: C/gedit.xml:1753(para) +#: C/pluma.xml:1753(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"gedit が提供する日付/時間形式の 1 つを毎回使用する" +"pluma が提供する日付/時間形式の 1 つを毎回使用する" "場合は、指定したフォーマットを使うオプションを選択後、" "一覧から適当な形式を選択します。このオプションを選択すると、" "編集日付/時刻の挿入を選択しても、日付/時間の形式を尋ねるダイアログは" "表示されません。" -#: C/gedit.xml:1756(para) +#: C/pluma.xml:1756(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3495,7 +3495,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3508,7 +3508,7 @@ msgstr "" "guimenuitem>を選択しても、日付/時間の形式を尋ねるダイアログは" "表示されません。" -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3516,7 +3516,7 @@ msgstr "" "OKをクリックして、日付/時間挿入プ" "ラグインの設定ダイアログを閉じます。" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3524,50 +3524,50 @@ msgstr "" "設定ダイアログを閉じるには、閉じるをクリックします。" -#: C/gedit.xml:1771(title) +#: C/pluma.xml:1771(title) msgid "Modelines Plugin" msgstr "モードラインプラグイン" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "モードラインプラグインを使えば、ドキュメントごと" "の設定を保存できます。モードラインとは" -" gedit がそのドキュメントを判別するための" +" pluma がそのドキュメントを判別するための" "テキストの先頭もしくは終端行を意味します。" -#: C/gedit.xml:1773(para) +#: C/pluma.xml:1773(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "" "モードラインを使えば、設定ダイアログで設定できる項目を上書きすることができます。" -#: C/gedit.xml:1774(para) +#: C/pluma.xml:1774(para) msgid "You can set the following preferences with modelines:" msgstr "モードラインでは以下の項目を設定できます。" -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "Tab width" msgstr "タブの幅" -#: C/gedit.xml:1780(para) +#: C/pluma.xml:1780(para) msgid "Indent width" msgstr "インデントの幅" -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "Insert spaces instead of tabs" msgstr "タブ文字の代わりに半角空白を使うかどうか" -#: C/gedit.xml:1789(para) +#: C/pluma.xml:1789(para) msgid "Right margin width" msgstr "右マージン幅" -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3577,11 +3577,11 @@ msgstr "" "application>、KateVim" " などのテキストエディタでも使われているモードラインをサポートしています。" -#: C/gedit.xml:1796(title) +#: C/pluma.xml:1796(title) msgid "Emacs Modelines" msgstr "Emacs モードライン" -#: C/gedit.xml:1797(para) +#: C/pluma.xml:1797(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3589,7 +3589,7 @@ msgstr "" "Emacs モードラインでは、ドキュメントの先頭" "二行を使って判別します。" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3602,11 +3602,11 @@ msgstr "" "GNU Emacs マニュアルを参照してください。" -#: C/gedit.xml:1801(title) +#: C/pluma.xml:1801(title) msgid "Kate Modelines" msgstr "Kate モードライン" -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3614,7 +3614,7 @@ msgstr "" "Kate モードラインでは、ドキュメントの先頭と終端の" "十行を使って判別します。" -#: C/gedit.xml:1803(para) +#: C/pluma.xml:1803(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3627,11 +3627,11 @@ msgstr "" "Kate のウェブサイトを参照してください。" -#: C/gedit.xml:1806(title) +#: C/pluma.xml:1806(title) msgid "Vim Modelines" msgstr "Vim モードライン" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3639,7 +3639,7 @@ msgstr "" "Vim モードラインでは、ドキュメントの先頭と終端の" "三行を使って判別します。" -#: C/gedit.xml:1808(para) +#: C/pluma.xml:1808(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3652,37 +3652,37 @@ msgstr "" "Vim のウェブサイトを参照してください。" -#: C/gedit.xml:1813(title) +#: C/pluma.xml:1813(title) msgid "Python Console Plugin" msgstr "Python コンソールプラグイン" -#: C/gedit.xml:1814(para) +#: C/pluma.xml:1814(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "Python コンソールプラグインを使えば、" -"gedit からプログラミング言語である Python の" +"pluma からプログラミング言語である Python の" "コマンドを実行できます。プラグインを有効にするとボトム・ペインにタブが追加されて、" "ここにコマンドプロンプトやその結果が出力されます。" -#: C/gedit.xml:1815(para) +#: C/pluma.xml:1815(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Python コンソールで入力されたコマンドは、実行前の確認が行われません。そのため、" -"無限ループなどを実行することで、gedit が停止" +"無限ループなどを実行することで、pluma が停止" "してしまう可能性もあります。" -#: C/gedit.xml:1819(title) +#: C/pluma.xml:1819(title) msgid "Snippets Plugin" msgstr "コード・スニペットプラグイン" -#: C/gedit.xml:1820(para) +#: C/pluma.xml:1820(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3692,7 +3692,7 @@ msgstr "" "文字列(スニペット)を保存し、手軽にドキュメントに" "挿入できます。" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3704,19 +3704,19 @@ msgstr "" "文字列を選択することができます。一部のスニペットは、全ての種類のドキュメントで" "利用できます。" -#: C/gedit.xml:1822(para) +#: C/pluma.xml:1822(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"gedit には数多くの組み込みスニペットが" +"pluma には数多くの組み込みスニペットが" "存在し、それを編集することも可能です。" -#: C/gedit.xml:1825(title) +#: C/pluma.xml:1825(title) msgid "Inserting Snippets" msgstr "スニペットの挿入" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3728,7 +3728,7 @@ msgstr "" "タブトリガは、一般的に挿入したいスニペットの一部の文字で構成されるか、" "より覚えやすい短い単語が選ばれています。" -#: C/gedit.xml:1827(para) +#: C/pluma.xml:1827(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3739,15 +3739,15 @@ msgstr "" "keycombo> は日本語入力のオン/オフが割り当てられていることがあるため、" "日本語入力の設定を変更しない限り使えない場合もあります。" -#: C/gedit.xml:1831(title) +#: C/pluma.xml:1831(title) msgid "Adding Snippets" msgstr "スニペットの追加" -#: C/gedit.xml:1832(para) +#: C/pluma.xml:1832(para) msgid "To create a new snippet, do the following:" msgstr "新規にスニペットを追加する方法は次のとおりです。" -#: C/gedit.xml:1835(para) +#: C/pluma.xml:1835(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3757,7 +3757,7 @@ msgstr "" "guimenuitem>を選択し、スニペットの管理ウィンドウ" "を開きます。" -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3769,19 +3769,19 @@ msgstr "" "場合は、一覧の先頭にある全般を選択します。標準状態では、現在編集中のドキュメント" "の種類が選択されています。" -#: C/gedit.xml:1841(para) +#: C/pluma.xml:1841(para) msgid "Click New. A new snippet appears in the list." msgstr "新規をクリックします。一覧の中に新しいスニペットの項目が現れます。" -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "Enter the following information for the new snippet:" msgstr "新しいスニペットに対して、以下の情報を入力してください。" -#: C/gedit.xml:1846(term) +#: C/pluma.xml:1846(term) msgid "Name" msgstr "名前" -#: C/gedit.xml:1848(para) +#: C/pluma.xml:1848(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3791,21 +3791,21 @@ msgstr "" "どういうものかを思い出すためだけに使われます。一覧の中でスニペットの名前をクリックすれば、" "名前を変更することができます。" -#: C/gedit.xml:1851(term) +#: C/pluma.xml:1851(term) msgid "Snippet text" msgstr "スニペットテキスト" -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "編集ボックスに、挿入したいスニペットの文字列を入力します。" -"特殊なコードも入力可能です。詳しいことは、を参照してください。" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3813,11 +3813,11 @@ msgstr "" "スニペットの管理ウィンドウを閉じることなく、ドキュメントウィンドウ" "に一旦戻って、そこから入力したい文字列をコピーすることも可能です。" -#: C/gedit.xml:1857(term) +#: C/pluma.xml:1857(term) msgid "Tab Trigger" msgstr "タブトリガ" -#: C/gedit.xml:1859(para) +#: C/pluma.xml:1859(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3825,7 +3825,7 @@ msgstr "" "タブ欄にタブトリガとなる文字列を入力します。これは、Tab キーを" "押した際に、どのスニペットに置き換えるべきかを識別するための文字列です。" -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3834,19 +3834,19 @@ msgstr "" "タブトリガは他のスニペットのタブトリガと重複できません。もし、入力した文字列が" "重複している場合は、タブの欄が赤く表示されます。" -#: C/gedit.xml:1863(term) +#: C/pluma.xml:1863(term) msgid "Shortcut key" msgstr "ショートカット・キー" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "スニペットを挿入するためのショートカット・キーを入力します。" -#: C/gedit.xml:1874(title) +#: C/pluma.xml:1874(title) msgid "Editing and Removing Snippets" msgstr "スニペットの編集・削除" -#: C/gedit.xml:1875(para) +#: C/pluma.xml:1875(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3854,11 +3854,11 @@ msgstr "" "特定のスニペットを編集するには、一覧からスニペットを選択後、表示される各設定を" "適宜修正してください。" -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "To rename a snippet, click it again in the list." msgstr "特定のスニペットの名前を編集するには、スニペットの名前を二度クリックしてください。" -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3866,7 +3866,7 @@ msgstr "" "一度編集した組み込みスニペットを元に戻すには、元に戻すをクリックしてください。" -#: C/gedit.xml:1878(para) +#: C/pluma.xml:1878(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3876,11 +3876,11 @@ msgstr "" "guibutton>をクリックしてください。組み込みスニペットは削除できません。" "自分で作ったスニペットのみ削除可能です。" -#: C/gedit.xml:1882(title) +#: C/pluma.xml:1882(title) msgid "Snippet Substitutions" msgstr "スニペット置換" -#: C/gedit.xml:1883(para) +#: C/pluma.xml:1883(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3889,15 +3889,15 @@ msgstr "" "文字列を挿入するだけでなく、スニペットには状況に合わせて変更可能な文字列を" "挿入したり、スニペット挿入後に修正が必要な場所を指定したりといったことが可能です。" -#: C/gedit.xml:1887(para) +#: C/pluma.xml:1887(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "スニペットテキストに、以下のコードを入力できます。" -#: C/gedit.xml:1889(term) +#: C/pluma.xml:1889(term) msgid "Tab placeholders" msgstr "タブコード" -#: C/gedit.xml:1891(para) +#: C/pluma.xml:1891(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3905,7 +3905,7 @@ msgstr "" "$n はタブコードを表します。" "n は 1 から始まるタブの番号です。" -#: C/gedit.xml:1892(para) +#: C/pluma.xml:1892(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3913,7 +3913,7 @@ msgstr "" "${n:default} は初期値付きのタブコードです。" -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3921,7 +3921,7 @@ msgstr "" "タブコードは、そのスニペットを挿入後に別の文字列を挿入する可能性がある場所を" "指定するコードです。" -#: C/gedit.xml:1894(para) +#: C/pluma.xml:1894(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3933,7 +3933,7 @@ msgstr "" "キーを押せば、次のタブ番号の位置に移動します。タブコードの番号は、" "Tab キーを押すことによって進む順番を指定します。" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3945,11 +3945,11 @@ msgstr "" "Tab キーを押した場合、スニペットで挿入された文字列の最後か、" "もし存在すれば終端コードの位置にカーソルが移動します。" -#: C/gedit.xml:1898(term) +#: C/pluma.xml:1898(term) msgid "Mirror placeholders" msgstr "ミラーコード" -#: C/gedit.xml:1900(para) +#: C/pluma.xml:1900(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3958,11 +3958,11 @@ msgstr "" "タブコード連続して記述すると、既に定義されたコードを複写します。これにより" "スニペットが数回現れる場面でも、入力は一度だけで済みます。" -#: C/gedit.xml:1903(term) +#: C/pluma.xml:1903(term) msgid "End placeholder" msgstr "終端コード" -#: C/gedit.xml:1905(para) +#: C/pluma.xml:1905(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3971,44 +3971,44 @@ msgstr "" "$0 は終端コードを表します。これはスニペットの末尾に記され、" "カーソルがスニペットの最後尾に移動する際に使われます。" -#: C/gedit.xml:1908(term) +#: C/pluma.xml:1908(term) msgid "Environmental variables" msgstr "環境変数" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "$PATH$HOME のような環境変数は" -"スニペットでも利用できます。gedit では" +"スニペットでも利用できます。pluma では" "以下の独自の環境変数も使用できます。" -#: C/gedit.xml:1912(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1912(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1914(para) +#: C/pluma.xml:1914(para) msgid "The currently selected text." msgstr "現在選択中の文字列を表します。" -#: C/gedit.xml:1917(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1917(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1919(para) +#: C/pluma.xml:1919(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "" "現在編集中のファイル名を表します。ドキュメントが未保存であれば、空文字となります。" -#: C/gedit.xml:1922(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1922(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1924(para) +#: C/pluma.xml:1924(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -4016,11 +4016,11 @@ msgstr "" "現在編注のファイル名の、拡張子を除いた部分を表します。ドキュメントが" "未保存であれば、空文字となります。" -#: C/gedit.xml:1927(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1927(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1929(para) +#: C/pluma.xml:1929(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4028,11 +4028,11 @@ msgstr "" "現在カーソルが存在する場所の単語を表します。この変数が使われたとき、" "現在の単語は、スニペットに置換されます。" -#: C/gedit.xml:1937(term) +#: C/pluma.xml:1937(term) msgid "Shell placeholders" msgstr "シェルコード" -#: C/gedit.xml:1939(para) +#: C/pluma.xml:1939(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4040,7 +4040,7 @@ msgstr "" "$(cmd) は端末内で" " cmd を実行した結果に置換されます。" -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4053,11 +4053,11 @@ msgstr "" " 1 以上の数字を割り当てます。$n " "を使えば、その番号の割り当てられたシェルコードと同じ出力結果を挿入できます。" -#: C/gedit.xml:1943(term) +#: C/pluma.xml:1943(term) msgid "Python placeholders" msgstr "Python コード" -#: C/gedit.xml:1945(para) +#: C/pluma.xml:1945(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4066,7 +4066,7 @@ msgstr "" "$<cmd> は Python インタプリタ" "内で cmd を実行した結果に置換されます。" -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4084,7 +4084,7 @@ msgstr "" "a,b:cmd>" -#: C/gedit.xml:1947(para) +#: C/pluma.xml:1947(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4092,11 +4092,11 @@ msgstr "" "他の Python スニペットで使っている変数を利用するには、その変数が" "グローバルとして定義されている必要があります。" -#: C/gedit.xml:1956(title) +#: C/pluma.xml:1956(title) msgid "Sort Plugin" msgstr "並び替えプラグイン" -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4104,7 +4104,7 @@ msgstr "" "並び替えプラグインは、選択した行をアルファベット順" "(文字コード順)に並べ替えます。" -#: C/gedit.xml:1958(para) +#: C/pluma.xml:1958(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4116,15 +4116,15 @@ msgstr "" "ファイル元に戻すを選択することで" "保存時の状態に戻すことができます。" -#: C/gedit.xml:1961(para) +#: C/pluma.xml:1961(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "並び替えプラグインを使用するには、次の手順を実行します。" -#: C/gedit.xml:1964(para) +#: C/pluma.xml:1964(para) msgid "Select the lines of text you want to sort." msgstr "並び替えたい行を選択します。" -#: C/gedit.xml:1966(para) +#: C/pluma.xml:1966(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4132,11 +4132,11 @@ msgstr "" "編集並び替えを選択して、並び替えダイアログを表示します。" -#: C/gedit.xml:1969(para) +#: C/pluma.xml:1969(para) msgid "Choose the options you want for the sort:" msgstr "並び替え作業で使用したいオプションを選択します。" -#: C/gedit.xml:1972(para) +#: C/pluma.xml:1972(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4144,20 +4144,20 @@ msgstr "" "逆の順序に並べ替えたい場合は、逆順にするオプションを選択します。" -#: C/gedit.xml:1975(para) +#: C/pluma.xml:1975(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "重複した行を削除する場合は、重複する部分を削除するオプ" "ションを選択します。" -#: C/gedit.xml:1978(para) +#: C/pluma.xml:1978(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "大文字と小文字を認識して並び替えたい場合は、大/小文字を区別するオプ" "ションを選択します。" -#: C/gedit.xml:1981(para) +#: C/pluma.xml:1981(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4166,18 +4166,18 @@ msgstr "" "各行ごとに最初の数文字を並び替え判別の対称から外したい場合は、" "開始行でその文字数を指定します。" -#: C/gedit.xml:1986(para) +#: C/pluma.xml:1986(para) msgid "To perform the sort operation, click Sort." msgstr "並び替え操作を実行するには、並び替えをクリックします。" -#: C/gedit.xml:1993(title) +#: C/pluma.xml:1993(title) msgid "Spell Checker Plugin" msgstr "スペル・チェッカプラグイン" -#: C/gedit.xml:1994(para) +#: C/pluma.xml:1994(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " @@ -4189,7 +4189,7 @@ msgstr "" "ごとに保存されます。スペル・チェッカプラグインを使用するには、以下の手順を" "実行します。" -#: C/gedit.xml:1996(para) +#: C/pluma.xml:1996(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4201,7 +4201,7 @@ msgstr "" "ダイアログを表示します。一覧の中から適切な言語を選択し OK を押して言語の設定ダイアログを閉じてください。" -#: C/gedit.xml:1999(para) +#: C/pluma.xml:1999(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4209,7 +4209,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "自動的にスペルチェックを行うには、ツールツール自動スペル・チェックを選択します。" "自動スペルチェックが設定されると、メニューの自動スペル・チェック" -"項目の隣にアイコンが表示されます。gedit が起動した" +"項目の隣にアイコンが表示されます。pluma が起動した" "初期状態では、自動スペルチェック機能はオフになっています。" -#: C/gedit.xml:2000(para) +#: C/pluma.xml:2000(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestionsスペルの提示を選択すると、以下の選択肢が表示されます。" -#: C/gedit.xml:2003(para) +#: C/pluma.xml:2003(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4238,7 +4238,7 @@ msgstr "" "辞書にないスペルを別のスペルに置き換える場合は、スペルの提示" "に表示されているスペルを選択してください。" -#: C/gedit.xml:2006(para) +#: C/pluma.xml:2006(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddスペルの提示追加を選択してください。" -#: C/gedit.xml:2009(para) +#: C/pluma.xml:2009(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "そのスペルについてはスペルチェックの対称から外したいが、個人辞書には追加したくない場合、" "スペルの提示全て無視を選択してください。" -"ただしこれは、gedit を再起動すると無効になります。" +"ただしこれは、pluma を再起動すると無効になります。" -#: C/gedit.xml:2014(para) +#: C/pluma.xml:2014(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4270,7 +4270,7 @@ msgstr "" "guimenu>スペル・チェック" "を選択します。" -#: C/gedit.xml:2016(para) +#: C/pluma.xml:2016(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4282,21 +4282,21 @@ msgstr "" "OK をクリックして情報ダイアログ" "を閉じてください。" -#: C/gedit.xml:2018(para) +#: C/pluma.xml:2018(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "" "スペルミスが発見された場合、スペルチェックダイアログが表示されます。" -#: C/gedit.xml:2021(para) +#: C/pluma.xml:2021(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" "ダイアログの冒頭にはスペルミスと思われる単語が表示されます。" -#: C/gedit.xml:2024(para) +#: C/pluma.xml:2024(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4307,7 +4307,7 @@ msgstr "" "正解の候補リストから別の候補を選択することや、" "変更先に直接正しいスペルを書き込むこともできます。" -#: C/gedit.xml:2027(para) +#: C/pluma.xml:2027(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4321,19 +4321,19 @@ msgstr "" "(正しいつづり)に置き換わります。辞書の単語と一致しなければ、" "新しい候補が正解の候補リストに表示されます。" -#: C/gedit.xml:2030(para) +#: C/pluma.xml:2030(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "現在の単語に対するスペルチェックを無視するには、無視" "をクリックしてください。同じドキュメント中にある同じ単語全てを無視するには" "全て無視をクリックしてください。これらの設定は" -" gedit を再起動すると無効になります。" +" pluma を再起動すると無効になります。" -#: C/gedit.xml:2033(para) +#: C/pluma.xml:2033(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change変更をクリックします。同じスペルの単語を" "全て置き換える場合は、全て変更をクリックします。" -#: C/gedit.xml:2036(para) +#: C/pluma.xml:2036(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4353,7 +4353,7 @@ msgstr "" "その不明な単語を個人辞書に追加するには、単語の追加を" "クリックします。" -#: C/gedit.xml:2039(para) +#: C/pluma.xml:2039(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4361,11 +4361,11 @@ msgstr "" "スペル・チェックダイアログを閉じるには、" "閉じるをクリックしてください。" -#: C/gedit.xml:2048(title) +#: C/pluma.xml:2048(title) msgid "Tag List Plugin" msgstr "タグの一覧プラグイン" -#: C/gedit.xml:2049(para) +#: C/pluma.xml:2049(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4373,11 +4373,11 @@ msgstr "" "タグの一覧プラグインを使えば、よく使われるタグがサイド・ペイン" "に表示され、そこから簡単にドキュメントに挿入できます。" -#: C/gedit.xml:2050(para) +#: C/pluma.xml:2050(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "タグの一覧プラグインを使用するには、次の手順を実行します。" -#: C/gedit.xml:2052(para) +#: C/pluma.xml:2052(para) msgid "" "Choose ViewSide Pane." @@ -4385,7 +4385,7 @@ msgstr "" "表示サイド・ペインを選択します。" -#: C/gedit.xml:2056(para) +#: C/pluma.xml:2056(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4394,7 +4394,7 @@ msgstr "" "初期設定では、サイドペインには開いているファイルの一覧が表示されます。タグの一覧を" "表示するためには、サイド・ペインの下部にある + アイコンをクリックしてください。" -#: C/gedit.xml:2058(para) +#: C/pluma.xml:2058(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4402,11 +4402,11 @@ msgstr "" "ドロップダウンリストから、適切なタグカテゴリを選択します。例えば、" "HTML - タグを選択します。" -#: C/gedit.xml:2061(para) +#: C/pluma.xml:2061(para) msgid "Scroll through the tag list to find the required tag." msgstr "タグの一覧をスクロールして、希望のタグを見つけます。" -#: C/gedit.xml:2064(para) +#: C/pluma.xml:2064(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4414,14 +4414,14 @@ msgstr "" "編集中のドキュメントのカーソル位置にタグを挿入するには、タグの一覧で該当するタグを" "ダブルクリックします。次の方法でもタグを挿入できます。" -#: C/gedit.xml:2066(para) +#: C/pluma.xml:2066(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." msgstr "" "Enter キーを押せば、タグを挿入し、サイド・ペインから表示領域に戻れます。" -#: C/gedit.xml:2069(para) +#: C/pluma.xml:2069(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShiftEnter キーを押せば、" "タグを挿入し、フォーカスはサイド・ペイン上に残ります。" -#: C/gedit.xml:2078(title) +#: C/pluma.xml:2078(title) msgid "User Name Plugin" msgstr "ユーザ名プラグイン" -#: C/gedit.xml:2079(para) +#: C/pluma.xml:2079(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -4442,7 +4442,7 @@ msgstr "" "ユーザ名プラグインはユーザ名を編集中の" "ドキュメントに挿入します。" -#: C/gedit.xml:2080(para) +#: C/pluma.xml:2080(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User Name編集ユーザ名の挿入を選択します。" -#: C/gedit.xml:2082(para) +#: C/pluma.xml:2082(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" "このプラグインは、新規にプラグインを作成するための例として提供されています。" "プラグインの作成方法については、geditpluma のウェブサイトを参照してください。" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "柴田 充也 , 2008" diff --git a/help/ko/figures/gedit_window.png b/help/ko/figures/pluma_window.png similarity index 100% rename from help/ko/figures/gedit_window.png rename to help/ko/figures/pluma_window.png diff --git a/help/ko/ko.po b/help/ko/ko.po index e4953bc..79d1e87 100755 --- a/help/ko/ko.po +++ b/help/ko/ko.po @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit-help\n" +"Project-Id-Version: pluma-help\n" "POT-Creation-Date: 2008-02-01 21:04+0000\n" "PO-Revision-Date: 2010-04-16 01:32+0900\n" "Last-Translator: Changwoo Ryu \n" @@ -98,332 +98,332 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:266(None) +#: C/pluma.xml:266(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:347(None) +#: C/pluma.xml:347(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1273(None) +#: C/pluma.xml:1273(None) msgid "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" msgstr "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1292(None) +#: C/pluma.xml:1292(None) msgid "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" msgstr "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1310(None) +#: C/pluma.xml:1310(None) msgid "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" msgstr "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:1328(None) +#: C/pluma.xml:1328(None) msgid "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" msgstr "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "gedit 설명서" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "pluma 설명서" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "그놈 문서 프로젝트" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "키보드 바로 가기 표 추가" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System Documentation Team" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek가 이전 버전의 gedit 응용 프로그램의 정보를 알려주었습니다." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek가 이전 버전의 pluma 응용 프로그램의 정보를 알려주었습니다." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "도음 주신 분들" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George가 플러그인에 관한 정보를 알려주었습니다." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit 버전 1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma 버전 1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit 설명서 버전 2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma 설명서 버전 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "2002년 3월" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun 그놈 문서 팀" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit 설명서 버전 2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma 설명서 버전 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "2002년 6월" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit 설명서 버전 2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma 설명서 버전 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "2002년 8월" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit 설명서 버전 2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma 설명서 버전 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "2002년 9월" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit 설명서 버전 2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma 설명서 버전 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "2003년 1월" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit 설명서 버전 2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma 설명서 버전 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "2003년 3월" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit 설명서 버전 2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma 설명서 버전 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "2003 9월" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit 설명서 버전 2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma 설명서 버전 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "2004 3월" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit 설명서 버전 2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma 설명서 버전 2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "2006년 6월" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit 설명서 버전 2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma 설명서 버전 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "그놈 문서 팀" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "이 설명서는 gedit 버전 2.16에 대해 설명합니다." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "이 설명서는 pluma 버전 2.16에 대해 설명합니다." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "피드백" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"gedit 또는 이 설명서에 대한 버그를 알려 주시거나 " +"pluma 또는 이 설명서에 대한 버그를 알려 주시거나 " "의견을 제시하려면 그놈 피드백 페이지에 있는 대로 해 주십시오." -#: C/gedit.xml:213(para) -msgid "gedit is the MATE text editor." -msgstr "gedit는 그놈 텍스트 편집기입니다." +#: C/pluma.xml:213(para) +msgid "pluma is the MATE text editor." +msgstr "pluma는 그놈 텍스트 편집기입니다." -#: C/gedit.xml:216(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:216(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:217(primary) +#: C/pluma.xml:217(primary) msgid "text editor" msgstr "텍스트 편집기" -#: C/gedit.xml:222(title) +#: C/pluma.xml:222(title) msgid "Introduction" msgstr "소개" -#: C/gedit.xml:227(para) +#: C/pluma.xml:227(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"gedit 응용 프로그램으로 텍스트 파일을 만들고 편집" +"pluma 응용 프로그램으로 텍스트 파일을 만들고 편집" "할 수 있습니다." -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"gedit의 목표는 간단하고 사용하기 쉬운 텍스트 편집" +"pluma의 목표는 간단하고 사용하기 쉬운 텍스트 편집" "기입니다. 플러그인을 사용해 더 강력한 기능을 사용할 " "수 있습니다. 플러그인에 텍스트 편집과 관련된 여러가지 기능이 들어 있습니다." -#: C/gedit.xml:233(title) +#: C/pluma.xml:233(title) msgid "Getting Started" msgstr "시작하기" -#: C/gedit.xml:237(title) -msgid "Starting gedit" -msgstr "gedit 시작하기" +#: C/pluma.xml:237(title) +msgid "Starting pluma" +msgstr "pluma 시작하기" -#: C/gedit.xml:238(para) -msgid "You can start gedit in the following ways:" -msgstr "다음 방법으로 gedit를 시작할 수 있습니다:" +#: C/pluma.xml:238(para) +msgid "You can start pluma in the following ways:" +msgstr "다음 방법으로 pluma를 시작할 수 있습니다:" -#: C/gedit.xml:241(term) +#: C/pluma.xml:241(term) msgid "Applications menu" msgstr "프로그램 메뉴" -#: C/gedit.xml:243(para) +#: C/pluma.xml:243(para) msgid "" "Choose AccessoriesText " "Editor." @@ -431,96 +431,96 @@ msgstr "" "보조 프로그램텍스트 편집기" "를 선택하십시오." -#: C/gedit.xml:247(term) +#: C/pluma.xml:247(term) msgid "Command line" msgstr "명령행" -#: C/gedit.xml:249(para) -msgid "Execute the following command: gedit" -msgstr "다음 명령을 실행합니다: gedit" +#: C/pluma.xml:249(para) +msgid "Execute the following command: pluma" +msgstr "다음 명령을 실행합니다: pluma" -#: C/gedit.xml:253(para) +#: C/pluma.xml:253(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"기본값으로, 파일 관리자에서 텍스트 문서를 열면 gedit가 시작하고 그 문서를 표" +"기본값으로, 파일 관리자에서 텍스트 문서를 열면 pluma가 시작하고 그 문서를 표" "시합니다." -#: C/gedit.xml:258(title) -msgid "The gedit Window" -msgstr "gedit 창" +#: C/pluma.xml:258(title) +msgid "The pluma Window" +msgstr "pluma 창" -#: C/gedit.xml:259(para) +#: C/pluma.xml:259(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" -msgstr "gedit를 시작하면 다음 창이 나타납니다:" +msgstr "pluma를 시작하면 다음 창이 나타납니다:" -#: C/gedit.xml:262(title) -msgid "gedit Window" -msgstr "gedit 창" +#: C/pluma.xml:262(title) +msgid "pluma Window" +msgstr "pluma 창" -#: C/gedit.xml:268(phrase) -msgid "Shows gedit main window." -msgstr "gedit 메인 창을 표시합니다." +#: C/pluma.xml:268(phrase) +msgid "Shows pluma main window." +msgstr "pluma 메인 창을 표시합니다." -#: C/gedit.xml:274(para) +#: C/pluma.xml:274(para) msgid "" -"The gedit window contains the following elements:" -msgstr "gedit 창에는 다음이 들어 있습니다:" +"The pluma window contains the following elements:" +msgstr "pluma 창에는 다음이 들어 있습니다:" -#: C/gedit.xml:277(term) +#: C/pluma.xml:277(term) msgid "Menubar" msgstr "메뉴 모음" -#: C/gedit.xml:279(para) +#: C/pluma.xml:279(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"메뉴 모음의 메뉴에는 gedit에서 파일 작업을 하는 " +"메뉴 모음의 메뉴에는 pluma에서 파일 작업을 하는 " "데 필요한 명령이 모두 들어있습니다." -#: C/gedit.xml:282(term) +#: C/pluma.xml:282(term) msgid "Toolbar" msgstr "도구 모음" -#: C/gedit.xml:284(para) +#: C/pluma.xml:284(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "" "도구 모음에는 메뉴 모음에서 접근할 수 있는 명령의 일부가 들어 있습니다." -#: C/gedit.xml:287(term) +#: C/pluma.xml:287(term) msgid "Display area" msgstr "표시 영역" -#: C/gedit.xml:289(para) +#: C/pluma.xml:289(para) msgid "The display area contains the text of the file that you are editing." msgstr "표시 영역에는 편집하고 있는 파일의 텍스트가 들어있습니다." -#: C/gedit.xml:292(term) +#: C/pluma.xml:292(term) msgid "Statusbar" msgstr "상태 표시줄" -#: C/gedit.xml:294(para) +#: C/pluma.xml:294(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"상태 표시줄에는 현재 gedit 동작에 대한 정보와 메" +"상태 표시줄에는 현재 pluma 동작에 대한 정보와 메" "뉴 항목의 컨텍스트 정보를 표시합니다. 상태 표시줄에는 다음 정보도 표시합니다:" -#: C/gedit.xml:297(para) +#: C/pluma.xml:297(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "커서 위치: 커서가 있는 곳의 줄 번호와 열 번호." -#: C/gedit.xml:300(para) +#: C/pluma.xml:300(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -532,11 +532,11 @@ msgstr "" "이라는 글이 들어 있습니다. 편집 모드를 바꾸려면 Insert 키를 누르십시오." -#: C/gedit.xml:305(term) +#: C/pluma.xml:305(term) msgid "Side Pane" msgstr "가장자리 창" -#: C/gedit.xml:307(para) +#: C/pluma.xml:307(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -544,7 +544,7 @@ msgstr "" "가장자리 창에는 열린 문서의 목록을 표시하고, 또 어떤 플러그인을 사용하느냐에 " "따라 기타 정보를 표시합니다." -#: C/gedit.xml:308(para) +#: C/pluma.xml:308(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Pane보기가장자리 창을 선택하십시오." -#: C/gedit.xml:311(term) +#: C/pluma.xml:311(term) msgid "Bottom Pane" msgstr "아래 창" -#: C/gedit.xml:313(para) +#: C/pluma.xml:313(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." msgstr "아래 창은 파이썬 콘솔 플러그인에서 출력을 표시할 때처럼 프로그래밍 도구에 사용합니다." -#: C/gedit.xml:314(para) +#: C/pluma.xml:314(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom Pane." msgstr "기본값으로 아래 창은 표시하지 않습니다. 아래 창을 보려면, 보기아래 창을 선택하십시오." -#: C/gedit.xml:318(para) +#: C/pluma.xml:318(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"gedit 창에 마우스 오른쪽 단추를 누르면, 팝업 메뉴" +"pluma 창에 마우스 오른쪽 단추를 누르면, 팝업 메뉴" "를 표시합니다. 이 팝업 메뉴에 자주 사용하는 텍스트 편집 명령이 들어 있습니다." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"다른 그놈 프로그램과 마찬가지로, gedit 동작은 여러" +"다른 그놈 프로그램과 마찬가지로, pluma 동작은 여러" "가지 방법으로 할 수 있습니다. 메뉴로도 할 수 있고, 도구 모음으로도 할 수 있" "고, 바로 가기 키로도 할 수 있습니다. 모든 응용 프로그램에서 공통으로 사용할 " "수 있는 바로 가기 키 목록이 사용자 안내서에 있습니다." -#: C/gedit.xml:325(title) -msgid "Running gedit from a Command Line" -msgstr "명령행에서 gedit 실행하기" +#: C/pluma.xml:325(title) +msgid "Running pluma from a Command Line" +msgstr "명령행에서 pluma 실행하기" -#: C/gedit.xml:326(para) +#: C/pluma.xml:326(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" -msgstr "명령행에서 gedit를 실행해서 파일 한 개 혹은 여러 개를 열 수 있습니다. 명령행에서 여러 개 파일을 열려면, 다음 명령어를 입력하고 Return 키를 누르십시오:" +msgstr "명령행에서 pluma를 실행해서 파일 한 개 혹은 여러 개를 열 수 있습니다. 명령행에서 여러 개 파일을 열려면, 다음 명령어를 입력하고 Return 키를 누르십시오:" -#: C/gedit.xml:327(replaceable) +#: C/pluma.xml:327(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:327(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:327(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "다른 방법으로, 파일 이름 대신에 URI를 지정할 수도 있습니다." -#: C/gedit.xml:329(para) +#: C/pluma.xml:329(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"명령행에서 gedit 실행하는 방법에 대해 좀 더 알고 " -"싶으시면, geidt의 유닉스 맨 페이지를 (gedit1pluma 실행하는 방법에 대해 좀 더 알고 " +"싶으시면, geidt의 유닉스 맨 페이지를 (pluma1.) 참고하십시오." -#: C/gedit.xml:334(title) +#: C/pluma.xml:334(title) msgid "Working with Files" msgstr "파일 작업하기" -#: C/gedit.xml:338(title) +#: C/pluma.xml:338(title) msgid "Creating a New Document" msgstr "새 문서 만들기" -#: C/gedit.xml:339(para) +#: C/pluma.xml:339(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "새 문서를 만드려면, 파일새로 만들" -"기를 선택하십시오. gedit를 선택하십시오. pluma 창에 비어 있는 새 문서를 표시합니다." -#: C/gedit.xml:344(title) C/gedit.xml:1674(title) +#: C/pluma.xml:344(title) C/pluma.xml:1674(title) msgid "Opening a File" msgstr "파일 열기" -#: C/gedit.xml:345(para) +#: C/pluma.xml:345(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "파일을 열려면, 파일열기를 선택해 파일 열기 대화 상자" "를 표시합니다. 열려는 파일을 선택하고 확인을 누르십시" -"오. 해당 파일이 gedit 창에 표시됩니다." +"오. 해당 파일이 pluma 창에 표시됩니다." -#: C/gedit.xml:347(phrase) +#: C/pluma.xml:347(phrase) msgid "Shows Recent Files menu icon." msgstr "최근 파일 메뉴 아이콘 보기." -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -680,25 +680,25 @@ msgstr "" "의 메뉴 항목으로 표시합니다. 최근 파일 목록을 표시하려면 도구 모음의 " " 아이콘을 눌러도 됩니다." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"gedit에 여러 개의 파일을 열 수 있습니다. 파일을 하" +"pluma에 여러 개의 파일을 열 수 있습니다. 파일을 하" "나씩 열 때마다 창에 탭을 하나씩 추가합니다. 좀 더 알고 싶으시면, 부분을 참고하십시오." +"linkend=\"pluma-tabs\"/> 부분을 참고하십시오." -#: C/gedit.xml:355(title) +#: C/pluma.xml:355(title) msgid "Saving a File" msgstr "파일 저장하기" -#: C/gedit.xml:356(para) +#: C/pluma.xml:356(para) msgid "You can save files in the following ways:" msgstr "다음 방법으로 파일을 저장할 수 있습니다:" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -706,7 +706,7 @@ msgstr "" "기존 파일의 바뀐 사항을 저장하려면 파일저장을 선택하십시오." -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave As 대화 상자에서 파일 이름을 입력하고 확인을 누" "르십시오." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"현재 gedit에 열려 있는 파일을 모두 저장하려면 " +"현재 pluma에 열려 있는 파일을 모두 저장하려면 " "문서모두 저장을 선택하십시오." -#: C/gedit.xml:365(para) +#: C/pluma.xml:365(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"현재 gedit에 열려 있는 파일을 모두 닫으려면, " +"현재 pluma에 열려 있는 파일을 모두 닫으려면, " "문서모두 닫기를 선택하십시오." -#: C/gedit.xml:370(title) +#: C/pluma.xml:370(title) msgid "Opening a File from a URI" msgstr "URI에서 파일 열기" -#: C/gedit.xml:371(para) +#: C/pluma.xml:371(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" msgstr "" "URI(Uniform Resource Identifier)에서 파일을 열려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:374(para) +#: C/pluma.xml:374(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -759,11 +759,11 @@ msgstr "" "파일위치 열기를 선택해 위치 열기 대화 상자를 표시합니다." -#: C/gedit.xml:377(para) +#: C/pluma.xml:377(para) msgid "Enter the URI of the file that you want to open." msgstr "열려는 파일의 URI를 입력하십시오." -#: C/gedit.xml:380(para) +#: C/pluma.xml:380(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -771,11 +771,11 @@ msgstr "" "문자 코딩 드롭다운 목록에서 적당한 문자 코딩을 선택하십" "시오." -#: C/gedit.xml:383(para) +#: C/pluma.xml:383(para) msgid "Click Open." msgstr "열기를 누르십시오." -#: C/gedit.xml:386(para) +#: C/pluma.xml:386(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -785,7 +785,7 @@ msgstr "" "ftp:, file:mate-vfs에서 지원하는 모든 프로토콜을 사용할 수 있습니다." -#: C/gedit.xml:387(para) +#: C/pluma.xml:387(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -796,64 +796,64 @@ msgstr "" "에 저장해야 합니다. HTTP는 파일 읽기만 가능합니다. 모든 FTP 서버가 원격 파일 " "저장을 할 수 있는 게 아니기 때문에 FTP로 연 파일도 읽기 전용입니다." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "FTP 서버로 저장하는 기능은 설정 편집기로 저장할 수 있게 바꿀 수 있" -"습니다. /apps/gedit-2/preferences/editor/save/" +"습니다. /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes키를 설정하면 되지만, 이 기능때문에 오류가 " "발생할 수도 있습니다." -#: C/gedit.xml:393(title) +#: C/pluma.xml:393(title) msgid "Working With Tabs" msgstr "탭 작업하기" -#: C/gedit.xml:395(para) +#: C/pluma.xml:395(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"여러 개 파일을 연 경우, gedit의 표시 영역 위에 문" +"여러 개 파일을 연 경우, pluma의 표시 영역 위에 문" "서 하나마다 탭을 하나씩 표시합니다. 다른 문서로 이동하려면, 해당하는 탭을 누" "르십시오." -#: C/gedit.xml:396(para) +#: C/pluma.xml:396(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"문서를 다른 gedit 창으로 옮기려면, 그 파일에 해당" +"문서를 다른 pluma 창으로 옮기려면, 그 파일에 해당" "하는 탭을 옮기려는 창으로 끌어 놓으십시오." -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"문서를 새 gedit 창으로 옮기려면, 탭을 바탕 화면으" +"문서를 새 pluma 창으로 옮기려면, 탭을 바탕 화면으" "로 끌어 놓거나, 문서새 창으로 옮" "기기를 선택하십시오." -#: C/gedit.xml:403(title) +#: C/pluma.xml:403(title) msgid "Working with Text" msgstr "텍스트 작업하기" -#: C/gedit.xml:407(title) +#: C/pluma.xml:407(title) msgid "Editing Text" msgstr "텍스트 편집하기" -#: C/gedit.xml:408(para) +#: C/pluma.xml:408(para) msgid "You can edit the text of a file in the following ways:" msgstr "다음 방법으로 파일의 텍스트를 편집할 수 있습니다:" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -863,7 +863,7 @@ msgstr "" "가 새 텍스트를 표시할 위치를 가리킵니다. 위치를 바꾸려면 키보드의 화살표 키" "를 사용하거나 마우스 단추를 누르십시오." -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopy편집복사를 선택하십시오." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCut편집잘라내기를 선택하십시오." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDelete편집지우기를 선택하십시오." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "클리보드의 내용을 커서 위치에 넣으려면 편집붙여 넣기를 선택하십시오. 붙" -"여 넣기 전에, gedit나 다른 응용 프로그램에서 텍스트를 잘라내거나 복사해야 합" +"여 넣기 전에, pluma나 다른 응용 프로그램에서 텍스트를 잘라내거나 복사해야 합" "니다." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -911,11 +911,11 @@ msgstr "" "파일의 텍스트를 모두 선택하려면, 편집모두 선택을 선택하십시오." -#: C/gedit.xml:426(title) +#: C/pluma.xml:426(title) msgid "Undoing and Redoing Changes" msgstr "편집한 내용을 취소하거나 다시 실행하려면" -#: C/gedit.xml:427(para) +#: C/pluma.xml:427(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -923,31 +923,31 @@ msgid "" "guimenuitem>." msgstr "편집한 사항을 실행 취소하려면, 편집실행 취소를 선택하십시오. 이 동작을 되돌리려면, 편집다시 실행을 선택하십시오." -#: C/gedit.xml:432(title) +#: C/pluma.xml:432(title) msgid "Finding and Replacing" msgstr "찾기 및 바꾸기" -#: C/gedit.xml:434(para) +#: C/pluma.xml:434(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"gedit에서 텍스트를 찾는 방법은 두 가지가 있습니" +"pluma에서 텍스트를 찾는 방법은 두 가지가 있습니" "다. 찾기 대화 창을 사용해 특정 텍스트를 찾아 볼 수 있" "고, 바로 찾기를 사용해 입력하는 텍스트에 맞는 글자를 강" "조할 수 있습니다." -#: C/gedit.xml:439(title) +#: C/pluma.xml:439(title) msgid "Finding Text" msgstr "텍스트 찾기" -#: C/gedit.xml:440(para) +#: C/pluma.xml:440(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "파일에서 텍스트 문자열을 찾으려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -955,21 +955,21 @@ msgstr "" "찾기찾기를 선택하십시오. 찾기 대화 상자를 표시합니다." -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "찾으려는 문자열을 찾을 문자열 입력란에 입력하십시오. 줄" -"바꿈이나 탭 문자같은 특수 문자를 넣을 수도 있습니다. 부분을 참고하십시오." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" @@ -977,7 +977,7 @@ msgstr "" "첫번째로 나오는 위치를 찾습니다. 그 문자열을 찾고, 첫번째로 나오는 문자열을 " "선택합니다. 그 외에 그 문자열이 있으면 강조합니다." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next찾기이전 찾기를 선택하십시오." -#: C/gedit.xml:451(para) +#: C/pluma.xml:451(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1004,18 +1004,18 @@ msgstr "" "찾기이전 찾기를 선택해서 다른 곳에 있는 같은 텍스트를 선택할 수 있습니다." -#: C/gedit.xml:452(para) +#: C/pluma.xml:452(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlight." msgstr "텍스트의 강조를 지우려면, 찾기강조 지우기를 선택하십시오." -#: C/gedit.xml:456(title) +#: C/pluma.xml:456(title) msgid "Incremental Search" msgstr "바로 찾기" -#: C/gedit.xml:458(para) +#: C/pluma.xml:458(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1024,7 +1024,7 @@ msgstr "" "바로 찾기에서는 한 글자를 입력할 때마다 문서에 그에 해당하는 텍스트를 강조합" "니다. (이 기능은 몇 가지 웹 브라우저의 찾기 기능과 비슷합니다.)" -#: C/gedit.xml:459(para) +#: C/pluma.xml:459(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1034,7 +1034,7 @@ msgstr "" "찾기를 선택하십시오. 찾기 입력란이 표시 영역 위에 " "나타납니다." -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1042,7 +1042,7 @@ msgstr "" "입력을 시작하십시오. 그러면 문서 안에 해당하는 텍스트를 강조합니다. 또 커서 " "위치 다음에 처음으로 나오는 텍스트를 선택합니다." -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGG to go back to the previous match." msgstr "바로 찾기 입력란이 열린 상태로, 다음 위치에 있는 텍스트로 선택을 옮기려면, CtrlG 키를 누르십시오. 이전 위치에 있는 텍스트로 돌아가려면 CtrlShiftG 키를 누르십시오." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1058,11 +1058,11 @@ msgstr "" "위 아래 화살표 키를 사용하거나 마우스 휠을 사용해서 일치하는 문자열의 선택을 " "옮길 수도 있습니다." -#: C/gedit.xml:467(title) +#: C/pluma.xml:467(title) msgid "Replacing Text" msgstr "텍스트 바꾸기" -#: C/gedit.xml:469(para) +#: C/pluma.xml:469(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1070,7 +1070,7 @@ msgstr "" "파일에서 문자열을 찾고 그 문자열을 다른 문자열로 바꾸려면, 다음 순서대로 하십" "시오:" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1078,17 +1078,17 @@ msgstr "" "찾기바꾸기를 선택하십시오. 바꾸기 대화 창이 나타납니다." -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "찾으려는 문자열을 찾을 문자열 입력란에 입력하십시오. 줄" -"바꿈이나 탭 문자같은 특수 문자를 넣을 수도 있습니다. 부분을 참고하십시오." -#: C/gedit.xml:474(para) +#: C/pluma.xml:474(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1096,10 +1096,10 @@ msgstr "" "찾은 문자열을 바꿀 문자열을 바꿀 문자열 입력란에 입력하" "십시오." -#: C/gedit.xml:478(para) +#: C/pluma.xml:478(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." @@ -1109,17 +1109,17 @@ msgstr "" "누르면 선택한 문자열을 바꿉니다. 다음에 나오는 문자열을 찾아보려면 " "찾기를 다시 한번 누르십시오." -#: C/gedit.xml:479(para) +#: C/pluma.xml:479(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." msgstr "문서에 있는 그 문자열을 모두 바꾸려면 모두 바꾸기를 누르십시오." -#: C/gedit.xml:484(title) +#: C/pluma.xml:484(title) msgid "Find and Replace Options" msgstr "찾기 및 바꾸기 옵션" -#: C/gedit.xml:485(para) +#: C/pluma.xml:485(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1127,7 +1127,7 @@ msgstr "" "찾기 대화 창과 바꾸기 대화 창에는 " "모두 다음 옵션이 들어 있습니다:" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1138,7 +1138,7 @@ msgstr "" "가 일치하는 문자열만 찾습니다. 예를 들어 대소문자 일치" "를 선택하면, 대문자 \"TEXT\"는 소문자 \"text\"를 찾지 않습니다." -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1149,7 +1149,7 @@ msgstr "" "단어가 맞는 문자열만 찾습니다. 예를 들어 전체가 맞는 단어만 옵션을 선택하면, \"text\"는 \"texture\"를 찾지 않습니다." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1157,7 +1157,7 @@ msgstr "" "뒤로 찾기 옵션을 선택하면 뒤 방향으로 문서의 처음까지 찾" "습니다." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1165,11 +1165,11 @@ msgstr "" "끝까지 가면 처음부터 옵션을 선택하면 문서의 끝까지 찾았" "을 때 다시 파일의 반대쪽 끝에서부터 찾기를 계속합니다." -#: C/gedit.xml:500(title) +#: C/pluma.xml:500(title) msgid "Special Characters" msgstr "특수 문자" -#: C/gedit.xml:501(para) +#: C/pluma.xml:501(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1177,62 +1177,62 @@ msgstr "" "찾기나 바꾸기를 할 때 다음 이스케이프 시퀀스를 이용해 특수 문자를 입력할 수 " "있습니다:" -#: C/gedit.xml:504(literal) +#: C/pluma.xml:504(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:506(para) +#: C/pluma.xml:506(para) msgid "Specifies a new line." msgstr "줄바꿈을 나타냅니다." -#: C/gedit.xml:510(literal) +#: C/pluma.xml:510(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:512(para) +#: C/pluma.xml:512(para) msgid "Specifies a tab character." msgstr "탭 문자를 나타냅니다." -#: C/gedit.xml:516(literal) +#: C/pluma.xml:516(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:518(para) +#: C/pluma.xml:518(para) msgid "Specifies a carriage return." msgstr "캐리지 리턴을 나타냅니다." -#: C/gedit.xml:526(title) +#: C/pluma.xml:526(title) msgid "Positioning the Cursor on a Specific Line" msgstr "커서를 특정 줄로 옮기기" -#: C/gedit.xml:528(para) +#: C/pluma.xml:528(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. The line number box appears at the top of the display area." msgstr "현재 파일의 특정 줄로 커서를 옮기려면, 찾기줄로 이동을 선택하십시오. 줄 번호 입력 창이 표시 영역 위에 나타납니다." -#: C/gedit.xml:529(para) +#: C/pluma.xml:529(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." msgstr "커서를 옮기려는 줄 번호를 입력하면 문서를 지정한 줄로 스크롤합니다." -#: C/gedit.xml:530(para) +#: C/pluma.xml:530(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." msgstr "대화 상자를 닫고 커서를 지정한 줄로 옮기려면, Return 키를 누르십시오." -#: C/gedit.xml:536(title) +#: C/pluma.xml:536(title) msgid "Printing" msgstr "인쇄하기" -#: C/gedit.xml:540(title) +#: C/pluma.xml:540(title) msgid "Setting the Page Options" msgstr "페이지 옵션 설정하기" -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1242,7 +1242,7 @@ msgstr "" "이지 설정을 선택하십시오. 페이지 설정 대화 창이 나타납니다." -#: C/gedit.xml:544(para) +#: C/pluma.xml:544(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1250,27 +1250,27 @@ msgstr "" "페이지 설정 대화 창에서 다음 인쇄 옵션을 지정할 수 있습" "니다:" -#: C/gedit.xml:547(title) +#: C/pluma.xml:547(title) msgid "General Tabbed Section" msgstr "일반 탭 섹션" -#: C/gedit.xml:549(guilabel) +#: C/pluma.xml:549(guilabel) msgid "Print syntax highlighting" msgstr "구문 강조 인쇄" -#: C/gedit.xml:551(para) +#: C/pluma.xml:551(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "이 옵션을 선택하면 구문 강조를 인쇄합니다. 구문 강조에 대해 좀 더 알고 싶으시" -"면, 부분을 참고하십시오." +"면, 부분을 참고하십시오." -#: C/gedit.xml:554(guilabel) +#: C/pluma.xml:554(guilabel) msgid "Print page headers" msgstr "글머리 인쇄" -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1278,11 +1278,11 @@ msgstr "" "이 옵션을 선택하면 인쇄하는 페이지마다 글머리를 붙입니다. 글머리 내용을 설정" "할 수는 없습니다." -#: C/gedit.xml:559(guilabel) C/gedit.xml:1162(guilabel) +#: C/pluma.xml:559(guilabel) C/pluma.xml:1162(guilabel) msgid "Line Numbers" msgstr "줄 번호" -#: C/gedit.xml:562(para) +#: C/pluma.xml:562(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1290,7 +1290,7 @@ msgstr "" "줄 번호 인쇄 옵션을 선택하면 파일을 인쇄할 때 줄 번호를 " "붙입니다." -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1300,11 +1300,11 @@ msgstr "" "호를 인쇄할 지 지정합니다. 예를 들어 5줄 마다 할 수도 있고, 10줄 마다 할 수" "도 있고, ... 식으로 할 수 있습니다." -#: C/gedit.xml:566(guilabel) C/gedit.xml:1155(guilabel) C/gedit.xml:1770(para) +#: C/pluma.xml:566(guilabel) C/pluma.xml:1155(guilabel) C/pluma.xml:1770(para) msgid "Text Wrapping" msgstr "텍스트 줄 바꿈" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1314,7 +1314,7 @@ msgstr "" "문자 단위로 다음 줄로 바꿉니다. 줄 번호를 지정할 때는 이렇게 넘어가서 바뀐 " "긴 줄은 한 줄로 취급합니다." -#: C/gedit.xml:570(para) +#: C/pluma.xml:570(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1322,33 +1322,33 @@ msgstr "" "단어를 여러 줄로 나누지 않기 옵션을 선택하면, 파일을 인" "쇄할 때 긴 줄을 단어 단위로 다음 줄로 바꿉니다." -#: C/gedit.xml:578(title) +#: C/pluma.xml:578(title) msgid "Fonts" msgstr "글꼴" -#: C/gedit.xml:580(guilabel) +#: C/pluma.xml:580(guilabel) msgid "Body" msgstr "본문" -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "파일의 본문을 인쇄할 때 사용할 글꼴을 지정하려면 이 단추를 누르십시오." -#: C/gedit.xml:585(guilabel) +#: C/pluma.xml:585(guilabel) msgid "Line numbers" msgstr "줄 번호" -#: C/gedit.xml:588(para) +#: C/pluma.xml:588(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "줄 번호를 인쇄할 때 사용할 글꼴을 지정하려면 이 단추를 누르십시오." -#: C/gedit.xml:591(guilabel) +#: C/pluma.xml:591(guilabel) msgid "Headers and footers" msgstr "글머리 및 글꼬리" -#: C/gedit.xml:593(para) +#: C/pluma.xml:593(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1356,37 +1356,37 @@ msgstr "" "파일의 글머리 및 글꼬리를 인쇄할 때 사용할 글꼴을 지정하려면 이 단추를 누르십" "시오." -#: C/gedit.xml:597(para) +#: C/pluma.xml:597(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "파일 인쇄할 때 사용할 글꼴을 기본값 글꼴로 리셋하려면, 기본 글꼴" "로 되돌리기를 누르십시오." -#: C/gedit.xml:604(title) +#: C/pluma.xml:604(title) msgid "Printing a Document" msgstr "문서 인쇄하기" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"gedit을 사용해 다음 인쇄 작업을 할 수 있습니다:" +"pluma을 사용해 다음 인쇄 작업을 할 수 있습니다:" -#: C/gedit.xml:607(para) +#: C/pluma.xml:607(para) msgid "Print a document to a printer." msgstr "문서를 프린터로 인쇄합니다." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "Print the output of the print command to a file." msgstr "인쇄 명령의 결과를 파일로 인쇄합니다." -#: C/gedit.xml:612(para) +#: C/pluma.xml:612(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" @@ -1394,7 +1394,7 @@ msgstr "" "장 일반적인 인쇄용 파일 형식은 PostScript와 PDF(Portable Document Format)입" "니다." -#: C/gedit.xml:614(para) +#: C/pluma.xml:614(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Preview인쇄 미리 보기를 선택하십시" "오." -#: C/gedit.xml:616(para) +#: C/pluma.xml:616(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint인쇄를 선택하십시오. " "인쇄 대화 상자가 나타납니다." -#: C/gedit.xml:618(para) +#: C/pluma.xml:618(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "" "인쇄 대화 상자에서 다음 인쇄 옵션을 지정할 수 있습니다:" -#: C/gedit.xml:621(title) +#: C/pluma.xml:621(title) msgid "Job Tabbed Section" msgstr "작업 탭 섹션" -#: C/gedit.xml:623(guilabel) +#: C/pluma.xml:623(guilabel) msgid "Print range" msgstr "인쇄 범위" -#: C/gedit.xml:625(para) +#: C/pluma.xml:625(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "다음 옵션 중 하나로 인쇄할 페이지 수를 지정합니다:" -#: C/gedit.xml:628(guilabel) +#: C/pluma.xml:628(guilabel) msgid "All" msgstr "모두" -#: C/gedit.xml:629(para) +#: C/pluma.xml:629(para) msgid "Select this option to print all of the pages in the file." msgstr "파일의 모든 페이지를 인쇄하려면 이 옵션을 선택하십시오." -#: C/gedit.xml:632(guilabel) +#: C/pluma.xml:632(guilabel) msgid "Lines" msgstr "줄" -#: C/gedit.xml:633(para) +#: C/pluma.xml:633(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1455,11 +1455,11 @@ msgstr "" "지정한 줄만 인쇄하려면 이 옵션을 선택하십시오. 시작과 " " 스핀 상자에서 줄 범위를 지정하십시오." -#: C/gedit.xml:636(guilabel) +#: C/pluma.xml:636(guilabel) msgid "Selection" msgstr "선택" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1467,11 +1467,11 @@ msgstr "" "선택된 텍스트만 인쇄하려면 이 옵션을 선택하십시오. 이 옵션은 선택한 텍스트가 " "있는 경우에만 사용할 수 있습니다." -#: C/gedit.xml:643(guilabel) +#: C/pluma.xml:643(guilabel) msgid "Copies" msgstr "매수" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1479,7 +1479,7 @@ msgstr "" "인쇄 매수 스핀 상자를 사용해 파일을 몇 매 인쇄할 지 지정" "합니다." -#: C/gedit.xml:646(para) +#: C/pluma.xml:646(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1487,29 +1487,29 @@ msgstr "" "파일을 여러 매 인쇄하는 경우, 순서 맞추기 옵션으로 인쇄" "물의 순서를 맞출 수 있습니다." -#: C/gedit.xml:653(title) +#: C/pluma.xml:653(title) msgid "Printer Tabbed Section" msgstr "프린터 탭 섹션" -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Printer" msgstr "프린터" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "이 드롭다운 목록에서 파일을 어떤 프린터로 인쇄할 지 선택하십시오." -#: C/gedit.xml:660(guilabel) +#: C/pluma.xml:660(guilabel) msgid "Settings" msgstr "설정" -#: C/gedit.xml:662(para) +#: C/pluma.xml:662(para) msgid "Use this drop-down list to select the printer settings." msgstr "이 드롭다운 목록에서 프린터 설정을 지정하십시오." -#: C/gedit.xml:664(para) +#: C/pluma.xml:664(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1519,24 +1519,24 @@ msgstr "" "터가 지원하는 기능에 따라서 양면 인쇄 사용 여부를 설정할 수도 있고, 일정 시" "간 뒤에 인쇄를 할 수도 있습니다." -#: C/gedit.xml:668(guilabel) +#: C/pluma.xml:668(guilabel) msgid "Location" msgstr "위치" -#: C/gedit.xml:670(para) +#: C/pluma.xml:670(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "이 드롭다운 목록에서 다음 인쇄 대상 중의 하나를 선택하십시오:" -#: C/gedit.xml:675(guilabel) +#: C/pluma.xml:675(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:677(para) +#: C/pluma.xml:677(para) msgid "Print the file to a CUPS printer." msgstr "파일을 CUPS 프린터로 인쇄합니다." -#: C/gedit.xml:681(para) +#: C/pluma.xml:681(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1544,23 +1544,23 @@ msgstr "" "선택한 프린터가 CUPS 프린터인 경우, 이 드롭다운 목록에는 CUPS만 들어 있습니다." -#: C/gedit.xml:688(guilabel) +#: C/pluma.xml:688(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:690(para) +#: C/pluma.xml:690(para) msgid "Print the file to a printer." msgstr "파일을 프린터로 인쇄합니다." -#: C/gedit.xml:696(guilabel) +#: C/pluma.xml:696(guilabel) msgid "File" msgstr "파일" -#: C/gedit.xml:698(para) +#: C/pluma.xml:698(para) msgid "Print the file to a PostScript file." msgstr "파일을 PostScript 파일로 인쇄합니다." -#: C/gedit.xml:701(para) +#: C/pluma.xml:701(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1568,15 +1568,15 @@ msgstr "" "다른 이름으로 저장을 누르면 PostScript 파일의 경로와 " "이름을 지정하는 대화 창이 나타납니다." -#: C/gedit.xml:707(guilabel) +#: C/pluma.xml:707(guilabel) msgid "Custom" msgstr "사용자 지정" -#: C/gedit.xml:709(para) +#: C/pluma.xml:709(para) msgid "Use the specified command to print the file." msgstr "지정한 명령어를 이용해 파일을 인쇄합니다." -#: C/gedit.xml:712(para) +#: C/pluma.xml:712(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1584,41 +1584,41 @@ msgstr "" "텍스트 입력란에서 명령어의 이름을 입력하십시오. 명령행 인자를 모두 입력하십시" "오." -#: C/gedit.xml:720(guilabel) +#: C/pluma.xml:720(guilabel) msgid "State" msgstr "상태" -#: C/gedit.xml:722(para) C/gedit.xml:728(para) C/gedit.xml:734(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "이 기능은 이 버전의 gedit가 지원하지 않습니다." +#: C/pluma.xml:722(para) C/pluma.xml:728(para) C/pluma.xml:734(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "이 기능은 이 버전의 pluma가 지원하지 않습니다." -#: C/gedit.xml:726(guilabel) +#: C/pluma.xml:726(guilabel) msgid "Type" msgstr "형식" -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "Comment" msgstr "설명" -#: C/gedit.xml:742(title) +#: C/pluma.xml:742(title) msgid "Paper Tabbed Section" msgstr "용지 탭 섹션" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Paper size" msgstr "용지 크기" -#: C/gedit.xml:746(para) +#: C/pluma.xml:746(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "이 드롭다운 목록을 사용해 파일을 인쇄할 용지의 크기를 선택하십시오." -#: C/gedit.xml:749(guilabel) +#: C/pluma.xml:749(guilabel) msgid "Width" msgstr "너비" -#: C/gedit.xml:751(para) +#: C/pluma.xml:751(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1626,37 +1626,37 @@ msgstr "" "이 스핀 상자를 사용해 용지 너비를 지정하십시오. 옆에 있는 드롭다운 목록으로 " "크기의 단위를 바꿀 수 있습니다." -#: C/gedit.xml:754(guilabel) +#: C/pluma.xml:754(guilabel) msgid "Height" msgstr "높이" -#: C/gedit.xml:756(para) +#: C/pluma.xml:756(para) msgid "Use this spin box to specify the height of the paper." msgstr "이 스핀 상자를 사용해 용지의 높이를 지정하십시오." -#: C/gedit.xml:759(guilabel) +#: C/pluma.xml:759(guilabel) msgid "Feed orientation" msgstr "용지 보급 방향" -#: C/gedit.xml:761(para) +#: C/pluma.xml:761(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "이 드롭다운 목록을 사용해 프린터의 용지 방향을 선택합니다." -#: C/gedit.xml:764(guilabel) +#: C/pluma.xml:764(guilabel) msgid "Page orientation" msgstr "페이지 방향" -#: C/gedit.xml:766(para) +#: C/pluma.xml:766(para) msgid "Use this drop-down list to select the page orientation." msgstr "이 드롭다운 목록을 사용해 페이지 방향을 선택하십시오." -#: C/gedit.xml:769(guilabel) +#: C/pluma.xml:769(guilabel) msgid "Layout" msgstr "배치" -#: C/gedit.xml:771(para) +#: C/pluma.xml:771(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1664,35 +1664,35 @@ msgstr "" "이 드롭다운 목록을 사용해 페이지 레이아웃을 선택하십시오. 선택한 각 레이아웃" "의 미리 보기를 미리 보기 영역에 표시합니다." -#: C/gedit.xml:774(guilabel) +#: C/pluma.xml:774(guilabel) msgid "Paper tray" msgstr "용지 트레이" -#: C/gedit.xml:776(para) +#: C/pluma.xml:776(para) msgid "Use this drop-down list to select the paper tray." msgstr "이 드롭다운 목록을 사용해 용지 트레이를 선택하십시오." -#: C/gedit.xml:787(title) +#: C/pluma.xml:787(title) msgid "Programming Features" msgstr "프로그래밍 기능" -#: C/gedit.xml:789(para) +#: C/pluma.xml:789(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"gedit의 프로그래밍을 위한 몇 가지 기능이 플러그인" +"pluma의 프로그래밍을 위한 몇 가지 기능이 플러그인" "에 들어 있습니다. 예를 들어 태그 목록 플러그인에는 여러가지 마크업 언어에서 " -"많이 사용하는 태그 목록이 들어 있습니다. 부분을 참고하십시오." -#: C/gedit.xml:793(title) +#: C/pluma.xml:793(title) msgid "Syntax Highlighting" msgstr "구문 강조" -#: C/gedit.xml:794(para) +#: C/pluma.xml:794(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1700,9 +1700,9 @@ msgstr "" "구문 강조를 사용하면 텍스트를 각 부분마다 다른 색으로 표시해서 소스 코드를 읽" "기 쉽게 만듭니다." -#: C/gedit.xml:796(para) +#: C/pluma.xml:796(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" @@ -1713,19 +1713,19 @@ msgstr "" "십시오:" # FIXME: "None" in the program -#: C/gedit.xml:799(guimenuitem) +#: C/pluma.xml:799(guimenuitem) msgid "Normal" msgstr "보통" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "Do not display any syntax highlighting." msgstr "구문 강조를 표시하지 않습니다." -#: C/gedit.xml:805(guisubmenu) +#: C/pluma.xml:805(guisubmenu) msgid "Sources" msgstr "소스" -#: C/gedit.xml:807(para) +#: C/pluma.xml:807(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1733,11 +1733,11 @@ msgstr "" "소스 코드를 편집할 때 구문 강조를 표시합니다. 소스 " "서브메뉴에서 소스 코드의 종류를 선택하십시오." -#: C/gedit.xml:811(guisubmenu) +#: C/pluma.xml:811(guisubmenu) msgid "Markup" msgstr "마크업" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1745,11 +1745,11 @@ msgstr "" "마크업 코드를 편집할 때 구문 강조를 표시합니다. 마크업 서브메뉴에서 마크어 코드의 종류를 선택하십시오." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Scripts" msgstr "스크립트" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1757,11 +1757,11 @@ msgstr "" "스크립트 코드를 편집할 때 구문 강조를 표시합니다. 스크립트 서브메뉴에서 스크립트 코드의 종류를 선택하십시오." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Others" msgstr "기타" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1769,35 +1769,35 @@ msgstr "" "기타 형식의 코드를 편집할 때 구문 강조를 표시합니다. 기타 서브메뉴에서 기타 코드의 종류를 선택하십시오." -#: C/gedit.xml:829(para) +#: C/pluma.xml:829(para) msgid "" "For more information about how to configure syntax highlighting, see ." +"linkend=\"pluma-prefs-syntax\"/>." msgstr "" -"구문 분석을 설정하는 방법에 대해 좀 더 알고 싶으시면, 부분을 참고하십시오." -#: C/gedit.xml:835(title) +#: C/pluma.xml:835(title) msgid "Piping the Output of a Command to a File" msgstr "명령어 출력을 파일로 돌려 넣기" -#: C/gedit.xml:836(para) +#: C/pluma.xml:836(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." -msgstr "gedit를 사용해 어떤 명령어의 출력을 텍스트 파일로 돌려 넣을 수 있습니다. 예를 들어 ls 명령의 출력을 텍스트 파일로 돌려 넣으려면, ls | gedit라고 입력하고 Return 키를 누르십시오." +msgstr "pluma를 사용해 어떤 명령어의 출력을 텍스트 파일로 돌려 넣을 수 있습니다. 예를 들어 ls 명령의 출력을 텍스트 파일로 돌려 넣으려면, ls | pluma라고 입력하고 Return 키를 누르십시오." -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -"gedit 창에서 ls 명령의 출력을 " +"pluma 창에서 ls 명령의 출력을 " "새 텍스트 파일로 표시합니다." -#: C/gedit.xml:838(para) +#: C/pluma.xml:838(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1805,21 +1805,21 @@ msgstr "" "다른 방법으로, 외부 도구 플러그인을 사용해 명령어 " "출력을 현재 파일로 돌려 넣을 수 있습니다." -#: C/gedit.xml:844(title) +#: C/pluma.xml:844(title) msgid "Shortcut Keys" msgstr "바로 가기 키" -#: C/gedit.xml:845(para) +#: C/pluma.xml:845(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "바로 가기 키를 사용하면 마우스나 메뉴보다 더 빠르게 많이 사용하는 작업을 할 " -"수 있습니다. 다음 표에 gedit의 모든 바로 가기 키" +"수 있습니다. 다음 표에 pluma의 모든 바로 가기 키" "의 목록이 있습니다." -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1828,390 +1828,390 @@ msgstr "" "user-guide?keyboard-skills\">데스크탑 사용자 안내서를 참고하십시오." #. ============= Tabs ======================== -#: C/gedit.xml:849(bridgehead) C/gedit.xml:1193(guilabel) +#: C/pluma.xml:849(bridgehead) C/pluma.xml:1193(guilabel) msgid "Tabs" msgstr "탭" -#: C/gedit.xml:850(para) +#: C/pluma.xml:850(para) msgid "Shortcuts for tabs:" msgstr "탭 관련 바로 가기:" -#: C/gedit.xml:858(para) C/gedit.xml:902(para) C/gedit.xml:958(para) -#: C/gedit.xml:1002(para) C/gedit.xml:1030(para) C/gedit.xml:1077(para) -#: C/gedit.xml:1120(para) +#: C/pluma.xml:858(para) C/pluma.xml:902(para) C/pluma.xml:958(para) +#: C/pluma.xml:1002(para) C/pluma.xml:1030(para) C/pluma.xml:1077(para) +#: C/pluma.xml:1120(para) msgid "Shortcut Key" msgstr "바로 가기 키" -#: C/gedit.xml:860(para) C/gedit.xml:904(para) C/gedit.xml:960(para) -#: C/gedit.xml:1004(para) C/gedit.xml:1032(para) C/gedit.xml:1079(para) -#: C/gedit.xml:1122(para) +#: C/pluma.xml:860(para) C/pluma.xml:904(para) C/pluma.xml:960(para) +#: C/pluma.xml:1004(para) C/pluma.xml:1032(para) C/pluma.xml:1079(para) +#: C/pluma.xml:1122(para) msgid "Command" msgstr "명령" -#: C/gedit.xml:865(para) C/gedit.xml:869(para) +#: C/pluma.xml:865(para) C/pluma.xml:869(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:866(para) +#: C/pluma.xml:866(para) msgid "Switches to the next tab to the left." msgstr "왼쪽 옆에 있는 탭으로 이동합니다." -#: C/gedit.xml:870(para) +#: C/pluma.xml:870(para) msgid "Switches to the next tab to the right." msgstr "오른쪽 옆에 있는 탭으로 이동합니다." -#: C/gedit.xml:873(para) C/gedit.xml:937(para) +#: C/pluma.xml:873(para) C/pluma.xml:937(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:874(para) +#: C/pluma.xml:874(para) msgid "Close tab." msgstr "탭을 닫습니다." -#: C/gedit.xml:877(para) +#: C/pluma.xml:877(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:878(para) +#: C/pluma.xml:878(para) msgid "Save all tabs." msgstr "모든 탭을 저장합니다." -#: C/gedit.xml:881(para) +#: C/pluma.xml:881(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:882(para) +#: C/pluma.xml:882(para) msgid "Close all tabs." msgstr "모든 탭을 닫습니다." -#: C/gedit.xml:885(para) +#: C/pluma.xml:885(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:886(para) +#: C/pluma.xml:886(para) msgid "Jump to nth tab." msgstr "n번째 탭으로 이동합니다." #. ============= Files ======================== -#: C/gedit.xml:893(bridgehead) +#: C/pluma.xml:893(bridgehead) msgid "Files" msgstr "파일" -#: C/gedit.xml:894(para) +#: C/pluma.xml:894(para) msgid "Shortcuts for working with files:" msgstr "파일 작업 관련 바로 가기:" -#: C/gedit.xml:909(para) +#: C/pluma.xml:909(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:910(para) +#: C/pluma.xml:910(para) msgid "Create a new document." msgstr "새 문서를 만듭니다." -#: C/gedit.xml:913(para) +#: C/pluma.xml:913(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:914(para) +#: C/pluma.xml:914(para) msgid "Open a document." msgstr "문서를 엽니다." -#: C/gedit.xml:917(para) +#: C/pluma.xml:917(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:918(para) +#: C/pluma.xml:918(para) msgid "Open a location." msgstr "위치를 엽니다." -#: C/gedit.xml:921(para) +#: C/pluma.xml:921(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:922(para) +#: C/pluma.xml:922(para) msgid "Save the current document to disk." msgstr "현재 문서를 디스크에 저장합니다." -#: C/gedit.xml:925(para) +#: C/pluma.xml:925(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:926(para) +#: C/pluma.xml:926(para) msgid "Save the current document with a new filename." msgstr "현재 문서를 다른 파일 이름으로 저장합니다." -#: C/gedit.xml:929(para) +#: C/pluma.xml:929(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:930(para) +#: C/pluma.xml:930(para) msgid "Print the current document." msgstr "현재 문서를 인쇄합니다." -#: C/gedit.xml:933(para) +#: C/pluma.xml:933(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:934(para) +#: C/pluma.xml:934(para) msgid "Print preview." msgstr "인쇄 미리 보기." -#: C/gedit.xml:938(para) +#: C/pluma.xml:938(para) msgid "Close the current document." msgstr "현재 문서를 닫습니다." -#: C/gedit.xml:941(para) +#: C/pluma.xml:941(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:942(para) -msgid "Quit Gedit." -msgstr "gedit를 끝냅니다." +#: C/pluma.xml:942(para) +msgid "Quit Pluma." +msgstr "pluma를 끝냅니다." #. ============= Edit ======================= -#: C/gedit.xml:949(bridgehead) C/gedit.xml:1491(guimenu) -#: C/gedit.xml:1497(guimenu) C/gedit.xml:1503(guimenu) -#: C/gedit.xml:1509(guimenu) +#: C/pluma.xml:949(bridgehead) C/pluma.xml:1491(guimenu) +#: C/pluma.xml:1497(guimenu) C/pluma.xml:1503(guimenu) +#: C/pluma.xml:1509(guimenu) msgid "Edit" msgstr "편집" -#: C/gedit.xml:950(para) +#: C/pluma.xml:950(para) msgid "Shortcuts for editing documents:" msgstr "문서 편집 관련 바로 가기:" -#: C/gedit.xml:965(para) +#: C/pluma.xml:965(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:966(para) +#: C/pluma.xml:966(para) msgid "Undo the last action." msgstr "마지막 동작을 취소합니다." -#: C/gedit.xml:969(para) +#: C/pluma.xml:969(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:970(para) +#: C/pluma.xml:970(para) msgid "Redo the last undone action ." msgstr "마지막 취소한 동작을 다시 실행합니다." -#: C/gedit.xml:973(para) +#: C/pluma.xml:973(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:974(para) +#: C/pluma.xml:974(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "선택한 텍스트를 잘라 클립보드에 넣습니다." -#: C/gedit.xml:977(para) +#: C/pluma.xml:977(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:978(para) +#: C/pluma.xml:978(para) msgid "Copy the selected text or region onto the clipboard." msgstr "선택한 텍스트를 복사해 클립보드에 넣습니다." -#: C/gedit.xml:981(para) +#: C/pluma.xml:981(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:982(para) +#: C/pluma.xml:982(para) msgid "Paste the contents of the clipboard." msgstr "클립보드의 내용을 붙여 넣습니다." -#: C/gedit.xml:985(para) +#: C/pluma.xml:985(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:986(para) +#: C/pluma.xml:986(para) msgid "Select all." msgstr "모두 선택합니다." #. ============= Panes ======================= -#: C/gedit.xml:993(bridgehead) +#: C/pluma.xml:993(bridgehead) msgid "Panes" msgstr "창 부분" -#: C/gedit.xml:994(para) +#: C/pluma.xml:994(para) msgid "Shortcuts for showing and hiding panes:" msgstr "창 부분을 보이고 감추는 바로 가기:" -#: C/gedit.xml:1009(para) +#: C/pluma.xml:1009(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1010(para) +#: C/pluma.xml:1010(para) msgid "Show/hide the side pane." msgstr "가장자리 창을 보이고 감춥니다." -#: C/gedit.xml:1013(para) +#: C/pluma.xml:1013(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1014(para) +#: C/pluma.xml:1014(para) msgid "Show/hide the bottom pane." msgstr "아래 창을 보이고 감춥니다." #. ============= Search ======================= -#: C/gedit.xml:1021(bridgehead) +#: C/pluma.xml:1021(bridgehead) msgid "Search" msgstr "찾기" -#: C/gedit.xml:1022(para) +#: C/pluma.xml:1022(para) msgid "Shortcuts for searching:" msgstr "찾기 관련 바로 가기:" -#: C/gedit.xml:1037(para) +#: C/pluma.xml:1037(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1038(para) +#: C/pluma.xml:1038(para) msgid "Find a string." msgstr "문자열을 찾습니다." -#: C/gedit.xml:1041(para) +#: C/pluma.xml:1041(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1042(para) +#: C/pluma.xml:1042(para) msgid "Find the next instance of the string." msgstr "다음에 나오는 그 문자열을 찾습니다." -#: C/gedit.xml:1045(para) +#: C/pluma.xml:1045(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1046(para) +#: C/pluma.xml:1046(para) msgid "Find the previous instance of the string." msgstr "이전에 나오는 그 문자열을 찾습니다." -#: C/gedit.xml:1049(para) +#: C/pluma.xml:1049(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1050(para) +#: C/pluma.xml:1050(para) msgid "Interactive search." msgstr "바로 찾기." -#: C/gedit.xml:1053(para) +#: C/pluma.xml:1053(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1054(para) +#: C/pluma.xml:1054(para) msgid "Search and replace." msgstr "찾기 및 바꾸기." -#: C/gedit.xml:1057(para) +#: C/pluma.xml:1057(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1058(para) +#: C/pluma.xml:1058(para) msgid "Clear highlight." msgstr "강조를 지웁니다." -#: C/gedit.xml:1061(para) +#: C/pluma.xml:1061(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1062(para) +#: C/pluma.xml:1062(para) msgid "Goto line." msgstr "줄로 이동합니다." #. ============= Tools ======================= -#: C/gedit.xml:1068(bridgehead) +#: C/pluma.xml:1068(bridgehead) msgid "Tools" msgstr "도구" -#: C/gedit.xml:1069(para) +#: C/pluma.xml:1069(para) msgid "Shortcuts for tools:" msgstr "도구에 사용하는 바로 가기:" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1085(para) +#: C/pluma.xml:1085(para) msgid "Check spelling (with plugin)." msgstr "맞춤법을 검사합니다. (플러그인 사용)" -#: C/gedit.xml:1088(para) +#: C/pluma.xml:1088(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1089(para) +#: C/pluma.xml:1089(para) msgid "Remove trailing spaces (with plugin)." msgstr "뒤에 붙은 공백을 지웁니다. (플러그인 사용)" -#: C/gedit.xml:1092(para) +#: C/pluma.xml:1092(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1093(para) +#: C/pluma.xml:1093(para) msgid "Indent (with plugin)." msgstr "들여 씁니다. (플러그인 사용)" -#: C/gedit.xml:1096(para) +#: C/pluma.xml:1096(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1097(para) +#: C/pluma.xml:1097(para) msgid "Remove Indent (with plugin)." msgstr "들여 쓰기를 지웁니다. (플러그인 사용)" -#: C/gedit.xml:1100(para) +#: C/pluma.xml:1100(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1101(para) +#: C/pluma.xml:1101(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "현재 디렉토리에서 \"make\"를 실행합니다. (플러그인 사용)" -#: C/gedit.xml:1104(para) +#: C/pluma.xml:1104(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1105(para) +#: C/pluma.xml:1105(para) msgid "Directory listing (with plugin)." msgstr "디렉토리 내용을 봅니다. (플러그인 사용)" #. ============= Help ======================= -#: C/gedit.xml:1111(bridgehead) +#: C/pluma.xml:1111(bridgehead) msgid "Help" msgstr "도움말" -#: C/gedit.xml:1112(para) +#: C/pluma.xml:1112(para) msgid "Shortcuts for help:" msgstr "도움말에 사용하는 바로 가기:" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1128(para) -msgid "Open gedit's user manual." -msgstr "gedit 사용자 설명서를 엽니다." +#: C/pluma.xml:1128(para) +msgid "Open pluma's user manual." +msgstr "pluma 사용자 설명서를 엽니다." -#: C/gedit.xml:1140(title) +#: C/pluma.xml:1140(title) msgid "Preferences" msgstr "기본 설정" -#: C/gedit.xml:1142(para) +#: C/pluma.xml:1142(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"gedit를 설정하려면 편집pluma를 설정하려면 편집기본 설정을 선택하십시오. " "기본 설정 대화 상자에는 다음 분류가 들어 있습니다:" -#: C/gedit.xml:1152(title) +#: C/pluma.xml:1152(title) msgid "View Preferences" msgstr "보기 미리 설정" -#: C/gedit.xml:1157(para) +#: C/pluma.xml:1157(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2221,7 +2221,7 @@ msgstr "" "급하고, 텍스트 창의 끝을 벗어나지 않도록 만듭니다. 이 기능을 사용하면 가로 방" "향으로 스크롤할 필요가 없어집니다." -#: C/gedit.xml:1158(para) +#: C/pluma.xml:1158(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2231,29 +2231,29 @@ msgstr "" "음 줄로 넘어갈 때 단어 중간에서 줄을 바꾸지 않게 만듭니다. 이 기능을 사용하" "면 글을 읽기가 쉬워집니다." -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" -"줄 번호 표시 옵션을 선택하면 gedit줄 번호 표시 옵션을 선택하면 pluma 창의 왼 쪽에 줄 번호를 표시합니다." -#: C/gedit.xml:1168(guilabel) +#: C/pluma.xml:1168(guilabel) msgid "Current Line" msgstr "현재 줄" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." msgstr "현재 줄 강조 옵션을 선택하면 커서가 있는 줄을 강조합니다." -#: C/gedit.xml:1174(guilabel) +#: C/pluma.xml:1174(guilabel) msgid "Right Margin" msgstr "오른쪽 여백" -#: C/gedit.xml:1176(para) +#: C/pluma.xml:1176(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2261,7 +2261,7 @@ msgstr "" "오른쪽 여백 표시 옵션을 선택하면 오른쪽 여백을 나타내는 " "수직선을 표시합니다." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2269,44 +2269,44 @@ msgstr "" "다음 열에 오른쪽 여백 스핀 상자에서 수직선의 위치를 지정" "하십시오." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Bracket Matching" msgstr "일치하는 괄호" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " "bracket character." msgstr "일치하는 괄호 강조 옵션을 사용하면 커서가 괄호 문자 위에 있을 때 그 괄호와 대응하는 괄호를 강조합니다." -#: C/gedit.xml:1191(title) +#: C/pluma.xml:1191(title) msgid "Editor Preferences" msgstr "편집기 기본 설정" -#: C/gedit.xml:1195(para) +#: C/pluma.xml:1195(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "탭 너비 스핀 상자를 사용해 Tab 키를 누" "를 때 넣을 공백의 너비를 지정하십시오." -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "탭 대신 공백 넣기 옵션을 사용해 Tab 키" "를 눌렀을 때 탭 문자가 아니라 여러 개의 공백을 넣도록 지정합니다." -#: C/gedit.xml:1199(guilabel) +#: C/pluma.xml:1199(guilabel) msgid "Auto Indentation" msgstr "자동 들여쓰기" -#: C/gedit.xml:1200(para) +#: C/pluma.xml:1200(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2314,11 +2314,11 @@ msgstr "" "자동 들여 쓰기 사용 옵션을 선택해 다음 줄이 현재 줄의 들" "여 쓰기 위치에서 시작하도록 만듭니다." -#: C/gedit.xml:1203(guilabel) +#: C/pluma.xml:1203(guilabel) msgid "File Saving" msgstr "저장 저장" -#: C/gedit.xml:1205(para) +#: C/pluma.xml:1205(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2328,7 +2328,7 @@ msgstr "" "때마다 파일의 백업 복사본을 만듭니다. 파일의 백업 복사본에는 파일 이름 뒤에 ~" "가 하나 붙습니다." -#: C/gedit.xml:1206(para) +#: C/pluma.xml:1206(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2338,65 +2338,65 @@ msgstr "" "을 일정 시간마다 자동으로 저장합니다. 스핀 상자로 얼마나 자주 파일을 저장할 " "지 지정합니다." -#: C/gedit.xml:1213(title) +#: C/pluma.xml:1213(title) msgid "Font & Colors Preferences" msgstr "글꼴 및 색 기본 설정" -#: C/gedit.xml:1215(guilabel) +#: C/pluma.xml:1215(guilabel) msgid "Font" msgstr "글꼴" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" -"기본 테마 색 사용 옵션을 선택하면 gedit기본 테마 색 사용 옵션을 선택하면 pluma 텍스트 창의 텍스트에 기본 시스템 글꼴을 사용합니다." -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "편집기 글꼴 부분은 텍스트를 표시할 때 사용하는 글꼴을 표" "시합니다. 이 단추를 눌러 글꼴의 종류, 유형, 크기를 지정할 수 있습니다." -#: C/gedit.xml:1221(guilabel) +#: C/pluma.xml:1221(guilabel) msgid "Colors" msgstr "색" -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Use default theme colors option to use the " -"default theme colors in the gedit text window." +"default theme colors in the pluma text window." msgstr "" -"기본 테마 색 사용 옵션을 선택하면 gedit기본 테마 색 사용 옵션을 선택하면 pluma 텍스트 창에서 기본 테마 색을 사용합니다." -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Click on the Normal text color color button to " "display the color selector dialog. Select a color to use to display normal " -"text in the gedit text window." +"text in the pluma text window." msgstr "" "일반 텍스트 색 색 단추를 누르면 색 선택 대화 창을 표시" -"합니다. gedit 텍스트 창에서 일반 텍스트를 표시할 " +"합니다. pluma 텍스트 창에서 일반 텍스트를 표시할 " "때 사용할 색을 고르십시오." -#: C/gedit.xml:1225(para) +#: C/pluma.xml:1225(para) msgid "" "Click on the Background color color button to display " "the color selector dialog. Select a background color for the " -"gedit text window." +"pluma text window." msgstr "" "배경색 색 단추를 누르면 색 선택 대화 창을 표시합니다. " -"gedit 텍스트 창에서 배경색을 표시할 때 사용할 색" +"pluma 텍스트 창에서 배경색을 표시할 때 사용할 색" "을 고르십시오." -#: C/gedit.xml:1226(para) +#: C/pluma.xml:1226(para) msgid "" "Click on the Selected text color color button to " "display the color selector dialog. Select a color to use to display selected " @@ -2405,7 +2405,7 @@ msgstr "" "선택한 텍스트 색 색 단추를 누르면 색 선택 대화 창을 표" "시합니다. 선택한 텍스트를 표시할 때 사용할 색을 고르십시오." -#: C/gedit.xml:1228(para) +#: C/pluma.xml:1228(para) msgid "" "Click on the Selection color color button to display " "the color selector dialog. Select a background color to use to highlight a " @@ -2414,89 +2414,89 @@ msgstr "" "선택 색 색 단추를 누르면 색 선택 대화 창을 표시합니" "다. 선택한 텍스트를 강조할 때 사용할 배경색을 고르십시오." -#: C/gedit.xml:1235(title) +#: C/pluma.xml:1235(title) msgid "Syntax Highlighting Preferences" msgstr "구문 강조 기본 설정" -#: C/gedit.xml:1237(guilabel) +#: C/pluma.xml:1237(guilabel) msgid "Enable syntax highlighting" msgstr "구문 강조 사용" -#: C/gedit.xml:1239(para) +#: C/pluma.xml:1239(para) msgid "Select this option to highlight the syntax of the text that you edit." msgstr "이 옵션을 선택하면 텍스트를 편집할 때 구문을 강조합니다." -#: C/gedit.xml:1242(guilabel) +#: C/pluma.xml:1242(guilabel) msgid "Highlight mode" msgstr "강조 모드" -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "Use this drop-down list to select a syntax mode to configure." msgstr "이 드롭다운 목록에서 설정할 구문 모드를 고릅니다." -#: C/gedit.xml:1247(guilabel) +#: C/pluma.xml:1247(guilabel) msgid "Elements" msgstr "구성 요소" -#: C/gedit.xml:1249(para) +#: C/pluma.xml:1249(para) msgid "Use this list box to select a syntax element to configure." msgstr "이 목록에서 설정할 구문 구성 요소를 고릅니다." -#: C/gedit.xml:1252(term) +#: C/pluma.xml:1252(term) msgid "Format buttons" msgstr "형식 단추" -#: C/gedit.xml:1254(para) +#: C/pluma.xml:1254(para) msgid "" "Use the following buttons to change the format of the selected syntax " "element:" msgstr "다음 단추를 사용해 선택한 구문 구성 요소의 형식을 바꿉니다:" -#: C/gedit.xml:1262(para) +#: C/pluma.xml:1262(para) msgid "Button" msgstr "단추" -#: C/gedit.xml:1264(para) +#: C/pluma.xml:1264(para) msgid "Format" msgstr "형식" -#: C/gedit.xml:1276(phrase) +#: C/pluma.xml:1276(phrase) msgid "Shows icon for bold format." msgstr "굵은 글씨 형식의 아이콘을 표시합니다." -#: C/gedit.xml:1282(para) +#: C/pluma.xml:1282(para) msgid "Bold" msgstr "굵게" -#: C/gedit.xml:1294(phrase) +#: C/pluma.xml:1294(phrase) msgid "Shows icon for italic format." msgstr "이탤릭 형식의 아이콘을 표시합니다." -#: C/gedit.xml:1300(para) +#: C/pluma.xml:1300(para) msgid "Italic" msgstr "이탤릭" -#: C/gedit.xml:1312(phrase) +#: C/pluma.xml:1312(phrase) msgid "Shows icon for underline." msgstr "밑줄 아이콘을 표시합니다." -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "Underline" msgstr "밑줄" -#: C/gedit.xml:1330(phrase) +#: C/pluma.xml:1330(phrase) msgid "Shows icon for strikethrough." msgstr "취소선 아이콘을 표시합니다." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "Strikethrough" msgstr "취소선" -#: C/gedit.xml:1346(guilabel) +#: C/pluma.xml:1346(guilabel) msgid "Foreground" msgstr "글자색" -#: C/gedit.xml:1348(para) +#: C/pluma.xml:1348(para) msgid "" "Select this option to change the font color of the selected syntax element. " "Click on the color button to display the color selector dialog, then select " @@ -2505,11 +2505,11 @@ msgstr "" "이 옵션으로 선택한 구문 구성 요소의 글꼴 색을 바꿉니다. 색 단추를 눌러 색 선" "택 대화 창을 표시하고, 글꼴의 색을 고르십시오." -#: C/gedit.xml:1351(guilabel) +#: C/pluma.xml:1351(guilabel) msgid "Background" msgstr "배경색" -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "Select this option to change the background color of the selected syntax " "element. Click on the color button to display the color selector dialog, " @@ -2518,11 +2518,11 @@ msgstr "" "이 옵션으로 선택한 구문 구성 요소의 배경 색을 바꿉니다. 색 단추를 눌러 색 선" "택 대화 창을 표시하고, 배경 색을 고르십시오." -#: C/gedit.xml:1356(guibutton) +#: C/pluma.xml:1356(guibutton) msgid "Reset to Default" msgstr "기본값으로 리셋" -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" "Click on this button to reset the foreground color and background color of " "the selected syntax element to the default values." @@ -2530,33 +2530,33 @@ msgstr "" "이 단추를 누르면 선택한 구문 구성 요소의 글자색과 배경색을 기본값으로 바꿉니" "다." -#: C/gedit.xml:1365(title) +#: C/pluma.xml:1365(title) msgid "Plugins Preferences" msgstr "플러그인 기본 설정" -#: C/gedit.xml:1366(para) +#: C/pluma.xml:1366(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"플러그인은 gedit에 부가적인 기능을 추가합니다. 플" +"플러그인은 pluma에 부가적인 기능을 추가합니다. 플" "러그인 및 내장 플러그인 사용법에 대해 좀 더 알고 싶으시면, 부분을 참고하십시오." +"\"pluma-plugins-overview\"/> 부분을 참고하십시오." -#: C/gedit.xml:1371(title) +#: C/pluma.xml:1371(title) msgid "Enabling a Plugin" msgstr "플러그인 사용하기" -#: C/gedit.xml:1372(para) +#: C/pluma.xml:1372(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"gedit 플러그인을 사용하려면, 다음 순서대로 하십시" +"pluma 플러그인을 사용하려면, 다음 순서대로 하십시" "오:" -#: C/gedit.xml:1375(para) C/gedit.xml:1396(para) C/gedit.xml:1720(para) +#: C/pluma.xml:1375(para) C/pluma.xml:1396(para) C/pluma.xml:1720(para) msgid "" "Choose EditPreferences." @@ -2564,16 +2564,16 @@ msgstr "" "편집기본 설정을 선택하십시오." -#: C/gedit.xml:1378(para) C/gedit.xml:1399(para) C/gedit.xml:1723(para) +#: C/pluma.xml:1378(para) C/pluma.xml:1399(para) C/pluma.xml:1723(para) msgid "Select the Plugins tab." msgstr "플러그인 탭을 선택하십시오." -#: C/gedit.xml:1381(para) +#: C/pluma.xml:1381(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "사용하려는 플러그인의 이름 옆에 있는 확인란을 선택하십시오." -#: C/gedit.xml:1384(para) C/gedit.xml:1405(para) +#: C/pluma.xml:1384(para) C/pluma.xml:1405(para) msgid "" "Click Close to close the Preferences dialog." @@ -2581,107 +2581,107 @@ msgstr "" "닫기를 눌러 기본 설정 대화 창을 " "닫으십시오." -#: C/gedit.xml:1391(title) +#: C/pluma.xml:1391(title) msgid "Disabling a Plugin" msgstr "플러그인 사용하지 않기" -#: C/gedit.xml:1392(para) +#: C/pluma.xml:1392(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"gedit을 끝내더라도 플러그인은 계속 사용하는 상태" +"pluma을 끝내더라도 플러그인은 계속 사용하는 상태" "로 남아 있습니다." -#: C/gedit.xml:1393(para) +#: C/pluma.xml:1393(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"gedit 플러그인을 사용하지 않으려면, 다음 순서대로 " +"pluma 플러그인을 사용하지 않으려면, 다음 순서대로 " "하십시오:" -#: C/gedit.xml:1402(para) +#: C/pluma.xml:1402(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" "사용하지 않으려는 플러그인의 이름 옆에 있는 확인란의 선택을 지우십시오." -#: C/gedit.xml:1414(title) +#: C/pluma.xml:1414(title) msgid "Plugins" msgstr "플러그인" -#: C/gedit.xml:1416(title) +#: C/pluma.xml:1416(title) msgid "Working with Plugins" msgstr "플러그인 작업하기" -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"플러그인을 사용해 gedit에 " +"플러그인을 사용해 pluma에 " "부가적인 기능을 추가할 수 있습니다. 플러그인은 어떤 응용 프로그램의 기능을 향" "상시켜 주는 보조 프로그램입니다. 플러그인을 사용하면 그 플러그인에 들어 있는 " -"기능에 해당하는 메뉴 항목을 gedit 메뉴에 새로 추가" +"기능에 해당하는 메뉴 항목을 pluma 메뉴에 새로 추가" "합니다." -#: C/gedit.xml:1419(para) +#: C/pluma.xml:1419(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"몇 가지 플러그인이 gedit에 내장되어 있고, 플러그인" -"을 더 설치할 수도 있습니다. gedit 웹사이트에 외부에서 만든 플러그인의 목록이 있습" +"몇 가지 플러그인이 pluma에 내장되어 있고, 플러그인" +"을 더 설치할 수도 있습니다. pluma 웹사이트에 외부에서 만든 플러그인의 목록이 있습" "니다." -#: C/gedit.xml:1420(para) +#: C/pluma.xml:1420(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "플러그인을 사용하거나 사용하지 않으려면, 아니면 현재 사용하고 있는 플러그인" -"을 보려면, 플러그인 기본 설정을 " +"을 보려면, 플러그인 기본 설정을 " "사용하십시오." -#: C/gedit.xml:1421(para) +#: C/pluma.xml:1421(para) msgid "" -"The following plugins come built-in with gedit:" -msgstr "다음 플러그인이 gedit에 내장되어 있습니다:" +"The following plugins come built-in with pluma:" +msgstr "다음 플러그인이 pluma에 내장되어 있습니다:" -#: C/gedit.xml:1427(para) +#: C/pluma.xml:1427(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"대소문자 바꾸기대소문자 바꾸기로 선택한 텍스트의 대소문자를 바꿀 수 있습니다." -#: C/gedit.xml:1430(para) +#: C/pluma.xml:1430(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"문서 통계문서 통계는 문서에 들어 있는 줄, 단어, 문자의 개수를 표시합니다." -#: C/gedit.xml:1433(para) +#: C/pluma.xml:1433(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"외부 도구gedit에서 외부의 명령어를 실행할 " +"외부 도구pluma에서 외부의 명령어를 실행할 " "수 있습니다." # FIXME: "File Browser Pane" in the program -#: C/gedit.xml:1436(para) +#: C/pluma.xml:1436(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2689,95 +2689,95 @@ msgstr "" "파일 찾아보기로 가장자리 창에서 파일을 찾아볼 수 " "있습니다." -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"줄 들여쓰기줄 들여쓰기로 선택한 줄의 들여 쓰기를 더하거나 뺄 수 있습니다." -#: C/gedit.xml:1442(para) +#: C/pluma.xml:1442(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"날짜/시간 넣기날짜/시간 넣기으로 현재 날짜와 시간을 문서 안에 써 넣습니다." -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"모드라인모드라인을 사용하면 문서마다 편집 설정을 따로 할 수 있고, " "EmacsKate와 " "Vim 스타일의 모드라인을 지원합니다." -#: C/gedit.xml:1448(para) +#: C/pluma.xml:1448(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"파이썬 콘솔파이썬 콘솔을 사용하면 파이썬 프로그래밍 언어로 명령어를 실행할 수 있" "습니다." -#: C/gedit.xml:1451(para) +#: C/pluma.xml:1451(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"관용구관용구를 사용하면, 자주 사용하는 텍스트를 저장해 놓고 빠르게 문서에 입" "력할 수 있습니다." -#: C/gedit.xml:1454(para) +#: C/pluma.xml:1454(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"정렬은 " +"정렬은 " "선택한 텍스트 줄을 사전 순서로 정렬합니다." -#: C/gedit.xml:1457(para) +#: C/pluma.xml:1457(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"맞춤법 검사맞춤법 검사는 선택한 텍스트의 맞춤법을 바로잡고, 문서에서 틀린 사항" "을 자동으로 표시해 줍니다." -#: C/gedit.xml:1460(para) +#: C/pluma.xml:1460(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"태그 목록태그 목록을 사용하면 HTML 및 기타 언어에서 자주 사용하는 태그를 가장자리 " "창의 목록에서 입력할 수 있습니다." -#: C/gedit.xml:1463(para) +#: C/pluma.xml:1463(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"사용자 이름사용자 이름은 현재 사용자의 사용자 이름을 문서에 입력합니다." -#: C/gedit.xml:1470(title) +#: C/pluma.xml:1470(title) msgid "Change Case Plugin" msgstr "대소문자 바꾸기 플러그인" -#: C/gedit.xml:1471(para) +#: C/pluma.xml:1471(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2785,7 +2785,7 @@ msgstr "" "대소문자 바꾸기 플러그인으로 선택한 텍스트의 대소" "문자를 바꿉니다." -#: C/gedit.xml:1472(para) +#: C/pluma.xml:1472(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2793,78 +2793,78 @@ msgstr "" "대소문자 바꾸기 플러그인을 사용하면 다음 항목을 " "편집 메뉴에 추가합니다:" -#: C/gedit.xml:1482(para) +#: C/pluma.xml:1482(para) msgid "Menu Item" msgstr "메뉴 항목" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "Action" msgstr "동작" -#: C/gedit.xml:1486(para) +#: C/pluma.xml:1486(para) msgid "Example" msgstr "예제" -#: C/gedit.xml:1492(guisubmenu) C/gedit.xml:1498(guisubmenu) -#: C/gedit.xml:1504(guisubmenu) C/gedit.xml:1510(guisubmenu) +#: C/pluma.xml:1492(guisubmenu) C/pluma.xml:1498(guisubmenu) +#: C/pluma.xml:1504(guisubmenu) C/pluma.xml:1510(guisubmenu) msgid "Change Case" msgstr "대소문자 바꾸기" -#: C/gedit.xml:1492(guimenuitem) +#: C/pluma.xml:1492(guimenuitem) msgid "All Upper Case" msgstr "모두 대문자" -#: C/gedit.xml:1493(para) +#: C/pluma.xml:1493(para) msgid "Change each character to uppercase." msgstr "모든 문자를 대문자로 바꿉니다." -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "This text becomes THIS TEXT" msgstr "This textTHIS TEXT가 됩니다" -#: C/gedit.xml:1498(guimenuitem) +#: C/pluma.xml:1498(guimenuitem) msgid "All Lower Case" msgstr "모두 소문자" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "Change each character to lowercase." msgstr "모든 문자를 소문자로 바꿉니다." -#: C/gedit.xml:1500(para) +#: C/pluma.xml:1500(para) msgid "This Text becomes this text" msgstr "This textthis text가 됩니다" -#: C/gedit.xml:1504(guimenuitem) +#: C/pluma.xml:1504(guimenuitem) msgid "Invert Case" msgstr "대소문자 뒤바꾸기" -#: C/gedit.xml:1505(para) +#: C/pluma.xml:1505(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "모든 소문자를 대문자로 바꾸고, 모든 대문자를 소문자로 바꿉니다." -#: C/gedit.xml:1506(para) +#: C/pluma.xml:1506(para) msgid "This Text becomes tHIS tEXT" msgstr "This TexttHIS tEXT가 됩니다." -#: C/gedit.xml:1510(guimenuitem) +#: C/pluma.xml:1510(guimenuitem) msgid "Title Case" msgstr "제목 대소문자" -#: C/gedit.xml:1511(para) +#: C/pluma.xml:1511(para) msgid "Change the first character of each word to uppercase." msgstr "모든 단어의 첫 글자를 대문자로 바꿉니다." -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "this text becomes This Text" msgstr "this textThis Text가 됩니다" -#: C/gedit.xml:1521(title) +#: C/pluma.xml:1521(title) msgid "Document Statistics Plugin" msgstr "문서 통계 플러그인" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2876,7 +2876,7 @@ msgstr "" "바이트 수를 계산합니다. 결과를 문서 통계 대화 창에 표시" "합니다. 문서 통계 플러그인을 사용하려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:1524(para) +#: C/pluma.xml:1524(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics를 선택하면 문서 통계 대화 창이 나타납니다. " "문서 통계 대화 창에 파일에 대해 다음 정보를 표시합니다:" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "Number of lines in the current document." msgstr "현재 문서의 줄 수." -#: C/gedit.xml:1530(para) +#: C/pluma.xml:1530(para) msgid "Number of words in the current document." msgstr "현재 문서의 단어 수." -#: C/gedit.xml:1533(para) +#: C/pluma.xml:1533(para) msgid "Number of characters, including spaces, in the current document." msgstr "현재 문서의 문자 수, 공백 포함." -#: C/gedit.xml:1536(para) +#: C/pluma.xml:1536(para) msgid "Number of characters, not including spaces, in the current document." msgstr "현재 문서의 문자 수, 공백 포함하지 않음." -#: C/gedit.xml:1539(para) +#: C/pluma.xml:1539(para) msgid "Number of bytes in the current document." msgstr "현재 문서의 바이트 수." -#: C/gedit.xml:1544(para) +#: C/pluma.xml:1544(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" "문서 통계 대화 창이 열려 있는 도중에도 " -"gedit의 파일을 편집할 수 있습니다. 문서 " +"pluma의 파일을 편집할 수 있습니다. 문서 " "통계 대화 창의 내용을 다시 읽어들이려면, 업데이트를 누르십시오." -#: C/gedit.xml:1551(title) +#: C/pluma.xml:1551(title) msgid "External Tools Plugin" msgstr "외부 도구 플러그인" -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" -"외부 도구 플러그인을 사용해 gedit외부 도구 플러그인을 사용해 pluma에서 외부 명령어를 실행할 수 있습니다. 어떤 내용을 파이프를 통해 " "명령어로 돌려 넣어서 그 출력을 알아볼 수도 있고 (예를 들어 sed), 미리 정의한 명령어를 실행할 수도 (예를 들어 " "make) 있습니다." -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools도구 메뉴에서 명령어를 하나 " "고르십시오." -#: C/gedit.xml:1556(title) +#: C/pluma.xml:1556(title) msgid "Built-in Commands" msgstr "내장 명령어" -#: C/gedit.xml:1557(para) +#: C/pluma.xml:1557(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -2959,43 +2959,43 @@ msgstr "" "외부 도구 플러그인에는 다음 명령어가 들어 있습니" "다:" -#: C/gedit.xml:1559(term) +#: C/pluma.xml:1559(term) msgid "Build" msgstr "컴파일하기" -#: C/gedit.xml:1561(para) +#: C/pluma.xml:1561(para) msgid "" "Runs make in the current document's directory." msgstr "현재 문서의 디렉토리에서 make를 실행합니다." # FIXME: no such feature -#: C/gedit.xml:1564(term) +#: C/pluma.xml:1564(term) msgid "Directory Listing" msgstr "디렉토리 목록" # FIXME: no such feature -#: C/gedit.xml:1566(para) +#: C/pluma.xml:1566(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "현재 문서의 디렉토리의 파일 목록을 새 문서에 표시합니다." # FIXME: no such feature -#: C/gedit.xml:1569(term) +#: C/pluma.xml:1569(term) msgid "Environment Variables" msgstr "환경 변수" # FIXME: no such feature -#: C/gedit.xml:1571(para) +#: C/pluma.xml:1571(para) msgid "Displays the environment variables list in the bottom pane." msgstr "환경 변수 목록을 아래 창에 표시합니다." # FIXME: no such feature -#: C/gedit.xml:1574(term) +#: C/pluma.xml:1574(term) msgid "Grep" msgstr "파일 내용 찾기" # FIXME: no such feature -#: C/gedit.xml:1576(para) +#: C/pluma.xml:1576(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3003,25 +3003,25 @@ msgstr "" "현재 문서 디렉토리 안의 모든 파일에서 지정한 패턴을 찾습니다. 결과는 아래 창" "에 표시합니다." -#: C/gedit.xml:1579(term) +#: C/pluma.xml:1579(term) msgid "Remove Trailing Spaces" msgstr "뒤에 붙은 공백 지우기" -#: C/gedit.xml:1581(para) +#: C/pluma.xml:1581(para) msgid "Removes all spaces from the end of lines in the document." msgstr "문서의 줄 끝에 있는 모든 공백을 지웁니다." -#: C/gedit.xml:1588(title) +#: C/pluma.xml:1588(title) msgid "Defining a Command" msgstr "명령 정의하기" -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To add an external command, choose ToolsExternal Tools." msgstr "외부 명령을 새로 추가하려면, 도구외부 도구를 선택하십시오." -#: C/gedit.xml:1590(para) +#: C/pluma.xml:1590(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3030,43 +3030,43 @@ msgstr "" "외부 도구 관리 창에서, 새로 만들기을 누르십시오. 새 명령어에 다음과 같은 사항을 지정할 수 있습니다:" -#: C/gedit.xml:1592(term) +#: C/pluma.xml:1592(term) msgid "Description" msgstr "설명" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "이 설명은 메뉴 명령어를 선택할 때 상태 표시줄에 나타납니다." # FIXME: "shortcut key" in the program -#: C/gedit.xml:1597(term) +#: C/pluma.xml:1597(term) msgid "Accelerator" msgstr "바로 가기 키" -#: C/gedit.xml:1599(para) +#: C/pluma.xml:1599(para) msgid "Enter a keyboard shortcut for the command." msgstr "명령어의 키보드 바로 가기를 입력합니다." -#: C/gedit.xml:1602(term) +#: C/pluma.xml:1602(term) msgid "Commands" msgstr "명령" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -"실행할 명령어. gedit 환경 변수를 사용해 이 명령어" -"에 데이터를 전달할 수 있습니다. pluma 환경 변수를 사용해 이 명령어" +"에 데이터를 전달할 수 있습니다. 부분을 참고하십시오." -#: C/gedit.xml:1607(term) +#: C/pluma.xml:1607(term) msgid "Input" msgstr "입력" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3074,11 +3074,11 @@ msgstr "" "명령어에 (stdin을 통해) 넘길 내용. 현재 문서의 전체 " "텍스트, 현재 선택한 부분, 현재 줄, 현재 단어 중의 하나입니다." -#: C/gedit.xml:1612(term) +#: C/pluma.xml:1612(term) msgid "Output" msgstr "출력" -#: C/gedit.xml:1614(para) +#: C/pluma.xml:1614(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3088,11 +3088,11 @@ msgstr "" "재 문서의 끝이나 커서 위치에 넣기, 선택한 부분이나 전체 문서 바꾸기 중의 하나" "입니다." -#: C/gedit.xml:1617(term) +#: C/pluma.xml:1617(term) msgid "Applicability" msgstr "적용 범위" -#: C/gedit.xml:1619(para) +#: C/pluma.xml:1619(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3100,20 +3100,20 @@ msgstr "" "어떤 종류의 문서에 대해 이 명령어를 사용할 수 있는 지 지정합니다. 예를 들어 " "저장한 문서와 그렇지 않은 문서, 로컬 문서와 원격 문서를 지정합니다." -#: C/gedit.xml:1627(title) +#: C/pluma.xml:1627(title) msgid "Editing and Removing Tools" msgstr "도구 편집하기 및 지우기" -#: C/gedit.xml:1628(para) +#: C/pluma.xml:1628(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "도구를 편집하려면, 목록에서 선택한 다음 그 속성을 바꾸십시오." -#: C/gedit.xml:1629(para) +#: C/pluma.xml:1629(para) msgid "To rename a tool, click it again in the list." msgstr "도구의 이름을 바꾸려면, 목록에서 다시 한 번 누르십시오." -#: C/gedit.xml:1630(para) +#: C/pluma.xml:1630(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3121,7 +3121,7 @@ msgstr "" "바꾼 내장 도구를 원래대로 복구하려면, 되돌리기를 누르십" "시오." -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3130,11 +3130,11 @@ msgstr "" "도구를 지우려면, 목록에서 선택하고 지우기를 누르십시" "오. 내장 도구는 지울 수 없고, 직접 만든 도구만 지울 수 있습니다." -#: C/gedit.xml:1635(title) +#: C/pluma.xml:1635(title) msgid "Variables" msgstr "변수" -#: C/gedit.xml:1636(para) +#: C/pluma.xml:1636(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3142,41 +3142,41 @@ msgstr "" "명령어 정의의 명령 입력란에서 다음 변수를 사용할 수 있습" "니다:" -#: C/gedit.xml:1639(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1639(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1642(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1642(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1645(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1645(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1648(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1648(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1651(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1651(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1654(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1654(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1657(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1657(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" # FIXME: "File Browser Pane" in the program -#: C/gedit.xml:1664(title) +#: C/pluma.xml:1664(title) msgid "File Browser Plugin" msgstr "파일 찾아보기 플러그인" # FIXME: "File Browser Pane" in the program -#: C/gedit.xml:1665(para) +#: C/pluma.xml:1665(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3184,7 +3184,7 @@ msgstr "" "파일 찾아보기 플러그인은 가장 자리 창에서 파일과 " "폴더를 표시합니다. 이 기능을 사용해 파일을 빠르게 열 수 있습니다." -#: C/gedit.xml:1666(para) +#: C/pluma.xml:1666(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3194,11 +3194,11 @@ msgstr "" "가장자리 창을 선택한 다음, 가장자리 창의 아래에 있" "는 탭에서 파일 찾아보기 아이콘을 누르십시오." -#: C/gedit.xml:1668(title) +#: C/pluma.xml:1668(title) msgid "Browsing your Files" msgstr "파일 찾아보기" -#: C/gedit.xml:1669(para) +#: C/pluma.xml:1669(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3206,7 +3206,7 @@ msgstr "" "파일 찾아보기 탭은 맨 처음에는 파일 관리자 책갈피를 표시합니다. 어떤 항목의 " "내용을 보려면, 그 항목을 두 번 누르십시오." -#: C/gedit.xml:1670(para) +#: C/pluma.xml:1670(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3214,7 +3214,7 @@ msgstr "" "상위 폴더를 보려면, 드롭다운 목록에서 상위 폴더를 선택하거나, 파일 찾아보기" "의 도구 모음에서 위 화살표를 누르십시오." -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3224,25 +3224,25 @@ msgstr "" "를 누르고 Set현재 문서의 상위 디렉토리 선택을 선택" "하십시오." -#: C/gedit.xml:1675(para) +#: C/pluma.xml:1675(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"gedit에서 파일을 열려면, 파일 목록에서 파일을 두 " +"pluma에서 파일을 열려면, 파일 목록에서 파일을 두 " "번 누르십시오." -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Creating Files and Folders" msgstr "파일 및 폴더 만들기" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." msgstr "찾아보기 창에 표시하는 현재 폴더에서 빈 텍스트 파일을 새로 만드려면, 파일 목록에서 마우스 오른쪽 단추를 누르고 새 파일을 선택하십시오." -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3250,11 +3250,11 @@ msgstr "" "찾아보기 창에 표시하는 현재 폴더에서 새 폴더를 만드려면, 파일 목록에서 마우" "스 오른쪽 단추를 누르고 새 폴더를 선택하십시오." -#: C/gedit.xml:1685(title) +#: C/pluma.xml:1685(title) msgid "Indent Lines Plugin" msgstr "줄 들여쓰기 플러그인" -#: C/gedit.xml:1686(para) +#: C/pluma.xml:1686(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3262,11 +3262,11 @@ msgstr "" "줄 들여쓰기 플러그인으로 줄 앞에 공백을 더하거나 " "뺍니다." -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "To indent or unindent text, perform the following steps:" msgstr "텍스트를 들여 쓰거나 내어 쓰려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:1689(para) +#: C/pluma.xml:1689(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3274,7 +3274,7 @@ msgstr "" "들여 쓰려는 줄을 선택하십시오. 한 줄만 들여 쓰거나 내어 쓰려면, 커서를 그 줄" "의 아무 곳으로 옮기면 됩니다." -#: C/gedit.xml:1694(para) +#: C/pluma.xml:1694(para) msgid "" "To indent the text, choose EditIndent." @@ -3282,7 +3282,7 @@ msgstr "" "텍스트를 들여 쓰려면, 편집들여 쓰" "기를 선택하십시오." -#: C/gedit.xml:1697(para) +#: C/pluma.xml:1697(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3290,21 +3290,21 @@ msgstr "" "들여 쓰기를 지우려면, 편집내어 쓰" "기를 선택하십시오." -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "몇 칸의 공백을 사용할 지, 또 탭 문자와 공백 문자 중 무엇을 사용할 지는 편집" "기 기본 설정의 탭 위치 설정에 따라 다릅니다. 부분을 보십시오." +"linkend=\"pluma-prefs-editor\"/> 부분을 보십시오." -#: C/gedit.xml:1707(title) +#: C/pluma.xml:1707(title) msgid "Insert Date/Time Plugin" msgstr "날짜/시간 넣기 플러그인" -#: C/gedit.xml:1708(para) +#: C/pluma.xml:1708(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3314,7 +3314,7 @@ msgstr "" "에 끼워 넣습니다. 날짜/시간 넣기 플러그인을 사용하려면, 다음 순서대로 하십시" "오:" -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "Choose EditInsert Date and Time." @@ -3322,47 +3322,47 @@ msgstr "" "편집날짜 및 시간 넣기를 선택하십시오." -#: C/gedit.xml:1711(para) +#: C/pluma.xml:1711(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "날짜/시간 넣기 플러그인에서 형식을 물어보지 않고 날짜/시간을 넣도록 설정하지 " -"않은 상태라면, gedit에서 날짜 및 시간 넣" +"않은 상태라면, pluma에서 날짜 및 시간 넣" "기 대화 창을 표시합니다. 목록에서 적당한 날짜/시간 형식을 고르십시" "오. 넣기는 눌러 날짜 및 시간 넣기 대화 창을 닫으십시오. 그러면 날짜/시간을 현재 파일의 커서 위치에 입" "력합니다." -#: C/gedit.xml:1712(para) +#: C/pluma.xml:1712(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"한 가지 특정 날짜/시간 형식을 사용하도록 gedit를 " +"한 가지 특정 날짜/시간 형식을 사용하도록 pluma를 " "설정했다면, 날짜 및 시간 넣기 대화 창은 표시하지 않습니" "다. 날짜/시간을 자동으로 현재 파일의 커서 위치에 입력합니다." -#: C/gedit.xml:1717(title) +#: C/pluma.xml:1717(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "날짜/시간 넣기 플러그인 설정하기" -#: C/gedit.xml:1718(para) +#: C/pluma.xml:1718(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "날짜/시간 넣기 플러그인을 설정하려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "Select the Insert Date/Time plugin." msgstr "날짜/시간 넣기 플러그인을 선택하십시오." -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3370,11 +3370,11 @@ msgstr "" "Click 플러그인 설정을 눌러 날짜/시간 넣기 플" "러그인 설정 대화 창을 여십시오." -#: C/gedit.xml:1732(para) +#: C/pluma.xml:1732(para) msgid "Select one of the options, as follows:" msgstr "다음과 같이 옵션 중의 하나를 선택하십시오:" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3382,12 +3382,12 @@ msgstr "" "날짜/시간을 넣을 때마다 날짜/시간 형식을 지정하려면, 형식 물어보기" " 옵션을 선택하십시오." -#: C/gedit.xml:1737(para) +#: C/pluma.xml:1737(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." @@ -3398,7 +3398,7 @@ msgstr "" "기를 선택했을 때 날짜/시간 형식을 물어보지 않습니" "다." -#: C/gedit.xml:1740(para) +#: C/pluma.xml:1740(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3406,7 +3406,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3419,7 +3419,7 @@ msgstr "" "편집날짜/시간 넣기를 선택했을 때 날짜/시간 형식을 물어보지 않습니다." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3427,7 +3427,7 @@ msgstr "" "확인을 눌러 날짜/시간 넣기 플러그인 설정 대화 창을 닫으십시오." -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3435,49 +3435,49 @@ msgstr "" "기본 설정 대화 창을 닫으려면, 닫기를 누르십시오." -#: C/gedit.xml:1755(title) +#: C/pluma.xml:1755(title) msgid "Modelines Plugin" msgstr "모드라인 플러그인" -#: C/gedit.xml:1756(para) +#: C/pluma.xml:1756(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "모드라인 플러그인으로 각 문서마다 설정을 할 수 있" "습니다. 모드라인은 문서의 처음이나 끝에 쓰여 있는 한 " -"줄짜리 텍스트로, 그 텍스트를 gedit가 인식해서 그 " +"줄짜리 텍스트로, 그 텍스트를 pluma가 인식해서 그 " "문서의 설정을 합니다." -#: C/gedit.xml:1757(para) +#: C/pluma.xml:1757(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "모드라인에서 설정한 사항은 기본 설정 대화 상자에서 설정한 것보다 우선합니다." -#: C/gedit.xml:1758(para) +#: C/pluma.xml:1758(para) msgid "You can set the following preferences with modelines:" msgstr "모드라인에서 다음 설정을 할 수 있습니다:" -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "Tab width" msgstr "탭 너비" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "Indent width" msgstr "들여쓰기 너비" -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "Insert spaces instead of tabs" msgstr "탭 대신 공백 넣기" -#: C/gedit.xml:1773(para) +#: C/pluma.xml:1773(para) msgid "Right margin width" msgstr "오른쪽 여백 너비" -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3487,11 +3487,11 @@ msgstr "" "이맥스, Kate, " "Vim에서 사용하는 옵션의 일부를 지원합니다." -#: C/gedit.xml:1780(title) +#: C/pluma.xml:1780(title) msgid "Emacs Modelines" msgstr "이맥스 모드라인" -#: C/gedit.xml:1781(para) +#: C/pluma.xml:1781(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3499,7 +3499,7 @@ msgstr "" "문서의 처음 두 줄에서 이맥스 모드라인을 검사합니" "다." -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3507,11 +3507,11 @@ msgid "" "html\">GNU Emacs Manual." msgstr "이맥스의 tab-width, indent-offset, indent-tabs-mode, autorap 옵션을 지원합니다. 좀 더 자세히 알고 싶으시면, GNU 이맥스 설명서를 참고하십시오." -#: C/gedit.xml:1785(title) +#: C/pluma.xml:1785(title) msgid "Kate Modelines" msgstr "Kate 모드라인" -#: C/gedit.xml:1786(para) +#: C/pluma.xml:1786(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3519,7 +3519,7 @@ msgstr "" "문서의 처음과 마지막의 열 줄에서 Kate 모드라인을 " "검사합니다." -#: C/gedit.xml:1787(para) +#: C/pluma.xml:1787(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3531,11 +3531,11 @@ msgstr "" "type=\"http\" url=\"http://www.kate-editor.org/article/katepart_modelines" "\">Kate 웹사이트를 참고하십시오." -#: C/gedit.xml:1790(title) +#: C/pluma.xml:1790(title) msgid "Vim Modelines" msgstr "VIM 모드라인" -#: C/gedit.xml:1791(para) +#: C/pluma.xml:1791(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3543,7 +3543,7 @@ msgstr "" "문서의 처음과 마지막의 세 줄에서 Kate 모드라인을 " "검사합니다." -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3551,37 +3551,37 @@ msgid "" "html#modeline\">Vim website." msgstr "Vim의 et, expandtab, ts, tabstop, sw, shiftwidth, wrap, textwidth 옵션을 지원합니다. 좀 더 알고 싶으시면 Vim 웹사이트를 참고하십시오." -#: C/gedit.xml:1797(title) +#: C/pluma.xml:1797(title) msgid "Python Console Plugin" msgstr "파이썬 콘솔 플러그인" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" -"파이썬 콘솔 플러그인으로 gedit파이썬 콘솔 플러그인으로 pluma 안에서 파이썬 프로그래밍 언어로 작성한 명령을 실행할 수 있습니" "다. 이 플러그인을 사용하면 아래 창에 탭을 하나 추가합니다. 이 탭에서 최근의 " "출력과 명령어 프롬프트를 표시합니다." -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "파이썬 콘솔에 입력한 명령어는 실행하기 전에 검사하지 않습니다. 즉 파이썬 명령" -"때문에 gedit가 멈출 수 있습니다. 예를 들어 무한 루" +"때문에 pluma가 멈출 수 있습니다. 예를 들어 무한 루" "프에 들어갈 수 있습니다." -#: C/gedit.xml:1803(title) +#: C/pluma.xml:1803(title) msgid "Snippets Plugin" msgstr "관용구 플러그인" -#: C/gedit.xml:1804(para) +#: C/pluma.xml:1804(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3591,7 +3591,7 @@ msgstr "" "(관용구라고 합니다) 저장하고, 저장해 놓은 관용구를 빠" "르게 문서에 입력합니다." -#: C/gedit.xml:1805(para) +#: C/pluma.xml:1805(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3602,19 +3602,19 @@ msgstr "" "는 경우, HTML에서 유용한 관용구 목록에서 선택해서 사용할 수 있습니다. 또 어" "떤 관용구는 파일 형식에 관계 없이 모든 문서에서 사용할 수 있습니다." -#: C/gedit.xml:1806(para) +#: C/pluma.xml:1806(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"gedit에 여러가지 내장 관용구가 설치되어 있고, 이 " +"pluma에 여러가지 내장 관용구가 설치되어 있고, 이 " "관용구를 바꿀 수도 있습니다." -#: C/gedit.xml:1809(title) +#: C/pluma.xml:1809(title) msgid "Inserting Snippets" msgstr "관용구 넣기" -#: C/gedit.xml:1810(para) +#: C/pluma.xml:1810(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3622,21 +3622,21 @@ msgid "" "short and easy to remember." msgstr "관용구를 문서에 넣으려면, 그 탭 트리거을 입력하고 Tab 키를 누르십시오. 관용구의 탭 트리거는 보통 그 관용구의 맨 앞의 글자이거나, 짧고 기억하기 쉬운 단어입니다." -#: C/gedit.xml:1811(para) +#: C/pluma.xml:1811(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." msgstr "다른 방법으로, Ctrl스페이스 키를 누르면 넣을 수 있는 관용구 목록이 나타납니다." -#: C/gedit.xml:1815(title) +#: C/pluma.xml:1815(title) msgid "Adding Snippets" msgstr "관용구 추가하기" -#: C/gedit.xml:1816(para) +#: C/pluma.xml:1816(para) msgid "To create a new snippet, do the following:" msgstr "새 관용구를 만드려면, 다음과 같이 하십시오:" -#: C/gedit.xml:1819(para) +#: C/pluma.xml:1819(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3645,7 +3645,7 @@ msgstr "" "도구관용구 관리를 선택하십시오. 관용구 관리자 창이 열립니다." -#: C/gedit.xml:1822(para) +#: C/pluma.xml:1822(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3657,21 +3657,21 @@ msgstr "" "목록의 맨 위에 있는 전체를 선택하십시오. 처음에는 기본값으로 현재 작업하고 있" "는 문서의 언어를 표시합니다." -#: C/gedit.xml:1825(para) +#: C/pluma.xml:1825(para) msgid "Click New. A new snippet appears in the list." msgstr "" "새로 만들기를 누르십시오. 새 관용구가 목록에 나타납니" "다." -#: C/gedit.xml:1828(para) +#: C/pluma.xml:1828(para) msgid "Enter the following information for the new snippet:" msgstr "새 관용구에 대해 다음 정보를 입력하십시오:" -#: C/gedit.xml:1830(term) +#: C/pluma.xml:1830(term) msgid "Name" msgstr "이름" -#: C/gedit.xml:1832(para) +#: C/pluma.xml:1832(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3681,21 +3681,21 @@ msgstr "" "름은 그 관용구의 목적을 알리는 용도일 뿐입니다. 목록의 관용구를 눌러서 새로 " "만든 관용구의 이름을 바꿀 수 있습니다." -#: C/gedit.xml:1835(term) +#: C/pluma.xml:1835(term) msgid "Snippet text" msgstr "관용구 텍스트" -#: C/gedit.xml:1837(para) +#: C/pluma.xml:1837(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "관용구 편집 텍스트 상자에서 관용구의 텍스트를 입력하십시" -"오. 사용할 수 있는 특수 코드에 대해서는, 부분을 참고하십시오." -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3703,36 +3703,36 @@ msgstr "" "관용구 관리자 창을 닫지 않고 문서 창으로 돌아가서 텍스트" "를 복사할 수도 있습니다." -#: C/gedit.xml:1841(term) +#: C/pluma.xml:1841(term) msgid "Tab Trigger" msgstr "탭 트리거" -#: C/gedit.xml:1843(para) +#: C/pluma.xml:1843(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." msgstr "관용구의 탭 트리거를 입력하십시오. 탭 트리거는 관용구를 입력할 때 Tab 키를 누르기 전에 입력할 텍스트를 말합니다." -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " "invalid tab trigger is entered." msgstr "태그는 문자로만 이루어진 한 개의 단어이거나, 아니면 한 글자여야 합니다. 잘못 입력하면 탭 트리거를 빨간 색으로 강조합니다." -#: C/gedit.xml:1847(term) +#: C/pluma.xml:1847(term) msgid "Shortcut key" msgstr "바로 가기 키" -#: C/gedit.xml:1849(para) +#: C/pluma.xml:1849(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "관용구를 넣을 때 사용할 바로 가기 키를 입력하십시오." -#: C/gedit.xml:1858(title) +#: C/pluma.xml:1858(title) msgid "Editing and Removing Snippets" msgstr "관용구 편집 및 지우기" -#: C/gedit.xml:1859(para) +#: C/pluma.xml:1859(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3740,11 +3740,11 @@ msgstr "" "관용구를 편집하려면, 목록에서 선택한 다음 그 텍스트와 활성화 속성을 바꾸십시" "오." -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "To rename a snippet, click it again in the list." msgstr "관용구의 이름을 바꾸려면, 목록에서 관용구를 다시 누르십시오." -#: C/gedit.xml:1861(para) +#: C/pluma.xml:1861(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3752,7 +3752,7 @@ msgstr "" "직접 바꾼 내장 관용구를 원래대로 복구하려면, 되돌리기를 " "누르십시오." -#: C/gedit.xml:1862(para) +#: C/pluma.xml:1862(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3761,11 +3761,11 @@ msgstr "" "관용구를 지우려면, 목록에서 선택하고 지우기를 누르십시" "오. 내장 관용구는 지울 수 없고, 직접 만든 관용구만 지울 수 있습니다." -#: C/gedit.xml:1866(title) +#: C/pluma.xml:1866(title) msgid "Snippet Substitutions" msgstr "관용구 대체" -#: C/gedit.xml:1867(para) +#: C/pluma.xml:1867(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3775,15 +3775,15 @@ msgstr "" "어갈 수 있습니다. 관용구를 문서에 입력한 다음에 입력할 텍스트의 위치를 알려 " "주기도 합니다." -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "관용구 텍스트에서 다음 입력 위치를 사용할 수 있습니다:" -#: C/gedit.xml:1873(term) +#: C/pluma.xml:1873(term) msgid "Tab placeholders" msgstr "탭 입력 위치" -#: C/gedit.xml:1875(para) +#: C/pluma.xml:1875(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3791,7 +3791,7 @@ msgstr "" "$nn이 1 " "이상의 숫자인 탭 입력 위치입니다." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3799,7 +3799,7 @@ msgstr "" "${n:default}은 기본값에 대한 탭 입력 위치입니다." -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3807,7 +3807,7 @@ msgstr "" "탭 입력 위치는 관용구 텍스트에서 관용구를 입력한 다음에 추가 텍스트를 입력할 " "수 있는 위치를 표시합니다." -#: C/gedit.xml:1878(para) +#: C/pluma.xml:1878(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3815,7 +3815,7 @@ msgid "" "defines the order in which tab advances to each place in the text." msgstr "탭 포매팅 코드를 사용하려면, 관용구를 평소와 같이 입력합니다. 커서가 첫 번째 탭 위치에 있습니다. 텍스트를 입력하고 Tab 키를 누르면 다음 탭 입력 위치로 이동합니다. 탭 입력 위치 코드의 번호는 탭으로 이동하는 순서를 지정합니다." -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3823,11 +3823,11 @@ msgid "" "snippet text, or to the end placeholder if it exists." msgstr "ShiftTab 키를 누르면 이전의 탭 입력 위치로 돌아갑니다. 탭 입력 위치가 더 없을 때 Tab 키를 누르면 커서를 관용구 텍스트의 맨 끝으로 옮기거나, 끝 입력 위치가 있으면 거기로 커서를 옮깁니다." -#: C/gedit.xml:1882(term) +#: C/pluma.xml:1882(term) msgid "Mirror placeholders" msgstr "미러 입력 위치" -#: C/gedit.xml:1884(para) +#: C/pluma.xml:1884(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3836,11 +3836,11 @@ msgstr "" "반복 입력 위치는 이미 정의한 입력 위치의 텍스트를 따라갑니다. 이 방법으로 관" "용구에서 여러번 써야 하는 텍스트를 한번만 입력할 수 있습니다." -#: C/gedit.xml:1887(term) +#: C/pluma.xml:1887(term) msgid "End placeholder" msgstr "끝 입력 위치" -#: C/gedit.xml:1889(para) +#: C/pluma.xml:1889(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3849,43 +3849,43 @@ msgstr "" "$0이 끝 입력 위치를 지정합니다. 끝 입력 위치를 사용하면 관" "용구를 관용구 텍스트의 끝이 아닌 커서 위치에서 관용구를 끝마칠 수 있습니다." -#: C/gedit.xml:1892(term) +#: C/pluma.xml:1892(term) msgid "Environmental variables" msgstr "환경 변수" -#: C/gedit.xml:1894(para) +#: C/pluma.xml:1894(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "$PATH$HOME과 같은 환경 변수를 관용구" -"에서 사용할 수 있습니다. gedit 전용의 다음과 같은 " +"에서 사용할 수 있습니다. pluma 전용의 다음과 같은 " "변수도 사용할 수 있습니다:" -#: C/gedit.xml:1896(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1896(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1898(para) +#: C/pluma.xml:1898(para) msgid "The currently selected text." msgstr "현재 선택한 텍스트." -#: C/gedit.xml:1901(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1901(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "문서의 전체 파일 이름, 문서를 저장하지 않았으면 빈 문자열." -#: C/gedit.xml:1906(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1906(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1908(para) +#: C/pluma.xml:1908(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -3893,11 +3893,11 @@ msgstr "" "문서의 파일 이름의 폴더 부분을 제외한 이름, 문서를 저장하지 않았으면 빈 문자" "열." -#: C/gedit.xml:1911(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1911(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -3905,11 +3905,11 @@ msgstr "" "문서의 커서 위치에 있는 단어. 이 변수를 사용하면 현재 단어를 관용구로 바꿉니" "다." -#: C/gedit.xml:1921(term) +#: C/pluma.xml:1921(term) msgid "Shell placeholders" msgstr "쉘 입력 위치" -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3917,7 +3917,7 @@ msgstr "" "$(cmd)는 쉘에서 " "cmd 명령어를 실행한 결과로 바뀝니다." -#: C/gedit.xml:1924(para) +#: C/pluma.xml:1924(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3931,11 +3931,11 @@ msgstr "" "$n을 사용하면 한 개의 쉘 입력 위치의 출" "력 내용을 다른 위치에서도 사용할 수 있습니다." -#: C/gedit.xml:1927(term) +#: C/pluma.xml:1927(term) msgid "Python placeholders" msgstr "파이썬 입력 위치" -#: C/gedit.xml:1929(para) +#: C/pluma.xml:1929(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -3944,7 +3944,7 @@ msgstr "" "$<cmd>은 파이썬 인터프리" "터에서 cmd의 값을 계산한 결과로 바뀝니다." -#: C/gedit.xml:1930(para) +#: C/pluma.xml:1930(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3961,7 +3961,7 @@ msgstr "" "로 구분하십시오: $<a,b:cmd>" -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -3969,11 +3969,11 @@ msgstr "" "다른 파이썬 관용구에서 변수를 사용하려면, global로 선언하" "십시오." -#: C/gedit.xml:1940(title) +#: C/pluma.xml:1940(title) msgid "Sort Plugin" msgstr "정렬 플러그인" -#: C/gedit.xml:1941(para) +#: C/pluma.xml:1941(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -3981,7 +3981,7 @@ msgstr "" "정렬 플러그인으로 선택한 텍스트를 사전 순서로 정렬" "합니다." -#: C/gedit.xml:1942(para) +#: C/pluma.xml:1942(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3992,15 +3992,15 @@ msgstr "" "합니다. 정렬을 한 다음에 저장한 파일로 되돌리려면, 파일" "되돌리기를 선택하십시오." -#: C/gedit.xml:1945(para) +#: C/pluma.xml:1945(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "정렬 플러그인을 사용하려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:1948(para) +#: C/pluma.xml:1948(para) msgid "Select the lines of text you want to sort." msgstr "정렬하려는 텍스트 줄을 선택하십시오." -#: C/gedit.xml:1950(para) +#: C/pluma.xml:1950(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4008,29 +4008,29 @@ msgstr "" "편집정렬을 선택하십시오. 정렬 대화 창이 열립니다." -#: C/gedit.xml:1953(para) +#: C/pluma.xml:1953(para) msgid "Choose the options you want for the sort:" msgstr "정렬에 사용할 옵션을 선택하십시오:" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "To arrange the text in reverse order, select Reverse order." msgstr "반대 순서로 정렬하려면, 반대 순서를 선택하십시오." -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "같은 줄을 지우려면, 같은 줄 지우기를 선택하십시오." -#: C/gedit.xml:1962(para) +#: C/pluma.xml:1962(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "대소문자 구별을 무시하려면, 대소문자 무시를 선택하십시" "오." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4039,25 +4039,25 @@ msgstr "" "정렬할 때 줄 시작 부분에 있는 문자를 무시하려면, 시작할 열 스핀 상자에서 정렬할 때 사용할 첫 번째 문자를 지정하십시오." -#: C/gedit.xml:1970(para) +#: C/pluma.xml:1970(para) msgid "To perform the sort operation, click Sort." msgstr "정렬을 시작하려면, 정렬을 누르십시오." -#: C/gedit.xml:1977(title) +#: C/pluma.xml:1977(title) msgid "Spell Checker Plugin" msgstr "맞춤법 검사 플러그인" -#: C/gedit.xml:1978(para) +#: C/pluma.xml:1978(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" -msgstr "맞춤법 검사 플러그인은 선택한 텍스트의 맞춤법을 검사합니다. 자동으로 맞춤법을 검사하도록 gedit를 설정할 수 있고, 수동으로 맞춤법을 지정한 언어로 검사할 수도 있습니다. 언어 설정 및 맞춤법 자동 검사 속성은 문서마다 적용됩니다. 맞춤법 검사 플러그인을 사용하려면, 다음 순서대로 하십시오:" +msgstr "맞춤법 검사 플러그인은 선택한 텍스트의 맞춤법을 검사합니다. 자동으로 맞춤법을 검사하도록 pluma를 설정할 수 있고, 수동으로 맞춤법을 지정한 언어로 검사할 수도 있습니다. 언어 설정 및 맞춤법 자동 검사 속성은 문서마다 적용됩니다. 맞춤법 검사 플러그인을 사용하려면, 다음 순서대로 하십시오:" -#: C/gedit.xml:1980(para) +#: C/pluma.xml:1980(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4069,7 +4069,7 @@ msgstr "" "목록에서 원하는 언어를 선택하십시오. 확인을을 눌러 " "언어 설정 대화 창을 닫으십시오." -#: C/gedit.xml:1983(para) +#: C/pluma.xml:1983(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4077,11 +4077,11 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." -msgstr "맞춤법을 자동으로 검사하려면, 도구맞춤법 자동 검사를 선택하십시오. 맞춤법 자동 검사를 사용하지 않으려면, 도구맞춤법 자동 검사를 다시 선택하십시오. 맞춤법 자동 검사를 사용하면, 맞춤법 자동 검사를 메뉴 항목 옆에 아이콘을 표시합니다. 맞춤법 자동 검사는 gedit를 시작할 때 기본값으로 사용하지 않는 상태입니다." +msgstr "맞춤법을 자동으로 검사하려면, 도구맞춤법 자동 검사를 선택하십시오. 맞춤법 자동 검사를 사용하지 않으려면, 도구맞춤법 자동 검사를 다시 선택하십시오. 맞춤법 자동 검사를 사용하면, 맞춤법 자동 검사를 메뉴 항목 옆에 아이콘을 표시합니다. 맞춤법 자동 검사는 pluma를 시작할 때 기본값으로 사용하지 않는 상태입니다." -#: C/gedit.xml:1984(para) +#: C/pluma.xml:1984(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestions맞춤법 추천을 선" "택하십시오:" -#: C/gedit.xml:1987(para) +#: C/pluma.xml:1987(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4100,7 +4100,7 @@ msgstr "" "알려지지 않은 맞춤법을 목록의 다른 맞춤법으로 바꾸려면, 맞춤법 추천" " 팝업 메뉴에서 바꿀 맞춤법을 선택하십시오." -#: C/gedit.xml:1990(para) +#: C/pluma.xml:1990(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd맞춤법 추" "천추가를 선택하십시오." -#: C/gedit.xml:1993(para) +#: C/pluma.xml:1993(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "알려지지 않은 맞춤법을 모두 무시해서 알려지지 않았다고 표시하지 않게 하면서 " "개인 사전에는 추가하지 않으려면, 맞춤법 추천모두 무시를 선택하십시오. 현" -"재 gedit 세션에서만 알려지지 않은 단어를 무시합니" +"재 pluma 세션에서만 알려지지 않은 단어를 무시합니" "다." -#: C/gedit.xml:1998(para) +#: C/pluma.xml:1998(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4131,7 +4131,7 @@ msgstr "" "수동으로 맞춤법을 검사하려면, 도구맞춤법 검사를 선택하십시오." -#: C/gedit.xml:2000(para) +#: C/pluma.xml:2000(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4142,20 +4142,20 @@ msgstr "" "법이 틀린 단어가 없다는 메세지를 표시합니다. 확인을 눌" "러 정보 대화 창을 닫으십시오." -#: C/gedit.xml:2002(para) +#: C/pluma.xml:2002(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "" "맞춤법 오류가 있으면, 맞춤법 검사 대화 창을 표시합니다:" -#: C/gedit.xml:2005(para) +#: C/pluma.xml:2005(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "맞춤법이 틀린 단어를 대화 창의 위에 표시합니다." -#: C/gedit.xml:2008(para) +#: C/pluma.xml:2008(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4167,7 +4167,7 @@ msgstr "" "춤법을 이 텍스트 상자에 표시합니다. 아니면 직접 바꿀 단어 텍스트 상자에 텍스트를 입력할 수도 있습니다." -#: C/gedit.xml:2011(para) +#: C/pluma.xml:2011(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4181,19 +4181,19 @@ msgstr "" "그 단어가 알려지지 않은 경우, 추천목록에 새 항목이 나타" "납니다." -#: C/gedit.xml:2014(para) +#: C/pluma.xml:2014(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "현재 알려지지 않은 단어를 무시하려면, 무시를 누르십시" "오. 알려지지 않은 단어를 모두 무시하려면, 모두 무시를 " -"누르십시오. 현재 gedit 세션에서만 알려지지 않은 단" +"누르십시오. 현재 pluma 세션에서만 알려지지 않은 단" "어를 무시합니다." -#: C/gedit.xml:2017(para) +#: C/pluma.xml:2017(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change바꿀 단어 텍스트 상자의 텍스트로 바" "꾸려면, 모두 바꾸기를 누르십시오." -#: C/gedit.xml:2020(para) +#: C/pluma.xml:2020(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4214,7 +4214,7 @@ msgstr "" "알려지지 않은 단어를 개인 사전에 추가하려면, 단어 추가" "를 누르십시오." -#: C/gedit.xml:2023(para) +#: C/pluma.xml:2023(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4222,11 +4222,11 @@ msgstr "" "맞춤법 검사 대화 창을 닫으려면, 닫기를 누르십시오." -#: C/gedit.xml:2032(title) +#: C/pluma.xml:2032(title) msgid "Tag List Plugin" msgstr "태그 목록 플러그인" -#: C/gedit.xml:2033(para) +#: C/pluma.xml:2033(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4234,11 +4234,11 @@ msgstr "" "태그 목록 플러그인으로 가장자리 창의 목록에서 자" "주 사용하는 태그를 입력할 수 있습니다." -#: C/gedit.xml:2034(para) +#: C/pluma.xml:2034(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "태그 목록 플러그인을 사용하려면 다음 순서대로 하십시오:" -#: C/gedit.xml:2036(para) +#: C/pluma.xml:2036(para) msgid "" "Choose ViewSide Pane." @@ -4246,7 +4246,7 @@ msgstr "" "보기가장자리 창을 선택하십시오." -#: C/gedit.xml:2040(para) +#: C/pluma.xml:2040(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4255,7 +4255,7 @@ msgstr "" "기본값으로 가장자리 창은 열려 있는 문서의 목록이 들어 있는 탭을 표시합니다. " "가장자리 창의 아래에 있는 + 아이콘을 누르면 태그 목록 탭을 표시합니다." -#: C/gedit.xml:2042(para) +#: C/pluma.xml:2042(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4263,11 +4263,11 @@ msgstr "" "드롭다운 목록에서 필요한 태그 분류를 선택하십시오. 예를 들어 HTML " "- 태그를 선택하십시오." -#: C/gedit.xml:2045(para) +#: C/pluma.xml:2045(para) msgid "Scroll through the tag list to find the required tag." msgstr "태그 목록을 스크롤해서 필요한 태그를 찾으십시오." -#: C/gedit.xml:2048(para) +#: C/pluma.xml:2048(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4275,24 +4275,24 @@ msgstr "" "현재 파일의 커서 위치에 태그를 넣으려면, 태그 목록에서 해당 태그를 두 번 누르" "십시오. 다음과 같이 태그를 넣을 수도 있습니다:" -#: C/gedit.xml:2050(para) +#: C/pluma.xml:2050(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." msgstr "현재 파일에 태그를 넣고 포커스를 가장자리 창에서 표시 영역으로 바꾸려면, Return 키를 누르십시오." -#: C/gedit.xml:2053(para) +#: C/pluma.xml:2053(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftReturn." msgstr "현재 파일에 태그를 넣고 포커스를 태그 목록 플러그인 창에 유지하려면, ShiftReturn 키를 누르십시오." -#: C/gedit.xml:2062(title) +#: C/pluma.xml:2062(title) msgid "User Name Plugin" msgstr "사용자 이름 플러그인" -#: C/gedit.xml:2063(para) +#: C/pluma.xml:2063(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -4300,7 +4300,7 @@ msgstr "" "사용자 이름 플러그인은 현재 사용자의 사용자 이름" "을 문서에 넣습니다." -#: C/gedit.xml:2064(para) +#: C/pluma.xml:2064(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User Name사용자 이름 넣기를 선택하십시" "오." -#: C/gedit.xml:2066(para) +#: C/pluma.xml:2066(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" "자기만의 플러그인을 만드는 방법에 대한 예제로서의 기능이 이 플러그인의 주된 " "목적입니다. 플러그인을 만드는 방법에 대해 좀 더 알고 싶으시면, geditpluma 웹사이트를 참고하십시오." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Sun Microsystems, 2002.\n" @@ -4336,7 +4336,7 @@ msgstr "" #~ "guimenuitem>. The number of previous edits that you can undo " #~ "is determined by the Undo limit setting in the " #~ "Editor tabbed section of the Preferences dialog: see ." +#~ "guilabel> dialog: see ." #~ msgstr "" #~ "편집한 내용을 취소하려면 편집" #~ "실행 취소를 선택하십시오. 취소한 내용을 되돌리" @@ -4344,7 +4344,7 @@ msgstr "" #~ "guimenuitem>을 선택하십시오. 이전에 편집한 내용 중 실행 취소" #~ "할 수 있는 회수는 기본 설정 대화 상자의 편" #~ "집기 탭 섹션에 있는 실행 취소 제한 설정에 " -#~ "따라 다릅니다. 부분을 참고하십시오." +#~ "따라 다릅니다. 부분을 참고하십시오." #~ msgid "" #~ "To position the cursor on a specific line in the current file, perform " diff --git a/help/oc/oc.po b/help/oc/oc.po index 3772fd5..e8c0268 100755 --- a/help/oc/oc.po +++ b/help/oc/oc.po @@ -1,7 +1,7 @@ # Translation of oc.po to Occitan -# Occitan translation of gedit documentation. +# Occitan translation of pluma documentation. # Copyright (C) 2006-2007 Free Software Foundation, Inc. -# This file is distributed under the same license as the gedit documentation +# This file is distributed under the same license as the pluma documentation # package. # # Yannig Marchegay (Kokoyaya) , 2006-2008. @@ -79,400 +79,400 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:262(None) -msgid "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" -msgstr "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +#: ../C/pluma.xml:262(None) +msgid "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +msgstr "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:342(None) +#: ../C/pluma.xml:342(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1266(None) +#: ../C/pluma.xml:1266(None) msgid "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" msgstr "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1285(None) +#: ../C/pluma.xml:1285(None) msgid "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" msgstr "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1303(None) +#: ../C/pluma.xml:1303(None) msgid "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" msgstr "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1321(None) +#: ../C/pluma.xml:1321(None) msgid "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" msgstr "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" -#: ../C/gedit.xml:23(title) -msgid "Gedit Manual" +#: ../C/pluma.xml:23(title) +msgid "Pluma Manual" msgstr "" -#: ../C/gedit.xml:25(year) +#: ../C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: ../C/gedit.xml:26(holder) ../C/gedit.xml:45(publishername) -#: ../C/gedit.xml:52(firstname) ../C/gedit.xml:75(orgname) -#: ../C/gedit.xml:116(para) ../C/gedit.xml:124(para) ../C/gedit.xml:132(para) -#: ../C/gedit.xml:140(para) ../C/gedit.xml:148(para) ../C/gedit.xml:156(para) -#: ../C/gedit.xml:164(para) ../C/gedit.xml:172(para) ../C/gedit.xml:180(para) -#: ../C/gedit.xml:188(para) ../C/gedit.xml:196(para) +#: ../C/pluma.xml:26(holder) ../C/pluma.xml:45(publishername) +#: ../C/pluma.xml:52(firstname) ../C/pluma.xml:75(orgname) +#: ../C/pluma.xml:116(para) ../C/pluma.xml:124(para) ../C/pluma.xml:132(para) +#: ../C/pluma.xml:140(para) ../C/pluma.xml:148(para) ../C/pluma.xml:156(para) +#: ../C/pluma.xml:164(para) ../C/pluma.xml:172(para) ../C/pluma.xml:180(para) +#: ../C/pluma.xml:188(para) ../C/pluma.xml:196(para) msgid "MATE Documentation Project" msgstr "Projècte de documentacion de MATE" -#: ../C/gedit.xml:28(year) +#: ../C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: ../C/gedit.xml:29(year) +#: ../C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: ../C/gedit.xml:30(year) +#: ../C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: ../C/gedit.xml:31(holder) ../C/gedit.xml:67(orgname) +#: ../C/pluma.xml:31(holder) ../C/pluma.xml:67(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: ../C/gedit.xml:33(year) ../C/gedit.xml:112(date) +#: ../C/pluma.xml:33(year) ../C/pluma.xml:112(date) msgid "2000" msgstr "2000" -#: ../C/gedit.xml:34(holder) +#: ../C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: ../C/gedit.xml:55(orgname) +#: ../C/pluma.xml:55(orgname) msgid "MATE" msgstr "MATE" -#: ../C/gedit.xml:59(firstname) +#: ../C/pluma.xml:59(firstname) msgid "Hal" msgstr "" -#: ../C/gedit.xml:60(surname) +#: ../C/pluma.xml:60(surname) msgid "Canary" msgstr "" -#: ../C/gedit.xml:61(contrib) +#: ../C/pluma.xml:61(contrib) msgid "Added the Shortcut Keys Table" msgstr "" -#: ../C/gedit.xml:64(firstname) ../C/gedit.xml:187(para) +#: ../C/pluma.xml:64(firstname) ../C/pluma.xml:187(para) msgid "Sun Java Desktop System Documentation Team" msgstr "" -#: ../C/gedit.xml:68(email) +#: ../C/pluma.xml:68(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: ../C/gedit.xml:72(firstname) +#: ../C/pluma.xml:72(firstname) msgid "Eric" msgstr "Eric" -#: ../C/gedit.xml:73(surname) +#: ../C/pluma.xml:73(surname) msgid "Baudais" msgstr "Baudais" -#: ../C/gedit.xml:76(email) +#: ../C/pluma.xml:76(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: ../C/gedit.xml:80(firstname) +#: ../C/pluma.xml:80(firstname) msgid "Baris" msgstr "Baris" -#: ../C/gedit.xml:81(surname) -msgid "Cicek provided information from earlier revisions of the gedit application." +#: ../C/pluma.xml:81(surname) +msgid "Cicek provided information from earlier revisions of the pluma application." msgstr "" -#: ../C/gedit.xml:82(contrib) ../C/gedit.xml:87(contrib) +#: ../C/pluma.xml:82(contrib) ../C/pluma.xml:87(contrib) msgid "Acknowledgements" msgstr "" -#: ../C/gedit.xml:85(firstname) +#: ../C/pluma.xml:85(firstname) msgid "Ajit" msgstr "" -#: ../C/gedit.xml:86(surname) +#: ../C/pluma.xml:86(surname) msgid "George provided information about plugins." msgstr "" -#: ../C/gedit.xml:111(revnumber) -msgid "gedit V1.0" +#: ../C/pluma.xml:111(revnumber) +msgid "pluma V1.0" msgstr "" -#: ../C/gedit.xml:114(para) +#: ../C/pluma.xml:114(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: ../C/gedit.xml:120(revnumber) -msgid "gedit Manual V2.0" +#: ../C/pluma.xml:120(revnumber) +msgid "pluma Manual V2.0" msgstr "" -#: ../C/gedit.xml:121(date) +#: ../C/pluma.xml:121(date) msgid "March 2002" msgstr "Març de 2002" -#: ../C/gedit.xml:123(para) ../C/gedit.xml:131(para) ../C/gedit.xml:139(para) -#: ../C/gedit.xml:147(para) ../C/gedit.xml:155(para) ../C/gedit.xml:163(para) -#: ../C/gedit.xml:171(para) ../C/gedit.xml:179(para) +#: ../C/pluma.xml:123(para) ../C/pluma.xml:131(para) ../C/pluma.xml:139(para) +#: ../C/pluma.xml:147(para) ../C/pluma.xml:155(para) ../C/pluma.xml:163(para) +#: ../C/pluma.xml:171(para) ../C/pluma.xml:179(para) msgid "Sun MATE Documentation Team" msgstr "Còla Sun de documentacion de MATE" -#: ../C/gedit.xml:128(revnumber) -msgid "gedit Manual V2.1" +#: ../C/pluma.xml:128(revnumber) +msgid "pluma Manual V2.1" msgstr "" -#: ../C/gedit.xml:129(date) +#: ../C/pluma.xml:129(date) msgid "June 2002" msgstr "Junh de 2002" -#: ../C/gedit.xml:136(revnumber) -msgid "gedit Manual V2.2" +#: ../C/pluma.xml:136(revnumber) +msgid "pluma Manual V2.2" msgstr "" -#: ../C/gedit.xml:137(date) +#: ../C/pluma.xml:137(date) msgid "August 2002" msgstr "Agost de 2002" -#: ../C/gedit.xml:144(revnumber) -msgid "gedit Manual V2.3" +#: ../C/pluma.xml:144(revnumber) +msgid "pluma Manual V2.3" msgstr "" -#: ../C/gedit.xml:145(date) +#: ../C/pluma.xml:145(date) msgid "September 2002" msgstr "Setembre de 2002" -#: ../C/gedit.xml:152(revnumber) -msgid "gedit Manual V2.4" +#: ../C/pluma.xml:152(revnumber) +msgid "pluma Manual V2.4" msgstr "" -#: ../C/gedit.xml:153(date) +#: ../C/pluma.xml:153(date) msgid "January 2003" msgstr "Genièr de 2003" -#: ../C/gedit.xml:160(revnumber) -msgid "gedit Manual V2.5" +#: ../C/pluma.xml:160(revnumber) +msgid "pluma Manual V2.5" msgstr "" -#: ../C/gedit.xml:161(date) +#: ../C/pluma.xml:161(date) msgid "March 2003" msgstr "Març de 2003" -#: ../C/gedit.xml:168(revnumber) -msgid "gedit Manual V2.6" +#: ../C/pluma.xml:168(revnumber) +msgid "pluma Manual V2.6" msgstr "" -#: ../C/gedit.xml:169(date) +#: ../C/pluma.xml:169(date) msgid "September 2003" msgstr "Setembre de 2003" -#: ../C/gedit.xml:176(revnumber) -msgid "gedit Manual V2.7" +#: ../C/pluma.xml:176(revnumber) +msgid "pluma Manual V2.7" msgstr "" -#: ../C/gedit.xml:177(date) +#: ../C/pluma.xml:177(date) msgid "March 2004" msgstr "Març de 2004" -#: ../C/gedit.xml:184(revnumber) -msgid "gedit Manual V2.8" +#: ../C/pluma.xml:184(revnumber) +msgid "pluma Manual V2.8" msgstr "" -#: ../C/gedit.xml:185(date) ../C/gedit.xml:193(date) +#: ../C/pluma.xml:185(date) ../C/pluma.xml:193(date) msgid "July 2006" msgstr "" -#: ../C/gedit.xml:192(revnumber) -msgid "gedit Manual V2.9" +#: ../C/pluma.xml:192(revnumber) +msgid "pluma Manual V2.9" msgstr "" -#: ../C/gedit.xml:195(para) +#: ../C/pluma.xml:195(para) msgid "MATE Documentation Team" msgstr "Còla de documentacion de MATE" -#: ../C/gedit.xml:200(releaseinfo) -msgid "This manual describes version 2.16 of gedit." +#: ../C/pluma.xml:200(releaseinfo) +msgid "This manual describes version 2.16 of pluma." msgstr "" -#: ../C/gedit.xml:203(title) +#: ../C/pluma.xml:203(title) msgid "Feedback" msgstr "" -#: ../C/gedit.xml:204(para) +#: ../C/pluma.xml:204(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -#: ../C/gedit.xml:209(para) -msgid "gedit is the MATE text editor." +#: ../C/pluma.xml:209(para) +msgid "pluma is the MATE text editor." msgstr "" -#: ../C/gedit.xml:212(primary) -msgid "gedit" +#: ../C/pluma.xml:212(primary) +msgid "pluma" msgstr "" -#: ../C/gedit.xml:213(primary) +#: ../C/pluma.xml:213(primary) msgid "text editor" msgstr "" -#: ../C/gedit.xml:218(title) +#: ../C/pluma.xml:218(title) msgid "Introduction" msgstr "Introduccion" -#: ../C/gedit.xml:223(para) +#: ../C/pluma.xml:223(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -#: ../C/gedit.xml:225(para) +#: ../C/pluma.xml:225(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -#: ../C/gedit.xml:229(title) +#: ../C/pluma.xml:229(title) msgid "Getting Started" msgstr "Per començar" -#: ../C/gedit.xml:233(title) -msgid "Starting gedit" +#: ../C/pluma.xml:233(title) +msgid "Starting pluma" msgstr "" -#: ../C/gedit.xml:234(para) -msgid "You can start gedit in the following ways:" +#: ../C/pluma.xml:234(para) +msgid "You can start pluma in the following ways:" msgstr "" -#: ../C/gedit.xml:237(term) +#: ../C/pluma.xml:237(term) msgid "Applications menu" msgstr "Menut Applications" -#: ../C/gedit.xml:239(para) +#: ../C/pluma.xml:239(para) msgid "" "Choose AccessoriesText " "Editor." msgstr "" -#: ../C/gedit.xml:243(term) +#: ../C/pluma.xml:243(term) msgid "Command line" msgstr "Linha de comanda" -#: ../C/gedit.xml:245(para) -msgid "Execute the following command: gedit" +#: ../C/pluma.xml:245(para) +msgid "Execute the following command: pluma" msgstr "" -#: ../C/gedit.xml:249(para) +#: ../C/pluma.xml:249(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -#: ../C/gedit.xml:254(title) -msgid "The gedit Window" +#: ../C/pluma.xml:254(title) +msgid "The pluma Window" msgstr "" -#: ../C/gedit.xml:255(para) +#: ../C/pluma.xml:255(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -#: ../C/gedit.xml:258(title) -msgid "gedit Window" +#: ../C/pluma.xml:258(title) +msgid "pluma Window" msgstr "" -#: ../C/gedit.xml:264(phrase) -msgid "Shows gedit main window." +#: ../C/pluma.xml:264(phrase) +msgid "Shows pluma main window." msgstr "" -#: ../C/gedit.xml:270(para) -msgid "The gedit window contains the following elements:" +#: ../C/pluma.xml:270(para) +msgid "The pluma window contains the following elements:" msgstr "" -#: ../C/gedit.xml:273(term) +#: ../C/pluma.xml:273(term) msgid "Menubar" msgstr "Barra de menuts" -#: ../C/gedit.xml:275(para) +#: ../C/pluma.xml:275(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -#: ../C/gedit.xml:278(term) +#: ../C/pluma.xml:278(term) msgid "Toolbar" msgstr "Barra d'espleches" -#: ../C/gedit.xml:280(para) +#: ../C/pluma.xml:280(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "" -#: ../C/gedit.xml:283(term) +#: ../C/pluma.xml:283(term) msgid "Display area" msgstr "" -#: ../C/gedit.xml:285(para) +#: ../C/pluma.xml:285(para) msgid "The display area contains the text of the file that you are editing." msgstr "" -#: ../C/gedit.xml:288(term) +#: ../C/pluma.xml:288(term) msgid "Statusbar" msgstr "Barra d'estat" -#: ../C/gedit.xml:290(para) +#: ../C/pluma.xml:290(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -#: ../C/gedit.xml:293(para) +#: ../C/pluma.xml:293(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "" -#: ../C/gedit.xml:296(para) +#: ../C/pluma.xml:296(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -480,113 +480,113 @@ msgid "" "keycap> key to change edit mode." msgstr "" -#: ../C/gedit.xml:301(term) +#: ../C/pluma.xml:301(term) msgid "Side Pane" msgstr "" -#: ../C/gedit.xml:303(para) +#: ../C/pluma.xml:303(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." msgstr "" -#: ../C/gedit.xml:304(para) +#: ../C/pluma.xml:304(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Pane." msgstr "" -#: ../C/gedit.xml:307(term) +#: ../C/pluma.xml:307(term) msgid "Bottom Pane" msgstr "" -#: ../C/gedit.xml:309(para) +#: ../C/pluma.xml:309(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output. It is not shown by default." msgstr "" -#: ../C/gedit.xml:313(para) +#: ../C/pluma.xml:313(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -#: ../C/gedit.xml:315(para) +#: ../C/pluma.xml:315(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -#: ../C/gedit.xml:320(title) -msgid "Running gedit from a Command Line" +#: ../C/pluma.xml:320(title) +msgid "Running pluma from a Command Line" msgstr "" -#: ../C/gedit.xml:321(para) +#: ../C/pluma.xml:321(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -#: ../C/gedit.xml:322(replaceable) +#: ../C/pluma.xml:322(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "" -#: ../C/gedit.xml:322(command) -msgid "gedit " +#: ../C/pluma.xml:322(command) +msgid "pluma " msgstr "" -#: ../C/gedit.xml:323(para) +#: ../C/pluma.xml:323(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "" -#: ../C/gedit.xml:324(para) +#: ../C/pluma.xml:324(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -#: ../C/gedit.xml:329(title) +#: ../C/pluma.xml:329(title) msgid "Working with Files" msgstr "" -#: ../C/gedit.xml:333(title) +#: ../C/pluma.xml:333(title) msgid "Creating a New Document" msgstr "" -#: ../C/gedit.xml:334(para) +#: ../C/pluma.xml:334(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" -#: ../C/gedit.xml:339(title) ../C/gedit.xml:1667(title) +#: ../C/pluma.xml:339(title) ../C/pluma.xml:1667(title) msgid "Opening a File" msgstr "" -#: ../C/gedit.xml:340(para) +#: ../C/pluma.xml:340(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" -#: ../C/gedit.xml:342(phrase) +#: ../C/pluma.xml:342(phrase) msgid "Shows Recent Files menu icon." msgstr "" -#: ../C/gedit.xml:342(para) +#: ../C/pluma.xml:342(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -594,28 +594,28 @@ msgid "" "the icon on the toolbar to display the list of recent files." msgstr "" -#: ../C/gedit.xml:344(para) +#: ../C/pluma.xml:344(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -#: ../C/gedit.xml:350(title) +#: ../C/pluma.xml:350(title) msgid "Saving a File" msgstr "" -#: ../C/gedit.xml:351(para) +#: ../C/pluma.xml:351(para) msgid "You can save files in the following ways:" msgstr "" -#: ../C/gedit.xml:353(para) +#: ../C/pluma.xml:353(para) msgid "" "To save changes to an existing file, choose FileSave." msgstr "" -#: ../C/gedit.xml:355(para) +#: ../C/pluma.xml:355(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsSave." msgstr "" -#: ../C/gedit.xml:357(para) +#: ../C/pluma.xml:357(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -#: ../C/gedit.xml:360(para) +#: ../C/pluma.xml:360(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -#: ../C/gedit.xml:365(title) +#: ../C/pluma.xml:365(title) msgid "Opening a File from a URI" msgstr "" -#: ../C/gedit.xml:366(para) +#: ../C/pluma.xml:366(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" msgstr "" -#: ../C/gedit.xml:369(para) +#: ../C/pluma.xml:369(para) msgid "" "Choose FileOpen Location to display the Open Location " "dialog." msgstr "" -#: ../C/gedit.xml:372(para) +#: ../C/pluma.xml:372(para) msgid "Enter the URI of the file that you want to open." msgstr "" -#: ../C/gedit.xml:375(para) +#: ../C/pluma.xml:375(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." msgstr "" -#: ../C/gedit.xml:378(para) +#: ../C/pluma.xml:378(para) msgid "Click Open." msgstr "" -#: ../C/gedit.xml:381(para) +#: ../C/pluma.xml:381(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " "methods supported by mate-vfs." msgstr "" -#: ../C/gedit.xml:382(para) +#: ../C/pluma.xml:382(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -683,97 +683,97 @@ msgid "" "servers may correctly work with saving remote files." msgstr "" -#: ../C/gedit.xml:383(para) +#: ../C/pluma.xml:383(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" -#: ../C/gedit.xml:388(title) +#: ../C/pluma.xml:388(title) msgid "Working With Tabs" msgstr "" -#: ../C/gedit.xml:390(para) +#: ../C/pluma.xml:390(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -#: ../C/gedit.xml:391(para) +#: ../C/pluma.xml:391(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -#: ../C/gedit.xml:392(para) +#: ../C/pluma.xml:392(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -#: ../C/gedit.xml:398(title) +#: ../C/pluma.xml:398(title) msgid "Working with Text" msgstr "" -#: ../C/gedit.xml:402(title) +#: ../C/pluma.xml:402(title) msgid "Editing Text" msgstr "" -#: ../C/gedit.xml:403(para) +#: ../C/pluma.xml:403(para) msgid "You can edit the text of a file in the following ways:" msgstr "" -#: ../C/gedit.xml:405(para) +#: ../C/pluma.xml:405(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " "arrow keys on the keyboard or click with the mouse." msgstr "" -#: ../C/gedit.xml:407(para) +#: ../C/pluma.xml:407(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopy." msgstr "" -#: ../C/gedit.xml:409(para) +#: ../C/pluma.xml:409(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCut." msgstr "" -#: ../C/gedit.xml:411(para) +#: ../C/pluma.xml:411(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDelete." msgstr "" -#: ../C/gedit.xml:413(para) +#: ../C/pluma.xml:413(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" -#: ../C/gedit.xml:415(para) +#: ../C/pluma.xml:415(para) msgid "" "To select all of the text in a file, choose EditSelect All." msgstr "" -#: ../C/gedit.xml:421(title) +#: ../C/pluma.xml:421(title) msgid "Undoing and Redoing Changes" msgstr "" -#: ../C/gedit.xml:422(para) +#: ../C/pluma.xml:422(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -781,87 +781,87 @@ msgid "" "guimenuitem>. The number of previous edits that you can undo is " "determined by the Undo limit setting in the " "Editor tabbed section of the Preferences dialog: see ." +"guilabel> dialog: see ." msgstr "" -#: ../C/gedit.xml:427(title) +#: ../C/pluma.xml:427(title) msgid "Positioning the Cursor on a Specific Line" msgstr "" -#: ../C/gedit.xml:428(para) +#: ../C/pluma.xml:428(para) msgid "" "To position the cursor on a specific line in the current file, perform the " "following steps:" msgstr "" -#: ../C/gedit.xml:430(para) +#: ../C/pluma.xml:430(para) msgid "" "Choose SearchGo to Line to display the Go to Line " "dialog." msgstr "" -#: ../C/gedit.xml:432(para) +#: ../C/pluma.xml:432(para) msgid "" "Type the number of the line that you want to move the cursor to in the " "Line number field." msgstr "" -#: ../C/gedit.xml:434(para) +#: ../C/pluma.xml:434(para) msgid "" "Click Go to Line. The application moves the cursor to " "the line number that you specify." msgstr "" -#: ../C/gedit.xml:436(para) +#: ../C/pluma.xml:436(para) msgid "" "To close the Go to Line dialog, click Close." msgstr "" -#: ../C/gedit.xml:443(title) +#: ../C/pluma.xml:443(title) msgid "Finding and Replacing" msgstr "" -#: ../C/gedit.xml:445(para) +#: ../C/pluma.xml:445(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -#: ../C/gedit.xml:450(title) +#: ../C/pluma.xml:450(title) msgid "Finding Text" msgstr "" -#: ../C/gedit.xml:451(para) +#: ../C/pluma.xml:451(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" -#: ../C/gedit.xml:453(para) +#: ../C/pluma.xml:453(para) msgid "" "Choose SearchFind to display the Find dialog." msgstr "" -#: ../C/gedit.xml:455(para) +#: ../C/pluma.xml:455(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" -#: ../C/gedit.xml:457(para) +#: ../C/pluma.xml:457(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" -#: ../C/gedit.xml:459(para) +#: ../C/pluma.xml:459(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next." msgstr "" -#: ../C/gedit.xml:462(para) +#: ../C/pluma.xml:462(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -879,38 +879,38 @@ msgid "" "Previous." msgstr "" -#: ../C/gedit.xml:463(para) +#: ../C/pluma.xml:463(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlight." msgstr "" -#: ../C/gedit.xml:467(title) +#: ../C/pluma.xml:467(title) msgid "Incremental Search" msgstr "" -#: ../C/gedit.xml:469(para) +#: ../C/pluma.xml:469(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " "browsers.)" msgstr "" -#: ../C/gedit.xml:470(para) +#: ../C/pluma.xml:470(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " "search box appears at the top of the display area." msgstr "" -#: ../C/gedit.xml:471(para) +#: ../C/pluma.xml:471(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." msgstr "" -#: ../C/gedit.xml:472(para) +#: ../C/pluma.xml:472(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGG to go back to the previous match." msgstr "" -#: ../C/gedit.xml:473(para) +#: ../C/pluma.xml:473(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." msgstr "" -#: ../C/gedit.xml:478(title) +#: ../C/pluma.xml:478(title) msgid "Replacing Text" msgstr "" -#: ../C/gedit.xml:480(para) +#: ../C/pluma.xml:480(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" msgstr "" -#: ../C/gedit.xml:482(para) +#: ../C/pluma.xml:482(para) msgid "" "Choose SearchReplace to display the Replace dialog." msgstr "" -#: ../C/gedit.xml:484(para) +#: ../C/pluma.xml:484(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" -#: ../C/gedit.xml:485(para) +#: ../C/pluma.xml:485(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." msgstr "" -#: ../C/gedit.xml:489(para) +#: ../C/pluma.xml:489(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" -#: ../C/gedit.xml:490(para) +#: ../C/pluma.xml:490(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." msgstr "" -#: ../C/gedit.xml:495(title) +#: ../C/pluma.xml:495(title) msgid "Find and Replace Options" msgstr "" -#: ../C/gedit.xml:496(para) +#: ../C/pluma.xml:496(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" msgstr "" -#: ../C/gedit.xml:498(para) +#: ../C/pluma.xml:498(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -986,7 +986,7 @@ msgid "" "\"." msgstr "" -#: ../C/gedit.xml:500(para) +#: ../C/pluma.xml:500(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -994,1489 +994,1489 @@ msgid "" "selected, \"text\" will not match \"texture\"." msgstr "" -#: ../C/gedit.xml:502(para) +#: ../C/pluma.xml:502(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." msgstr "" -#: ../C/gedit.xml:504(para) +#: ../C/pluma.xml:504(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." msgstr "" -#: ../C/gedit.xml:511(title) +#: ../C/pluma.xml:511(title) msgid "Special Characters" msgstr "" -#: ../C/gedit.xml:512(para) +#: ../C/pluma.xml:512(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" msgstr "" -#: ../C/gedit.xml:515(literal) +#: ../C/pluma.xml:515(literal) msgid " n" msgstr "" -#: ../C/gedit.xml:517(para) +#: ../C/pluma.xml:517(para) msgid "Specifies a new line." msgstr "" -#: ../C/gedit.xml:521(literal) +#: ../C/pluma.xml:521(literal) msgid " t" msgstr "" -#: ../C/gedit.xml:523(para) +#: ../C/pluma.xml:523(para) msgid "Specifies a tab character." msgstr "" -#: ../C/gedit.xml:527(literal) +#: ../C/pluma.xml:527(literal) msgid " r" msgstr "" -#: ../C/gedit.xml:529(para) +#: ../C/pluma.xml:529(para) msgid "Specifies a carriage return." msgstr "" -#: ../C/gedit.xml:537(title) +#: ../C/pluma.xml:537(title) msgid "Printing" msgstr "Estampatge" -#: ../C/gedit.xml:541(title) +#: ../C/pluma.xml:541(title) msgid "Setting the Page Options" msgstr "" -#: ../C/gedit.xml:543(para) +#: ../C/pluma.xml:543(para) msgid "" "To set the page options, choose FilePage Setup to display the " "Page Setup dialog." msgstr "" -#: ../C/gedit.xml:545(para) +#: ../C/pluma.xml:545(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "" -#: ../C/gedit.xml:548(title) +#: ../C/pluma.xml:548(title) msgid "General Tabbed Section" msgstr "" -#: ../C/gedit.xml:550(guilabel) +#: ../C/pluma.xml:550(guilabel) msgid "Print syntax highlighting" msgstr "" -#: ../C/gedit.xml:552(para) +#: ../C/pluma.xml:552(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" -#: ../C/gedit.xml:555(guilabel) +#: ../C/pluma.xml:555(guilabel) msgid "Print page headers" msgstr "" -#: ../C/gedit.xml:557(para) +#: ../C/pluma.xml:557(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." msgstr "" -#: ../C/gedit.xml:560(guilabel) ../C/gedit.xml:1162(guilabel) +#: ../C/pluma.xml:560(guilabel) ../C/pluma.xml:1162(guilabel) msgid "Line Numbers" msgstr "" -#: ../C/gedit.xml:563(para) +#: ../C/pluma.xml:563(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." msgstr "" -#: ../C/gedit.xml:564(para) +#: ../C/pluma.xml:564(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " "and so on." msgstr "" -#: ../C/gedit.xml:567(guilabel) ../C/gedit.xml:1155(guilabel) -#: ../C/gedit.xml:1759(para) +#: ../C/pluma.xml:567(guilabel) ../C/pluma.xml:1155(guilabel) +#: ../C/pluma.xml:1759(para) msgid "Text Wrapping" msgstr "" -#: ../C/gedit.xml:569(para) +#: ../C/pluma.xml:569(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " "application counts wrapped lines as one line for line numbering purposes." msgstr "" -#: ../C/gedit.xml:571(para) +#: ../C/pluma.xml:571(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." msgstr "" -#: ../C/gedit.xml:579(title) +#: ../C/pluma.xml:579(title) msgid "Fonts" msgstr "Poliças" -#: ../C/gedit.xml:581(guilabel) +#: ../C/pluma.xml:581(guilabel) msgid "Body" msgstr "Còs" -#: ../C/gedit.xml:583(para) +#: ../C/pluma.xml:583(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "" -#: ../C/gedit.xml:586(guilabel) +#: ../C/pluma.xml:586(guilabel) msgid "Line numbers" msgstr "" -#: ../C/gedit.xml:589(para) +#: ../C/pluma.xml:589(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" -#: ../C/gedit.xml:592(guilabel) +#: ../C/pluma.xml:592(guilabel) msgid "Headers and footers" msgstr "" -#: ../C/gedit.xml:594(para) +#: ../C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "" -#: ../C/gedit.xml:598(para) +#: ../C/pluma.xml:598(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -#: ../C/gedit.xml:605(title) +#: ../C/pluma.xml:605(title) msgid "Printing a Document" msgstr "" -#: ../C/gedit.xml:606(para) +#: ../C/pluma.xml:606(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -#: ../C/gedit.xml:608(para) +#: ../C/pluma.xml:608(para) msgid "Print a document to a printer." msgstr "" -#: ../C/gedit.xml:610(para) +#: ../C/pluma.xml:610(para) msgid "Print the output of the print command to a file." msgstr "" -#: ../C/gedit.xml:613(para) +#: ../C/pluma.xml:613(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -#: ../C/gedit.xml:615(para) +#: ../C/pluma.xml:615(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Preview." msgstr "" -#: ../C/gedit.xml:617(para) +#: ../C/pluma.xml:617(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint to display the Print dialog." msgstr "" -#: ../C/gedit.xml:619(para) +#: ../C/pluma.xml:619(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "" -#: ../C/gedit.xml:622(title) +#: ../C/pluma.xml:622(title) msgid "Job Tabbed Section" msgstr "" -#: ../C/gedit.xml:624(guilabel) +#: ../C/pluma.xml:624(guilabel) msgid "Print range" msgstr "Airal d'estampatge" -#: ../C/gedit.xml:626(para) +#: ../C/pluma.xml:626(para) msgid "Select one of the following options to determine how many pages to print:" msgstr "" -#: ../C/gedit.xml:629(guilabel) +#: ../C/pluma.xml:629(guilabel) msgid "All" msgstr "Totes" -#: ../C/gedit.xml:630(para) +#: ../C/pluma.xml:630(para) msgid "Select this option to print all of the pages in the file." msgstr "" -#: ../C/gedit.xml:633(guilabel) +#: ../C/pluma.xml:633(guilabel) msgid "Lines" msgstr "Linhas" -#: ../C/gedit.xml:634(para) +#: ../C/pluma.xml:634(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " "the line range." msgstr "" -#: ../C/gedit.xml:637(guilabel) +#: ../C/pluma.xml:637(guilabel) msgid "Selection" msgstr "Seleccion" -#: ../C/gedit.xml:638(para) +#: ../C/pluma.xml:638(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." msgstr "" -#: ../C/gedit.xml:644(guilabel) +#: ../C/pluma.xml:644(guilabel) msgid "Copies" msgstr "Còpias" -#: ../C/gedit.xml:646(para) +#: ../C/pluma.xml:646(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." msgstr "" -#: ../C/gedit.xml:647(para) +#: ../C/pluma.xml:647(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." msgstr "" -#: ../C/gedit.xml:654(title) +#: ../C/pluma.xml:654(title) msgid "Printer Tabbed Section" msgstr "" -#: ../C/gedit.xml:656(guilabel) +#: ../C/pluma.xml:656(guilabel) msgid "Printer" msgstr "Estampaira" -#: ../C/gedit.xml:658(para) +#: ../C/pluma.xml:658(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "" -#: ../C/gedit.xml:661(guilabel) +#: ../C/pluma.xml:661(guilabel) msgid "Settings" msgstr "Paramètres" -#: ../C/gedit.xml:663(para) +#: ../C/pluma.xml:663(para) msgid "Use this drop-down list to select the printer settings." msgstr "" -#: ../C/gedit.xml:665(para) +#: ../C/pluma.xml:665(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " "printing, if this functionality is supported by the printer." msgstr "" -#: ../C/gedit.xml:669(guilabel) +#: ../C/pluma.xml:669(guilabel) msgid "Location" msgstr "Emplaçament" -#: ../C/gedit.xml:671(para) +#: ../C/pluma.xml:671(para) msgid "Use this drop-down list to select one of the following print destinations:" msgstr "" -#: ../C/gedit.xml:676(guilabel) +#: ../C/pluma.xml:676(guilabel) msgid "CUPS" msgstr "CUPS" -#: ../C/gedit.xml:678(para) +#: ../C/pluma.xml:678(para) msgid "Print the file to a CUPS printer." msgstr "" -#: ../C/gedit.xml:682(para) +#: ../C/pluma.xml:682(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." msgstr "" -#: ../C/gedit.xml:689(guilabel) +#: ../C/pluma.xml:689(guilabel) msgid "lpr" msgstr "lpr" -#: ../C/gedit.xml:691(para) +#: ../C/pluma.xml:691(para) msgid "Print the file to a printer." msgstr "" -#: ../C/gedit.xml:697(guilabel) +#: ../C/pluma.xml:697(guilabel) msgid "File" msgstr "Fichièr" -#: ../C/gedit.xml:699(para) +#: ../C/pluma.xml:699(para) msgid "Print the file to a PostScript file." msgstr "" -#: ../C/gedit.xml:702(para) +#: ../C/pluma.xml:702(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." msgstr "" -#: ../C/gedit.xml:708(guilabel) +#: ../C/pluma.xml:708(guilabel) msgid "Custom" msgstr "Personalizat" -#: ../C/gedit.xml:710(para) +#: ../C/pluma.xml:710(para) msgid "Use the specified command to print the file." msgstr "" -#: ../C/gedit.xml:713(para) +#: ../C/pluma.xml:713(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "" -#: ../C/gedit.xml:721(guilabel) +#: ../C/pluma.xml:721(guilabel) msgid "State" msgstr "Estat" -#: ../C/gedit.xml:723(para) ../C/gedit.xml:729(para) ../C/gedit.xml:735(para) -msgid "This functionality is not supported in this version of gedit." +#: ../C/pluma.xml:723(para) ../C/pluma.xml:729(para) ../C/pluma.xml:735(para) +msgid "This functionality is not supported in this version of pluma." msgstr "" -#: ../C/gedit.xml:727(guilabel) +#: ../C/pluma.xml:727(guilabel) msgid "Type" msgstr "Tipe" -#: ../C/gedit.xml:733(guilabel) +#: ../C/pluma.xml:733(guilabel) msgid "Comment" msgstr "Comentari" -#: ../C/gedit.xml:743(title) +#: ../C/pluma.xml:743(title) msgid "Paper Tabbed Section" msgstr "" -#: ../C/gedit.xml:745(guilabel) +#: ../C/pluma.xml:745(guilabel) msgid "Paper size" msgstr "Talha de papièr" -#: ../C/gedit.xml:747(para) +#: ../C/pluma.xml:747(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "" -#: ../C/gedit.xml:750(guilabel) +#: ../C/pluma.xml:750(guilabel) msgid "Width" msgstr "Largor" -#: ../C/gedit.xml:752(para) +#: ../C/pluma.xml:752(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." msgstr "" -#: ../C/gedit.xml:755(guilabel) +#: ../C/pluma.xml:755(guilabel) msgid "Height" msgstr "Nautor" -#: ../C/gedit.xml:757(para) +#: ../C/pluma.xml:757(para) msgid "Use this spin box to specify the height of the paper." msgstr "" -#: ../C/gedit.xml:760(guilabel) +#: ../C/pluma.xml:760(guilabel) msgid "Feed orientation" msgstr "" -#: ../C/gedit.xml:762(para) +#: ../C/pluma.xml:762(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "" -#: ../C/gedit.xml:765(guilabel) +#: ../C/pluma.xml:765(guilabel) msgid "Page orientation" msgstr "" -#: ../C/gedit.xml:767(para) +#: ../C/pluma.xml:767(para) msgid "Use this drop-down list to select the page orientation." msgstr "" -#: ../C/gedit.xml:770(guilabel) +#: ../C/pluma.xml:770(guilabel) msgid "Layout" msgstr "Presentacion" -#: ../C/gedit.xml:772(para) +#: ../C/pluma.xml:772(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." msgstr "" -#: ../C/gedit.xml:775(guilabel) +#: ../C/pluma.xml:775(guilabel) msgid "Paper tray" msgstr "" -#: ../C/gedit.xml:777(para) +#: ../C/pluma.xml:777(para) msgid "Use this drop-down list to select the paper tray." msgstr "" -#: ../C/gedit.xml:788(title) +#: ../C/pluma.xml:788(title) msgid "Programming Features" msgstr "" -#: ../C/gedit.xml:790(para) +#: ../C/pluma.xml:790(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -#: ../C/gedit.xml:794(title) +#: ../C/pluma.xml:794(title) msgid "Syntax Highlighting" msgstr "" -#: ../C/gedit.xml:795(para) +#: ../C/pluma.xml:795(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." msgstr "" -#: ../C/gedit.xml:797(para) +#: ../C/pluma.xml:797(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -#: ../C/gedit.xml:800(guimenuitem) +#: ../C/pluma.xml:800(guimenuitem) msgid "Normal" msgstr "Normal" -#: ../C/gedit.xml:802(para) +#: ../C/pluma.xml:802(para) msgid "Do not display any syntax highlighting." msgstr "" -#: ../C/gedit.xml:806(guisubmenu) +#: ../C/pluma.xml:806(guisubmenu) msgid "Sources" msgstr "" -#: ../C/gedit.xml:808(para) +#: ../C/pluma.xml:808(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." msgstr "" -#: ../C/gedit.xml:812(guisubmenu) +#: ../C/pluma.xml:812(guisubmenu) msgid "Markup" msgstr "" -#: ../C/gedit.xml:814(para) +#: ../C/pluma.xml:814(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "" -#: ../C/gedit.xml:818(guisubmenu) +#: ../C/pluma.xml:818(guisubmenu) msgid "Scripts" msgstr "" -#: ../C/gedit.xml:820(para) +#: ../C/pluma.xml:820(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." msgstr "" -#: ../C/gedit.xml:824(guisubmenu) +#: ../C/pluma.xml:824(guisubmenu) msgid "Others" msgstr "Autres" -#: ../C/gedit.xml:826(para) +#: ../C/pluma.xml:826(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." msgstr "" -#: ../C/gedit.xml:830(para) +#: ../C/pluma.xml:830(para) msgid "" "For more information about how to configure syntax highlighting, see ." +"linkend=\"pluma-prefs-syntax\"/>." msgstr "" -#: ../C/gedit.xml:836(title) +#: ../C/pluma.xml:836(title) msgid "Piping the Output of a Command to a File" msgstr "" -#: ../C/gedit.xml:837(para) +#: ../C/pluma.xml:837(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -#: ../C/gedit.xml:838(para) +#: ../C/pluma.xml:838(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -#: ../C/gedit.xml:839(para) +#: ../C/pluma.xml:839(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." msgstr "" -#: ../C/gedit.xml:845(title) +#: ../C/pluma.xml:845(title) msgid "Shortcut Keys" msgstr "" -#: ../C/gedit.xml:846(para) +#: ../C/pluma.xml:846(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" -#: ../C/gedit.xml:847(para) +#: ../C/pluma.xml:847(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." msgstr "" #. ============= Tabs ======================== -#: ../C/gedit.xml:850(bridgehead) ../C/gedit.xml:1180(guilabel) +#: ../C/pluma.xml:850(bridgehead) ../C/pluma.xml:1180(guilabel) msgid "Tabs" msgstr "Onglets" -#: ../C/gedit.xml:851(para) +#: ../C/pluma.xml:851(para) msgid "Shortcuts for tabs:" msgstr "" -#: ../C/gedit.xml:859(para) ../C/gedit.xml:903(para) ../C/gedit.xml:959(para) -#: ../C/gedit.xml:1003(para) ../C/gedit.xml:1031(para) -#: ../C/gedit.xml:1078(para) ../C/gedit.xml:1121(para) +#: ../C/pluma.xml:859(para) ../C/pluma.xml:903(para) ../C/pluma.xml:959(para) +#: ../C/pluma.xml:1003(para) ../C/pluma.xml:1031(para) +#: ../C/pluma.xml:1078(para) ../C/pluma.xml:1121(para) msgid "Shortcut Key" msgstr "" -#: ../C/gedit.xml:861(para) ../C/gedit.xml:905(para) ../C/gedit.xml:961(para) -#: ../C/gedit.xml:1005(para) ../C/gedit.xml:1033(para) -#: ../C/gedit.xml:1080(para) ../C/gedit.xml:1123(para) +#: ../C/pluma.xml:861(para) ../C/pluma.xml:905(para) ../C/pluma.xml:961(para) +#: ../C/pluma.xml:1005(para) ../C/pluma.xml:1033(para) +#: ../C/pluma.xml:1080(para) ../C/pluma.xml:1123(para) msgid "Command" msgstr "Comanda" -#: ../C/gedit.xml:866(para) ../C/gedit.xml:870(para) +#: ../C/pluma.xml:866(para) ../C/pluma.xml:870(para) msgid "Ctrl + Alt + PageDown" msgstr "" -#: ../C/gedit.xml:867(para) +#: ../C/pluma.xml:867(para) msgid "Switches to the next tab to the left." msgstr "" -#: ../C/gedit.xml:871(para) +#: ../C/pluma.xml:871(para) msgid "Switches to the next tab to the right." msgstr "" -#: ../C/gedit.xml:874(para) ../C/gedit.xml:938(para) +#: ../C/pluma.xml:874(para) ../C/pluma.xml:938(para) msgid "Ctrl + W" msgstr "" -#: ../C/gedit.xml:875(para) +#: ../C/pluma.xml:875(para) msgid "Close tab." msgstr "" -#: ../C/gedit.xml:878(para) +#: ../C/pluma.xml:878(para) msgid "Ctrl + Shift + L" msgstr "" -#: ../C/gedit.xml:879(para) +#: ../C/pluma.xml:879(para) msgid "Save all tabs." msgstr "" -#: ../C/gedit.xml:882(para) +#: ../C/pluma.xml:882(para) msgid "Ctrl + Shift + W" msgstr "" -#: ../C/gedit.xml:883(para) +#: ../C/pluma.xml:883(para) msgid "Close all tabs." msgstr "" -#: ../C/gedit.xml:886(para) +#: ../C/pluma.xml:886(para) msgid "Alt + n" msgstr "" -#: ../C/gedit.xml:887(para) +#: ../C/pluma.xml:887(para) msgid "Jump to nth tab." msgstr "" #. ============= Files ======================== -#: ../C/gedit.xml:894(bridgehead) +#: ../C/pluma.xml:894(bridgehead) msgid "Files" msgstr "Fichièrs" -#: ../C/gedit.xml:895(para) +#: ../C/pluma.xml:895(para) msgid "Shortcuts for working with files:" msgstr "" -#: ../C/gedit.xml:910(para) +#: ../C/pluma.xml:910(para) msgid "Ctrl + N" msgstr "" -#: ../C/gedit.xml:911(para) +#: ../C/pluma.xml:911(para) msgid "Create a new document." msgstr "" -#: ../C/gedit.xml:914(para) +#: ../C/pluma.xml:914(para) msgid "Ctrl + O" msgstr "" -#: ../C/gedit.xml:915(para) +#: ../C/pluma.xml:915(para) msgid "Open a document." msgstr "" -#: ../C/gedit.xml:918(para) +#: ../C/pluma.xml:918(para) msgid "Ctrl + L" msgstr "" -#: ../C/gedit.xml:919(para) +#: ../C/pluma.xml:919(para) msgid "Open a location." msgstr "" -#: ../C/gedit.xml:922(para) +#: ../C/pluma.xml:922(para) msgid "Ctrl + S" msgstr "" -#: ../C/gedit.xml:923(para) +#: ../C/pluma.xml:923(para) msgid "Save the current document to disk." msgstr "" -#: ../C/gedit.xml:926(para) +#: ../C/pluma.xml:926(para) msgid "Ctrl + Shift + S" msgstr "" -#: ../C/gedit.xml:927(para) +#: ../C/pluma.xml:927(para) msgid "Save the current document with a new filename." msgstr "" -#: ../C/gedit.xml:930(para) +#: ../C/pluma.xml:930(para) msgid "Ctrl + P" msgstr "" -#: ../C/gedit.xml:931(para) +#: ../C/pluma.xml:931(para) msgid "Print the current document." msgstr "" -#: ../C/gedit.xml:934(para) +#: ../C/pluma.xml:934(para) msgid "Ctrl + Shift + P" msgstr "" -#: ../C/gedit.xml:935(para) +#: ../C/pluma.xml:935(para) msgid "Print preview." msgstr "" -#: ../C/gedit.xml:939(para) +#: ../C/pluma.xml:939(para) msgid "Close the current document." msgstr "" -#: ../C/gedit.xml:942(para) +#: ../C/pluma.xml:942(para) msgid "Ctrl + Q" msgstr "" -#: ../C/gedit.xml:943(para) -msgid "Quit Gedit." +#: ../C/pluma.xml:943(para) +msgid "Quit Pluma." msgstr "" #. ============= Edit ======================= -#: ../C/gedit.xml:950(bridgehead) ../C/gedit.xml:1484(guimenu) -#: ../C/gedit.xml:1490(guimenu) ../C/gedit.xml:1496(guimenu) -#: ../C/gedit.xml:1502(guimenu) +#: ../C/pluma.xml:950(bridgehead) ../C/pluma.xml:1484(guimenu) +#: ../C/pluma.xml:1490(guimenu) ../C/pluma.xml:1496(guimenu) +#: ../C/pluma.xml:1502(guimenu) msgid "Edit" msgstr "Edicion" -#: ../C/gedit.xml:951(para) +#: ../C/pluma.xml:951(para) msgid "Shortcuts for editing documents:" msgstr "" -#: ../C/gedit.xml:966(para) +#: ../C/pluma.xml:966(para) msgid "Ctrl + Z" msgstr "" -#: ../C/gedit.xml:967(para) +#: ../C/pluma.xml:967(para) msgid "Undo the last action." msgstr "" -#: ../C/gedit.xml:970(para) +#: ../C/pluma.xml:970(para) msgid "Ctrl + Shift + Z" msgstr "" -#: ../C/gedit.xml:971(para) +#: ../C/pluma.xml:971(para) msgid "Redo the last undone action ." msgstr "" -#: ../C/gedit.xml:974(para) +#: ../C/pluma.xml:974(para) msgid "Ctrl + X" msgstr "" -#: ../C/gedit.xml:975(para) +#: ../C/pluma.xml:975(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "" -#: ../C/gedit.xml:978(para) +#: ../C/pluma.xml:978(para) msgid "Ctrl + C" msgstr "" -#: ../C/gedit.xml:979(para) +#: ../C/pluma.xml:979(para) msgid "Copy the selected text or region onto the clipboard." msgstr "" -#: ../C/gedit.xml:982(para) +#: ../C/pluma.xml:982(para) msgid "Ctrl + V" msgstr "" -#: ../C/gedit.xml:983(para) +#: ../C/pluma.xml:983(para) msgid "Paste the contents of the clipboard." msgstr "" -#: ../C/gedit.xml:986(para) +#: ../C/pluma.xml:986(para) msgid "Ctrl + A" msgstr "" -#: ../C/gedit.xml:987(para) +#: ../C/pluma.xml:987(para) msgid "Select all." msgstr "" #. ============= Panes ======================= -#: ../C/gedit.xml:994(bridgehead) +#: ../C/pluma.xml:994(bridgehead) msgid "Panes" msgstr "" -#: ../C/gedit.xml:995(para) +#: ../C/pluma.xml:995(para) msgid "Shortcuts for showing and hiding panes:" msgstr "" -#: ../C/gedit.xml:1010(para) +#: ../C/pluma.xml:1010(para) msgid "F9" msgstr "F9" -#: ../C/gedit.xml:1011(para) +#: ../C/pluma.xml:1011(para) msgid "Show/hide the side pane." msgstr "" -#: ../C/gedit.xml:1014(para) +#: ../C/pluma.xml:1014(para) msgid "Ctrl + F9" msgstr "" -#: ../C/gedit.xml:1015(para) +#: ../C/pluma.xml:1015(para) msgid "Show/hide the bottom pane." msgstr "" #. ============= Search ======================= -#: ../C/gedit.xml:1022(bridgehead) +#: ../C/pluma.xml:1022(bridgehead) msgid "Search" msgstr "Recercar" -#: ../C/gedit.xml:1023(para) +#: ../C/pluma.xml:1023(para) msgid "Shortcuts for searching:" msgstr "" -#: ../C/gedit.xml:1038(para) +#: ../C/pluma.xml:1038(para) msgid "Ctrl + F" msgstr "" -#: ../C/gedit.xml:1039(para) +#: ../C/pluma.xml:1039(para) msgid "Find a string." msgstr "" -#: ../C/gedit.xml:1042(para) +#: ../C/pluma.xml:1042(para) msgid "Ctrl + G" msgstr "" -#: ../C/gedit.xml:1043(para) +#: ../C/pluma.xml:1043(para) msgid "Find the next instance of the string." msgstr "" -#: ../C/gedit.xml:1046(para) +#: ../C/pluma.xml:1046(para) msgid "Ctrl + Shift + G" msgstr "" -#: ../C/gedit.xml:1047(para) +#: ../C/pluma.xml:1047(para) msgid "Find the previous instance of the string." msgstr "" -#: ../C/gedit.xml:1050(para) +#: ../C/pluma.xml:1050(para) msgid "Ctrl + K" msgstr "" -#: ../C/gedit.xml:1051(para) +#: ../C/pluma.xml:1051(para) msgid "Interactive search." msgstr "" -#: ../C/gedit.xml:1054(para) +#: ../C/pluma.xml:1054(para) msgid "Ctrl + H" msgstr "" -#: ../C/gedit.xml:1055(para) +#: ../C/pluma.xml:1055(para) msgid "Search and replace." msgstr "" -#: ../C/gedit.xml:1058(para) +#: ../C/pluma.xml:1058(para) msgid "Ctrl + Shift + K" msgstr "" -#: ../C/gedit.xml:1059(para) +#: ../C/pluma.xml:1059(para) msgid "Clear highlight." msgstr "" -#: ../C/gedit.xml:1062(para) +#: ../C/pluma.xml:1062(para) msgid "Ctrl + I" msgstr "" -#: ../C/gedit.xml:1063(para) +#: ../C/pluma.xml:1063(para) msgid "Goto line." msgstr "" #. ============= Tools ======================= -#: ../C/gedit.xml:1069(bridgehead) +#: ../C/pluma.xml:1069(bridgehead) msgid "Tools" msgstr "Espleches" -#: ../C/gedit.xml:1070(para) +#: ../C/pluma.xml:1070(para) msgid "Shortcuts for tools:" msgstr "" -#: ../C/gedit.xml:1085(para) +#: ../C/pluma.xml:1085(para) msgid "F7" msgstr "F7" -#: ../C/gedit.xml:1086(para) +#: ../C/pluma.xml:1086(para) msgid "Check spelling (with plugin)." msgstr "" -#: ../C/gedit.xml:1089(para) +#: ../C/pluma.xml:1089(para) msgid "Alt + F12" msgstr "" -#: ../C/gedit.xml:1090(para) +#: ../C/pluma.xml:1090(para) msgid "Remove trailing spaces (with plugin)." msgstr "" -#: ../C/gedit.xml:1093(para) +#: ../C/pluma.xml:1093(para) msgid "Ctrl + T" msgstr "" -#: ../C/gedit.xml:1094(para) +#: ../C/pluma.xml:1094(para) msgid "Indent (with plugin)." msgstr "" -#: ../C/gedit.xml:1097(para) +#: ../C/pluma.xml:1097(para) msgid "Ctrl + Shift + T" msgstr "" -#: ../C/gedit.xml:1098(para) +#: ../C/pluma.xml:1098(para) msgid "Remove Indent (with plugin)." msgstr "" -#: ../C/gedit.xml:1101(para) +#: ../C/pluma.xml:1101(para) msgid "F8" msgstr "F8" -#: ../C/gedit.xml:1102(para) +#: ../C/pluma.xml:1102(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "" -#: ../C/gedit.xml:1105(para) +#: ../C/pluma.xml:1105(para) msgid "Ctrl + Shift + D" msgstr "" -#: ../C/gedit.xml:1106(para) +#: ../C/pluma.xml:1106(para) msgid "Directory listing (with plugin)." msgstr "" #. ============= Help ======================= -#: ../C/gedit.xml:1112(bridgehead) +#: ../C/pluma.xml:1112(bridgehead) msgid "Help" msgstr "Ajuda" -#: ../C/gedit.xml:1113(para) +#: ../C/pluma.xml:1113(para) msgid "Shortcuts for help:" msgstr "" -#: ../C/gedit.xml:1128(para) +#: ../C/pluma.xml:1128(para) msgid "F1" msgstr "F1" -#: ../C/gedit.xml:1129(para) -msgid "Open gedit's user manual." +#: ../C/pluma.xml:1129(para) +msgid "Open pluma's user manual." msgstr "" -#: ../C/gedit.xml:1141(title) +#: ../C/pluma.xml:1141(title) msgid "Preferences" msgstr "Preferéncias" -#: ../C/gedit.xml:1143(para) +#: ../C/pluma.xml:1143(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -#: ../C/gedit.xml:1153(title) +#: ../C/pluma.xml:1153(title) msgid "View Preferences" msgstr "" -#: ../C/gedit.xml:1157(para) +#: ../C/pluma.xml:1157(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " "text window. This avoids having to scroll horizontally" msgstr "" -#: ../C/gedit.xml:1158(para) +#: ../C/pluma.xml:1158(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " "next line. This makes text easier to read." msgstr "" -#: ../C/gedit.xml:1164(para) +#: ../C/pluma.xml:1164(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" -#: ../C/gedit.xml:1168(guilabel) +#: ../C/pluma.xml:1168(guilabel) msgid "Right Margin" msgstr "" -#: ../C/gedit.xml:1170(para) +#: ../C/pluma.xml:1170(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." msgstr "" -#: ../C/gedit.xml:1171(para) +#: ../C/pluma.xml:1171(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." msgstr "" -#: ../C/gedit.xml:1178(title) +#: ../C/pluma.xml:1178(title) msgid "Editor Preferences" msgstr "" -#: ../C/gedit.xml:1182(para) +#: ../C/pluma.xml:1182(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" -#: ../C/gedit.xml:1183(para) +#: ../C/pluma.xml:1183(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" -#: ../C/gedit.xml:1186(guilabel) +#: ../C/pluma.xml:1186(guilabel) msgid "Auto Indentation" msgstr "" -#: ../C/gedit.xml:1187(para) +#: ../C/pluma.xml:1187(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." msgstr "" -#: ../C/gedit.xml:1190(guilabel) +#: ../C/pluma.xml:1190(guilabel) msgid "File Saving" msgstr "" -#: ../C/gedit.xml:1192(para) +#: ../C/pluma.xml:1192(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " "backup copy of the file contains a ~ at the end of the filename." msgstr "" -#: ../C/gedit.xml:1193(para) +#: ../C/pluma.xml:1193(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " "to specify how often you want to save the file." msgstr "" -#: ../C/gedit.xml:1196(guilabel) +#: ../C/pluma.xml:1196(guilabel) msgid "Undo" msgstr "Anullar" -#: ../C/gedit.xml:1198(para) +#: ../C/pluma.xml:1198(para) msgid "" "Select the Limit to ... actions option to set a limit " "on the number of editing actions that you can undo. Use the spin box to " "specify the maximum number of actions that you can undo." msgstr "" -#: ../C/gedit.xml:1199(para) +#: ../C/pluma.xml:1199(para) msgid "" "Select the Unlimited undo option to set no limit on the " "number of editing actions that you can undo." msgstr "" -#: ../C/gedit.xml:1206(title) +#: ../C/pluma.xml:1206(title) msgid "Font & Colors Preferences" msgstr "" -#: ../C/gedit.xml:1208(guilabel) +#: ../C/pluma.xml:1208(guilabel) msgid "Font" msgstr "Poliça" -#: ../C/gedit.xml:1210(para) +#: ../C/pluma.xml:1210(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" -#: ../C/gedit.xml:1211(para) +#: ../C/pluma.xml:1211(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" -#: ../C/gedit.xml:1214(guilabel) +#: ../C/pluma.xml:1214(guilabel) msgid "Colors" msgstr "Colors" -#: ../C/gedit.xml:1216(para) +#: ../C/pluma.xml:1216(para) msgid "" "Select the Use default theme colors option to use the " -"default theme colors in the gedit text window." +"default theme colors in the pluma text window." msgstr "" -#: ../C/gedit.xml:1217(para) +#: ../C/pluma.xml:1217(para) msgid "" "Click on the Normal text color color button to " "display the color selector dialog. Select a color to use to display normal " -"text in the gedit text window." +"text in the pluma text window." msgstr "" -#: ../C/gedit.xml:1218(para) +#: ../C/pluma.xml:1218(para) msgid "" "Click on the Background color color button to display " "the color selector dialog. Select a background color for the " -"gedit text window." +"pluma text window." msgstr "" -#: ../C/gedit.xml:1219(para) +#: ../C/pluma.xml:1219(para) msgid "" "Click on the Selected text color color button to " "display the color selector dialog. Select a color to use to display selected " "text." msgstr "" -#: ../C/gedit.xml:1221(para) +#: ../C/pluma.xml:1221(para) msgid "" "Click on the Selection color color button to display " "the color selector dialog. Select a background color to use to highlight a " "text selection." msgstr "" -#: ../C/gedit.xml:1228(title) +#: ../C/pluma.xml:1228(title) msgid "Syntax Highlighting Preferences" msgstr "" -#: ../C/gedit.xml:1230(guilabel) +#: ../C/pluma.xml:1230(guilabel) msgid "Enable syntax highlighting" msgstr "" -#: ../C/gedit.xml:1232(para) +#: ../C/pluma.xml:1232(para) msgid "Select this option to highlight the syntax of the text that you edit." msgstr "" -#: ../C/gedit.xml:1235(guilabel) +#: ../C/pluma.xml:1235(guilabel) msgid "Highlight mode" msgstr "" -#: ../C/gedit.xml:1237(para) +#: ../C/pluma.xml:1237(para) msgid "Use this drop-down list to select a syntax mode to configure." msgstr "" -#: ../C/gedit.xml:1240(guilabel) +#: ../C/pluma.xml:1240(guilabel) msgid "Elements" msgstr "Elements" -#: ../C/gedit.xml:1242(para) +#: ../C/pluma.xml:1242(para) msgid "Use this list box to select a syntax element to configure." msgstr "" -#: ../C/gedit.xml:1245(term) +#: ../C/pluma.xml:1245(term) msgid "Format buttons" msgstr "" -#: ../C/gedit.xml:1247(para) +#: ../C/pluma.xml:1247(para) msgid "" "Use the following buttons to change the format of the selected syntax " "element:" msgstr "" -#: ../C/gedit.xml:1255(para) +#: ../C/pluma.xml:1255(para) msgid "Button" msgstr "Boton" -#: ../C/gedit.xml:1257(para) +#: ../C/pluma.xml:1257(para) msgid "Format" msgstr "Format" -#: ../C/gedit.xml:1269(phrase) +#: ../C/pluma.xml:1269(phrase) msgid "Shows icon for bold format." msgstr "" -#: ../C/gedit.xml:1275(para) +#: ../C/pluma.xml:1275(para) msgid "Bold" msgstr "Gras" -#: ../C/gedit.xml:1287(phrase) +#: ../C/pluma.xml:1287(phrase) msgid "Shows icon for italic format." msgstr "" -#: ../C/gedit.xml:1293(para) +#: ../C/pluma.xml:1293(para) msgid "Italic" msgstr "Italic" -#: ../C/gedit.xml:1305(phrase) +#: ../C/pluma.xml:1305(phrase) msgid "Shows icon for underline." msgstr "" -#: ../C/gedit.xml:1311(para) +#: ../C/pluma.xml:1311(para) msgid "Underline" msgstr "Soslinhat" -#: ../C/gedit.xml:1323(phrase) +#: ../C/pluma.xml:1323(phrase) msgid "Shows icon for strikethrough." msgstr "" -#: ../C/gedit.xml:1329(para) +#: ../C/pluma.xml:1329(para) msgid "Strikethrough" msgstr "Barrat" -#: ../C/gedit.xml:1339(guilabel) +#: ../C/pluma.xml:1339(guilabel) msgid "Foreground" msgstr "" -#: ../C/gedit.xml:1341(para) +#: ../C/pluma.xml:1341(para) msgid "" "Select this option to change the font color of the selected syntax element. " "Click on the color button to display the color selector dialog, then select " "the font color." msgstr "" -#: ../C/gedit.xml:1344(guilabel) +#: ../C/pluma.xml:1344(guilabel) msgid "Background" msgstr "Fons" -#: ../C/gedit.xml:1346(para) +#: ../C/pluma.xml:1346(para) msgid "" "Select this option to change the background color of the selected syntax " "element. Click on the color button to display the color selector dialog, " "then select the background color." msgstr "" -#: ../C/gedit.xml:1349(guibutton) +#: ../C/pluma.xml:1349(guibutton) msgid "Reset to Default" msgstr "" -#: ../C/gedit.xml:1351(para) +#: ../C/pluma.xml:1351(para) msgid "" "Click on this button to reset the foreground color and background color of " "the selected syntax element to the default values." msgstr "" -#: ../C/gedit.xml:1358(title) +#: ../C/pluma.xml:1358(title) msgid "Plugins Preferences" msgstr "" -#: ../C/gedit.xml:1359(para) +#: ../C/pluma.xml:1359(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -#: ../C/gedit.xml:1364(title) +#: ../C/pluma.xml:1364(title) msgid "Enabling a Plugin" msgstr "" -#: ../C/gedit.xml:1365(para) +#: ../C/pluma.xml:1365(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -#: ../C/gedit.xml:1368(para) ../C/gedit.xml:1389(para) -#: ../C/gedit.xml:1713(para) +#: ../C/pluma.xml:1368(para) ../C/pluma.xml:1389(para) +#: ../C/pluma.xml:1713(para) msgid "" "Choose EditPreferences." msgstr "" -#: ../C/gedit.xml:1371(para) ../C/gedit.xml:1392(para) -#: ../C/gedit.xml:1716(para) +#: ../C/pluma.xml:1371(para) ../C/pluma.xml:1392(para) +#: ../C/pluma.xml:1716(para) msgid "Select the Plugins tab." msgstr "" -#: ../C/gedit.xml:1374(para) +#: ../C/pluma.xml:1374(para) msgid "Select the check box next to the name of the plugin that you want to enable." msgstr "" -#: ../C/gedit.xml:1377(para) ../C/gedit.xml:1398(para) +#: ../C/pluma.xml:1377(para) ../C/pluma.xml:1398(para) msgid "" "Click Close to close the Preferences dialog." msgstr "" -#: ../C/gedit.xml:1384(title) +#: ../C/pluma.xml:1384(title) msgid "Disabling a Plugin" msgstr "" -#: ../C/gedit.xml:1385(para) -msgid "A plugin remains enabled when you quit gedit." +#: ../C/pluma.xml:1385(para) +msgid "A plugin remains enabled when you quit pluma." msgstr "" -#: ../C/gedit.xml:1386(para) +#: ../C/pluma.xml:1386(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -#: ../C/gedit.xml:1395(para) +#: ../C/pluma.xml:1395(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" -#: ../C/gedit.xml:1407(title) +#: ../C/pluma.xml:1407(title) msgid "Plugins" msgstr "Ajustons" -#: ../C/gedit.xml:1409(title) +#: ../C/pluma.xml:1409(title) msgid "Working with Plugins" msgstr "" -#: ../C/gedit.xml:1410(para) +#: ../C/pluma.xml:1410(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -#: ../C/gedit.xml:1412(para) +#: ../C/pluma.xml:1412(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -#: ../C/gedit.xml:1413(para) +#: ../C/pluma.xml:1413(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" -#: ../C/gedit.xml:1414(para) -msgid "The following plugins come built-in with gedit:" +#: ../C/pluma.xml:1414(para) +msgid "The following plugins come built-in with pluma:" msgstr "" -#: ../C/gedit.xml:1420(para) +#: ../C/pluma.xml:1420(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -#: ../C/gedit.xml:1423(para) +#: ../C/pluma.xml:1423(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -#: ../C/gedit.xml:1426(para) +#: ../C/pluma.xml:1426(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -#: ../C/gedit.xml:1429(para) +#: ../C/pluma.xml:1429(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." msgstr "" -#: ../C/gedit.xml:1432(para) +#: ../C/pluma.xml:1432(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -#: ../C/gedit.xml:1435(para) +#: ../C/pluma.xml:1435(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -#: ../C/gedit.xml:1438(para) +#: ../C/pluma.xml:1438(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -#: ../C/gedit.xml:1441(para) +#: ../C/pluma.xml:1441(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -#: ../C/gedit.xml:1444(para) +#: ../C/pluma.xml:1444(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -#: ../C/gedit.xml:1447(para) +#: ../C/pluma.xml:1447(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -#: ../C/gedit.xml:1450(para) +#: ../C/pluma.xml:1450(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -#: ../C/gedit.xml:1453(para) +#: ../C/pluma.xml:1453(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -#: ../C/gedit.xml:1456(para) +#: ../C/pluma.xml:1456(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -#: ../C/gedit.xml:1463(title) +#: ../C/pluma.xml:1463(title) msgid "Change Case Plugin" msgstr "" -#: ../C/gedit.xml:1464(para) +#: ../C/pluma.xml:1464(para) msgid "" "The Change Case plugin changes the case of the " "selected text." msgstr "" -#: ../C/gedit.xml:1465(para) +#: ../C/pluma.xml:1465(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" msgstr "" -#: ../C/gedit.xml:1475(para) +#: ../C/pluma.xml:1475(para) msgid "Menu Item" msgstr "" -#: ../C/gedit.xml:1477(para) +#: ../C/pluma.xml:1477(para) msgid "Action" msgstr "Accion" -#: ../C/gedit.xml:1479(para) +#: ../C/pluma.xml:1479(para) msgid "Example" msgstr "Exemple" -#: ../C/gedit.xml:1485(guisubmenu) ../C/gedit.xml:1491(guisubmenu) -#: ../C/gedit.xml:1497(guisubmenu) ../C/gedit.xml:1503(guisubmenu) +#: ../C/pluma.xml:1485(guisubmenu) ../C/pluma.xml:1491(guisubmenu) +#: ../C/pluma.xml:1497(guisubmenu) ../C/pluma.xml:1503(guisubmenu) msgid "Change Case" msgstr "" -#: ../C/gedit.xml:1485(guimenuitem) +#: ../C/pluma.xml:1485(guimenuitem) msgid "All Upper Case" msgstr "" -#: ../C/gedit.xml:1486(para) +#: ../C/pluma.xml:1486(para) msgid "Change each character to uppercase." msgstr "" -#: ../C/gedit.xml:1487(para) +#: ../C/pluma.xml:1487(para) msgid "This text becomes THIS TEXT" msgstr "" -#: ../C/gedit.xml:1491(guimenuitem) +#: ../C/pluma.xml:1491(guimenuitem) msgid "All Lower Case" msgstr "" -#: ../C/gedit.xml:1492(para) +#: ../C/pluma.xml:1492(para) msgid "Change each character to lowercase." msgstr "" -#: ../C/gedit.xml:1493(para) +#: ../C/pluma.xml:1493(para) msgid "This Text becomes this text" msgstr "" -#: ../C/gedit.xml:1497(guimenuitem) +#: ../C/pluma.xml:1497(guimenuitem) msgid "Invert Case" msgstr "" -#: ../C/gedit.xml:1498(para) +#: ../C/pluma.xml:1498(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "" -#: ../C/gedit.xml:1499(para) +#: ../C/pluma.xml:1499(para) msgid "This Text becomes tHIS tEXT" msgstr "" -#: ../C/gedit.xml:1503(guimenuitem) +#: ../C/pluma.xml:1503(guimenuitem) msgid "Title Case" msgstr "" -#: ../C/gedit.xml:1504(para) +#: ../C/pluma.xml:1504(para) msgid "Change the first character of each word to uppercase." msgstr "" -#: ../C/gedit.xml:1505(para) +#: ../C/pluma.xml:1505(para) msgid "this text becomes This Text" msgstr "" -#: ../C/gedit.xml:1514(title) +#: ../C/pluma.xml:1514(title) msgid "Document Statistics Plugin" msgstr "" -#: ../C/gedit.xml:1515(para) +#: ../C/pluma.xml:1515(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2485,7 +2485,7 @@ msgid "" "Statistics plugin, perform the following steps:" msgstr "" -#: ../C/gedit.xml:1517(para) +#: ../C/pluma.xml:1517(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statisticsgedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -#: ../C/gedit.xml:1544(title) +#: ../C/pluma.xml:1544(title) msgid "External Tools Plugin" msgstr "" -#: ../C/gedit.xml:1545(para) +#: ../C/pluma.xml:1545(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" -#: ../C/gedit.xml:1546(para) +#: ../C/pluma.xml:1546(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools menu." msgstr "" -#: ../C/gedit.xml:1549(title) +#: ../C/pluma.xml:1549(title) msgid "Built-in Commands" msgstr "" -#: ../C/gedit.xml:1550(para) +#: ../C/pluma.xml:1550(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "" -#: ../C/gedit.xml:1552(term) +#: ../C/pluma.xml:1552(term) msgid "Build" msgstr "Version" -#: ../C/gedit.xml:1554(para) +#: ../C/pluma.xml:1554(para) msgid "Runs make in the current document's directory." msgstr "" -#: ../C/gedit.xml:1557(term) +#: ../C/pluma.xml:1557(term) msgid "Directory Listing" msgstr "" -#: ../C/gedit.xml:1559(para) +#: ../C/pluma.xml:1559(para) msgid "Lists the contents of the current document's directory in a new document." msgstr "" -#: ../C/gedit.xml:1562(term) +#: ../C/pluma.xml:1562(term) msgid "Environment Variables" msgstr "" -#: ../C/gedit.xml:1564(para) +#: ../C/pluma.xml:1564(para) msgid "Displays the environment variables list in the bottom pane." msgstr "" -#: ../C/gedit.xml:1567(term) +#: ../C/pluma.xml:1567(term) msgid "Grep" msgstr "" -#: ../C/gedit.xml:1569(para) +#: ../C/pluma.xml:1569(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." msgstr "" -#: ../C/gedit.xml:1572(term) +#: ../C/pluma.xml:1572(term) msgid "Remove Trailing Spaces" msgstr "" -#: ../C/gedit.xml:1574(para) +#: ../C/pluma.xml:1574(para) msgid "Removes all spaces from the end of lines in the document." msgstr "" -#: ../C/gedit.xml:1581(title) +#: ../C/pluma.xml:1581(title) msgid "Defining a Command" msgstr "" -#: ../C/gedit.xml:1582(para) +#: ../C/pluma.xml:1582(para) msgid "" "To add an external command, choose ToolsExternal Tools." msgstr "" -#: ../C/gedit.xml:1583(para) +#: ../C/pluma.xml:1583(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " "new command:" msgstr "" -#: ../C/gedit.xml:1585(term) +#: ../C/pluma.xml:1585(term) msgid "Description" msgstr "Descripcion" -#: ../C/gedit.xml:1587(para) +#: ../C/pluma.xml:1587(para) msgid "This description is shown in the statusbar when the menu command is chosen." msgstr "" -#: ../C/gedit.xml:1590(term) +#: ../C/pluma.xml:1590(term) msgid "Accelerator" msgstr "" -#: ../C/gedit.xml:1592(para) +#: ../C/pluma.xml:1592(para) msgid "Enter a keyboard shortcut for the command." msgstr "" -#: ../C/gedit.xml:1595(term) +#: ../C/pluma.xml:1595(term) msgid "Commands" msgstr "Comandas" -#: ../C/gedit.xml:1597(para) +#: ../C/pluma.xml:1597(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -#: ../C/gedit.xml:1600(term) +#: ../C/pluma.xml:1600(term) msgid "Input" msgstr "Entrada" -#: ../C/gedit.xml:1602(para) +#: ../C/pluma.xml:1602(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." msgstr "" -#: ../C/gedit.xml:1605(term) +#: ../C/pluma.xml:1605(term) msgid "Output" msgstr "Sortida" -#: ../C/gedit.xml:1607(para) +#: ../C/pluma.xml:1607(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " "cursor position, or replacing the selection or the entire document." msgstr "" -#: ../C/gedit.xml:1610(term) +#: ../C/pluma.xml:1610(term) msgid "Applicability" msgstr "" -#: ../C/gedit.xml:1612(para) +#: ../C/pluma.xml:1612(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." msgstr "" -#: ../C/gedit.xml:1620(title) +#: ../C/pluma.xml:1620(title) msgid "Editing and Removing Tools" msgstr "" -#: ../C/gedit.xml:1621(para) +#: ../C/pluma.xml:1621(para) msgid "To edit a tool, select it in the list and make changes to its properties." msgstr "" -#: ../C/gedit.xml:1622(para) +#: ../C/pluma.xml:1622(para) msgid "To rename a tool, click it again in the list." msgstr "" -#: ../C/gedit.xml:1623(para) +#: ../C/pluma.xml:1623(para) msgid "" "To restore a built-in tool that you have changed, press Revert." msgstr "" -#: ../C/gedit.xml:1624(para) +#: ../C/pluma.xml:1624(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " "yourself." msgstr "" -#: ../C/gedit.xml:1628(title) +#: ../C/pluma.xml:1628(title) msgid "Variables" msgstr "Variables" -#: ../C/gedit.xml:1629(para) +#: ../C/pluma.xml:1629(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "" -#: ../C/gedit.xml:1632(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" +#: ../C/pluma.xml:1632(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" msgstr "" -#: ../C/gedit.xml:1635(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" +#: ../C/pluma.xml:1635(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" msgstr "" -#: ../C/gedit.xml:1638(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: ../C/pluma.xml:1638(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" msgstr "" -#: ../C/gedit.xml:1641(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" +#: ../C/pluma.xml:1641(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" msgstr "" -#: ../C/gedit.xml:1644(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" +#: ../C/pluma.xml:1644(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" msgstr "" -#: ../C/gedit.xml:1647(para) -msgid "GEDIT_DOCUMENTS_URI" +#: ../C/pluma.xml:1647(para) +msgid "PLUMA_DOCUMENTS_URI" msgstr "" -#: ../C/gedit.xml:1650(para) -msgid "GEDIT_DOCUMENTS_PATH" +#: ../C/pluma.xml:1650(para) +msgid "PLUMA_DOCUMENTS_PATH" msgstr "" -#: ../C/gedit.xml:1657(title) +#: ../C/pluma.xml:1657(title) msgid "File Browser Plugin" msgstr "" -#: ../C/gedit.xml:1658(para) +#: ../C/pluma.xml:1658(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." msgstr "" -#: ../C/gedit.xml:1659(para) +#: ../C/pluma.xml:1659(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " "the tab showing the File Browser icon at the bottom of the side pane." msgstr "" -#: ../C/gedit.xml:1661(title) +#: ../C/pluma.xml:1661(title) msgid "Browsing your Files" msgstr "" -#: ../C/gedit.xml:1662(para) +#: ../C/pluma.xml:1662(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." msgstr "" -#: ../C/gedit.xml:1663(para) +#: ../C/pluma.xml:1663(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." msgstr "" -#: ../C/gedit.xml:1664(para) +#: ../C/pluma.xml:1664(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " "document." msgstr "" -#: ../C/gedit.xml:1668(para) +#: ../C/pluma.xml:1668(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -#: ../C/gedit.xml:1671(title) +#: ../C/pluma.xml:1671(title) msgid "Creating Files and Folders" msgstr "" -#: ../C/gedit.xml:1672(para) +#: ../C/pluma.xml:1672(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." msgstr "" -#: ../C/gedit.xml:1673(para) +#: ../C/pluma.xml:1673(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." msgstr "" -#: ../C/gedit.xml:1678(title) +#: ../C/pluma.xml:1678(title) msgid "Indent Lines Plugin" msgstr "" -#: ../C/gedit.xml:1679(para) +#: ../C/pluma.xml:1679(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." msgstr "" -#: ../C/gedit.xml:1680(para) +#: ../C/pluma.xml:1680(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" -#: ../C/gedit.xml:1682(para) +#: ../C/pluma.xml:1682(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." msgstr "" -#: ../C/gedit.xml:1687(para) +#: ../C/pluma.xml:1687(para) msgid "" "To indent the text, choose EditIndent." msgstr "" -#: ../C/gedit.xml:1690(para) +#: ../C/pluma.xml:1690(para) msgid "" "To remove the indentation, choose EditUnindent." msgstr "" -#: ../C/gedit.xml:1695(para) +#: ../C/pluma.xml:1695(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" -#: ../C/gedit.xml:1700(title) +#: ../C/pluma.xml:1700(title) msgid "Insert Date/Time Plugin" msgstr "" -#: ../C/gedit.xml:1701(para) +#: ../C/pluma.xml:1701(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " "the following steps:" msgstr "" -#: ../C/gedit.xml:1703(para) +#: ../C/pluma.xml:1703(para) msgid "" "Choose EditInsert Date and Time." msgstr "" -#: ../C/gedit.xml:1704(para) +#: ../C/pluma.xml:1704(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" -#: ../C/gedit.xml:1705(para) +#: ../C/pluma.xml:1705(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -#: ../C/gedit.xml:1710(title) +#: ../C/pluma.xml:1710(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "" -#: ../C/gedit.xml:1711(para) +#: ../C/pluma.xml:1711(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" -#: ../C/gedit.xml:1719(para) +#: ../C/pluma.xml:1719(para) msgid "Select the Insert Date/Time plugin." msgstr "" -#: ../C/gedit.xml:1722(para) +#: ../C/pluma.xml:1722(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." msgstr "" -#: ../C/gedit.xml:1725(para) +#: ../C/pluma.xml:1725(para) msgid "Select one of the options, as follows:" msgstr "" -#: ../C/gedit.xml:1727(para) +#: ../C/pluma.xml:1727(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." msgstr "" -#: ../C/gedit.xml:1730(para) +#: ../C/pluma.xml:1730(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -#: ../C/gedit.xml:1733(para) +#: ../C/pluma.xml:1733(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -2915,69 +2915,69 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" -#: ../C/gedit.xml:1738(para) +#: ../C/pluma.xml:1738(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." msgstr "" -#: ../C/gedit.xml:1741(para) +#: ../C/pluma.xml:1741(para) msgid "" "To close the Preferences dialog, click " "Close." msgstr "" -#: ../C/gedit.xml:1748(title) +#: ../C/pluma.xml:1748(title) msgid "Modelines Plugin" msgstr "" -#: ../C/gedit.xml:1749(para) +#: ../C/pluma.xml:1749(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" -#: ../C/gedit.xml:1750(para) +#: ../C/pluma.xml:1750(para) msgid "You can override the following preferences with modelines:" msgstr "" -#: ../C/gedit.xml:1753(para) +#: ../C/pluma.xml:1753(para) msgid "Tab width" msgstr "" -#: ../C/gedit.xml:1756(para) +#: ../C/pluma.xml:1756(para) msgid "Insert spaces instead of tabs" msgstr "" -#: ../C/gedit.xml:1762(para) +#: ../C/pluma.xml:1762(para) msgid "Right margin width" msgstr "" -#: ../C/gedit.xml:1766(para) +#: ../C/pluma.xml:1766(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " "Kate and Vim." msgstr "" -#: ../C/gedit.xml:1769(title) +#: ../C/pluma.xml:1769(title) msgid "Emacs Modelines" msgstr "" -#: ../C/gedit.xml:1770(para) +#: ../C/pluma.xml:1770(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "" -#: ../C/gedit.xml:1771(para) +#: ../C/pluma.xml:1771(para) msgid "" "The Emacs options for tab-width, indent-tabs-mode " "and autowrap are supported. For more information, see the ." msgstr "" -#: ../C/gedit.xml:1774(title) +#: ../C/pluma.xml:1774(title) msgid "Kate Modelines" msgstr "" -#: ../C/gedit.xml:1775(para) +#: ../C/pluma.xml:1775(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "" -#: ../C/gedit.xml:1776(para) +#: ../C/pluma.xml:1776(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3003,17 +3003,17 @@ msgid "" "article/katepart_modelines\">Kate website." msgstr "" -#: ../C/gedit.xml:1779(title) +#: ../C/pluma.xml:1779(title) msgid "Vim Modelines" msgstr "" -#: ../C/gedit.xml:1780(para) +#: ../C/pluma.xml:1780(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "" -#: ../C/gedit.xml:1781(para) +#: ../C/pluma.xml:1781(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "wrap, and textwidth are supported. For more information, see the Vim website." msgstr "" -#: ../C/gedit.xml:1786(title) +#: ../C/pluma.xml:1786(title) msgid "Python Console Plugin" msgstr "" -#: ../C/gedit.xml:1787(para) +#: ../C/pluma.xml:1787(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" -#: ../C/gedit.xml:1788(para) +#: ../C/pluma.xml:1788(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" -#: ../C/gedit.xml:1792(title) +#: ../C/pluma.xml:1792(title) msgid "Snippets Plugin" msgstr "" -#: ../C/gedit.xml:1793(para) +#: ../C/pluma.xml:1793(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " "insert them quickly into a document." msgstr "" -#: ../C/gedit.xml:1794(para) +#: ../C/pluma.xml:1794(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3059,17 +3059,17 @@ msgid "" "global, and are available in all documents." msgstr "" -#: ../C/gedit.xml:1795(para) +#: ../C/pluma.xml:1795(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -#: ../C/gedit.xml:1798(title) +#: ../C/pluma.xml:1798(title) msgid "Inserting Snippets" msgstr "" -#: ../C/gedit.xml:1799(para) +#: ../C/pluma.xml:1799(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3077,28 +3077,28 @@ msgid "" "short and easy to remember." msgstr "" -#: ../C/gedit.xml:1800(para) +#: ../C/pluma.xml:1800(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." msgstr "" -#: ../C/gedit.xml:1804(title) +#: ../C/pluma.xml:1804(title) msgid "Adding Snippets" msgstr "" -#: ../C/gedit.xml:1805(para) +#: ../C/pluma.xml:1805(para) msgid "To create a new snippet, do the following:" msgstr "" -#: ../C/gedit.xml:1808(para) +#: ../C/pluma.xml:1808(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " "opens." msgstr "" -#: ../C/gedit.xml:1811(para) +#: ../C/pluma.xml:1811(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3106,132 +3106,132 @@ msgid "" "document you are currently working with is shown by default." msgstr "" -#: ../C/gedit.xml:1814(para) +#: ../C/pluma.xml:1814(para) msgid "Click New. A new snippet appears in the list." msgstr "" -#: ../C/gedit.xml:1817(para) +#: ../C/pluma.xml:1817(para) msgid "Enter the following information for the new snippet:" msgstr "" -#: ../C/gedit.xml:1819(term) +#: ../C/pluma.xml:1819(term) msgid "Name" msgstr "Nom" -#: ../C/gedit.xml:1821(para) +#: ../C/pluma.xml:1821(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " "name of a snippet you create by clicking on it in the list." msgstr "" -#: ../C/gedit.xml:1824(term) +#: ../C/pluma.xml:1824(term) msgid "Snippet text" msgstr "" -#: ../C/gedit.xml:1826(para) +#: ../C/pluma.xml:1826(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" -#: ../C/gedit.xml:1827(para) +#: ../C/pluma.xml:1827(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." msgstr "" -#: ../C/gedit.xml:1830(term) +#: ../C/pluma.xml:1830(term) msgid "Tab Trigger" msgstr "" -#: ../C/gedit.xml:1832(para) +#: ../C/pluma.xml:1832(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." msgstr "" -#: ../C/gedit.xml:1833(para) +#: ../C/pluma.xml:1833(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " "invalid tab trigger is entered." msgstr "" -#: ../C/gedit.xml:1836(term) +#: ../C/pluma.xml:1836(term) msgid "Shortcut key" msgstr "" -#: ../C/gedit.xml:1838(para) +#: ../C/pluma.xml:1838(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "" -#: ../C/gedit.xml:1847(title) +#: ../C/pluma.xml:1847(title) msgid "Editing and Removing Snippets" msgstr "" -#: ../C/gedit.xml:1848(para) +#: ../C/pluma.xml:1848(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." msgstr "" -#: ../C/gedit.xml:1849(para) +#: ../C/pluma.xml:1849(para) msgid "To rename a snippet, click it again in the list." msgstr "" -#: ../C/gedit.xml:1850(para) +#: ../C/pluma.xml:1850(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." msgstr "" -#: ../C/gedit.xml:1851(para) +#: ../C/pluma.xml:1851(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " "created yourself." msgstr "" -#: ../C/gedit.xml:1855(title) +#: ../C/pluma.xml:1855(title) msgid "Snippet Substitutions" msgstr "" -#: ../C/gedit.xml:1856(para) +#: ../C/pluma.xml:1856(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " "your document." msgstr "" -#: ../C/gedit.xml:1860(para) +#: ../C/pluma.xml:1860(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" -#: ../C/gedit.xml:1862(term) +#: ../C/pluma.xml:1862(term) msgid "Tab placeholders" msgstr "" -#: ../C/gedit.xml:1864(para) +#: ../C/pluma.xml:1864(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." msgstr "" -#: ../C/gedit.xml:1865(para) +#: ../C/pluma.xml:1865(para) msgid "" "${n:default} defines a tab placeholder with a default value." msgstr "" -#: ../C/gedit.xml:1866(para) +#: ../C/pluma.xml:1866(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." msgstr "" -#: ../C/gedit.xml:1867(para) +#: ../C/pluma.xml:1867(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3239,7 +3239,7 @@ msgid "" "defines the order in which tab advances to each place in the text." msgstr "" -#: ../C/gedit.xml:1868(para) +#: ../C/pluma.xml:1868(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3247,88 +3247,88 @@ msgid "" "snippet text, or to the end placeholder if it exists." msgstr "" -#: ../C/gedit.xml:1871(term) +#: ../C/pluma.xml:1871(term) msgid "Mirror placeholders" msgstr "" -#: ../C/gedit.xml:1873(para) +#: ../C/pluma.xml:1873(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " "in the snippet." msgstr "" -#: ../C/gedit.xml:1876(term) +#: ../C/pluma.xml:1876(term) msgid "End placeholder" msgstr "" -#: ../C/gedit.xml:1878(para) +#: ../C/pluma.xml:1878(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " "the snippet text." msgstr "" -#: ../C/gedit.xml:1881(term) +#: ../C/pluma.xml:1881(term) msgid "Environmental variables" msgstr "" -#: ../C/gedit.xml:1883(para) +#: ../C/pluma.xml:1883(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" -#: ../C/gedit.xml:1885(term) -msgid "$GEDIT_SELECTED_TEXT" +#: ../C/pluma.xml:1885(term) +msgid "$PLUMA_SELECTED_TEXT" msgstr "" -#: ../C/gedit.xml:1887(para) +#: ../C/pluma.xml:1887(para) msgid "The currently selected text." msgstr "" -#: ../C/gedit.xml:1890(term) -msgid "$GEDIT_FILENAME" +#: ../C/pluma.xml:1890(term) +msgid "$PLUMA_FILENAME" msgstr "" -#: ../C/gedit.xml:1892(para) +#: ../C/pluma.xml:1892(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "" -#: ../C/gedit.xml:1895(term) -msgid "$GEDIT_BASENAME" +#: ../C/pluma.xml:1895(term) +msgid "$PLUMA_BASENAME" msgstr "" -#: ../C/gedit.xml:1897(para) +#: ../C/pluma.xml:1897(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "" -#: ../C/gedit.xml:1900(term) -msgid "$GEDIT_CURRENT_WORD" +#: ../C/pluma.xml:1900(term) +msgid "$PLUMA_CURRENT_WORD" msgstr "" -#: ../C/gedit.xml:1902(para) +#: ../C/pluma.xml:1902(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "" -#: ../C/gedit.xml:1910(term) +#: ../C/pluma.xml:1910(term) msgid "Shell placeholders" msgstr "" -#: ../C/gedit.xml:1912(para) +#: ../C/pluma.xml:1912(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." msgstr "" -#: ../C/gedit.xml:1913(para) +#: ../C/pluma.xml:1913(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3337,18 +3337,18 @@ msgid "" "placeholder as input in another." msgstr "" -#: ../C/gedit.xml:1916(term) +#: ../C/pluma.xml:1916(term) msgid "Python placeholders" msgstr "" -#: ../C/gedit.xml:1918(para) +#: ../C/pluma.xml:1918(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " "interpreter." msgstr "" -#: ../C/gedit.xml:1919(para) +#: ../C/pluma.xml:1919(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3359,23 +3359,23 @@ msgid "" "replaceable>>" msgstr "" -#: ../C/gedit.xml:1920(para) +#: ../C/pluma.xml:1920(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." msgstr "" -#: ../C/gedit.xml:1929(title) +#: ../C/pluma.xml:1929(title) msgid "Sort Plugin" msgstr "" -#: ../C/gedit.xml:1930(para) +#: ../C/pluma.xml:1930(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." msgstr "" -#: ../C/gedit.xml:1931(para) +#: ../C/pluma.xml:1931(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3383,64 +3383,64 @@ msgid "" "guimenu>Revert." msgstr "" -#: ../C/gedit.xml:1934(para) +#: ../C/pluma.xml:1934(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "" -#: ../C/gedit.xml:1937(para) +#: ../C/pluma.xml:1937(para) msgid "Select the lines of text you want to sort." msgstr "" -#: ../C/gedit.xml:1939(para) +#: ../C/pluma.xml:1939(para) msgid "" "Choose EditSort. The Sort dialog opens." msgstr "" -#: ../C/gedit.xml:1942(para) +#: ../C/pluma.xml:1942(para) msgid "Choose the options you want for the sort:" msgstr "" -#: ../C/gedit.xml:1945(para) +#: ../C/pluma.xml:1945(para) msgid "" "To arrange the text in reverse order, select Reverse order." msgstr "" -#: ../C/gedit.xml:1948(para) +#: ../C/pluma.xml:1948(para) msgid "To delete duplicate lines, select Remove duplicates." msgstr "" -#: ../C/gedit.xml:1951(para) +#: ../C/pluma.xml:1951(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" -#: ../C/gedit.xml:1954(para) +#: ../C/pluma.xml:1954(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " "column spin box." msgstr "" -#: ../C/gedit.xml:1959(para) +#: ../C/pluma.xml:1959(para) msgid "To perform the sort operation, click Sort." msgstr "" -#: ../C/gedit.xml:1966(title) +#: ../C/pluma.xml:1966(title) msgid "Spell Checker Plugin" msgstr "" -#: ../C/gedit.xml:1967(para) +#: ../C/pluma.xml:1967(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" -#: ../C/gedit.xml:1969(para) +#: ../C/pluma.xml:1969(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -3448,7 +3448,7 @@ msgid "" "guibutton> to close the Set language dialog." msgstr "" -#: ../C/gedit.xml:1972(para) +#: ../C/pluma.xml:1972(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -3456,47 +3456,47 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" -#: ../C/gedit.xml:1973(para) +#: ../C/pluma.xml:1973(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestions from the popup menu:" msgstr "" -#: ../C/gedit.xml:1976(para) +#: ../C/pluma.xml:1976(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " "popup menu." msgstr "" -#: ../C/gedit.xml:1979(para) +#: ../C/pluma.xml:1979(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd." msgstr "" -#: ../C/gedit.xml:1982(para) +#: ../C/pluma.xml:1982(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" -#: ../C/gedit.xml:1987(para) +#: ../C/pluma.xml:1987(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." msgstr "" -#: ../C/gedit.xml:1989(para) +#: ../C/pluma.xml:1989(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -3504,19 +3504,19 @@ msgid "" "guilabel> dialog." msgstr "" -#: ../C/gedit.xml:1991(para) +#: ../C/pluma.xml:1991(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "" -#: ../C/gedit.xml:1994(para) +#: ../C/pluma.xml:1994(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" -#: ../C/gedit.xml:1997(para) +#: ../C/pluma.xml:1997(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -3524,7 +3524,7 @@ msgid "" "can enter text directly into the Change to text box." msgstr "" -#: ../C/gedit.xml:2000(para) +#: ../C/pluma.xml:2000(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -3533,15 +3533,15 @@ msgid "" "in the Suggestions list." msgstr "" -#: ../C/gedit.xml:2003(para) +#: ../C/pluma.xml:2003(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" -#: ../C/gedit.xml:2006(para) +#: ../C/pluma.xml:2006(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change." msgstr "" -#: ../C/gedit.xml:2009(para) +#: ../C/pluma.xml:2009(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." msgstr "" -#: ../C/gedit.xml:2012(para) +#: ../C/pluma.xml:2012(para) msgid "" "To close the Check Spelling dialog, click " "Close." msgstr "" -#: ../C/gedit.xml:2021(title) +#: ../C/pluma.xml:2021(title) msgid "Tag List Plugin" msgstr "" -#: ../C/gedit.xml:2022(para) +#: ../C/pluma.xml:2022(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." msgstr "" -#: ../C/gedit.xml:2023(para) +#: ../C/pluma.xml:2023(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" -#: ../C/gedit.xml:2025(para) +#: ../C/pluma.xml:2025(para) msgid "" "Choose ViewSide Pane." msgstr "" -#: ../C/gedit.xml:2029(para) +#: ../C/pluma.xml:2029(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " "tag list tab." msgstr "" -#: ../C/gedit.xml:2031(para) +#: ../C/pluma.xml:2031(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." msgstr "" -#: ../C/gedit.xml:2034(para) +#: ../C/pluma.xml:2034(para) msgid "Scroll through the tag list to find the required tag." msgstr "" -#: ../C/gedit.xml:2037(para) +#: ../C/pluma.xml:2037(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" msgstr "" -#: ../C/gedit.xml:2039(para) +#: ../C/pluma.xml:2039(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." msgstr "" -#: ../C/gedit.xml:2042(para) +#: ../C/pluma.xml:2042(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftReturn." msgstr "" -#: ../C/gedit.xml:2051(title) +#: ../C/pluma.xml:2051(title) msgid "User Name Plugin" msgstr "" -#: ../C/gedit.xml:2052(para) +#: ../C/pluma.xml:2052(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." msgstr "" -#: ../C/gedit.xml:2053(para) +#: ../C/pluma.xml:2053(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User Name." msgstr "" -#: ../C/gedit.xml:2055(para) +#: ../C/pluma.xml:2055(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: ../C/gedit.xml:0(None) +#: ../C/pluma.xml:0(None) msgid "translator-credits" msgstr "Yannig Marchegay (Kokoyaya) " diff --git a/help/gedit.omf.in b/help/pluma.omf.in similarity index 100% rename from help/gedit.omf.in rename to help/pluma.omf.in diff --git a/help/pt_BR/pt_BR.po b/help/pt_BR/pt_BR.po index d8f0f64..20b7dd9 100755 --- a/help/pt_BR/pt_BR.po +++ b/help/pt_BR/pt_BR.po @@ -1,4 +1,4 @@ -# Brazilian Portuguese translation of gedit documentation. +# Brazilian Portuguese translation of pluma documentation. # Copyright (C) 2002-2006, 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the mate-terminal package. # Wagner Luís de A. M. Macêdo , 2007. @@ -11,7 +11,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit documentation 2.26.1\n" +"Project-Id-Version: pluma documentation 2.26.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-05-17 18:37+0000\n" "PO-Revision-Date: 2009-09-01 21:27-0300\n" @@ -122,302 +122,302 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Manual do Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Manual do Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Projeto de Documentação do MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Adicionada a Tabela de Teclas de Atalho" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Equipe de Documentação da Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek forneceu informações das revisões recentes da aplicação gedit." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek forneceu informações das revisões recentes da aplicação pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Reconhecimentos" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George forneceu informações sobre plug-ins." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Manual do gedit V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Manual do pluma V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Março de 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Equipe de Documentação Sun MATE" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Manual do gedit V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Manual do pluma V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Junho de 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Manual do gedit V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Manual do pluma V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Agosto de 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Manual do gedit V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Manual do pluma V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Setembro de 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Manual do gedit V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Manual do pluma V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Janeiro de 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Manual do gedit V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Manual do pluma V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Março de 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Manual do gedit V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Manual do pluma V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Setembro de 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Manual do gedit V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Manual do pluma V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Março de 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Manual do gedit V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Manual do pluma V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "Julho de 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Manual do gedit V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Manual do pluma V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Equipe de Documentação do MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Este manual descreve a versão 2.16 do gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Este manual descreve a versão 2.16 do pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Comentários" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"Para relatar um erro ou fazer uma sugestão a respeito do geditpluma ou desse manual, siga as instruções da Página de Comentários do MATE." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"O gedit é um editor de texto para o MATE, contando com recursos básicos mas " +"O pluma é um editor de texto para o MATE, contando com recursos básicos mas " "robustos como impressão, verificação ortográfica, localização e " "substituição, e destaque de sintaxe. Recursos mais avançados estão " "disponíveis como plug-ins." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "editor de texto" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introdução" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"O gedit permite a você criar e editar arquivos de " +"O pluma permite a você criar e editar arquivos de " "texto." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"O propósito do gedit é ser um editor de texto " +"O propósito do pluma é ser um editor de texto " "simples e fácil de usar. Recursos mais poderosos podem ser habilitados com " "diferentes plug-ins, permitindo uma variedade de " "tarefas relacionadas à edição de texto." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Iniciando" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Iniciando o gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Iniciando o pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"Você pode iniciar o gedit das seguintes formas:" +"Você pode iniciar o pluma das seguintes formas:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Menu Aplicações" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -425,65 +425,65 @@ msgstr "" "Selecione AcessóriosEditor " "de Texto." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Linha de comando" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Execute o seguinte comando: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Execute o seguinte comando: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Por padrão, quando você abre um arquivo de texto no gerenciador de arquivos, " -"gedit irá iniciar e exibir o documento." +"pluma irá iniciar e exibir o documento." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "A Janela do gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "A Janela do pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Quando iniciar o gedit, a seguinte janela é " +"Quando iniciar o pluma, a seguinte janela é " "exibida:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Janela do gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Janela do pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Exibe janela principal do gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Exibe janela principal do pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"A janela do gedit contém os seguintes elementos:" +"A janela do pluma contém os seguintes elementos:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Barra de Menus" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Os menus na barra de menus contêm todos os comandos de que você precisa para " -"trabalhar com arquivos no gedit." +"trabalhar com arquivos no pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Barra de Ferramentas" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." @@ -491,30 +491,30 @@ msgstr "" "A barra de ferramentas contém um subconjunto dos comandos que você pode " "acessar a partir da barra de menus." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Área de Visualização" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "" "A área de visualização contém o texto do arquivo que está sendo editado." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Barra de Status" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" "A barra de status exibe informação sobre a atividade corrente do " -"gedit e informação contextual sobre os itens do " +"pluma e informação contextual sobre os itens do " "menu. A barra de status também exibe a seguinte informação:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." @@ -522,7 +522,7 @@ msgstr "" "Posição do cursor: o número da linha e da coluna onde o cursor está " "localizado." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -534,11 +534,11 @@ msgstr "" "sobrescrita, a barra de status exibe o texto SBR. " "Pressione a tecla Insert para alterar o modo de edição." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Painel Lateral" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -546,7 +546,7 @@ msgstr "" "O painel lateral exibe uma lista de documentos abertos e outras informações, " "dependendo de quais plug-ins estão sendo usados." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneVerPainel Lateral." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Painel Inferior" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -568,7 +568,7 @@ msgstr "" "O painel inferior é usado por ferramentas de programação como o plug-in " "Console Python para exibir saída." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneVerPainel Inferior." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" "Quando você pressiona o botão direito do mouse na janela do " -"gedit, é exibido um menu de contexto. O menu de " +"pluma, é exibido um menu de contexto. O menu de " "contexto contém os comandos de edição mais usados." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Assim como em outras aplicações do MATE, ações no geditpluma podem ser efetuadas de várias formas: com o menu, com a barra " "de ferramentas ou com teclas de atalho. Teclas de atalho comuns a todas as " "aplicações são listadas no Guia do Usuário." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Executando gedit a partir da Linha de Comando" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Executando pluma a partir da Linha de Comando" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Você pode executar o gedit a partir da linha de " +"Você pode executar o pluma a partir da linha de " "comando e abrir um ou vários arquivos. Para abrir vários arquivos pela linha " "de comando, digite o seguinte comando, então pressione Enter:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "arquivo1.txt arquivo2.txt arquivo3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "" "Em alternativa, você pode especificar um URI em lugar de um nome de arquivo." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Para mais informações em como executar o gedit a " -"partir da linha de comando, veja a página do manual unix para gedit, geditpluma a " +"partir da linha de comando, veja a página do manual unix para pluma, pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Trabalhando com Arquivos" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Criando um Novo Documento" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Para criar um novo documento, escolha ArquivoNovo. A aplicação exibe um " -"novo documento em branco na janela do gedit." +"novo documento em branco na janela do pluma." -#: C/gedit.xml:346(title) C/gedit.xml:1589(title) +#: C/pluma.xml:346(title) C/pluma.xml:1589(title) msgid "Opening a File" msgstr "Abrindo um Arquivo" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Para abrir um arquivo, escolha ArquivoAbrir para exibir a janela " "de Abrir Arquivo. Selecione o arquivo que você quer " "abrir, então clique no botão Abrir. O arquivo é " -"exibido na janela do gedit." +"exibido na janela do pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Mostra Arquivos Recentes no ícone do menu." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -695,25 +695,25 @@ msgstr "" "no ícone na barra de ferramentas para exibir a lista dos " "arquivos recentes." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"Você pode abrir vários arquivos no gedit. A " +"Você pode abrir vários arquivos no pluma. A " "aplicação adiciona uma aba na janela para cada arquivo aberto. Para mais " -"informações veja a ." +"informações veja a ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Salvando um Arquivo" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Você pode salvar arquivos das seguintes formas:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -722,7 +722,7 @@ msgstr "" "ArquivoSalvar." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsSalvar Como, então clique no botão Salvar." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"Para salvar todos os arquivos abertos no gedit, " +"Para salvar todos os arquivos abertos no pluma, " "escolha DocumentosSalvar Todos." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Para fechar todos os arquivos abertos no gedit, " +"Para fechar todos os arquivos abertos no pluma, " "escolha DocumentosFechar Todos." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Abrindo um Arquivo a partir de um URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -767,7 +767,7 @@ msgstr "" "Para abrir um arquivo a partir de um Identificador Uniforme de Recursos (do " "inglês URI, Uniform Resource Identifier), efetue os seguintes passos:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -777,11 +777,11 @@ msgstr "" "Localização para exibir a janela Abrir " "Localização." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Digite o URI do arquivo que você deseja abrir." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -789,11 +789,11 @@ msgstr "" "Use a lista Codificação de caracteres para selecionar a " "codificação de caracteres apropriada." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Clique no botão Abrir." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -803,7 +803,7 @@ msgstr "" "literal>, ftp:, file: e todos os " "métodos aceitos pelo mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -816,65 +816,65 @@ msgstr "" "partir de FTP são somente para leitura porque nem todos os servidores de FTP " "trabalham corretamente salvando arquivos remotos." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Salvar em servidores FTP pode ser habilitado com o Editor de Configurações, ajustando a chave /apps/gedit-2/preferences/editor/save/" +"ulink>, ajustando a chave /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, mas isso pode causar erros." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Trabalhando com Abas" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Quando mais de um arquivo está aberto, o gedit " +"Quando mais de um arquivo está aberto, o pluma " "mostra uma aba para cada documento acima da área de " "visualização. Para mudar para outro documento, clique na aba correspondente." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Para mover um documento para outra janela do gedit pluma, arraste a aba correspondente ao arquivo para a janela que você " "deseja que receba o arquivo." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Para mover um documento para uma nova janela do gedit pluma, ou arraste a aba correspondente para a área de trabalho, ou " "escolha DocumentosMover para " "Nova Janela." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Trabalhando com Texto" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Editando Texto" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Você pode editar o texto de um arquivo das seguintes maneiras:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -884,7 +884,7 @@ msgstr "" "piscante marca o ponto onde o novo texto aparece. Para mudar isso, use as " "teclas de seta no teclado ou clique com o mouse." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyEditarCopiar." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutEditarRecortar." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteEditarExcluir." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Para inserir o conteúdo da área de transferência na posição do cursor, " "escolha EditarColar. Você deve cortar ou copiar um texto antes que " -"você possa colar dentro do arquivo, a partir do gedit ou qualquer outra " +"você possa colar dentro do arquivo, a partir do pluma ou qualquer outra " "aplicação." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -936,11 +936,11 @@ msgstr "" "EditarSelecionar Tudo." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Desfazendo e Refazendo Alterações" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -952,33 +952,33 @@ msgstr "" "menuchoice>. Para reverter essa ação, escolha EditarRefazer." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Procurando e Substituindo" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"No gedit, há duas formas de pesquisar por texto. " +"No pluma, há duas formas de pesquisar por texto. " "Você pode usar a janela Localizar para procurar por um " "pedaço de texto específico, ou a Pesquisa Incremental " "para destacar o texto à medida que você for digitando." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Procurando Texto" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "" "Para pesquisar em um arquivo por uma seqüência de texto, efetue os seguintes " "passos:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -987,30 +987,30 @@ msgstr "" "guimenuitem> para exibir a janela Localizar." -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Digite o texto que você deseja procurar no campo Pesquisar por. Você pode incluir caracteres especiais como uma nova linha ou " -"tabulação: veja a ." +"tabulação: veja a ." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Clique no botão Localizar para pesquisar no arquivo a " "primeira ocorrência do texto depois da posição atual do cursor. Se o " -"gedit encontrar o texto, a aplicação seleciona a " +"pluma encontrar o texto, a aplicação seleciona a " "primeira ocorrência do mesmo. Outras ocorrências do texto são destacadas." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextPesquisarLocalizar Anterior." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1039,7 +1039,7 @@ msgstr "" "guimenuitem> e PesquisarLocalizar Anterior." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightPesquisarLimpar Destaque." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Pesquisa Incremental" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1062,7 +1062,7 @@ msgstr "" "letra por letra. (É similar ao recurso de pesquisa em diversos navegadores " "web.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1073,7 +1073,7 @@ msgstr "" "guimenuitem>. A caixa de pesquisa aparece no topo da área de " "visualização." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1081,7 +1081,7 @@ msgstr "" "Comece a digitar e o texto será destacado no documento. A primeira instância " "depois da posição do cursor também é selecionada." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGShiftG para voltar à " "ocorrência anterior." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1102,11 +1102,11 @@ msgstr "" "Você pode também usar as teclas de seta para cima e para baixo ou o botão de " "rolagem do mouse para mover a seleção entre as ocorrências." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Substituindo Texto" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1114,7 +1114,7 @@ msgstr "" "Para pesquisar em um arquivo por uma seqüência de texto e substituí-la por " "uma seqüência alternativa, siga os seguintes passos:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1123,17 +1123,17 @@ msgstr "" "guimenuitem> para exibir a janela Substituir." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Digite o texto que você quer procurar no campo Pesquisar por. Você pode incluir caracteres especiais como uma nova linha ou " -"tabulação: veja a ." +"tabulação: veja a ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1141,22 +1141,22 @@ msgstr "" "Digite o texto que você deseja usar para substituir o que você encontrar, no " "campo Substituir por." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Para examinar cada ocorrência do texto antes de substituir, clique no botão " -"Localizar. Se o gedit " +"Localizar. Se o pluma " "encontrar o texto, a aplicação o seleciona. Clique no botão " "Substituir para substituir a ocorrência selecionada " "do texto. Para procurar pela próxima ocorrência do texto, clique no botão " "Localizar novamente." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1164,11 +1164,11 @@ msgstr "" "Para substituir todas as ocorrências do texto por todo documento, clique no " "botão Substituir Todas." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Opções de Procurar e Substituir" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1176,7 +1176,7 @@ msgstr "" "A janela Localizar e a janela Substituir ambas têm as seguintes opções:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1189,7 +1189,7 @@ msgstr "" "Diferenciar maiúsculas/minúsculas selecionada, \"TEXTO" "\" não encontrará \"texto\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1202,7 +1202,7 @@ msgstr "" "apenas com palavra completa selecionada, \"text\" não encontrará " "\"textura\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1210,7 +1210,7 @@ msgstr "" "Selecione a opção Pesquisar para trás para pesquisar " "voltando em direção ao início do documento." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1218,11 +1218,11 @@ msgstr "" "Selecione a opção Voltar ao início para pesquisar até o " "fim do documento e então continuar a pesquisa a partir do início do arquivo." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Caracteres Especiais" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1230,35 +1230,35 @@ msgstr "" "Você pode incluir as seguintes seqüências de escape nos textos a encontrar " "ou substituir para representar caracteres especiais:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Especifica uma nova linha." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Especifica um caractere de tabulação." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Especifica um retorno do carro (do inglês CR, carriage return)." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1272,11 +1272,11 @@ msgstr "" "guilabel>. Ou se você estiver procurando por uma seqüência de barras " "invertidas, você terá que dobrar o número de barras invertidas pesquisadas." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Posicionando o Cursor em uma Linha Específica" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. A caixa de número da linha aparece no topo da " "área de visualização." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1295,7 +1295,7 @@ msgstr "" "Comece a digitar o número da linha para a qual você deseja mover o cursor e " "o documento irá até a linha especificada." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1303,15 +1303,15 @@ msgstr "" "Para fechar a caixa e mover o cursor à linha especificada, pressione " "Enter." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Imprimindo" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Configurando as Opções de Página" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1321,7 +1321,7 @@ msgstr "" "guimenu>Configuração da Página para " "exibir a janela de Configuração de Página." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" @@ -1329,28 +1329,28 @@ msgstr "" "A janela de Configuração de Página permite a você " "especificar as seguintes opções de impressão:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Seção da Aba Geral" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Imprimir o destaque de sintaxe" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Selecione essa opção para imprimir o destaque de sintaxe. Para mais " -"informações sobre destaque de sintaxe, veja a ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Imprimir cabeçalhos da página" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1358,11 +1358,11 @@ msgstr "" "Selecione essa opção para incluir um cabeçalho em cada página que você " "imprimir. Você não pode alterar o cabeçalho." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Números de Linha" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1370,7 +1370,7 @@ msgstr "" "Selecione a opção Imprimir números de linha para " "incluir os números de linha quando você imprimir um arquivo." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1380,11 +1380,11 @@ msgstr "" "especificar com que freqüência imprimir as linhas numeradas, por exemplo, a " "cada 5 linhas, a cada 10 linhas, e assim por diante." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1685(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1685(para) msgid "Text Wrapping" msgstr "Quebra de Texto" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1395,7 +1395,7 @@ msgstr "" "imprimir um arquivo. A aplicação conta linhas quebradas como uma nova linha " "para propósitos de numeração de linhas." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1404,15 +1404,15 @@ msgstr "" "guilabel> para quebrar o texto em uma nova linha sem dividir a palavra, " "quando você imprimir um arquivo." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Fontes" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Corpo" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." @@ -1420,21 +1420,21 @@ msgstr "" "Clique nesse botão para selecionar a fonte a ser usada na impressão do corpo " "do texto de um arquivo." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Números de linha" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" "Clique nesse botão para selecionar a fonte a ser usada na impressão dos " "números de linha." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Cabeçalhos e rodapés" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." @@ -1442,48 +1442,48 @@ msgstr "" "Clique nesse botão para selecionar a fonte a ser usada na impressão dos " "cabeçalhos e rodapés em um arquivo." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"Para restaurar as fontes para impressão de um arquivo no geditpluma para o padrão, clique em Restaurar Fontes Padrão." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Imprimindo um Documento" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Você pode usar o gedit para realizar as seguintes " +"Você pode usar o pluma para realizar as seguintes " "operações de impressão:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Imprimir um documento para uma impressora." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Imprimir a saída do comando de impressão para um arquivo." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"Se você imprimir para um arquivo, o gedit envia a " +"Se você imprimir para um arquivo, o pluma envia a " "saída do arquivo para um formato de arquivo pré-impresso. Os formatos pré-" "impressos mais comuns são o PostScript e o Portable Document Format (PDF, " "Formato de Documento Portátil, em português)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewArquivoVisualizar Impressão." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintArquivoImprimir para exibir a janela Imprimir." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" @@ -1511,34 +1511,34 @@ msgstr "" "A janela Imprimir permite a você especificar as " "seguintes opções de impressão:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Seção da Aba Trabalho" # Traduzi como 'Imprimir intervalo' para ficar de acordo com a tradução da UI. O correto (ao menos para mim) seria 'Intervalo de impressão'. -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Imprimir intervalo" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Selecione uma das seguintes opções para determinar quantas páginas imprimir:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Tudo" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Selecione essa opção para imprimir todas as páginas no arquivo." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Linhas" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1548,11 +1548,11 @@ msgstr "" "seletores numéricos De e Até para " "especificar o intervalo de linhas." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Seleção" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1560,11 +1560,11 @@ msgstr "" "Selecione essa opção para imprimir somente o texto selecionado. Essa opção " "só está disponível se você selecionar um texto." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Cópias" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1572,7 +1572,7 @@ msgstr "" "Use o seletor numérico Número de cópias para " "especificar o número de cópias do arquivo que você deseja imprimir." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1580,15 +1580,15 @@ msgstr "" "Se você imprimir múltiplas cópias do arquivo, selecione a opção " "Agrupar para agrupar as cópias impressas." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Seção da Aba Impressora" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Impressora" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." @@ -1596,16 +1596,16 @@ msgstr "" "Use essa lista suspensa para selecionar a impressora para a qual você deseja " "mandar imprimir o arquivo." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Configurações" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "" "Use essa lista suspensa para selecionar as configurações da impressora." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1616,26 +1616,26 @@ msgstr "" "agendar impressão com atraso, se a impressora tiver suporte a essa " "funcionalidade." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Localização" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "Use essa lista suspensa para selecionar um dos seguintes destinos de " "impressão:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Imprimir o arquivo para uma impressora CUPS." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1643,23 +1643,23 @@ msgstr "" "Se a impressora selecionada é uma impressora CUPS, CUPS " "é a única opção nessa lista suspensa." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Imprimir o arquivo em uma impressora." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Arquivo" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Imprimir o arquivo em um arquivo PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1667,15 +1667,15 @@ msgstr "" "Clique em Salvar Como para exibir uma janela onde " "você especifica o nome e localização do arquivo PostScript." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Personalizado" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Use o comando especificado para imprimir o arquivo." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." @@ -1683,31 +1683,31 @@ msgstr "" "Digite o nome do comando na caixa de texto. Inclua todos os argumentos de " "linha de comando." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Estado" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Esta versão do gedit não tem suporte a essa funcionalidade." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Esta versão do pluma não tem suporte a essa funcionalidade." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Tipo" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Comentário" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Seção da Aba Papel" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Tamanho do papel" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." @@ -1715,11 +1715,11 @@ msgstr "" "Use essa lista suspensa para selecionar o tamanho do papel no qual você " "deseja imprimir o arquivo." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Largura" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1727,38 +1727,38 @@ msgstr "" "Use esse seletor numérico para especificar a largura do papel. Use a lista " "suspensa adjacente para alterar a unidade de medida." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Altura" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Use esse seletor numérico para especificar a altura do papel." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Orientação para alimentação" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "" "Use essa lista suspensa para selecionar a orientação do papel na impressora." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Orientação da página" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Use essa lista suspensa para selecionar a orientação da página." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Disposição" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1767,35 +1767,35 @@ msgstr "" "visualização de cada disposição que você selecionar é exibida na área de " "Visualização." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Bandeja de papel" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Use essa lista suspensa para selecionar a bandeja de papel." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Recursos de Programação" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Vários dos recursos para programação do gedit são " +"Vários dos recursos para programação do pluma são " "proporcionados com plug-ins. Por exemplo, o plug-in de Lista de Tags oferece " "uma lista de tags comumente usadas em diferentes linguagens de marcação: " -"veja a ." +"veja a ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Destaque de Sintaxe" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1803,32 +1803,32 @@ msgstr "" "O destaque de sintaxe faz o código fonte ficar mais legível, mostrando as " "diferentes partes do texto em cores diferenciadas." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"O gedit escolhe um modo de destaque de sintaxe " +"O pluma escolhe um modo de destaque de sintaxe " "apropriado baseado no tipo de documento. Para sobrepor o modo de destaque de " "sintaxe, escolha VerModo de " "Destaque, então escolha um dos seguintes itens de " "menu:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Nenhum" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Não exibe qualquer destaque de sintaxe." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Fontes" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1836,11 +1836,11 @@ msgstr "" "Exibe destaques de sintaxe para editar código fonte. Use o submenu " "Fontes para selecionar o tipo de código fonte." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Marcação" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1849,11 +1849,11 @@ msgstr "" "Marcação para selecionar o tipo de código de " "marcação." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Scripts" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1861,11 +1861,11 @@ msgstr "" "Exibe destaque de sintaxe para editar código de script. Use o submenu " "Scripts para selecionar o tipo de código de script." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Outros" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1873,31 +1873,31 @@ msgstr "" "Exibe destaque de sintaxe para editar outros tipos de código. Use o submenu " "Outros para selecionar o tipo de código." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Passando a Saída de um Comando para um Arquivo" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Você pode usar o gedit para redirecionar a saída " +"Você pode usar o pluma para redirecionar a saída " "de um comando para um arquivo de texto. Por exemplo, para passar a saída de " "um comando ls para um arquivo de texto, digite " -"ls | gedit, então pressione Enter." +"ls | pluma, então pressione Enter." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "A saída do comando ls é exibida num novo arquivo de texto " -"na janela do gedit." +"na janela do pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1905,21 +1905,21 @@ msgstr "" "Opcionalmente, você pode usar o plug-in Ferramentas externas para redirecionar a saída de um comando para o arquivo atual." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Teclas de Atalho" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Use as teclas de atalho para realizar as tarefas mais comuns mais " "rapidamente que com o mouse e menus. As seguintes tabelas listam todas as " -"teclas de atalho do gedit." +"teclas de atalho do pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1928,407 +1928,407 @@ msgstr "" "url=\"ghelp:user-guide?keyboard-skills\">Desktop User Guide." # De acordo com Claude Paroz, podemos considerar apenas o uso de "Tabs" no -# guilabel, não no bridgehead. http://bugzilla.mate.org/show_bug.cgi?id=500542 +# guilabel, não no bridgehead. http://bugzilla.gnome.org/show_bug.cgi?id=500542 #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Tabulações" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Atalhos para abas:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Tecla de Atalho" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "Comando" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Muda para a próxima aba à esquerda." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Muda para a próxima aba à direita." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Fecha a aba." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Salva todas as abas." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Fecha todas as abas." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Pula para a aba número n." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Arquivos" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Atalhos para trabalhar com arquivos:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Criar um novo documento." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Abrir um documento." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Abrir uma localização." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Salvar o documento atual para o disco." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Salvar o documento atual com um novo nome." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Imprimir o documento atual." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Visualizar a impressão." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Fechar o documento atual." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Sair do Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Sair do Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1406(guimenu) -#: C/gedit.xml:1412(guimenu) C/gedit.xml:1418(guimenu) -#: C/gedit.xml:1424(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1406(guimenu) +#: C/pluma.xml:1412(guimenu) C/pluma.xml:1418(guimenu) +#: C/pluma.xml:1424(guimenu) msgid "Edit" msgstr "Editar" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Atalhos para edição de documentos:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Desfazer a última ação." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Refazer a última ação desfeita." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "" "Cortar o texto selecionado ou região e mandar para a área de transferência." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Copiar o texto selecionado ou região para a área de transferência." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Colar o conteúdo da área de transferência." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Selecionar tudo." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Remove a linha atual." #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Painéis" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Atalhos para mostrar e esconder painéis:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Mostrar/esconder o painel lateral." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Mostrar/esconder o painel inferior." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Pesquisa" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Atalhos para pesquisa:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "Localizar um texto." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Localizar a próxima instância do texto." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Localizar a instância anterior do texto." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Pesquisa interativa." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Pesquisar e substituir." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Limpar destaque." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "Ir para a linha." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Ferramentas" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Atalhos para ferramentas:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Verificar ortografia (com plug-in)." -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Remover espaços à direita (com plug-in)." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Criar recuo (com plug-in)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Remover recuo (com plug-in)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Executa \"make\" no diretório atual (com plug-in)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Listar diretórios (com plug-in)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Ajuda" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Atalhos para ajuda:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Abrir o manual do usuário do gedit." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Abrir o manual do usuário do pluma." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "Preferências" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Para configurar o gedit, escolha " +"Para configurar o pluma, escolha " "EditarPreferências. A janela Preferências contém " "as seguintes categorias:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Preferências de Visualização" # O ponto ao fim do parágrafo é de propósito, mesmo que ausente no original -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2338,7 +2338,7 @@ msgstr "" "linhas grandes de texto formem parágrafos, ao invés de se perderem além do " "limite da área de texto. Isso evita ter que rolar o texto horizontalmente." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2348,20 +2348,20 @@ msgstr "" "guilabel> para que a opção quebra de texto preserve palavras inteiras quando " "o texto fluir para a próxima linha. Isso torna o texto mais fácil de ler." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Selecione a opção Mostrar números de linha para exibir " -"os números de linha no lado esquerdo da janela do geditpluma." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Linha Atual" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2369,11 +2369,11 @@ msgstr "" "Selecione a opção Destacar linha atual para destacar a " "linha onde o cursor está posicionado." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Margem Direita" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2381,7 +2381,7 @@ msgstr "" "Selecione a opção Mostrar margem direita para exibir " "uma linha vertical que indica a margem direita." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2389,11 +2389,11 @@ msgstr "" "Use o seletor numérico Margem direita na coluna para " "especificar a localização da linha vertical." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Parênteses Correspondentes" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2403,36 +2403,36 @@ msgstr "" "para destacar o parêntese correspondente quando o cursor está posicionado em " "um caractere de parêntese." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Preferências do Editor" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "Use o seletor numérico Largura das tabulações para " -"especificar a largura do espaço que o gedit " +"especificar a largura do espaço que o pluma " "insere quando você pressiona a tecla Tab." -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Selecione a opção Inserir espaços em vez de tabulações " -"para especificar que o gedit insira espaços ao " +"para especificar que o pluma insira espaços ao " "invés de caracteres de tabulações quando você pressionar a tecla " "Tab." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Recuo Automático" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2441,11 +2441,11 @@ msgstr "" "especificar que a próxima linha inicie no mesmo nível de recuo da linha " "atual." -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Salvando o Arquivo" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2456,7 +2456,7 @@ msgstr "" "que salvar o arquivo. A cópia de segurança do arquivo contém um ~ no final " "do nome do arquivo." -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2467,39 +2467,39 @@ msgstr "" "regulares. Use o seletor numérico para especificar com que freqüência você " "deseja salvar o arquivo." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Preferências de Fonte & Cores" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Fonte" -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Selecione a opção Usar fonte de largura fixa padrão " "para usar a fonte padrão do sistema para o texto na área de texto do " -"gedit." +"pluma." -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "O campo Fonte do editor exibe a fonte que o " -"gedit usa para exibir texto. Clique no botão para " +"pluma usa para exibir texto. Clique no botão para " "especificar o tipo de fonte, estilo e tamanho a usar para o texto." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Esquema de cor" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2507,47 +2507,47 @@ msgstr "" "Você pode escolher um esquema de cor na lista de esquema de cores. Por " "padrão, os esquemas de cores instalados são:" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Clássico" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Esquema de cor baseado no esquema de cor do gvim." -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Metálico" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Esquema de cor no azul." -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Esquema de cor usado no editor de texto Kate." -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Esquema de cor escuro usando a paleta de cor Tango." -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Esquema de cor usando o esquema de cor Tango." -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2555,7 +2555,7 @@ msgstr "" "Você pode adicionar um novo esquema de cor clicando em Adicionar..." ", e selecionando o arquivo de esquema de cor" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2563,33 +2563,33 @@ msgstr "" "Você pode remover o esquema de cor selecionado clicando em " "Remover" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Preferências de Plug-ins" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Plug-ins adicionam recursos extras ao gedit. Para " +"Plug-ins adicionam recursos extras ao pluma. Para " "mais informações sobre plug-ins e como usar os plug-ins embutidos, veja a " -"." +"." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Habilitando um Plug-in" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Para habilitar um plug-in do gedit, siga os " +"Para habilitar um plug-in do pluma, siga os " "seguintes passos:" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1635(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1635(para) msgid "" "Choose EditPreferences." @@ -2597,18 +2597,18 @@ msgstr "" "Selecione EditarPreferências." -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1638(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1638(para) msgid "Select the Plugins tab." msgstr "Selecione a aba Plug-ins." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" "Selecione a caixa de seleção próxima ao nome do plug-in que você deseja " "habilitar." -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." @@ -2616,26 +2616,26 @@ msgstr "" "Clique no botão Fechar para fechar a janela de " "Preferências." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Desativando um Plug-in" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Um plug-in permanece habilitado quando você fechar o geditpluma." -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -"Para desativar um plug-in do gedit, siga os " +"Para desativar um plug-in do pluma, siga os " "seguintes passos:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." @@ -2643,82 +2643,82 @@ msgstr "" "Selecione a caixa de seleção próxima ao nome do plug-in que você deseja " "desabilitar." -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "Plug-ins" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Trabalhando com Plug-ins" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"Você pode adicionar recursos extras ao gedit " +"Você pode adicionar recursos extras ao pluma " "ativando plug-ins. Um plug-in é um programa " "suplementar que aumenta a funcionalidade de uma aplicação. Plug-ins " -"adicionam novos itens aos menus do gedit para os " +"adicionam novos itens aos menus do pluma para os " "novos recursos que eles provêem." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Vários plug-ins vêm embutidos com o gedit, e você " -"pode instalar mais. O site do gedit lista plug-ins de terceiros." +"Vários plug-ins vêm embutidos com o pluma, e você " +"pode instalar mais. O site do pluma lista plug-ins de terceiros." -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "Para habilitar e desabilitar plug-ins, ou ver quais plug-ins estão " -"habilitados no momento, use as Preferências de Plug-ins." -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -"Os seguintes plug-ins vêm embutidos com o gedit:" +"Os seguintes plug-ins vêm embutidos com o pluma:" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Alterar " +"Alterar " "Maiusculização permite que você mude as letras " "maiúsculas e minúsculas do texto selecionado." -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Estatísticas " +"Estatísticas " "do Documento mostra o número de linhas, palavras e " "caracteres no documento." -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Ferramentas " +"Ferramentas " "Externas permite que você execute comandos externos a " -"partir do gedit." +"partir do pluma." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2726,97 +2726,97 @@ msgstr "" "Navegador de Arquivos permite que você navegue " "seus arquivos e pastas no painel lateral." -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Recuar LinhasRecuar Linhas adiciona ou remove recuo nas linhas selecionadas." -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Inserir Data/" +"Inserir Data/" "Hora adiciona a hora e data atual em um documento." -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModelinesModelines permite que você defina preferências de edição para documentos " "individuais, e aceita as modelines do tipo Emacs, " "Kate e Vim." -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Console PythonConsole Python permite que você execute comandos na linguagem de " "programação python." -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"TrechosTrechos permite que você armazene pedaços de texto freqüentemente " "usados e inseri-los rapidamente em um documento." -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"OrdenarOrdenar arruma linhas selecionadas de texto em ordem alfabética." -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Verificador " +"Verificador " "Ortográfico corrige a ortografia no texto selecionado " "ou marca erros automaticamente no documento." -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Lista de TagsLista de Tags permite que você insira tags comumente usadas para HTML e " "outras linguagens, a partir de uma lista no painel lateral." -#: C/gedit.xml:1381(para) +#: C/pluma.xml:1381(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "Para mais informações sobre a criação de plug-ins, veja o Site do gedit " +"\"http://live.gnome.org/Pluma/Plugins\">Site do pluma " "." -#: C/gedit.xml:1385(title) +#: C/pluma.xml:1385(title) msgid "Change Case Plugin" msgstr "Plug-in de Alterar Maiusculização" -#: C/gedit.xml:1386(para) +#: C/pluma.xml:1386(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2824,7 +2824,7 @@ msgstr "" "O plug-in Alterar Maiusculização muda as letras " "maiúsculas e minúsculas do texto selecionado." -#: C/gedit.xml:1387(para) +#: C/pluma.xml:1387(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2832,52 +2832,52 @@ msgstr "" "Os seguintes itens são adicionados ao menu Editar quando " "o plug-in Alterar Maiusculização está habilitado:" -#: C/gedit.xml:1397(para) +#: C/pluma.xml:1397(para) msgid "Menu Item" msgstr "Item de Menu" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Action" msgstr "Ação" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Example" msgstr "Exemplo" -#: C/gedit.xml:1407(guisubmenu) C/gedit.xml:1413(guisubmenu) -#: C/gedit.xml:1419(guisubmenu) C/gedit.xml:1425(guisubmenu) +#: C/pluma.xml:1407(guisubmenu) C/pluma.xml:1413(guisubmenu) +#: C/pluma.xml:1419(guisubmenu) C/pluma.xml:1425(guisubmenu) msgid "Change Case" msgstr "Alterar Maiusculização" -#: C/gedit.xml:1407(guimenuitem) +#: C/pluma.xml:1407(guimenuitem) msgid "All Upper Case" msgstr "Todas em Maiúsculas" -#: C/gedit.xml:1408(para) +#: C/pluma.xml:1408(para) msgid "Change each character to uppercase." msgstr "Altera cada caractere para maiúsculo." -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "This text becomes THIS TEXT" msgstr "Este texto torna-se ESTE TEXTO" -#: C/gedit.xml:1413(guimenuitem) +#: C/pluma.xml:1413(guimenuitem) msgid "All Lower Case" msgstr "Todas em Minúsculas" -#: C/gedit.xml:1414(para) +#: C/pluma.xml:1414(para) msgid "Change each character to lowercase." msgstr "Altera cada caractere para minúsculo." -#: C/gedit.xml:1415(para) +#: C/pluma.xml:1415(para) msgid "This Text becomes this text" msgstr "Este Texto torna-se este texto" -#: C/gedit.xml:1419(guimenuitem) +#: C/pluma.xml:1419(guimenuitem) msgid "Invert Case" msgstr "Inverter Maiusculização" -#: C/gedit.xml:1420(para) +#: C/pluma.xml:1420(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." @@ -2885,27 +2885,27 @@ msgstr "" "Altera cada caractere de minúsculo para maiúsculo, e altera cada maiúsculo " "para minúsculo." -#: C/gedit.xml:1421(para) +#: C/pluma.xml:1421(para) msgid "This Text becomes tHIS tEXT" msgstr "Este Texto torna-se eSTE tEXTO" -#: C/gedit.xml:1425(guimenuitem) +#: C/pluma.xml:1425(guimenuitem) msgid "Title Case" msgstr "Iniciais Maiúsculas" -#: C/gedit.xml:1426(para) +#: C/pluma.xml:1426(para) msgid "Change the first character of each word to uppercase." msgstr "Altera o primeiro caractere de cada palavra para maiúsculo." -#: C/gedit.xml:1427(para) +#: C/pluma.xml:1427(para) msgid "this text becomes This Text" msgstr "este texto torna-se Este Texto" -#: C/gedit.xml:1436(title) +#: C/pluma.xml:1436(title) msgid "Document Statistics Plugin" msgstr "Plug-in de Estatísticas do Documento" -#: C/gedit.xml:1437(para) +#: C/pluma.xml:1437(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2919,7 +2919,7 @@ msgstr "" "Estatísticas do Documento. Para usar o plug-in " "Estatísticas do Documento, siga os seguintes passos:" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsEstatísticas do Documento exibe as seguintes " "informações sobre o arquivo:" -#: C/gedit.xml:1442(para) +#: C/pluma.xml:1442(para) msgid "Number of lines in the current document." msgstr "Número de linhas no documento atual." -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "Number of words in the current document." msgstr "Número de palavras no documento atual." -#: C/gedit.xml:1448(para) +#: C/pluma.xml:1448(para) msgid "Number of characters, including spaces, in the current document." msgstr "Número de caracteres, incluindo espaços, no documento atual." -#: C/gedit.xml:1451(para) +#: C/pluma.xml:1451(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Número de caracteres, não incluindo espaços, no documento atual." -#: C/gedit.xml:1454(para) +#: C/pluma.xml:1454(para) msgid "Number of bytes in the current document." msgstr "Número de bytes no documento atual." -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -"Você pode continuar a modificar o arquivo do geditpluma enquanto a janela de Estatísticas do Documento está aberta. Para atualizar o conteúdo da janela de " "Estatísticas do Documento, clique no botão " "Atualizar." -#: C/gedit.xml:1466(title) +#: C/pluma.xml:1466(title) msgid "External Tools Plugin" msgstr "Plug-in de Ferramentas Externas" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" "O plug-in Ferramentas Externas permite que você " -"execute comandos externos a partir do gedit. Você " +"execute comandos externos a partir do pluma. Você " "pode redirecionar um conteúdo dentro de um comando e utilizar sua saída (por " "exemplo, sed), ou lançar um comando predefinido " "(por exemplo, make)." -#: C/gedit.xml:1468(para) +#: C/pluma.xml:1468(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsFerramentas." -#: C/gedit.xml:1471(title) +#: C/pluma.xml:1471(title) msgid "Built-in Commands" msgstr "Comandos Embutidos" -#: C/gedit.xml:1472(para) +#: C/pluma.xml:1472(para) msgid "" "The following commands are provided with the External Tools plugin:" @@ -3005,39 +3005,39 @@ msgstr "" "Os seguintes comando estão disponíveis com o plug-in " "Ferramentas Externas:" -#: C/gedit.xml:1474(term) +#: C/pluma.xml:1474(term) msgid "Build" msgstr "Compilar" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Runs make in the current document's directory." msgstr "" "Executa o comando make no diretório do documento " "atual." -#: C/gedit.xml:1479(term) +#: C/pluma.xml:1479(term) msgid "Directory Listing" msgstr "Listagem de Diretórios" -#: C/gedit.xml:1481(para) +#: C/pluma.xml:1481(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Lista o conteúdo do diretório do documento atual em um novo documento." -#: C/gedit.xml:1484(term) +#: C/pluma.xml:1484(term) msgid "Environment Variables" msgstr "Variáveis de Ambiente" -#: C/gedit.xml:1486(para) +#: C/pluma.xml:1486(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Exibe a lista de variáveis de ambiente no painel inferior." -#: C/gedit.xml:1489(term) +#: C/pluma.xml:1489(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1491(para) +#: C/pluma.xml:1491(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3046,19 +3046,19 @@ msgstr "" "usando o padrão correspondente. Os resultados são mostrados no painel " "inferior." -#: C/gedit.xml:1494(term) +#: C/pluma.xml:1494(term) msgid "Remove Trailing Spaces" msgstr "Remover Espaços à Direita" -#: C/gedit.xml:1496(para) +#: C/pluma.xml:1496(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Remove todos os espaços do final das linhas no documento." -#: C/gedit.xml:1503(title) +#: C/pluma.xml:1503(title) msgid "Defining a Command" msgstr "Definindo um Comando" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3066,7 +3066,7 @@ msgstr "" "Para adicionar um comando externo, escolha FerramentasFerramentas Externas." -#: C/gedit.xml:1505(para) +#: C/pluma.xml:1505(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3076,45 +3076,45 @@ msgstr "" "clique no botão Novo. Você pode especificar os " "seguintes detalhes para o novo comando:" -#: C/gedit.xml:1507(term) +#: C/pluma.xml:1507(term) msgid "Description" msgstr "Descrição" -#: C/gedit.xml:1509(para) +#: C/pluma.xml:1509(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" "Esta descrição é mostrada na barra de status quando o comando é selecionado " "no menu." -#: C/gedit.xml:1512(term) +#: C/pluma.xml:1512(term) msgid "Accelerator" msgstr "Tecla de atalho" -#: C/gedit.xml:1514(para) +#: C/pluma.xml:1514(para) msgid "Enter a keyboard shortcut for the command." msgstr "Digite um atalho de teclado para o comando." -#: C/gedit.xml:1517(term) +#: C/pluma.xml:1517(term) msgid "Commands" msgstr "Comandos" -#: C/gedit.xml:1519(para) +#: C/pluma.xml:1519(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Os comandos atuais a serem executados. Várias variáveis de ambiente do " -"gedit podem ser usadas para passar conteúdos para " -"esses comandos: veja a pluma podem ser usadas para passar conteúdos para " +"esses comandos: veja a ." -#: C/gedit.xml:1522(term) +#: C/pluma.xml:1522(term) msgid "Input" msgstr "Entrada" -#: C/gedit.xml:1524(para) +#: C/pluma.xml:1524(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3123,11 +3123,11 @@ msgstr "" "systemitem>): todo o texto do documento atual, a seleção atual, linha ou " "palavra." -#: C/gedit.xml:1527(term) +#: C/pluma.xml:1527(term) msgid "Output" msgstr "Saída" -#: C/gedit.xml:1529(para) +#: C/pluma.xml:1529(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3137,11 +3137,11 @@ msgstr "" "lançar em um novo documento, ou colocar no documento atual, no final, na " "posição do cursor ou substituindo a seleção ou o documento por completo." -#: C/gedit.xml:1532(term) +#: C/pluma.xml:1532(term) msgid "Applicability" msgstr "Aplicabilidade" -#: C/gedit.xml:1534(para) +#: C/pluma.xml:1534(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3149,22 +3149,22 @@ msgstr "" "Determina que tipo de documentos podem ser afetados pelo comando, por " "exemplo se está salvo ou não, e se é local ou remoto." -#: C/gedit.xml:1542(title) +#: C/pluma.xml:1542(title) msgid "Editing and Removing Tools" msgstr "Editando e Removendo Ferramentas" -#: C/gedit.xml:1543(para) +#: C/pluma.xml:1543(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Para editar uma ferramenta, selecione-a na lista e faça alterações nas suas " "propriedades." -#: C/gedit.xml:1544(para) +#: C/pluma.xml:1544(para) msgid "To rename a tool, click it again in the list." msgstr "Para renomear uma ferramenta, clique nela novamente na lista." -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3172,7 +3172,7 @@ msgstr "" "Para restaurar uma ferramenta embutida que você alterou, pressione " "Reverter." -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3182,11 +3182,11 @@ msgstr "" "Remover. Você não pode remover ferramentas embutidas, " "só as que você mesmo criou." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Variables" msgstr "Variáveis" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3194,39 +3194,39 @@ msgstr "" "Você pode usar as seguintes variáveis no campo Comandos " "da definição do comando:" -#: C/gedit.xml:1554(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1554(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1557(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1557(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1560(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1560(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1563(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1563(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1566(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1566(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1569(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1569(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1572(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1572(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1579(title) +#: C/pluma.xml:1579(title) msgid "File Browser Plugin" msgstr "Plug-in de Navegador de Arquivos" -#: C/gedit.xml:1580(para) +#: C/pluma.xml:1580(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3235,7 +3235,7 @@ msgstr "" "arquivos e pastas no painel lateral, permitindo que você abra arquivos " "rapidamente." -#: C/gedit.xml:1581(para) +#: C/pluma.xml:1581(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3246,11 +3246,11 @@ msgstr "" "clique na aba que mostra o ícone do Navegador de Arquivos na parte inferior " "do painel lateral." -#: C/gedit.xml:1583(title) +#: C/pluma.xml:1583(title) msgid "Browsing your Files" msgstr "Navegando nos seus Arquivos" -#: C/gedit.xml:1584(para) +#: C/pluma.xml:1584(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3259,7 +3259,7 @@ msgstr "" "gerenciador de arquivos. Para navegar no conteúdo de qualquer item, dê um " "clique duplo nele." -#: C/gedit.xml:1585(para) +#: C/pluma.xml:1585(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3267,7 +3267,7 @@ msgstr "" "Para mostrar uma pasta pai, escolha a partir da lista superior ou pressione " "a seta para cima na barra de ferramentas do Navegador de Arquivos." -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3277,19 +3277,19 @@ msgstr "" "clique com o botão direito na lista de arquivo e escolha " "Definir raiz para documento ativo." -#: C/gedit.xml:1590(para) +#: C/pluma.xml:1590(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Para abrir um arquivo no gedit, dê um clique " +"Para abrir um arquivo no pluma, dê um clique " "duplo neste na lista de arquivo." -#: C/gedit.xml:1593(title) +#: C/pluma.xml:1593(title) msgid "Creating Files and Folders" msgstr "Criando Arquivos e Pastas" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3298,7 +3298,7 @@ msgstr "" "aperte o botão direito na lista de arquivos e escolha Novo " "Arquivo." -#: C/gedit.xml:1595(para) +#: C/pluma.xml:1595(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3307,11 +3307,11 @@ msgstr "" "o botão direito na lista de arquivos e escolha Nova Pasta." -#: C/gedit.xml:1600(title) +#: C/pluma.xml:1600(title) msgid "Indent Lines Plugin" msgstr "Plug-in de Recuar Linhas" -#: C/gedit.xml:1601(para) +#: C/pluma.xml:1601(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3319,11 +3319,11 @@ msgstr "" "O plug-in Recuar Linhas adiciona ou remove espaço " "do início das linhas do texto." -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Para recuar ou desfazer recuo no texto, siga os seguintes passos:" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3331,7 +3331,7 @@ msgstr "" "Selecione as linhas que você deseja recuar. Para recuar ou desfazer o recuo " "em uma única linha, deixe o cursor em qualquer lugar da linha." -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "To indent the text, choose EditIndent." @@ -3339,7 +3339,7 @@ msgstr "" "Para recuar o texto, escolha EditarCriar Recuo." -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3347,22 +3347,22 @@ msgstr "" "Para remover o recuo, escolha EditarDesfazer Recuo." -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "O tamanho do espaço usado, e se será usado caractere de tabulação ou " "caracteres de espaço, depende da configuração de Paradas de " "Tabulação nas Preferências de Editor: veja a ." +"\"pluma-prefs-editor\"/>." -#: C/gedit.xml:1622(title) +#: C/pluma.xml:1622(title) msgid "Insert Date/Time Plugin" msgstr "Plug-in de Inserir Data/Hora" -#: C/gedit.xml:1623(para) +#: C/pluma.xml:1623(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3372,7 +3372,7 @@ msgstr "" "atual em um documento. Para usar o plug-in de Inserir Data/Hora, siga os " "seguintes passos:" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "Choose EditInsert Date and Time." @@ -3380,49 +3380,49 @@ msgstr "" "Selecione EditarInserir Data/" "Hora." -#: C/gedit.xml:1626(para) +#: C/pluma.xml:1626(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Se você não configurou o plug-in de Inserir Data/Hora para inserir " "automaticamente a data/hora sem perguntar pelo formato, o " -"gedit exibe a janela Inserir Data e " +"pluma exibe a janela Inserir Data e " "Hora. Selecione o formato de data/hora apropriado na lista. " "Clique no botão Inserir para fechar a janela de " -"Inserir Data e Hora. O gedit " +"Inserir Data e Hora. O pluma " "insere a data/hora na posição do cursor no arquivo atual." -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Se você configurou o gedit para usar um formato " +"Se você configurou o pluma para usar um formato " "de data/hora particular, a janela Inserir Data e Hora " "não é exibida. A data/hora é inserida automaticamente na posição do cursor " "no arquivo atual." -#: C/gedit.xml:1632(title) +#: C/pluma.xml:1632(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Configurando o Plug-in de Inserir Data/Hora" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Para configurar o plug-in Inserir Data/Hora, siga os seguintes passos:" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "Select the Insert Date/Time plugin." msgstr "Selecione o plug-in Inserir Data/Hora." -#: C/gedit.xml:1644(para) +#: C/pluma.xml:1644(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3430,11 +3430,11 @@ msgstr "" "Clique em Configurar Plug-in para exibir a janela " "Configurar o plug-in de inserção de data/hora." -#: C/gedit.xml:1647(para) +#: C/pluma.xml:1647(para) msgid "Select one of the options, as follows:" msgstr "Selecione uma das opções, como se segue:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3442,25 +3442,25 @@ msgstr "" "Para especificar o formato de data/hora cada vez que você inserir a data/" "hora, selecione a opção Alertar para um formato." -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" "Para usar o próprio formato de data/hora que já vem com o " -"gedit cada vez que você inserir a data/hora, " +"pluma cada vez que você inserir a data/hora, " "selecione a opção Usar o formato selecionado, então " "selecione o formato apropriado a partir da lista. Quando você selecionar " -"essa opção, o gedit não pergunta pelo formato de " +"essa opção, o pluma não pergunta pelo formato de " "data/hora quando você escolher EditarInserir Data e Hora." -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3468,7 +3468,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3478,11 +3478,11 @@ msgstr "" "informações sobre como descrever um formato personalizado, veja strftime3. Quando você " -"selecionar essa opção, o gedit não pergunta pelo " +"selecionar essa opção, o pluma não pergunta pelo " "formato de data/hora quando você escolher EditarInserir Data e Hora." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3490,7 +3490,7 @@ msgstr "" "Clique no botão OK para fechar a janela " "Configurar o plug-in de inserção de data/hora." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3498,23 +3498,23 @@ msgstr "" "Para fechar a janela de Preferências, clique no botão " "Fechar." -#: C/gedit.xml:1670(title) +#: C/pluma.xml:1670(title) msgid "Modelines Plugin" msgstr "Plug-in de Modelines" -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "O plug-in Modelines permite que você configure " "preferências para documentos individuais. Uma modeline é uma linha de texto no início ou no fim do documento com " -"configurações que o gedit reconhece." +"configurações que o pluma reconhece." -#: C/gedit.xml:1672(para) +#: C/pluma.xml:1672(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3522,27 +3522,27 @@ msgstr "" "Preferências definidas usando modelines têm prioridade sobre as " "especificadas na janela de preferências." -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "You can set the following preferences with modelines:" msgstr "Você pode definir as seguintes preferências com modelines:" -#: C/gedit.xml:1676(para) +#: C/pluma.xml:1676(para) msgid "Tab width" msgstr "Largura da tabulação" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "Indent width" msgstr "Largura do recuo" -#: C/gedit.xml:1682(para) +#: C/pluma.xml:1682(para) msgid "Insert spaces instead of tabs" msgstr "Inserir espaços ao invés de tabulações" -#: C/gedit.xml:1688(para) +#: C/pluma.xml:1688(para) msgid "Right margin width" msgstr "Largura da margem à direita" -#: C/gedit.xml:1692(para) +#: C/pluma.xml:1692(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3553,11 +3553,11 @@ msgstr "" "application>, Kate e Vim." -#: C/gedit.xml:1695(title) +#: C/pluma.xml:1695(title) msgid "Emacs Modelines" msgstr "Modelines de Emacs" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." @@ -3565,7 +3565,7 @@ msgstr "" "As primeiras duas linhas de um documento são analisadas em busca de " "modelines do Emacs." -#: C/gedit.xml:1697(para) +#: C/pluma.xml:1697(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3577,11 +3577,11 @@ msgstr "" "Manual do GNU Emacs." -#: C/gedit.xml:1700(title) +#: C/pluma.xml:1700(title) msgid "Kate Modelines" msgstr "Modelines de Kate" -#: C/gedit.xml:1701(para) +#: C/pluma.xml:1701(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." @@ -3589,7 +3589,7 @@ msgstr "" "As primeiras e últimas dez linhas de um documento são analisadas em busca de " "modelines do Kate." -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3601,11 +3601,11 @@ msgstr "" "veja o Site do Kate." -#: C/gedit.xml:1705(title) +#: C/pluma.xml:1705(title) msgid "Vim Modelines" msgstr "Modelines de Vim" -#: C/gedit.xml:1706(para) +#: C/pluma.xml:1706(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." @@ -3613,7 +3613,7 @@ msgstr "" "As primeiras e últimas três linhas de um documento são analisadas em busca " "de modelines do Vim." -#: C/gedit.xml:1707(para) +#: C/pluma.xml:1707(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3625,37 +3625,37 @@ msgstr "" "Site do Vim." -#: C/gedit.xml:1712(title) +#: C/pluma.xml:1712(title) msgid "Python Console Plugin" msgstr "Plug-in de Console Python" -#: C/gedit.xml:1713(para) +#: C/pluma.xml:1713(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" "O Plug-in Console Python permite que você execute " -"comandos na linguagem de programação python a partir do geditpluma. Ativando o plug-in adiciona uma aba ao painel inferior. Este " "mostra a saída recente e um campo de prompt de comando." -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Comandos digitados dentro do console python não são verificados antes que " "eles sejam executados. Conseqüentemente, é possível que travem o " -"gedit, por exemplo entrando um loop infinito." +"pluma, por exemplo entrando um loop infinito." -#: C/gedit.xml:1718(title) +#: C/pluma.xml:1718(title) msgid "Snippets Plugin" msgstr "Plug-in de Trechos" -#: C/gedit.xml:1719(para) +#: C/pluma.xml:1719(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3665,7 +3665,7 @@ msgstr "" "pedaços de texto usados freqüentemente, chamados trechos, e inseri-los rapidamente dentro de um documento." -#: C/gedit.xml:1720(para) +#: C/pluma.xml:1720(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3677,19 +3677,19 @@ msgstr "" "escolher de uma lista de trechos que são úteis para HTML. Além disso, alguns " "trechos são globais e estão disponíveis para todos os documentos." -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Um número de trechos embutidos já vem instalado com o geditpluma, e pode ser modificado." -#: C/gedit.xml:1724(title) +#: C/pluma.xml:1724(title) msgid "Inserting Snippets" msgstr "Inserindo Trechos" -#: C/gedit.xml:1725(para) +#: C/pluma.xml:1725(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3701,7 +3701,7 @@ msgstr "" "disparador de trecho é geralmente as primeiras letras do trecho, ou alguma " "outra coisa que seja pequena e fácil de lembrar." -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3709,15 +3709,15 @@ msgstr "" "Opcionalmente, pressione CtrlSpace para ver uma lista de trechos que você pode inserir." -#: C/gedit.xml:1730(title) +#: C/pluma.xml:1730(title) msgid "Adding Snippets" msgstr "Adicionando Trechos" -#: C/gedit.xml:1731(para) +#: C/pluma.xml:1731(para) msgid "To create a new snippet, do the following:" msgstr "Para criar um novo trecho, faça o seguinte:" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3727,7 +3727,7 @@ msgstr "" "Trechos. A janela Gerenciador de " "Trechos será aberta." -#: C/gedit.xml:1737(para) +#: C/pluma.xml:1737(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3739,20 +3739,20 @@ msgstr "" "um trecho, escolha Global no topo da lista. A sintaxe do documento que você " "estiver trabalhando é mostrada por padrão." -#: C/gedit.xml:1740(para) +#: C/pluma.xml:1740(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Clique no botão Novo. Um novo trecho aparece na lista." -#: C/gedit.xml:1743(para) +#: C/pluma.xml:1743(para) msgid "Enter the following information for the new snippet:" msgstr "Digite as seguintes informações para o novo trecho:" -#: C/gedit.xml:1745(term) +#: C/pluma.xml:1745(term) msgid "Name" msgstr "Nome" -#: C/gedit.xml:1747(para) +#: C/pluma.xml:1747(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3762,21 +3762,21 @@ msgstr "" "nome de um trecho serve somente para lembrar para o que ele serve. Você pode " "mudar o nome de um trecho que você criou clicando nele na lista." -#: C/gedit.xml:1750(term) +#: C/pluma.xml:1750(term) msgid "Snippet text" msgstr "Texto do trecho" -#: C/gedit.xml:1752(para) +#: C/pluma.xml:1752(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Insira o texto do trecho na caixa de texto de Editar trecho. Para códigos especiais que você pode usar, veja a ." +"\"pluma-snippets-plugin-syntax\"/>." -#: C/gedit.xml:1753(para) +#: C/pluma.xml:1753(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3784,11 +3784,11 @@ msgstr "" "Você pode mudar para a janela do documento para copiar texto sem fechar a " "janela do Gerenciador de Trechos." -#: C/gedit.xml:1756(term) +#: C/pluma.xml:1756(term) msgid "Tab Trigger" msgstr "Disparador" -#: C/gedit.xml:1758(para) +#: C/pluma.xml:1758(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3796,7 +3796,7 @@ msgstr "" "Insira o disparador para o trecho. Este é o texto que você digita antes de " "pressionar Tab para inserir o trecho." -#: C/gedit.xml:1759(para) +#: C/pluma.xml:1759(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3806,19 +3806,19 @@ msgstr "" "qualquer caractere. O Disparador destacará em vermelho " "se um disparador inválido é inserido." -#: C/gedit.xml:1762(term) +#: C/pluma.xml:1762(term) msgid "Shortcut key" msgstr "Tecla de atalho" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Digite uma tecla de atalho a usar para inserir o trecho." -#: C/gedit.xml:1773(title) +#: C/pluma.xml:1773(title) msgid "Editing and Removing Snippets" msgstr "Editando e Removendo Trechos" -#: C/gedit.xml:1774(para) +#: C/pluma.xml:1774(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3826,11 +3826,11 @@ msgstr "" "Para editar um trecho, selecione-o na lista e faça as alterações ao texto e " "propriedades de ativação." -#: C/gedit.xml:1775(para) +#: C/pluma.xml:1775(para) msgid "To rename a snippet, click it again in the list." msgstr "Para renomear um trecho, clique no trecho novamente na lista." -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3838,7 +3838,7 @@ msgstr "" "Para restaurar um trecho embutido que você alterou, pressione em " "Reverter." -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3848,11 +3848,11 @@ msgstr "" "Remover. Você não pode remover trechos embutidos, só " "aqueles que você criou." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Snippet Substitutions" msgstr "Substituições de Trechos" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3862,17 +3862,17 @@ msgstr "" "personalizados, ou espaços marcados aos quais você pode adicionar texto, uma " "vez que o trecho é inserido em seu documento." -#: C/gedit.xml:1786(para) +#: C/pluma.xml:1786(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" "Você pode usar os seguintes códigos para marcadores de substituição em " "trechos de texto:" -#: C/gedit.xml:1788(term) +#: C/pluma.xml:1788(term) msgid "Tab placeholders" msgstr "Marcadores de substituição" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3880,7 +3880,7 @@ msgstr "" "$n define um marcador de " "substituição, onde n é qualquer número de 1 para cima." -#: C/gedit.xml:1791(para) +#: C/pluma.xml:1791(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3888,7 +3888,7 @@ msgstr "" "${n:padrão} define um marcador de substituição com um valor padrão." -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3896,7 +3896,7 @@ msgstr "" "Um marcador de substituição marca um local no trecho onde você pode " "adicionar texto depois que o trecho é inserido." -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3908,7 +3908,7 @@ msgstr "" "keycap> para ir para o próximo. O Número no código do marcador define a " "ordem na qual o cursor avança ao pressionar Tab." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3920,11 +3920,11 @@ msgstr "" "keycap> quando não há mais marcadores de substituição move o cursor até o " "fim do trecho, ou até o marcador de fim, se existir." -#: C/gedit.xml:1797(term) +#: C/pluma.xml:1797(term) msgid "Mirror placeholders" msgstr "Marcadores espelhos" -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3934,11 +3934,11 @@ msgstr "" "permite a você digitar só uma vez um texto que você quer que apareça várias " "vezes no trecho." -#: C/gedit.xml:1802(term) +#: C/pluma.xml:1802(term) msgid "End placeholder" msgstr "Marcador de fim" -#: C/gedit.xml:1804(para) +#: C/pluma.xml:1804(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3948,33 +3948,33 @@ msgstr "" "terminar de trabalhar no trecho com o cursor em um lugar diferente do fim do " "trecho." -#: C/gedit.xml:1807(term) +#: C/pluma.xml:1807(term) msgid "Environmental variables" msgstr "Variáveis de ambiente" -#: C/gedit.xml:1809(para) +#: C/pluma.xml:1809(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Variáveis de ambiente como $PATH e $HOME são substituídas no texto do trecho. As seguintes variáveis " -"específicas do gedit podem ser usadas:" +"específicas do pluma podem ser usadas:" -#: C/gedit.xml:1811(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1811(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1813(para) +#: C/pluma.xml:1813(para) msgid "The currently selected text." msgstr "O texto selecionado no momento." -#: C/gedit.xml:1816(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1816(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1818(para) +#: C/pluma.xml:1818(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3982,11 +3982,11 @@ msgstr "" "O nome completo de arquivo do documento, ou uma seqüência vazia se o " "documento ainda não estiver salvo." -#: C/gedit.xml:1821(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1821(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1823(para) +#: C/pluma.xml:1823(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." @@ -3994,11 +3994,11 @@ msgstr "" "O nome do arquivo sem a extensão, ou uma seqüência vazia se o documento " "ainda não estiver salvo." -#: C/gedit.xml:1826(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1826(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1828(para) +#: C/pluma.xml:1828(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." @@ -4006,11 +4006,11 @@ msgstr "" "A palavra que estiver na posição do cursor no documento. Quando essa " "variável é usada, a palavra atual será substituída pelo texto do trecho." -#: C/gedit.xml:1836(term) +#: C/pluma.xml:1836(term) msgid "Shell placeholders" msgstr "Marcadores de substituição do Shell" -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -4018,7 +4018,7 @@ msgstr "" "$(cmd) é substituído pelo " "resultado da execução de cmd no shell." -#: C/gedit.xml:1839(para) +#: C/pluma.xml:1839(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -4032,11 +4032,11 @@ msgstr "" "$n para usar a saída de um " "marcador de substituição de shell como entrada em outro." -#: C/gedit.xml:1842(term) +#: C/pluma.xml:1842(term) msgid "Python placeholders" msgstr "Marcadores de substituição do Python" -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -4046,7 +4046,7 @@ msgstr "" "pelo resultado da execução de cmd no " "interpretador python." -#: C/gedit.xml:1845(para) +#: C/pluma.xml:1845(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -4064,7 +4064,7 @@ msgstr "" "$<a,b:" "cmd>" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -4072,11 +4072,11 @@ msgstr "" "Para usar uma variável em todos os outros trechos de python, declare-a como " "global." -#: C/gedit.xml:1855(title) +#: C/pluma.xml:1855(title) msgid "Sort Plugin" msgstr "Plug-in de Ordenar" -#: C/gedit.xml:1856(para) +#: C/pluma.xml:1856(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -4084,7 +4084,7 @@ msgstr "" "O plug-in Ordenar arruma linhas selecionadas de " "texto em ordem alfabética." -#: C/gedit.xml:1857(para) +#: C/pluma.xml:1857(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4096,15 +4096,15 @@ msgstr "" "arquivo depois da operação de ordenar, escolha ArquivoReverter." -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Para usar o plug-in Ordenar, siga os seguintes passos:" -#: C/gedit.xml:1863(para) +#: C/pluma.xml:1863(para) msgid "Select the lines of text you want to sort." msgstr "Selecione as linhas de texto que você quer ordenar." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4112,11 +4112,11 @@ msgstr "" "Selecione EditarOrdenar. A janela Ordenar se abrirá." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "Choose the options you want for the sort:" msgstr "Selecione as opções que você deseja para ordenar:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4124,20 +4124,20 @@ msgstr "" "Para arrumar o texto em ordem inversa, selecione Inverter ordem." -#: C/gedit.xml:1874(para) +#: C/pluma.xml:1874(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Para apagar linhas duplicadas, selecione a opção Remover " "duplicadas." -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Para ignorar a distinção entre maiúsculas e minúsculas, selecione " "Ignorar maiúsculas/minúsculas." -#: C/gedit.xml:1880(para) +#: C/pluma.xml:1880(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4147,33 +4147,33 @@ msgstr "" "primeiro caractere a ser usado para ordenação no seletor numérico " "Iniciar na coluna." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To perform the sort operation, click Sort." msgstr "" "Para efetuar a operação de ordenação, clique no botão Ordenar." -#: C/gedit.xml:1892(title) +#: C/pluma.xml:1892(title) msgid "Spell Checker Plugin" msgstr "Plug-in de Verificador Ortográfico" -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "O plug-in Verificador Ortográfico verifica a " -"ortografia no texto selecionado. Você pode configurar o geditpluma para verificar a ortografia automaticamente ou você pode " "verificar manualmente no idioma especificado. A configuração do idioma e as " "propriedades da auto-verificação são aplicadas por documento. Para usar o " "plug-in de Verificador ortográfico, siga os seguintes passos:" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4186,7 +4186,7 @@ msgstr "" "em OK para fechar a janela Definir idioma." -#: C/gedit.xml:1898(para) +#: C/pluma.xml:1898(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4194,7 +4194,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Para verificar a ortografia automaticamente, escolha " @@ -4205,9 +4205,9 @@ msgstr "" "menuchoice> novamente. Quando a auto-verificação está ativada, um ícone é " "exibido ao lado do item de menu Auto-verificação de Ortografia. A auto-verificação é desativada por padrão, cada vez que o " -"gedit inicia." +"pluma inicia." -#: C/gedit.xml:1899(para) +#: C/pluma.xml:1899(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsSugestões de Ortografia a partir do menu que aparece:" -#: C/gedit.xml:1902(para) +#: C/pluma.xml:1902(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4226,7 +4226,7 @@ msgstr "" "Para substituir a palavra desconhecida por outra na lista, selecione a " "palavra a substituir no menu Sugestões de Ortografia." -#: C/gedit.xml:1905(para) +#: C/pluma.xml:1905(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddSugestões de OrtografiaAdicionar." -#: C/gedit.xml:1908(para) +#: C/pluma.xml:1908(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Para ignorar todas as ocorrências da palavra desconhecida, fazendo com que " "não sejam mais marcadas como desconhecidas sem serem adicionadas ao " "dicionário pessoal, selecione Sugestões de OrtografiaIgnorar Todos. A palavra " -"desconhecida é ignorada somente na seção atual do geditpluma." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4260,7 +4260,7 @@ msgstr "" "FerramentasVerificar Ortografia." -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4272,7 +4272,7 @@ msgstr "" "errada. Clique no botão OK para fechar a janela de " "Informação." -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4280,7 +4280,7 @@ msgstr "" "Se houver erros de ortografia, a janela Verificação de Ortografia é exibida:" -#: C/gedit.xml:1920(para) +#: C/pluma.xml:1920(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." @@ -4288,7 +4288,7 @@ msgstr "" "A Palavra com erro de ortografia é exibida no topo da " "janela." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4301,7 +4301,7 @@ msgstr "" "guilabel>, ou você pode digitar o texto diretamente dentro da caixa de texto " "Modificar para." -#: C/gedit.xml:1926(para) +#: C/pluma.xml:1926(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4316,20 +4316,20 @@ msgstr "" "não é conhecida, novas entradas aparecem na lista de Sugestões." -#: C/gedit.xml:1929(para) +#: C/pluma.xml:1929(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Para ignorar a ocorrência atual da palavra desconhecida, clique em " "Ignorar. Para ignorar todas as ocorrências da " "palavra, clique em Ignorar Todos. A palavra " -"desconhecida é ignorada somente na seção atual do geditpluma." -#: C/gedit.xml:1932(para) +#: C/pluma.xml:1932(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeModificar para, clique em Modificar Todos." -#: C/gedit.xml:1935(para) +#: C/pluma.xml:1935(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4351,7 +4351,7 @@ msgstr "" "Para adicionar a palavra desconhecida para o seu dicionário pessoal, clique " "no botão Adicionar palavra." -#: C/gedit.xml:1938(para) +#: C/pluma.xml:1938(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4359,11 +4359,11 @@ msgstr "" "Para fechar a janela Verificar Ortografia, clique em " "Fechar." -#: C/gedit.xml:1947(title) +#: C/pluma.xml:1947(title) msgid "Tag List Plugin" msgstr "Plug-in de Lista de Tags" -#: C/gedit.xml:1948(para) +#: C/pluma.xml:1948(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4371,11 +4371,11 @@ msgstr "" "O plug-in Lista de Tags permite que você insira " "tags comuns de uma lista no painel lateral." -#: C/gedit.xml:1949(para) +#: C/pluma.xml:1949(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Para usar o plug-in de Lista de Tags, efetue as seguintes etapas:" -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "" "Choose ViewSide Pane." @@ -4383,7 +4383,7 @@ msgstr "" "Selecione VerPainel Lateral." -#: C/gedit.xml:1955(para) +#: C/pluma.xml:1955(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4393,7 +4393,7 @@ msgstr "" "abertos. Clique na aba mostrando um ícone de + na parte inferior do painel " "lateral para mostrar a aba de lista de tags." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4401,11 +4401,11 @@ msgstr "" "Selecione a categoria de tag apropriada a partir da lista. Por exemplo, " "HTML - Tags." -#: C/gedit.xml:1960(para) +#: C/pluma.xml:1960(para) msgid "Scroll through the tag list to find the required tag." msgstr "Role pela lista de tags para pesquisar pela tag requerida." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4413,7 +4413,7 @@ msgstr "" "Para inserir uma tag na posição do cursor no arquivo atual, dê um clique " "duplo na tag na lista. Você pode também inserir uma tag da seguinte maneira:" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4421,7 +4421,7 @@ msgstr "" "Para inserir uma tag no arquivo atual e mudar o foco do painel lateral para " "a área de visualização, pressione Enter." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShiftEnter." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "" "Wagner Luís de Araújo Menezes Macêdo , 2007\n" @@ -4443,10 +4443,10 @@ msgstr "" "Krix Apolinário , 2009" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "Nome do UsuárioNome do Usuário insere o nome de usuário do usuário atual no " #~ "documento." @@ -4470,69 +4470,69 @@ msgstr "" #~ "Usuário." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "Para mais informações sobre como configurar o destaque de sintaxe, veja a " -#~ "." +#~ "." #~ msgid "Colors" #~ msgstr "Cores" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Selecione a opção Usar cores do tema padrão para " -#~ "usar as cores do tema padrão na área de texto do geditpluma." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Clique no botão de Cor do texto normal para exibir " #~ "o diálogo seletor de cores. Selecione uma cor a usar para exibir texto " -#~ "normal na área de texto do gedit." +#~ "normal na área de texto do pluma." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Clique no botão de Cor de fundo para exibir o " #~ "diálogo seletor de cores. Selecione uma cor de fundo para a área de texto " -#~ "do gedit." +#~ "do pluma." #~ msgid "" #~ "Click on the Selected text color color button to " @@ -4659,7 +4659,7 @@ msgstr "" #~ "guimenuitem>. The number of previous edits that you can undo " #~ "is determined by the Undo limit setting in the " #~ "Editor tabbed section of the Preferences dialog: see ." +#~ "guilabel> dialog: see ." #~ msgstr "" #~ "Para desfazer uma alteração que você tenha feito, selecione " #~ "EditarDesfazer. O número de edições prévias que você pode desfazer é " #~ "determinada pela configuração do limite de Desfazer " #~ "na seção da aba Editor da janela " -#~ "Preferências: veja a Preferências: veja a ." diff --git a/help/ru/ru.po b/help/ru/ru.po index dafd348..cd6b256 100755 --- a/help/ru/ru.po +++ b/help/ru/ru.po @@ -2,7 +2,7 @@ # Copyright 2008 Free Software Foundation Inc. msgid "" msgstr "" -"Project-Id-Version: gedit HEAD\n" +"Project-Id-Version: pluma HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-02-06 23:45+0000\n" "PO-Revision-Date: 2009-02-15 01:56+0300\n" @@ -110,308 +110,308 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Руководство по Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Руководство по Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "Проект документирования MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Добавлена таблица клавиатурных комбинаций" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Команда документирования Sun Java Desktop System" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek готовил информацию по ранним версиям gedit." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek готовил информацию по ранним версиям pluma." -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Благодарности" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George предоставил информацию о модулях." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Руководство версии 2.0 по gedit." +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Руководство версии 2.0 по pluma." -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Март 2002" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Команда документирования Sun MATE" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Руководство версии 2.1 по gedit." +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Руководство версии 2.1 по pluma." -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Июнь 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Руководство версии 2.2 по gedit." +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Руководство версии 2.2 по pluma." -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Август 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Руководство версии 2.3 по gedit." +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Руководство версии 2.3 по pluma." -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "Сентябрь 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Руководство версии 2.4 по gedit." +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Руководство версии 2.4 по pluma." -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Январь 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Руководство версии 2.5 по gedit." +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Руководство версии 2.5 по pluma." -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Март 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Руководство версии 2.6 по gedit." +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Руководство версии 2.6 по pluma." -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "Сентябрь 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Руководство версии 2.7 по gedit." +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Руководство версии 2.7 по pluma." -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Март 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Руководство версии 2.8 по gedit." +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Руководство версии 2.8 по pluma." -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) #| msgid "June 2002" msgid "July 2006" msgstr "Июль 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Руководство версии 2.9 по gedit." +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Руководство версии 2.9 по pluma." -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "Команда документирования MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Данное руководство описывает gedit версии 2.16." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Данное руководство описывает pluma версии 2.16." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Обратная связь" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) #| msgid "" -#| "To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the " #| "MATE Feedback Page." msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" "Чтобы сообщить об ошибке или предложить что-то касательно приложения " -"gedit либо этого документа, последуйте ссылке " +"pluma либо этого документа, последуйте ссылке " "MATE Feedback Page." -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit — текстовый редактор для среды MATE, простой, но поддерживающий " +"pluma — текстовый редактор для среды MATE, простой, но поддерживающий " "основные функции по работе с текстом, печать, проверку орфографии, поиск и " "замену, подсветку синтаксиса. Множество дополнительных функций доступны как " "модули." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "текстовый редактор" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Введение" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"Приложение gedit позволяет вам создавать и " +"Приложение pluma позволяет вам создавать и " "редактировать текстовые файлы." -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"Цель gedit — быть простым и лёгким в " +"Цель pluma — быть простым и лёгким в " "использовании текстовым редактором. Многие возможности могут быть включены " "модулями, решающими множество задач по редактированию " "текста." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Начало" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Запуск gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Запуск pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "Можно запустить gedit следующими способами:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "Можно запустить pluma следующими способами:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Меню Приложения" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -419,99 +419,99 @@ msgstr "" "Выберите СтандартныеТекстовый редактор." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Командная строка" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Выполните команду: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Выполните команду: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "По умолчанию, когда вы открываете текстовый документ в файловом менеджере, " -"gedit запускается и отображает открываемый файл." +"pluma запускается и отображает открываемый файл." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Окно gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Окно pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Когда запускается gedit, отображается следующее " +"Когда запускается pluma, отображается следующее " "окно:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Окно gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Окно pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Главное окно gedit." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Главное окно pluma." -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "Окно gedit состоит из следующих элементов:" +"The pluma window contains the following elements:" +msgstr "Окно pluma состоит из следующих элементов:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Строка меню" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" "Меню включает в себя все команды необходимые для работы с файлами в " -"gedit." +"pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Панель инструментов" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "" "Панель инструментов включает в себя некоторые команды, доступные из меню." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Область просмотра" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "В области просмотра отображается редактируемый текст." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Строка статуса" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"Строка статуса показывает текущее состояние geditpluma, а также контекстную информацию о пунктах меню. Информация о " "состоянии может быть следующей:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "Позиция курсора: номер строки и номер столбца, где находится курсор." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -523,11 +523,11 @@ msgstr "" "строка статуса покажет ЗАМ. Нажатие клавиши " "Insert меняет режим редактирования." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Боковая панель" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -535,7 +535,7 @@ msgstr "" "В боковой панели отображается список открытых документов и другая " "информация, зависящая от загруженных модулей." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneВидБоковая панель." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Нижняя панель" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -558,7 +558,7 @@ msgstr "" "Консоль Python, для отображения результатов " "работы." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom PaneВидНижняя панель." -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"При щелчке правой кнопкой мыши в окне gedit, " +"При щелчке правой кнопкой мыши в окне pluma, " "появляется всплывающее меню. Оно содержит общие команды редактирования " "текста." -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Подобно другим приложениям MATE большинство действий в geditpluma можно выполнить несколькими способами: через меню, через панель " "инструментов и с помощью горячих клавиш. Общие для всех приложений горячие " "клавиши перечислены в Руководстве пользователя." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Запуск gedit из командной строки" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Запуск pluma из командной строки" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Можно запустить gedit из командной строки с одним или несколькими файлами. " +"Можно запустить pluma из командной строки с одним или несколькими файлами. " "Для открытия нескольких файлов введите следующую команду и нажмите клавишу " "Ввод:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "файл1.txt файл2.txt файл3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Также, вместо имени файла можно указать URI." -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Для дополнительной информации о запуске gedit из " -"командной строки смотрите страницы руководства unix для gedit, geditpluma из " +"командной строки смотрите страницы руководства unix для pluma, pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Работа с файлами" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Создание нового документа" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Чтобы создать новый документ выберите ФайлСоздать. Новый чистый " -"документ отобразится в окне gedit." +"документ отобразится в окне pluma." -#: C/gedit.xml:346(title) C/gedit.xml:1591(title) +#: C/pluma.xml:346(title) C/pluma.xml:1591(title) msgid "Opening a File" msgstr "Открытие файла" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Чтобы открыть файл выберите ФайлОткрыть. В диалоге выбора " "файлов найдите нужный и нажмите кнопку guibutton>Открыть. Файл " -"будет показан в окне gedit." +"будет показан в окне pluma." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Значок меню списка недавних документов." -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -681,25 +681,25 @@ msgstr "" "списка недавно использованных файлов можно щёлкнуть значок " "на панели инструментов." -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"В gedit можно открывать несколько файлов. " +"В pluma можно открывать несколько файлов. " "Приложение добавляет вкладку для каждого открытого файла в окно. Смотрите " -"также ." +"также ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Сохранение файла" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Сохранять файлы можно несколькими способами:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -708,7 +708,7 @@ msgstr "" "ФайлСохранить." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsСохранить как и нажмите кнопку Сохранить." -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" @@ -731,21 +731,21 @@ msgstr "" "ДокументыСохранить всё." -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Для закрытия всех открытых в gedit файлов, " +"Для закрытия всех открытых в pluma файлов, " "выберите ДокументыЗакрыть всё." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Открытие файла через URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -753,7 +753,7 @@ msgstr "" "Чтобы открыть файл через Uniform Resource Identifier (URI), выполните " "следующее:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -763,11 +763,11 @@ msgstr "" "guimenuitem>. Появится диалог Открыть адрес." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Введите URI файла, что вы хотите открыть." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." @@ -775,11 +775,11 @@ msgstr "" "Используя выпадающий список Кодировка символов, " "выберите подходящую кодировку." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Нажмите кнопку Открыть." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -789,7 +789,7 @@ msgstr "" "ftp:, file: и все протоколы, " "поддерживаемые mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -802,66 +802,66 @@ msgstr "" "могут оказаться недоступными для записи, поскольку не все FTP-серверы умеют " "правильно работать с записью таких файлов." -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Запись на FTP-серверы может быть включена с помощью приложения Редактор конфигурации, установкой ключа /apps/gedit-2/preferences/" +"application>, установкой ключа /apps/pluma-2/preferences/" "editor/save/writable_vfs_schemes, но это может приводить к " "ошибкам." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Работа со вкладками" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Когда открыто более одного файла, gedit " +"Когда открыто более одного файла, pluma " "отображает в верхней части области просмотра вкладки " "для каждого документа. Переключиться на другой документ можно щёлкнув по " "соответствующей вкладке." -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Для перемещения документа в другое окно gedit, " +"Для перемещения документа в другое окно pluma, " "перетащите соответствующую вкладку." -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Для перемещения документа в новое окно gedit, " +"Для перемещения документа в новое окно pluma, " "перетащите вкладку на рабочий стол или выберите " "ДокументыПереместить в новое " "окно." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Работа с текстом" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Редактирование текста" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "При редактировании текста можно использовать следующие приёмы:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -871,7 +871,7 @@ msgstr "" "показывает место ввода текста, изменить которое можно с помощью клавиш " "управления курсором или щелчком мыши." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyПравкаКопировать." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutПравкаВырезать." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteПравкаУдалить." -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Для вставки содержимого буфера обмена в позицию курсора, нужно выбрать " "ПравкаВставить. Перед вставкой текста необходимо переместить или скопировать " -"нужный текст в буфер обмена из gedit или из другого приложения." +"нужный текст в буфер обмена из pluma или из другого приложения." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -921,11 +921,11 @@ msgstr "" "ПравкаВыделить всё." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Отмена и возврат изменений" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -937,31 +937,31 @@ msgstr "" "отмененного, нужно выбрать ПравкаВернуть." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Поиск и замена" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"В gedit существует два способа поиска текста. " +"В pluma существует два способа поиска текста. " "Можно использовать диалог Найти для поиска текстового " "блока, или воспользоваться Интерактивным поиском для " "подсветки текста по мере набора." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Поиск текста" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Чтобы найти в файле строку текста, выполните следующие действия:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -969,21 +969,21 @@ msgstr "" "Выберите ПоискНайти для отображения диалога Найти" -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "Введите искомую строку в поле Найти. Можно использовать " "специальные символы, такие как, символ новой строки или табуляции: смотрите " -"." +"." -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" @@ -991,7 +991,7 @@ msgstr "" "текущей позиции курсора. Если строка найдена, приложение выделяет первое " "совпадение. Остальные совпадения строк будут подсвечены." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextПоискНайти предыдущее." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1019,7 +1019,7 @@ msgstr "" "guimenuitem> и ПоискНайти предыдущее." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightПоискОчистить подсветку." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Интерактивный поиск" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1041,7 +1041,7 @@ msgstr "" "Интерактивный поиск подсвечивает вводимый текст по мере печати буква за " "буквой. (Подобная функция есть у некоторых веб-браузеров.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1051,7 +1051,7 @@ msgstr "" "guimenu>Поиск по мере набора. Окно " "поиска появляется в нижней части области просмотра." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1059,7 +1059,7 @@ msgstr "" "Начните печатать, и текст в документе будет подсвечен. Выделяется первое " "совпадение от позиции курсора." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftG для возврата к предыдущему совпадению." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." @@ -1079,11 +1079,11 @@ msgstr "" "Также можно использовать клавиши управления курсором и колесо мыши для " "перемещения между совпадениями." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Замена текста" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1091,7 +1091,7 @@ msgstr "" "Для поиска и замены строки в файле на другую строку, выполните следующие " "действия:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1100,17 +1100,17 @@ msgstr "" "guimenuitem> для вызова диалогового окна Заменить." -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Напечатайте заменяемую строку в поле Найти. Можно " "использовать и специальные символы, как например, символ новой строки или " -"символ табуляции: смотрите ." +"символ табуляции: смотрите ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." @@ -1118,32 +1118,32 @@ msgstr "" "В поле Заменить на введите строку на которую требуется " "заменить." -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Для просмотра каждого совпадения строки перед её заменой, щёлкните " -"Найти. Если совпадение есть, geditНайти. Если совпадение есть, pluma выделит его. Для замены нажмите Заменить. Чтобы перейти к следующему совпадению, щёлкните " "Найти ещё раз." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." msgstr "" "Для замены всех совпадений сразу, нажмите guibutton>Заменить всё." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Параметры поиска и замены" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1151,7 +1151,7 @@ msgstr "" "Диалог Найти, ровно как и диалог Заменить, имеют следующие настройки:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1162,7 +1162,7 @@ msgstr "" "регистре, в котором вы его ввели. Например, в этом случае «ТЕКСТ» не то же " "самое, что и «текст»." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1172,7 +1172,7 @@ msgstr "" "Выберите Только полные слова, чтобы вести поиск только " "по полным словам. Так, например, «текст» не то же что и «текстура»." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." @@ -1180,7 +1180,7 @@ msgstr "" "Выберите Обратный поиск, для поиска в обратном " "направлении, к началу документа." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1189,11 +1189,11 @@ msgstr "" "ведется с текущей позиции курсора до конца и, затем, от начала документа до " "текущей позиции." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Специальные символы" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1201,35 +1201,35 @@ msgstr "" "В искомый текст можно включать следующие escape-последовательности, " "представляющие спец. символы:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "символ новой строки." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Символ табуляции." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Символ возврата каретки." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1243,11 +1243,11 @@ msgstr "" "последовательность обратных слэшей, вам необходимо увеличить число вводимых " "обратных слэшей вдвое." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Установка курсора на определённую строку" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. Окно для указания строки появится в верхней части " "области просмотра." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." @@ -1266,7 +1266,7 @@ msgstr "" "Начните вводить номер строки, на которую хотите переместить курсор, и " "документ прокрутится до указанной строки." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." @@ -1274,15 +1274,15 @@ msgstr "" "Чтобы покинуть окно и перейти к указанной строке, нажмите клавишу " "Ввод." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Печать" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Установка параметров страницы" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1292,33 +1292,33 @@ msgstr "" "guimenu>Параметры страницы. На " "экране отобразится диалоговое окно Параметры страницы." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "Этот диалог позволит настроить следующие параметры печати:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Вкладка «Общие»" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Печать подсветки синтаксиса" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Выберите эту настройку для печати синтаксической подсветки. Смотрите также " -"." +"." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Печать заголовков страниц" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." @@ -1326,11 +1326,11 @@ msgstr "" "Параметр включает заголовок для каждой страницы. Заголовок не " "конфигурируется." -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Номера строк" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1338,7 +1338,7 @@ msgstr "" "Параметр Печатать номера строк включает печать номеров " "строк." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1348,11 +1348,11 @@ msgstr "" "можно указать как часто будут печататься номера. Например, каждые 5 или " "каждые 10 строк." -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1687(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1687(para) msgid "Text Wrapping" msgstr "Перенос текста" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1362,7 +1362,7 @@ msgstr "" "переносить не убирающийся в строку текст на новую строку. Не влияет на " "нумерацию строк." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1370,78 +1370,78 @@ msgstr "" "Параметр Не разрывать слово между строками позволяет " "переносить текст по целым словам." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Шрифты" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Тело" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "Щёлкнув по этой кнопке, можно выбрать шрифт для печати тела текста." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Номера строк" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "Эта кнопка позволит выбрать шрифт для печати номеров строк." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Верхние и нижние колонтитулы" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "" "Этой кнопкой выбирается шрифт для печати верхних и нижних колонтитулов." -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Кнопкой Восстановить исходные шрифты можно " "восстановить шрифты по умолчанию." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Печать документа" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Gedit может осуществлять следующие задачи печати:" +"Pluma может осуществлять следующие задачи печати:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Печать документа на принтере." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Печать в файл." -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"При печати в файл, gedit создает файл в одном из " +"При печати в файл, pluma создает файл в одном из " "предпечатных форматов. PostScript и Portable Document Format (PDF) являются " "общими предпечатными форматами." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewФайлПросмотр печати." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintФайлПечать." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "Это окно позволит вам установить следующие параметры печати:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Вкладка «Задание»" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Диапазон печати" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "Выбор печатаемых страниц" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Все" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Печать всех страниц в документе." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Строки" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " "the line range." msgstr "В соответствующих полях можно указать номера печатаемых строк." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Выделенное" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1512,11 +1512,11 @@ msgstr "" "Будет напечатан только выделенный текст. Если никакой текст не выделен, " "параметр недоступен." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Копии" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1524,7 +1524,7 @@ msgstr "" "В поле Число копий можно указать сколько экземпляров " "документа нужно напечатать." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1532,29 +1532,29 @@ msgstr "" "При печати множества экземпляров, можно сортировать страницы по копиям с " "помощью параметра Сортировать." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Вкладка «Принтер»" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Принтер" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "Используя этот список, можно выбрать принтер для печати." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Параметры" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Здесь можно выбрать настройки принтера." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1564,24 +1564,24 @@ msgstr "" "Например, можно включить или отключить двухстороннюю печать, или отложенную " "печать, если подобная функциональность поддерживается принтером." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Адрес" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "Можно выбрать:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Печать документа на CUPS-принтере." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1589,23 +1589,23 @@ msgstr "" "Если выбранный принтер — CUPS-принтер, значение списка может быть только " "CUPS." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Печать документа на lpr-принтере." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Файл" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Печать в файл PostScript." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1613,55 +1613,55 @@ msgstr "" "С помощью кнопки Сохранить как, можно указать имя и " "местоположение файла." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Другой" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Позволяет использовать указанную команду для печати документа." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "Введите в текстовом окне команду, включите все необходимые аргументы." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Состояние" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Функциональность не поддерживается в данной версии gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Функциональность не поддерживается в данной версии pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Тип" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Комментарий" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Вкладка «Бумага»" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Размер бумаги" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "Можно выбрать из списка размер листа бумаги для последующей печати." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Ширина" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1669,37 +1669,37 @@ msgstr "" "В этом поле можно указать ширину листа бумаги. Соседний список задает " "единицы измерения." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Высота" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Через это поле можно указать высоту листа бумаги." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Ориентация подачи" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "С помощью этого списка можно выбрать ориентацию бумаги в принтере." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Ориентация бумаги" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Через этот список выбирается ориентация страницы." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Размещение" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1707,35 +1707,35 @@ msgstr "" "Можно задать размещение страниц. В поле Образец можно " "просмотреть каждое из сделанных изменений." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Источник бумаги" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Из этого списка можно выбрать источник бумаги." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Программирование" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Некоторые из возможностей программирования в geditpluma поддерживаются модулями. Например, «Список тегов» — модуль, " -"отображающий теги различных языков разметки: смотрите ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Подсветка синтаксиса" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1743,90 +1743,90 @@ msgstr "" "Синтаксическая подсветка делает код более легким в чтении человеком. " "Различные смысловые элементы текста получают цветовую раскраску." -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"Gedit выбирает соответствующий режим подсветки " +"Pluma выбирает соответствующий режим подсветки " "исходя из типа документа. Для замены режима подсветки выберите " "ВидРежим подсветки синтаксиса, затем выберите один из пунктов меню:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Обычный" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Без подсветки." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Исходные тексты" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." msgstr "Подсветка исходных кодов. Из подменю выберите нужный тип." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Разметка" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "Подсвечивает языки разметки. Из подменю можно выбрать нужный." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Языки сценариев" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." msgstr "Подсветка скриптов. В подменю содержатся некоторые «скриптовые» языки." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Прочее" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." msgstr "Другие режимы подсветки." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Вставка результатов выполнения команды в файл" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Можно использовать gedit для вставки результатов " +"Можно использовать pluma для вставки результатов " "выполнения какой-либо команды в текстовый файл. Например, ls | " -"gedit." +"pluma." -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Вывод команды ls будет помещён в новый текстовый файл в " -"окне gedit." +"окне pluma." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1834,21 +1834,21 @@ msgstr "" "Другой способ — использовать Внешние инструменты " "для вставки результатов выполнения команды в текущий файл." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Клавиатурные комбинации" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Испольуйте комбинации клавиш, чтобы быстрее выполнять действия, нежели с " "помощью мыши и меню. В следующей таблице представлены все комбинации клавиш " -"gedit." +"pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1857,404 +1857,404 @@ msgstr "" "\" url=\"ghelp:user-guide?keyboard-skills\">Desktop User Guide." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Вкладки" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Клавиши для управления вкладками:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Клавиши" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "Действия" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) #| msgid "Ctrl + Alt + PageDown" msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Переключиться на следующую вкладку влево." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Переключиться на следующую вкладку вправо." -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Закрыть вкладку." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Сохранить документы во всех вкладках." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Закрыть все вкладки." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Перейти на n-ю вкладку." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Файлы" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Комбинации клавиш для работы с файлами:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Создать новый документ." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Открыть документ." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Открыть адрес (URI)." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Сохранить текущий документ." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Сохранить текущий документ под новым именем." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Напечатать текущий документ." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Настроить параметры печати." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Закрыть документ.." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Завершить работу Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Завершить работу Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1408(guimenu) -#: C/gedit.xml:1414(guimenu) C/gedit.xml:1420(guimenu) -#: C/gedit.xml:1426(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1408(guimenu) +#: C/pluma.xml:1414(guimenu) C/pluma.xml:1420(guimenu) +#: C/pluma.xml:1426(guimenu) msgid "Edit" msgstr "Правка" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Комбинации клавиш для редактирования:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Отменить последнюю операцию." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Вернуть последнюю отменённую операцию." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Вырезать выделенный текст и поместить его в буфер обмена." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Скопировать выделенный текст в буфер обмена." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Вставить содержимого буфера обмена." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Выделить весь текст." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Удалить текущую строку." #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Панели" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Комбинации клавиш для отображения или скрытия панелей:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Отобразить или скрыть боковую панель." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Отобразить или скрыть нижнюю панель." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Поиск" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Комбинации клавиш для поиска:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "Найти строку." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Найти следующее совпадение." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Найти предыдущее совпадение." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Интерактивный поиск." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Найти и заменить." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Очистить подсветку найденных вхождений." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "Перейти к строке по её номеру." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Инструменты." -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Комбинации клавиш для управления инструментами:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Проверить орфографию." -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Удалить завершающие пробелы." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Добавить отступ." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Удалить отступ." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Запустить \"make\" в текущем каталоге (при наличии модуля)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Вывести список файлов (при наличии модуля)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Справка" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Комбинации клавиш для управления справочной системой:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Открыть руководство пользователя gedit." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Открыть руководство пользователя pluma." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "Параметры" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Для настройки gedit выберите " +"Для настройки pluma выберите " "ПравкаПараметры. Диалоговое окно Параметры содержит " "элементы:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Настройки вида" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2264,7 +2264,7 @@ msgstr "" "строки объединялись в абзацы, а не забегали за край окна. Горизонтальная " "прокрутка станет не нужной." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2274,19 +2274,19 @@ msgstr "" "включает перенос текста между строками по словам. Текст становится легче " "читать." -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "Выбор настройки Показывать номера строк отобразит " -"номера строк по левому краю окна gedit." +"номера строк по левому краю окна pluma." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Текущая строка" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." @@ -2294,11 +2294,11 @@ msgstr "" "Выберите параметр Подсвечивать текущую строку для " "подсветки строки, где находится курсор." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Правая граница" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2306,7 +2306,7 @@ msgstr "" "Выберите Отображать правую границу, чтобы отображалась " "вертикальная линия — правая граница." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2314,11 +2314,11 @@ msgstr "" "Используя поле Правая граница у столбца, можно указать " "положение этой вертикальной линии." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Соответствие скобок" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2328,35 +2328,35 @@ msgstr "" "для подсветки соответствующих скобок, когда курсор установлен на одной из " "них." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Настройки редактирования" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "С помощью поля Ширина табуляции, можно задать ширину " -"свободного пространства, вставляемого gedit по " +"свободного пространства, вставляемого pluma по " "нажатию клавиши Tab." -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Параметр Вставлять пробелы вместо табуляций укажет " -"gedit по нажатию клавиши Tab " +"pluma по нажатию клавиши Tab " "вставлять вместо символа табуляции определённое число пробелов." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Автоматический отступ" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2364,11 +2364,11 @@ msgstr "" "Параметр Включить автоматический отступ определяет " "будет ли следующая строка начинаться с такого же отступа как и предыдущая." -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Сохранение файлов" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2378,7 +2378,7 @@ msgstr "" "сохранением каждый раз при сохранении файла, создается его " "резервная копия. Резервная копия содержит символ ~ в конце имени файла." -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2388,39 +2388,39 @@ msgstr "" "позволяет автоматически сохранять текущий файл через определённые промежутки " "времени." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Шрифты и цвета" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Шрифт" -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Выберите guilabel>Использовать исходный шрифт темы, чтобы текст в " -"окне gedit отображался шрифтом определённым по " +"окне pluma отображался шрифтом определённым по " "умолчанию." -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "В поле Шрифт редактора отображается текущий шрифт, " "используемый для отрисовки текста. Щелчок по кнопке позволит установить сам " "шрифт, его начертание и размер." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Цветовая схема" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" @@ -2428,48 +2428,48 @@ msgstr "" "Вы можете выбрать цветовую схему из списка схем. По умолчанию, " "представлены следующие цветовые схемы:" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Классическая" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Классическая цветовая схема. Основана на цветовой схеме gvim." -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Кобальтовая синь" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Синеватая цветовая схема." -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) #| msgid "State" msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Цветовая схема, используемая в текстовом редакторе Kate." -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Забвение" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Темная цветовая схема, использующая цветовую палитру Танго." -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Танго" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Цветовая схема Танго." -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2477,7 +2477,7 @@ msgstr "" "Чтобы добавить новые цветовые схемы, щёлкните Добавить..." "и выберите файл с цветовой схемой" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" @@ -2485,33 +2485,33 @@ msgstr "" "Чтобы удалить выбранную цветовую схему, щёлкните на кнопке Удалить" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Настройка модулей" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Модули расширяют возможности gedit. Для " -"информации о встроенных модулях смотрите pluma. Для " +"информации о встроенных модулях смотрите ." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Подключение модулей" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Чтобы подключить модуль в gedit, следуйте " +"Чтобы подключить модуль в pluma, следуйте " "инструкциям:" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1637(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1637(para) msgid "" "Choose EditPreferences." @@ -2519,16 +2519,16 @@ msgstr "" "Выберите ПравкаПараметры." -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1640(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1640(para) msgid "Select the Plugins tab." msgstr "Перейдите на вкладку Модули." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "Отметьте модуль который хотите включить." -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." @@ -2536,100 +2536,100 @@ msgstr "" "Щёлкните кнопку Закрыть для закрытия диалога " "Параметры." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Отключение модулей" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Модули остаются включёнными после выхода из gedit." +"Модули остаются включёнными после выхода из pluma." -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "Чтобы отключить модуль проделайте следующее:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "Просто снимите галочку с отключаемого модуля." -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "Модули" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Работа с модулями" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" "Подключая модули, можно расширить функциональность " -"gedit. Модули — это дополнительные программы. Они " +"pluma. Модули — это дополнительные программы. Они " "могут добавлять новые пункты меню для доступа к предоставляемым ими " "возможностям." -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Некоторые модули идут вместе с gedit, но можно " -"установить и другие. На веб-сайте gedit есть список дополнительных модулей." +"Некоторые модули идут вместе с pluma, но можно " +"установить и другие. На веб-сайте pluma есть список дополнительных модулей." -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" -"Для включения или отключения модулей смотрите Настройка модулей." -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" -msgstr "Следующие модули идут вместе с gedit:" +"The following plugins come built-in with pluma:" +msgstr "Следующие модули идут вместе с pluma:" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Изменить регистрИзменить регистр позволяет сменить регистр символов выделенного текста." -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Статистика " +"Статистика " "документа показывает число строк, слов и символов в " "документе." -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Внешние " +"Внешние " "инструменты позволяет исполнить внешние команды из " -"gedit." +"pluma." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2637,94 +2637,94 @@ msgstr "" "Обозреватель файлов позволяет просмотреть папки и " "файлы в боковой панели." -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"ОтступОтступ вставляет или убирает отступ в выделенных строках." -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Вставка даты и " +"Вставка даты и " "времени вставляет текущую дату и время в позиции " "курсора." -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModelinesModelines Поддержка Emacs, Kate и Vim-стиля строк режимов для gedit." +"application> и Vim-стиля строк режимов для pluma." -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Консоль PythonКонсоль Python позволяет запускать команды на языке программирования " "Python." -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"Фрагменты текстаФрагменты текста позволяет быстро вставлять часто используемые фрагменты " "текста." -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"СортировкаСортировка сортирует документ или выделенный текст." -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Проверка " +"Проверка " "орфографии проверяет орфографию в текущем документе." -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Список теговСписок тегов предоставляет простой способ вставки в документ часто " "используемых тегов или строк без необходимости набирать их вручную." -#: C/gedit.xml:1380(para) +#: C/pluma.xml:1380(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"Имя пользователяИмя пользователя вставляет имя пользователя в позиции курсора." -#: C/gedit.xml:1387(title) +#: C/pluma.xml:1387(title) msgid "Change Case Plugin" msgstr "Модуль смены регистра символов" -#: C/gedit.xml:1388(para) +#: C/pluma.xml:1388(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2732,7 +2732,7 @@ msgstr "" "Модуль Изменить регистр меняет регистр символов " "выделенного текста." -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2740,83 +2740,83 @@ msgstr "" "Если модуль включен, в меню Правка будут доступны " "следующие пункты меню:" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Menu Item" msgstr "Пункт меню" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Action" msgstr "Действие" -#: C/gedit.xml:1403(para) +#: C/pluma.xml:1403(para) msgid "Example" msgstr "Пример" -#: C/gedit.xml:1409(guisubmenu) C/gedit.xml:1415(guisubmenu) -#: C/gedit.xml:1421(guisubmenu) C/gedit.xml:1427(guisubmenu) +#: C/pluma.xml:1409(guisubmenu) C/pluma.xml:1415(guisubmenu) +#: C/pluma.xml:1421(guisubmenu) C/pluma.xml:1427(guisubmenu) msgid "Change Case" msgstr "Изменить регистр" -#: C/gedit.xml:1409(guimenuitem) +#: C/pluma.xml:1409(guimenuitem) msgid "All Upper Case" msgstr "Все в верхнем регистре" -#: C/gedit.xml:1410(para) +#: C/pluma.xml:1410(para) msgid "Change each character to uppercase." msgstr "Меняет регистр каждого символа в верхний регистр." -#: C/gedit.xml:1411(para) +#: C/pluma.xml:1411(para) msgid "This text becomes THIS TEXT" msgstr "" "Этот текст превратится в ЭТОТ ТЕКСТ" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Lower Case" msgstr "Все в нижнем регистре" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to lowercase." msgstr "Сменяет регистр каждого символа к нижнему регистру." -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This Text becomes this text" msgstr "" "Этот Текст превратится в этот текст" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "Invert Case" msgstr "Инвертировать регистр" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "" "Меняет регистр каждого символа, нижний к верхнему, а верхний к нижнему." -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Этот Текст превратится в эТОТ тЕКСТ" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Title Case" msgstr "Регистр заголовка" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "Change the first character of each word to uppercase." msgstr "Меняет регистр первого символа каждого слова к верхнему регистру." -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "this text becomes This Text" msgstr "" "этот текст превратится в Этот Текст" -#: C/gedit.xml:1438(title) +#: C/pluma.xml:1438(title) msgid "Document Statistics Plugin" msgstr "Модуль «Статистика документа»" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2830,7 +2830,7 @@ msgstr "" "документа. Чтобы воспользоваться данным модулем выполните " "следующие действия:" -#: C/gedit.xml:1441(para) +#: C/pluma.xml:1441(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsСервисПоказать " "статистику документа. Диалог будет содержать поля:" -#: C/gedit.xml:1444(para) +#: C/pluma.xml:1444(para) msgid "Number of lines in the current document." msgstr "Число строк в текущем документе." -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "Number of words in the current document." msgstr "Количество слов." -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of characters, including spaces, in the current document." msgstr "Число символов вместе с пробелами." -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Число символов, не считая пробелов." -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of bytes in the current document." msgstr "Число байт." -#: C/gedit.xml:1461(para) +#: C/pluma.xml:1461(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." @@ -2871,14 +2871,14 @@ msgstr "" "Статистика документа. Кнопка Обновить обновляет содержимое диалога." -#: C/gedit.xml:1468(title) +#: C/pluma.xml:1468(title) msgid "External Tools Plugin" msgstr "Модуль «Внешние инструменты»" -#: C/gedit.xml:1469(para) +#: C/pluma.xml:1469(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." @@ -2887,7 +2887,7 @@ msgstr "" "внешние команды и скрипты оболочки. Можно передать команде некоторые данные, " "а затем использовать ее вывод (например, sed)." -#: C/gedit.xml:1470(para) +#: C/pluma.xml:1470(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsСервис." -#: C/gedit.xml:1473(title) +#: C/pluma.xml:1473(title) msgid "Built-in Commands" msgstr "Встроенные команды" -#: C/gedit.xml:1474(para) +#: C/pluma.xml:1474(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "Следующие команды поставляются вместе с модулем:" -#: C/gedit.xml:1476(term) +#: C/pluma.xml:1476(term) msgid "Build" msgstr "Сборка" -#: C/gedit.xml:1478(para) +#: C/pluma.xml:1478(para) msgid "" "Runs make in the current document's directory." msgstr "" "Запускает make в каталоге текущего документа." -#: C/gedit.xml:1481(term) +#: C/pluma.xml:1481(term) msgid "Directory Listing" msgstr "Список файлов в каталоге" -#: C/gedit.xml:1483(para) +#: C/pluma.xml:1483(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Вставляет содержание каталога текущего документа в новый документ." -#: C/gedit.xml:1486(term) +#: C/pluma.xml:1486(term) msgid "Environment Variables" msgstr "Переменные окружения" -#: C/gedit.xml:1488(para) +#: C/pluma.xml:1488(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Отображает список переменных окружения в нижней панели." -#: C/gedit.xml:1491(term) +#: C/pluma.xml:1491(term) msgid "Grep" msgstr "Поиск по файлам" -#: C/gedit.xml:1493(para) +#: C/pluma.xml:1493(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -2946,19 +2946,19 @@ msgstr "" "Ищет выражение во всех файлах в каталоге текущего документа, используя " "шаблоны. Результаты отображаются в нижней панели." -#: C/gedit.xml:1496(term) +#: C/pluma.xml:1496(term) msgid "Remove Trailing Spaces" msgstr "Удалить конечные пробелы" -#: C/gedit.xml:1498(para) +#: C/pluma.xml:1498(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Удаляет все начинающие и завершающие пробелы в строках." -#: C/gedit.xml:1505(title) +#: C/pluma.xml:1505(title) msgid "Defining a Command" msgstr "Определение команд" -#: C/gedit.xml:1506(para) +#: C/pluma.xml:1506(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -2966,7 +2966,7 @@ msgstr "" "Чтобы добавить внешнюю команду, выберите СервисExternal Tools." -#: C/gedit.xml:1507(para) +#: C/pluma.xml:1507(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -2976,41 +2976,41 @@ msgstr "" "Создать. Для новой команды можно указать следующие " "детали:" -#: C/gedit.xml:1509(term) +#: C/pluma.xml:1509(term) msgid "Description" msgstr "Описание" -#: C/gedit.xml:1511(para) +#: C/pluma.xml:1511(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "Когда меню команды выбрано, описание отображается в строке статуса." -#: C/gedit.xml:1514(term) +#: C/pluma.xml:1514(term) msgid "Accelerator" msgstr "Комбинация клавиш" -#: C/gedit.xml:1516(para) +#: C/pluma.xml:1516(para) msgid "Enter a keyboard shortcut for the command." msgstr "Комбинация клавиш для вызова команды." -#: C/gedit.xml:1519(term) +#: C/pluma.xml:1519(term) msgid "Commands" msgstr "Команды" -#: C/gedit.xml:1521(para) +#: C/pluma.xml:1521(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Запускаемые команды. Можно использовать также и переменные окружения, " -"подробнее смотрите ." +"подробнее смотрите ." -#: C/gedit.xml:1524(term) +#: C/pluma.xml:1524(term) msgid "Input" msgstr "Ввод" -#: C/gedit.xml:1526(para) +#: C/pluma.xml:1526(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3018,11 +3018,11 @@ msgstr "" "Данные, получаемые командами (как stdin): текст " "всего текущего документа, выделение, строка или слово." -#: C/gedit.xml:1529(term) +#: C/pluma.xml:1529(term) msgid "Output" msgstr "Окно вывода" -#: C/gedit.xml:1531(para) +#: C/pluma.xml:1531(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3032,11 +3032,11 @@ msgstr "" "документ или в текущий; в конец, в позицию курсора, заменить выделенный " "текст в документе или же заменить весь документ." -#: C/gedit.xml:1534(term) +#: C/pluma.xml:1534(term) msgid "Applicability" msgstr "Применимость" -#: C/gedit.xml:1536(para) +#: C/pluma.xml:1536(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3044,21 +3044,21 @@ msgstr "" "Определяет тип документа, к которому применимы команды, например, локальные " "документы или документы в сети." -#: C/gedit.xml:1544(title) +#: C/pluma.xml:1544(title) msgid "Editing and Removing Tools" msgstr "Изменение и удаление инструментов" -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" "Для настройки инструмента выберите его из списка и измените его параметры." -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "To rename a tool, click it again in the list." msgstr "Для переименования инструмента, щёлкните его в списке." -#: C/gedit.xml:1547(para) +#: C/pluma.xml:1547(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3066,7 +3066,7 @@ msgstr "" "Чтобы восстановить измененные встроенные инструменты, нажмите " "Вернуть." -#: C/gedit.xml:1548(para) +#: C/pluma.xml:1548(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3076,50 +3076,50 @@ msgstr "" "Удалить. Встроенные инструменты удалить нельзя. " "Удаляются только инструменты сделанные вами." -#: C/gedit.xml:1552(title) +#: C/pluma.xml:1552(title) msgid "Variables" msgstr "Переменные" -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "" "В поле Команда можно использовать следующие переменные:" -#: C/gedit.xml:1556(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1556(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1559(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1559(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1571(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1571(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1574(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1574(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1581(title) +#: C/pluma.xml:1581(title) msgid "File Browser Plugin" msgstr "Модуль просмотра файловой системы" -#: C/gedit.xml:1582(para) +#: C/pluma.xml:1582(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3127,7 +3127,7 @@ msgstr "" "Модуль File Browser отображает папки и файлы в " "боковой панели, позволяя быстро открывать файлы." -#: C/gedit.xml:1583(para) +#: C/pluma.xml:1583(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3137,11 +3137,11 @@ msgstr "" "guimenu>Боковая панель, щёлкните " "вкладку внизу." -#: C/gedit.xml:1585(title) +#: C/pluma.xml:1585(title) msgid "Browsing your Files" msgstr "Просмотр файлов" -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3149,7 +3149,7 @@ msgstr "" "Вкладка Просмотр файлов изначально отображает закладки. Для просмотра " "содержимого любого элемента щёлкните по нему дважды." -#: C/gedit.xml:1587(para) +#: C/pluma.xml:1587(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3157,7 +3157,7 @@ msgstr "" "Чтобы подняться на уровень выше, воспользуйтесь выпадающим списком или " "нажмите клавишу со стрелкой вверх (фокус ввода должен быть на панели)." -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3167,18 +3167,18 @@ msgstr "" "правой кнопкой на списке файлов и выберите Перейти в активному " "документу." -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Двойной щелчок на файле открывает его в gedit." +"Двойной щелчок на файле открывает его в pluma." -#: C/gedit.xml:1595(title) +#: C/pluma.xml:1595(title) msgid "Creating Files and Folders" msgstr "Создание файлов и папок" -#: C/gedit.xml:1596(para) +#: C/pluma.xml:1596(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3186,7 +3186,7 @@ msgstr "" "Чтобы создать файл в текущей папке, щёлкните на списке файлов правой кнопкой " "мыши и выберите Создать файл." -#: C/gedit.xml:1597(para) +#: C/pluma.xml:1597(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3195,11 +3195,11 @@ msgstr "" "кнопкой мыши в списке файлов и выберите Создать папку." -#: C/gedit.xml:1602(title) +#: C/pluma.xml:1602(title) msgid "Indent Lines Plugin" msgstr "Модуль «Отступы строк»" -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3207,11 +3207,11 @@ msgstr "" "Модуль Отступ вставляет или убирает отступ в " "начале строки." -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Чтобы вставить или убрать отступ, сделайте следующее:" -#: C/gedit.xml:1606(para) +#: C/pluma.xml:1606(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3219,7 +3219,7 @@ msgstr "" "Выделите строки. Если это одна строка, просто оставьте курсор где-нибудь в " "ее пределах." -#: C/gedit.xml:1611(para) +#: C/pluma.xml:1611(para) msgid "" "To indent the text, choose EditIndent." @@ -3227,7 +3227,7 @@ msgstr "" "Для вставки отступа выберите ПравкаСделать отступ." -#: C/gedit.xml:1614(para) +#: C/pluma.xml:1614(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3235,21 +3235,21 @@ msgstr "" "Для его удаления: ПравкаУбрать " "отступ." -#: C/gedit.xml:1619(para) +#: C/pluma.xml:1619(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Количество пробелов, а также будут ли это пробелы или символ табуляции " "зависят от настроек Метки табуляции в параметрах " -"редактора, смотрите ." +"редактора, смотрите ." -#: C/gedit.xml:1624(title) +#: C/pluma.xml:1624(title) msgid "Insert Date/Time Plugin" msgstr "Модуль вставки даты и времени" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3258,7 +3258,7 @@ msgstr "" "Модуль Вставка даты и времени вставляет текущую " "дату и время в текущий документ. Чтобы использовать его:" -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" "Choose EditInsert Date and Time." @@ -3266,46 +3266,46 @@ msgstr "" "Выберите ПравкаВставить дату и " "время." -#: C/gedit.xml:1628(para) +#: C/pluma.xml:1628(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Если вы не настраивали данный модуль на вставку даты и времени без запроса " -"формата, то gedit отобразит диалог " +"формата, то pluma отобразит диалог " "Вставить дату и время. Выберите из списка нужный формат " "и щёлкните Вставить. Текущие дата и время будут " "вставлены в позицию курсора. Диалог закроется автоматически." -#: C/gedit.xml:1629(para) +#: C/pluma.xml:1629(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Если gedit уже настроен для вставки даты и " +"Если pluma уже настроен для вставки даты и " "времени определённого формата, диалог Вставить дату и время показан не будет." -#: C/gedit.xml:1634(title) +#: C/pluma.xml:1634(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Настройка модуля вставки даты и времени" -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Для настройки модуля вставки даты и времени, выполните следующее:" -#: C/gedit.xml:1643(para) +#: C/pluma.xml:1643(para) msgid "Select the Insert Date/Time plugin." msgstr "Выберите модуль Вставка даты и времени." -#: C/gedit.xml:1646(para) +#: C/pluma.xml:1646(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3313,11 +3313,11 @@ msgstr "" "Щёлкните кнопку Настроить модуль. Появится диалог " "Настроить модуль вставки даты и времени." -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select one of the options, as follows:" msgstr "Выберите одну из возможностей:" -#: C/gedit.xml:1651(para) +#: C/pluma.xml:1651(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3325,22 +3325,22 @@ msgstr "" "Для запроса формата вставки каждый раз, выберите Запрашивать " "формат." -#: C/gedit.xml:1654(para) +#: C/pluma.xml:1654(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" "Если вы хотите использовать один и тот же формат при вставке даты и времени, " -"и не хотите, чтобы gedit спрашивал о формате " +"и не хотите, чтобы pluma спрашивал о формате " "каждый раз — ваш выбор Использовать указанный формат. " "Формат вставки можно выбрать из списка." -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3348,7 +3348,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3358,13 +3358,13 @@ msgstr "" "refentrytitle>3. При вставке " "формат также запрашиваться не будет." -#: C/gedit.xml:1662(para) +#: C/pluma.xml:1662(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." msgstr "Щёлкните OK для закрытия диалога." -#: C/gedit.xml:1665(para) +#: C/pluma.xml:1665(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3372,23 +3372,23 @@ msgstr "" "Закройте диалог Параметры щелкнув по кнопке " "Закрыть." -#: C/gedit.xml:1672(title) +#: C/pluma.xml:1672(title) msgid "Modelines Plugin" msgstr "Модуль «Строки режимов»" -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Модуль Строки режимов позволяет установить " "индивидуальные настройки документа. Строки режимов " "представляют собой строки текста в начале или конце документа с параметрами " -"для gedit." +"для pluma." -#: C/gedit.xml:1674(para) +#: C/pluma.xml:1674(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." @@ -3397,27 +3397,27 @@ msgstr "" "перед значениями тех же параметров установленных через диалог установки " "параметров." -#: C/gedit.xml:1675(para) +#: C/pluma.xml:1675(para) msgid "You can set the following preferences with modelines:" msgstr "Можно установить следующие параметры с помощью строк режимов:" -#: C/gedit.xml:1678(para) +#: C/pluma.xml:1678(para) msgid "Tab width" msgstr "Ширина табуляции" -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "Indent width" msgstr "Ширина отступа" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Insert spaces instead of tabs" msgstr "Пробелы вместо табуляций" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Right margin width" msgstr "Положение правой границы" -#: C/gedit.xml:1694(para) +#: C/pluma.xml:1694(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3428,17 +3428,17 @@ msgstr "" "application>, Kate и Vim по заголовку текстового файла." -#: C/gedit.xml:1697(title) +#: C/pluma.xml:1697(title) msgid "Emacs Modelines" msgstr "«Строки режимов» Emacs" -#: C/gedit.xml:1698(para) +#: C/pluma.xml:1698(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "Сканируются первые две строки в документе." -#: C/gedit.xml:1699(para) +#: C/pluma.xml:1699(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3451,17 +3451,17 @@ msgstr "" "\"http://www.delorie.com/gnu/docs/emacs/emacs_486.html\">Руководство по GNU " "Emacs." -#: C/gedit.xml:1702(title) +#: C/pluma.xml:1702(title) msgid "Kate Modelines" msgstr "«Строки режимов» Kate" -#: C/gedit.xml:1703(para) +#: C/pluma.xml:1703(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "Сканируются первые и последние десять строк документа." -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3473,17 +3473,17 @@ msgstr "" "Для дополнительной информации смотрите Kate website." -#: C/gedit.xml:1707(title) +#: C/pluma.xml:1707(title) msgid "Vim Modelines" msgstr "«Строки режимов» Vim" -#: C/gedit.xml:1708(para) +#: C/pluma.xml:1708(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "Сканируются первые и последние три строки документа." -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3495,14 +3495,14 @@ msgstr "" "\" url=\"http://vimdoc.sourceforge.net/htmldoc/options.html#modeline\">Vim " "website." -#: C/gedit.xml:1714(title) +#: C/pluma.xml:1714(title) msgid "Python Console Plugin" msgstr "Модуль «Консоль Python»" -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" @@ -3510,20 +3510,20 @@ msgstr "" "на языке программирования python. В нижнюю панель будет добавлена вкладка, в " "которой можно ввести команду и просмотреть ее вывод." -#: C/gedit.xml:1716(para) +#: C/pluma.xml:1716(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Вводимые команды исполняются безо всякой проверки. Возможны зависания " -"gedit, например, при входе в бесконечный цикл." +"pluma, например, при входе в бесконечный цикл." -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Snippets Plugin" msgstr "Модуль «Фрагменты текста»" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3533,7 +3533,7 @@ msgstr "" "используемые куски текста и, затем быстро вставлять эти куски в любое место " "в редактируемом документе." -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3544,19 +3544,19 @@ msgstr "" "с HTML-документом, можно выбирать фрагменты для HTML. Некоторые текстовые " "фрагменты глобальны, они доступны для всех видов документов." -#: C/gedit.xml:1723(para) +#: C/pluma.xml:1723(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Некоторое количество фрагментов поставляется в составе geditpluma. Их можно менять." -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Inserting Snippets" msgstr "Вставка фрагментов" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3568,7 +3568,7 @@ msgstr "" "фрагмента текста — это обычно первые несколько символов нужного фрагмента, " "либо какая-нибудь еще короткая и легко запоминающаяся последовательность." -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3576,15 +3576,15 @@ msgstr "" "Другой способ: нажатие CtrlSpace позволит выбрать из списка нужный для вставки фрагмент." -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Adding Snippets" msgstr "Добавление фрагментов" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "To create a new snippet, do the following:" msgstr "Чтобы создать новый фрагмент текста:" -#: C/gedit.xml:1736(para) +#: C/pluma.xml:1736(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3594,7 +3594,7 @@ msgstr "" "фрагментами. Откроется окно Менеджер " "фрагментов." -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3605,20 +3605,20 @@ msgstr "" "которого хотите добавить фрагмент. Для добавления фрагмента, касающегося " "всех языков, выберите «Глобальный»." -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Щёлкните Создать, и новый фрагмент добавится в список." -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "Enter the following information for the new snippet:" msgstr "Введите следующую информацию о фрагменте:" -#: C/gedit.xml:1747(term) +#: C/pluma.xml:1747(term) msgid "Name" msgstr "Имя" -#: C/gedit.xml:1749(para) +#: C/pluma.xml:1749(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3628,21 +3628,21 @@ msgstr "" "отражения сути фрагмента. Можно изменить имя текстового фрагмента, щелкнув " "по нему мышкой." -#: C/gedit.xml:1752(term) +#: C/pluma.xml:1752(term) msgid "Snippet text" msgstr "Текст фрагмента" -#: C/gedit.xml:1754(para) +#: C/pluma.xml:1754(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Введите текст самого фрагмента в текстовое поле Редактировать " -"фрагмент. Смотрите также . Смотрите также ." -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3650,11 +3650,11 @@ msgstr "" "Можно переключаться в окно документа без закрытия окна Менеджер " "фрагментов." -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Tab Trigger" msgstr "Tab Trigger" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3662,7 +3662,7 @@ msgstr "" "Введите tab trigger для фрагмента. Этот текст нужно напечатать до нажатия " "клавиши Tab при вставке фрагмента." -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3672,19 +3672,19 @@ msgstr "" "словом, состоящим только из букв. Если введенный tab trigger невозможен, он " "будет подсвечен красным цветом." -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Shortcut key" msgstr "Комбинация клавиш" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Введите комбинацию клавиш, для вставки фрагмента." -#: C/gedit.xml:1775(title) +#: C/pluma.xml:1775(title) msgid "Editing and Removing Snippets" msgstr "Редактирование и удаление фрагментов" -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." @@ -3692,11 +3692,11 @@ msgstr "" "Для редактирования фрагмента выберите его из списка и отредактируйте. его " "текст и параметры." -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "To rename a snippet, click it again in the list." msgstr "Для переименования фрагмента, щёлкните его в списке." -#: C/gedit.xml:1778(para) +#: C/pluma.xml:1778(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3704,7 +3704,7 @@ msgstr "" "Чтобы восстановить измененные встроенные фрагменты, нажмите " "Revert." -#: C/gedit.xml:1779(para) +#: C/pluma.xml:1779(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3713,11 +3713,11 @@ msgstr "" "Для удаления фрагмента, выберите его в списке и нажмите кнопку " "Удалить. Встроенные фрагменты удалить нельзя." -#: C/gedit.xml:1783(title) +#: C/pluma.xml:1783(title) msgid "Snippet Substitutions" msgstr "Подстановка во фрагментах" -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3727,15 +3727,15 @@ msgstr "" "текст, либо символы пробелов, куда можно будет добавить текст после вставки " "фрагмента в документ." -#: C/gedit.xml:1788(para) +#: C/pluma.xml:1788(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Можно использовать следующие символы-заменители:" -#: C/gedit.xml:1790(term) +#: C/pluma.xml:1790(term) msgid "Tab placeholders" msgstr "Закладки" -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3743,7 +3743,7 @@ msgstr "" "$n устанавливает закладку, где " "n — число больше 1." -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3751,7 +3751,7 @@ msgstr "" "${n:default} устанавливает закладку со значением по умолчанию." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3759,7 +3759,7 @@ msgstr "" "Закладка маркирует место во фрагменте, куда можно добавить текст после " "вставки фрагмента." -#: C/gedit.xml:1795(para) +#: C/pluma.xml:1795(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3771,7 +3771,7 @@ msgstr "" "в позицию следующей закладки. Нумерация закладок и определяет порядок " "переключения между ними." -#: C/gedit.xml:1796(para) +#: C/pluma.xml:1796(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3783,11 +3783,11 @@ msgstr "" "больше нет, клавиша Tab перемещает курсор в конец " "фрагмента, или к концевому символу-заменителю, если таковой имеется." -#: C/gedit.xml:1799(term) +#: C/pluma.xml:1799(term) msgid "Mirror placeholders" msgstr "Зеркала" -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3797,11 +3797,11 @@ msgstr "" "ввести текст лишь однажды и этот текст будет отображен в нескольких местах " "во фрагменте." -#: C/gedit.xml:1804(term) +#: C/pluma.xml:1804(term) msgid "End placeholder" msgstr "Концевой символ-заменитель" -#: C/gedit.xml:1806(para) +#: C/pluma.xml:1806(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3810,33 +3810,33 @@ msgstr "" "$0 определяет концевой символ-заменитель. Позволяет " "завершить работу с фрагментом, оставив курсор в нужной позиции." -#: C/gedit.xml:1809(term) +#: C/pluma.xml:1809(term) msgid "Environmental variables" msgstr "Переменные окружения" -#: C/gedit.xml:1811(para) +#: C/pluma.xml:1811(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "Переменные окружения, такие как $PATH и $HOME могут быть использованы во фрагментах. Вот полный список переменных " "окружения, что могут использоваться:" -#: C/gedit.xml:1813(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1813(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1815(para) +#: C/pluma.xml:1815(para) msgid "The currently selected text." msgstr "Текущий выделенный текст." -#: C/gedit.xml:1818(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1818(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1820(para) +#: C/pluma.xml:1820(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3844,31 +3844,31 @@ msgstr "" "Полное имя текущего документа. Если документ еще не был сохранен, " "возвращается пустая строка." -#: C/gedit.xml:1823(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1823(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1825(para) +#: C/pluma.xml:1825(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "Имя файла без пути, или пустая строка если файл не сохранен." -#: C/gedit.xml:1828(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1828(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1830(para) +#: C/pluma.xml:1830(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "Слово в позиции курсора. Слово будет заменено фрагментом текста." -#: C/gedit.xml:1838(term) +#: C/pluma.xml:1838(term) msgid "Shell placeholders" msgstr "Команды shell" -#: C/gedit.xml:1840(para) +#: C/pluma.xml:1840(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3876,7 +3876,7 @@ msgstr "" "$(cmd) во фрагменте текста " "заменяется результатом выполнения cmd в shell." -#: C/gedit.xml:1841(para) +#: C/pluma.xml:1841(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3889,11 +3889,11 @@ msgstr "" "replaceable> — число больше 1. С помощью $n можно вывод одной команды подать на вход другой." -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Python placeholders" msgstr "Команды Python" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -3903,7 +3903,7 @@ msgstr "" "результатами вычислений cmd в интерпретаторе " "языка python." -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3921,7 +3921,7 @@ msgstr "" "replaceable>,b:cmd>" "" -#: C/gedit.xml:1848(para) +#: C/pluma.xml:1848(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -3929,11 +3929,11 @@ msgstr "" "Для использования переменных в python фрагментах, объявите их как " "global." -#: C/gedit.xml:1857(title) +#: C/pluma.xml:1857(title) msgid "Sort Plugin" msgstr "Модуль сортировки" -#: C/gedit.xml:1858(para) +#: C/pluma.xml:1858(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -3941,7 +3941,7 @@ msgstr "" "Модуль Сортировка упорядочивает выбранные строки " "в по алфавиту." -#: C/gedit.xml:1859(para) +#: C/pluma.xml:1859(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3953,15 +3953,15 @@ msgstr "" "ФайлВосстановить." -#: C/gedit.xml:1862(para) +#: C/pluma.xml:1862(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Чтобы воспользоваться сортировкой выполните следующие действия:" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "Select the lines of text you want to sort." msgstr "Выделите строки для сортировки" -#: C/gedit.xml:1867(para) +#: C/pluma.xml:1867(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -3969,11 +3969,11 @@ msgstr "" "Выберите ПравкаСортировать. Откроется диалог Сортировка." -#: C/gedit.xml:1870(para) +#: C/pluma.xml:1870(para) msgid "Choose the options you want for the sort:" msgstr "Отметьте нужные параметры сортировки:" -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -3981,20 +3981,20 @@ msgstr "" "Чтобы сортировать в обратном порядке, выберите В обратном порядке." -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Для удаления дублирующих строк, отметьте Убирать повторения." -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Чтобы не обращать внимания на регистр символов, выберите " "Игнорировать регистр." -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4004,30 +4004,30 @@ msgstr "" "строк. Для этого воспользуйтесь полем Начинать со столбца." -#: C/gedit.xml:1887(para) +#: C/pluma.xml:1887(para) msgid "To perform the sort operation, click Sort." msgstr "Кнопка Сортировать выполнит сортировку." -#: C/gedit.xml:1894(title) +#: C/pluma.xml:1894(title) msgid "Spell Checker Plugin" msgstr "Модуль проверки орфографии" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Модуль Проверка орфографии проверяет орфографию " -"выделенного текста. Можно настроить gedit на " +"выделенного текста. Можно настроить pluma на " "автоматическую проверку орфографии, либо делать это вручную. Языковые " "настройки и настройки авто-проверки применяются к документу. Для " "использования модуля, следуйте инструкциям:" -#: C/gedit.xml:1897(para) +#: C/pluma.xml:1897(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4039,7 +4039,7 @@ msgstr "" "Установить язык. Выберите нужный язык из списка. " "Щёлкните OK для закрытия диалога." -#: C/gedit.xml:1900(para) +#: C/pluma.xml:1900(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4047,7 +4047,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Для включения автоматической проверки орфографии выберите " @@ -4058,7 +4058,7 @@ msgstr "" "рядом с этим пунктом меню появляется галочка. По умолчанию, авто-проверка " "выключена." -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsВозможные варианты " "позволяет:" -#: C/gedit.xml:1904(para) +#: C/pluma.xml:1904(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4076,7 +4076,7 @@ msgid "" msgstr "" "Заменить слово на другое, предлагаемое из списка, просто щелкнув по нему." -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddВозможные вариантыДобавить." -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Игнорировать все подобные слова. Так слова не будут помечены как " "неизвестные, но и не будут добавлены в ваш персональный словарь. Выберите " "Возможные вариантыИгнорировать " "все. Действует только в пределах текущей сессии " -"gedit." +"pluma." -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4108,7 +4108,7 @@ msgstr "" "Для проверки орфографии вручную, выберите СервисПроверить орфографию." -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4118,7 +4118,7 @@ msgstr "" "Если никаких ошибок найдено не было, будет выведено сообщение: нет ошибочных " "слов." -#: C/gedit.xml:1919(para) +#: C/pluma.xml:1919(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4126,14 +4126,14 @@ msgstr "" "Если же ошибки были встречены, отобразится диалог Проверка " "орфографии:" -#: C/gedit.xml:1922(para) +#: C/pluma.xml:1922(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" "Ошибочное слово будет показано в верхней части диалога." -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4144,7 +4144,7 @@ msgstr "" "написания слова. Можно ввести в это поле свой вариант для замены, либо " "выбрать альтернативу из списка Варианты." -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4158,19 +4158,19 @@ msgstr "" "literal>. Если же слово неизвестно, в списке Варианты " "будут отражены уже варианты его написания." -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Для игнорирования неизвестного слова, нажмите Игнорировать. Чтобы игнорировать все подобные слова, нажмите " "Игнорировать все. Действительно только в пределах " -"текущей сессии gedit." +"текущей сессии pluma." -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeИзменить все." -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4191,7 +4191,7 @@ msgstr "" "Добавить неизвестное слово в свой персональный словарь можно щелкнув по " "кнопке Добавить слово." -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4199,11 +4199,11 @@ msgstr "" "Для закрытия диалога Проверка орфографии щёлкните " "Закрыть." -#: C/gedit.xml:1949(title) +#: C/pluma.xml:1949(title) msgid "Tag List Plugin" msgstr "Модуль списка тегов" -#: C/gedit.xml:1950(para) +#: C/pluma.xml:1950(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4211,11 +4211,11 @@ msgstr "" "Модуль Список тегов позволяет вставлять в " "документ теги из списка в боковой панели." -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Для использования модуля:" -#: C/gedit.xml:1953(para) +#: C/pluma.xml:1953(para) msgid "" "Choose ViewSide Pane." @@ -4223,7 +4223,7 @@ msgstr "" "Выберите ВидБоковая панель." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4232,7 +4232,7 @@ msgstr "" "По умолчанию, в боковой панели отображается вкладка со списком открытых " "документов. Щёлкните вкладку с изображением «+» внизу панели." -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4240,11 +4240,11 @@ msgstr "" "Выберите подходящую категорию тегов из выпадающего списка, например, " "HTML - Теги." -#: C/gedit.xml:1962(para) +#: C/pluma.xml:1962(para) msgid "Scroll through the tag list to find the required tag." msgstr "Можно прокручивать список тегов в поисках нужного." -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4252,7 +4252,7 @@ msgstr "" "Чтобы вставить тег в позицию курсора в текущем файле, дважды щёлкните по " "нужному тегу в списке. Другие способы вставки тегов:" -#: C/gedit.xml:1967(para) +#: C/pluma.xml:1967(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4261,7 +4261,7 @@ msgstr "" "окну редактирования текущего документа, нажмите клавишу Ввод." -#: C/gedit.xml:1970(para) +#: C/pluma.xml:1970(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShiftReturn." -#: C/gedit.xml:1979(title) +#: C/pluma.xml:1979(title) msgid "User Name Plugin" msgstr "Модуль «Имя пользователя»" -#: C/gedit.xml:1980(para) +#: C/pluma.xml:1980(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -4283,7 +4283,7 @@ msgstr "" "Модуль Имя пользователя вставляет имя текущего " "пользователя в документ." -#: C/gedit.xml:1981(para) +#: C/pluma.xml:1981(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User NameПравкаВставить имя пользователя." -#: C/gedit.xml:1983(para) +#: C/pluma.xml:1983(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" "Этот модуль, в основном, служит примером для создания своих собственных " "модулей. Для дополнительной информации смотрите сайт geditсайт pluma." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Салихов Тимур , 2006 - 2009." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "Для дополнительной информации о настройке подсветки смотрите ." +#~ "linkend=\"pluma-prefs-syntax\"/>." #~ msgid "Colors" #~ msgstr "Цвета" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Выберите настройку Использовать исходный набор цветоа, 2006 - 2009." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Щелчок по кнопке Цвет обычного текста позволит " -#~ "выбрать цвет для отрисовки обычного текста в окне geditpluma." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Кнопка Цвет фона позволит установить цвет фона " #~ "текстового окна." diff --git a/help/sv/figures/gedit_window.png b/help/sv/figures/pluma_window.png similarity index 100% rename from help/sv/figures/gedit_window.png rename to help/sv/figures/pluma_window.png diff --git a/help/sv/sv.po b/help/sv/sv.po index 49cff67..9148818 100755 --- a/help/sv/sv.po +++ b/help/sv/sv.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: gedit\n" +"Project-Id-Version: pluma\n" "POT-Creation-Date: 2009-05-17 18:37+0000\n" "PO-Revision-Date: 2009-08-23 23:06+0100\n" "Last-Translator: Daniel Nylander \n" @@ -32,724 +32,724 @@ msgstr "DOKUMENTET OCH MODIFIERADE VERSIONER AV DOKUMENTET TILLHANDAHÅLLS UNDER #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) -msgid "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" -msgstr "@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +#: C/pluma.xml:268(None) +msgid "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +msgstr "@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) -msgid "@@image: 'figures/gedit_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" -msgstr "@@image: 'figures/gedit_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" +#: C/pluma.xml:349(None) +msgid "@@image: 'figures/pluma_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" +msgstr "@@image: 'figures/pluma_recent_files_menu_icon.png'; md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Handbok för Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Handbok för Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) -#: C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) -#: C/gedit.xml:79(orgname) -#: C/gedit.xml:120(para) -#: C/gedit.xml:128(para) -#: C/gedit.xml:136(para) -#: C/gedit.xml:144(para) -#: C/gedit.xml:152(para) -#: C/gedit.xml:160(para) -#: C/gedit.xml:168(para) -#: C/gedit.xml:176(para) -#: C/gedit.xml:184(para) -#: C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) +#: C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) +#: C/pluma.xml:79(orgname) +#: C/pluma.xml:120(para) +#: C/pluma.xml:128(para) +#: C/pluma.xml:136(para) +#: C/pluma.xml:144(para) +#: C/pluma.xml:152(para) +#: C/pluma.xml:160(para) +#: C/pluma.xml:168(para) +#: C/pluma.xml:176(para) +#: C/pluma.xml:184(para) +#: C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE:s dokumentationsprojekt" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) -#: C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) +#: C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) -#: C/gedit.xml:116(date) +#: C/pluma.xml:33(year) +#: C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "Lade till tabell för snabbtangenter" -#: C/gedit.xml:68(firstname) -#: C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) +#: C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System Documentation Team" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) -msgid "Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek tillhandahöll information från tidigare revisioner av programmet gedit." +#: C/pluma.xml:85(surname) +msgid "Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek tillhandahöll information från tidigare revisioner av programmet pluma." -#: C/gedit.xml:86(contrib) -#: C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) +#: C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "Tillkännagivanden" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George tillhandhöll information om insticksmoduler." -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "Handbok för gedit v2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "Handbok för pluma v2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "Mars 2002" -#: C/gedit.xml:127(para) -#: C/gedit.xml:135(para) -#: C/gedit.xml:143(para) -#: C/gedit.xml:151(para) -#: C/gedit.xml:159(para) -#: C/gedit.xml:167(para) -#: C/gedit.xml:175(para) -#: C/gedit.xml:183(para) +#: C/pluma.xml:127(para) +#: C/pluma.xml:135(para) +#: C/pluma.xml:143(para) +#: C/pluma.xml:151(para) +#: C/pluma.xml:159(para) +#: C/pluma.xml:167(para) +#: C/pluma.xml:175(para) +#: C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Suns MATE-dokumentationsteam" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "Handbok för gedit v2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "Handbok för pluma v2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "Juni 2002" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "Handbok för gedit v2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "Handbok för pluma v2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "Augusti 2002" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "Handbok för gedit v2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "Handbok för pluma v2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "September 2002" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "Handbok för gedit v2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "Handbok för pluma v2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "Januari 2003" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "Handbok för gedit v2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "Handbok för pluma v2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "Mars 2003" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "Handbok för gedit v2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "Handbok för pluma v2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "September 2003" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "Handbok för gedit v2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "Handbok för pluma v2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "Mars 2004" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "Handbok för gedit v2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "Handbok för pluma v2.8" -#: C/gedit.xml:189(date) -#: C/gedit.xml:197(date) +#: C/pluma.xml:189(date) +#: C/pluma.xml:197(date) msgid "July 2006" msgstr "Juli 2006" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "Handbok för gedit v2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "Handbok för pluma v2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE-dokumentationsteam" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "Den här handboken beskriver version 2.16 av gedit." +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "Den här handboken beskriver version 2.16 av pluma." -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "Återkoppling" -#: C/gedit.xml:208(para) -msgid "To report a bug or make a suggestion regarding the gedit application or this manual, follow the directions in the MATE Feedback Page." -msgstr "För att rapportera ett fel eller komma med ett förslag angående programmet gedit eller denna handbok, följ instruktionerna på MATE:s återkopplingssida." +#: C/pluma.xml:208(para) +msgid "To report a bug or make a suggestion regarding the pluma application or this manual, follow the directions in the MATE Feedback Page." +msgstr "För att rapportera ett fel eller komma med ett förslag angående programmet pluma eller denna handbok, följ instruktionerna på MATE:s återkopplingssida." -#: C/gedit.xml:213(para) -msgid "gedit is a text editor for the MATE Desktop featuring basic yet robust capabilities such as printing, spell checking, find and replace, and syntax highlighting. More advanced features are available as plugins." -msgstr "gedit är en textredigerare för MATE-skrivbordet som innehåller grundläggande men även kraftiga funktioner såsom utskrifter, stavningskontroll, sök och ersätt samt syntaxmarkering. Mer avancerade funktioner finns tillgängliga som insticksmoduler." +#: C/pluma.xml:213(para) +msgid "pluma is a text editor for the MATE Desktop featuring basic yet robust capabilities such as printing, spell checking, find and replace, and syntax highlighting. More advanced features are available as plugins." +msgstr "pluma är en textredigerare för MATE-skrivbordet som innehåller grundläggande men även kraftiga funktioner såsom utskrifter, stavningskontroll, sök och ersätt samt syntaxmarkering. Mer avancerade funktioner finns tillgängliga som insticksmoduler." -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "textredigerare" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "Introduktion" -#: C/gedit.xml:229(para) -msgid "The gedit application enables you to create and edit text files." -msgstr "Programmet gedit låter dig skapa och redigera textfiler." +#: C/pluma.xml:229(para) +msgid "The pluma application enables you to create and edit text files." +msgstr "Programmet pluma låter dig skapa och redigera textfiler." -#: C/gedit.xml:231(para) -msgid "The aim of gedit is to be a simple and easy to use text editor. More powerful features can be enabled with different plugins, allowing a variety of tasks related to text-editing." -msgstr "Målet med gedit är att vara en enkel och lättanvänd textredigerare. Mer kraftfulla funktioner kan aktiveras med olika insticksmoduler, som erbjuder en mängd funktioner relaterade till textredigering." +#: C/pluma.xml:231(para) +msgid "The aim of pluma is to be a simple and easy to use text editor. More powerful features can be enabled with different plugins, allowing a variety of tasks related to text-editing." +msgstr "Målet med pluma är att vara en enkel och lättanvänd textredigerare. Mer kraftfulla funktioner kan aktiveras med olika insticksmoduler, som erbjuder en mängd funktioner relaterade till textredigering." -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "Komma igång" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "Starta gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "Starta pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "Du kan starta gedit på följande sätt:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "Du kan starta pluma på följande sätt:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "Program-menyn" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "Choose AccessoriesText Editor." msgstr "Välj TillbehörTextredigerare." -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "Kommandorad" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "Kör följande kommando: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "Kör följande kommando: pluma" -#: C/gedit.xml:255(para) -msgid "By default, when you open a text document in the file manager, gedit will start, and display the document." -msgstr "Som standard, när du öppnar ett textdokument i filhanteraren, kommer gedit att starta och visa dokumentet." +#: C/pluma.xml:255(para) +msgid "By default, when you open a text document in the file manager, pluma will start, and display the document." +msgstr "Som standard, när du öppnar ett textdokument i filhanteraren, kommer pluma att starta och visa dokumentet." -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "Gedit-fönstret" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "Pluma-fönstret" -#: C/gedit.xml:261(para) -msgid "When you start gedit, the following window is displayed:" -msgstr "När du startar gedit visas följande fönster:" +#: C/pluma.xml:261(para) +msgid "When you start pluma, the following window is displayed:" +msgstr "När du startar pluma visas följande fönster:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "Gedit-fönstret" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "Pluma-fönstret" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "Visar gedits huvudfönster." +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "Visar plumas huvudfönster." -#: C/gedit.xml:276(para) -msgid "The gedit window contains the following elements:" -msgstr "gedit-fönstret innehåller följande element:" +#: C/pluma.xml:276(para) +msgid "The pluma window contains the following elements:" +msgstr "pluma-fönstret innehåller följande element:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "Menyrad" -#: C/gedit.xml:281(para) -msgid "The menus on the menubar contain all of the commands you need to work with files in gedit." -msgstr "Menyerna på menyraden innehåller alla de kommandon som du behöver för att arbeta med filer i gedit." +#: C/pluma.xml:281(para) +msgid "The menus on the menubar contain all of the commands you need to work with files in pluma." +msgstr "Menyerna på menyraden innehåller alla de kommandon som du behöver för att arbeta med filer i pluma." -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "Verktygsrad" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "The toolbar contains a subset of the commands that you can access from the menubar." msgstr "Verktygsraden innehåller en del av de kommandon som du kan komma åt i menyraden." -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "Visningsrutan" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "Visningsrutan innehåller texten för filer som du redigerar." -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "Statusrad" -#: C/gedit.xml:296(para) -msgid "The statusbar displays information about current gedit activity and contextual information about the menu items. The statusbar also displays the following information:" -msgstr "Statusraden visar information om aktuell aktivitet i gedit och sammanhangsinformation om menyobjekten. Statusraden visar även följande information:" +#: C/pluma.xml:296(para) +msgid "The statusbar displays information about current pluma activity and contextual information about the menu items. The statusbar also displays the following information:" +msgstr "Statusraden visar information om aktuell aktivitet i pluma och sammanhangsinformation om menyobjekten. Statusraden visar även följande information:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "Cursor position: the line number and column number where the cursor is located." msgstr "Markörposition: rad- och kolumnnumret där markören är placerad." -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "Edit mode: If the editor is in insert mode, the statusbar contains the text INS. If the editor is in overwrite mode, the statusbar contains the text OVR. Press the Insert key to change edit mode." msgstr "Redigeringsläge: Om redigeraren är i infogningsläge kommer statusraden att innehålla texten INF. Om redigeraren är i överskrivningsläge kommer statusraden att innehålla texten ÖVR. Tryck på tangenten Insert för att ändra redigeringsläge." -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "Sidopanel" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "The side pane displays a list of open documents, and other information depending on which plugins are enabled." msgstr "Sidopanelen visar en lista över öppnade dokument, och annan information beroende på vilka insticksmoduler som är aktiverade." -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "By default the side pane is not shown. To show it, choose ViewSide Pane." msgstr "Som standard visas inte sidopanelen. Välj VisaSidopanel för att visa den." -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "Underpanelen" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "The bottom pane is used by programming tools such as the Python Console plugin to display output." msgstr "Underpanelen används av programmeringsverktyg, som till exempel insticksmodulen Python-konsoll, för att visa utdata." -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "By default the bottom pane is not shown. To show it, choose ViewBottom Pane." msgstr "Som standard visas inte underpanelen. Välj VisaUnderpanel för att visa den." -#: C/gedit.xml:320(para) -msgid "When you right-click in the gedit window, the application displays a popup menu. The popup menu contains the most common text editing commands." -msgstr "När du högerklickar i gedit-fönstret kommer programmet att visa en popup-meny. Popup-menyn innehåller de mest vanliga textredigeringskommandona." +#: C/pluma.xml:320(para) +msgid "When you right-click in the pluma window, the application displays a popup menu. The popup menu contains the most common text editing commands." +msgstr "När du högerklickar i pluma-fönstret kommer programmet att visa en popup-meny. Popup-menyn innehåller de mest vanliga textredigeringskommandona." -#: C/gedit.xml:322(para) -msgid "Like other MATE applications, actions in gedit can be performed in several ways: with the menu, with the toolbar, or with shortcut keys. Shortcuts keys common to all applications are listed in the User Guide." -msgstr "Precis som andra MATE-program kan åtgärder i gedit genomföras på flera olika sätt: med menyn, med verktygsraden, eller med snabbtangenter. Vanliga snabbtangenter för samtliga program listas i Användarguiden." +#: C/pluma.xml:322(para) +msgid "Like other MATE applications, actions in pluma can be performed in several ways: with the menu, with the toolbar, or with shortcut keys. Shortcuts keys common to all applications are listed in the User Guide." +msgstr "Precis som andra MATE-program kan åtgärder i pluma genomföras på flera olika sätt: med menyn, med verktygsraden, eller med snabbtangenter. Vanliga snabbtangenter för samtliga program listas i Användarguiden." -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "Kör gedit från en kommandorad" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "Kör pluma från en kommandorad" -#: C/gedit.xml:328(para) -msgid "You can run gedit from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return:" -msgstr "Du kan köra gedit från en kommandorad och öppna en eller flera filer. För att öppna flera filer från en kommandorad, ange följande kommando och tryck sedan Return:" +#: C/pluma.xml:328(para) +msgid "You can run pluma from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return:" +msgstr "Du kan köra pluma från en kommandorad och öppna en eller flera filer. För att öppna flera filer från en kommandorad, ange följande kommando och tryck sedan Return:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "fil1.txt fil2.txt fil3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Alternativt kan du ange en uri istället för ett filnamn." -#: C/gedit.xml:331(para) -msgid "For more information on how to run gedit from a command line, see the unix manual page for gedit, gedit1." -msgstr "För mer information om hur man kör gedit från en kommandorad, se Unix-manualsidan för gedit, gedit1." +#: C/pluma.xml:331(para) +msgid "For more information on how to run pluma from a command line, see the unix manual page for pluma, pluma1." +msgstr "För mer information om hur man kör pluma från en kommandorad, se Unix-manualsidan för pluma, pluma1." -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "Arbeta med filer" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "Skapa ett nytt dokument" -#: C/gedit.xml:341(para) -msgid "To create a new document, choose FileNew. The application displays a new blank document in the gedit window." -msgstr "För att skapa ett nytt dokument, välj ArkivNy. Programmet visar ett blankt dokument i gedit-fönstret." +#: C/pluma.xml:341(para) +msgid "To create a new document, choose FileNew. The application displays a new blank document in the pluma window." +msgstr "För att skapa ett nytt dokument, välj ArkivNy. Programmet visar ett blankt dokument i pluma-fönstret." -#: C/gedit.xml:346(title) -#: C/gedit.xml:1589(title) +#: C/pluma.xml:346(title) +#: C/pluma.xml:1589(title) msgid "Opening a File" msgstr "Öppna en fil" -#: C/gedit.xml:347(para) -msgid "To open a file, choose FileOpen to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit window." -msgstr "För att öppna en fil, välj ArkivÖppna för att visa dialogrutan Öppna fil. Välj filen som du vill öppna och klicka sedan på Öppna. Filen visas i gedit-fönstret." +#: C/pluma.xml:347(para) +msgid "To open a file, choose FileOpen to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the pluma window." +msgstr "För att öppna en fil, välj ArkivÖppna för att visa dialogrutan Öppna fil. Välj filen som du vill öppna och klicka sedan på Öppna. Filen visas i pluma-fönstret." -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "Visar menyikonen Senaste filer" -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the icon on the toolbar to display the list of recent files." msgstr "Programmet sparar information om sökvägar och filnamn för de fem senaste filerna som du redigerat och visar filerna som menyobjekt i menyn Arkiv. Du kan även klicka på ikonen på verktygsraden för att visa listan över de senaste filerna." -#: C/gedit.xml:351(para) -msgid "You can open multiple files in gedit. The application adds a tab for each open file to the window. For more on this see ." -msgstr "Du kan öppna flera filer i gedit. Programmet lägger till en flik i fönstret för varje öppnad fil. För mer information om detta, se ." +#: C/pluma.xml:351(para) +msgid "You can open multiple files in pluma. The application adds a tab for each open file to the window. For more on this see ." +msgstr "Du kan öppna flera filer i pluma. Programmet lägger till en flik i fönstret för varje öppnad fil. För mer information om detta, se ." -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "Spara en fil" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "Du kan spara filer på följande sätt:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "To save changes to an existing file, choose FileSave." msgstr "För att spara ändringar till en befintlig fil, välj ArkivSpara." -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "To save a new file or to save an existing file under a new filename, choose FileSave As. Enter a name for the file in the Save As dialog, then click Save." msgstr "För att spara en ny fil eller att spara en befintlig fil under ett nytt filnamn, välj ArkivSpara som. Ange ett namn för filen i dialogrutan Spara som, klicka sedan på Spara." -#: C/gedit.xml:364(para) -msgid "To save all of the files that are currently open in gedit, choose DocumentsSave All." -msgstr "För att spara alla filerna som för närvarande är öppnade i gedit, välj DokumentSpara alla." +#: C/pluma.xml:364(para) +msgid "To save all of the files that are currently open in pluma, choose DocumentsSave All." +msgstr "För att spara alla filerna som för närvarande är öppnade i pluma, välj DokumentSpara alla." -#: C/gedit.xml:367(para) -msgid "To close all of the files that are currently open in gedit, choose DocumentsClose All." -msgstr "För att stänga alla filerna som för närvarande är öppnade i gedit, välj DokumentStäng alla." +#: C/pluma.xml:367(para) +msgid "To close all of the files that are currently open in pluma, choose DocumentsClose All." +msgstr "För att stänga alla filerna som för närvarande är öppnade i pluma, välj DokumentStäng alla." -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "Öppna en fil från en uri" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "To open a file from a Uniform Resource Identifier (URI), perform the following steps:" msgstr "Genomför följande steg för att öppna en fil från en Uniform Resource Identifier (URI):" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "Choose FileOpen Location to display the Open Location dialog." msgstr "Välj ArkivÖppna plats för att visa dialogrutan Öppna plats." -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "Ange uri:n för filen som du vill öppna." -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "Use the Character coding drop-down list to select the appropriate character coding." msgstr "Använd rullgardinsmenyn Teckenkodning för att välja lämplig teckenkodning." -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "Klicka på Öppna." -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "Valid types of URI include http:, ftp:, file:, and all of the methods supported by mate-vfs." msgstr "Giltiga typer av uri inkluderar http:, ftp:, file:, och alla de metoder som stöds av mate-vfs." -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files." msgstr "Filer från vissa typer av uri:er öppnas skrivskyddade, och alla ändringar du gör måste sparas på en annan plats. HTTP tillåter endast filer att bli lästa. Filer öppnade från en FTP-server är skrivskyddade på grund av att inte alla FTP-servrar fungerar korrekt när man sparar fjärrfiler." -#: C/gedit.xml:390(para) -msgid "Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/gedit-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors." -msgstr "Skrivning till FTP-servrar kan aktiveras med Konfigurationsredigerare, ställ in nyckeln /apps/gedit-2/preferences/editor/save/writable_vfs_schemes, men det kan orsaka fel." +#: C/pluma.xml:390(para) +msgid "Saving to FTP servers can be enabled with Configuration Editor, setting the key /apps/pluma-2/preferences/editor/save/writable_vfs_schemes, but this may cause errors." +msgstr "Skrivning till FTP-servrar kan aktiveras med Konfigurationsredigerare, ställ in nyckeln /apps/pluma-2/preferences/editor/save/writable_vfs_schemes, men det kan orsaka fel." -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "Arbeta med flikar" -#: C/gedit.xml:397(para) -msgid "When more than one file is open, gedit shows a tab for each document above the display area. To switch to another document, click on its tab." -msgstr "När fler än en fil är öppnade, visar gedit en flik för varje dokument ovanför visningsrutan. Klicka på fliken för att växla till dokumentet." +#: C/pluma.xml:397(para) +msgid "When more than one file is open, pluma shows a tab for each document above the display area. To switch to another document, click on its tab." +msgstr "När fler än en fil är öppnade, visar pluma en flik för varje dokument ovanför visningsrutan. Klicka på fliken för att växla till dokumentet." -#: C/gedit.xml:398(para) -msgid "To move a document to another gedit window, drag the tab corresponding to the file to the window you want to move it to." -msgstr "För att flytta ett dokument till ett annat gedit-fönster, dra fliken som motsvarar filen till det fönster som du vill flytta det till." +#: C/pluma.xml:398(para) +msgid "To move a document to another pluma window, drag the tab corresponding to the file to the window you want to move it to." +msgstr "För att flytta ett dokument till ett annat pluma-fönster, dra fliken som motsvarar filen till det fönster som du vill flytta det till." -#: C/gedit.xml:399(para) -msgid "To move a document to a new gedit window, either drag its tab to the desktop, or choose DocumentsMove to New Window." -msgstr "För att flytta ett dokument till ett nytt gedit-fönster, antingen dra dess flik till skrivbordet eller välj DokumentFlytta till nytt fönster." +#: C/pluma.xml:399(para) +msgid "To move a document to a new pluma window, either drag its tab to the desktop, or choose DocumentsMove to New Window." +msgstr "För att flytta ett dokument till ett nytt pluma-fönster, antingen dra dess flik till skrivbordet eller välj DokumentFlytta till nytt fönster." -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "Arbeta med text" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "Redigera text" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "Du kan redigera texten för en fil på följande sätt:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the arrow keys on the keyboard or click with the mouse." msgstr "Skriv in ny text med tangentbordet. Den blinkande inmatningsmarkören markerar var den nya texten dyker upp. För att ändra det här, använd piltangenterna på tangentbordet eller klicka med musen." -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "To copy the selected text to the clipboard, choose EditCopy." msgstr "För att kopiera den markerade texten till urklipp, välj RedigeraKopiera." -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "To delete the selected text from the file and move the selected text to the clipboard, choose EditCut." msgstr "För att ta bort den markerade texten från en fil och flytta den till urklipp, välj RedigeraKlipp ut." -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "To permanently delete the selected text from the file, choose EditDelete." msgstr "För att permanent ta bort den markerade texten från filen, välj RedigeraTa bort." -#: C/gedit.xml:420(para) -msgid "To insert the contents of the clipboard at the cursor position, choose EditPaste. You must cut or copy text before you can paste text into the file, either from gedit or another application." -msgstr "För att infoga innehållet i urklipp vid markörens position, välj RedigeraKlistra in. Du måste klipp ut eller kopiera text innan du kan klistra in i filen, antingen från gedit eller från något annat program." +#: C/pluma.xml:420(para) +msgid "To insert the contents of the clipboard at the cursor position, choose EditPaste. You must cut or copy text before you can paste text into the file, either from pluma or another application." +msgstr "För att infoga innehållet i urklipp vid markörens position, välj RedigeraKlistra in. Du måste klipp ut eller kopiera text innan du kan klistra in i filen, antingen från pluma eller från något annat program." -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "To select all of the text in a file, choose EditSelect All." msgstr "För att markera all text i en fil, välj RedigeraMarkera allt." -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "Ångra och gör om ändringar" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "To undo a change you have made, choose EditUndo. To reverse this action, choose EditRedo." msgstr "För att ångra en ändring du har gjort, välj RedigeraÅngra. För att omvända denna åtgärd, välj RedigeraGör om." -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "Hitta och ersätta" -#: C/gedit.xml:436(para) -msgid "In gedit, there are two ways of searching for text. You can use the Find dialog to search for a specific piece of text, or Incremental Search to highlight matching text as you type it." -msgstr "I gedit finns det två sätt att söka efter text på. Du kan använda dialogrutan Sök för att söka efter en specifik text, eller Interaktiv sökning för att färgmarkera matchande text under tiden du skriver in den." +#: C/pluma.xml:436(para) +msgid "In pluma, there are two ways of searching for text. You can use the Find dialog to search for a specific piece of text, or Incremental Search to highlight matching text as you type it." +msgstr "I pluma finns det två sätt att söka efter text på. Du kan använda dialogrutan Sök för att söka efter en specifik text, eller Interaktiv sökning för att färgmarkera matchande text under tiden du skriver in den." -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "Hitta text" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Genomför följande steg för att söka i en fil efter en textsträng:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "Choose SearchFind to display the Find dialog." msgstr "Välj SökSök för att visa dialogrutan Sök." -#: C/gedit.xml:446(para) -msgid "Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see ." -msgstr "Skriv in strängen som du vill söka efter i fältet Sök efter. Du kan inkludera specialtecken såsom en ny rad eller tabulatortecken: se ." +#: C/pluma.xml:446(para) +msgid "Type the string that you want to find in the Search for field. You can include special characters such as a new line or tab: see ." +msgstr "Skriv in strängen som du vill söka efter i fältet Sök efter. Du kan inkludera specialtecken såsom en ny rad eller tabulatortecken: se ." -#: C/gedit.xml:448(para) -msgid "Click Find to search the file for the first occurrence of the string after your current cursor position. If gedit finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted." -msgstr "Klicka på Sök för att söka igenom filen efter första förekomsten av strängen efter den nuvarande markörpositionen. Om gedit hittar strängen, väljer programmet den första förekomsten av strängen. Andra förekomster av strängen kommer att färgmarkeras." +#: C/pluma.xml:448(para) +msgid "Click Find to search the file for the first occurrence of the string after your current cursor position. If pluma finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted." +msgstr "Klicka på Sök för att söka igenom filen efter första förekomsten av strängen efter den nuvarande markörpositionen. Om pluma hittar strängen, väljer programmet den första förekomsten av strängen. Andra förekomster av strängen kommer att färgmarkeras." -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "To find the next occurrence of the string, click Find or choose SearchFind Next. To find the previous occurrence of the text, choose SearchFind Previous." msgstr "För att söka efter nästa förekomst av strängen, klicka på Sök eller välj SökSök nästa. För att söka efter föregående förekomst av texten, välj SökSök föregående." -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "After you have closed the Find dialog, you can still move the selection to other occurrences of the text by choosing SearchFind Next and SearchFind Previous." msgstr "Efter att du har stängt dialogrutan Sök kan du fortfarande flytta markeringen till andra förekomster av texten genom att välja SökSök nästa och SökSök föregående." -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "To remove the highlighting from the text, choose SearchClear Highlight." msgstr "För att ta bort färgmarkeringen från texten, välj SökRensa färgmarkeringsläge." -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "Interaktiv sökning" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.)" msgstr "Interaktiv sökning färgmarkerar matchande text i dokumentet när du skriver in den, bokstav för bokstav. (Det här liknar sökfunktionen i flera webbläsare.)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "To start an incremental search, choose SearchIncremental Search. The search box appears at the top of the display area." msgstr "För att påbörja en interaktiv sökning, välj SökInteraktiv sökning. Sökrutan visas i överkanten av visningsrutan." -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "Begin typing, and text that matches will be highlighted in the document. The first instance after the cursor position is also selected." msgstr "Börja att skriva in text. Den text som matchas kommer att färgmarkeras i dokumentet. Första förekomsten efter markörpositionen kommer också att markeras." -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "To advance the selection to the next match while keeping the incremental search box open, press CtrlG. Press CtrlShiftG to go back to the previous match." msgstr "För att flytta fram markeringen till nästa sökträff samtidigt som den interaktiva sökrutan är öppen, tryck CtrlG. Tryck CtrlSkiftG för att gå tillbaka till föregående sökträff." -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "You can also use the up and down arrow keys or the mouse wheel to move the selection between matches." msgstr "Du kan också använda uppåt- och nedåtpiltangenterna eller mushjulet för att flytta markeringen mellan sökträffar." -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "Ersätt text" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "To search a file for a string, and replace the string with an alternative string, perform the following steps:" msgstr "Genomför följande steg för att söka i en fil efter en sträng och ersätta strängen med en alternativ sträng:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "Choose SearchReplace to display the Replace dialog." msgstr "Välj SökErsätt för att visa dialogrutan Ersätt." -#: C/gedit.xml:475(para) -msgid "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see ." -msgstr "Skriv strängen som du vill söka efter i fältet Sök efter. Du kan inkludera specialtecken såsom en ny rad eller tabulatortecken: se ." +#: C/pluma.xml:475(para) +msgid "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or tab: see ." +msgstr "Skriv strängen som du vill söka efter i fältet Sök efter. Du kan inkludera specialtecken såsom en ny rad eller tabulatortecken: se ." -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "Type the string that you want to use to replace the string that you find, in the Replace with field." msgstr "Skriv in strängen som du vill använda för att ersätta strängen som du söka efter i fältet Ersätt med." -#: C/gedit.xml:480(para) -msgid "To examine each occurrence of the string before replacing it, click Find. If gedit finds the string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the next occurrence of the string, click Find again." -msgstr "För att granska varje förekomst av strängen innan den ersätts, klicka på Sök. Om gedit hittar strängen, kommer programmet att markera strängen. Klicka på Ersätt för att ersätta den markerade förekomsten av strängen. För att söka efter nästa förekomst av strängen, klicka på Sök igen." +#: C/pluma.xml:480(para) +msgid "To examine each occurrence of the string before replacing it, click Find. If pluma finds the string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the next occurrence of the string, click Find again." +msgstr "För att granska varje förekomst av strängen innan den ersätts, klicka på Sök. Om pluma hittar strängen, kommer programmet att markera strängen. Klicka på Ersätt för att ersätta den markerade förekomsten av strängen. För att söka efter nästa förekomst av strängen, klicka på Sök igen." -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "To replace all occurrences of the string throughout the document, click Replace All." msgstr "För att ersätta alla förekomster av strängen genom hela dokumentet, klicka på Ersätt alla." -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "Alternativ för att söka och ersätta" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "The Find dialog and the Replace dialog both have the following options:" msgstr "Dialogrutorna Sök och Ersätt har båda följande alternativ:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "Select the Match case option to only find occurrences of the string that match the case of the text that you type. For example, with Match case selected, \"TEXT\" will not match \"text\"." msgstr "Välj alternativet Gör skillnad på gemener/VERSALER för att endast söka efter förekomster av strängen som matchar skiftläget för texten som du anger. Till exempel om Gör skillnad på gemener/VERSALER har valts kommer \"TEXT\" inte att matcha \"text\"." -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "Select the Match entire word only option to only find occurrences of the string that match the entire words of the text that you type. For example, with Match entire word only selected, \"text\" will not match \"texture\"." msgstr "Välj alternativet Sök endast hela ord för att endast söka efter förekomster av strängen som matchar hela ord av texten som du anger. Till exempel om Sök endast hela ord har valts kommer \"text\" inte att matcha \"textur\"." -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "Select the Search backwards option to search backwards towards the beginning of the document." msgstr "Välj alternativet Sök bakåt för att söka bakåt mot början av dokumentet." -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "Select the Wrap around option to search to one end of the document and then continue the search from the other end of the file." msgstr "Välj alternativet Börja om från början för att söka mot slutet av dokumentet och sedan fortsätta från början av filen." -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "Specialtecken" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "You can include the following escape sequences in the text to find or replace to represent special characters:" msgstr "Du kan inkludera följande specialtecken i texten för att hitta eller ersätta för visade specialtecken." -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "Anger en ny rad." -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "Anger ett tabulatortecken." -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "Anger en vagnretur." -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. For example, if you are looking for the \"\\n" "\" literal, you will have to type \"\\\\n" @@ -759,2027 +759,2027 @@ msgstr "" "\", så måste du ange \"\\\\n" "\" i fältet Sök efter. Om du letar efter en sekvens av backsteg så måste du dubbla antalet eftersökta backstegstecken." -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Positionera markören på en specifik rad" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "To position the cursor on a specific line in the current file, choose SearchGo to Line. The line number box appears at the top of the display area." msgstr "För att positionera markören på en specifik rad i den aktuella filen kan du välja SökGå till rad. Radnumret visas i en ruta i överkant av visningsrutan." -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "Begin typing the number of the line that you want to move the cursor to and the document will scroll to the specified line." msgstr "Börja att skriva in numret på raden som du vill flytta markören till och dokumentet kommer att rulla fram till den angivna raden." -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "To dismiss the box and move the cursor to the specified line, press Return." msgstr "Tryck på Return för att stänga rutan och flytta markören till den angivna raden." -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "Utskrifter" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "Ställ in sidalternativen" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "To set the page options, choose FilePage Setup to display the Page Setup dialog." msgstr "För att ställa in sidalternativ, välj ArkivSidkonfiguration för att visa dialogrutan Sidkonfiguration." -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "The Page Setup dialog enables you to specify the following print options:" msgstr "Dialogrutan Sidkonfiguration låter dig ange följande utskriftsalternativ:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "Fliksektionen Allmänt" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "Skriv ut syntaxmarkering" -#: C/gedit.xml:563(para) -msgid "Select this option to print syntax highlighting. For more information about syntax highlighting, see ." -msgstr "Välj det här alternativet för att skriva ut syntaxmarkering. För mer information om syntaxmarkering, se ." +#: C/pluma.xml:563(para) +msgid "Select this option to print syntax highlighting. For more information about syntax highlighting, see ." +msgstr "Välj det här alternativet för att skriva ut syntaxmarkering. För mer information om syntaxmarkering, se ." -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "Skriv ut sidhuvud" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "Select this option to include a header on each page that you print. You cannot configure the header." msgstr "Välj det här alternativet för att inkludera ett sidhuvud på varje sida som du skriver ut. Du kan inte konfigurera sidhuvudet." -#: C/gedit.xml:571(guilabel) -#: C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) +#: C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "Radnummer" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "Select the Print line numbers option to include line numbers when you print a file." msgstr "Välj alternativet Skriv ut radnummer för att inkludera radnummer när du skriver ut en fil." -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "Use the Number every ... lines spin box to specify how often to print the line numbers, for example every 5 lines, every 10 lines, and so on." msgstr "Använd snurrväljaren Tal var ... rad för att ange hur ofta radnumren ska skrivas ut, till exempel var 5:e rad, var 10:e rad, och så vidare." -#: C/gedit.xml:578(guilabel) -#: C/gedit.xml:1168(guilabel) -#: C/gedit.xml:1685(para) +#: C/pluma.xml:578(guilabel) +#: C/pluma.xml:1168(guilabel) +#: C/pluma.xml:1685(para) msgid "Text Wrapping" msgstr "Textradbrytning" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "Select the Enable text wrapping option to wrap text onto the next line, at a character level, when you print a file. The application counts wrapped lines as one line for line numbering purposes." msgstr "Välj alternativet Aktivera textradbrytning för att radbryta text till nästa rad, på teckennivå, när du skriver ut en fil. Programmet räknar radbrytna rader som en rad för radnumreringens skull." -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "Select the Do not split words over two lines option to wrap text onto the next line, at a word level, when you print a file." msgstr "Välj alternativet Dela inte ord över två rader för att radbryta text till nästa rad, på ordnivå, när du skriver ut en fil." -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "Typsnitt" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "Text" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "Click on this button to select the font to use to print the body text of a file." msgstr "Klicka på den här knappen för att välja typsnittet att använda för att skriva ut huvudtexten för en fil." -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "Radnummer" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "Klicka på den här knappen för att välja typsnittet att använda för att skriva ut radnummer." -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "Sidhuvuden och sidfötter" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "Click on this button to select the font to use to print the headers and footers in a file." msgstr "Klicka på den här knappen för att välja typsnittet att använda för att skriva ut sidhuvuden och sidfötter i en fil." -#: C/gedit.xml:609(para) -msgid "To reset the fonts to the default fonts for printing a file from gedit, click Restore Default Fonts." -msgstr "För att återställa typsnitten till standardvärden för utskrift av en fil från gedit, klicka på Återställ standardtypsnitt." +#: C/pluma.xml:609(para) +msgid "To reset the fonts to the default fonts for printing a file from pluma, click Restore Default Fonts." +msgstr "För att återställa typsnitten till standardvärden för utskrift av en fil från pluma, klicka på Återställ standardtypsnitt." -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "Skriv ut ett dokument" -#: C/gedit.xml:617(para) -msgid "You can use gedit to perform the following print operations:" -msgstr "Du kan använda gedit för att genomföra följande utskriftsåtgärder:" +#: C/pluma.xml:617(para) +msgid "You can use pluma to perform the following print operations:" +msgstr "Du kan använda pluma för att genomföra följande utskriftsåtgärder:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "Skriva ut ett dokument till en skrivare." -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "Skriva ut utdata för utskriftskommandot till en fil." -#: C/gedit.xml:624(para) -msgid "If you print to a file, gedit sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF)." -msgstr "Om du skriver ut till en fil, skickar gedit utdata för filen till en förtryckningsformaterad fil. De mest vanliga förtryckningsformaten är PostScript och Portable Document Format (PDF)." +#: C/pluma.xml:624(para) +msgid "If you print to a file, pluma sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF)." +msgstr "Om du skriver ut till en fil, skickar pluma utdata för filen till en förtryckningsformaterad fil. De mest vanliga förtryckningsformaten är PostScript och Portable Document Format (PDF)." -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "To preview the pages that you want to print, choose FilePrint Preview." msgstr "För att förhandsvisa sidorna som du vill skriva ut, välj ArkivFörhandsgranska utskrift." -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "To print the current file to a printer or a file, choose FilePrint to display the Print dialog." msgstr "För att skriva ut den aktuella filen till en skrivare eller till en fil, välj ArkivSkriv ut för att visa dialogrutan Skriv ut." -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "The Print dialog enables you to specify the following print options:" msgstr "Dialogrutan Skriv ut låter dig ange följande utskriftsalternativ:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "Fliksektionen Jobb" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "Sidintervall" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "Select one of the following options to determine how many pages to print:" msgstr "Välj en av följande åtgärder för att bestämma hur många sidor som ska skrivas ut:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "Alla" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "Välj detta alternativ för att skriva ut alla sidorna i filen." -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "Rader" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "Select this option to print the specified lines only. Use the From and To spin boxes to specify the line range." msgstr "Välj detta alternativ för att endast skriva ut de angivna raderna. Använd väljaren för Från och Till för att ange radintervallet." -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "Markering" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "Select this option to print the selected text only. This option is only available if you select text." msgstr "Välj det här alternativet för att endast skriv ut den markerade texten. Detta alternativ finns endast tillgängligt om du har markerat text." -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "Kopior" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "Use the Number of copies spin box to specify the number of copies of the file that you want to print." msgstr "Använd väljaren Antal kopior för att ange antalet kopior av filen som du vill skriva ut." -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "If you print multiple copies of the file, select the Collate option to collate the printed copies." msgstr "Om du skriver ut flera kopior av filen, välj alternativet Sortera för att sortera de utskrivna kopiorna." -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "Fliksektionen Skrivare" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "Skrivare" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "Use this drop-down list to select the printer to which you want to print the file." msgstr "Använd den här rullgardinslistan för att välja skrivaren till vilken du vill skriva ut filen." -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "Inställningar" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "Använd den här rullgardinslistan för att välja utskriftsinställningarna." -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "To configure the printer, click Configure. For example, you can enable or disable duplex printing, or schedule delayed printing, if this functionality is supported by the printer." msgstr "För att konfigurera skrivaren, klicka på Konfigurera. Till exempel kan du aktivera eller inaktivera dubbelsidig utskrift, eller schemalägga utskriften, om den här funktionaliteten stöds av skrivaren." -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "Plats" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "Use this drop-down list to select one of the following print destinations:" msgstr "Använd den här rullgardinslistan för att välja ett av följande utskriftsmål:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "Skriv ut filen till en CUPS-skrivare." -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "If the selected printer is a CUPS printer, CUPS is the only entry in this drop-down list." msgstr "Om den valda skrivaren är en CUPS-skrivare, kommer CUPS att vara den enda posten i den här rullgardinslistan." -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "Skriv ut filen till en skrivare." -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "Fil" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "Skriv ut filen till en PostScript-fil." -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "Click Save As to display a dialog where you specify the name and location of the PostScript file." msgstr "Klicka på Spara som för att visa en dialogruta där du anger namnet och platsen för PostScript-filen." -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "Anpassad" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "Använd det angivna kommandot för att skriva ut filen." -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "Type the name of the command in the text box. Include all command-line arguments." msgstr "Skriv in namnet på kommandot i textrutan. Inkludera alla kommandoradsargument." -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "Tillstånd" -#: C/gedit.xml:734(para) -#: C/gedit.xml:740(para) -#: C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Den här funktionaliteten stöds inte av den här versionen av gedit." +#: C/pluma.xml:734(para) +#: C/pluma.xml:740(para) +#: C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Den här funktionaliteten stöds inte av den här versionen av pluma." -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "Typ" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "Kommentar" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "Fliksektionen Papper" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "Pappersstorlek" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "Use this drop-down list to select the size of the paper to which you want to print the file." msgstr "Använd den här rullgardinslistan för att välja storleken på pappret till vilket du vill skriva ut filen." -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "Bredd" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "Use this spin box to specify the width of the paper. Use the adjacent drop-down list to change the measurement unit." msgstr "Använd den här snurrväljaren för att ange bredden på pappret. Använd den närliggande rullgardinslistan för att ändra mätenhet." -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "Höjd" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "Använd den här snurrväljaren för att ange höjden på pappret." -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "Matningsorientering" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "Use this drop-down list to select the orientation of the paper in the printer." msgstr "Använd den här rullgardinslistan för att välja orienteringen på pappret i skrivaren." -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "Sidorientering" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "Använd den här rullgardinslistan för att välja sidorienteringen." -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "Layout" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "Use this drop-down list to select the page layout. A preview of each layout that you select is displayed in the Preview area." msgstr "Använd den här rullgardinslistan för att välja sidlayouten. En förhandsvisning för varje layout som du kan välja visas i rutan Förhandsgranska." -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "Pappersfack" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "Använd den här rullgardinslistan för att välja pappersfack." -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "Programmeringsfunktioner" -#: C/gedit.xml:801(para) -msgid "Several of gedit's features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see ." -msgstr "Flera programmeringsfunktioner i gedit tillhandahålls med hjälp av insticksmoduler. Till exempel tillhandahåller insticksmodulen Tagglista en lista över vanligen använda taggar för olika markup-språk: se ." +#: C/pluma.xml:801(para) +msgid "Several of pluma's features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see ." +msgstr "Flera programmeringsfunktioner i pluma tillhandahålls med hjälp av insticksmoduler. Till exempel tillhandahåller insticksmodulen Tagglista en lista över vanligen använda taggar för olika markup-språk: se ." -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "Syntaxmarkering" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "Syntax highlighting makes source code easier to read by showing different parts of the text in different colors." msgstr "Syntaxmarkering gör det lättare att läsa källkod genom att visa olika delar av texten i olika färger." -#: C/gedit.xml:808(para) -msgid "gedit chooses an appropriate syntax highlighting mode based on a document's type. To override the syntax highlighting mode, choose ViewHighlight Mode, then choose one of the following menu items:" -msgstr "gedit väljer ett lämpligt syntaxmarkeringsläge baserat på dokumenttypen. För att åsidosätta syntaxmarkeringsläget, välj VisaFärgmarkeringsläge och välj sedan ett av följande menyobjekt:" +#: C/pluma.xml:808(para) +msgid "pluma chooses an appropriate syntax highlighting mode based on a document's type. To override the syntax highlighting mode, choose ViewHighlight Mode, then choose one of the following menu items:" +msgstr "pluma väljer ett lämpligt syntaxmarkeringsläge baserat på dokumenttypen. För att åsidosätta syntaxmarkeringsläget, välj VisaFärgmarkeringsläge och välj sedan ett av följande menyobjekt:" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "Normal" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "Visa inte någon syntaxmarkering." -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "Källkoder" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "Display syntax highlighting to edit source code. Use the Sources submenu to select the source code type." msgstr "Visa syntaxmarkering för att redigera källkod. Använd undermenyn Källkoder för att välja källkodstypen." -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "Märkning" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "Visa syntaxmarkering för att redigera märkningskod. Använd undermenyn Märkning för att välja märkningskodtypen." -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "Skript" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "Display syntax highlighting to edit script code. Use the Scripts submenu to select the script code type." msgstr "Visa syntaxmarkering för att redigera skriptkod. Använd undermenyn Skript för att välja skriptkodtypen." -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "Andra" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "Display syntax highlighting to edit other types of code. Use the Others submenu to select the code type." msgstr "Visa syntaxmarkering för att redigera andra typer av kod. Använd undermenyn Andra för att välja kodtypen." -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "Omdirigera utdata för ett kommando till en fil" -#: C/gedit.xml:846(para) -msgid "You can use gedit to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | gedit, then press Return." -msgstr "Du kan använda gedit för att omdirigera utdata från ett kommando till en textfil. För att till exempel omdirigera utdata för kommandot ls till en textfil, skriv ls | gedit och tryck på Return." +#: C/pluma.xml:846(para) +msgid "You can use pluma to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | pluma, then press Return." +msgstr "Du kan använda pluma för att omdirigera utdata från ett kommando till en textfil. För att till exempel omdirigera utdata för kommandot ls till en textfil, skriv ls | pluma och tryck på Return." -#: C/gedit.xml:847(para) -msgid "The output of the ls command is displayed in a new text file in the gedit window." -msgstr "Utdata från kommandot ls visas i en ny textfil i gedit-fönstret." +#: C/pluma.xml:847(para) +msgid "The output of the ls command is displayed in a new text file in the pluma window." +msgstr "Utdata från kommandot ls visas i en ny textfil i pluma-fönstret." -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "Alternatively, you can use the External tools plugin to pipe command output to the current file." msgstr "Alternativt kan du använda insticksmodulen Externa verktyg för att omdirigera kommandoutdata till den aktuella filen." -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "Snabbtangenter" -#: C/gedit.xml:855(para) -msgid "Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of gedit's shortcut keys." -msgstr "Använd snabbtangenter för att genomföra vanliga uppgifter på ett snabbare sätt än med musen och menyerna. Följande tabell listar alla snabbtangenter i gedit." +#: C/pluma.xml:855(para) +msgid "Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of pluma's shortcut keys." +msgstr "Använd snabbtangenter för att genomföra vanliga uppgifter på ett snabbare sätt än med musen och menyerna. Följande tabell listar alla snabbtangenter i pluma." -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "For more on shortcut keys, see the Desktop User Guide." msgstr "För mer information om snabbtangenter, se Användarguide för skrivbordet." #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) -#: C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) +#: C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "Tabulatorer" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "Snabbtangenter för flikar:" -#: C/gedit.xml:868(para) -#: C/gedit.xml:912(para) -#: C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) -#: C/gedit.xml:1044(para) -#: C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) +#: C/pluma.xml:912(para) +#: C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) +#: C/pluma.xml:1044(para) +#: C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "Snabbtangent" -#: C/gedit.xml:870(para) -#: C/gedit.xml:914(para) -#: C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) -#: C/gedit.xml:1046(para) -#: C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) +#: C/pluma.xml:914(para) +#: C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) +#: C/pluma.xml:1046(para) +#: C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "Kommando" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "Växlar till nästa flik åt vänster." -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "Växlar till nästa flik åt höger." -#: C/gedit.xml:883(para) -#: C/gedit.xml:947(para) +#: C/pluma.xml:883(para) +#: C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "Stäng flik." -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Skift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "Spara alla flikar." -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Skift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "Stäng alla flikar." -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "Hoppa till flik nummer n." #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "Filer" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "Snabbtangenter för arbete med filer:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "Skapa ett nytt dokument." -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "Öppna ett dokument." -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "Öppna en plats." -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "Spara det aktuella dokumentet till disk." -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Skift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "Spara aktuellt dokument med ett nytt filnamn." -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "Skriv ut det aktuella dokumentet." -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Skift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "Förhandsvisa utskrift." -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "Stäng aktuellt dokument." -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "Avsluta Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "Avsluta Pluma." #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) -#: C/gedit.xml:1406(guimenu) -#: C/gedit.xml:1412(guimenu) -#: C/gedit.xml:1418(guimenu) -#: C/gedit.xml:1424(guimenu) +#: C/pluma.xml:959(bridgehead) +#: C/pluma.xml:1406(guimenu) +#: C/pluma.xml:1412(guimenu) +#: C/pluma.xml:1418(guimenu) +#: C/pluma.xml:1424(guimenu) msgid "Edit" msgstr "Redigera" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "Snabbtangenter för redigering av dokument:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "Ångra föregående åtgärd." -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Skift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "Gör om senaste ångrade åtgärden." -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Klipp ut markerad text eller område och placera den i urklipp." -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Kopiera markerad text eller område till urklipp." -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "Klistra in innehållet i urklipp." -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "Markera allt." -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "Ta bort aktuell rad." #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "Paneler" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Snabbtangenter för att visa och dölja paneler:" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "Visa/dölj sidopanelen." -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "Visa/dölj nederkantspanelen." #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "Sök" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "Snabbtangenter för sökning:" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "Sök efter en sträng." -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "Sök nästa förekomst av strängen." -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Skift + G" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "Sök föregående förekomst av strängen." -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "Interaktiv sökning." -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "Sök och ersätt." -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Skift + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "Ta bort markering." -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "Gå till rad." #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "Verktyg" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "Snabbtangenter för verktyg:" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "Skift + F7" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "Kontrollera stavning (med insticksmodul)." -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "Ta bort eftersläpande blanksteg (med insticksmodul)." -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "Dra in rader (med insticksmodul)." -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Skift + T" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "Ta bort indragning (med insticksmodul)." -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Kör \"make\" i aktuell katalog (med insticksmodul)." -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Skift + D" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "Kataloglistning (med insticksmodul)." #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "Hjälp" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "Snabbtangent för hjälp:" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." -msgstr "Öppna handboken för gedit." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." +msgstr "Öppna handboken för pluma." -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "Inställningar" -#: C/gedit.xml:1156(para) -msgid "To configure gedit, choose EditPreferences. The Preferences dialog contains the following categories:" -msgstr "För att konfigurera gedit, välj RedigeraInställningar. Dialogrutan Inställningar innehåller följande kategorier:" +#: C/pluma.xml:1156(para) +msgid "To configure pluma, choose EditPreferences. The Preferences dialog contains the following categories:" +msgstr "För att konfigurera pluma, välj RedigeraInställningar. Dialogrutan Inställningar innehåller följande kategorier:" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "Visa inställningar" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "Select the Enable text wrapping option to have long lines of text flow into paragraphs instead of running off the edge of the text window. This avoids having to scroll horizontally" msgstr "Välj alternativet Aktivera textradbrytning för att långa rader av text flyter i avsnitt istället för att fortsätta utanför kanten i textfönstret. Det här gör att man slipper rulla texten horisontellt." -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "Select the Do not split words over two lines option to have the text wrapping option preserve whole words when flowing text to the next line. This makes text easier to read." msgstr "Välj alternativet Dela inte ord över två rader för att textradbrytningsalternativet ska behålla hela ord när text radbryts till nästa rad. Det här gör att texten blir enklare att läsa." -#: C/gedit.xml:1177(para) -msgid "Select the Display line numbers option to display line numbers on the left side of the gedit window." -msgstr "Välj alternativet Visa radnummer för att visa radnummer på vänster sida i gedit-fönstret." +#: C/pluma.xml:1177(para) +msgid "Select the Display line numbers option to display line numbers on the left side of the pluma window." +msgstr "Välj alternativet Visa radnummer för att visa radnummer på vänster sida i pluma-fönstret." -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "Aktuell rad" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "Select the Highlight current line option to highlight the line where the cursor is placed." msgstr "Välj alternativet Färgmarkera aktuell rad för att färgmarkera raden där markören är placerad." -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "Högermarginal" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "Select the Display right margin option to display a vertical line that indicates the right margin." msgstr "Välj alternativet Visa högermarginal för att visa en vertikal linje som indikerar den högra marginalen." -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "Use the Right margin at column spin box to specify the location of the vertical line." msgstr "Använd snurrväljaren Högermarginal vid kolumn för att ange platsen för den vertikala linjen." -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "Klammermatchning" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "Select the Highlight matching bracket option to highlight the corresponding bracket when the cursor is positioned on a bracket character." msgstr "Välj alternativet Färgmarkera matchande klammer för att färgmarkera motsvarande klammer när markören är positionerad på ett klammertecken." -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "Redigerarinställningar" -#: C/gedit.xml:1209(para) -msgid "Use the Tab width spin box to specify the width of the space that gedit inserts when you press the Tab key." -msgstr "Använd snurrväljaren Tabulatorbredd för att ange bredden på utrymmet som gedit infogar när du trycker på tabulatortangenten." +#: C/pluma.xml:1209(para) +msgid "Use the Tab width spin box to specify the width of the space that pluma inserts when you press the Tab key." +msgstr "Använd snurrväljaren Tabulatorbredd för att ange bredden på utrymmet som pluma infogar när du trycker på tabulatortangenten." -#: C/gedit.xml:1210(para) -msgid "Select the Insert spaces instead of tabs option to specify that gedit inserts spaces instead of a tab character when you press the Tab key." -msgstr "Välj alternativet Infoga blanksteg istället för tabulatortecken för att ange att gedit infogar blanksteg istället för ett tabulatortecken när du trycker på tabulatortangenten." +#: C/pluma.xml:1210(para) +msgid "Select the Insert spaces instead of tabs option to specify that pluma inserts spaces instead of a tab character when you press the Tab key." +msgstr "Välj alternativet Infoga blanksteg istället för tabulatortecken för att ange att pluma infogar blanksteg istället för ett tabulatortecken när du trycker på tabulatortangenten." -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "Automatiskt indrag" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "Select the Enable auto indentation option to specify that the next line starts at the indentation level of the current line." msgstr "Välj alternativet Aktivera automatiskt indrag för att ange att nästa rad börjar vid indragsnivån för den aktuella raden." -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "Filsparande" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "Select the Create a backup copy of files before saving option to create a backup copy of a file each time you save the file. The backup copy of the file contains a ~ at the end of the filename." msgstr "Välj alternativet Skapa en säkerhetskopia av filen innan den sparas för att skapa en säkerhetskopia av filen varje gång du sparar filen. Säkerhetskopian för filen innehåller ett ~ i slutet av filnamnet." -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "Select the Autosave files every ... minutes option to automatically save the current file at regular intervals. Use the spin box to specify how often you want to save the file." msgstr "Välj alternativet Spara filer automatiskt var ... minut för att automatiskt spara den aktuella filen med jämna intervall. Använd snurrväljaren för att ange hur ofta du vill spara filen." -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "Typsnitt och färger" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "Typsnitt" -#: C/gedit.xml:1235(para) -msgid "Select the Use default theme font option to use the default system font for the text in the gedit text window." -msgstr "Välj alternativet Använd standardtematypsnitt för att använda standardsystemtypsnittet för texten i gedit-textfönstret." +#: C/pluma.xml:1235(para) +msgid "Select the Use default theme font option to use the default system font for the text in the pluma text window." +msgstr "Välj alternativet Använd standardtematypsnitt för att använda standardsystemtypsnittet för texten i pluma-textfönstret." -#: C/gedit.xml:1236(para) -msgid "The Editor font field displays the font that gedit uses to display text. Click on the button to specify the font type, style, and size to use for text." -msgstr "Fältet Redigerartypsnitt visar typsnittet som gedit använder för att visa text. Klicka på knappenför att ange typsnittstypen, stil och storlek för att använda för text." +#: C/pluma.xml:1236(para) +msgid "The Editor font field displays the font that pluma uses to display text. Click on the button to specify the font type, style, and size to use for text." +msgstr "Fältet Redigerartypsnitt visar typsnittet som pluma använder för att visa text. Klicka på knappenför att ange typsnittstypen, stil och storlek för att använda för text." -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "Färgschema" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "You can choose a color scheme from the list of color schemes. By default, the following color schemes are installed:" msgstr "Du kan välja ett färgschema från listan över färgscheman. Som standard finns följande färgscheman installerade:" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "Klassisk" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "Klassiskt färgschema baserat på gvim-färgschemat." -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "Blått färgschema." -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "Färgschema som används i textredigeraren Kate." -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "Mörkt färgschema som använder Tango-färgpaletten." -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "Färgschema som använder Tango-färgschemat." -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "You can add a new color scheme by clicking on Add..., and selecting a color scheme file" msgstr "Du kan lägga till ett nytt färgschema genom att klicka på Lägg till... och välja en färgschemafil" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "You can remove the selected color scheme by clicking on Remove" msgstr "Du kan ta bort det markerade färgschemat genom att klicka på Ta bort" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "Inställningar för insticksmoduler" -#: C/gedit.xml:1284(para) -msgid "Plugins add extra features to gedit. For more information on plugins and how to use the built-in plugins, see ." -msgstr "Insticksmoduler lägger till extrafunktioner till gedit. För mer information om insticksmoduler och hur man använder de inbyggda insticksmodulerna, se ." +#: C/pluma.xml:1284(para) +msgid "Plugins add extra features to pluma. For more information on plugins and how to use the built-in plugins, see ." +msgstr "Insticksmoduler lägger till extrafunktioner till pluma. För mer information om insticksmoduler och hur man använder de inbyggda insticksmodulerna, se ." -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "Aktivera en insticksmodul" -#: C/gedit.xml:1289(para) -msgid "To enable a gedit plugin, perform the following steps:" -msgstr "Genomför följande steg för att aktivera en insticksmodul i gedit:" +#: C/pluma.xml:1289(para) +msgid "To enable a pluma plugin, perform the following steps:" +msgstr "Genomför följande steg för att aktivera en insticksmodul i pluma:" -#: C/gedit.xml:1292(para) -#: C/gedit.xml:1313(para) -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1292(para) +#: C/pluma.xml:1313(para) +#: C/pluma.xml:1635(para) msgid "Choose EditPreferences." msgstr "Välj RedigeraInställningar." -#: C/gedit.xml:1295(para) -#: C/gedit.xml:1316(para) -#: C/gedit.xml:1638(para) +#: C/pluma.xml:1295(para) +#: C/pluma.xml:1316(para) +#: C/pluma.xml:1638(para) msgid "Select the Plugins tab." msgstr "Välj fliken Insticksmoduler." -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "Select the check box next to the name of the plugin that you want to enable." msgstr "Välj kryssrutan bredvid namnet på insticksmodulen som du vill aktivera." -#: C/gedit.xml:1301(para) -#: C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) +#: C/pluma.xml:1322(para) msgid "Click Close to close the Preferences dialog." msgstr "Klicka på Stäng för att stänga dialogrutan Inställningar." -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "Inaktivera en insticksmodul" -#: C/gedit.xml:1309(para) -msgid "A plugin remains enabled when you quit gedit." -msgstr "En insticksmodul är fortfarande aktiverad när du avslutar gedit." +#: C/pluma.xml:1309(para) +msgid "A plugin remains enabled when you quit pluma." +msgstr "En insticksmodul är fortfarande aktiverad när du avslutar pluma." -#: C/gedit.xml:1310(para) -msgid "To disable a gedit plugin, perform the following steps:" -msgstr "Genomför följande steg för att inaktivera en insticksmodul i gedit:" +#: C/pluma.xml:1310(para) +msgid "To disable a pluma plugin, perform the following steps:" +msgstr "Genomför följande steg för att inaktivera en insticksmodul i pluma:" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "Deselect the check box next to the name of the plugin that you want to disable." msgstr "Avmarkera kryssrutan bredvid namnet på insticksmodulen som du vill inaktivera." -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "Insticksmoduler" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "Arbeta med insticksmoduler" -#: C/gedit.xml:1334(para) -msgid "You can add extra features to gedit by enabling plugins. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the gedit menus for the new features they provide." -msgstr "Du kan lägga till extrafunktioner till gedit genom att aktivera insticksmoduler. En insticksmodul är ett tilläggsprogram som utökar funktionaliteten för ett program. Insticksmoduler lägger till nya objekt i gedit-menyerna för de nya funktioner som de tillhandahåller." +#: C/pluma.xml:1334(para) +msgid "You can add extra features to pluma by enabling plugins. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the pluma menus for the new features they provide." +msgstr "Du kan lägga till extrafunktioner till pluma genom att aktivera insticksmoduler. En insticksmodul är ett tilläggsprogram som utökar funktionaliteten för ett program. Insticksmoduler lägger till nya objekt i pluma-menyerna för de nya funktioner som de tillhandahåller." -#: C/gedit.xml:1336(para) -msgid "Several plugins come built-in with gedit, and you can install more. The gedit website lists third-party plugins." -msgstr "Flera insticksmoduler är redan inbyggda i gedit och du kan installera fler. Webbsidan för insticksmoduler för gedit listar insticksmoduler från tredjepartsleverantörer." +#: C/pluma.xml:1336(para) +msgid "Several plugins come built-in with pluma, and you can install more. The pluma website lists third-party plugins." +msgstr "Flera insticksmoduler är redan inbyggda i pluma och du kan installera fler. Webbsidan för insticksmoduler för pluma listar insticksmoduler från tredjepartsleverantörer." -#: C/gedit.xml:1337(para) -msgid "To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences." -msgstr "För att aktivera eller inaktivera insticksmoduler, eller se vilka insticksmoduler som för närvarande är aktiverade, använd Inställningar för insticksmoduler." +#: C/pluma.xml:1337(para) +msgid "To enable and disable plugins, or see which plugins are currently enabled, use the Plugins Preferences." +msgstr "För att aktivera eller inaktivera insticksmoduler, eller se vilka insticksmoduler som för närvarande är aktiverade, använd Inställningar för insticksmoduler." -#: C/gedit.xml:1338(para) -msgid "The following plugins come built-in with gedit:" -msgstr "Följande insticksmoduler är inbyggda som standard i gedit:" +#: C/pluma.xml:1338(para) +msgid "The following plugins come built-in with pluma:" +msgstr "Följande insticksmoduler är inbyggda som standard i pluma:" -#: C/gedit.xml:1344(para) -msgid "Change Case allows you to change the case of the selected text." -msgstr "Ändra skiftläge låter dig ändra skiftläget på den markerade texten." +#: C/pluma.xml:1344(para) +msgid "Change Case allows you to change the case of the selected text." +msgstr "Ändra skiftläge låter dig ändra skiftläget på den markerade texten." -#: C/gedit.xml:1347(para) -msgid "Document Statistics shows the number of lines, words, and characters in the document." -msgstr "Dokumentstatistik visar antal rader, ord och tecken i dokumentet." +#: C/pluma.xml:1347(para) +msgid "Document Statistics shows the number of lines, words, and characters in the document." +msgstr "Dokumentstatistik visar antal rader, ord och tecken i dokumentet." -#: C/gedit.xml:1350(para) -msgid "External Tools allows you to execute external commands from gedit." -msgstr "Externa verktyg låter dig köra externa kommandon från gedit." +#: C/pluma.xml:1350(para) +msgid "External Tools allows you to execute external commands from pluma." +msgstr "Externa verktyg låter dig köra externa kommandon från pluma." -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "File Browser allows you to browse your files and folders in the side pane." msgstr "Filbläddrarpanel låter dig bläddra i din filer och mappar via sidopanelen." -#: C/gedit.xml:1356(para) -msgid "Indent Lines adds or removes indentation from the selected lines." -msgstr "Dra in rader lägger till eller tar bort indragningen för markerade rader." +#: C/pluma.xml:1356(para) +msgid "Indent Lines adds or removes indentation from the selected lines." +msgstr "Dra in rader lägger till eller tar bort indragningen för markerade rader." -#: C/gedit.xml:1359(para) -msgid "Insert Date/Time adds the current date and time into a document." -msgstr "Infoga datum/tid lägger till det aktuella datumet och tiden in i ett dokument." +#: C/pluma.xml:1359(para) +msgid "Insert Date/Time adds the current date and time into a document." +msgstr "Infoga datum/tid lägger till det aktuella datumet och tiden in i ett dokument." -#: C/gedit.xml:1362(para) -msgid "Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines." -msgstr "Lägesrader låter dig ställa in redigeringsinställningar för individuella dokument, och har stöd för lägesradstyperna Emacs, Kate och Vim." +#: C/pluma.xml:1362(para) +msgid "Modelines allows you to set editing preferences for individual documents, and supports Emacs, Kate and Vim-style modelines." +msgstr "Lägesrader låter dig ställa in redigeringsinställningar för individuella dokument, och har stöd för lägesradstyperna Emacs, Kate och Vim." -#: C/gedit.xml:1365(para) -msgid "Python Console allows you to run commands in the python programming language." -msgstr "Python-konsoll låter dig köra kommandon i programspråket Python." +#: C/pluma.xml:1365(para) +msgid "Python Console allows you to run commands in the python programming language." +msgstr "Python-konsoll låter dig köra kommandon i programspråket Python." -#: C/gedit.xml:1368(para) -msgid "Snippets allows you to store frequently-used pieces of text and insert them quickly into a document." -msgstr "Textsnuttar låter dig lagra ofta använda textstycken och infoga dem snabbt i ett dokument." +#: C/pluma.xml:1368(para) +msgid "Snippets allows you to store frequently-used pieces of text and insert them quickly into a document." +msgstr "Textsnuttar låter dig lagra ofta använda textstycken och infoga dem snabbt i ett dokument." -#: C/gedit.xml:1371(para) -msgid "Sort arranges selected lines of text into alphabetical order." -msgstr "Sortera arrangerar om markerade textrader i alfabetisk ordning." +#: C/pluma.xml:1371(para) +msgid "Sort arranges selected lines of text into alphabetical order." +msgstr "Sortera arrangerar om markerade textrader i alfabetisk ordning." -#: C/gedit.xml:1374(para) -msgid "Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document." -msgstr "Stavningskontroll rättar stavningen i den markerade texten, eller markerar automatiskt fel i dokumentet." +#: C/pluma.xml:1374(para) +msgid "Spell Checker corrects the spelling in the selected text, or marks errors automatically in the document." +msgstr "Stavningskontroll rättar stavningen i den markerade texten, eller markerar automatiskt fel i dokumentet." -#: C/gedit.xml:1377(para) -msgid "Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane." -msgstr "Tagglista låter dig infoga vanligen använda HTML-taggar och taggar för andra språk från en lista i sidopanelen." +#: C/pluma.xml:1377(para) +msgid "Tag List lets you insert commonly-used tags for HTML and other languages from a list in the side pane." +msgstr "Tagglista låter dig infoga vanligen använda HTML-taggar och taggar för andra språk från en lista i sidopanelen." -#: C/gedit.xml:1381(para) +#: C/pluma.xml:1381(para) #| msgid "" #| "This plugin is mostly provided as an example of how to create your own " #| "plugins. For more information on creating plugins, see the geditpluma website." -msgid "For more information on creating plugins, see the gedit website." -msgstr "För mer information om hur man skapar insticksmoduler, se webbsidan för gedit." +msgid "For more information on creating plugins, see the pluma website." +msgstr "För mer information om hur man skapar insticksmoduler, se webbsidan för pluma." -#: C/gedit.xml:1385(title) +#: C/pluma.xml:1385(title) msgid "Change Case Plugin" msgstr "Insticksmodulen Ändra skiftläge" -#: C/gedit.xml:1386(para) +#: C/pluma.xml:1386(para) msgid "The Change Case plugin changes the case of the selected text." msgstr "Insticksmodulen Ändra skiftläge ändrar skiftläget på den markerade texten." -#: C/gedit.xml:1387(para) +#: C/pluma.xml:1387(para) msgid "The following items are added to the Edit menu when the Change Case plugin is enabled:" msgstr "Följande objekt läggs till i menyn Redigera när insticksmodulen Ändra skiftläge aktiveras:" -#: C/gedit.xml:1397(para) +#: C/pluma.xml:1397(para) msgid "Menu Item" msgstr "Menyobjekt" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Action" msgstr "Åtgärd" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Example" msgstr "Exempel" -#: C/gedit.xml:1407(guisubmenu) -#: C/gedit.xml:1413(guisubmenu) -#: C/gedit.xml:1419(guisubmenu) -#: C/gedit.xml:1425(guisubmenu) +#: C/pluma.xml:1407(guisubmenu) +#: C/pluma.xml:1413(guisubmenu) +#: C/pluma.xml:1419(guisubmenu) +#: C/pluma.xml:1425(guisubmenu) msgid "Change Case" msgstr "Ändra skiftläge" -#: C/gedit.xml:1407(guimenuitem) +#: C/pluma.xml:1407(guimenuitem) msgid "All Upper Case" msgstr "Gör allt till versaler" -#: C/gedit.xml:1408(para) +#: C/pluma.xml:1408(para) msgid "Change each character to uppercase." msgstr "Ändra varje tecken till versaler." -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "This text becomes THIS TEXT" msgstr "Denna text blir DENNA TEXT" -#: C/gedit.xml:1413(guimenuitem) +#: C/pluma.xml:1413(guimenuitem) msgid "All Lower Case" msgstr "Gör allt till gemener" -#: C/gedit.xml:1414(para) +#: C/pluma.xml:1414(para) msgid "Change each character to lowercase." msgstr "Ändra varje tecken till gemener." -#: C/gedit.xml:1415(para) +#: C/pluma.xml:1415(para) msgid "This Text becomes this text" msgstr "Denna Text blir denna text" -#: C/gedit.xml:1419(guimenuitem) +#: C/pluma.xml:1419(guimenuitem) msgid "Invert Case" msgstr "Invertera skiftläge" -#: C/gedit.xml:1420(para) +#: C/pluma.xml:1420(para) msgid "Change each lowercase character to uppercase, and change each uppercase character to lowercase." msgstr "Ändra varje gement tecken till versalt och ändra varje versalt tecken till gement." -#: C/gedit.xml:1421(para) +#: C/pluma.xml:1421(para) msgid "This Text becomes tHIS tEXT" msgstr "Denna Text blir dENNA tEXT" -#: C/gedit.xml:1425(guimenuitem) +#: C/pluma.xml:1425(guimenuitem) msgid "Title Case" msgstr "Engelsk rubriksversalisering" -#: C/gedit.xml:1426(para) +#: C/pluma.xml:1426(para) msgid "Change the first character of each word to uppercase." msgstr "Ändra första tecknet för varje ord till en gemen." -#: C/gedit.xml:1427(para) +#: C/pluma.xml:1427(para) msgid "this text becomes This Text" msgstr "denna text blir Denna Text" -#: C/gedit.xml:1436(title) +#: C/pluma.xml:1436(title) msgid "Document Statistics Plugin" msgstr "Insticksmodulen Dokumentstatistik" -#: C/gedit.xml:1437(para) +#: C/pluma.xml:1437(para) msgid "The Document Statistics plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a Document Statistics dialog. To use the Document Statistics plugin, perform the following steps:" msgstr "Insticksmodulen Dokumentstatistik räknar antalet rader, ord, tecken med blanksteg, tecken utan blanksteg och antal byte i den aktuella filen. Insticksmodulen visar resultatet i en Dokumentstatistik-dialog. Genomför följande steg för att använda insticksmodulen Dokumentstatistik:" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "Choose ToolsDocument Statistics to display the Document Statistics dialog. The Document Statistics dialog displays the following information about the file:" msgstr "Välj VerktygDokumentstatistik för att visa dialogrutan Dokumentstatistik. Dialogrutan Dokumentstatistik visar följande information om filen:" -#: C/gedit.xml:1442(para) +#: C/pluma.xml:1442(para) msgid "Number of lines in the current document." msgstr "Antal rader i det aktuella dokumentet." -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "Number of words in the current document." msgstr "Antal ord i det aktuella dokumentet." -#: C/gedit.xml:1448(para) +#: C/pluma.xml:1448(para) msgid "Number of characters, including spaces, in the current document." msgstr "Antal tecken, inklusive blanksteg, i det aktuella dokumentet." -#: C/gedit.xml:1451(para) +#: C/pluma.xml:1451(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Antal tecken, blanksteg undantaget, i det aktuella dokumentet." -#: C/gedit.xml:1454(para) +#: C/pluma.xml:1454(para) msgid "Number of bytes in the current document." msgstr "Antal byte i det aktuella dokumentet." -#: C/gedit.xml:1459(para) -msgid "You can continue to update the gedit file while the Document Statistics dialog is open. To refresh the contents of the Document Statistics dialog, click Update." -msgstr "Du kan fortsätta att uppdatera filen i gedit under tiden dialogrutan Dokumentstatistik är öppen. För att uppdatera innehållet i dialogrutan Dokumentstatistik, klicka på Uppdatera." +#: C/pluma.xml:1459(para) +msgid "You can continue to update the pluma file while the Document Statistics dialog is open. To refresh the contents of the Document Statistics dialog, click Update." +msgstr "Du kan fortsätta att uppdatera filen i pluma under tiden dialogrutan Dokumentstatistik är öppen. För att uppdatera innehållet i dialogrutan Dokumentstatistik, klicka på Uppdatera." -#: C/gedit.xml:1466(title) +#: C/pluma.xml:1466(title) msgid "External Tools Plugin" msgstr "Insticksmodulen Externa verktyg" -#: C/gedit.xml:1467(para) -msgid "The External Tools plugin allows you to execute external commands from gedit. You can pipe some content into a command and exploit its output (for example, sed), or launch a predefined command (for example, make)." -msgstr "Insticksmodulen Externa verktyg låter dig köra externa kommandon från gedit. Du kan omdirigera visst innehåll in i ett kommando och utforska dess utdata (till exempel, sed), eller starta ett fördefinierat kommando (till exempel, make)." +#: C/pluma.xml:1467(para) +msgid "The External Tools plugin allows you to execute external commands from pluma. You can pipe some content into a command and exploit its output (for example, sed), or launch a predefined command (for example, make)." +msgstr "Insticksmodulen Externa verktyg låter dig köra externa kommandon från pluma. Du kan omdirigera visst innehåll in i ett kommando och utforska dess utdata (till exempel, sed), eller starta ett fördefinierat kommando (till exempel, make)." -#: C/gedit.xml:1468(para) +#: C/pluma.xml:1468(para) msgid "Use the External Tools Manager to create and edit commands. To run an external command, choose it from the Tools menu." msgstr "Använd Hanterar för externa verktyg för att skapa och redigera kommandon. För att köra ett externt kommando, välj det från menyn Verktyg." -#: C/gedit.xml:1471(title) +#: C/pluma.xml:1471(title) msgid "Built-in Commands" msgstr "Inbyggda kommandon" -#: C/gedit.xml:1472(para) +#: C/pluma.xml:1472(para) msgid "The following commands are provided with the External Tools plugin:" msgstr "Följande kommandon tillhandahålls av insticksmodulen Externa verktyg:" -#: C/gedit.xml:1474(term) +#: C/pluma.xml:1474(term) msgid "Build" msgstr "Bygg" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "Runs make in the current document's directory." msgstr "Kör make i katalogen för det aktuella dokumentet." -#: C/gedit.xml:1479(term) +#: C/pluma.xml:1479(term) msgid "Directory Listing" msgstr "Kataloglistning" -#: C/gedit.xml:1481(para) +#: C/pluma.xml:1481(para) msgid "Lists the contents of the current document's directory in a new document." msgstr "Listar innehållet i det aktuella dokumentets katalog i ett nytt dokument." -#: C/gedit.xml:1484(term) +#: C/pluma.xml:1484(term) msgid "Environment Variables" msgstr "Miljövariabler" -#: C/gedit.xml:1486(para) +#: C/pluma.xml:1486(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Visar listan över miljövariabler i underpanelen." -#: C/gedit.xml:1489(term) +#: C/pluma.xml:1489(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1491(para) +#: C/pluma.xml:1491(para) msgid "Searches for a term in all files in the current document directory, using pattern matching. Results are shown in the bottom pane." msgstr "Söker efter en term i alla filer i det aktuella dokumentets katalog med hjälp av mönstermatchning. Resultatet visas i underpanelen." -#: C/gedit.xml:1494(term) +#: C/pluma.xml:1494(term) msgid "Remove Trailing Spaces" msgstr "Ta bort eftersläpande blanksteg" -#: C/gedit.xml:1496(para) +#: C/pluma.xml:1496(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Tar bort alla blanksteg från slutet av rader i dokumentet." -#: C/gedit.xml:1503(title) +#: C/pluma.xml:1503(title) msgid "Defining a Command" msgstr "Definiera ett kommando" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "To add an external command, choose ToolsExternal Tools." msgstr "För att lägga till ett externt kommando, välj VerktygExterna verktyg." -#: C/gedit.xml:1505(para) +#: C/pluma.xml:1505(para) msgid "In the External Tools Manager window, click New. You can speficy the following details for the new command:" msgstr "I Hanterare för externa verktyg-fönstret, klicka på Nytt. Du kan ange följande detaljer för det nya kommandot:" -#: C/gedit.xml:1507(term) +#: C/pluma.xml:1507(term) msgid "Description" msgstr "Beskrivning" -#: C/gedit.xml:1509(para) +#: C/pluma.xml:1509(para) msgid "This description is shown in the statusbar when the menu command is chosen." msgstr "Den här beskrivningen visas i statusraden när menykommandot väljs." -#: C/gedit.xml:1512(term) +#: C/pluma.xml:1512(term) msgid "Accelerator" msgstr "Snabbtangent" -#: C/gedit.xml:1514(para) +#: C/pluma.xml:1514(para) msgid "Enter a keyboard shortcut for the command." msgstr "Ange en snabbtangent för kommandot." -#: C/gedit.xml:1517(term) +#: C/pluma.xml:1517(term) msgid "Commands" msgstr "Kommandon" -#: C/gedit.xml:1519(para) -msgid "The actual commands to be run. Several gedit environment variables can be used to pass content to these commands: see ." -msgstr "De faktiska kommandon som ska köras. Flera miljövariabler i gedit kan användas för att skicka innehåll till dessa kommandon: se ." +#: C/pluma.xml:1519(para) +msgid "The actual commands to be run. Several pluma environment variables can be used to pass content to these commands: see ." +msgstr "De faktiska kommandon som ska köras. Flera miljövariabler i pluma kan användas för att skicka innehåll till dessa kommandon: se ." -#: C/gedit.xml:1522(term) +#: C/pluma.xml:1522(term) msgid "Input" msgstr "Inmatning" -#: C/gedit.xml:1524(para) +#: C/pluma.xml:1524(para) msgid "The content to give to the commands (as stdin): the entire text of the current document, the current selection, line, or word." msgstr "Innehållet att ge till kommandon (som stdin): hela texten av det aktuella dokumentet, nuvarande markeringen, rad eller ord." -#: C/gedit.xml:1527(term) +#: C/pluma.xml:1527(term) msgid "Output" msgstr "Utdata" -#: C/gedit.xml:1529(para) +#: C/pluma.xml:1529(para) msgid "What to do with the output of the commands: display in the bottom pane, put in a new document, or place in the current document, at the end, at the cursor position, or replacing the selection or the entire document." msgstr "Vad som ska göras med det utdata som kommer från kommandon: visa i underpanelen, lägg in i ett nytt dokument, eller placera det i det aktuella dokumentet, på slutet, vid markörens position, eller ersätt markeringen eller hela dokumentet." -#: C/gedit.xml:1532(term) +#: C/pluma.xml:1532(term) msgid "Applicability" msgstr "Användbarhet" -#: C/gedit.xml:1534(para) +#: C/pluma.xml:1534(para) msgid "Determines which sort of documents can be affected by the command, for example whether saved or not, and local or remote." msgstr "Bestämmer vilka sorter av dokument som kan påverkas av kommandot, till exempel huruvida sparade eller inte, och lokala eller fjärr." -#: C/gedit.xml:1542(title) +#: C/pluma.xml:1542(title) msgid "Editing and Removing Tools" msgstr "Verktyg för att redigera och ta bort" -#: C/gedit.xml:1543(para) +#: C/pluma.xml:1543(para) msgid "To edit a tool, select it in the list and make changes to its properties." msgstr "För att redigera ett verktyg, välj den i listan och gör ändringar i dess egenskaper." -#: C/gedit.xml:1544(para) +#: C/pluma.xml:1544(para) msgid "To rename a tool, click it again in the list." msgstr "För att byta namn på ett verktyg, klicka på den igen i listan." -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "To restore a built-in tool that you have changed, press Revert." msgstr "För att återställa ett inbyggt verktyg som du har ändrat, tryck på Återställ." -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created yourself." msgstr "För att ta bort ett verktyg, välj den från listan och tryck på Ta bort. Du kan inte ta bort inbyggda verktyg, endast de som du själv har skapat." -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Variables" msgstr "Variabler" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "You can use the following variables in the Commands field of the command definition:" msgstr "Du kan använda följande variabler i fältet Kommandon för kommandodefinitionen:" -#: C/gedit.xml:1554(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1554(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1557(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1557(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1560(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1560(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1563(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1563(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1566(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1566(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1569(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1569(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1572(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1572(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1579(title) +#: C/pluma.xml:1579(title) msgid "File Browser Plugin" msgstr "Insticksmodulen Filbläddrarpanel" -#: C/gedit.xml:1580(para) +#: C/pluma.xml:1580(para) msgid "The File Browser Plugin shows your files and folders in the side pane, allowing you to quickly open files." msgstr "Insticksmodulen Filbläddrarpanel visar dina filer och mappar i sidopanelen, vilket låter dig att snabbt öppna filer." -#: C/gedit.xml:1581(para) +#: C/pluma.xml:1581(para) msgid "To view the File Browser, choose ViewSide Pane and then click on the tab showing the File Browser icon at the bottom of the side pane." msgstr "För att visa Filbläddrarpanelen, välj VisaSidopanel och klicka sedan på fliken som visar Filbläddrarikonen i nederkant av sidopanelen." -#: C/gedit.xml:1583(title) +#: C/pluma.xml:1583(title) msgid "Browsing your Files" msgstr "Bläddra bland dina filer" -#: C/gedit.xml:1584(para) +#: C/pluma.xml:1584(para) msgid "The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it." msgstr "Fliken Filbläddrare visar initialt dina filhanterarbokmärken. Dubbelklicka på valfritt objekt för att bläddra i dess innehåll." -#: C/gedit.xml:1585(para) +#: C/pluma.xml:1585(para) msgid "To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar." msgstr "För att visa en föräldramapp, välj det från rullgardinslistan, eller tryck på uppåtpilen i Filbläddrarens verktygsrad." -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "To show the folder that contains the document you are currently working on, right-click in the file list and choose Set root to active document." msgstr "För att visa mappen som innehåller dokumentet som du för närvarande arbetar med, högerklicka i fillistan och välj Ställ in rot till aktivt dokument." -#: C/gedit.xml:1590(para) -msgid "To open a file in gedit, double-click it in the file list." -msgstr "För att öppna en fil i gedit, dubbelklicka på den i fillistan." +#: C/pluma.xml:1590(para) +msgid "To open a file in pluma, double-click it in the file list." +msgstr "För att öppna en fil i pluma, dubbelklicka på den i fillistan." -#: C/gedit.xml:1593(title) +#: C/pluma.xml:1593(title) msgid "Creating Files and Folders" msgstr "Skapa filer och mappar" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose New File." msgstr "För att skapa en ny, tom textfil i den aktuella mappen som visas i bläddraren, högerklicka i fillistan och välj Ny fil." -#: C/gedit.xml:1595(para) +#: C/pluma.xml:1595(para) msgid "To create a new folder in the current folder shown in the browser, right-click in the file list and choose New Folder." msgstr "För att skapa en ny mapp i den aktuella mappen som visas i bläddraren, högerklicka i fillistan och välj Ny mapp." -#: C/gedit.xml:1600(title) +#: C/pluma.xml:1600(title) msgid "Indent Lines Plugin" msgstr "Insticksmodulen Dra in rader" -#: C/gedit.xml:1601(para) +#: C/pluma.xml:1601(para) msgid "The Indent Lines plugin adds or removes space from the beginning of lines of text." msgstr "Insticksmodulen Dra in rader lägger till eller tar bort blanksteg från början av textrader." -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Genomför följande steg för att dra in eller dra ut text:" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "Select the lines that you want to indent. To indent or unindent a single line, place the cursor anywhere on that line." msgstr "Markera raderna som du vill dra in. För att dra in eller dra ut en enda rad, placera markören någonstans på den raden." -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "To indent the text, choose EditIndent." msgstr "För att dra in texten, välj RedigeraDra in." -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "To remove the indentation, choose EditUnindent." msgstr "För att ta bort indragningen, välj RedigeraDra ut." -#: C/gedit.xml:1617(para) -msgid "The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see ." -msgstr "Mängden utrymme som används, och huruvida tabulatortecknet eller blankstegstecken används, beror på inställningen Tabulatorstopp i redigerarinställningarna: se ." +#: C/pluma.xml:1617(para) +msgid "The amount of space used, and whether tab character or space characters are used, depends on the Tab Stops settings in the Editor Preferences: see ." +msgstr "Mängden utrymme som används, och huruvida tabulatortecknet eller blankstegstecken används, beror på inställningen Tabulatorstopp i redigerarinställningarna: se ." -#: C/gedit.xml:1622(title) +#: C/pluma.xml:1622(title) msgid "Insert Date/Time Plugin" msgstr "Insticksmodulen Infoga datum/tid" -#: C/gedit.xml:1623(para) +#: C/pluma.xml:1623(para) msgid "The Insert Date/Time plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:" msgstr "Insticksmodulen Infoga datum/tid infogar det aktuella datumet och tiden in i ett dokument. Genomför följande steg för att använda insticksmodulen Infoga datum/tid:" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "Choose EditInsert Date and Time." msgstr "Välj RedigeraInfoga datum och tid." -#: C/gedit.xml:1626(para) -msgid "If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, gedit displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. Click Insert to close the Insert Date and Time dialog. gedit inserts the date/time at the cursor position in the current file." -msgstr "Om du inte har konfigurat insticksmodulen Infoga datum/tid till att automatiskt infoga datumet/tiden utan att fråga dig efter formatet, kommer gedit att visa dialogrutan Infoga datum och tid. Välj det lämpliga formatet för datum och tid från listan. Klicka på Infoga för att stänga dialogrutan Infoga datum och tid. gedit infogar datumet och tiden vid markörpositionen i den aktuella filen." +#: C/pluma.xml:1626(para) +msgid "If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, pluma displays the Insert Date and Time dialog. Select the appropriate date/time format from the list. Click Insert to close the Insert Date and Time dialog. pluma inserts the date/time at the cursor position in the current file." +msgstr "Om du inte har konfigurat insticksmodulen Infoga datum/tid till att automatiskt infoga datumet/tiden utan att fråga dig efter formatet, kommer pluma att visa dialogrutan Infoga datum och tid. Välj det lämpliga formatet för datum och tid från listan. Klicka på Infoga för att stänga dialogrutan Infoga datum och tid. pluma infogar datumet och tiden vid markörpositionen i den aktuella filen." -#: C/gedit.xml:1627(para) -msgid "If you have configured gedit to use one particular date/time format, the Insert Date and Time dialog is not displayed. The date/time is automatically entered at the cursor position in the current file." -msgstr "Om du har konfigurat gedit till att använda ett specifikt format för datum och tid, kommer dialogrutan Infoga datum och tid inte att visas. Datumet och tiden kommer då att automatiskt infogas vid markörpositionen i den aktuella filen." +#: C/pluma.xml:1627(para) +msgid "If you have configured pluma to use one particular date/time format, the Insert Date and Time dialog is not displayed. The date/time is automatically entered at the cursor position in the current file." +msgstr "Om du har konfigurat pluma till att använda ett specifikt format för datum och tid, kommer dialogrutan Infoga datum och tid inte att visas. Datumet och tiden kommer då att automatiskt infogas vid markörpositionen i den aktuella filen." -#: C/gedit.xml:1632(title) +#: C/pluma.xml:1632(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Konfigurera insticksmodulen Infoga datum/tid" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Genomför följande steg för att konfigurera insticksmodulen Infoga datum/tid:" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "Select the Insert Date/Time plugin." msgstr "Välj insticksmodulen Infoga datum/tid." -#: C/gedit.xml:1644(para) +#: C/pluma.xml:1644(para) msgid "Click Configure Plugin to display the Configure insert date/time plugin dialog." msgstr "Klicka på Konfigurera för att visa dialogrutan Konfigurera insticksmodulen för infoga datum/tid." -#: C/gedit.xml:1647(para) +#: C/pluma.xml:1647(para) msgid "Select one of the options, as follows:" msgstr "Välj ett av följande alternativ:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "To specify the date/time format each time you insert the date/time, select the Prompt for a format option." msgstr "För att ange formatet för datum och tid varje gång som du infogar datumet och tiden, välj alternativet Fråga efter ett format." -#: C/gedit.xml:1652(para) -msgid "To use the same gedit-provided date/time format each time you insert the date/time, select the Use the selected format option, then select the appropriate format from the list. When you select this option, gedit does not prompt you for the date/time format when you choose EditInsert Date and Time." -msgstr "För att använda samma format för datum och tid som gedit tillhandahåller varje gång som du infogar datumet och tiden, välj alternativet Använd det valda formatet, välj sedan det lämpliga formatet från listan. När du väljer det här alternativet, kommer gedit inte att fråga dig efter formatet för datum och tid när du väljer RedigeraInfoga datum och tid." +#: C/pluma.xml:1652(para) +msgid "To use the same pluma-provided date/time format each time you insert the date/time, select the Use the selected format option, then select the appropriate format from the list. When you select this option, pluma does not prompt you for the date/time format when you choose EditInsert Date and Time." +msgstr "För att använda samma format för datum och tid som pluma tillhandahåller varje gång som du infogar datumet och tiden, välj alternativet Använd det valda formatet, välj sedan det lämpliga formatet från listan. När du väljer det här alternativet, kommer pluma inte att fråga dig efter formatet för datum och tid när du väljer RedigeraInfoga datum och tid." -#: C/gedit.xml:1655(para) -msgid "To use the same customized date/time format each time you insert the date/time, select the Use custom format option, then enter the appropriate format in the text box. For more information about how to specify a custom format, see strftime3. When you select this option, gedit does not prompt you for the date/time format when you choose EditInsert Date and Time." -msgstr "För att använda samma anpassade format för datum och tid varje gång du infogar datumet och tiden, välj alternativet Använd anpassat format, ange sedan det lämpliga formatet i textrutan. För mer information om hur man anger ett anpassat format, se strftime3. När du väljer det här alternativet, kommer gedit inte att fråga dig efter formatet för datumet och tiden när du väljer RedigeraInfoga datum och tid." +#: C/pluma.xml:1655(para) +msgid "To use the same customized date/time format each time you insert the date/time, select the Use custom format option, then enter the appropriate format in the text box. For more information about how to specify a custom format, see strftime3. When you select this option, pluma does not prompt you for the date/time format when you choose EditInsert Date and Time." +msgstr "För att använda samma anpassade format för datum och tid varje gång du infogar datumet och tiden, välj alternativet Använd anpassat format, ange sedan det lämpliga formatet i textrutan. För mer information om hur man anger ett anpassat format, se strftime3. När du väljer det här alternativet, kommer pluma inte att fråga dig efter formatet för datumet och tiden när du väljer RedigeraInfoga datum och tid." -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "Click OK to close the Configure insert date/time plugin dialog." msgstr "Klicka på OK för att stänga dialogrutan Konfigurera insticksmodulen Infoga datum/tid." -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "To close the Preferences dialog, click Close." msgstr "För att stänga dialogrutan Inställningar, klicka på Stäng." -#: C/gedit.xml:1670(title) +#: C/pluma.xml:1670(title) msgid "Modelines Plugin" msgstr "Insticksmodulen Lägesrader" -#: C/gedit.xml:1671(para) -msgid "The Modelines plugin allows you to set preferences for individual documents. A modeline is a line of text at the start or end of the document with settings that gedit recognises." -msgstr "Insticksmodulen Lägesrader låter dig ställa in inställningar för individuella dokument. En lägesrad är en textrad vid början eller slutet av dokumentet med inställningar som gedit känner igen." +#: C/pluma.xml:1671(para) +msgid "The Modelines plugin allows you to set preferences for individual documents. A modeline is a line of text at the start or end of the document with settings that pluma recognises." +msgstr "Insticksmodulen Lägesrader låter dig ställa in inställningar för individuella dokument. En lägesrad är en textrad vid början eller slutet av dokumentet med inställningar som pluma känner igen." -#: C/gedit.xml:1672(para) +#: C/pluma.xml:1672(para) msgid "Preferences set using modelines take precedence over the ones specified in the preference dialog." msgstr "Inställningar inställda med lägesrader åsidosätter de som angivits i inställningsdialogen." -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "You can set the following preferences with modelines:" msgstr "Du kan ställa in följande inställningar med lägesrader:" -#: C/gedit.xml:1676(para) +#: C/pluma.xml:1676(para) msgid "Tab width" msgstr "Tabulatorbredd" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "Indent width" msgstr "Indenteringsbredd" -#: C/gedit.xml:1682(para) +#: C/pluma.xml:1682(para) msgid "Insert spaces instead of tabs" msgstr "Infoga blanksteg istället för tabulatortecken" -#: C/gedit.xml:1688(para) +#: C/pluma.xml:1688(para) msgid "Right margin width" msgstr "Högermarginalbredd" -#: C/gedit.xml:1692(para) +#: C/pluma.xml:1692(para) msgid "The Modelines plugin supports a subset of the options used by other text editors Emacs, Kate and Vim." msgstr "Insticksmodulen Lägesrader har stöd för en mindre uppsättning av alternativ som används av de andra textredigerarna Emacs, Kate och Vim." -#: C/gedit.xml:1695(title) +#: C/pluma.xml:1695(title) msgid "Emacs Modelines" msgstr "Lägesrader för Emacs" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "The first two lines of a document are scanned for Emacs modelines." msgstr "De två raderna raderna i ett dokument söks igenom efter lägesrader för Emacs." -#: C/gedit.xml:1697(para) +#: C/pluma.xml:1697(para) msgid "The Emacs options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the GNU Emacs Manual." msgstr "Emacs-alternativen för tab-width, indent-offset, indent-tabs-mode och autowrap stöds. För mer information, se handboken för GNU Emacs." -#: C/gedit.xml:1700(title) +#: C/pluma.xml:1700(title) msgid "Kate Modelines" msgstr "Lägesrader för Kate" -#: C/gedit.xml:1701(para) +#: C/pluma.xml:1701(para) msgid "The first and last ten lines a document are scanned for Kate modelines." msgstr "De tio första och sista raderna i ett dokument söks igenom efter lägesrader för Kate." -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "The Kate options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the Kate website." msgstr "Kate-alternativen för tab-width, indent-width, space-indent, word-wrap och word-wrap-column stöds. För mer information, se webbsidan för Kate." -#: C/gedit.xml:1705(title) +#: C/pluma.xml:1705(title) msgid "Vim Modelines" msgstr "Lägesrader för Vim" -#: C/gedit.xml:1706(para) +#: C/pluma.xml:1706(para) msgid "The first and last three lines a document are scanned for Vim modelines." msgstr "De tre första och sista raderna i ett dokument söks igenom efter lägesrader för Vim." -#: C/gedit.xml:1707(para) +#: C/pluma.xml:1707(para) msgid "The Vim options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the Vim website." msgstr "Vim-alternativen för et, expandtab, ts, tabstop, sw, shiftwidth, wrap och textwidth stöds. För mer information, se webbsidan för Vim." -#: C/gedit.xml:1712(title) +#: C/pluma.xml:1712(title) msgid "Python Console Plugin" msgstr "Insticksmodulen Python-konsoll" -#: C/gedit.xml:1713(para) -msgid "The Python Console Plugin allows you to run commands in the python programming language from gedit. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field." -msgstr "insticksmodulen Python-konsoll låter dig köra kommandon i programspråket Python från gedit. Aktivering av insticksmodulen lägger till en flik till underpanelen. Den visar senaste utdata och ett kommandofält." +#: C/pluma.xml:1713(para) +msgid "The Python Console Plugin allows you to run commands in the python programming language from pluma. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field." +msgstr "insticksmodulen Python-konsoll låter dig köra kommandon i programspråket Python från pluma. Aktivering av insticksmodulen lägger till en flik till underpanelen. Den visar senaste utdata och ett kommandofält." -#: C/gedit.xml:1714(para) -msgid "Commands entered into the python console are not checked before they are run. It is therefore possible to hang gedit, for example by entering an infinite loop." -msgstr "Kommandon som anges i Python-konsollen kontrolleras inte innan de körs. Det är därför möjligt att låsa hela gedit, till exempel genom att ange en oändlig slinga." +#: C/pluma.xml:1714(para) +msgid "Commands entered into the python console are not checked before they are run. It is therefore possible to hang pluma, for example by entering an infinite loop." +msgstr "Kommandon som anges i Python-konsollen kontrolleras inte innan de körs. Det är därför möjligt att låsa hela pluma, till exempel genom att ange en oändlig slinga." -#: C/gedit.xml:1718(title) +#: C/pluma.xml:1718(title) msgid "Snippets Plugin" msgstr "Insticksmodulen Textsnuttar" -#: C/gedit.xml:1719(para) +#: C/pluma.xml:1719(para) msgid "The Snippets plugin allows you to store frequently-used pieces of text, called snippets, and insert them quickly into a document." msgstr "Insticksmodulen Textsnuttar låter dig lagra ofta använda delar av text, kallade textsnuttar, och infoga dem snabbt i ett dokument." -#: C/gedit.xml:1720(para) +#: C/pluma.xml:1720(para) msgid "Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents." msgstr "Textsnuttar är specifika för språksyntaxen för det aktuella dokumentet. Till exempel när du arbetar med ett HTML-dokument kan du välja från en lista över textsnuttar som är användbara för HTML. I tilläggt till det är vissa textsnuttar globala och finns tillgängliga för alla dokument." -#: C/gedit.xml:1721(para) -msgid "A number of built-in snippets are installed with gedit, which can be modified." -msgstr "Ett antal inbyggda textsnuttar installeras med gedit, vilka kan ändras." +#: C/pluma.xml:1721(para) +msgid "A number of built-in snippets are installed with pluma, which can be modified." +msgstr "Ett antal inbyggda textsnuttar installeras med pluma, vilka kan ändras." -#: C/gedit.xml:1724(title) +#: C/pluma.xml:1724(title) msgid "Inserting Snippets" msgstr "Infoga textsnuttar" -#: C/gedit.xml:1725(para) +#: C/pluma.xml:1725(para) msgid "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember." msgstr "För att infoga en textsnutt i ett dokument, skriv in dess tabulatorutlösare och tryck på tabulatorn. Tabulatorutlösaren för en textsnutt är vanligtvis de första bokstäverna i textsnutten, eller någonting annat som är kort och enkelt att komma ihåg." -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "Alternatively, press CtrlSpace to see a list of snippets you can insert." msgstr "Alternativt, tryck CtrlBlanksteg för att se en lista över de textsnuttar du kan infoga." -#: C/gedit.xml:1730(title) +#: C/pluma.xml:1730(title) msgid "Adding Snippets" msgstr "Lägg till textsnuttar" -#: C/gedit.xml:1731(para) +#: C/pluma.xml:1731(para) msgid "To create a new snippet, do the following:" msgstr "Gör följande för att skapa en ny textsnutt:" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "Choose ToolsManage Snippets. The Snippets Manager window opens." msgstr "Välj VerktygHantera textsnuttar. Fönstret Hantera textsnuttar öppnas." -#: C/gedit.xml:1737(para) +#: C/pluma.xml:1737(para) msgid "The list of snippets is grouped by language. Select the language you want to add a snippet to, or a snippet in that language group. To add a snippet for all languages, choose Global at the top of the list. The syntax of the document you are currently working with is shown by default." msgstr "Listan över textsnuttar grupperas efter språk. Välj språket som du vill lägga till en textsnutt till, eller en textsnutt i den språkgruppen. För att lägga till en textsnutt för alla språk, Välj Global i övre delen av listan. Syntaxen för dokumentet som du för närvarande arbetar med kommer att visas som standard." -#: C/gedit.xml:1740(para) +#: C/pluma.xml:1740(para) msgid "Click New. A new snippet appears in the list." msgstr "Klicka på Ny. En ny textsnutt visas i listan." -#: C/gedit.xml:1743(para) +#: C/pluma.xml:1743(para) msgid "Enter the following information for the new snippet:" msgstr "Ange följande information för den nya textsnutten:" -#: C/gedit.xml:1745(term) +#: C/pluma.xml:1745(term) msgid "Name" msgstr "Namn" -#: C/gedit.xml:1747(para) +#: C/pluma.xml:1747(para) msgid "Enter a name for the snippet in the text field within the snippet list. The name of a snippet serves only as a reminder of its purpose. You can change name of a snippet you create by clicking on it in the list." msgstr "Ange ett namn för textsnutten i textfältet i listan. Namnet på textsnutten är bara för att påminna om dess syfte. Du kan ändra namnet på en textsnutt som du har skapat genom att klicka på den i listan." -#: C/gedit.xml:1750(term) +#: C/pluma.xml:1750(term) msgid "Snippet text" msgstr "Textsnutt" -#: C/gedit.xml:1752(para) -msgid "Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see ." -msgstr "Ange texten för textsnutten i textrutan Redigera textsnutt. För de specialkoder som du kan använda, se ." +#: C/pluma.xml:1752(para) +msgid "Enter the text of the snippet in the Edit snippet text box. For special codes you can use, see ." +msgstr "Ange texten för textsnutten i textrutan Redigera textsnutt. För de specialkoder som du kan använda, se ." -#: C/gedit.xml:1753(para) +#: C/pluma.xml:1753(para) msgid "You can switch back to the document window to copy text without closing the Snippets Manager window." msgstr "Du kan växla tillbaka till dokumentfönstret för att kopiera text utan att stänga fönstret Hantera textsnuttar." -#: C/gedit.xml:1756(term) +#: C/pluma.xml:1756(term) msgid "Tab Trigger" msgstr "Tabulatorutlösare" -#: C/gedit.xml:1758(para) +#: C/pluma.xml:1758(para) msgid "Enter the tab trigger for the snippet. This is the text that you type before pressing Tab to insert the snippet." msgstr "Ange tabulatorutlösaren för textsnutten. Det här är texten som du skriver innan du trycker på tabulatorn för att infoga textsnutten." -#: C/gedit.xml:1759(para) +#: C/pluma.xml:1759(para) msgid "The tag must be either a single word comprising only letters, or any single character. The Tab trigger will highlight in red if an invalid tab trigger is entered." msgstr "Taggen måste antingen vara ett enda ord som består av endast bokstäver, eller ett enda tecken. Tabulatorutlösaren kommer att färgmarkeras i rött om en ogiltig tabulatorutlösare anges." -#: C/gedit.xml:1762(term) +#: C/pluma.xml:1762(term) msgid "Shortcut key" msgstr "Snabbtangent" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Ange en snabbtangent att använda för att infoga textsnutten." -#: C/gedit.xml:1773(title) +#: C/pluma.xml:1773(title) msgid "Editing and Removing Snippets" msgstr "Redigera och ta bort textsnuttar" -#: C/gedit.xml:1774(para) +#: C/pluma.xml:1774(para) msgid "To edit a snippet, select it in the list and make changes to its text and activation properties." msgstr "För att redigera en textsnutt, välj den i listan och gör ändringar till dess text- och aktiveringsegenskaper." -#: C/gedit.xml:1775(para) +#: C/pluma.xml:1775(para) msgid "To rename a snippet, click it again in the list." msgstr "För att byta namn på en textsnutt, klicka på den igen i listan." -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "To restore a built-in snippet that you have changed, press Revert." msgstr "För att återställa en inbyggd textsnutt som du har ändrat, tryck på Återställ." -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have created yourself." msgstr "För att ta bort en textsnutt, välj den från listan och tryck på Ta bort. Du kan inte ta bort inbyggda textsnuttar, endast de som du själv har skapat." -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Snippet Substitutions" msgstr "Textsnuttsersättare" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document." msgstr "I tillägg till att infoga lagrad text kan en textsnutt inkludera anpassningsbar text, eller markera utrymme där du kan lägga till text när textsnutten har infogats i ditt dokument." -#: C/gedit.xml:1786(para) +#: C/pluma.xml:1786(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Du kan använda följande koder för platshållare i textsnutten:" -#: C/gedit.xml:1788(term) +#: C/pluma.xml:1788(term) msgid "Tab placeholders" msgstr "Platshållare för tabulator" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "$n defines a tab placeholder, where n is any number from 1 upwards." msgstr "$n definierar en platshållare för tabulator, där n är någon siffra från 1 och uppåt." -#: C/gedit.xml:1791(para) +#: C/pluma.xml:1791(para) msgid "${n:default} defines a tab placeholder with a default value." msgstr "${n:standard} definierar en platshållare för tabulator med ett standardvärde." -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "A tab placeholder marks a place in the snippet text where you can add extra text after the snippet is inserted." msgstr "En platshållare för tabulator markerar en plats i textsnutten där du kan lägga till extra text efter att textsnutten har infogats." -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "To use tab placeholders, insert the snippet as normal. The cursor is placed at the first tab placeholder. Type text, and press Tab to advance to the next tab placeholder. The number in the placeholder code defines the order in which tab advances to each place in the text." msgstr "För att använda platshållare för tabulator, infoga textsnutten som vanligt. Markören placeras på den första platshållaren. Skriv in text och tryck på tabulatorn för att gå vidare till nästa platshållare. Siffran i platshållarkoden definierar ordningen i vilken tabulatorn går vidare till varje plats i texten." -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "Press ShiftTab to return to the previous tab placeholder. Pressing Tab when there are no more tab placeholders moves the cursor to the end of the snippet text, or to the end placeholder if it exists." msgstr "Tryck på SkiftTabulator för att återgå till den föregående platshållaren. Tryck på Tabulator när det inte finns fler platshållare för tabulator flyttas markören till slutet av textsnutten, eller till slutet av platshållaren för avslut om det finns en." -#: C/gedit.xml:1797(term) +#: C/pluma.xml:1797(term) msgid "Mirror placeholders" msgstr "Platshållare för spegel" -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "A repeated tab placeholder will mirror the placeholder already defined. This allows you to type in text only once that you want to appear several times in the snippet." msgstr "En upprepad platshållare för tabulator kommer att spegla platshållaren som redan har definierats. Det här gör att du kan skriva in text en gång som du vill ska visas flera gånger i textsnutten." -#: C/gedit.xml:1802(term) +#: C/pluma.xml:1802(term) msgid "End placeholder" msgstr "Platshållare för avslut" -#: C/gedit.xml:1804(para) +#: C/pluma.xml:1804(para) msgid "$0 defines the end placeholder. This allows you to finish working with the snippet with the cursor at a point other than the end of the snippet text." msgstr "$0 definierar platshållaren för avslut. Det här gör att du kan sluta arbeta med textsnutten när markören är vid en position annan än för slutet av textsnutten." -#: C/gedit.xml:1807(term) +#: C/pluma.xml:1807(term) msgid "Environmental variables" msgstr "Miljövariabler" -#: C/gedit.xml:1809(para) -msgid "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to gedit can also be used:" -msgstr "Miljövariabler som $PATH och $HOME ersätts i textsnutten. Följande variabler som är specifika för gedit kan också användas:" +#: C/pluma.xml:1809(para) +msgid "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific to pluma can also be used:" +msgstr "Miljövariabler som $PATH och $HOME ersätts i textsnutten. Följande variabler som är specifika för pluma kan också användas:" -#: C/gedit.xml:1811(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1811(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1813(para) +#: C/pluma.xml:1813(para) msgid "The currently selected text." msgstr "Den för närvarande markerade texten." -#: C/gedit.xml:1816(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1816(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1818(para) +#: C/pluma.xml:1818(para) msgid "The full filename of the document, or an empty string if the document isn't saved yet." msgstr "Det fullständiga namnet på dokumentet, eller en tom sträng om dokumentet inte har sparats än." -#: C/gedit.xml:1821(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1821(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1823(para) +#: C/pluma.xml:1823(para) msgid "The basename of the filename of the document, or an empty string if the document isn't saved yet." msgstr "Basnamnet för filnamnet för dokumentet, eller en tom sträng om dokumentet inte har sparats än." -#: C/gedit.xml:1826(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1826(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1828(para) +#: C/pluma.xml:1828(para) msgid "The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text." msgstr "Ordet vid markörens plats i dokumentet. När den här variabeln används kommer det aktuella ordet att ersättas med textsnutten." -#: C/gedit.xml:1836(term) +#: C/pluma.xml:1836(term) msgid "Shell placeholders" msgstr "Platshållare för skal" -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "$(cmd) is replaced by the result of executing cmd in a shell." msgstr "$(kommando) ersätts av resultatet för körningen av kommando i ett skal." -#: C/gedit.xml:1839(para) +#: C/pluma.xml:1839(para) msgid "$(n:cmd) allows you to give this placeholder a reference, where n is any number from 1 upwards. Use $n to use the output from one shell placeholder as input in another." msgstr "$(n:kommando) låter dig ange en referens för den här platshållaren, där n är en siffra från 1 och uppåt. Använd $n för att använda utdata från en platshållare för skal som indata till ett annat." -#: C/gedit.xml:1842(term) +#: C/pluma.xml:1842(term) msgid "Python placeholders" msgstr "Platshållare för Python" -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "$<cmd> is replaced by the result of evaluating cmd in the python interpreter." msgstr "$<kommando> ersätts av resultatet för evaluering av kommando i python-tolkaren." -#: C/gedit.xml:1845(para) +#: C/pluma.xml:1845(para) msgid "$<a:cmd> specifies another python placeholder as a dependency, where a gives its order in the snippet. This allows you to use python functions defined in another snippet. To specify several dependencies, separate the numbers with commas thus: $<a,b:cmd>" msgstr "$<a:kommando> anger en annan platshållare för python som en beroende, där a anger dess ordning i textsnutten. Det här låter dig använda python-funktioner som definierats i en annan textsnutt. För att ange flera beroenden, separera siffrorna med kommatecken så här: $<a,b:kommando>" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "To use a variable in all other python snippets, declare it as global." msgstr "För att använda en variabel i alla andra python-textsnuttar, deklarera den som global." -#: C/gedit.xml:1855(title) +#: C/pluma.xml:1855(title) msgid "Sort Plugin" msgstr "Insticksmodulen Sortera" -#: C/gedit.xml:1856(para) +#: C/pluma.xml:1856(para) msgid "The Sort plugin arranges selected lines of text into alphabetical order." msgstr "Insticksmodulen Sortera arrangerar om markerade textrader till alfabetisk ordning." -#: C/gedit.xml:1857(para) +#: C/pluma.xml:1857(para) msgid "You cannot undo the Sort operation, so you should save the file before performing the sort. To revert to the saved version of the file after the sort operation, choose FileRevert." msgstr "Du kan inte ångra sorteringsåtgärden, så du bör spara filen innan du genomför sorteringen. För att återgå till den sparade versionen av filen efter sorteringsåtgärden, välj ArkivÅterställ." -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Genomför följande steg för att använda insticksmodulen Sortera:" -#: C/gedit.xml:1863(para) +#: C/pluma.xml:1863(para) msgid "Select the lines of text you want to sort." msgstr "Markera textraderna som du vill sortera." -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "Choose EditSort. The Sort dialog opens." msgstr "Välj RedigeraSortera. Dialogrutan Sortera öppnas." -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "Choose the options you want for the sort:" msgstr "Välj alternativen som du vill använda för sorteringen:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "To arrange the text in reverse order, select Reverse order." msgstr "För att arrangera texten i omvänd ordning, välj Baklänges." -#: C/gedit.xml:1874(para) +#: C/pluma.xml:1874(para) msgid "To delete duplicate lines, select Remove duplicates." msgstr "För att ta bort dubblettrader, välj Ta bort dubletter." -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "För att ignorera skiftläge, välj Gör ingen skillnad på gemener/VERSALER." -#: C/gedit.xml:1880(para) +#: C/pluma.xml:1880(para) msgid "To have the sort ignore the characters at the start of the lines, set the first character that should be used for sorting in the Start at column spin box." msgstr "För att sorteringen ska ignorera tecknen i början av raderna, ställ in det första tecknet som ska användas för sorteringen i snurrväljaren Börja vid kolumn." -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To perform the sort operation, click Sort." msgstr "För att genomföra sorteringsåtgärden, klicka på Sortera." -#: C/gedit.xml:1892(title) +#: C/pluma.xml:1892(title) msgid "Spell Checker Plugin" msgstr "Insticksmodulen Stavningskontroll" -#: C/gedit.xml:1893(para) -msgid "The Spell Checker plugin checks the spelling in the selected text. You can configure gedit to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:" -msgstr "Insticksmodulen Stavningskontroll kontrollerar stavningen i den markerade texten. Du kan konfigurera gedit till att kontrollera stavningen automatiskt, eller bara kontrollera stavningen manuellt, för det angivna språket. Språkinställningen, och egenskaperna för den automatiskt stavningskontrollen, gäller per dokument. Genomför följande steg för att använda insticksmodulen Stavningskontroll:" +#: C/pluma.xml:1893(para) +msgid "The Spell Checker plugin checks the spelling in the selected text. You can configure pluma to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:" +msgstr "Insticksmodulen Stavningskontroll kontrollerar stavningen i den markerade texten. Du kan konfigurera pluma till att kontrollera stavningen automatiskt, eller bara kontrollera stavningen manuellt, för det angivna språket. Språkinställningen, och egenskaperna för den automatiskt stavningskontrollen, gäller per dokument. Genomför följande steg för att använda insticksmodulen Stavningskontroll:" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "Choose ToolsSet Language to display the Set language dialog. Select the appropriate language from the list. Click OK to close the Set language dialog." msgstr "Välj VerktygStäll in språk för att visa dialogrutan Ställ in språk. Välj det lämpliga språket från listan. Klicka på OK för att stänga dialogrutan Ställ in språk." -#: C/gedit.xml:1898(para) -msgid "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset the automatic spell check, choose ToolsAutocheck Spelling again. When automatic spell checking is set, an icon is displayed beside the Autocheck Spelling menu item. Automatic spell checking is unset by default, each time gedit starts." -msgstr "För att automatiskt kontrollera stavningen, välj VerktygKontrollera stavning automatiskt. För att inaktivera automatisk stavningskontroll, välj VerktygKontrollera stavning automatiskt igen. När automatiskt stavningskontroll är aktiverad, kommer en ikon att visas bredvid menyobjektet Kontrollera stavning automatist. Automatisk stavningskontroll är inaktiverat som standard, varje gång gedit startar." +#: C/pluma.xml:1898(para) +msgid "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset the automatic spell check, choose ToolsAutocheck Spelling again. When automatic spell checking is set, an icon is displayed beside the Autocheck Spelling menu item. Automatic spell checking is unset by default, each time pluma starts." +msgstr "För att automatiskt kontrollera stavningen, välj VerktygKontrollera stavning automatiskt. För att inaktivera automatisk stavningskontroll, välj VerktygKontrollera stavning automatiskt igen. När automatiskt stavningskontroll är aktiverad, kommer en ikon att visas bredvid menyobjektet Kontrollera stavning automatist. Automatisk stavningskontroll är inaktiverat som standard, varje gång pluma startar." -#: C/gedit.xml:1899(para) +#: C/pluma.xml:1899(para) msgid "Unknown spellings are displayed in a different color, and underlined. Right-click on an unknown spelling, then select Spelling Suggestions from the popup menu:" msgstr "Okända stavningar visas i en annan färg, och är understruken. Högerklicka på en okänd stavning, välj sedan Stavningsförslag från popup-menyn:" -#: C/gedit.xml:1902(para) +#: C/pluma.xml:1902(para) msgid "To replace the unknown spelling with another spelling in the list, select the replacement spelling from the Spelling Suggestions popup menu." msgstr "För att ersätta den okända stavningen med en annan stavning i listan, välj ersättningsstavningen från popup-menyn Stavningsförslag." -#: C/gedit.xml:1905(para) +#: C/pluma.xml:1905(para) msgid "To add the unknown spelling to your personal dictionary, select Spelling SuggestionsAdd." msgstr "För att lägga till den okända stavningen till din personliga ordbok, välj StavningsförslagLägg till." -#: C/gedit.xml:1908(para) -msgid "To ignore all occurrences of the unknown spelling, so that they are no longer flagged as unknown but are not added to your personal dictionary, select Spelling SuggestionsIgnore All. The unknown word is ignored in the current gedit session only." -msgstr "För att ignorera alla förekomster av den okända stavningen, så att de inte längre flaggas som okända men inte läggs till i din personliga ordbok, välj StavningsförslagIgnorera alla. Det okända ordet kommer endast att ignoreras i den aktuella gedit-sessionen." +#: C/pluma.xml:1908(para) +msgid "To ignore all occurrences of the unknown spelling, so that they are no longer flagged as unknown but are not added to your personal dictionary, select Spelling SuggestionsIgnore All. The unknown word is ignored in the current pluma session only." +msgstr "För att ignorera alla förekomster av den okända stavningen, så att de inte längre flaggas som okända men inte läggs till i din personliga ordbok, välj StavningsförslagIgnorera alla. Det okända ordet kommer endast att ignoreras i den aktuella pluma-sessionen." -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "To check the spelling manually, choose ToolsCheck Spelling." msgstr "För att kontrollera stavningen manuellt, välj VerktygKontrollera stavning." -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "If there are no spelling errors, an Information dialog displays a message stating that the document does not contain misspelled words. Click OK to close the Information dialog." msgstr "Om det inte finns några stavningsfel, kommer dialogrutan Information att visa ett meddelande som säger att dokumentet inte innehåller några felstavade ord. Klicka på OK för att stänga dialogrutan Information." -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "If there are spelling errors, the Check Spelling dialog is displayed:" msgstr "Om det finns stavningsfel kommer dialogrutan Kontrollera stavning att visa:" -#: C/gedit.xml:1920(para) +#: C/pluma.xml:1920(para) msgid "The Misspelled word is displayed at the top of the dialog." msgstr "Felstavade ord visas i överkant av dialogrutan." -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by selecting a spelling from the Suggestions list, or you can enter text directly into the Change to text box." msgstr "Ett förslag på stavning visas i textrutan Ändra till. Du kan ersätta det här med en annan känd stavning genom att välja en stavning från listan Förslag, eller så kan du ange text direkt i textrutan Ändra till." -#: C/gedit.xml:1926(para) +#: C/pluma.xml:1926(para) msgid "To check the spelling of the text in the Change to text box, click Check Word. If this is a known word, the Suggestions list is replaced with the text (correct spelling). If the word is not known, new entries appear in the Suggestions list." msgstr "För att kontrollera stavningen på texten i textrutan Ändra till, klicka på Kontrollera ord. Om det här är ett känt ord kommer listan Förslag att ersättas med texten (korrekt stavning). Om ordet inte är känt kommer nya poster att visas i listan Förslag." -#: C/gedit.xml:1929(para) -msgid "To ignore the current occurrence of the unknown word, click Ignore. To ignore all occurrences of the unknown word, click Ignore All. The unknown word is ignored in the current gedit session only." -msgstr "För att ignorera det aktuella förekomsten av det okända ordet, klicka på Ignorera. För att ignorera alla förekomster av det okända ordet, klicka på Ignorera alla. Det okända ordet kommer endast att ignoreras i den aktuella gedit-sessionen." +#: C/pluma.xml:1929(para) +msgid "To ignore the current occurrence of the unknown word, click Ignore. To ignore all occurrences of the unknown word, click Ignore All. The unknown word is ignored in the current pluma session only." +msgstr "För att ignorera det aktuella förekomsten av det okända ordet, klicka på Ignorera. För att ignorera alla förekomster av det okända ordet, klicka på Ignorera alla. Det okända ordet kommer endast att ignoreras i den aktuella pluma-sessionen." -#: C/gedit.xml:1932(para) +#: C/pluma.xml:1932(para) msgid "To change the current occurrence of the unknown word to the text in the Change to text box, click Change. To change all occurrences of the unknown word to the text in the Change to text box, click Change All." msgstr "För att ändra den aktuella förekomsten av det okända ordet till texten i textrutan Ändra till, klicka på Ändra. För att ändra alla förekomster av det okända ordet till texten i textrutan Ändra till, klicka på Ändra alla." -#: C/gedit.xml:1935(para) +#: C/pluma.xml:1935(para) msgid "To add the unknown word to your personal dictionary, click Add word." msgstr "För att lägga till det okända ordet till din personliga ordbok, klicka på Lägg till ord." -#: C/gedit.xml:1938(para) +#: C/pluma.xml:1938(para) msgid "To close the Check Spelling dialog, click Close." msgstr "För att stänga dialogrutan Kontrollera stavning, klicka på Stäng." -#: C/gedit.xml:1947(title) +#: C/pluma.xml:1947(title) msgid "Tag List Plugin" msgstr "Insticksmodulen Tagglista" -#: C/gedit.xml:1948(para) +#: C/pluma.xml:1948(para) msgid "The Tag List plugin allows you to insert common tags from a list in the side pane." msgstr "Insticksmodulen Tagglista låter dig infoga vanligen använda taggar från en lista i sidopanelen." -#: C/gedit.xml:1949(para) +#: C/pluma.xml:1949(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Genomför följande steg för att använda insticksmodulen Tagglista:" -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "Choose ViewSide Pane." msgstr "Välj VisaSidopanel." -#: C/gedit.xml:1955(para) +#: C/pluma.xml:1955(para) msgid "By default, the side pane shows a tab containing a list of open documents. Click on the tab showing a + icon at the bottom of the side pane to show the tag list tab." msgstr "Som standard visar sidopanelen en flik som innehåller en lista över öppna dokument. Klicka på fliken som visar ikonen + vid nederkant av sidopanelen för att visa fliken för tagglistor." -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "Select the appropriate tag category from the drop-down list. For example, HTML - Tags." msgstr "Välj den lämpliga taggkategorin från rullgardinslistan. Till exempel, HTML - Taggar." -#: C/gedit.xml:1960(para) +#: C/pluma.xml:1960(para) msgid "Scroll through the tag list to find the required tag." msgstr "Rulla genom tagglistan för att hitta den önskade taggen." -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "To insert a tag at the cursor position in the current file, double-click on the tag in the tag list. You can also insert a tag as follows:" msgstr "För att infoga en tagg vid markörpositionen i den aktuella filen, dubbelklicka på taggen i tagglistan. Du kan även infoga ett tagg på dessa sätt:" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "To insert a tag in the current file and change the focus from the side pane to the display area, press Return." msgstr "För att infoga en tagg i den aktuella filen och ändra fokus från sidopanelen till visningsrutan, tryck på Return." -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "To insert a tag in the current file and maintain the focus on the Tag list plugin window, press ShiftReturn." msgstr "För att infoga en tagg i den aktuella filen och bibehålla fokus för fönstret Insticksmodulen Tagglista, tryck på SkiftReturn." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Daniel Nylander , 2007, 2008, 2009" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "AnvändarnamnAnvändarnamn infogar användarnamnet för den aktuella användaren in " #~ "i dokumentet." #~ msgid "User Name Plugin" @@ -2799,60 +2799,60 @@ msgstr "Daniel Nylander , 2007, 2008, 2009" #~ "RedigeraInfoga användarnamn." #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "" #~ "For more information about how to configure syntax highlighting, see " -#~ "." +#~ "." #~ msgstr "" #~ "För mer information om hur man konfigurerar syntaxmarkering, se ." +#~ "linkend=\"pluma-prefs-syntax\"/>." #~ msgid "Colors" #~ msgstr "Färger" #~ msgid "" #~ "Select the Use default theme colors option to use " -#~ "the default theme colors in the gedit text " +#~ "the default theme colors in the pluma text " #~ "window." #~ msgstr "" #~ "Välj alternativet Använd standardtemafärger för att " -#~ "använda standardtemafärgerna i gedit-" +#~ "använda standardtemafärgerna i pluma-" #~ "textfönstret." #~ msgid "" #~ "Click on the Normal text color color button to " #~ "display the color selector dialog. Select a color to use to display " -#~ "normal text in the gedit text window." +#~ "normal text in the pluma text window." #~ msgstr "" #~ "Klicka på färgknappen Normal textfärg för att visa " #~ "färgväljaren. Välj en färg att använda för att visa normal text i " -#~ "gedit-textfönstret." +#~ "pluma-textfönstret." #~ msgid "" #~ "Click on the Background color color button to " #~ "display the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "Klicka på färgknappen Bakgrundsfärg för att visa " -#~ "färgväljaren. Välj en bakgrundsfärg för gedit-" +#~ "färgväljaren. Välj en bakgrundsfärg för pluma-" #~ "textfönstret." #~ msgid "" #~ "Click on the Selected text color color button to " @@ -2953,7 +2953,7 @@ msgstr "Daniel Nylander , 2007, 2008, 2009" #~ "guimenuitem>. The number of previous edits that you can undo " #~ "is determined by the Undo limit setting in the " #~ "Editor tabbed section of the Preferences dialog: see ." +#~ "guilabel> dialog: see ." #~ msgstr "" #~ "För att ångra en ändring som du har gjort, välj " #~ "RedigeraÅngra, 2007, 2008, 2009" #~ "menuchoice>. Antalet tidigare redigeringar som du kan ångra bestäms av " #~ "inställningen för Ångra-gränsen i fliksektionen " #~ "Redigerare i dialogrutan Inställningar: se ." +#~ "guilabel>: se ." #~ msgid "F7" #~ msgstr "F7" #~ msgid "Undo" @@ -3010,17 +3010,17 @@ msgstr "Daniel Nylander , 2007, 2008, 2009" #~ "Stäng." #~ msgid "" #~ "When the application starts, the files that you specify are displayed in " -#~ "the gedit window." +#~ "the pluma window." #~ msgstr "" #~ "När programmet startar kommer de filer som du anger att visas i " -#~ "gedit-fönstret." +#~ "pluma-fönstret." #~ msgid "The application opens the file located at the URI in read-only mode." #~ msgstr "Programmet öppnar filen som finns på uri:n i skrivskyddat läge." #~ msgid "" -#~ "A current limitation in gedit prevents the " +#~ "A current limitation in pluma prevents the " #~ "last line of a document from being used as a modeline." #~ msgstr "" -#~ "En begränsning för närvarande i gedit " +#~ "En begränsning för närvarande i pluma " #~ "förhindrar att den sista raden i ett dokument kan användas som en " #~ "lägesrad." diff --git a/help/th/th.po b/help/th/th.po index cb458a7..d33e0cc 100755 --- a/help/th/th.po +++ b/help/th/th.po @@ -1,12 +1,12 @@ -# Thai translation of gedit help. +# Thai translation of pluma help. # Copyright (C) 2008-2010 Free Software Foundation, Inc. -# This file is distributed under the same license as the gedit package. +# This file is distributed under the same license as the pluma package. # # Tosaporn Kijosoth , 2008. # Kittiphong Meesawat , 2010. msgid "" msgstr "" -"Project-Id-Version: gedit\n" +"Project-Id-Version: pluma\n" "POT-Creation-Date: 2010-04-22 09:31+0000\n" "PO-Revision-Date: 2010-04-27 15:40+0700\n" "Last-Translator: Kittiphong Meesawat \n" @@ -111,299 +111,299 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "คู่มือ Gedit" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "คู่มือ Pluma" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2550" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "โครงการเอกสาร MATE" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2545" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2546" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2547" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "ซัน ไมโครซิสเท็มส์" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2543" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "เพิ่มตารางปุ่มลัด" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "ทีมเอกสารระบบเดสก์ท็อปจาวาของซัน" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek ให้ข้อมูลเกี่ยวกับโปรแกรม gedit รุ่นก่อนหน้า" +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek ให้ข้อมูลเกี่ยวกับโปรแกรม pluma รุ่นก่อนหน้า" -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "กิติกรรมประกาศ" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George ให้ข้อมูลเกี่ยวกับปลั๊กอินต่าง ๆ" -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit รุ่น 1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma รุ่น 1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "คู่มือ gedit รุ่น 2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "คู่มือ pluma รุ่น 2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "มีนาคม 2545" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "ทีมเอกสาร MATE ของซัน" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "คู่มือ gedit รุ่น 2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "คู่มือ pluma รุ่น 2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "มิถุนายน 2545" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "คู่มือ gedit รุ่น 2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "คู่มือ pluma รุ่น 2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "สิงหาคม 2545" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "คู่มือ gedit รุ่น 2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "คู่มือ pluma รุ่น 2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "ตุลาคม 2545" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "คู่มือ gedit รุ่น 2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "คู่มือ pluma รุ่น 2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "มกราคม 2546" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "คู่มือ gedit รุ่น 2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "คู่มือ pluma รุ่น 2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "มีนาคม 2546" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "คู่มือ gedit รุ่น 2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "คู่มือ pluma รุ่น 2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "กันยายน 2546" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "คู่มือ gedit รุ่น 2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "คู่มือ pluma รุ่น 2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "มีนาคม 2547" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "คู่มือ gedit รุ่น 2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "คู่มือ pluma รุ่น 2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "มิถุนายน 2549" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "คู่มือ gedit รุ่น 2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "คู่มือ pluma รุ่น 2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "ทีมเอกสาร MATE" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "คู่มือนี้อธิบาย gedit รุ่น 2.16" +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "คู่มือนี้อธิบาย pluma รุ่น 2.16" -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "ข้อเสนอแนะ" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"หากพบปัญหาหรือมีข้อเสนอแนะสำหรับโปรแกรม gedit " +"หากพบปัญหาหรือมีข้อเสนอแนะสำหรับโปรแกรม pluma " "หรือเกี่ยวกับคู่มือนี้ กรุณาแจ้งให้เราทราบ ตามขั้นตอนใน หน้าเสนอแนะ MATE" -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit เป็นเครื่องมือแก้ไขข้อความสำหรับเดสก์ท็อป MATE โดยมาพร้อมกับความสามารถพื้น ๆ " +"pluma เป็นเครื่องมือแก้ไขข้อความสำหรับเดสก์ท็อป MATE โดยมาพร้อมกับความสามารถพื้น ๆ " "แต่เปี่ยมประสิทธิภาพ เช่น การพิมพ์ การตรวจตัวสะกด การหาและแทนที่ และการเน้นไวยากรณ์ " "และยังสามารถติดตั้งคุณสมบัติพิเศษเพิ่มเติมได้จากปลั๊กอินต่าง ๆ" -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "เครื่องมือแก้ไขข้อความ" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "เกริ่นนำ" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." -msgstr "โปรแกรม gedit ช่วยคุณสร้างและแก้ไขแฟ้มข้อความ" +msgstr "โปรแกรม pluma ช่วยคุณสร้างและแก้ไขแฟ้มข้อความ" -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"เป้าหมายของ gedit " +"เป้าหมายของ pluma " "คือการเป็นเครื่องมือแก้ไขข้อความที่เรียบง่ายและใช้ง่าย ผู้ใช้สามารถเพิ่มความสามารถพิเศษได้ด้วย " "ปลั๊กอิน ต่าง ๆ " "ซึ่งช่วยให้ดำเนินการเกี่ยวกับการแก้ไขข้อความได้หลายหลาย" -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "เริ่มต้นใช้งาน" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "การเรียกใช้ gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "การเรียกใช้ pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" msgstr "" -"คุณสามารถเปิดใช้งาน gedit ได้ด้วยวิธีต่าง ๆ ดังต่อไปนี้:" +"คุณสามารถเปิดใช้งาน pluma ได้ด้วยวิธีต่าง ๆ ดังต่อไปนี้:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "เมนู โปรแกรม" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -411,95 +411,95 @@ msgstr "" "เลือก เครื่องใช้ไม้สอยเครื่องมือแก้ไขข้อความ" -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "บรรทัดคำสั่ง" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "เรียกคำสั่งต่อไปนี้: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "เรียกคำสั่งต่อไปนี้: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"โดยปกติแล้ว เมื่อคุณเปิดแฟ้มข้อความในโปรแกรมจัดการแฟ้ม gedit " +"โดยปกติแล้ว เมื่อคุณเปิดแฟ้มข้อความในโปรแกรมจัดการแฟ้ม pluma " "ก็จะเริ่มทำงานและแสดงแฟ้มข้อความดังกล่าว" -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "หน้าต่าง gedit" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "หน้าต่าง pluma" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" -msgstr "เมื่อคุณเปิด gedit จะปรากฏหน้าต่างต่อไปนี้:" +msgstr "เมื่อคุณเปิด pluma จะปรากฏหน้าต่างต่อไปนี้:" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "หน้าต่าง gedit" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "หน้าต่าง pluma" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "แสดงหน้าต่างหลักของ gedit" +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "แสดงหน้าต่างหลักของ pluma" -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "หน้าต่าง gedit มีองค์ประกอบดังต่อไปนี้:" +"The pluma window contains the following elements:" +msgstr "หน้าต่าง pluma มีองค์ประกอบดังต่อไปนี้:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "แถบเมนู" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"เมนูในแถบเมนูบรรจุคำสั่งทั้งหมดที่จำเป็นสำหรับการทำงานกับแฟ้มต่าง ๆ ใน geditpluma" -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "แถบเครื่องมือ" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "แถบเครื่องมือบรรจุคำสั่งบางส่วนจากคำสั่งที่คุณสามารถเข้าถึงได้จากแถบเมนู" -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "พื้นที่แสดงผล" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "พื้นที่แสดงผลจะแสดงข้อความจากแฟ้มที่คุณกำลังแก้ไขอยู่" -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "แถบสถานะ" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"แถบสถานะแสดงข้อมูลเกี่ยวกับกิจกรรมที่ gedit กำลังทำอยู่ " +"แถบสถานะแสดงข้อมูลเกี่ยวกับกิจกรรมที่ pluma กำลังทำอยู่ " "และรายละเอียดเกี่ยวกับรายการเมนู นอกจากนี้แถบสถานะยังแสดงข้อมูลต่อไปนี้:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "ตำแหน่งเคอร์เซอร์: เลขบรรทัดและคอลัมน์ที่เคอร์เซอร์วางอยู่" -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -511,17 +511,17 @@ msgstr "" "ทับ โหมดของเครื่องมือแก้ไขเปลี่ยนแปลงได้โดยกดปุ่ม Insert" -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "แถบข้าง" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." msgstr "แถบด้านข้างแสดงรายชื่อเอกสารที่เปิดอยู่และข้อมูลอื่น ๆ ตามแต่ปลั๊กอินที่เปิดใช้งาน" -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Paneมุมมองแถบข้าง" -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "แถบด้านล่าง" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -542,7 +542,7 @@ msgstr "" "แถบด้านล่างมีไว้สำหรับให้เครื่องมือเขียนโปรแกรม เช่น ปลั๊กอิน คอนโซลไพธอน ใช้แสดงผลลัพธ์" -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom Paneมุมมองแถบด้านล่าง" -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"เมื่อคุณคลิกขวาในหน้าต่าง gedit จะปรากฏเมนูผุดขึ้น " +"เมื่อคุณคลิกขวาในหน้าต่าง pluma จะปรากฏเมนูผุดขึ้น " "เมนูที่ผุดขึ้นนี้จะบรรจุคำสั่งเกี่ยวกับการแก้ไขข้อความที่ใช้บ่อย" -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"เช่นเดียวกับโปรแกรมอื่น ๆ ของ MATE การกระทำต่าง ๆ ใน geditpluma สามารถสั่งได้หลายทาง: ด้วยเมนู ด้วยแถบเครื่องมือ หรือด้วยปุ่มลัด " "รายชื่อปุ่มลัดที่ใช้ร่วมกันในทุกโปรแกรมจะรวบรวมไว้ใน คู่มือผู้ใช้" -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "การเรียก gedit จากบรรทัดคำสั่ง" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "การเรียก pluma จากบรรทัดคำสั่ง" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"คุณสามารถเรียกใช้ gedit ได้จากบรรทัดคำสั่ง " +"คุณสามารถเรียกใช้ pluma ได้จากบรรทัดคำสั่ง " "โดยสามารถเปิดเพียงหนึ่งแฟ้มหรือจะเปิดหลายแฟ้มก็ได้ สำหรับการเปิดหลายแฟ้มจากบรรทัดคำสั่ง " "ให้พิมพ์คำสั่งดังนี้แล้วกด Enter:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "อีกทางหนึ่ง คุณสามารถระบุ URI แทนชื่อแฟ้มก็ได้" -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"ดูข้อมูลเพิ่มเติมเกี่ยวกับการเรียกใช้ gedit " -"จากบรรดทัดคำสั่งได้ที่หน้า manual ของยูนิกซ์สำหรับ gedit ที่ gedit1pluma " +"จากบรรดทัดคำสั่งได้ที่หน้า manual ของยูนิกซ์สำหรับ pluma ที่ pluma1" -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "การทำงานกับแฟ้ม" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "การสร้างเอกสารใหม่" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "การสร้างเอกสารใหม่ทำได้โดยเลือก แฟ้มใหม่ " -"โปรแกรมจะแสดงเอกสารเปล่าขึ้นมาใหม่หน้าต่าง gedit" +"โปรแกรมจะแสดงเอกสารเปล่าขึ้นมาใหม่หน้าต่าง pluma" -#: C/gedit.xml:346(title) C/gedit.xml:1589(title) +#: C/pluma.xml:346(title) C/pluma.xml:1589(title) msgid "Opening a File" msgstr "การเปิดแฟ้ม" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "การเปิดแฟ้ม ทำได้โดยเลือก แฟ้มเปิด เพื่อแสดงกล่องโต้ตอบ เปิดแฟ้ม จากนั้น " "เลือกแฟ้มที่ต้องการเปิดแล้วคลิก เปิด เนื้อหาแฟ้มจะปรากฏในหน้าต่าง " -"gedit" +"pluma" -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "แสดงไอคอนของเมนูแฟ้มล่าสุด" -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -661,25 +661,25 @@ msgstr "" "แฟ้ม นอกจากนี้คุณยังสามารถคลิกที่ไอคอน " " บนแถบเครื่องมือเพื่อแสดงรายชื่อแฟ้มล่าสุดดังกล่าวได้ด้วย" -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"ใน gedit คุณสามารถเปิดแฟ้มได้พร้อม ๆ กันหลายแฟ้ม " +"ใน pluma คุณสามารถเปิดแฟ้มได้พร้อม ๆ กันหลายแฟ้ม " "โปรแกรมจะเพิ่มแท็บสำหรับแต่ละแฟ้มลงในหน้าต่าง ดูรายละเอียดเพิ่มเติมได้ที่ " +"\"pluma-tabs\"/>" -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "การบันทึกแฟ้ม" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "คุณสามารถบันทึกแฟ้มได้ด้วยวิธีต่าง ๆ ดังนี้" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -687,7 +687,7 @@ msgstr "" "การบันทึกแฟ้มที่มีอยู่แล้ว ทำได้โดยเลือก แฟ้มบันทึก" -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave As กรอกชื่อแฟ้มที่ต้องการลงในกล่องโต้ตอบ บันทึกเป็น " "จากนั้นกดปุ่ม บันทึก" -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"การบันทึกแฟ้มทุกแฟ้มที่เปิดอยู่ใน gedit ทำได้โดยเลือก " +"การบันทึกแฟ้มทุกแฟ้มที่เปิดอยู่ใน pluma ทำได้โดยเลือก " "เอกสารบันทึกทุกเอกสาร" -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"การปิดแฟ้มทุกแฟ้มที่เปิดอยู่ใน gedit ทำได้โดยเลือก " +"การปิดแฟ้มทุกแฟ้มที่เปิดอยู่ใน pluma ทำได้โดยเลือก " "เอกสารปิดทั้งหมด" -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "การเปิดแฟ้มจาก URI" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" msgstr "การเปิดแฟ้มจาก Uniform Resource Identifier (URI) ทำได้ตามขั้นตอนต่อไปนี้:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -738,21 +738,21 @@ msgstr "" "เลือก แฟ้มเปิดตำแหน่งแฟ้ม เพื่อแสดงกล่องโต้ตอบ เปิดตำแหน่งแฟ้ม" -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "กรอก URI ของแฟ้มที่คุณต้องการเปิด" -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." msgstr "ใช้รายชื่อดึงลง รหัสอักขระ เลือกรหัสอักขระที่เหมาะสม" -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "คลิก เปิด" -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -762,7 +762,7 @@ msgstr "" "ftp:, file: และอื่น ๆ ที่รองรับโดย " "mate-vfs" -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -774,59 +774,59 @@ msgstr "" "จะเป็นแบบอ่านอย่างเดียวเท่านั้น เพราะเซิร์ฟเวอร์ FTP ต่าง ๆ " "ไม่ได้รองรับการบันทึกแฟ้มระยะไกลได้ถูกต้องไปเสียทั้งหมด" -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "การใช้แท็บ" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"เมื่อเปิดแฟ้มมากกว่าหนึ่งแฟ้ม gedit จะแสดง " +"เมื่อเปิดแฟ้มมากกว่าหนึ่งแฟ้ม pluma จะแสดง " "แท็บ สำหรับแต่ละเอกสารที่ด้านบนของพื้นที่แสดงผล " "เมื่อต้องการสลับไปที่เอกสารอื่น ให้คลิกที่แท็บของเอกสารนั้น ๆ" -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"เมื่อต้องการย้ายเอกสารไปที่หน้าต่างอื่นของ gedit " +"เมื่อต้องการย้ายเอกสารไปที่หน้าต่างอื่นของ pluma " "ให้ลากแท็บของแฟ้มนั้น ๆ ไปยังหน้าต่างที่คุณต้องการ" -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"เมื่อต้องการย้ายเอกสารออกไปเป็นหน้าต่างใหม่ของ gedit " +"เมื่อต้องการย้ายเอกสารออกไปเป็นหน้าต่างใหม่ของ pluma " "ทำได้โดยลากแท็บเอกสารไปยังพื้นโต๊ะ หรือเลือก เอกสารย้ายไปหน้าต่างใหม่" -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "การทำงานกับข้อความ" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "การแก้ไขข้อความ" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "คุณสามารถแก้ไขข้อความในแฟ้มได้ด้วยวิธีต่าง ๆ ดังนี้:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -836,7 +836,7 @@ msgstr "" "ที่กะพริบอยู่นั้นจะระบุตำแหน่งที่ข้อความจะปรากฏขึ้น หากต้องการเปลี่ยนตำแหน่ง " "ให้ใช้ปุ่มลูกศรบนแป้นพิมพ์หรือคลิกด้วยเมาส์" -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyแก้ไขคัดลอก" -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutแก้ไขตัด" -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteแก้ไขลบ" -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "การแทรกเนื้อหาจากคลิปบอร์ดไปยังตำแหน่งของเคอร์เซอร์ ทำได้โดยเลือก " "แก้ไขแปะ คุณจะต้องตัดหรือคัดลอกข้อความก่อน ไม่ว่าจะจาก gedit หรือจากโปรแกรมอื่น " +"menuchoice> คุณจะต้องตัดหรือคัดลอกข้อความก่อน ไม่ว่าจะจาก pluma หรือจากโปรแกรมอื่น " "ก่อนที่คุณจะสามารถแปะข้อความดังกล่าวลงในแฟ้มได้" -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -883,11 +883,11 @@ msgstr "" "การเลือกข้อความทั้งหมดในแฟ้ม ทำได้โดยเลือก แก้ไขเลือกทั้งหมด" -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "การเรียกคืนและทำซ้ำการเปลี่ยนแปลง" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -899,30 +899,30 @@ msgstr "" "หากต้องการยกเลิกการเรียกคืนนี้ ก็เลือก แก้ไขทำซ้ำ" -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "การค้นหาและแทนที่" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"ใน gedit การค้นหาข้อความทำได้สองวิธีด้วยกัน " +"ใน pluma การค้นหาข้อความทำได้สองวิธีด้วยกัน " "คุณสามารถใช้กล่องโต้ตอบ หา เพื่อค้นหาข้อความที่เจาะจง หรือจะใช้ " "ค้นหาแบบคืบหน้าทีละส่วน เพื่อเน้นข้อความที่ตรงกันขณะที่คุณพิมพ์ก็ได้" -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "การค้นหาข้อความ" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "การค้นหาข้อความในแฟ้ม ทำได้ตามขั้นตอนต่อไปนี้:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -930,26 +930,26 @@ msgstr "" "เลือก ค้นหาหา เพื่อแสดงกล่องโต้ตอบ หา" -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "คลิก หา เพื่อค้นหาข้อความโดยเริ่มจากตำแหน่งปัจจุบัน ถ้า " -"gedit หาข้อความพบ โปรแกรมจะเลือกข้อความแห่งแรกที่ปรากฏ " +"pluma หาข้อความพบ โปรแกรมจะเลือกข้อความแห่งแรกที่ปรากฏ " "และจะเน้นแห่งที่เหลือไว้" -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next การหาคำเดิมที่ปรากฏก่อนหน้า ทำได้โดยเลือก ค้นหาหาก่อนหน้า" -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -976,7 +976,7 @@ msgstr "" "menuchoice> และ ค้นหาหาก่อนหน้า" -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlightค้นหาเลิกเน้นคำค้น" -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "การค้นหาแบบคืบหน้าทีละส่วน" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -999,7 +999,7 @@ msgstr "" "กับที่คุณพิมพ์คำค้นแต่ละตัวอักษร " "(ซึ่งคล้ายกับความสามารถในการค้นหาคำในเว็บเบราว์เซอร์หลายโปรแกรม)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1009,14 +1009,14 @@ msgstr "" "guimenu>ค้นหาแบบคืบหน้าทีละส่วน " "กล่องค้นหาจะปรากฏขึ้นที่ด้านบนของพื้นที่แสดงผล" -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." msgstr "" "เมื่อเริ่มพิมพ์ ข้อความในเอกสารที่ตรงกับคำค้นจะถูกเน้น และข้อความแรกที่ตรงกับคำค้นจะถูกเลือกด้วย" -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlGCtrlShiftG" -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." msgstr "" -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "การแทนที่ข้อความ" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" msgstr "การค้นหาข้อความในแฟ้มและแทนที่ด้วยอีกข้อความหนึ่ง ทำได้โดยขั้นตอนต่อไปนี้:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1052,35 +1052,35 @@ msgstr "" "เลือก ค้นหาแทนที่ เพื่อแสดงกล่องโต้ตอบ แทนที่" -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." msgstr "" "พิมพ์ข้อความที่คุณต้องการใช้แทนข้อความที่คุณค้นหาลงในช่องข้อมูล แทนที่ด้วย" -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "การตรวจสอบข้อความที่ตรงกับคำค้นในแต่ละที่ที่ปรากฏก่อนจะแทนที่ ทำได้โดยคลิก หา หาก gedit พบข้อความที่ตรงกับคำค้น " +"guibutton> หาก pluma พบข้อความที่ตรงกับคำค้น " "ก็จะเลือกข้อความนั้น ๆ ให้ ถ้าต้องการแทนที่ข้อความที่เลือกอยู่นั้น ก็คลิก แทนที่ ถ้าต้องการหาข้อความที่ตรงกับคำค้นในตำแหน่งถัดไป ก็คลิก หา อีกครั้ง" -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." @@ -1088,11 +1088,11 @@ msgstr "" "หากต้องการแทนที่ข้อความทั้งหมดในเอกสารที่ตรงกับคำค้น ให้คลิก แทนที่ทั้งหมด" -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "ตัวเลือกการค้นหาและแทนที่" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1100,7 +1100,7 @@ msgstr "" "กล่องโต้ตอบ หา และกล่องโต้ตอบ แทนที่ " "มีตัวเลือกที่เหมือนกันดังต่อไปนี้:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1112,7 +1112,7 @@ msgstr "" "ตัวพิมพ์ใหญ่-เล็กตรงกัน ข้อความ \"TEXT\" จะถือว่าไม่ตรงกันกับ \"text" "\"" -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1120,57 +1120,57 @@ msgid "" "selected, \"text\" will not match \"texture\"." msgstr "" -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." msgstr "" -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." msgstr "" -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "อักขระพิเศษ" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" msgstr "" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "" -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "" -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "" -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1179,1393 +1179,1393 @@ msgid "" "double the number of searched backslashes." msgstr "" -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line. The line number box appears at the top of the display area." msgstr "" -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." msgstr "" -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." msgstr "" -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "การพิมพ์" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " "Page Setup dialog." msgstr "" -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." msgstr "" -#: C/gedit.xml:571(guilabel) C/gedit.xml:1175(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1175(guilabel) msgid "Line Numbers" msgstr "เลขบรรทัด" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." msgstr "" -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " "and so on." msgstr "" -#: C/gedit.xml:578(guilabel) C/gedit.xml:1168(guilabel) C/gedit.xml:1685(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1168(guilabel) C/pluma.xml:1685(para) msgid "Text Wrapping" msgstr "" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " "application counts wrapped lines as one line for line numbering purposes." msgstr "" -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." msgstr "" -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "ตัวเนื้อความ" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "" -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "เลขบรรทัด" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "" -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "" -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "" -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "" -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Preview." msgstr "" -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint to display the Print dialog." msgstr "" -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "" -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " "the line range." msgstr "" -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." msgstr "" -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." msgstr "" -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." msgstr "" -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "" -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "" -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " "printing, if this functionality is supported by the printer." msgstr "" -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "" -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." msgstr "" -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "" -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "แฟ้ม" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "" -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." msgstr "" -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "" -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "" -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." msgstr "" -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "" -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." msgstr "" -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "" -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "" -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "" -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." msgstr "" -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "" -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." msgstr "" -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "" -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." msgstr "" -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "" -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." msgstr "" -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." msgstr "" -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." msgstr "" -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." msgstr "" #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1207(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1207(guilabel) msgid "Tabs" msgstr "" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1016(para) C/gedit.xml:1044(para) C/gedit.xml:1091(para) -#: C/gedit.xml:1134(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1016(para) C/pluma.xml:1044(para) C/pluma.xml:1091(para) +#: C/pluma.xml:1134(para) msgid "Shortcut Key" msgstr "" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1018(para) C/gedit.xml:1046(para) C/gedit.xml:1093(para) -#: C/gedit.xml:1136(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1018(para) C/pluma.xml:1046(para) C/pluma.xml:1093(para) +#: C/pluma.xml:1136(para) msgid "Command" msgstr "" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "" -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "" -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "" -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "" -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "" -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "" #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "" -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "" -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "" -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "" -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "" -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "" -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "" -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "" -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." +#: C/pluma.xml:952(para) +msgid "Quit Pluma." msgstr "" #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1406(guimenu) -#: C/gedit.xml:1412(guimenu) C/gedit.xml:1418(guimenu) -#: C/gedit.xml:1424(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1406(guimenu) +#: C/pluma.xml:1412(guimenu) C/pluma.xml:1418(guimenu) +#: C/pluma.xml:1424(guimenu) msgid "Edit" msgstr "" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "" -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "" -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "" -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "" -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "" -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "" -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "" #. ============= Panes ======================= -#: C/gedit.xml:1007(bridgehead) +#: C/pluma.xml:1007(bridgehead) msgid "Panes" msgstr "" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Shortcuts for showing and hiding panes:" msgstr "" -#: C/gedit.xml:1023(para) +#: C/pluma.xml:1023(para) msgid "F9" msgstr "" -#: C/gedit.xml:1024(para) +#: C/pluma.xml:1024(para) msgid "Show/hide the side pane." msgstr "" -#: C/gedit.xml:1027(para) +#: C/pluma.xml:1027(para) msgid "Ctrl + F9" msgstr "" -#: C/gedit.xml:1028(para) +#: C/pluma.xml:1028(para) msgid "Show/hide the bottom pane." msgstr "" #. ============= Search ======================= -#: C/gedit.xml:1035(bridgehead) +#: C/pluma.xml:1035(bridgehead) msgid "Search" msgstr "" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Shortcuts for searching:" msgstr "" -#: C/gedit.xml:1051(para) +#: C/pluma.xml:1051(para) msgid "Ctrl + F" msgstr "" -#: C/gedit.xml:1052(para) +#: C/pluma.xml:1052(para) msgid "Find a string." msgstr "" -#: C/gedit.xml:1055(para) +#: C/pluma.xml:1055(para) msgid "Ctrl + G" msgstr "" -#: C/gedit.xml:1056(para) +#: C/pluma.xml:1056(para) msgid "Find the next instance of the string." msgstr "" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + Shift + G" msgstr "" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find the previous instance of the string." msgstr "" -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + K" msgstr "" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Interactive search." msgstr "" -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + H" msgstr "" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Search and replace." msgstr "" -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + Shift + K" msgstr "" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Clear highlight." msgstr "" -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + I" msgstr "" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Goto line." msgstr "" #. ============= Tools ======================= -#: C/gedit.xml:1082(bridgehead) +#: C/pluma.xml:1082(bridgehead) msgid "Tools" msgstr "" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Shortcuts for tools:" msgstr "" -#: C/gedit.xml:1098(para) +#: C/pluma.xml:1098(para) msgid "Shift + F7" msgstr "" -#: C/gedit.xml:1099(para) +#: C/pluma.xml:1099(para) msgid "Check spelling (with plugin)." msgstr "" -#: C/gedit.xml:1102(para) +#: C/pluma.xml:1102(para) msgid "Alt + F12" msgstr "" -#: C/gedit.xml:1103(para) +#: C/pluma.xml:1103(para) msgid "Remove trailing spaces (with plugin)." msgstr "" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Ctrl + T" msgstr "" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Indent (with plugin)." msgstr "" -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Ctrl + Shift + T" msgstr "" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove Indent (with plugin)." msgstr "" -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "F8" msgstr "" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "" -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + D" msgstr "" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Directory listing (with plugin)." msgstr "" #. ============= Help ======================= -#: C/gedit.xml:1125(bridgehead) +#: C/pluma.xml:1125(bridgehead) msgid "Help" msgstr "" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Shortcuts for help:" msgstr "" -#: C/gedit.xml:1141(para) +#: C/pluma.xml:1141(para) msgid "F1" msgstr "" -#: C/gedit.xml:1142(para) -msgid "Open gedit's user manual." +#: C/pluma.xml:1142(para) +msgid "Open pluma's user manual." msgstr "" -#: C/gedit.xml:1154(title) +#: C/pluma.xml:1154(title) msgid "Preferences" msgstr "การปรับแต่ง" -#: C/gedit.xml:1156(para) +#: C/pluma.xml:1156(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -#: C/gedit.xml:1165(title) +#: C/pluma.xml:1165(title) msgid "View Preferences" msgstr "" -#: C/gedit.xml:1170(para) +#: C/pluma.xml:1170(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " "text window. This avoids having to scroll horizontally" msgstr "" -#: C/gedit.xml:1171(para) +#: C/pluma.xml:1171(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " "next line. This makes text easier to read." msgstr "" -#: C/gedit.xml:1177(para) +#: C/pluma.xml:1177(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" -#: C/gedit.xml:1181(guilabel) +#: C/pluma.xml:1181(guilabel) msgid "Current Line" msgstr "บรรทัดปัจจุบัน" -#: C/gedit.xml:1183(para) +#: C/pluma.xml:1183(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." msgstr "" -#: C/gedit.xml:1187(guilabel) +#: C/pluma.xml:1187(guilabel) msgid "Right Margin" msgstr "" -#: C/gedit.xml:1189(para) +#: C/pluma.xml:1189(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." msgstr "" -#: C/gedit.xml:1190(para) +#: C/pluma.xml:1190(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." msgstr "" -#: C/gedit.xml:1194(guilabel) +#: C/pluma.xml:1194(guilabel) msgid "Bracket Matching" msgstr "" -#: C/gedit.xml:1196(para) +#: C/pluma.xml:1196(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " "bracket character." msgstr "" -#: C/gedit.xml:1204(title) +#: C/pluma.xml:1204(title) msgid "Editor Preferences" msgstr "" -#: C/gedit.xml:1209(para) +#: C/pluma.xml:1209(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" -#: C/gedit.xml:1210(para) +#: C/pluma.xml:1210(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" -#: C/gedit.xml:1214(guilabel) +#: C/pluma.xml:1214(guilabel) msgid "Auto Indentation" msgstr "" -#: C/gedit.xml:1216(para) +#: C/pluma.xml:1216(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." msgstr "" -#: C/gedit.xml:1220(guilabel) +#: C/pluma.xml:1220(guilabel) msgid "File Saving" msgstr "" -#: C/gedit.xml:1222(para) +#: C/pluma.xml:1222(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " "backup copy of the file contains a ~ at the end of the filename." msgstr "" -#: C/gedit.xml:1223(para) +#: C/pluma.xml:1223(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " "to specify how often you want to save the file." msgstr "" -#: C/gedit.xml:1230(title) +#: C/pluma.xml:1230(title) msgid "Font & Colors Preferences" msgstr "การปรับแต่งแบบอักษรและสี" -#: C/gedit.xml:1233(guilabel) +#: C/pluma.xml:1233(guilabel) msgid "Font" msgstr "แบบอักษร" -#: C/gedit.xml:1235(para) +#: C/pluma.xml:1235(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" -#: C/gedit.xml:1236(para) +#: C/pluma.xml:1236(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" -#: C/gedit.xml:1240(guilabel) +#: C/pluma.xml:1240(guilabel) msgid "Color Scheme" msgstr "" -#: C/gedit.xml:1242(para) +#: C/pluma.xml:1242(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" msgstr "" -#: C/gedit.xml:1245(guilabel) +#: C/pluma.xml:1245(guilabel) msgid "Classic" msgstr "" -#: C/gedit.xml:1247(para) +#: C/pluma.xml:1247(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "" -#: C/gedit.xml:1251(guilabel) +#: C/pluma.xml:1251(guilabel) msgid "Cobalt" msgstr "" -#: C/gedit.xml:1253(para) +#: C/pluma.xml:1253(para) msgid "Blue based color scheme." msgstr "" -#: C/gedit.xml:1257(guilabel) +#: C/pluma.xml:1257(guilabel) msgid "Kate" msgstr "" -#: C/gedit.xml:1259(para) +#: C/pluma.xml:1259(para) msgid "Color scheme used in the Kate text editor." msgstr "" -#: C/gedit.xml:1263(guilabel) +#: C/pluma.xml:1263(guilabel) msgid "Oblivion" msgstr "" -#: C/gedit.xml:1265(para) +#: C/pluma.xml:1265(para) msgid "Dark color scheme using the Tango color palette." msgstr "" -#: C/gedit.xml:1269(guilabel) +#: C/pluma.xml:1269(guilabel) msgid "Tango" msgstr "" -#: C/gedit.xml:1271(para) +#: C/pluma.xml:1271(para) msgid "Color scheme using the Tango color scheme." msgstr "" -#: C/gedit.xml:1275(para) +#: C/pluma.xml:1275(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" msgstr "" -#: C/gedit.xml:1276(para) +#: C/pluma.xml:1276(para) msgid "" "You can remove the selected color scheme by clicking on Remove" msgstr "" -#: C/gedit.xml:1283(title) +#: C/pluma.xml:1283(title) msgid "Plugins Preferences" msgstr "" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -#: C/gedit.xml:1288(title) +#: C/pluma.xml:1288(title) msgid "Enabling a Plugin" msgstr "" -#: C/gedit.xml:1289(para) +#: C/pluma.xml:1289(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -#: C/gedit.xml:1292(para) C/gedit.xml:1313(para) C/gedit.xml:1635(para) +#: C/pluma.xml:1292(para) C/pluma.xml:1313(para) C/pluma.xml:1635(para) msgid "" "Choose EditPreferences." msgstr "" -#: C/gedit.xml:1295(para) C/gedit.xml:1316(para) C/gedit.xml:1638(para) +#: C/pluma.xml:1295(para) C/pluma.xml:1316(para) C/pluma.xml:1638(para) msgid "Select the Plugins tab." msgstr "" -#: C/gedit.xml:1298(para) +#: C/pluma.xml:1298(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "" -#: C/gedit.xml:1301(para) C/gedit.xml:1322(para) +#: C/pluma.xml:1301(para) C/pluma.xml:1322(para) msgid "" "Click Close to close the Preferences dialog." msgstr "" -#: C/gedit.xml:1308(title) +#: C/pluma.xml:1308(title) msgid "Disabling a Plugin" msgstr "" -#: C/gedit.xml:1309(para) +#: C/pluma.xml:1309(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -#: C/gedit.xml:1310(para) +#: C/pluma.xml:1310(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "" -#: C/gedit.xml:1319(para) +#: C/pluma.xml:1319(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "" -#: C/gedit.xml:1331(title) +#: C/pluma.xml:1331(title) msgid "Plugins" msgstr "" -#: C/gedit.xml:1333(title) +#: C/pluma.xml:1333(title) msgid "Working with Plugins" msgstr "" -#: C/gedit.xml:1334(para) +#: C/pluma.xml:1334(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -#: C/gedit.xml:1336(para) +#: C/pluma.xml:1336(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -#: C/gedit.xml:1337(para) +#: C/pluma.xml:1337(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" -#: C/gedit.xml:1338(para) +#: C/pluma.xml:1338(para) msgid "" -"The following plugins come built-in with gedit:" +"The following plugins come built-in with pluma:" msgstr "" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -#: C/gedit.xml:1347(para) +#: C/pluma.xml:1347(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -#: C/gedit.xml:1350(para) +#: C/pluma.xml:1350(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -#: C/gedit.xml:1353(para) +#: C/pluma.xml:1353(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." msgstr "" -#: C/gedit.xml:1356(para) +#: C/pluma.xml:1356(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -#: C/gedit.xml:1359(para) +#: C/pluma.xml:1359(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -#: C/gedit.xml:1362(para) +#: C/pluma.xml:1362(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -#: C/gedit.xml:1365(para) +#: C/pluma.xml:1365(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -#: C/gedit.xml:1368(para) +#: C/pluma.xml:1368(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -#: C/gedit.xml:1371(para) +#: C/pluma.xml:1371(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -#: C/gedit.xml:1374(para) +#: C/pluma.xml:1374(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -#: C/gedit.xml:1377(para) +#: C/pluma.xml:1377(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -#: C/gedit.xml:1381(para) +#: C/pluma.xml:1381(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" -#: C/gedit.xml:1385(title) +#: C/pluma.xml:1385(title) msgid "Change Case Plugin" msgstr "" -#: C/gedit.xml:1386(para) +#: C/pluma.xml:1386(para) msgid "" "The Change Case plugin changes the case of the " "selected text." msgstr "" -#: C/gedit.xml:1387(para) +#: C/pluma.xml:1387(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" msgstr "" -#: C/gedit.xml:1397(para) +#: C/pluma.xml:1397(para) msgid "Menu Item" msgstr "" -#: C/gedit.xml:1399(para) +#: C/pluma.xml:1399(para) msgid "Action" msgstr "" -#: C/gedit.xml:1401(para) +#: C/pluma.xml:1401(para) msgid "Example" msgstr "" -#: C/gedit.xml:1407(guisubmenu) C/gedit.xml:1413(guisubmenu) -#: C/gedit.xml:1419(guisubmenu) C/gedit.xml:1425(guisubmenu) +#: C/pluma.xml:1407(guisubmenu) C/pluma.xml:1413(guisubmenu) +#: C/pluma.xml:1419(guisubmenu) C/pluma.xml:1425(guisubmenu) msgid "Change Case" msgstr "" -#: C/gedit.xml:1407(guimenuitem) +#: C/pluma.xml:1407(guimenuitem) msgid "All Upper Case" msgstr "" -#: C/gedit.xml:1408(para) +#: C/pluma.xml:1408(para) msgid "Change each character to uppercase." msgstr "" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "This text becomes THIS TEXT" msgstr "" -#: C/gedit.xml:1413(guimenuitem) +#: C/pluma.xml:1413(guimenuitem) msgid "All Lower Case" msgstr "" -#: C/gedit.xml:1414(para) +#: C/pluma.xml:1414(para) msgid "Change each character to lowercase." msgstr "" -#: C/gedit.xml:1415(para) +#: C/pluma.xml:1415(para) msgid "This Text becomes this text" msgstr "" -#: C/gedit.xml:1419(guimenuitem) +#: C/pluma.xml:1419(guimenuitem) msgid "Invert Case" msgstr "" -#: C/gedit.xml:1420(para) +#: C/pluma.xml:1420(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "" -#: C/gedit.xml:1421(para) +#: C/pluma.xml:1421(para) msgid "This Text becomes tHIS tEXT" msgstr "" -#: C/gedit.xml:1425(guimenuitem) +#: C/pluma.xml:1425(guimenuitem) msgid "Title Case" msgstr "" -#: C/gedit.xml:1426(para) +#: C/pluma.xml:1426(para) msgid "Change the first character of each word to uppercase." msgstr "" -#: C/gedit.xml:1427(para) +#: C/pluma.xml:1427(para) msgid "this text becomes This Text" msgstr "" -#: C/gedit.xml:1436(title) +#: C/pluma.xml:1436(title) msgid "Document Statistics Plugin" msgstr "" -#: C/gedit.xml:1437(para) +#: C/pluma.xml:1437(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2574,7 +2574,7 @@ msgid "" "Statistics plugin, perform the following steps:" msgstr "" -#: C/gedit.xml:1439(para) +#: C/pluma.xml:1439(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statisticsgedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" -#: C/gedit.xml:1466(title) +#: C/pluma.xml:1466(title) msgid "External Tools Plugin" msgstr "" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" -#: C/gedit.xml:1468(para) +#: C/pluma.xml:1468(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools menu." msgstr "" -#: C/gedit.xml:1471(title) +#: C/pluma.xml:1471(title) msgid "Built-in Commands" msgstr "" -#: C/gedit.xml:1472(para) +#: C/pluma.xml:1472(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "" -#: C/gedit.xml:1474(term) +#: C/pluma.xml:1474(term) msgid "Build" msgstr "" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Runs make in the current document's directory." msgstr "" -#: C/gedit.xml:1479(term) +#: C/pluma.xml:1479(term) msgid "Directory Listing" msgstr "" -#: C/gedit.xml:1481(para) +#: C/pluma.xml:1481(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "" -#: C/gedit.xml:1484(term) +#: C/pluma.xml:1484(term) msgid "Environment Variables" msgstr "" -#: C/gedit.xml:1486(para) +#: C/pluma.xml:1486(para) msgid "Displays the environment variables list in the bottom pane." msgstr "" -#: C/gedit.xml:1489(term) +#: C/pluma.xml:1489(term) msgid "Grep" msgstr "" -#: C/gedit.xml:1491(para) +#: C/pluma.xml:1491(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." msgstr "" -#: C/gedit.xml:1494(term) +#: C/pluma.xml:1494(term) msgid "Remove Trailing Spaces" msgstr "" -#: C/gedit.xml:1496(para) +#: C/pluma.xml:1496(para) msgid "Removes all spaces from the end of lines in the document." msgstr "" -#: C/gedit.xml:1503(title) +#: C/pluma.xml:1503(title) msgid "Defining a Command" msgstr "" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "" "To add an external command, choose ToolsExternal Tools." msgstr "" -#: C/gedit.xml:1505(para) +#: C/pluma.xml:1505(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " "new command:" msgstr "" -#: C/gedit.xml:1507(term) +#: C/pluma.xml:1507(term) msgid "Description" msgstr "" -#: C/gedit.xml:1509(para) +#: C/pluma.xml:1509(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "" -#: C/gedit.xml:1512(term) +#: C/pluma.xml:1512(term) msgid "Accelerator" msgstr "" -#: C/gedit.xml:1514(para) +#: C/pluma.xml:1514(para) msgid "Enter a keyboard shortcut for the command." msgstr "" -#: C/gedit.xml:1517(term) +#: C/pluma.xml:1517(term) msgid "Commands" msgstr "" -#: C/gedit.xml:1519(para) +#: C/pluma.xml:1519(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -#: C/gedit.xml:1522(term) +#: C/pluma.xml:1522(term) msgid "Input" msgstr "" -#: C/gedit.xml:1524(para) +#: C/pluma.xml:1524(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." msgstr "" -#: C/gedit.xml:1527(term) +#: C/pluma.xml:1527(term) msgid "Output" msgstr "" -#: C/gedit.xml:1529(para) +#: C/pluma.xml:1529(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " "cursor position, or replacing the selection or the entire document." msgstr "" -#: C/gedit.xml:1532(term) +#: C/pluma.xml:1532(term) msgid "Applicability" msgstr "" -#: C/gedit.xml:1534(para) +#: C/pluma.xml:1534(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." msgstr "" -#: C/gedit.xml:1542(title) +#: C/pluma.xml:1542(title) msgid "Editing and Removing Tools" msgstr "" -#: C/gedit.xml:1543(para) +#: C/pluma.xml:1543(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "" -#: C/gedit.xml:1544(para) +#: C/pluma.xml:1544(para) msgid "To rename a tool, click it again in the list." msgstr "" -#: C/gedit.xml:1545(para) +#: C/pluma.xml:1545(para) msgid "" "To restore a built-in tool that you have changed, press Revert." msgstr "" -#: C/gedit.xml:1546(para) +#: C/pluma.xml:1546(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " "yourself." msgstr "" -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Variables" msgstr "" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "" -#: C/gedit.xml:1554(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1554(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" msgstr "" -#: C/gedit.xml:1557(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1557(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" msgstr "" -#: C/gedit.xml:1560(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1560(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" msgstr "" -#: C/gedit.xml:1563(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1563(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" msgstr "" -#: C/gedit.xml:1566(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1566(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" msgstr "" -#: C/gedit.xml:1569(para) -msgid "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1569(para) +msgid "PLUMA_DOCUMENTS_URI" msgstr "" -#: C/gedit.xml:1572(para) -msgid "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1572(para) +msgid "PLUMA_DOCUMENTS_PATH" msgstr "" -#: C/gedit.xml:1579(title) +#: C/pluma.xml:1579(title) msgid "File Browser Plugin" msgstr "" -#: C/gedit.xml:1580(para) +#: C/pluma.xml:1580(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." msgstr "" -#: C/gedit.xml:1581(para) +#: C/pluma.xml:1581(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " "the tab showing the File Browser icon at the bottom of the side pane." msgstr "" -#: C/gedit.xml:1583(title) +#: C/pluma.xml:1583(title) msgid "Browsing your Files" msgstr "" -#: C/gedit.xml:1584(para) +#: C/pluma.xml:1584(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." msgstr "" -#: C/gedit.xml:1585(para) +#: C/pluma.xml:1585(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." msgstr "" -#: C/gedit.xml:1586(para) +#: C/pluma.xml:1586(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " "document." msgstr "" -#: C/gedit.xml:1590(para) +#: C/pluma.xml:1590(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -#: C/gedit.xml:1593(title) +#: C/pluma.xml:1593(title) msgid "Creating Files and Folders" msgstr "" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." msgstr "" -#: C/gedit.xml:1595(para) +#: C/pluma.xml:1595(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." msgstr "" -#: C/gedit.xml:1600(title) +#: C/pluma.xml:1600(title) msgid "Indent Lines Plugin" msgstr "" -#: C/gedit.xml:1601(para) +#: C/pluma.xml:1601(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." msgstr "" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "To indent or unindent text, perform the following steps:" msgstr "" -#: C/gedit.xml:1604(para) +#: C/pluma.xml:1604(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." msgstr "" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "To indent the text, choose EditIndent." msgstr "" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "To remove the indentation, choose EditUnindent." msgstr "" -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" -#: C/gedit.xml:1622(title) +#: C/pluma.xml:1622(title) msgid "Insert Date/Time Plugin" msgstr "" -#: C/gedit.xml:1623(para) +#: C/pluma.xml:1623(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " "the following steps:" msgstr "" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "Choose EditInsert Date and Time." msgstr "" -#: C/gedit.xml:1626(para) +#: C/pluma.xml:1626(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" -#: C/gedit.xml:1627(para) +#: C/pluma.xml:1627(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -#: C/gedit.xml:1632(title) +#: C/pluma.xml:1632(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "Select the Insert Date/Time plugin." msgstr "" -#: C/gedit.xml:1644(para) +#: C/pluma.xml:1644(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." msgstr "" -#: C/gedit.xml:1647(para) +#: C/pluma.xml:1647(para) msgid "Select one of the options, as follows:" msgstr "" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." msgstr "" -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3008,79 +3008,79 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." msgstr "" -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To close the Preferences dialog, click " "Close." msgstr "" -#: C/gedit.xml:1670(title) +#: C/pluma.xml:1670(title) msgid "Modelines Plugin" msgstr "" -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" -#: C/gedit.xml:1672(para) +#: C/pluma.xml:1672(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "" -#: C/gedit.xml:1673(para) +#: C/pluma.xml:1673(para) msgid "You can set the following preferences with modelines:" msgstr "" -#: C/gedit.xml:1676(para) +#: C/pluma.xml:1676(para) msgid "Tab width" msgstr "" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "Indent width" msgstr "" -#: C/gedit.xml:1682(para) +#: C/pluma.xml:1682(para) msgid "Insert spaces instead of tabs" msgstr "" -#: C/gedit.xml:1688(para) +#: C/pluma.xml:1688(para) msgid "Right margin width" msgstr "" -#: C/gedit.xml:1692(para) +#: C/pluma.xml:1692(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " "Kate and Vim." msgstr "" -#: C/gedit.xml:1695(title) +#: C/pluma.xml:1695(title) msgid "Emacs Modelines" msgstr "" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "" -#: C/gedit.xml:1697(para) +#: C/pluma.xml:1697(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3088,17 +3088,17 @@ msgid "" "html\">GNU Emacs Manual." msgstr "" -#: C/gedit.xml:1700(title) +#: C/pluma.xml:1700(title) msgid "Kate Modelines" msgstr "" -#: C/gedit.xml:1701(para) +#: C/pluma.xml:1701(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "" -#: C/gedit.xml:1702(para) +#: C/pluma.xml:1702(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3106,17 +3106,17 @@ msgid "" "article/katepart_modelines\">Kate website." msgstr "" -#: C/gedit.xml:1705(title) +#: C/pluma.xml:1705(title) msgid "Vim Modelines" msgstr "" -#: C/gedit.xml:1706(para) +#: C/pluma.xml:1706(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "" -#: C/gedit.xml:1707(para) +#: C/pluma.xml:1707(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3124,37 +3124,37 @@ msgid "" "html#modeline\">Vim website." msgstr "" -#: C/gedit.xml:1712(title) +#: C/pluma.xml:1712(title) msgid "Python Console Plugin" msgstr "" -#: C/gedit.xml:1713(para) +#: C/pluma.xml:1713(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" -#: C/gedit.xml:1718(title) +#: C/pluma.xml:1718(title) msgid "Snippets Plugin" msgstr "" -#: C/gedit.xml:1719(para) +#: C/pluma.xml:1719(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " "insert them quickly into a document." msgstr "" -#: C/gedit.xml:1720(para) +#: C/pluma.xml:1720(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3162,17 +3162,17 @@ msgid "" "global, and are available in all documents." msgstr "" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -#: C/gedit.xml:1724(title) +#: C/pluma.xml:1724(title) msgid "Inserting Snippets" msgstr "" -#: C/gedit.xml:1725(para) +#: C/pluma.xml:1725(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3180,28 +3180,28 @@ msgid "" "short and easy to remember." msgstr "" -#: C/gedit.xml:1726(para) +#: C/pluma.xml:1726(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." msgstr "" -#: C/gedit.xml:1730(title) +#: C/pluma.xml:1730(title) msgid "Adding Snippets" msgstr "" -#: C/gedit.xml:1731(para) +#: C/pluma.xml:1731(para) msgid "To create a new snippet, do the following:" msgstr "" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " "opens." msgstr "" -#: C/gedit.xml:1737(para) +#: C/pluma.xml:1737(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3209,132 +3209,132 @@ msgid "" "document you are currently working with is shown by default." msgstr "" -#: C/gedit.xml:1740(para) +#: C/pluma.xml:1740(para) msgid "Click New. A new snippet appears in the list." msgstr "" -#: C/gedit.xml:1743(para) +#: C/pluma.xml:1743(para) msgid "Enter the following information for the new snippet:" msgstr "" -#: C/gedit.xml:1745(term) +#: C/pluma.xml:1745(term) msgid "Name" msgstr "" -#: C/gedit.xml:1747(para) +#: C/pluma.xml:1747(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " "name of a snippet you create by clicking on it in the list." msgstr "" -#: C/gedit.xml:1750(term) +#: C/pluma.xml:1750(term) msgid "Snippet text" msgstr "" -#: C/gedit.xml:1752(para) +#: C/pluma.xml:1752(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" -#: C/gedit.xml:1753(para) +#: C/pluma.xml:1753(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." msgstr "" -#: C/gedit.xml:1756(term) +#: C/pluma.xml:1756(term) msgid "Tab Trigger" msgstr "" -#: C/gedit.xml:1758(para) +#: C/pluma.xml:1758(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." msgstr "" -#: C/gedit.xml:1759(para) +#: C/pluma.xml:1759(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " "invalid tab trigger is entered." msgstr "" -#: C/gedit.xml:1762(term) +#: C/pluma.xml:1762(term) msgid "Shortcut key" msgstr "" -#: C/gedit.xml:1764(para) +#: C/pluma.xml:1764(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "" -#: C/gedit.xml:1773(title) +#: C/pluma.xml:1773(title) msgid "Editing and Removing Snippets" msgstr "" -#: C/gedit.xml:1774(para) +#: C/pluma.xml:1774(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." msgstr "" -#: C/gedit.xml:1775(para) +#: C/pluma.xml:1775(para) msgid "To rename a snippet, click it again in the list." msgstr "" -#: C/gedit.xml:1776(para) +#: C/pluma.xml:1776(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." msgstr "" -#: C/gedit.xml:1777(para) +#: C/pluma.xml:1777(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " "created yourself." msgstr "" -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Snippet Substitutions" msgstr "" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " "your document." msgstr "" -#: C/gedit.xml:1786(para) +#: C/pluma.xml:1786(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "" -#: C/gedit.xml:1788(term) +#: C/pluma.xml:1788(term) msgid "Tab placeholders" msgstr "" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." msgstr "" -#: C/gedit.xml:1791(para) +#: C/pluma.xml:1791(para) msgid "" "${n:default} defines a tab placeholder with a default value." msgstr "" -#: C/gedit.xml:1792(para) +#: C/pluma.xml:1792(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." msgstr "" -#: C/gedit.xml:1793(para) +#: C/pluma.xml:1793(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3342,7 +3342,7 @@ msgid "" "defines the order in which tab advances to each place in the text." msgstr "" -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3350,88 +3350,88 @@ msgid "" "snippet text, or to the end placeholder if it exists." msgstr "" -#: C/gedit.xml:1797(term) +#: C/pluma.xml:1797(term) msgid "Mirror placeholders" msgstr "" -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " "in the snippet." msgstr "" -#: C/gedit.xml:1802(term) +#: C/pluma.xml:1802(term) msgid "End placeholder" msgstr "" -#: C/gedit.xml:1804(para) +#: C/pluma.xml:1804(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " "the snippet text." msgstr "" -#: C/gedit.xml:1807(term) +#: C/pluma.xml:1807(term) msgid "Environmental variables" msgstr "" -#: C/gedit.xml:1809(para) +#: C/pluma.xml:1809(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" -#: C/gedit.xml:1811(term) -msgid "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1811(term) +msgid "$PLUMA_SELECTED_TEXT" msgstr "" -#: C/gedit.xml:1813(para) +#: C/pluma.xml:1813(para) msgid "The currently selected text." msgstr "" -#: C/gedit.xml:1816(term) -msgid "$GEDIT_FILENAME" +#: C/pluma.xml:1816(term) +msgid "$PLUMA_FILENAME" msgstr "" -#: C/gedit.xml:1818(para) +#: C/pluma.xml:1818(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "" -#: C/gedit.xml:1821(term) -msgid "$GEDIT_BASENAME" +#: C/pluma.xml:1821(term) +msgid "$PLUMA_BASENAME" msgstr "" -#: C/gedit.xml:1823(para) +#: C/pluma.xml:1823(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "" -#: C/gedit.xml:1826(term) -msgid "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1826(term) +msgid "$PLUMA_CURRENT_WORD" msgstr "" -#: C/gedit.xml:1828(para) +#: C/pluma.xml:1828(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "" -#: C/gedit.xml:1836(term) +#: C/pluma.xml:1836(term) msgid "Shell placeholders" msgstr "" -#: C/gedit.xml:1838(para) +#: C/pluma.xml:1838(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." msgstr "" -#: C/gedit.xml:1839(para) +#: C/pluma.xml:1839(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3440,18 +3440,18 @@ msgid "" "placeholder as input in another." msgstr "" -#: C/gedit.xml:1842(term) +#: C/pluma.xml:1842(term) msgid "Python placeholders" msgstr "" -#: C/gedit.xml:1844(para) +#: C/pluma.xml:1844(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " "interpreter." msgstr "" -#: C/gedit.xml:1845(para) +#: C/pluma.xml:1845(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3462,23 +3462,23 @@ msgid "" "replaceable>>" msgstr "" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." msgstr "" -#: C/gedit.xml:1855(title) +#: C/pluma.xml:1855(title) msgid "Sort Plugin" msgstr "" -#: C/gedit.xml:1856(para) +#: C/pluma.xml:1856(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." msgstr "" -#: C/gedit.xml:1857(para) +#: C/pluma.xml:1857(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3486,65 +3486,65 @@ msgid "" "guimenu>Revert." msgstr "" -#: C/gedit.xml:1860(para) +#: C/pluma.xml:1860(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "" -#: C/gedit.xml:1863(para) +#: C/pluma.xml:1863(para) msgid "Select the lines of text you want to sort." msgstr "" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "Choose EditSort. The Sort dialog opens." msgstr "" -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "Choose the options you want for the sort:" msgstr "" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "" "To arrange the text in reverse order, select Reverse order." msgstr "" -#: C/gedit.xml:1874(para) +#: C/pluma.xml:1874(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" -#: C/gedit.xml:1877(para) +#: C/pluma.xml:1877(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" -#: C/gedit.xml:1880(para) +#: C/pluma.xml:1880(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " "column spin box." msgstr "" -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To perform the sort operation, click Sort." msgstr "" -#: C/gedit.xml:1892(title) +#: C/pluma.xml:1892(title) msgid "Spell Checker Plugin" msgstr "" -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" -#: C/gedit.xml:1895(para) +#: C/pluma.xml:1895(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -3552,7 +3552,7 @@ msgid "" "guibutton> to close the Set language dialog." msgstr "" -#: C/gedit.xml:1898(para) +#: C/pluma.xml:1898(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -3560,47 +3560,47 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" -#: C/gedit.xml:1899(para) +#: C/pluma.xml:1899(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestions from the popup menu:" msgstr "" -#: C/gedit.xml:1902(para) +#: C/pluma.xml:1902(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " "popup menu." msgstr "" -#: C/gedit.xml:1905(para) +#: C/pluma.xml:1905(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd." msgstr "" -#: C/gedit.xml:1908(para) +#: C/pluma.xml:1908(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." msgstr "" -#: C/gedit.xml:1915(para) +#: C/pluma.xml:1915(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -3608,19 +3608,19 @@ msgid "" "guilabel> dialog." msgstr "" -#: C/gedit.xml:1917(para) +#: C/pluma.xml:1917(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "" -#: C/gedit.xml:1920(para) +#: C/pluma.xml:1920(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -3628,7 +3628,7 @@ msgid "" "can enter text directly into the Change to text box." msgstr "" -#: C/gedit.xml:1926(para) +#: C/pluma.xml:1926(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -3637,15 +3637,15 @@ msgid "" "in the Suggestions list." msgstr "" -#: C/gedit.xml:1929(para) +#: C/pluma.xml:1929(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" -#: C/gedit.xml:1932(para) +#: C/pluma.xml:1932(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change." msgstr "" -#: C/gedit.xml:1935(para) +#: C/pluma.xml:1935(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." msgstr "" -#: C/gedit.xml:1938(para) +#: C/pluma.xml:1938(para) msgid "" "To close the Check Spelling dialog, click " "Close." msgstr "" -#: C/gedit.xml:1947(title) +#: C/pluma.xml:1947(title) msgid "Tag List Plugin" msgstr "" -#: C/gedit.xml:1948(para) +#: C/pluma.xml:1948(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." msgstr "" -#: C/gedit.xml:1949(para) +#: C/pluma.xml:1949(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "" -#: C/gedit.xml:1951(para) +#: C/pluma.xml:1951(para) msgid "" "Choose ViewSide Pane." msgstr "" -#: C/gedit.xml:1955(para) +#: C/pluma.xml:1955(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " "tag list tab." msgstr "" -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." msgstr "" -#: C/gedit.xml:1960(para) +#: C/pluma.xml:1960(para) msgid "Scroll through the tag list to find the required tag." msgstr "" -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" msgstr "" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." msgstr "" -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press Shift, YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "Tosaporn Kijosoth , 2008" #~ msgid "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_bold.png'; " +#~ "@@image: 'figures/pluma_format_bold.png'; " #~ "md5=950264711a3f0808bef134fa94b0a582" #~ msgid "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_italic.png'; " +#~ "@@image: 'figures/pluma_format_italic.png'; " #~ "md5=feb9817676516ae91b9f6b1cd36a5eca" #~ msgid "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_underline.png'; " +#~ "@@image: 'figures/pluma_format_underline.png'; " #~ "md5=58f5848d81ea3f0656ccce82ba32ec9c" #~ msgid "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgstr "" -#~ "@@image: 'figures/gedit_format_strikethrough.png'; " +#~ "@@image: 'figures/pluma_format_strikethrough.png'; " #~ "md5=cf962f5d9df721c1f4f4cef2780915ed" #~ msgid "Colors" diff --git a/help/uk/figures/gedit_window.png b/help/uk/figures/pluma_window.png similarity index 100% rename from help/uk/figures/gedit_window.png rename to help/uk/figures/pluma_window.png diff --git a/help/uk/uk.po b/help/uk/uk.po index abac322..3570668 100755 --- a/help/uk/uk.po +++ b/help/uk/uk.po @@ -1,11 +1,11 @@ -# Ukrainian translation to gedit manual. +# Ukrainian translation to pluma manual. # Copyright © Free Software Foundation, 2007 -# This file is distributed under the same license as the gedit package. +# This file is distributed under the same license as the pluma package. # Maxim Dziumanenko , 2007. # msgid "" msgstr "" -"Project-Id-Version: gedit manual\n" +"Project-Id-Version: pluma manual\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-03-14 10:25+0200\n" "PO-Revision-Date: 2007-03-14 10:28+0300\n" @@ -113,321 +113,321 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:262(None) +#: ../C/pluma.xml:262(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:342(None) +#: ../C/pluma.xml:342(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1266(None) +#: ../C/pluma.xml:1266(None) msgid "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" msgstr "" -"@@image: 'figures/gedit_format_bold.png'; " +"@@image: 'figures/pluma_format_bold.png'; " "md5=950264711a3f0808bef134fa94b0a582" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1285(None) +#: ../C/pluma.xml:1285(None) msgid "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" msgstr "" -"@@image: 'figures/gedit_format_italic.png'; " +"@@image: 'figures/pluma_format_italic.png'; " "md5=feb9817676516ae91b9f6b1cd36a5eca" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1303(None) +#: ../C/pluma.xml:1303(None) msgid "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" msgstr "" -"@@image: 'figures/gedit_format_underline.png'; " +"@@image: 'figures/pluma_format_underline.png'; " "md5=58f5848d81ea3f0656ccce82ba32ec9c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: ../C/gedit.xml:1321(None) +#: ../C/pluma.xml:1321(None) msgid "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" msgstr "" -"@@image: 'figures/gedit_format_strikethrough.png'; " +"@@image: 'figures/pluma_format_strikethrough.png'; " "md5=cf962f5d9df721c1f4f4cef2780915ed" -#: ../C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Посібник з gedit" +#: ../C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Посібник з pluma" -#: ../C/gedit.xml:25(year) +#: ../C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: ../C/gedit.xml:26(holder) ../C/gedit.xml:45(publishername) -#: ../C/gedit.xml:52(firstname) ../C/gedit.xml:75(orgname) -#: ../C/gedit.xml:116(para) ../C/gedit.xml:124(para) ../C/gedit.xml:132(para) -#: ../C/gedit.xml:140(para) ../C/gedit.xml:148(para) ../C/gedit.xml:156(para) -#: ../C/gedit.xml:164(para) ../C/gedit.xml:172(para) ../C/gedit.xml:180(para) -#: ../C/gedit.xml:188(para) ../C/gedit.xml:196(para) +#: ../C/pluma.xml:26(holder) ../C/pluma.xml:45(publishername) +#: ../C/pluma.xml:52(firstname) ../C/pluma.xml:75(orgname) +#: ../C/pluma.xml:116(para) ../C/pluma.xml:124(para) ../C/pluma.xml:132(para) +#: ../C/pluma.xml:140(para) ../C/pluma.xml:148(para) ../C/pluma.xml:156(para) +#: ../C/pluma.xml:164(para) ../C/pluma.xml:172(para) ../C/pluma.xml:180(para) +#: ../C/pluma.xml:188(para) ../C/pluma.xml:196(para) msgid "MATE Documentation Project" msgstr "Проект документування MATE" -#: ../C/gedit.xml:28(year) +#: ../C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: ../C/gedit.xml:29(year) +#: ../C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: ../C/gedit.xml:30(year) +#: ../C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: ../C/gedit.xml:31(holder) ../C/gedit.xml:67(orgname) +#: ../C/pluma.xml:31(holder) ../C/pluma.xml:67(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: ../C/gedit.xml:33(year) ../C/gedit.xml:112(date) +#: ../C/pluma.xml:33(year) ../C/pluma.xml:112(date) msgid "2000" msgstr "2000" -#: ../C/gedit.xml:34(holder) +#: ../C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: ../C/gedit.xml:55(orgname) +#: ../C/pluma.xml:55(orgname) msgid "MATE" msgstr "MATE" -#: ../C/gedit.xml:59(firstname) +#: ../C/pluma.xml:59(firstname) msgid "Hal" msgstr "Hal" -#: ../C/gedit.xml:60(surname) +#: ../C/pluma.xml:60(surname) msgid "Canary" msgstr "Canary" -#: ../C/gedit.xml:61(contrib) +#: ../C/pluma.xml:61(contrib) msgid "Added the Shortcut Keys Table" msgstr "Пов'язати комбінації клавіш з командами" -#: ../C/gedit.xml:64(firstname) ../C/gedit.xml:187(para) +#: ../C/pluma.xml:64(firstname) ../C/pluma.xml:187(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun команда документування Java Desktop System" -#: ../C/gedit.xml:68(email) +#: ../C/pluma.xml:68(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: ../C/gedit.xml:72(firstname) +#: ../C/pluma.xml:72(firstname) msgid "Eric" msgstr "Eric" -#: ../C/gedit.xml:73(surname) +#: ../C/pluma.xml:73(surname) msgid "Baudais" msgstr "Baudais" -#: ../C/gedit.xml:76(email) +#: ../C/pluma.xml:76(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: ../C/gedit.xml:80(firstname) +#: ../C/pluma.xml:80(firstname) msgid "Baris" msgstr "Baris" -#: ../C/gedit.xml:81(surname) +#: ../C/pluma.xml:81(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek готував інформацію про ранні версії gedit." +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek готував інформацію про ранні версії pluma." -#: ../C/gedit.xml:82(contrib) ../C/gedit.xml:87(contrib) +#: ../C/pluma.xml:82(contrib) ../C/pluma.xml:87(contrib) msgid "Acknowledgements" msgstr "Подяки" -#: ../C/gedit.xml:85(firstname) +#: ../C/pluma.xml:85(firstname) msgid "Ajit" msgstr "Ajit" -#: ../C/gedit.xml:86(surname) +#: ../C/pluma.xml:86(surname) msgid "George provided information about plugins." msgstr "George надав інформацію про модулі." -#: ../C/gedit.xml:111(revnumber) -msgid "gedit V1.0" -msgstr "gedit версії 1.0" +#: ../C/pluma.xml:111(revnumber) +msgid "pluma V1.0" +msgstr "pluma версії 1.0" -#: ../C/gedit.xml:114(para) +#: ../C/pluma.xml:114(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: ../C/gedit.xml:120(revnumber) -msgid "gedit Manual V2.0" -msgstr "Довідка з програми Gedit версії 2.0" +#: ../C/pluma.xml:120(revnumber) +msgid "pluma Manual V2.0" +msgstr "Довідка з програми Pluma версії 2.0" -#: ../C/gedit.xml:121(date) +#: ../C/pluma.xml:121(date) msgid "March 2002" msgstr "Березень 2002" -#: ../C/gedit.xml:123(para) ../C/gedit.xml:131(para) ../C/gedit.xml:139(para) -#: ../C/gedit.xml:147(para) ../C/gedit.xml:155(para) ../C/gedit.xml:163(para) -#: ../C/gedit.xml:171(para) ../C/gedit.xml:179(para) +#: ../C/pluma.xml:123(para) ../C/pluma.xml:131(para) ../C/pluma.xml:139(para) +#: ../C/pluma.xml:147(para) ../C/pluma.xml:155(para) ../C/pluma.xml:163(para) +#: ../C/pluma.xml:171(para) ../C/pluma.xml:179(para) msgid "Sun MATE Documentation Team" msgstr "Sun команда документування MATE" -#: ../C/gedit.xml:128(revnumber) -msgid "gedit Manual V2.1" -msgstr "Довідка з програми Gedit версії 2.1" +#: ../C/pluma.xml:128(revnumber) +msgid "pluma Manual V2.1" +msgstr "Довідка з програми Pluma версії 2.1" -#: ../C/gedit.xml:129(date) +#: ../C/pluma.xml:129(date) msgid "June 2002" msgstr "Червень 2002" -#: ../C/gedit.xml:136(revnumber) -msgid "gedit Manual V2.2" -msgstr "Довідка з програми Gedit версії 2.2" +#: ../C/pluma.xml:136(revnumber) +msgid "pluma Manual V2.2" +msgstr "Довідка з програми Pluma версії 2.2" -#: ../C/gedit.xml:137(date) +#: ../C/pluma.xml:137(date) msgid "August 2002" msgstr "Серпень 2002" -#: ../C/gedit.xml:144(revnumber) -msgid "gedit Manual V2.3" -msgstr "Довідка з програми Gedit версії 2.3" +#: ../C/pluma.xml:144(revnumber) +msgid "pluma Manual V2.3" +msgstr "Довідка з програми Pluma версії 2.3" -#: ../C/gedit.xml:145(date) +#: ../C/pluma.xml:145(date) msgid "September 2002" msgstr "Вересень 2002" -#: ../C/gedit.xml:152(revnumber) -msgid "gedit Manual V2.4" -msgstr "Довідка з програми Gedit версії 2.4" +#: ../C/pluma.xml:152(revnumber) +msgid "pluma Manual V2.4" +msgstr "Довідка з програми Pluma версії 2.4" -#: ../C/gedit.xml:153(date) +#: ../C/pluma.xml:153(date) msgid "January 2003" msgstr "Січень 2003" -#: ../C/gedit.xml:160(revnumber) -msgid "gedit Manual V2.5" -msgstr "Довідка з програми Gedit версії 2.5" +#: ../C/pluma.xml:160(revnumber) +msgid "pluma Manual V2.5" +msgstr "Довідка з програми Pluma версії 2.5" -#: ../C/gedit.xml:161(date) +#: ../C/pluma.xml:161(date) msgid "March 2003" msgstr "Березень 2003" -#: ../C/gedit.xml:168(revnumber) -msgid "gedit Manual V2.6" -msgstr "Довідка з програми Gedit версії 2.6" +#: ../C/pluma.xml:168(revnumber) +msgid "pluma Manual V2.6" +msgstr "Довідка з програми Pluma версії 2.6" -#: ../C/gedit.xml:169(date) +#: ../C/pluma.xml:169(date) msgid "September 2003" msgstr "Вересень 2003" -#: ../C/gedit.xml:176(revnumber) -msgid "gedit Manual V2.7" -msgstr "Довідка з програми Gedit версії 2.7" +#: ../C/pluma.xml:176(revnumber) +msgid "pluma Manual V2.7" +msgstr "Довідка з програми Pluma версії 2.7" -#: ../C/gedit.xml:177(date) +#: ../C/pluma.xml:177(date) msgid "March 2004" msgstr "Березень 2004" -#: ../C/gedit.xml:184(revnumber) -msgid "gedit Manual V2.8" -msgstr "Довідка з програми Gedit версії 2.8" +#: ../C/pluma.xml:184(revnumber) +msgid "pluma Manual V2.8" +msgstr "Довідка з програми Pluma версії 2.8" -#: ../C/gedit.xml:192(revnumber) -msgid "gedit Manual V2.9" -msgstr "Довідка з програми Gedit версії 2.9" +#: ../C/pluma.xml:192(revnumber) +msgid "pluma Manual V2.9" +msgstr "Довідка з програми Pluma версії 2.9" -#: ../C/gedit.xml:195(para) +#: ../C/pluma.xml:195(para) msgid "MATE Documentation Team" msgstr "Команда документування MATE" -#: ../C/gedit.xml:200(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "У довідці описується програма Gedit версії 2.16" +#: ../C/pluma.xml:200(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "У довідці описується програма Pluma версії 2.16" -#: ../C/gedit.xml:203(title) +#: ../C/pluma.xml:203(title) msgid "Feedback" msgstr "Зворотній зв'язок" -#: ../C/gedit.xml:204(para) +#: ../C/pluma.xml:204(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"Щоб сповістити про помилку або внести пропозицію відносно програми geditpluma або цієї довідки, дотримуйтесь інструкцій на сторінці Зворотний зв'язок з MATE." -#: ../C/gedit.xml:209(para) -msgid "gedit is the MATE text editor." -msgstr "gedit - це текстовий редактор для MATE." +#: ../C/pluma.xml:209(para) +msgid "pluma is the MATE text editor." +msgstr "pluma - це текстовий редактор для MATE." -#: ../C/gedit.xml:212(primary) -msgid "gedit" -msgstr "gedit" +#: ../C/pluma.xml:212(primary) +msgid "pluma" +msgstr "pluma" -#: ../C/gedit.xml:213(primary) +#: ../C/pluma.xml:213(primary) msgid "text editor" msgstr "Текстовий редактор" -#: ../C/gedit.xml:218(title) +#: ../C/pluma.xml:218(title) msgid "Introduction" msgstr "Вступ" -#: ../C/gedit.xml:223(para) +#: ../C/pluma.xml:223(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." msgstr "" -"Програма gedit дозволяє створювати та редагувати текстові файли." +"Програма pluma дозволяє створювати та редагувати текстові файли." -#: ../C/gedit.xml:225(para) +#: ../C/pluma.xml:225(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"gedit — має бути простим та легким у " +"pluma — має бути простим та легким у " "використанні текстовим редактором. Багато можливостей можуть бути включені " "модулями, що вирішують ряд завдань з редагування " "тексту." -#: ../C/gedit.xml:229(title) +#: ../C/pluma.xml:229(title) msgid "Getting Started" msgstr "Початок роботи" -#: ../C/gedit.xml:233(title) -msgid "Starting gedit" -msgstr "Запуск gedit" +#: ../C/pluma.xml:233(title) +msgid "Starting pluma" +msgstr "Запуск pluma" -#: ../C/gedit.xml:234(para) -msgid "You can start gedit in the following ways:" +#: ../C/pluma.xml:234(para) +msgid "You can start pluma in the following ways:" msgstr "" -"gedit можна запустити наступними способами:" +"pluma можна запустити наступними способами:" -#: ../C/gedit.xml:237(term) +#: ../C/pluma.xml:237(term) msgid "Applications menu" msgstr "Меню Програми" -#: ../C/gedit.xml:239(para) +#: ../C/pluma.xml:239(para) msgid "" "Choose AccessoriesText " "Editor." @@ -435,97 +435,97 @@ msgstr "" "Виберіть СтандартніТекстовий " "редактор." -#: ../C/gedit.xml:243(term) +#: ../C/pluma.xml:243(term) msgid "Command line" msgstr "Командний рядок" -#: ../C/gedit.xml:245(para) -msgid "Execute the following command: gedit" -msgstr "Виконайте команду: gedit" +#: ../C/pluma.xml:245(para) +msgid "Execute the following command: pluma" +msgstr "Виконайте команду: pluma" -#: ../C/gedit.xml:249(para) +#: ../C/pluma.xml:249(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" "Якщо ви відкриваєте текстовий документ у файловому менеджері, " -"gedit запускається автоматично та відображає файл, що відкривається." +"pluma запускається автоматично та відображає файл, що відкривається." -#: ../C/gedit.xml:254(title) -msgid "The gedit Window" -msgstr "Вікно gedit" +#: ../C/pluma.xml:254(title) +msgid "The pluma Window" +msgstr "Вікно pluma" -#: ../C/gedit.xml:255(para) +#: ../C/pluma.xml:255(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" msgstr "" -"Після запуску програми gedit " +"Після запуску програми pluma " "відкривається наступне вікно:" -#: ../C/gedit.xml:258(title) -msgid "gedit Window" -msgstr "Вікно gedit" +#: ../C/pluma.xml:258(title) +msgid "pluma Window" +msgstr "Вікно pluma" -#: ../C/gedit.xml:264(phrase) -msgid "Shows gedit main window." -msgstr "Показано вікно програми gedit." +#: ../C/pluma.xml:264(phrase) +msgid "Shows pluma main window." +msgstr "Показано вікно програми pluma." -#: ../C/gedit.xml:270(para) +#: ../C/pluma.xml:270(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"Вікно gedit містить наступні елементи:" +"Вікно pluma містить наступні елементи:" -#: ../C/gedit.xml:273(term) +#: ../C/pluma.xml:273(term) msgid "Menubar" msgstr "Панель меню" -#: ../C/gedit.xml:275(para) +#: ../C/pluma.xml:275(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." -msgstr "Меню містить усі необхідні команди для роботи з файлами у gedit." +"files in pluma." +msgstr "Меню містить усі необхідні команди для роботи з файлами у pluma." -#: ../C/gedit.xml:278(term) +#: ../C/pluma.xml:278(term) msgid "Toolbar" msgstr "Панель інструментів" -#: ../C/gedit.xml:280(para) +#: ../C/pluma.xml:280(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "Панель меню містить деякі команди, доступні у меню." -#: ../C/gedit.xml:283(term) +#: ../C/pluma.xml:283(term) msgid "Display area" msgstr "Область відображення" -#: ../C/gedit.xml:285(para) +#: ../C/pluma.xml:285(para) msgid "The display area contains the text of the file that you are editing." msgstr "У області перегляду відображається текст, що редагується." -#: ../C/gedit.xml:288(term) +#: ../C/pluma.xml:288(term) msgid "Statusbar" msgstr "Рядок стану" -#: ../C/gedit.xml:290(para) +#: ../C/pluma.xml:290(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"Рядок стану показує поточний стан geditpluma, а також контекстну інформацію про пункти меню. Інформація про " "стан може бути такою:" -#: ../C/gedit.xml:293(para) +#: ../C/pluma.xml:293(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "Позиція курсору: номер рядка та номер стовпчика, де знаходиться курсор." -#: ../C/gedit.xml:296(para) +#: ../C/pluma.xml:296(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -537,11 +537,11 @@ msgstr "" "рядок відображає ЗАМ. Натискання клавіші " "Insert змінює режим редагування." -#: ../C/gedit.xml:301(term) +#: ../C/pluma.xml:301(term) msgid "Side Pane" msgstr "Бічна панель" -#: ../C/gedit.xml:303(para) +#: ../C/pluma.xml:303(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." @@ -549,7 +549,7 @@ msgstr "" "У бічній панелі відображається список відкритих документів та інша " "інформація, що залежить від завантажених модулів." -#: ../C/gedit.xml:304(para) +#: ../C/pluma.xml:304(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide PaneВиглядБічна панель." -#: ../C/gedit.xml:307(term) +#: ../C/pluma.xml:307(term) msgid "Bottom Pane" msgstr "Нижня панель" -#: ../C/gedit.xml:309(para) +#: ../C/pluma.xml:309(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output. It is not shown by default." @@ -571,108 +571,108 @@ msgstr "" "Нижня панель використовується для виводу інформації інструментами програмування, такими як модуль " "Python Console. Типово не відображається." -#: ../C/gedit.xml:313(para) +#: ../C/pluma.xml:313(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"При клацанні правою кнопкою миші у вікні gedit, " +"При клацанні правою кнопкою миші у вікні pluma, " "з'являється контекстне меню. Воно містить загальні команди редагування " "тексту." -#: ../C/gedit.xml:315(para) +#: ../C/pluma.xml:315(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"Подібно до інших програм MATE, більшість дій у geditpluma можна виконати кількома способами: через меню, через панель " "інструментів або за допомогою гарячих клавіш. Спільні для усіх програм гарячі " "клавіші перелічені у Посібнику користувача." -#: ../C/gedit.xml:320(title) -msgid "Running gedit from a Command Line" -msgstr "Запуск gedit з командного рядка" +#: ../C/pluma.xml:320(title) +msgid "Running pluma from a Command Line" +msgstr "Запуск pluma з командного рядка" -#: ../C/gedit.xml:321(para) +#: ../C/pluma.xml:321(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"Можна запустить gedit з командного рядка з одним або кількома файлами. " +"Можна запустить pluma з командного рядка з одним або кількома файлами. " "Для відкривання кількох файлів введіть наступну команду та натисніть клавішу " "Enter:" -#: ../C/gedit.xml:322(replaceable) +#: ../C/pluma.xml:322(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "файл1.txt файл2.txt файл3.txt" -#: ../C/gedit.xml:322(command) -msgid "gedit " -msgstr "gedit " +#: ../C/pluma.xml:322(command) +msgid "pluma " +msgstr "pluma " -#: ../C/gedit.xml:323(para) +#: ../C/pluma.xml:323(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "Або ж замість назви файлу можна вказати URI." -#: ../C/gedit.xml:324(para) +#: ../C/pluma.xml:324(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"Додаткову інформацію про запуск gedit з " -"командного рядка дивіться man-сторінці для gedit, geditpluma з " +"командного рядка дивіться man-сторінці для pluma, pluma1." -#: ../C/gedit.xml:329(title) +#: ../C/pluma.xml:329(title) msgid "Working with Files" msgstr "Робота с файлами" -#: ../C/gedit.xml:333(title) +#: ../C/pluma.xml:333(title) msgid "Creating a New Document" msgstr "Створення нового документу" -#: ../C/gedit.xml:334(para) +#: ../C/pluma.xml:334(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "Щоб створити новий документ виберіть ФайлСтворити. У вікні gedit з'явиться новий порожній " +"guimenu>Створити. У вікні pluma з'явиться новий порожній " "документ." -#: ../C/gedit.xml:339(title) ../C/gedit.xml:1667(title) +#: ../C/pluma.xml:339(title) ../C/pluma.xml:1667(title) msgid "Opening a File" msgstr "Відкриття файлу" -#: ../C/gedit.xml:340(para) +#: ../C/pluma.xml:340(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "Щоб відкрити файл виберіть ФайлВідкрити. У діалозі вибору " "файлів знайдіть потрібний файл та натисніть кнопку Відкрити. Файл " -"відобразиться у вікні gedit." +"відобразиться у вікні pluma." -#: ../C/gedit.xml:342(phrase) +#: ../C/pluma.xml:342(phrase) msgid "Shows Recent Files menu icon." msgstr "Значок списку недавно недавніх файлів." -#: ../C/gedit.xml:342(para) +#: ../C/pluma.xml:342(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -684,25 +684,25 @@ msgstr "" "Також для відображення списку недавніх файлів можна натиснути " "значок на панелі інструментів." -#: ../C/gedit.xml:344(para) +#: ../C/pluma.xml:344(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"У gedit можна відкривати декілька файлів. " +"У pluma можна відкривати декілька файлів. " "Програма додає вкладку для кожного відкритого файлу у вікно. Також дивіться " -"." +"." -#: ../C/gedit.xml:350(title) +#: ../C/pluma.xml:350(title) msgid "Saving a File" msgstr "Збереження файлу" -#: ../C/gedit.xml:351(para) +#: ../C/pluma.xml:351(para) msgid "You can save files in the following ways:" msgstr "Зберігати файли можна кількома способами:" -#: ../C/gedit.xml:353(para) +#: ../C/pluma.xml:353(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -711,7 +711,7 @@ msgstr "" "ФайлЗберегти." -#: ../C/gedit.xml:355(para) +#: ../C/pluma.xml:355(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave AsЗберегти як та натисніть кнопку Зберегти." -#: ../C/gedit.xml:357(para) +#: ../C/pluma.xml:357(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" @@ -734,21 +734,21 @@ msgstr "" "ДокументиЗберегти все." -#: ../C/gedit.xml:360(para) +#: ../C/pluma.xml:360(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"Для закриття усіх відкритих у gedit файлів, " +"Для закриття усіх відкритих у pluma файлів, " "виберіть ДокументиЗакрити все." -#: ../C/gedit.xml:365(title) +#: ../C/pluma.xml:365(title) msgid "Opening a File from a URI" msgstr "Відкриття файлу через URI" -#: ../C/gedit.xml:366(para) +#: ../C/pluma.xml:366(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" @@ -756,7 +756,7 @@ msgstr "" "Щоб відкрити файл через Uniform Resource Identifier (URI), виконайте " "наступне:" -#: ../C/gedit.xml:369(para) +#: ../C/pluma.xml:369(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -766,34 +766,34 @@ msgstr "" "guimenuitem>, з'явиться діалогове вікно Відкрити " "адресу." -#: ../C/gedit.xml:372(para) +#: ../C/pluma.xml:372(para) msgid "Enter the URI of the file that you want to open." msgstr "Введіть URI файлу, який хочете відкрити." -#: ../C/gedit.xml:375(para) +#: ../C/pluma.xml:375(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." msgstr "" "Виберіть відповідне кодування у розкривному списку Кодування символів." -#: ../C/gedit.xml:378(para) +#: ../C/pluma.xml:378(para) msgid "Click Open." msgstr "Натисніть кнопку Відкрити." -#: ../C/gedit.xml:381(para) +#: ../C/pluma.xml:381(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " "methods supported by mate-vfs." msgstr "" -"Інший спосіб - ввести у командному рядку: gedit URIpluma URI, де URI — URI " "файлу, що відкривається, а потім натиснути клавішу Enter. " "URI може містити http:, " "ftp:, file: та усі протоколи, що підтримуються mate-vfs." -#: ../C/gedit.xml:382(para) +#: ../C/pluma.xml:382(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -805,65 +805,65 @@ msgstr "" "Файли відкриті через протокол FTP доступні лише для читання, оскільки не усі сервери FTP " "можуть коректно підтримують збереження віддалених файлів." -#: ../C/gedit.xml:383(para) +#: ../C/pluma.xml:383(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "Збереження файлів на сервер FTP можна увімкнути у Редакторі конфігурації, " -"встановивши ключ /apps/gedit-2/preferences/editor/save/" +"встановивши ключ /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes. Але подібний режим використання може призводити до помилок." -#: ../C/gedit.xml:388(title) +#: ../C/pluma.xml:388(title) msgid "Working With Tabs" msgstr "Робота з вкладками" -#: ../C/gedit.xml:390(para) +#: ../C/pluma.xml:390(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"Коли відкрито більше одного файлу, gedit " +"Коли відкрито більше одного файлу, pluma " "відображає у верхній частині області перегляду вкладки " "для кожного документу. Перейти до іншого документу можна натиснувши на " "відповідній вкладці." -#: ../C/gedit.xml:391(para) +#: ../C/pluma.xml:391(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"Для переміщення документу в інше вікно gedit, " +"Для переміщення документу в інше вікно pluma, " "перетягніть відповідну вкладку." -#: ../C/gedit.xml:392(para) +#: ../C/pluma.xml:392(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"Для переміщення документу у нове вікно gedit, " +"Для переміщення документу у нове вікно pluma, " "перетягніть вкладку на робочий стіл або виберіть " "ДокументиПеремістити у нове " "вікно." -#: ../C/gedit.xml:398(title) +#: ../C/pluma.xml:398(title) msgid "Working with Text" msgstr "Робота с текстом" -#: ../C/gedit.xml:402(title) +#: ../C/pluma.xml:402(title) msgid "Editing Text" msgstr "Редагування тексту" -#: ../C/gedit.xml:403(para) +#: ../C/pluma.xml:403(para) msgid "You can edit the text of a file in the following ways:" msgstr "При редагуванні тексту можна використовувати наступні прийоми:" -#: ../C/gedit.xml:405(para) +#: ../C/pluma.xml:405(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -873,7 +873,7 @@ msgstr "" "показує місце вводу тексту, змінити яке можна за допомогою клавіш " "керування курсором або клацання мишею." -#: ../C/gedit.xml:407(para) +#: ../C/pluma.xml:407(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopyПравкаКопіювати." -#: ../C/gedit.xml:409(para) +#: ../C/pluma.xml:409(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCutПравкаВирізати." -#: ../C/gedit.xml:411(para) +#: ../C/pluma.xml:411(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDeleteПравкаВидалити." -#: ../C/gedit.xml:413(para) +#: ../C/pluma.xml:413(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "Для вставки змісту буферу обміну у позицію курсору, треба вибрати " "ПравкаВставити. Перед вставкою тексту треба перемістити або скопіювати " -"потрібний текст у буфер обміну у gedit або іншій програмі." +"потрібний текст у буфер обміну у pluma або іншій програмі." -#: ../C/gedit.xml:415(para) +#: ../C/pluma.xml:415(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -923,11 +923,11 @@ msgstr "" "ПравкаВиділити все." -#: ../C/gedit.xml:421(title) +#: ../C/pluma.xml:421(title) msgid "Undoing and Redoing Changes" msgstr "Повернення та повтор змін" -#: ../C/gedit.xml:422(para) +#: ../C/pluma.xml:422(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -935,27 +935,27 @@ msgid "" "guimenuitem>. The number of previous edits that you can undo is " "determined by the Undo limit setting in the " "Editor tabbed section of the Preferences dialog: see ." +"guilabel> dialog: see ." msgstr "" "Для повернення зроблених змін, треба вибрати ПравкаВернути. Щоб повторити ці " "зміни, виберіть ПравкаПовторити. Кількість повернень змін регулюється на вкладці " "Редактор діалогового вікна Параметри: дивіться ." +"guilabel>: дивіться ." -#: ../C/gedit.xml:427(title) +#: ../C/pluma.xml:427(title) msgid "Positioning the Cursor on a Specific Line" msgstr "Встановлення курсору на певний рядок" -#: ../C/gedit.xml:428(para) +#: ../C/pluma.xml:428(para) msgid "" "To position the cursor on a specific line in the current file, perform the " "following steps:" msgstr "" "Для встановлення курсору на певний рядок у поточному файлі, виконайте наступне:" -#: ../C/gedit.xml:430(para) +#: ../C/pluma.xml:430(para) msgid "" "Choose SearchGo to Line to display the Go to Line " @@ -964,14 +964,14 @@ msgstr "" "Виберіть ЗнайтиПерейти на рядок. Відкриється діалогове вікно." -#: ../C/gedit.xml:432(para) +#: ../C/pluma.xml:432(para) msgid "" "Type the number of the line that you want to move the cursor to in the " "Line number field." msgstr "" "Введіть номер потрібного рядка у полі Номер рядка." -#: ../C/gedit.xml:434(para) +#: ../C/pluma.xml:434(para) msgid "" "Click Go to Line. The application moves the cursor to " "the line number that you specify." @@ -979,37 +979,37 @@ msgstr "" "Натисніть Перейти до рядка. Програма перемістить " "курсор на вказаний рядок." -#: ../C/gedit.xml:436(para) +#: ../C/pluma.xml:436(para) msgid "" "To close the Go to Line dialog, click Close." msgstr "Для закриття діалогу, натисніть Закрити." -#: ../C/gedit.xml:443(title) +#: ../C/pluma.xml:443(title) msgid "Finding and Replacing" msgstr "Пошук та заміна" -#: ../C/gedit.xml:445(para) +#: ../C/pluma.xml:445(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"У gedit є два способи пошуку тексту. " +"У pluma є два способи пошуку тексту. " "Для пошуку текстового блоку можна використовувати діалог Знайти, " "або блока скористатись Інтерактивним пошуком для " "виділення кольором тексту під час вводу." -#: ../C/gedit.xml:450(title) +#: ../C/pluma.xml:450(title) msgid "Finding Text" msgstr "Пошук тексту" -#: ../C/gedit.xml:451(para) +#: ../C/pluma.xml:451(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "Щоб знайти у файлі рядок тексту, виконайте наступні дії:" -#: ../C/gedit.xml:453(para) +#: ../C/pluma.xml:453(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -1017,28 +1017,28 @@ msgstr "" "Виберіть ЗнайтиЗнайти, відкриється діалогове вікно Знайти" -#: ../C/gedit.xml:455(para) +#: ../C/pluma.xml:455(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "У полі Знайти введіть рядок, що шукається. Можна використовувати " "спеціальні символи, такі як, символ нового рядка чи табуляції: дивіться ." +"linkend=\"pluma-find-escapes\"/>." -#: ../C/gedit.xml:457(para) +#: ../C/pluma.xml:457(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "Для пошуку першого збігу після поточної позиції курсору натисніть Знайти. " "Якщо рядок знайдений, програма виділяє перший збіг. Інші рядки, що збігаються, будуть виділені кольором." -#: ../C/gedit.xml:459(para) +#: ../C/pluma.xml:459(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind NextЗнайтиЗнайти попередній." -#: ../C/gedit.xml:462(para) +#: ../C/pluma.xml:462(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -1066,7 +1066,7 @@ msgstr "" "guimenuitem> та знайтиЗнайти попередній." -#: ../C/gedit.xml:463(para) +#: ../C/pluma.xml:463(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear HighlightЗнайтиОчистити виділення кольором." -#: ../C/gedit.xml:467(title) +#: ../C/pluma.xml:467(title) msgid "Incremental Search" msgstr "Інтерактивний пошук" -#: ../C/gedit.xml:469(para) +#: ../C/pluma.xml:469(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -1088,7 +1088,7 @@ msgstr "" "Інтерактивний пошук виділяє кольором текст під час вводу, буква за " "буквою. (Подібну функцію підтримують деякі веб-переглядачі.)" -#: ../C/gedit.xml:470(para) +#: ../C/pluma.xml:470(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -1098,7 +1098,7 @@ msgstr "" "guimenu>Інтерактивний пошук. У верхній частині " "області перегляду з'явиться вікно пошуку." -#: ../C/gedit.xml:471(para) +#: ../C/pluma.xml:471(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." @@ -1106,7 +1106,7 @@ msgstr "" "Почніть ввід, та текст у документі буде виділений кольором. Виділиться перший збіг " "від позиції курсору." -#: ../C/gedit.xml:472(para) +#: ../C/pluma.xml:472(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlG. Щоб перетйти до попереднього збігу натисніть CtrlShiftG." -#: ../C/gedit.xml:473(para) +#: ../C/pluma.xml:473(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." msgstr "" "Також для переходу між місцями збігу можна використовувати клавіші зі стрілками вгору та вниз, або колесо миші." -#: ../C/gedit.xml:478(title) +#: ../C/pluma.xml:478(title) msgid "Replacing Text" msgstr "Заміна тексту" -#: ../C/gedit.xml:480(para) +#: ../C/pluma.xml:480(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" @@ -1137,7 +1137,7 @@ msgstr "" "Для пошуку та заміни рядка у файлі іншим рядком, виконайте наступні " "дії:" -#: ../C/gedit.xml:482(para) +#: ../C/pluma.xml:482(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1146,49 +1146,49 @@ msgstr "" "guimenuitem> для відкривання діалогового вікна Замінити." -#: ../C/gedit.xml:484(para) +#: ../C/pluma.xml:484(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "Введіть рядок, що замінюється у полі Знайти. Можна " "використовувати та спеціальні символи, як наприклад, символ нового рядка чи " -"символ табуляції: дивіться ." +"символ табуляції: дивіться ." -#: ../C/gedit.xml:485(para) +#: ../C/pluma.xml:485(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." msgstr "" "У полі Замінити на введіть рядок на який треба замінити." -#: ../C/gedit.xml:489(para) +#: ../C/pluma.xml:489(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "Для перегляду кожного збігу рядка перед його заміною, натисніть " -"Знайти. Якщо збіг є, geditЗнайти. Якщо збіг є, pluma виділить його. Для заміни натисніть Замінити. Щоб перейти до наступного збігу, ще раз натисніть " "Знайти." -#: ../C/gedit.xml:490(para) +#: ../C/pluma.xml:490(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." msgstr "" "Для негайної заміни збігів, натисніть Замінити все." -#: ../C/gedit.xml:495(title) +#: ../C/pluma.xml:495(title) msgid "Find and Replace Options" msgstr "Параметри пошуку та заміни" -#: ../C/gedit.xml:496(para) +#: ../C/pluma.xml:496(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1196,7 +1196,7 @@ msgstr "" "Діалог Знайти, як і діалог Замінити, мають наступні параметри:" -#: ../C/gedit.xml:498(para) +#: ../C/pluma.xml:498(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1207,7 +1207,7 @@ msgstr "" "регістрі, у якому ви його ввели. Наприклад, у цьому випадку «ТЕКСТ» не те ж " "саме, що й «текст»." -#: ../C/gedit.xml:500(para) +#: ../C/pluma.xml:500(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1217,14 +1217,14 @@ msgstr "" "Виберіть Збігається ціле слово, щоб ввести пошук лише " "за повними словами. Так, наприклад, «текст» не те ж саме що й «текстура»." -#: ../C/gedit.xml:502(para) +#: ../C/pluma.xml:502(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." msgstr "" "Виберіть Шукати назад, для пошуку у зворотному напрямку, до початку документу." -#: ../C/gedit.xml:504(para) +#: ../C/pluma.xml:504(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1233,11 +1233,11 @@ msgstr "" "йде від поточної позиції курсору до кінця, потім, від початку документу до " "поточної позиції." -#: ../C/gedit.xml:511(title) +#: ../C/pluma.xml:511(title) msgid "Special Characters" msgstr "Спеціальні символи" -#: ../C/gedit.xml:512(para) +#: ../C/pluma.xml:512(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" @@ -1245,39 +1245,39 @@ msgstr "" "У текст для пошуку можна включати наступні escape-послідовності, " "що замінюють спеціальні символи:" -#: ../C/gedit.xml:515(literal) +#: ../C/pluma.xml:515(literal) msgid "\\n" msgstr "\\n" -#: ../C/gedit.xml:517(para) +#: ../C/pluma.xml:517(para) msgid "Specifies a new line." msgstr "Символ нового рядка." -#: ../C/gedit.xml:521(literal) +#: ../C/pluma.xml:521(literal) msgid "\\t" msgstr "\\t" -#: ../C/gedit.xml:523(para) +#: ../C/pluma.xml:523(para) msgid "Specifies a tab character." msgstr "Символ табуляції." -#: ../C/gedit.xml:527(literal) +#: ../C/pluma.xml:527(literal) msgid "\\r" msgstr "\\r" -#: ../C/gedit.xml:529(para) +#: ../C/pluma.xml:529(para) msgid "Specifies a carriage return." msgstr "Символ переведення каретки." -#: ../C/gedit.xml:537(title) +#: ../C/pluma.xml:537(title) msgid "Printing" msgstr "Друк" -#: ../C/gedit.xml:541(title) +#: ../C/pluma.xml:541(title) msgid "Setting the Page Options" msgstr "Встановлення параметрів сторінки" -#: ../C/gedit.xml:543(para) +#: ../C/pluma.xml:543(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1287,44 +1287,44 @@ msgstr "" "guimenu>Параметри сторінки. На " "екрані відкриється діалогове вікно Параметри сторінки." -#: ../C/gedit.xml:545(para) +#: ../C/pluma.xml:545(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "Це діалогове вікно дозволяє налаштувати наступні параметри друку:" -#: ../C/gedit.xml:548(title) +#: ../C/pluma.xml:548(title) msgid "General Tabbed Section" msgstr "Вкладка «Загальне»" -#: ../C/gedit.xml:550(guilabel) +#: ../C/pluma.xml:550(guilabel) msgid "Print syntax highlighting" msgstr "Друкувати виділення синтаксису" -#: ../C/gedit.xml:552(para) +#: ../C/pluma.xml:552(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" "Відмітьте цей параметр, для друку з виділенням синтаксису кольором. Також дивіться ." +"linkend=\"pluma-set-highlightmode\"/>." -#: ../C/gedit.xml:555(guilabel) +#: ../C/pluma.xml:555(guilabel) msgid "Print page headers" msgstr "Друкувати заголовки сторінок" -#: ../C/gedit.xml:557(para) +#: ../C/pluma.xml:557(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." msgstr "" "Параметр вмикає заголовок для кожної сторінки. Заголовок не налаштовується." -#: ../C/gedit.xml:560(guilabel) ../C/gedit.xml:1162(guilabel) +#: ../C/pluma.xml:560(guilabel) ../C/pluma.xml:1162(guilabel) msgid "Line Numbers" msgstr "Нумерація рядків" -#: ../C/gedit.xml:563(para) +#: ../C/pluma.xml:563(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." @@ -1332,7 +1332,7 @@ msgstr "" "Параметр Друкувати номери рядків вмикає друк номерів " "рядків." -#: ../C/gedit.xml:564(para) +#: ../C/pluma.xml:564(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1342,12 +1342,12 @@ msgstr "" "можна вказати як часто будуть друкуватись номери. Наприклад, кожні 5 чи " "кожні 10 рядків." -#: ../C/gedit.xml:567(guilabel) ../C/gedit.xml:1155(guilabel) -#: ../C/gedit.xml:1759(para) +#: ../C/pluma.xml:567(guilabel) ../C/pluma.xml:1155(guilabel) +#: ../C/pluma.xml:1759(para) msgid "Text Wrapping" msgstr "Перенос тексту" -#: ../C/gedit.xml:569(para) +#: ../C/pluma.xml:569(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1356,7 +1356,7 @@ msgstr "" "Параметр Увімкнути перенос тексту дозволяє " "переносити довгі рядки на інший рядок. Не впливає на нумерацію рядків." -#: ../C/gedit.xml:571(para) +#: ../C/pluma.xml:571(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1364,77 +1364,77 @@ msgstr "" "Параметр Не розривати слово між рядками дозволяє " "переносити текст цілими словами." -#: ../C/gedit.xml:579(title) +#: ../C/pluma.xml:579(title) msgid "Fonts" msgstr "Шрифти" -#: ../C/gedit.xml:581(guilabel) +#: ../C/pluma.xml:581(guilabel) msgid "Body" msgstr "Текст" -#: ../C/gedit.xml:583(para) +#: ../C/pluma.xml:583(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "Натискаючи цю кнопку можна обрати шрифт для друку тексту." -#: ../C/gedit.xml:586(guilabel) +#: ../C/pluma.xml:586(guilabel) msgid "Line numbers" msgstr "Номери рядків" -#: ../C/gedit.xml:589(para) +#: ../C/pluma.xml:589(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "Ця кнопка дозволяє обрати шрифт для друку номерів рядків." -#: ../C/gedit.xml:592(guilabel) +#: ../C/pluma.xml:592(guilabel) msgid "Headers and footers" msgstr "Верхній та нижній колонтитули" -#: ../C/gedit.xml:594(para) +#: ../C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "" "Цією кнопкою обирається шрифт для друку верхніх та нижніх колонтитулів." -#: ../C/gedit.xml:598(para) +#: ../C/pluma.xml:598(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" "Кнопкою Відновити початкові шрифти можна " "відновити типові шрифти." -#: ../C/gedit.xml:605(title) +#: ../C/pluma.xml:605(title) msgid "Printing a Document" msgstr "Друк документу" -#: ../C/gedit.xml:606(para) +#: ../C/pluma.xml:606(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" msgstr "" -"Gedit може виконувати наступні завдання друку:" +"Pluma може виконувати наступні завдання друку:" -#: ../C/gedit.xml:608(para) +#: ../C/pluma.xml:608(para) msgid "Print a document to a printer." msgstr "Друк документу на принтері." -#: ../C/gedit.xml:610(para) +#: ../C/pluma.xml:610(para) msgid "Print the output of the print command to a file." msgstr "Друк у файл." -#: ../C/gedit.xml:613(para) +#: ../C/pluma.xml:613(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"При друкуванні у файл, gedit створює файл в одному з " +"При друкуванні у файл, pluma створює файл в одному з " "друкованих форматів. Загальними форматами друку є PostScript та Portable Document Format." -#: ../C/gedit.xml:615(para) +#: ../C/pluma.xml:615(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint PreviewФайлПопередній перегляд." -#: ../C/gedit.xml:617(para) +#: ../C/pluma.xml:617(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrintФайлДрук." -#: ../C/gedit.xml:619(para) +#: ../C/pluma.xml:619(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "Вікно Друк дозволяє встановлювати наступні параметри друку:" -#: ../C/gedit.xml:622(title) +#: ../C/pluma.xml:622(title) msgid "Job Tabbed Section" msgstr "Вкладка «Завдання»" -#: ../C/gedit.xml:624(guilabel) +#: ../C/pluma.xml:624(guilabel) msgid "Print range" msgstr "Діапазон друку" -#: ../C/gedit.xml:626(para) +#: ../C/pluma.xml:626(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "" "Для визначення кількості сторінок для друку виберіть один з наступних " "параметрів:" -#: ../C/gedit.xml:629(guilabel) +#: ../C/pluma.xml:629(guilabel) msgid "All" msgstr "Все" -#: ../C/gedit.xml:630(para) +#: ../C/pluma.xml:630(para) msgid "Select this option to print all of the pages in the file." msgstr "Відмітьте цей параметр для друкування усіх сторінок документа." -#: ../C/gedit.xml:633(guilabel) +#: ../C/pluma.xml:633(guilabel) msgid "Lines" msgstr "Рядки" -#: ../C/gedit.xml:634(para) +#: ../C/pluma.xml:634(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1496,11 +1496,11 @@ msgstr "" "При виборі цього параметра друкуються лише певний діапазон рядків. Діапазон " "визначається полями Від та До." -#: ../C/gedit.xml:637(guilabel) +#: ../C/pluma.xml:637(guilabel) msgid "Selection" msgstr "Виділений фрагмент" -#: ../C/gedit.xml:638(para) +#: ../C/pluma.xml:638(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." @@ -1508,11 +1508,11 @@ msgstr "" "Буде надрукований лише виділений текст. Якщо текст не виділений, " "параметр недоступний." -#: ../C/gedit.xml:644(guilabel) +#: ../C/pluma.xml:644(guilabel) msgid "Copies" msgstr "Копії" -#: ../C/gedit.xml:646(para) +#: ../C/pluma.xml:646(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." @@ -1520,7 +1520,7 @@ msgstr "" "У полі Кількість копій можна вказати скільки екземплярів " "документу треба надрукувати." -#: ../C/gedit.xml:647(para) +#: ../C/pluma.xml:647(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1528,30 +1528,30 @@ msgstr "" "Для друку кількох екземплярів, можна сортувати сторінки за копіями за " "допомогою параметра Розібрати за копіями." -#: ../C/gedit.xml:654(title) +#: ../C/pluma.xml:654(title) msgid "Printer Tabbed Section" msgstr "Вкладка «Принтер»" -#: ../C/gedit.xml:656(guilabel) +#: ../C/pluma.xml:656(guilabel) msgid "Printer" msgstr "Принтер" -#: ../C/gedit.xml:658(para) +#: ../C/pluma.xml:658(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "" "Використовуючи цей список можна вибрати принтер для друку." -#: ../C/gedit.xml:661(guilabel) +#: ../C/pluma.xml:661(guilabel) msgid "Settings" msgstr "Параметри" -#: ../C/gedit.xml:663(para) +#: ../C/pluma.xml:663(para) msgid "Use this drop-down list to select the printer settings." msgstr "У цьому списку обираються параметри принтера." -#: ../C/gedit.xml:665(para) +#: ../C/pluma.xml:665(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1561,25 +1561,25 @@ msgstr "" "Наприклад, можна увімкнути або вимкнути друк з двох сторін, або відкласти друк " "до певного часу, якщо ця функціональність підтримується принтером." -#: ../C/gedit.xml:669(guilabel) +#: ../C/pluma.xml:669(guilabel) msgid "Location" msgstr "Адреса" -#: ../C/gedit.xml:671(para) +#: ../C/pluma.xml:671(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "" "У цьому списку можна вибрати:" -#: ../C/gedit.xml:676(guilabel) +#: ../C/pluma.xml:676(guilabel) msgid "CUPS" msgstr "CUPS" -#: ../C/gedit.xml:678(para) +#: ../C/pluma.xml:678(para) msgid "Print the file to a CUPS printer." msgstr "Друк документу на принтер CUPS." -#: ../C/gedit.xml:682(para) +#: ../C/pluma.xml:682(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1587,23 +1587,23 @@ msgstr "" "Якщо виділений принтер є принтером CUPS, тоді у цьому розкривному списку є " "єдиний елемент - CUPS." -#: ../C/gedit.xml:689(guilabel) +#: ../C/pluma.xml:689(guilabel) msgid "lpr" msgstr "lpr" -#: ../C/gedit.xml:691(para) +#: ../C/pluma.xml:691(para) msgid "Print the file to a printer." msgstr "Друк документу на принтер lpr." -#: ../C/gedit.xml:697(guilabel) +#: ../C/pluma.xml:697(guilabel) msgid "File" msgstr "Файл" -#: ../C/gedit.xml:699(para) +#: ../C/pluma.xml:699(para) msgid "Print the file to a PostScript file." msgstr "Друк документу у файл PostScript." -#: ../C/gedit.xml:702(para) +#: ../C/pluma.xml:702(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1611,56 +1611,56 @@ msgstr "" "Натисніть Зберегти як щоб відкрити діалогове вікно," "у якому вказується назва та розташування файлу PostScript." -#: ../C/gedit.xml:708(guilabel) +#: ../C/pluma.xml:708(guilabel) msgid "Custom" msgstr "Інший" -#: ../C/gedit.xml:710(para) +#: ../C/pluma.xml:710(para) msgid "Use the specified command to print the file." msgstr "Дозволяє використовувати вказану команду для друку документу." -#: ../C/gedit.xml:713(para) +#: ../C/pluma.xml:713(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "Введіть у текстовому полі назву команди та її аргументи." -#: ../C/gedit.xml:721(guilabel) +#: ../C/pluma.xml:721(guilabel) msgid "State" msgstr "Стан" -#: ../C/gedit.xml:723(para) ../C/gedit.xml:729(para) ../C/gedit.xml:735(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "Функціональність не підтримується у цій версії gedit." +#: ../C/pluma.xml:723(para) ../C/pluma.xml:729(para) ../C/pluma.xml:735(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "Функціональність не підтримується у цій версії pluma." -#: ../C/gedit.xml:727(guilabel) +#: ../C/pluma.xml:727(guilabel) msgid "Type" msgstr "Тип" -#: ../C/gedit.xml:733(guilabel) +#: ../C/pluma.xml:733(guilabel) msgid "Comment" msgstr "Коментар" -#: ../C/gedit.xml:743(title) +#: ../C/pluma.xml:743(title) msgid "Paper Tabbed Section" msgstr "Вкладка «Папір»" -#: ../C/gedit.xml:745(guilabel) +#: ../C/pluma.xml:745(guilabel) msgid "Paper size" msgstr "Розмір аркуша" -#: ../C/gedit.xml:747(para) +#: ../C/pluma.xml:747(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "" "У цьому розкривному списку можна вибрати розмір аркушів, на які буде друкуватись документ." -#: ../C/gedit.xml:750(guilabel) +#: ../C/pluma.xml:750(guilabel) msgid "Width" msgstr "Ширина" -#: ../C/gedit.xml:752(para) +#: ../C/pluma.xml:752(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." @@ -1668,37 +1668,37 @@ msgstr "" "У цьому полі визначається ширина аркуша. Одиниця виміру обирається " "у сусідньому розкривному списку." -#: ../C/gedit.xml:755(guilabel) +#: ../C/pluma.xml:755(guilabel) msgid "Height" msgstr "Висота" -#: ../C/gedit.xml:757(para) +#: ../C/pluma.xml:757(para) msgid "Use this spin box to specify the height of the paper." msgstr "У цьому полі визначається висота сторінки." -#: ../C/gedit.xml:760(guilabel) +#: ../C/pluma.xml:760(guilabel) msgid "Feed orientation" msgstr "Орієнтація подачі" -#: ../C/gedit.xml:762(para) +#: ../C/pluma.xml:762(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "У цьому списку вибирається орієнтація паперу у принтері." -#: ../C/gedit.xml:765(guilabel) +#: ../C/pluma.xml:765(guilabel) msgid "Page orientation" msgstr "Орієнтація аркуша" -#: ../C/gedit.xml:767(para) +#: ../C/pluma.xml:767(para) msgid "Use this drop-down list to select the page orientation." msgstr "У цьому списку вибирається орієнтація сторінки." -#: ../C/gedit.xml:770(guilabel) +#: ../C/pluma.xml:770(guilabel) msgid "Layout" msgstr "Розташування" -#: ../C/gedit.xml:772(para) +#: ../C/pluma.xml:772(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1707,35 +1707,35 @@ msgstr "" "вигляд компонування сторінки відображається у полі Попередній " "перегляд." -#: ../C/gedit.xml:775(guilabel) +#: ../C/pluma.xml:775(guilabel) msgid "Paper tray" msgstr "Джерело паперу" -#: ../C/gedit.xml:777(para) +#: ../C/pluma.xml:777(para) msgid "Use this drop-down list to select the paper tray." msgstr "У цьому списку можна вибрати джерело паперу." -#: ../C/gedit.xml:788(title) +#: ../C/pluma.xml:788(title) msgid "Programming Features" msgstr "Програмування" -#: ../C/gedit.xml:790(para) +#: ../C/pluma.xml:790(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"Деякі з можливостей програмування у geditpluma підтримуються модулями. Наприклад, «Список тегів» — модуль, " -"що відображає теги різних мов розмітки: дивіться ." -#: ../C/gedit.xml:794(title) +#: ../C/pluma.xml:794(title) msgid "Syntax Highlighting" msgstr "Виділення синтаксису" -#: ../C/gedit.xml:795(para) +#: ../C/pluma.xml:795(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." @@ -1743,98 +1743,98 @@ msgstr "" "Виділення синтаксису кольором робить полегшує читання коду людиною. " "Різні смислові елементи тексту виділяються різними кольорами." -#: ../C/gedit.xml:797(para) +#: ../C/pluma.xml:797(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"Gedit обирає відповідний режим виділення кольором " +"Pluma обирає відповідний режим виділення кольором " "на основі типу документу. Для заміни режиму виділення кольором " "ВиглядВиділення синтаксису, потім виберіть один з пунктів меню:" -#: ../C/gedit.xml:800(guimenuitem) +#: ../C/pluma.xml:800(guimenuitem) msgid "Normal" msgstr "Немає" -#: ../C/gedit.xml:802(para) +#: ../C/pluma.xml:802(para) msgid "Do not display any syntax highlighting." msgstr "Без виділення кольором." -#: ../C/gedit.xml:806(guisubmenu) +#: ../C/pluma.xml:806(guisubmenu) msgid "Sources" msgstr "Тексти програми" -#: ../C/gedit.xml:808(para) +#: ../C/pluma.xml:808(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." msgstr "Виділення програмних текстів. З підменю виберіть потрібний тип." -#: ../C/gedit.xml:812(guisubmenu) +#: ../C/pluma.xml:812(guisubmenu) msgid "Markup" msgstr "Розмітка" -#: ../C/gedit.xml:814(para) +#: ../C/pluma.xml:814(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." msgstr "Виділяє мови розмітки. З підменю можна обрати потрібну." -#: ../C/gedit.xml:818(guisubmenu) +#: ../C/pluma.xml:818(guisubmenu) msgid "Scripts" msgstr "Мови сценаріїв" -#: ../C/gedit.xml:820(para) +#: ../C/pluma.xml:820(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." msgstr "Виділення кольором синтаксису сценаріїв. У підменю містяться деякі мови «сценаріїв»." -#: ../C/gedit.xml:824(guisubmenu) +#: ../C/pluma.xml:824(guisubmenu) msgid "Others" msgstr "Інше" -#: ../C/gedit.xml:826(para) +#: ../C/pluma.xml:826(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." msgstr "Інші режими виділення кольором." -#: ../C/gedit.xml:830(para) +#: ../C/pluma.xml:830(para) msgid "" "For more information about how to configure syntax highlighting, see ." +"linkend=\"pluma-prefs-syntax\"/>." msgstr "" "Додаткову інформацію про налаштовування виділення кольором дивіться у ." +"\"pluma-prefs-syntax\"/>." -#: ../C/gedit.xml:836(title) +#: ../C/pluma.xml:836(title) msgid "Piping the Output of a Command to a File" msgstr "Вставка результатів виконання команд у файл" -#: ../C/gedit.xml:837(para) +#: ../C/pluma.xml:837(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"Можна використовувати gedit для вставки результатів " +"Можна використовувати pluma для вставки результатів " "виконання певної команди у текстовий файл. Наприклад, ls | " -"gedit." +"pluma." -#: ../C/gedit.xml:838(para) +#: ../C/pluma.xml:838(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" "Вивід команди ls буде занесений у новий текстовий файл у " -"вікні gedit." +"вікні pluma." -#: ../C/gedit.xml:839(para) +#: ../C/pluma.xml:839(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1842,21 +1842,21 @@ msgstr "" "Інший спосіб — використовувати модуль Зовнішні інструменти " "для вставки результатів виконання команди у поточний файл." -#: ../C/gedit.xml:845(title) +#: ../C/pluma.xml:845(title) msgid "Shortcut Keys" msgstr "Комбінації клавіш" -#: ../C/gedit.xml:846(para) +#: ../C/pluma.xml:846(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" "Для прискорення виконання поширених операцій замість миші та меню використовуйте " -"комбінації клавіш. У наступній таблиці перелічені усі комбінації клавіш geditpluma." -#: ../C/gedit.xml:847(para) +#: ../C/pluma.xml:847(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1865,391 +1865,391 @@ msgstr "" "guide?keyboard-skills\">Посібнику користувача середовища MATE." #. ============= Tabs ======================== -#: ../C/gedit.xml:850(bridgehead) ../C/gedit.xml:1180(guilabel) +#: ../C/pluma.xml:850(bridgehead) ../C/pluma.xml:1180(guilabel) msgid "Tabs" msgstr "Вкладки" -#: ../C/gedit.xml:851(para) +#: ../C/pluma.xml:851(para) msgid "Shortcuts for tabs:" msgstr "Комбінації клавіш для роботи з вкладкам" -#: ../C/gedit.xml:859(para) ../C/gedit.xml:903(para) ../C/gedit.xml:959(para) -#: ../C/gedit.xml:1003(para) ../C/gedit.xml:1031(para) -#: ../C/gedit.xml:1078(para) ../C/gedit.xml:1121(para) +#: ../C/pluma.xml:859(para) ../C/pluma.xml:903(para) ../C/pluma.xml:959(para) +#: ../C/pluma.xml:1003(para) ../C/pluma.xml:1031(para) +#: ../C/pluma.xml:1078(para) ../C/pluma.xml:1121(para) msgid "Shortcut Key" msgstr "Комбінація клавіш" -#: ../C/gedit.xml:861(para) ../C/gedit.xml:905(para) ../C/gedit.xml:961(para) -#: ../C/gedit.xml:1005(para) ../C/gedit.xml:1033(para) -#: ../C/gedit.xml:1080(para) ../C/gedit.xml:1123(para) +#: ../C/pluma.xml:861(para) ../C/pluma.xml:905(para) ../C/pluma.xml:961(para) +#: ../C/pluma.xml:1005(para) ../C/pluma.xml:1033(para) +#: ../C/pluma.xml:1080(para) ../C/pluma.xml:1123(para) msgid "Command" msgstr "Команда" -#: ../C/gedit.xml:866(para) ../C/gedit.xml:870(para) +#: ../C/pluma.xml:866(para) ../C/pluma.xml:870(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: ../C/gedit.xml:867(para) +#: ../C/pluma.xml:867(para) msgid "Switches to the next tab to the left." msgstr "Перейти до сусідньої вкладки, що розташована ліворуч" -#: ../C/gedit.xml:871(para) +#: ../C/pluma.xml:871(para) msgid "Switches to the next tab to the right." msgstr "Перейти до сусідньої вкладки, що розташована праворуч" -#: ../C/gedit.xml:874(para) ../C/gedit.xml:938(para) +#: ../C/pluma.xml:874(para) ../C/pluma.xml:938(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: ../C/gedit.xml:875(para) +#: ../C/pluma.xml:875(para) msgid "Close tab." msgstr "Закрити вкладку." -#: ../C/gedit.xml:878(para) +#: ../C/pluma.xml:878(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: ../C/gedit.xml:879(para) +#: ../C/pluma.xml:879(para) msgid "Save all tabs." msgstr "Зберегти усі вкладки." -#: ../C/gedit.xml:882(para) +#: ../C/pluma.xml:882(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: ../C/gedit.xml:883(para) +#: ../C/pluma.xml:883(para) msgid "Close all tabs." msgstr "Закрити усі вкладки." -#: ../C/gedit.xml:886(para) +#: ../C/pluma.xml:886(para) msgid "Alt + n" msgstr "Alt + n" -#: ../C/gedit.xml:887(para) +#: ../C/pluma.xml:887(para) msgid "Jump to nth tab." msgstr "Перейти до n-ої вкладки" #. ============= Files ======================== -#: ../C/gedit.xml:894(bridgehead) +#: ../C/pluma.xml:894(bridgehead) msgid "Files" msgstr "Файли" -#: ../C/gedit.xml:895(para) +#: ../C/pluma.xml:895(para) msgid "Shortcuts for working with files:" msgstr "Комбінації клавіш для роботи з файлами:" -#: ../C/gedit.xml:910(para) +#: ../C/pluma.xml:910(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: ../C/gedit.xml:911(para) +#: ../C/pluma.xml:911(para) msgid "Create a new document." msgstr "Створити новий документ." -#: ../C/gedit.xml:914(para) +#: ../C/pluma.xml:914(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: ../C/gedit.xml:915(para) +#: ../C/pluma.xml:915(para) msgid "Open a document." msgstr "Відкрити документ." -#: ../C/gedit.xml:918(para) +#: ../C/pluma.xml:918(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: ../C/gedit.xml:919(para) +#: ../C/pluma.xml:919(para) msgid "Open a location." msgstr "Відкрити адресу." -#: ../C/gedit.xml:922(para) +#: ../C/pluma.xml:922(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: ../C/gedit.xml:923(para) +#: ../C/pluma.xml:923(para) msgid "Save the current document to disk." msgstr "Зберегти поточний документ на диск." -#: ../C/gedit.xml:926(para) +#: ../C/pluma.xml:926(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: ../C/gedit.xml:927(para) +#: ../C/pluma.xml:927(para) msgid "Save the current document with a new filename." msgstr "Зберегти поточний документ з новою назвою." -#: ../C/gedit.xml:930(para) +#: ../C/pluma.xml:930(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: ../C/gedit.xml:931(para) +#: ../C/pluma.xml:931(para) msgid "Print the current document." msgstr "Надрукувати поточний документ." -#: ../C/gedit.xml:934(para) +#: ../C/pluma.xml:934(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: ../C/gedit.xml:935(para) +#: ../C/pluma.xml:935(para) msgid "Print preview." msgstr "Попередній перегляд документу." -#: ../C/gedit.xml:939(para) +#: ../C/pluma.xml:939(para) msgid "Close the current document." msgstr "Закрити поточний документ." -#: ../C/gedit.xml:942(para) +#: ../C/pluma.xml:942(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: ../C/gedit.xml:943(para) -msgid "Quit Gedit." -msgstr "Вихід з gedit." +#: ../C/pluma.xml:943(para) +msgid "Quit Pluma." +msgstr "Вихід з pluma." #. ============= Edit ======================= -#: ../C/gedit.xml:950(bridgehead) ../C/gedit.xml:1484(guimenu) -#: ../C/gedit.xml:1490(guimenu) ../C/gedit.xml:1496(guimenu) -#: ../C/gedit.xml:1502(guimenu) +#: ../C/pluma.xml:950(bridgehead) ../C/pluma.xml:1484(guimenu) +#: ../C/pluma.xml:1490(guimenu) ../C/pluma.xml:1496(guimenu) +#: ../C/pluma.xml:1502(guimenu) msgid "Edit" msgstr "Правка" -#: ../C/gedit.xml:951(para) +#: ../C/pluma.xml:951(para) msgid "Shortcuts for editing documents:" msgstr "Комбінації клавіш для правки документу:" -#: ../C/gedit.xml:966(para) +#: ../C/pluma.xml:966(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: ../C/gedit.xml:967(para) +#: ../C/pluma.xml:967(para) msgid "Undo the last action." msgstr "Скасувати останню операцію" -#: ../C/gedit.xml:970(para) +#: ../C/pluma.xml:970(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: ../C/gedit.xml:971(para) +#: ../C/pluma.xml:971(para) msgid "Redo the last undone action ." msgstr "Повторити скасовану дію" -#: ../C/gedit.xml:974(para) +#: ../C/pluma.xml:974(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: ../C/gedit.xml:975(para) +#: ../C/pluma.xml:975(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "Вирізати виділену текстову область та перемістити у буфер обміну." -#: ../C/gedit.xml:978(para) +#: ../C/pluma.xml:978(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: ../C/gedit.xml:979(para) +#: ../C/pluma.xml:979(para) msgid "Copy the selected text or region onto the clipboard." msgstr "Копіювати виділений текст або регіон у буфер обміну." -#: ../C/gedit.xml:982(para) +#: ../C/pluma.xml:982(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: ../C/gedit.xml:983(para) +#: ../C/pluma.xml:983(para) msgid "Paste the contents of the clipboard." msgstr "Вставити текст з буферу обміну." -#: ../C/gedit.xml:986(para) +#: ../C/pluma.xml:986(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: ../C/gedit.xml:987(para) +#: ../C/pluma.xml:987(para) msgid "Select all." msgstr "Виділити все." #. ============= Panes ======================= -#: ../C/gedit.xml:994(bridgehead) +#: ../C/pluma.xml:994(bridgehead) msgid "Panes" msgstr "Панелі" -#: ../C/gedit.xml:995(para) +#: ../C/pluma.xml:995(para) msgid "Shortcuts for showing and hiding panes:" msgstr "Комбінації клавіш для роботи з панелями:" -#: ../C/gedit.xml:1010(para) +#: ../C/pluma.xml:1010(para) msgid "F9" msgstr "F9" -#: ../C/gedit.xml:1011(para) +#: ../C/pluma.xml:1011(para) msgid "Show/hide the side pane." msgstr "Показати чи сховати бічну панель." -#: ../C/gedit.xml:1014(para) +#: ../C/pluma.xml:1014(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: ../C/gedit.xml:1015(para) +#: ../C/pluma.xml:1015(para) msgid "Show/hide the bottom pane." msgstr "Відобразити/приховати нижню панель." #. ============= Search ======================= -#: ../C/gedit.xml:1022(bridgehead) +#: ../C/pluma.xml:1022(bridgehead) msgid "Search" msgstr "Пошук" -#: ../C/gedit.xml:1023(para) +#: ../C/pluma.xml:1023(para) msgid "Shortcuts for searching:" msgstr "Комбінації клавіш для виконання пошуку" -#: ../C/gedit.xml:1038(para) +#: ../C/pluma.xml:1038(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: ../C/gedit.xml:1039(para) +#: ../C/pluma.xml:1039(para) msgid "Find a string." msgstr "Знайти рядок" -#: ../C/gedit.xml:1042(para) +#: ../C/pluma.xml:1042(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: ../C/gedit.xml:1043(para) +#: ../C/pluma.xml:1043(para) msgid "Find the next instance of the string." msgstr "Пошук місця наступного збігу з вказаним рядком." -#: ../C/gedit.xml:1046(para) +#: ../C/pluma.xml:1046(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: ../C/gedit.xml:1047(para) +#: ../C/pluma.xml:1047(para) msgid "Find the previous instance of the string." msgstr "Знайти попереднє місце збігу з рядком" -#: ../C/gedit.xml:1050(para) +#: ../C/pluma.xml:1050(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: ../C/gedit.xml:1051(para) +#: ../C/pluma.xml:1051(para) msgid "Interactive search." msgstr "Інтерактивний пошук." -#: ../C/gedit.xml:1054(para) +#: ../C/pluma.xml:1054(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: ../C/gedit.xml:1055(para) +#: ../C/pluma.xml:1055(para) msgid "Search and replace." msgstr "Пошук та заміна." -#: ../C/gedit.xml:1058(para) +#: ../C/pluma.xml:1058(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: ../C/gedit.xml:1059(para) +#: ../C/pluma.xml:1059(para) msgid "Clear highlight." msgstr "Очистити виділення кольором" -#: ../C/gedit.xml:1062(para) +#: ../C/pluma.xml:1062(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: ../C/gedit.xml:1063(para) +#: ../C/pluma.xml:1063(para) msgid "Goto line." msgstr "Перейти на рядок." #. ============= Tools ======================= -#: ../C/gedit.xml:1069(bridgehead) +#: ../C/pluma.xml:1069(bridgehead) msgid "Tools" msgstr "Сервіс" -#: ../C/gedit.xml:1070(para) +#: ../C/pluma.xml:1070(para) msgid "Shortcuts for tools:" msgstr "Комбінації клавіш для сервісних функцій:" -#: ../C/gedit.xml:1085(para) +#: ../C/pluma.xml:1085(para) msgid "F7" msgstr "F7" -#: ../C/gedit.xml:1086(para) +#: ../C/pluma.xml:1086(para) msgid "Check spelling (with plugin)." msgstr "Перевірка орфографії" -#: ../C/gedit.xml:1089(para) +#: ../C/pluma.xml:1089(para) msgid "Alt + F12" msgstr "Alt + F12" -#: ../C/gedit.xml:1090(para) +#: ../C/pluma.xml:1090(para) msgid "Remove trailing spaces (with plugin)." msgstr "Видалення завершальних пробілів (модуль)." -#: ../C/gedit.xml:1093(para) +#: ../C/pluma.xml:1093(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: ../C/gedit.xml:1094(para) +#: ../C/pluma.xml:1094(para) msgid "Indent (with plugin)." msgstr "Модуль «Відступи рядків»" -#: ../C/gedit.xml:1097(para) +#: ../C/pluma.xml:1097(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: ../C/gedit.xml:1098(para) +#: ../C/pluma.xml:1098(para) msgid "Remove Indent (with plugin)." msgstr "Забрати відступ у рядку (модуль)." -#: ../C/gedit.xml:1101(para) +#: ../C/pluma.xml:1101(para) msgid "F8" msgstr "F8" -#: ../C/gedit.xml:1102(para) +#: ../C/pluma.xml:1102(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "Запустити \"make\" у поточному каталозі (модуль)." -#: ../C/gedit.xml:1105(para) +#: ../C/pluma.xml:1105(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: ../C/gedit.xml:1106(para) +#: ../C/pluma.xml:1106(para) msgid "Directory listing (with plugin)." msgstr "Список файлів каталогу (модуль)." #. ============= Help ======================= -#: ../C/gedit.xml:1112(bridgehead) +#: ../C/pluma.xml:1112(bridgehead) msgid "Help" msgstr "Довідка" -#: ../C/gedit.xml:1113(para) +#: ../C/pluma.xml:1113(para) msgid "Shortcuts for help:" msgstr "Комбінації клавіш для отримання довідки" -#: ../C/gedit.xml:1128(para) +#: ../C/pluma.xml:1128(para) msgid "F1" msgstr "F1" -#: ../C/gedit.xml:1129(para) -msgid "Open gedit's user manual." -msgstr "Відкривання посібника користувача gedit:" +#: ../C/pluma.xml:1129(para) +msgid "Open pluma's user manual." +msgstr "Відкривання посібника користувача pluma:" -#: ../C/gedit.xml:1141(title) +#: ../C/pluma.xml:1141(title) msgid "Preferences" msgstr "Параметри" -#: ../C/gedit.xml:1143(para) +#: ../C/pluma.xml:1143(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"Для налаштовування gedit виберіть " +"Для налаштовування pluma виберіть " "ПравкаПараметри. Діалогове вікно Параметры містить " "елементи:" -#: ../C/gedit.xml:1153(title) +#: ../C/pluma.xml:1153(title) msgid "View Preferences" msgstr "Зовнішній вигляд" -#: ../C/gedit.xml:1157(para) +#: ../C/pluma.xml:1157(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2259,7 +2259,7 @@ msgstr "" "відображались як абзаци, а не забігли за край вікна. Горизонтальне " "прокручування стане зайвим." -#: ../C/gedit.xml:1158(para) +#: ../C/pluma.xml:1158(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2268,19 +2268,19 @@ msgstr "" "Параметр Не розривати слово між рядками включає " "перенос по словам тексту між рядками. Такий текст легше читати." -#: ../C/gedit.xml:1164(para) +#: ../C/pluma.xml:1164(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" "При відміченому параметрі Показувати номери рядків коло " -"лівої межі вікна gedit відображаються номери рядків." +"лівої межі вікна pluma відображаються номери рядків." -#: ../C/gedit.xml:1168(guilabel) +#: ../C/pluma.xml:1168(guilabel) msgid "Right Margin" msgstr "Праве поле" -#: ../C/gedit.xml:1170(para) +#: ../C/pluma.xml:1170(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." @@ -2288,7 +2288,7 @@ msgstr "" "Відмітьте Відображати праву межу, щоб відображалась " "вертикальна лінія праворуч - права межа." -#: ../C/gedit.xml:1171(para) +#: ../C/pluma.xml:1171(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." @@ -2296,35 +2296,35 @@ msgstr "" "У параметрі Права межа у стовпчику, можна вказати " "розташування цієї вертикальної лінії." -#: ../C/gedit.xml:1178(title) +#: ../C/pluma.xml:1178(title) msgid "Editor Preferences" msgstr "Параметри редактора" -#: ../C/gedit.xml:1182(para) +#: ../C/pluma.xml:1182(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "У полі Ширина табуляції можна вказати ширину " -"вільного простору, що додається gedit при " +"вільного простору, що додається pluma при " "натисканні клавіші Tab." -#: ../C/gedit.xml:1183(para) +#: ../C/pluma.xml:1183(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "Параметр Вставляти пробіли замість табуляції вказує " -"gedit при натисканні клавіші Tab " +"pluma при натисканні клавіші Tab " "замість символу табуляції вставляти певну кількість пробілів." -#: ../C/gedit.xml:1186(guilabel) +#: ../C/pluma.xml:1186(guilabel) msgid "Auto Indentation" msgstr "Автоматичний відступ" -#: ../C/gedit.xml:1187(para) +#: ../C/pluma.xml:1187(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." @@ -2332,11 +2332,11 @@ msgstr "" "Параметр Увімкнути автоматичний відступ визначає чи буде " "наступний рядок починатись з такого ж відступу як і попередній." -#: ../C/gedit.xml:1190(guilabel) +#: ../C/pluma.xml:1190(guilabel) msgid "File Saving" msgstr "Збереження файлів" -#: ../C/gedit.xml:1192(para) +#: ../C/pluma.xml:1192(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2346,7 +2346,7 @@ msgstr "" "збереженням кожен раз при збереженні файлу створюється його " "резервна копія. Резервна копія містить символ ~ наприкінці імені файлу." -#: ../C/gedit.xml:1193(para) +#: ../C/pluma.xml:1193(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2355,11 +2355,11 @@ msgstr "" "Параметр Автоматично зберігати поточний файл кожні ... хв " "дозволяє періодично автоматично зберігати поточний файл." -#: ../C/gedit.xml:1196(guilabel) +#: ../C/pluma.xml:1196(guilabel) msgid "Undo" msgstr "Вернути" -#: ../C/gedit.xml:1198(para) +#: ../C/pluma.xml:1198(para) msgid "" "Select the Limit to ... actions option to set a limit " "on the number of editing actions that you can undo. Use the spin box to " @@ -2368,72 +2368,72 @@ msgstr "" "Для вказування максимальної кількості дій, що можна скасувати, виберіть параметр " "параметр Скасовувати ... дій." -#: ../C/gedit.xml:1199(para) +#: ../C/pluma.xml:1199(para) msgid "" "Select the Unlimited undo option to set no limit on the " "number of editing actions that you can undo." msgstr "" "Відмітьте Скасування без обмежень для скасування без обмежень." -#: ../C/gedit.xml:1206(title) +#: ../C/pluma.xml:1206(title) msgid "Font & Colors Preferences" msgstr "Параметри шрифтів та кольорів" -#: ../C/gedit.xml:1208(guilabel) +#: ../C/pluma.xml:1208(guilabel) msgid "Font" msgstr "Шрифт" -#: ../C/gedit.xml:1210(para) +#: ../C/pluma.xml:1210(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "Виберіть Шрифт типової теми, щоб текст у " -"вікні gedit відображався типовим шрифтом." +"вікні pluma відображався типовим шрифтом." -#: ../C/gedit.xml:1211(para) +#: ../C/pluma.xml:1211(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" "В полі Шрифт редактора відображається поточний шрифт, " "що використовується для виводу тексту. Натискання на кнопку дозволяє встановити " "сам шрифт, гарнітуру та розмір." -#: ../C/gedit.xml:1214(guilabel) +#: ../C/pluma.xml:1214(guilabel) msgid "Colors" msgstr "Кольори" -#: ../C/gedit.xml:1216(para) +#: ../C/pluma.xml:1216(para) msgid "" "Select the Use default theme colors option to use the " -"default theme colors in the gedit text window." +"default theme colors in the pluma text window." msgstr "" "Відмітьте параметр Використовувати початковий набір кольорів " "для використання типової гами кольорів." -#: ../C/gedit.xml:1217(para) +#: ../C/pluma.xml:1217(para) msgid "" "Click on the Normal text color color button to " "display the color selector dialog. Select a color to use to display normal " -"text in the gedit text window." +"text in the pluma text window." msgstr "" "Натискання на кнопку Колір звичайного тексту дозволяє " -"обрати колір для виводу звичайного тексту у вікні geditpluma." -#: ../C/gedit.xml:1218(para) +#: ../C/pluma.xml:1218(para) msgid "" "Click on the Background color color button to display " "the color selector dialog. Select a background color for the " -"gedit text window." +"pluma text window." msgstr "" "Кнопка Колір тла дозволяє встановити колір тла " "текстового вікна." -#: ../C/gedit.xml:1219(para) +#: ../C/pluma.xml:1219(para) msgid "" "Click on the Selected text color color button to " "display the color selector dialog. Select a color to use to display selected " @@ -2442,7 +2442,7 @@ msgstr "" "Кнопкою Колір виділеного тексту можна обрати колір " "шрифту для виділеного тексту." -#: ../C/gedit.xml:1221(para) +#: ../C/pluma.xml:1221(para) msgid "" "Click on the Selection color color button to display " "the color selector dialog. Select a background color to use to highlight a " @@ -2451,113 +2451,113 @@ msgstr "" "Кнопка Колір виділення визначає колір тла для " "виділеного тексту." -#: ../C/gedit.xml:1228(title) +#: ../C/pluma.xml:1228(title) msgid "Syntax Highlighting Preferences" msgstr "Параметри виділення синтаксису" -#: ../C/gedit.xml:1230(guilabel) +#: ../C/pluma.xml:1230(guilabel) msgid "Enable syntax highlighting" msgstr "Увімкнути виділення синтаксису" -#: ../C/gedit.xml:1232(para) +#: ../C/pluma.xml:1232(para) msgid "Select this option to highlight the syntax of the text that you edit." msgstr "Параметр вмикає виділення кольором синтаксису тексту, що редагується." -#: ../C/gedit.xml:1235(guilabel) +#: ../C/pluma.xml:1235(guilabel) msgid "Highlight mode" msgstr "Режим виділення" -#: ../C/gedit.xml:1237(para) +#: ../C/pluma.xml:1237(para) msgid "Use this drop-down list to select a syntax mode to configure." msgstr "Зі списку можна вибрати режим виділення кольором." -#: ../C/gedit.xml:1240(guilabel) +#: ../C/pluma.xml:1240(guilabel) msgid "Elements" msgstr "Елементи" -#: ../C/gedit.xml:1242(para) +#: ../C/pluma.xml:1242(para) msgid "Use this list box to select a syntax element to configure." msgstr "" "Тут знаходяться синтаксичні елементи, виділення яких можна налаштувати." -#: ../C/gedit.xml:1245(term) +#: ../C/pluma.xml:1245(term) msgid "Format buttons" msgstr "Кнопки форматування" -#: ../C/gedit.xml:1247(para) +#: ../C/pluma.xml:1247(para) msgid "" "Use the following buttons to change the format of the selected syntax " "element:" msgstr "" "Наступні кнопки міняють форматування вибраного синтаксичного елементу:" -#: ../C/gedit.xml:1255(para) +#: ../C/pluma.xml:1255(para) msgid "Button" msgstr "Кнопка" -#: ../C/gedit.xml:1257(para) +#: ../C/pluma.xml:1257(para) msgid "Format" msgstr "Форматувати" -#: ../C/gedit.xml:1269(phrase) +#: ../C/pluma.xml:1269(phrase) msgid "Shows icon for bold format." msgstr "Напівжирне форматування." -#: ../C/gedit.xml:1275(para) +#: ../C/pluma.xml:1275(para) msgid "Bold" msgstr "Жирний" -#: ../C/gedit.xml:1287(phrase) +#: ../C/pluma.xml:1287(phrase) msgid "Shows icon for italic format." msgstr "Курсив." -#: ../C/gedit.xml:1293(para) +#: ../C/pluma.xml:1293(para) msgid "Italic" msgstr "Курсив" -#: ../C/gedit.xml:1305(phrase) +#: ../C/pluma.xml:1305(phrase) msgid "Shows icon for underline." msgstr "Підкреслення." -#: ../C/gedit.xml:1311(para) +#: ../C/pluma.xml:1311(para) msgid "Underline" msgstr "Підкреслений" -#: ../C/gedit.xml:1323(phrase) +#: ../C/pluma.xml:1323(phrase) msgid "Shows icon for strikethrough." msgstr "Перекреслений текст." -#: ../C/gedit.xml:1329(para) +#: ../C/pluma.xml:1329(para) msgid "Strikethrough" msgstr "Перекреслити" -#: ../C/gedit.xml:1339(guilabel) +#: ../C/pluma.xml:1339(guilabel) msgid "Foreground" msgstr "Передній план" -#: ../C/gedit.xml:1341(para) +#: ../C/pluma.xml:1341(para) msgid "" "Select this option to change the font color of the selected syntax element. " "Click on the color button to display the color selector dialog, then select " "the font color." msgstr "Параметр дозволяє встановити колір синтаксичного елементу." -#: ../C/gedit.xml:1344(guilabel) +#: ../C/pluma.xml:1344(guilabel) msgid "Background" msgstr "Тло" -#: ../C/gedit.xml:1346(para) +#: ../C/pluma.xml:1346(para) msgid "" "Select this option to change the background color of the selected syntax " "element. Click on the color button to display the color selector dialog, " "then select the background color." msgstr "Параметр дозволяє встановити колір тла для синтаксичного елементу." -#: ../C/gedit.xml:1349(guibutton) +#: ../C/pluma.xml:1349(guibutton) msgid "Reset to Default" msgstr "Скинути на типові" -#: ../C/gedit.xml:1351(para) +#: ../C/pluma.xml:1351(para) msgid "" "Click on this button to reset the foreground color and background color of " "the selected syntax element to the default values." @@ -2565,34 +2565,34 @@ msgstr "" "При натисканні на цю кнопку скидає налаштоване форматування " "синтаксичного елементу." -#: ../C/gedit.xml:1358(title) +#: ../C/pluma.xml:1358(title) msgid "Plugins Preferences" msgstr "Параметри модулів" -#: ../C/gedit.xml:1359(para) +#: ../C/pluma.xml:1359(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"Модулі розширюють можливості gedit. Для " -"інформації про вбудовані модулі дивіться pluma. Для " +"інформації про вбудовані модулі дивіться ." -#: ../C/gedit.xml:1364(title) +#: ../C/pluma.xml:1364(title) msgid "Enabling a Plugin" msgstr "Підключення модулів" -#: ../C/gedit.xml:1365(para) +#: ../C/pluma.xml:1365(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" msgstr "" -"Щоб підключити модуль у gedit, виконайте " +"Щоб підключити модуль у pluma, виконайте " "інструкції:" -#: ../C/gedit.xml:1368(para) ../C/gedit.xml:1389(para) -#: ../C/gedit.xml:1713(para) +#: ../C/pluma.xml:1368(para) ../C/pluma.xml:1389(para) +#: ../C/pluma.xml:1713(para) msgid "" "Choose EditPreferences." @@ -2600,17 +2600,17 @@ msgstr "" "Виберіть ПравкаПараметри." -#: ../C/gedit.xml:1371(para) ../C/gedit.xml:1392(para) -#: ../C/gedit.xml:1716(para) +#: ../C/pluma.xml:1371(para) ../C/pluma.xml:1392(para) +#: ../C/pluma.xml:1716(para) msgid "Select the Plugins tab." msgstr "Перейдіть до вкладки Модулі." -#: ../C/gedit.xml:1374(para) +#: ../C/pluma.xml:1374(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "Відмітьте модуль, який хочете увімкнути." -#: ../C/gedit.xml:1377(para) ../C/gedit.xml:1398(para) +#: ../C/pluma.xml:1377(para) ../C/pluma.xml:1398(para) msgid "" "Click Close to close the Preferences dialog." @@ -2618,99 +2618,99 @@ msgstr "" "Натисніть на кнопку Закрити для закриття діалогу " "Параметри." -#: ../C/gedit.xml:1384(title) +#: ../C/pluma.xml:1384(title) msgid "Disabling a Plugin" msgstr "Вимикання модулів" -#: ../C/gedit.xml:1385(para) +#: ../C/pluma.xml:1385(para) msgid "" -"A plugin remains enabled when you quit gedit." +"A plugin remains enabled when you quit pluma." msgstr "" -"Модулі залишаються увімкненими після виходу з gedit." +"Модулі залишаються увімкненими після виходу з pluma." -#: ../C/gedit.xml:1386(para) +#: ../C/pluma.xml:1386(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" msgstr "Щоб вимкнути модуль виконайте наступне:" -#: ../C/gedit.xml:1395(para) +#: ../C/pluma.xml:1395(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "Просто зніміть позначку з модуля, що вимикається." -#: ../C/gedit.xml:1407(title) +#: ../C/pluma.xml:1407(title) msgid "Plugins" msgstr "Модулі" -#: ../C/gedit.xml:1409(title) +#: ../C/pluma.xml:1409(title) msgid "Working with Plugins" msgstr "Робота з модулями" -#: ../C/gedit.xml:1410(para) +#: ../C/pluma.xml:1410(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" "Підключенням модулів, можна розширити функціональність " -"gedit. Модулі — це додаткові програми. Вони " +"pluma. Модулі — це додаткові програми. Вони " "можуть додавати нові пункти меню для доступу до своєї функціональності." -#: ../C/gedit.xml:1412(para) +#: ../C/pluma.xml:1412(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"Деякі модулі постачаються разом з gedit, але можна " -"встановити й інші. На веб-сайті gedit є список додаткових модулів." +"Деякі модулі постачаються разом з pluma, але можна " +"встановити й інші. На веб-сайті pluma є список додаткових модулів." -#: ../C/gedit.xml:1413(para) +#: ../C/pluma.xml:1413(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" -"Для вмикання та вимикання модулів дивіться розділ Налаштовування модулів." -#: ../C/gedit.xml:1414(para) +#: ../C/pluma.xml:1414(para) msgid "" -"The following plugins come built-in with gedit:" -msgstr "Наступні модулі постачаються разом з gedit:" +"The following plugins come built-in with pluma:" +msgstr "Наступні модулі постачаються разом з pluma:" -#: ../C/gedit.xml:1420(para) +#: ../C/pluma.xml:1420(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"Заміна регіструЗаміна регістру дозволяє змінити регістр символів виділеного тексту." -#: ../C/gedit.xml:1423(para) +#: ../C/pluma.xml:1423(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"Статистика " +"Статистика " "документа показує кількість рядків, слів та символів у " "документі." -#: ../C/gedit.xml:1426(para) +#: ../C/pluma.xml:1426(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"Зовнішні " +"Зовнішні " "інструменти дозволяє виконати зовнішні команди з " -"gedit." +"pluma." -#: ../C/gedit.xml:1429(para) +#: ../C/pluma.xml:1429(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." @@ -2718,93 +2718,93 @@ msgstr "" "Перегляд файлів дозволяє переглядати теки та " "файли у бічній панелі." -#: ../C/gedit.xml:1432(para) +#: ../C/pluma.xml:1432(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"Відступ у рядкахВідступ у рядках вставляє або прибирає відступ у виділених рядках." -#: ../C/gedit.xml:1435(para) +#: ../C/pluma.xml:1435(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"Вставка дати й " +"Вставка дати й " "часу вставляє поточну дату й час у позиції " "курсору." -#: ../C/gedit.xml:1438(para) +#: ../C/pluma.xml:1438(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"Стилі редагуванняСтилі редагування підтримка стилів редагування рядків Emacs, Kate та Vim для gedit." +"application> та Vim для pluma." -#: ../C/gedit.xml:1441(para) +#: ../C/pluma.xml:1441(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Консоль PythonКонсоль Python дозволяє запускати команди на мові програмування " "Python." -#: ../C/gedit.xml:1444(para) +#: ../C/pluma.xml:1444(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"Фрагменти текстуФрагменти тексту дозволяє швидко вставляти фрагменти тексту, що часто використовуються." -#: ../C/gedit.xml:1447(para) +#: ../C/pluma.xml:1447(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"СортуванняСортування сортує документ або виділений текст." -#: ../C/gedit.xml:1450(para) +#: ../C/pluma.xml:1450(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"Перевірка " +"Перевірка " "орфографії перевіряє орфографію у поточному документі." -#: ../C/gedit.xml:1453(para) +#: ../C/pluma.xml:1453(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"Список тегівСписок тегів надає простий спосіб вставки у документ теги або рядки, " "не вводячи їх вручну." -#: ../C/gedit.xml:1456(para) +#: ../C/pluma.xml:1456(para) msgid "" -"User NameUser Name inserts the username of the current user into the document." msgstr "" -"Ім'я користувачаІм'я користувача вставляє ім'я користувача у позиції курсору." -#: ../C/gedit.xml:1463(title) +#: ../C/pluma.xml:1463(title) msgid "Change Case Plugin" msgstr "Модуль зміни регістру символів" -#: ../C/gedit.xml:1464(para) +#: ../C/pluma.xml:1464(para) msgid "" "The Change Case plugin changes the case of the " "selected text." @@ -2812,7 +2812,7 @@ msgstr "" "Модуль Заміна регістру змінює регістр символів " "виділеного тексту." -#: ../C/gedit.xml:1465(para) +#: ../C/pluma.xml:1465(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2820,83 +2820,83 @@ msgstr "" "Якщо модуль увімкнений, у меню Правка будуть доступні " "наступні пункти меню:" -#: ../C/gedit.xml:1475(para) +#: ../C/pluma.xml:1475(para) msgid "Menu Item" msgstr "Пункт меню" -#: ../C/gedit.xml:1477(para) +#: ../C/pluma.xml:1477(para) msgid "Action" msgstr "Дія" -#: ../C/gedit.xml:1479(para) +#: ../C/pluma.xml:1479(para) msgid "Example" msgstr "Приклад" -#: ../C/gedit.xml:1485(guisubmenu) ../C/gedit.xml:1491(guisubmenu) -#: ../C/gedit.xml:1497(guisubmenu) ../C/gedit.xml:1503(guisubmenu) +#: ../C/pluma.xml:1485(guisubmenu) ../C/pluma.xml:1491(guisubmenu) +#: ../C/pluma.xml:1497(guisubmenu) ../C/pluma.xml:1503(guisubmenu) msgid "Change Case" msgstr "Заміна регістру" -#: ../C/gedit.xml:1485(guimenuitem) +#: ../C/pluma.xml:1485(guimenuitem) msgid "All Upper Case" msgstr "Усе у верхній регістр" -#: ../C/gedit.xml:1486(para) +#: ../C/pluma.xml:1486(para) msgid "Change each character to uppercase." msgstr "Змінює регістр кожного символу у верхній регістр." -#: ../C/gedit.xml:1487(para) +#: ../C/pluma.xml:1487(para) msgid "This text becomes THIS TEXT" msgstr "" "Цей текст перетворюється у ЦЕЙ ТЕКСТ" -#: ../C/gedit.xml:1491(guimenuitem) +#: ../C/pluma.xml:1491(guimenuitem) msgid "All Lower Case" msgstr "Усе у нижній регістр" -#: ../C/gedit.xml:1492(para) +#: ../C/pluma.xml:1492(para) msgid "Change each character to lowercase." msgstr "Змінює регістр кожного символу на нижній регістр." -#: ../C/gedit.xml:1493(para) +#: ../C/pluma.xml:1493(para) msgid "This Text becomes this text" msgstr "" "Цей текст перетворюється на цей текст" -#: ../C/gedit.xml:1497(guimenuitem) +#: ../C/pluma.xml:1497(guimenuitem) msgid "Invert Case" msgstr "Інвертувати регістр" -#: ../C/gedit.xml:1498(para) +#: ../C/pluma.xml:1498(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "" "Змінює регістр кожного символу, нижній на верхній, а верхній на нижній." -#: ../C/gedit.xml:1499(para) +#: ../C/pluma.xml:1499(para) msgid "This Text becomes tHIS tEXT" msgstr "" "Цей Текст перетвориться на цЕЙ тЕКСТ" -#: ../C/gedit.xml:1503(guimenuitem) +#: ../C/pluma.xml:1503(guimenuitem) msgid "Title Case" msgstr "Регістр заголовку" -#: ../C/gedit.xml:1504(para) +#: ../C/pluma.xml:1504(para) msgid "Change the first character of each word to uppercase." msgstr "Змінює регістр першого символу кожного слова у верхньому регістрі." -#: ../C/gedit.xml:1505(para) +#: ../C/pluma.xml:1505(para) msgid "this text becomes This Text" msgstr "" "цей текст перетвориться на Цей Текст" -#: ../C/gedit.xml:1514(title) +#: ../C/pluma.xml:1514(title) msgid "Document Statistics Plugin" msgstr "Модуль «Статистика документа»" -#: ../C/gedit.xml:1515(para) +#: ../C/pluma.xml:1515(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2909,7 +2909,7 @@ msgstr "" "поточному файлі. Результати виводяться у діалоговому вікні Статистика " "документа. Щоб скористатись цим модулем виконайте наступні дії:" -#: ../C/gedit.xml:1517(para) +#: ../C/pluma.xml:1517(para) msgid "" "Choose ToolsDocument Statistics to display the Document StatisticsСервісСтатистика " "документа. Діалогове вікно буде містити поля:" -#: ../C/gedit.xml:1520(para) +#: ../C/pluma.xml:1520(para) msgid "Number of lines in the current document." msgstr "Кількість рядків у поточному документі." -#: ../C/gedit.xml:1523(para) +#: ../C/pluma.xml:1523(para) msgid "Number of words in the current document." msgstr "Кількість слів." -#: ../C/gedit.xml:1526(para) +#: ../C/pluma.xml:1526(para) msgid "Number of characters, including spaces, in the current document." msgstr "Кількість символів разом з пробілами." -#: ../C/gedit.xml:1529(para) +#: ../C/pluma.xml:1529(para) msgid "Number of characters, not including spaces, in the current document." msgstr "Кількість символів без урахування пробілів." -#: ../C/gedit.xml:1532(para) +#: ../C/pluma.xml:1532(para) msgid "Number of bytes in the current document." msgstr "Кількість байт." -#: ../C/gedit.xml:1537(para) +#: ../C/pluma.xml:1537(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." @@ -2950,14 +2950,14 @@ msgstr "" "Статистика документа. Кнопка Оновити оновлює зміст діалогового вікна." -#: ../C/gedit.xml:1544(title) +#: ../C/pluma.xml:1544(title) msgid "External Tools Plugin" msgstr "Модуль «Зовнішні інструменти»" -#: ../C/gedit.xml:1545(para) +#: ../C/pluma.xml:1545(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." @@ -2967,7 +2967,7 @@ msgstr "" "а потім використовувати виведену нею інформацію (наприклад, sed), або " "запускати запускати певну команду (наприклад, make)" -#: ../C/gedit.xml:1546(para) +#: ../C/pluma.xml:1546(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the ToolsСервіс." -#: ../C/gedit.xml:1549(title) +#: ../C/pluma.xml:1549(title) msgid "Built-in Commands" msgstr "Вбудовані команди" -#: ../C/gedit.xml:1550(para) +#: ../C/pluma.xml:1550(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "З модулем постачаються наступні команди:" -#: ../C/gedit.xml:1552(term) +#: ../C/pluma.xml:1552(term) msgid "Build" msgstr "Build" -#: ../C/gedit.xml:1554(para) +#: ../C/pluma.xml:1554(para) msgid "" "Runs make in the current document's directory." msgstr "" "Запускає make у каталозі поточного документу." -#: ../C/gedit.xml:1557(term) +#: ../C/pluma.xml:1557(term) msgid "Directory Listing" msgstr "Directory Listing" -#: ../C/gedit.xml:1559(para) +#: ../C/pluma.xml:1559(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "Вставляє зміст каталогу поточного документу у новий документ." -#: ../C/gedit.xml:1562(term) +#: ../C/pluma.xml:1562(term) msgid "Environment Variables" msgstr "Environment Variables" -#: ../C/gedit.xml:1564(para) +#: ../C/pluma.xml:1564(para) msgid "Displays the environment variables list in the bottom pane." msgstr "Відображає список змінних оточення у нижній панелі." -#: ../C/gedit.xml:1567(term) +#: ../C/pluma.xml:1567(term) msgid "Grep" msgstr "Grep" -#: ../C/gedit.xml:1569(para) +#: ../C/pluma.xml:1569(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." @@ -3026,19 +3026,19 @@ msgstr "" "Шукає вираз в усіх файлах у каталозі поточного документу, використовуючи " "шаблони. Результати відображаються у нижній панелі." -#: ../C/gedit.xml:1572(term) +#: ../C/pluma.xml:1572(term) msgid "Remove Trailing Spaces" msgstr "Remove Trailing Spaces" -#: ../C/gedit.xml:1574(para) +#: ../C/pluma.xml:1574(para) msgid "Removes all spaces from the end of lines in the document." msgstr "Видаляє всі початкові та завершальні пробіли у рядках." -#: ../C/gedit.xml:1581(title) +#: ../C/pluma.xml:1581(title) msgid "Defining a Command" msgstr "Визначення команд" -#: ../C/gedit.xml:1582(para) +#: ../C/pluma.xml:1582(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -3046,7 +3046,7 @@ msgstr "" "Щоб додати зовнішню команду, виберіть СервісЗовнішні інструменти." -#: ../C/gedit.xml:1583(para) +#: ../C/pluma.xml:1583(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -3056,41 +3056,41 @@ msgstr "" "Створити. Для нової команди можна вказати наступні " "подробиці:" -#: ../C/gedit.xml:1585(term) +#: ../C/pluma.xml:1585(term) msgid "Description" msgstr "Опис" -#: ../C/gedit.xml:1587(para) +#: ../C/pluma.xml:1587(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "Коли меню команди обрано, опис відображається у рядку статусу." -#: ../C/gedit.xml:1590(term) +#: ../C/pluma.xml:1590(term) msgid "Accelerator" msgstr "Комбінація клавіш" -#: ../C/gedit.xml:1592(para) +#: ../C/pluma.xml:1592(para) msgid "Enter a keyboard shortcut for the command." msgstr "Комбінація клавіш для виклику команди." -#: ../C/gedit.xml:1595(term) +#: ../C/pluma.xml:1595(term) msgid "Commands" msgstr "Команди" -#: ../C/gedit.xml:1597(para) +#: ../C/pluma.xml:1597(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" "Команди, що запускаються. Можна використовувати також і змінні оточення, " -"докладніше дивіться ." +"докладніше дивіться ." -#: ../C/gedit.xml:1600(term) +#: ../C/pluma.xml:1600(term) msgid "Input" msgstr "Ввід" -#: ../C/gedit.xml:1602(para) +#: ../C/pluma.xml:1602(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -3098,11 +3098,11 @@ msgstr "" "Дані, що отримуються командами (як stdin): текст " "всього поточного документу, виділена область, рядок або слово." -#: ../C/gedit.xml:1605(term) +#: ../C/pluma.xml:1605(term) msgid "Output" msgstr "Вікно виводу" -#: ../C/gedit.xml:1607(para) +#: ../C/pluma.xml:1607(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -3112,11 +3112,11 @@ msgstr "" "документ або у поточний; у кінець, у позицію курсора, замінити виділений " "текст у документі або ж замінити весь документ." -#: ../C/gedit.xml:1610(term) +#: ../C/pluma.xml:1610(term) msgid "Applicability" msgstr "Застосовність:" -#: ../C/gedit.xml:1612(para) +#: ../C/pluma.xml:1612(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." @@ -3124,20 +3124,20 @@ msgstr "" "Визначає тип документу, до якого типу застосовуються команди, наприклад, локальні " "документи або документи у мережі." -#: ../C/gedit.xml:1620(title) +#: ../C/pluma.xml:1620(title) msgid "Editing and Removing Tools" msgstr "Редагування та видалення фрагментів" -#: ../C/gedit.xml:1621(para) +#: ../C/pluma.xml:1621(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "Для редагування фрагменту виберіть його зі списку та відредагуйте." -#: ../C/gedit.xml:1622(para) +#: ../C/pluma.xml:1622(para) msgid "To rename a tool, click it again in the list." msgstr "Для перейменування фрагменту, клацніть на ньому у списку." -#: ../C/gedit.xml:1623(para) +#: ../C/pluma.xml:1623(para) msgid "" "To restore a built-in tool that you have changed, press Revert." @@ -3145,7 +3145,7 @@ msgstr "" "Щоб відновити змінені вбудовані фрагменти, натисніть " "Відновити." -#: ../C/gedit.xml:1624(para) +#: ../C/pluma.xml:1624(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -3154,11 +3154,11 @@ msgstr "" "Для видалення фрагменту, виберіть його у списку та натисніть кнопку " "Видалити. Вбудовані фрагменти видалити неможливо." -#: ../C/gedit.xml:1628(title) +#: ../C/pluma.xml:1628(title) msgid "Variables" msgstr "Змінні" -#: ../C/gedit.xml:1629(para) +#: ../C/pluma.xml:1629(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" @@ -3166,39 +3166,39 @@ msgstr "" "У полі Команда(и) можна використовувати наступні " "змінні:" -#: ../C/gedit.xml:1632(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: ../C/pluma.xml:1632(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: ../C/gedit.xml:1635(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: ../C/pluma.xml:1635(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: ../C/gedit.xml:1638(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: ../C/pluma.xml:1638(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: ../C/gedit.xml:1641(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: ../C/pluma.xml:1641(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: ../C/gedit.xml:1644(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: ../C/pluma.xml:1644(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: ../C/gedit.xml:1647(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: ../C/pluma.xml:1647(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: ../C/gedit.xml:1650(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: ../C/pluma.xml:1650(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: ../C/gedit.xml:1657(title) +#: ../C/pluma.xml:1657(title) msgid "File Browser Plugin" msgstr "Модуль перегляду файлової системи" -#: ../C/gedit.xml:1658(para) +#: ../C/pluma.xml:1658(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -3206,7 +3206,7 @@ msgstr "" "Модуль Перегляд файлів відображає теки та файли у " "бічній панелі, дозволяючи швидко відкривати файли." -#: ../C/gedit.xml:1659(para) +#: ../C/pluma.xml:1659(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3216,11 +3216,11 @@ msgstr "" "guimenu>Бічна панель, натисніть " "на вкладці знизу." -#: ../C/gedit.xml:1661(title) +#: ../C/pluma.xml:1661(title) msgid "Browsing your Files" msgstr "Перегляд ваших файлів" -#: ../C/gedit.xml:1662(para) +#: ../C/pluma.xml:1662(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." @@ -3228,7 +3228,7 @@ msgstr "" "Вкладка Перегляд файлів початково відображає закладки. Для перегляду " "змісту будь-якого елементу двічі клацніть на ньому." -#: ../C/gedit.xml:1663(para) +#: ../C/pluma.xml:1663(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." @@ -3236,7 +3236,7 @@ msgstr "" "Щоб піднятись рівнем вище, скористайтесь розкривним списком або " "натисніть клавішу зі стрілкою вгору (фокус вводу повинен бути на панелі)." -#: ../C/gedit.xml:1664(para) +#: ../C/pluma.xml:1664(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3245,18 +3245,18 @@ msgstr "" "Щоб переглянути теку документу, з яким ви працюєте зараз, клацніть " "правою кнопкою на списку файлів та виберіть Встановити корінь на активний документ." -#: ../C/gedit.xml:1668(para) +#: ../C/pluma.xml:1668(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"Подвійне клацання на файлі відкриває його у gedit." +"Подвійне клацання на файлі відкриває його у pluma." -#: ../C/gedit.xml:1671(title) +#: ../C/pluma.xml:1671(title) msgid "Creating Files and Folders" msgstr "Створення файлів та тек" -#: ../C/gedit.xml:1672(para) +#: ../C/pluma.xml:1672(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3264,7 +3264,7 @@ msgstr "" "Щоб створити файл у поточній теці, клацніть на списку файлів правою кнопкою " "миші та виберіть Створити файл." -#: ../C/gedit.xml:1673(para) +#: ../C/pluma.xml:1673(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3272,11 +3272,11 @@ msgstr "" "Щоб створити нову теку у поточній теці, у контекстному меню виберіть " "Створити теку." -#: ../C/gedit.xml:1678(title) +#: ../C/pluma.xml:1678(title) msgid "Indent Lines Plugin" msgstr "Модуль «Відступи в рядках»" -#: ../C/gedit.xml:1679(para) +#: ../C/pluma.xml:1679(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." @@ -3284,11 +3284,11 @@ msgstr "" "Модуль Відступ у рядках вставляє або прибирає відступ на " "початку рядків." -#: ../C/gedit.xml:1680(para) +#: ../C/pluma.xml:1680(para) msgid "To indent or unindent text, perform the following steps:" msgstr "Щоб вставити чи прибрати відступ, зробіть наступне:" -#: ../C/gedit.xml:1682(para) +#: ../C/pluma.xml:1682(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." @@ -3296,7 +3296,7 @@ msgstr "" "Виділіть рядки. Якщо це один рядок, просто залиште курсор десь у " "його межах." -#: ../C/gedit.xml:1687(para) +#: ../C/pluma.xml:1687(para) msgid "" "To indent the text, choose EditIndent." @@ -3304,28 +3304,28 @@ msgstr "" "Для вставки відступу виберіть ПравкаВідступ." -#: ../C/gedit.xml:1690(para) +#: ../C/pluma.xml:1690(para) msgid "" "To remove the indentation, choose EditUnindent." msgstr "" "Для його видалення: ПравкаЗабрати відступ." -#: ../C/gedit.xml:1695(para) +#: ../C/pluma.xml:1695(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "Кількість пробілів, а також чи будуть ці пробіли або символ табуляції " "залежать від параметрів Знаки табуляції у параметрах " -"редактора, дивіться ." +"редактора, дивіться ." -#: ../C/gedit.xml:1700(title) +#: ../C/pluma.xml:1700(title) msgid "Insert Date/Time Plugin" msgstr "Модуль вставки дати та часу" -#: ../C/gedit.xml:1701(para) +#: ../C/pluma.xml:1701(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3334,7 +3334,7 @@ msgstr "" "Модуль Вставка дати й часу вставляє поточну " "дату й час у поточний документ. Щоб використати його:" -#: ../C/gedit.xml:1703(para) +#: ../C/pluma.xml:1703(para) msgid "" "Choose EditInsert Date and Time." @@ -3342,46 +3342,46 @@ msgstr "" "Виберіть ПравкаВставити дату й " "час." -#: ../C/gedit.xml:1704(para) +#: ../C/pluma.xml:1704(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "Якщо ви не налаштовували цей модуль на вставку дати та часу без запиту " -"формату, тоді gedit відобразить діалог " +"формату, тоді pluma відобразить діалог " "Вставити дату й час. Виберіть зі списку потрібний формат " "та натисніть Вставити. У позицію курсору будуть вставлені " "нова дата та час. Діалог закриється автоматично." -#: ../C/gedit.xml:1705(para) +#: ../C/pluma.xml:1705(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"Якщо gedit вже налаштований для вставки дати та " +"Якщо pluma вже налаштований для вставки дати та " "часу визначеного формату, діалог Вставити дату й час показаний не буде." -#: ../C/gedit.xml:1710(title) +#: ../C/pluma.xml:1710(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "Настройка модуль вставляння дати й часу" -#: ../C/gedit.xml:1711(para) +#: ../C/pluma.xml:1711(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "Для налаштовування модуля вставки дати й часу, виконайте наступне:" -#: ../C/gedit.xml:1719(para) +#: ../C/pluma.xml:1719(para) msgid "Select the Insert Date/Time plugin." msgstr "Виберіть модуль Вставка дати й часу." -#: ../C/gedit.xml:1722(para) +#: ../C/pluma.xml:1722(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3389,11 +3389,11 @@ msgstr "" "Натисніть кнопку Налаштувати модуль. Відкриється діалог " "Налаштовування модуля вставляння дати й часу." -#: ../C/gedit.xml:1725(para) +#: ../C/pluma.xml:1725(para) msgid "Select one of the options, as follows:" msgstr "Виберіть один з параметрів:" -#: ../C/gedit.xml:1727(para) +#: ../C/pluma.xml:1727(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3401,12 +3401,12 @@ msgstr "" "Для запиту формату вставки кожен раз, відмітьте Запитувати " "формат." -#: ../C/gedit.xml:1730(para) +#: ../C/pluma.xml:1730(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." @@ -3415,7 +3415,7 @@ msgstr "" "та не хочете, щоб формат запитувався щоразу — відмітьте Використати вибраний формат. " "Формат вставки можна вибрати зі списку." -#: ../C/gedit.xml:1733(para) +#: ../C/pluma.xml:1733(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3423,7 +3423,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3432,13 +3432,13 @@ msgstr "" "manvolnum>. При вставленні формат також запитуватись не " "буде." -#: ../C/gedit.xml:1738(para) +#: ../C/pluma.xml:1738(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." msgstr "Натисніть Гаразд для закриття діалогу." -#: ../C/gedit.xml:1741(para) +#: ../C/pluma.xml:1741(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3446,39 +3446,39 @@ msgstr "" "Закрийте діалог Параметри натисніть на кнопку " "Закрити." -#: ../C/gedit.xml:1748(title) +#: ../C/pluma.xml:1748(title) msgid "Modelines Plugin" msgstr "Модуль «Стилі редагування»" -#: ../C/gedit.xml:1749(para) +#: ../C/pluma.xml:1749(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Модуль Стилі редагування дозволяє встановити " "індивідуальні параметри документа. Стилі редагування " "є рядками тексту на початку або наприкінці документу з параметрами " -"для gedit." +"для pluma." -#: ../C/gedit.xml:1750(para) +#: ../C/pluma.xml:1750(para) msgid "You can override the following preferences with modelines:" msgstr "Параметрами можуть бути:" -#: ../C/gedit.xml:1753(para) +#: ../C/pluma.xml:1753(para) msgid "Tab width" msgstr "Ширина табуляції" -#: ../C/gedit.xml:1756(para) +#: ../C/pluma.xml:1756(para) msgid "Insert spaces instead of tabs" msgstr "Пробіли замість табуляції" -#: ../C/gedit.xml:1762(para) +#: ../C/pluma.xml:1762(para) msgid "Right margin width" msgstr "Пробіли замість табуляцій" -#: ../C/gedit.xml:1766(para) +#: ../C/pluma.xml:1766(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3488,17 +3488,17 @@ msgstr "" "інших текстових редакторів: Emacs, " "Kate та Vim." -#: ../C/gedit.xml:1769(title) +#: ../C/pluma.xml:1769(title) msgid "Emacs Modelines" msgstr "«Стиль редагування» Emacs" -#: ../C/gedit.xml:1770(para) +#: ../C/pluma.xml:1770(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "Скануються перші два рядки документу." -#: ../C/gedit.xml:1771(para) +#: ../C/pluma.xml:1771(para) msgid "" "The Emacs options for tab-width, indent-tabs-mode " "and autowrap are supported. For more information, see the Посібнику з GNU Emacs." -#: ../C/gedit.xml:1774(title) +#: ../C/pluma.xml:1774(title) msgid "Kate Modelines" msgstr "«Стиль редагування» Kate" -#: ../C/gedit.xml:1775(para) +#: ../C/pluma.xml:1775(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "Скануються перші та останні десять рядків документу." -#: ../C/gedit.xml:1776(para) +#: ../C/pluma.xml:1776(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3532,17 +3532,17 @@ msgstr "" "інформації дивіться веб-сайт Kate." -#: ../C/gedit.xml:1779(title) +#: ../C/pluma.xml:1779(title) msgid "Vim Modelines" msgstr "«Стиль редагування» Vim" -#: ../C/gedit.xml:1780(para) +#: ../C/pluma.xml:1780(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "Скануються перші та останні три рядки документа." -#: ../C/gedit.xml:1781(para) +#: ../C/pluma.xml:1781(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "wrap, and textwidth are supported. For more information, see the веб-сайт Vim." -#: ../C/gedit.xml:1786(title) +#: ../C/pluma.xml:1786(title) msgid "Python Console Plugin" msgstr "Модуль «Консоль Python»" -#: ../C/gedit.xml:1787(para) +#: ../C/pluma.xml:1787(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" @@ -3568,20 +3568,20 @@ msgstr "" "на мові програмування python. У нижню панель буде додана вкладка, у " "якій можна ввести команду та переглянути її вивід." -#: ../C/gedit.xml:1788(para) +#: ../C/pluma.xml:1788(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" "Команди, що вводяться, виконуються без будь-якої перевірки. Можливі зависання " -"gedit, наприклад, при вході у нескінченний цикл." +"pluma, наприклад, при вході у нескінченний цикл." -#: ../C/gedit.xml:1792(title) +#: ../C/pluma.xml:1792(title) msgid "Snippets Plugin" msgstr "Модуль «Фрагменти тексту»" -#: ../C/gedit.xml:1793(para) +#: ../C/pluma.xml:1793(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3590,7 +3590,7 @@ msgstr "" "Модуль Фрагменти тексту дозволяє зберігати " "фрагменти тексту, що часто використовуються, потім швидко вставляти ці фрагменти у будь-яке місце документу." -#: ../C/gedit.xml:1794(para) +#: ../C/pluma.xml:1794(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3601,19 +3601,19 @@ msgstr "" "HTML-документом, можна обрати фрагменти для HTML. Деякі текстові " "фрагменти глобальні, вони доступні для усіх видів документів." -#: ../C/gedit.xml:1795(para) +#: ../C/pluma.xml:1795(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." msgstr "" -"Декілька фрагментів постачається у складі geditpluma. Їх можна змінювати." -#: ../C/gedit.xml:1798(title) +#: ../C/pluma.xml:1798(title) msgid "Inserting Snippets" msgstr "Вставка фрагментів" -#: ../C/gedit.xml:1799(para) +#: ../C/pluma.xml:1799(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3625,7 +3625,7 @@ msgstr "" "фрагменту тексту — це зазвичай перші декілька символів потрібного фрагменту, " "або будь-яка послідовність, що легко запам'ятовується." -#: ../C/gedit.xml:1800(para) +#: ../C/pluma.xml:1800(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3633,15 +3633,15 @@ msgstr "" "Інший спосіб: натискання CtrlПробіл дозволяє обрати зі списку потрібний фрагмент для вставки." -#: ../C/gedit.xml:1804(title) +#: ../C/pluma.xml:1804(title) msgid "Adding Snippets" msgstr "Додавання фрагментів" -#: ../C/gedit.xml:1805(para) +#: ../C/pluma.xml:1805(para) msgid "To create a new snippet, do the following:" msgstr "Для створення нового фрагменту тексту:" -#: ../C/gedit.xml:1808(para) +#: ../C/pluma.xml:1808(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3651,7 +3651,7 @@ msgstr "" "фрагментами. Відкриється вікно Менеджер " "фрагментів." -#: ../C/gedit.xml:1811(para) +#: ../C/pluma.xml:1811(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3662,20 +3662,20 @@ msgstr "" "якого хочете додати фрагмент. Для додавання фрагменту, що стосується " "усіх мов, виберіть «Глобальний»." -#: ../C/gedit.xml:1814(para) +#: ../C/pluma.xml:1814(para) msgid "Click New. A new snippet appears in the list." msgstr "" "Натисніть Створити, та новий фрагмент додається у список." -#: ../C/gedit.xml:1817(para) +#: ../C/pluma.xml:1817(para) msgid "Enter the following information for the new snippet:" msgstr "Введіть наступну інформацію про фрагмент:" -#: ../C/gedit.xml:1819(term) +#: ../C/pluma.xml:1819(term) msgid "Name" msgstr "Назва" -#: ../C/gedit.xml:1821(para) +#: ../C/pluma.xml:1821(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3685,21 +3685,21 @@ msgstr "" "відображення суті фрагменту. Можна змінити назва текстового фрагмента, клацнув " "по ньому мишкою." -#: ../C/gedit.xml:1824(term) +#: ../C/pluma.xml:1824(term) msgid "Snippet text" msgstr "Текст фрагменту" -#: ../C/gedit.xml:1826(para) +#: ../C/pluma.xml:1826(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "Введіть текст самого фрагменту у текстовому полі Редагувати " -"фрагмент. Дивіться також . Дивіться також ." -#: ../C/gedit.xml:1827(para) +#: ../C/pluma.xml:1827(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3707,11 +3707,11 @@ msgstr "" "Можна перемикнутися у вікно документу без закриття вікна Менеджер " "фрагментів." -#: ../C/gedit.xml:1830(term) +#: ../C/pluma.xml:1830(term) msgid "Tab Trigger" msgstr "Tab-тригер" -#: ../C/gedit.xml:1832(para) +#: ../C/pluma.xml:1832(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3719,7 +3719,7 @@ msgstr "" "Введіть tab-тригер для фрагменту це - текст, який треба ввести до натискання " "клавіші Tab при вставлянні фрагменту." -#: ../C/gedit.xml:1833(para) +#: ../C/pluma.xml:1833(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3729,29 +3729,29 @@ msgstr "" "словом, що складається лише із літер. Якщо введений неправильний tab-тригер, він " "буде виділений червоним кольором." -#: ../C/gedit.xml:1836(term) +#: ../C/pluma.xml:1836(term) msgid "Shortcut key" msgstr "Комбінація клавіш" -#: ../C/gedit.xml:1838(para) +#: ../C/pluma.xml:1838(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "Введіть комбінацію клавіш, для вставки фрагменту." -#: ../C/gedit.xml:1847(title) +#: ../C/pluma.xml:1847(title) msgid "Editing and Removing Snippets" msgstr "Редагування та видалення фрагментів" -#: ../C/gedit.xml:1848(para) +#: ../C/pluma.xml:1848(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." msgstr "Для редагування фрагменту виберіть його з списку та відредагуйте." -#: ../C/gedit.xml:1849(para) +#: ../C/pluma.xml:1849(para) msgid "To rename a snippet, click it again in the list." msgstr "Для зміни назви фрагменту, клацніть на ньому у списку." -#: ../C/gedit.xml:1850(para) +#: ../C/pluma.xml:1850(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." @@ -3759,7 +3759,7 @@ msgstr "" "Щоб відновити змінені вбудовані фрагменти, натисніть " "Відновити." -#: ../C/gedit.xml:1851(para) +#: ../C/pluma.xml:1851(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3768,11 +3768,11 @@ msgstr "" "Для видалення фрагменту, виберіть його зі списку та натисніть кнопку " "Видалити. Вбудовані фрагменти видаляти не можна." -#: ../C/gedit.xml:1855(title) +#: ../C/pluma.xml:1855(title) msgid "Snippet Substitutions" msgstr "Підстановка у фрагментах" -#: ../C/gedit.xml:1856(para) +#: ../C/pluma.xml:1856(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3782,15 +3782,15 @@ msgstr "" "текст, або символи пробілів, куди можна буде додати текст після вставки " "фрагменту у документ." -#: ../C/gedit.xml:1860(para) +#: ../C/pluma.xml:1860(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "Можна використати наступні символи-замінники:" -#: ../C/gedit.xml:1862(term) +#: ../C/pluma.xml:1862(term) msgid "Tab placeholders" msgstr "Закладки" -#: ../C/gedit.xml:1864(para) +#: ../C/pluma.xml:1864(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3798,7 +3798,7 @@ msgstr "" "$n встановлює закладку, де " "n — число більше 1." -#: ../C/gedit.xml:1865(para) +#: ../C/pluma.xml:1865(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3806,7 +3806,7 @@ msgstr "" "${n:default} встановлює закладку з типовим значенням." -#: ../C/gedit.xml:1866(para) +#: ../C/pluma.xml:1866(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." @@ -3814,7 +3814,7 @@ msgstr "" "Закладка позначає місце у фрагменті, куди можна додати текст після " "вставки фрагменту." -#: ../C/gedit.xml:1867(para) +#: ../C/pluma.xml:1867(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3826,7 +3826,7 @@ msgstr "" "у позицію наступної закладки. Нумерація закладок та визначає порядок " "перемикання між ними." -#: ../C/gedit.xml:1868(para) +#: ../C/pluma.xml:1868(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3838,11 +3838,11 @@ msgstr "" "більше немає, клавіша Tab переміщує курсор у кінець " "фрагменту, або до кінцевого символу-заміннику, якщо такий є." -#: ../C/gedit.xml:1871(term) +#: ../C/pluma.xml:1871(term) msgid "Mirror placeholders" msgstr "Дзеркала" -#: ../C/gedit.xml:1873(para) +#: ../C/pluma.xml:1873(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3851,11 +3851,11 @@ msgstr "" "Декілька закладок будуть відображати один і той самий текст. Дзеркала дозволяють " "ввести текст один раз, і він відображатиметься у кількох місцях у фрагменті." -#: ../C/gedit.xml:1876(term) +#: ../C/pluma.xml:1876(term) msgid "End placeholder" msgstr "Кінцевий символ-замінник" -#: ../C/gedit.xml:1878(para) +#: ../C/pluma.xml:1878(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3864,32 +3864,32 @@ msgstr "" "$0 визначає кінцевий символ-замінник. Дозволяє " "завершити роботу з фрагментом, залишаючи курсор у потрібній позиції." -#: ../C/gedit.xml:1881(term) +#: ../C/pluma.xml:1881(term) msgid "Environmental variables" msgstr "Змінні оточення" -#: ../C/gedit.xml:1883(para) +#: ../C/pluma.xml:1883(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "У фрагментах можуть використовуватись змінні оточення, такі як $PATH та $HOME . Ось повний список змінних оточення, що можуть використовуватись:" -#: ../C/gedit.xml:1885(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: ../C/pluma.xml:1885(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: ../C/gedit.xml:1887(para) +#: ../C/pluma.xml:1887(para) msgid "The currently selected text." msgstr "Виділений текст." -#: ../C/gedit.xml:1890(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: ../C/pluma.xml:1890(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: ../C/gedit.xml:1892(para) +#: ../C/pluma.xml:1892(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." @@ -3897,31 +3897,31 @@ msgstr "" "Повна назва поточного документу. Якщо документ ще не був збережений, " "повертається порожній рядок." -#: ../C/gedit.xml:1895(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: ../C/pluma.xml:1895(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: ../C/gedit.xml:1897(para) +#: ../C/pluma.xml:1897(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "Назва файлу без шляху, або порожній рядок, якщо файл не збережений." -#: ../C/gedit.xml:1900(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: ../C/pluma.xml:1900(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: ../C/gedit.xml:1902(para) +#: ../C/pluma.xml:1902(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "Слово у позиції курсору. Слово буде замінене фрагментом тексту." -#: ../C/gedit.xml:1910(term) +#: ../C/pluma.xml:1910(term) msgid "Shell placeholders" msgstr "Команди оболонки" -#: ../C/gedit.xml:1912(para) +#: ../C/pluma.xml:1912(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3929,7 +3929,7 @@ msgstr "" "$(cmd) у фрагменті тексту " "замінюється результатом виконання cmd у оболонці." -#: ../C/gedit.xml:1913(para) +#: ../C/pluma.xml:1913(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3942,11 +3942,11 @@ msgstr "" "replaceable> — число більше 1. За допомогою $n можна вивід однієї команди подати на вхід іншої." -#: ../C/gedit.xml:1916(term) +#: ../C/pluma.xml:1916(term) msgid "Python placeholders" msgstr "Команди Python" -#: ../C/gedit.xml:1918(para) +#: ../C/pluma.xml:1918(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -3956,7 +3956,7 @@ msgstr "" "результатами обчислення cmd у інтерпретаторі " "мови python." -#: ../C/gedit.xml:1919(para) +#: ../C/pluma.xml:1919(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3974,7 +3974,7 @@ msgstr "" "replaceable>,b:cmd>" "" -#: ../C/gedit.xml:1920(para) +#: ../C/pluma.xml:1920(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." @@ -3982,11 +3982,11 @@ msgstr "" "Для використання змінних у python-фрагментах, декларуйте їх як " "global." -#: ../C/gedit.xml:1929(title) +#: ../C/pluma.xml:1929(title) msgid "Sort Plugin" msgstr "Модуль сортування" -#: ../C/gedit.xml:1930(para) +#: ../C/pluma.xml:1930(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." @@ -3994,7 +3994,7 @@ msgstr "" "Модуль Сортування впорядковує виділені рядки " "за алфавітом." -#: ../C/gedit.xml:1931(para) +#: ../C/pluma.xml:1931(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -4006,15 +4006,15 @@ msgstr "" "ФайлВідновити." -#: ../C/gedit.xml:1934(para) +#: ../C/pluma.xml:1934(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "Щоб скористатись сортуванням виконайте наступні дії:" -#: ../C/gedit.xml:1937(para) +#: ../C/pluma.xml:1937(para) msgid "Select the lines of text you want to sort." msgstr "Виділіть рядки для сортування" -#: ../C/gedit.xml:1939(para) +#: ../C/pluma.xml:1939(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -4022,11 +4022,11 @@ msgstr "" "Виберіть ПравкаСортувати. Відкриється діалогове вікно Сортування." -#: ../C/gedit.xml:1942(para) +#: ../C/pluma.xml:1942(para) msgid "Choose the options you want for the sort:" msgstr "Відмітьте потрібні параметри сортування:" -#: ../C/gedit.xml:1945(para) +#: ../C/pluma.xml:1945(para) msgid "" "To arrange the text in reverse order, select Reverse order." @@ -4034,20 +4034,20 @@ msgstr "" "Щоб сортувати у зворотному порядку, виберіть Зворотний порядок." -#: ../C/gedit.xml:1948(para) +#: ../C/pluma.xml:1948(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "" "Для видалення дублікатів рядків, відмітьте Видаляти повтори." -#: ../C/gedit.xml:1951(para) +#: ../C/pluma.xml:1951(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "" "Щоб не звертати увагу на регістр символів, виберіть " "Ігнорувати регістр." -#: ../C/gedit.xml:1954(para) +#: ../C/pluma.xml:1954(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -4057,30 +4057,30 @@ msgstr "" "рядків. Для цього скористайтесь полем Починати з стовпчика." -#: ../C/gedit.xml:1959(para) +#: ../C/pluma.xml:1959(para) msgid "To perform the sort operation, click Sort." msgstr "При натисканні кнопки Сортувати виконується сортування." -#: ../C/gedit.xml:1966(title) +#: ../C/pluma.xml:1966(title) msgid "Spell Checker Plugin" msgstr "Модуль перевірки орфографії" -#: ../C/gedit.xml:1967(para) +#: ../C/pluma.xml:1967(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "Модуль Перевірка орфографії перевіряє орфографію " -"виділеного тексту. Можна налаштувати gedit на " +"виділеного тексту. Можна налаштувати pluma на " "автоматичну перевірку орфографії, або робити перевірку вручну. Мовні " "параметри та параметри автоперевірки застосовуються до документу. Для " "використання модуля, виконайте:" -#: ../C/gedit.xml:1969(para) +#: ../C/pluma.xml:1969(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -4092,7 +4092,7 @@ msgstr "" "Встановити мову. Оберіть потрібну мову зі списку. " "Для закривання вікна натисніть Гаразд." -#: ../C/gedit.xml:1972(para) +#: ../C/pluma.xml:1972(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -4100,7 +4100,7 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "Для вмикання автоматичної перевірки орфографії виберіть " @@ -4111,7 +4111,7 @@ msgstr "" "поруч з цим пунктом меню з'являється позначка. Типово, автоматична перевірка " "вимкнена." -#: ../C/gedit.xml:1973(para) +#: ../C/pluma.xml:1973(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling SuggestionsМожливі варіанти " "дозволяє:" -#: ../C/gedit.xml:1976(para) +#: ../C/pluma.xml:1976(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " @@ -4129,7 +4129,7 @@ msgid "" msgstr "" "Замінити слово на інше, що пропонується зі списку, просто клацнувши на ньому." -#: ../C/gedit.xml:1979(para) +#: ../C/pluma.xml:1979(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAddМожливі варіантиДодати." -#: ../C/gedit.xml:1982(para) +#: ../C/pluma.xml:1982(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "Ігнорувати всі подібні слова. Так слова не будуть помічені як " "невідомі, але не будуть додані у ваш особистий словник. Виберіть " "Можливі варіантиІгнорувати " "все. Діє лише у межах поточного сеансу " -"gedit." +"pluma." -#: ../C/gedit.xml:1987(para) +#: ../C/pluma.xml:1987(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -4161,7 +4161,7 @@ msgstr "" "Для перевірки орфографії вручну, виберіть СервісПеревірити орфографію." -#: ../C/gedit.xml:1989(para) +#: ../C/pluma.xml:1989(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -4171,7 +4171,7 @@ msgstr "" "Якщо ніяких помилок не знайдено, буде виведене повідомлення: немає помилкових " "слів." -#: ../C/gedit.xml:1991(para) +#: ../C/pluma.xml:1991(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" @@ -4179,14 +4179,14 @@ msgstr "" "Якщо ж були помилки, відкриється діалогове вікно Перевірка " "орфографії:" -#: ../C/gedit.xml:1994(para) +#: ../C/pluma.xml:1994(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "" "Слово з помилкою буде показано у верхній частині вікна." -#: ../C/gedit.xml:1997(para) +#: ../C/pluma.xml:1997(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -4197,7 +4197,7 @@ msgstr "" "напису слова. Можна ввести у це поле власний варіант для заміни, або " "обрати альтернативу зі списку Варіанти." -#: ../C/gedit.xml:2000(para) +#: ../C/pluma.xml:2000(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -4211,19 +4211,19 @@ msgstr "" "literal>. Якщо ж слово невідоме, у списку Варіанти " "будуть відображені уже варіанти його написання." -#: ../C/gedit.xml:2003(para) +#: ../C/pluma.xml:2003(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "Для ігнорування невідомого слова, натисніть Ігнорувати. Щоб ігнорувати всі подібні слова, натисніть " "Ігнорувати все. Дійсно лише у межах " -"поточної сеансу gedit." +"поточної сеансу pluma." -#: ../C/gedit.xml:2006(para) +#: ../C/pluma.xml:2006(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click ChangeЗамінити все." -#: ../C/gedit.xml:2009(para) +#: ../C/pluma.xml:2009(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." @@ -4244,7 +4244,7 @@ msgstr "" "Додати невідоме слово у особистий словник можна натиснути на " "кнопку Додати слово." -#: ../C/gedit.xml:2012(para) +#: ../C/pluma.xml:2012(para) msgid "" "To close the Check Spelling dialog, click " "Close." @@ -4252,11 +4252,11 @@ msgstr "" "Щоб закрити діалог Перевірка орфографії натисніть " "Закрити." -#: ../C/gedit.xml:2021(title) +#: ../C/pluma.xml:2021(title) msgid "Tag List Plugin" msgstr "Модуль списку тегів" -#: ../C/gedit.xml:2022(para) +#: ../C/pluma.xml:2022(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." @@ -4264,11 +4264,11 @@ msgstr "" "Модуль Список тегів дозволяє вставити у " "документ теги зі списку у бічній панелі." -#: ../C/gedit.xml:2023(para) +#: ../C/pluma.xml:2023(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "Для використання модуля:" -#: ../C/gedit.xml:2025(para) +#: ../C/pluma.xml:2025(para) msgid "" "Choose ViewSide Pane." @@ -4276,7 +4276,7 @@ msgstr "" "Виберіть ВиглядБічна панель." -#: ../C/gedit.xml:2029(para) +#: ../C/pluma.xml:2029(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4285,7 +4285,7 @@ msgstr "" "Типово, у бічній панелі відображається вкладка зі списком відкритих " "документів. Натисніть вкладку із зображенням «+» внизу панелі." -#: ../C/gedit.xml:2031(para) +#: ../C/pluma.xml:2031(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." @@ -4293,11 +4293,11 @@ msgstr "" "Виберіть відповідну категорію тегів у розкривному списку, наприклад, " "HTML - теги." -#: ../C/gedit.xml:2034(para) +#: ../C/pluma.xml:2034(para) msgid "Scroll through the tag list to find the required tag." msgstr "Можна прокрутити список тегів для пошуку потрібного." -#: ../C/gedit.xml:2037(para) +#: ../C/pluma.xml:2037(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4305,7 +4305,7 @@ msgstr "" "Щоб вставити тег у позицію курсору у поточному файлі, двічі клацніть на " "потрібному тегу у списку. Інші способи вставки тегів:" -#: ../C/gedit.xml:2039(para) +#: ../C/pluma.xml:2039(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4313,7 +4313,7 @@ msgstr "" "Для вставки тегу та зміни фокусу вводу з бічної панелі до редагування " "поточного документу, натисніть клавішу Enter." -#: ../C/gedit.xml:2042(para) +#: ../C/pluma.xml:2042(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShiftEnter." -#: ../C/gedit.xml:2051(title) +#: ../C/pluma.xml:2051(title) msgid "User Name Plugin" msgstr "Модуль «Ім'я користувача»" -#: ../C/gedit.xml:2052(para) +#: ../C/pluma.xml:2052(para) msgid "" "The User name plugin inserts the username of the " "current user into the document." @@ -4335,7 +4335,7 @@ msgstr "" "Модуль Ім'я користувача вставляє ім'я поточного " "користувача у документ." -#: ../C/gedit.xml:2053(para) +#: ../C/pluma.xml:2053(para) msgid "" "To insert your username at the cursor position, choose " "EditInsert User NameПравкаВставити ім'я користувача." -#: ../C/gedit.xml:2055(para) +#: ../C/pluma.xml:2055(para) msgid "" "This plugin is mostly provided as an example of how to create your own " "plugins. For more information on creating plugins, see the geditpluma website." msgstr "" "Цей модуль, у основному, служить прикладом для створення власних " "модулів. Додаткову інформацію дивіться на сайті gedit." +"live.gnome.org/Pluma/Plugins\">сайті pluma." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. -#: ../C/gedit.xml:0(None) +#: ../C/pluma.xml:0(None) msgid "translator-credits" msgstr "Максим Дзюманенко , 2007" diff --git a/help/zh_CN/figures/gedit_window.png b/help/zh_CN/figures/pluma_window.png similarity index 100% rename from help/zh_CN/figures/gedit_window.png rename to help/zh_CN/figures/pluma_window.png diff --git a/help/zh_CN/zh_CN.po b/help/zh_CN/zh_CN.po index 3148b96..e1fb499 100755 --- a/help/zh_CN/zh_CN.po +++ b/help/zh_CN/zh_CN.po @@ -1,12 +1,12 @@ -# Chinese (China) translation of gedit help +# Chinese (China) translation of pluma help # Copyright (C) 2010 Free Software Foundation, Inc. -# This file is distributed under the same license as the gedit package. +# This file is distributed under the same license as the pluma package. # # 朱涛 , 2010. # msgid "" msgstr "" -"Project-Id-Version: gedit mate-2-30\n" +"Project-Id-Version: pluma mate-2-30\n" "POT-Creation-Date: 2010-08-25 14:21+0000\n" "PO-Revision-Date: 2010-09-06 18:55+0800\n" "Last-Translator: 朱涛 \n" @@ -100,296 +100,296 @@ msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:268(None) +#: C/pluma.xml:268(None) msgid "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" msgstr "" -"@@image: 'figures/gedit_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" +"@@image: 'figures/pluma_window.png'; md5=a1daf2ed54a551bb590a172bc730594c" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. -#: C/gedit.xml:349(None) +#: C/pluma.xml:349(None) msgid "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" msgstr "" -"@@image: 'figures/gedit_recent_files_menu_icon.png'; " +"@@image: 'figures/pluma_recent_files_menu_icon.png'; " "md5=62b4bede31db64226f7e7f9b18f5eb74" -#: C/gedit.xml:23(title) -msgid "Gedit Manual" -msgstr "Gedit 手册" +#: C/pluma.xml:23(title) +msgid "Pluma Manual" +msgstr "Pluma 手册" -#: C/gedit.xml:25(year) +#: C/pluma.xml:25(year) msgid "2007" msgstr "2007" -#: C/gedit.xml:26(holder) C/gedit.xml:45(publishername) -#: C/gedit.xml:56(firstname) C/gedit.xml:79(orgname) C/gedit.xml:120(para) -#: C/gedit.xml:128(para) C/gedit.xml:136(para) C/gedit.xml:144(para) -#: C/gedit.xml:152(para) C/gedit.xml:160(para) C/gedit.xml:168(para) -#: C/gedit.xml:176(para) C/gedit.xml:184(para) C/gedit.xml:192(para) -#: C/gedit.xml:200(para) +#: C/pluma.xml:26(holder) C/pluma.xml:45(publishername) +#: C/pluma.xml:56(firstname) C/pluma.xml:79(orgname) C/pluma.xml:120(para) +#: C/pluma.xml:128(para) C/pluma.xml:136(para) C/pluma.xml:144(para) +#: C/pluma.xml:152(para) C/pluma.xml:160(para) C/pluma.xml:168(para) +#: C/pluma.xml:176(para) C/pluma.xml:184(para) C/pluma.xml:192(para) +#: C/pluma.xml:200(para) msgid "MATE Documentation Project" msgstr "MATE 文档项目" -#: C/gedit.xml:28(year) +#: C/pluma.xml:28(year) msgid "2002" msgstr "2002" -#: C/gedit.xml:29(year) +#: C/pluma.xml:29(year) msgid "2003" msgstr "2003" -#: C/gedit.xml:30(year) +#: C/pluma.xml:30(year) msgid "2004" msgstr "2004" -#: C/gedit.xml:31(holder) C/gedit.xml:71(orgname) +#: C/pluma.xml:31(holder) C/pluma.xml:71(orgname) msgid "Sun Microsystems" msgstr "Sun Microsystems" -#: C/gedit.xml:33(year) C/gedit.xml:116(date) +#: C/pluma.xml:33(year) C/pluma.xml:116(date) msgid "2000" msgstr "2000" -#: C/gedit.xml:34(holder) +#: C/pluma.xml:34(holder) msgid "Eric Baudais" msgstr "Eric Baudais" -#: C/gedit.xml:52(firstname) +#: C/pluma.xml:52(firstname) msgid "Joachim" msgstr "Joachim" -#: C/gedit.xml:53(surname) +#: C/pluma.xml:53(surname) msgid "Noreiko" msgstr "Noreiko" -#: C/gedit.xml:59(orgname) +#: C/pluma.xml:59(orgname) msgid "MATE" msgstr "MATE" -#: C/gedit.xml:63(firstname) +#: C/pluma.xml:63(firstname) msgid "Hal" msgstr "Hal" -#: C/gedit.xml:64(surname) +#: C/pluma.xml:64(surname) msgid "Canary" msgstr "Canary" -#: C/gedit.xml:65(contrib) +#: C/pluma.xml:65(contrib) msgid "Added the Shortcut Keys Table" msgstr "添加快捷键表" -#: C/gedit.xml:68(firstname) C/gedit.xml:191(para) +#: C/pluma.xml:68(firstname) C/pluma.xml:191(para) msgid "Sun Java Desktop System Documentation Team" msgstr "Sun Java Desktop System Documentation Team" -#: C/gedit.xml:72(email) +#: C/pluma.xml:72(email) msgid "gdocteam@sun.com" msgstr "gdocteam@sun.com" -#: C/gedit.xml:76(firstname) +#: C/pluma.xml:76(firstname) msgid "Eric" msgstr "Eric" -#: C/gedit.xml:77(surname) +#: C/pluma.xml:77(surname) msgid "Baudais" msgstr "Baudais" -#: C/gedit.xml:80(email) +#: C/pluma.xml:80(email) msgid "baudais@okstate.edu" msgstr "baudais@okstate.edu" -#: C/gedit.xml:84(firstname) +#: C/pluma.xml:84(firstname) msgid "Baris" msgstr "Baris" -#: C/gedit.xml:85(surname) +#: C/pluma.xml:85(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek 提供了 gedit 应用程序早期修订的信息。" +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek 提供了 pluma 应用程序早期修订的信息。" -#: C/gedit.xml:86(contrib) C/gedit.xml:91(contrib) +#: C/pluma.xml:86(contrib) C/pluma.xml:91(contrib) msgid "Acknowledgements" msgstr "致谢" -#: C/gedit.xml:89(firstname) +#: C/pluma.xml:89(firstname) msgid "Ajit" msgstr "Ajit" -#: C/gedit.xml:90(surname) +#: C/pluma.xml:90(surname) msgid "George provided information about plugins." msgstr "George 提供了有关插件的信息。" -#: C/gedit.xml:115(revnumber) -msgid "gedit V1.0" -msgstr "gedit V1.0" +#: C/pluma.xml:115(revnumber) +msgid "pluma V1.0" +msgstr "pluma V1.0" -#: C/gedit.xml:118(para) +#: C/pluma.xml:118(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" -#: C/gedit.xml:124(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit 手册 V2.0" +#: C/pluma.xml:124(revnumber) +msgid "pluma Manual V2.0" +msgstr "pluma 手册 V2.0" -#: C/gedit.xml:125(date) +#: C/pluma.xml:125(date) msgid "March 2002" msgstr "2002年3月" -#: C/gedit.xml:127(para) C/gedit.xml:135(para) C/gedit.xml:143(para) -#: C/gedit.xml:151(para) C/gedit.xml:159(para) C/gedit.xml:167(para) -#: C/gedit.xml:175(para) C/gedit.xml:183(para) +#: C/pluma.xml:127(para) C/pluma.xml:135(para) C/pluma.xml:143(para) +#: C/pluma.xml:151(para) C/pluma.xml:159(para) C/pluma.xml:167(para) +#: C/pluma.xml:175(para) C/pluma.xml:183(para) msgid "Sun MATE Documentation Team" msgstr "Sun MATE Documentation Team" -#: C/gedit.xml:132(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit 手册 V2.1" +#: C/pluma.xml:132(revnumber) +msgid "pluma Manual V2.1" +msgstr "pluma 手册 V2.1" -#: C/gedit.xml:133(date) +#: C/pluma.xml:133(date) msgid "June 2002" msgstr "2002年6月" -#: C/gedit.xml:140(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit 手册 V2.2" +#: C/pluma.xml:140(revnumber) +msgid "pluma Manual V2.2" +msgstr "pluma 手册 V2.2" -#: C/gedit.xml:141(date) +#: C/pluma.xml:141(date) msgid "August 2002" msgstr "2002年8月" -#: C/gedit.xml:148(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit 手册 V2.3" +#: C/pluma.xml:148(revnumber) +msgid "pluma Manual V2.3" +msgstr "pluma 手册 V2.3" -#: C/gedit.xml:149(date) +#: C/pluma.xml:149(date) msgid "September 2002" msgstr "2002年9月" -#: C/gedit.xml:156(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit 手册 V2.4" +#: C/pluma.xml:156(revnumber) +msgid "pluma Manual V2.4" +msgstr "pluma 手册 V2.4" -#: C/gedit.xml:157(date) +#: C/pluma.xml:157(date) msgid "January 2003" msgstr "2003年1月" -#: C/gedit.xml:164(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit 手册 V2.5" +#: C/pluma.xml:164(revnumber) +msgid "pluma Manual V2.5" +msgstr "pluma 手册 V2.5" -#: C/gedit.xml:165(date) +#: C/pluma.xml:165(date) msgid "March 2003" msgstr "2003年3月" -#: C/gedit.xml:172(revnumber) -msgid "gedit Manual V2.6" -msgstr "gedit 手册 V2.6" +#: C/pluma.xml:172(revnumber) +msgid "pluma Manual V2.6" +msgstr "pluma 手册 V2.6" -#: C/gedit.xml:173(date) +#: C/pluma.xml:173(date) msgid "September 2003" msgstr "2003年9月" -#: C/gedit.xml:180(revnumber) -msgid "gedit Manual V2.7" -msgstr "gedit 手册 V2.7" +#: C/pluma.xml:180(revnumber) +msgid "pluma Manual V2.7" +msgstr "pluma 手册 V2.7" -#: C/gedit.xml:181(date) +#: C/pluma.xml:181(date) msgid "March 2004" msgstr "2003年3月" -#: C/gedit.xml:188(revnumber) -msgid "gedit Manual V2.8" -msgstr "gedit 手册 V2.8" +#: C/pluma.xml:188(revnumber) +msgid "pluma Manual V2.8" +msgstr "pluma 手册 V2.8" -#: C/gedit.xml:189(date) C/gedit.xml:197(date) +#: C/pluma.xml:189(date) C/pluma.xml:197(date) msgid "July 2006" msgstr "2006年7月" -#: C/gedit.xml:196(revnumber) -msgid "gedit Manual V2.9" -msgstr "gedit 手册 V2.9" +#: C/pluma.xml:196(revnumber) +msgid "pluma Manual V2.9" +msgstr "pluma 手册 V2.9" -#: C/gedit.xml:199(para) +#: C/pluma.xml:199(para) msgid "MATE Documentation Team" msgstr "MATE 文档小组" -#: C/gedit.xml:204(releaseinfo) -msgid "This manual describes version 2.16 of gedit." -msgstr "本手册介绍 gedit 2.16 版。" +#: C/pluma.xml:204(releaseinfo) +msgid "This manual describes version 2.16 of pluma." +msgstr "本手册介绍 pluma 2.16 版。" -#: C/gedit.xml:207(title) +#: C/pluma.xml:207(title) msgid "Feedback" msgstr "反馈" -#: C/gedit.xml:208(para) +#: C/pluma.xml:208(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"要报告关于 gedit 应用程序或本手册的错误或提出建" +"要报告关于 pluma 应用程序或本手册的错误或提出建" "议,请参照 MATE 反馈页 中的指导。" -#: C/gedit.xml:213(para) +#: C/pluma.xml:213(para) msgid "" -"gedit is a text editor for the MATE Desktop featuring basic yet robust " +"pluma is a text editor for the MATE Desktop featuring basic yet robust " "capabilities such as printing, spell checking, find and replace, and syntax " "highlighting. More advanced features are available as plugins." msgstr "" -"gedit 是一个 MATE 桌面环境下的文本编辑器,还可以对文档进行打印、拼写检查、查" +"pluma 是一个 MATE 桌面环境下的文本编辑器,还可以对文档进行打印、拼写检查、查" "找替换,以及高亮语法等。更更多的特性可以通过插件来实现。" -#: C/gedit.xml:218(primary) -msgid "gedit" -msgstr "gedit" +#: C/pluma.xml:218(primary) +msgid "pluma" +msgstr "pluma" -#: C/gedit.xml:219(primary) +#: C/pluma.xml:219(primary) msgid "text editor" msgstr "文本编辑器" -#: C/gedit.xml:224(title) +#: C/pluma.xml:224(title) msgid "Introduction" msgstr "简介" -#: C/gedit.xml:229(para) +#: C/pluma.xml:229(para) msgid "" -"The gedit application enables you to create and " +"The pluma application enables you to create and " "edit text files." -msgstr "gedit 允许您创建和编辑文本文件。" +msgstr "pluma 允许您创建和编辑文本文件。" -#: C/gedit.xml:231(para) +#: C/pluma.xml:231(para) msgid "" -"The aim of gedit is to be a simple and easy to " +"The aim of pluma is to be a simple and easy to " "use text editor. More powerful features can be enabled with different " "plugins, allowing a variety of tasks related to text-" "editing." msgstr "" -"gedit 的目标是,实现一个简单易用的文本编辑器。更强" +"pluma 的目标是,实现一个简单易用的文本编辑器。更强" "大的功能可以通过不同的 插件,来实现执行各种文字编辑相" "关的任务。" -#: C/gedit.xml:235(title) +#: C/pluma.xml:235(title) msgid "Getting Started" msgstr "快速入门" -#: C/gedit.xml:239(title) -msgid "Starting gedit" -msgstr "启动 gedit" +#: C/pluma.xml:239(title) +msgid "Starting pluma" +msgstr "启动 pluma" -#: C/gedit.xml:240(para) -msgid "You can start gedit in the following ways:" -msgstr "可以通过以下方式启动 gedit:" +#: C/pluma.xml:240(para) +msgid "You can start pluma in the following ways:" +msgstr "可以通过以下方式启动 pluma:" -#: C/gedit.xml:243(term) +#: C/pluma.xml:243(term) msgid "Applications menu" msgstr "应用程序 菜单" -#: C/gedit.xml:245(para) +#: C/pluma.xml:245(para) msgid "" "Choose AccessoriesText " "Editor." @@ -397,95 +397,95 @@ msgstr "" "选择 附件文本编辑器。" -#: C/gedit.xml:249(term) +#: C/pluma.xml:249(term) msgid "Command line" msgstr "命令行" -#: C/gedit.xml:251(para) -msgid "Execute the following command: gedit" -msgstr "执行以下命令: gedit" +#: C/pluma.xml:251(para) +msgid "Execute the following command: pluma" +msgstr "执行以下命令: pluma" -#: C/gedit.xml:255(para) +#: C/pluma.xml:255(para) msgid "" -"By default, when you open a text document in the file manager, gedit will " +"By default, when you open a text document in the file manager, pluma will " "start, and display the document." msgstr "" -"默认情况下,当您在文件管理器中打开一个文本文件,gedit 会自动运行,显示这个文" +"默认情况下,当您在文件管理器中打开一个文本文件,pluma 会自动运行,显示这个文" "档。" -#: C/gedit.xml:260(title) -msgid "The gedit Window" -msgstr "gedit 窗口" +#: C/pluma.xml:260(title) +msgid "The pluma Window" +msgstr "pluma 窗口" -#: C/gedit.xml:261(para) +#: C/pluma.xml:261(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" -msgstr "在启动 gedit 时,系统会显示下面的窗口。" +msgstr "在启动 pluma 时,系统会显示下面的窗口。" -#: C/gedit.xml:264(title) -msgid "gedit Window" -msgstr "gedit 窗口" +#: C/pluma.xml:264(title) +msgid "pluma Window" +msgstr "pluma 窗口" -#: C/gedit.xml:270(phrase) -msgid "Shows gedit main window." -msgstr "显示 gedit 主窗口。" +#: C/pluma.xml:270(phrase) +msgid "Shows pluma main window." +msgstr "显示 pluma 主窗口。" -#: C/gedit.xml:276(para) +#: C/pluma.xml:276(para) msgid "" -"The gedit window contains the following elements:" -msgstr "该 gedit 窗口包含以下元件:" +"The pluma window contains the following elements:" +msgstr "该 pluma 窗口包含以下元件:" -#: C/gedit.xml:279(term) +#: C/pluma.xml:279(term) msgid "Menubar" msgstr "菜单栏" -#: C/gedit.xml:281(para) +#: C/pluma.xml:281(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"菜单栏上的菜单包含您在 gedit 中处理文件所需的所有" +"菜单栏上的菜单包含您在 pluma 中处理文件所需的所有" "命令。" -#: C/gedit.xml:284(term) +#: C/pluma.xml:284(term) msgid "Toolbar" msgstr "工具栏" -#: C/gedit.xml:286(para) +#: C/pluma.xml:286(para) msgid "" "The toolbar contains a subset of the commands that you can access from the " "menubar." msgstr "工具栏包含您可以从菜单栏访问的命令的子集。" -#: C/gedit.xml:289(term) +#: C/pluma.xml:289(term) msgid "Display area" msgstr "显示区域" -#: C/gedit.xml:291(para) +#: C/pluma.xml:291(para) msgid "The display area contains the text of the file that you are editing." msgstr "该区域包含您正在编辑的文件的文本。" -#: C/gedit.xml:294(term) +#: C/pluma.xml:294(term) msgid "Statusbar" msgstr "状态栏" -#: C/gedit.xml:296(para) +#: C/pluma.xml:296(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items. The " "statusbar also displays the following information:" msgstr "" -"状态栏显示关于当前 gedit 活动的信息和菜单项的相关" +"状态栏显示关于当前 pluma 活动的信息和菜单项的相关" "信息。状态栏也显示下面的信息:" -#: C/gedit.xml:299(para) +#: C/pluma.xml:299(para) msgid "" "Cursor position: the line number and column number where the cursor is " "located." msgstr "光标位置:显示光标所处的行号和列号。" -#: C/gedit.xml:302(para) +#: C/pluma.xml:302(para) msgid "" "Edit mode: If the editor is in insert mode, the statusbar contains the text " "INS. If the editor is in overwrite mode, the statusbar " @@ -496,17 +496,17 @@ msgstr "" "如果编辑器处于覆盖模式,状态栏显示 覆盖。按 " "Insert 键切换两种编辑模式。" -#: C/gedit.xml:307(term) +#: C/pluma.xml:307(term) msgid "Side Pane" msgstr "侧栏" -#: C/gedit.xml:309(para) +#: C/pluma.xml:309(para) msgid "" "The side pane displays a list of open documents, and other information " "depending on which plugins are enabled." msgstr "侧栏中显示打开文档的列表,其他信息取决于您启用了哪些插件。" -#: C/gedit.xml:310(para) +#: C/pluma.xml:310(para) msgid "" "By default the side pane is not shown. To show it, choose " "ViewSide Pane查看侧边栏。" -#: C/gedit.xml:313(term) +#: C/pluma.xml:313(term) msgid "Bottom Pane" msgstr "底部面板" -#: C/gedit.xml:315(para) +#: C/pluma.xml:315(para) msgid "" "The bottom pane is used by programming tools such as the Python " "Console plugin to display output." @@ -527,7 +527,7 @@ msgstr "" "底部面板用于一些编程工具,像 Python 控制台 插件," "在这儿显示输出。" -#: C/gedit.xml:316(para) +#: C/pluma.xml:316(para) msgid "" "By default the bottom pane is not shown. To show it, choose " "ViewBottom Pane查看底部栏。" -#: C/gedit.xml:320(para) +#: C/pluma.xml:320(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"当在 gedit 窗口中右击时,应用程序将会显示一个弹出" +"当在 pluma 窗口中右击时,应用程序将会显示一个弹出" "菜单。该弹出菜单包含最常用的文本编辑命令。" -#: C/gedit.xml:322(para) +#: C/pluma.xml:322(para) msgid "" -"Like other MATE applications, actions in gedit " +"Like other MATE applications, actions in pluma " "can be performed in several ways: with the menu, with the toolbar, or with " "shortcut keys. Shortcuts keys common to all applications are listed in the " "User Guide." msgstr "" -"像其它的 MATE 应用程序一样,运行 gedit 的方法有好" +"像其它的 MATE 应用程序一样,运行 pluma 的方法有好" "几种:可以用菜单,可以用工具栏,或者用快捷键。所有程序通用的快捷键列在 " "用户指南 中。" -#: C/gedit.xml:327(title) -msgid "Running gedit from a Command Line" -msgstr "从命令行运行 gedit" +#: C/pluma.xml:327(title) +msgid "Running pluma from a Command Line" +msgstr "从命令行运行 pluma" -#: C/gedit.xml:328(para) +#: C/pluma.xml:328(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"您可以从命令行运行 gedit,并且打开一个文件或多个文" +"您可以从命令行运行 pluma,并且打开一个文件或多个文" "件。要从命令行打开多个文件,请键入下面的命令,然后按下回车" "键:" -#: C/gedit.xml:329(replaceable) +#: C/pluma.xml:329(replaceable) msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" -#: C/gedit.xml:329(command) -msgid "gedit " -msgstr "gedit " +#: C/pluma.xml:329(command) +msgid "pluma " +msgstr "pluma " -#: C/gedit.xml:330(para) +#: C/pluma.xml:330(para) msgid "Alternatively, you can specify a URI instead of a filename." msgstr "另外,您也可以指定一个 URI 作为文件名。" -#: C/gedit.xml:331(para) +#: C/pluma.xml:331(para) msgid "" -"For more information on how to run gedit from a " -"command line, see the unix manual page for gedit, gedit1pluma from a " +"command line, see the unix manual page for pluma, pluma1." msgstr "" -"更多运行 gedit 的相关信息,请参阅: geditpluma 的相关信息,请参阅: pluma1。" -#: C/gedit.xml:336(title) +#: C/pluma.xml:336(title) msgid "Working with Files" msgstr "文件操作" -#: C/gedit.xml:340(title) +#: C/pluma.xml:340(title) msgid "Creating a New Document" msgstr "创建新文档" -#: C/gedit.xml:341(para) +#: C/pluma.xml:341(para) msgid "" "To create a new document, choose FileNew. The application " -"displays a new blank document in the gedit window." +"displays a new blank document in the pluma window." msgstr "" "要创建一个新文件,点菜单 文件新建" -"。在 gedit 窗口中,就会" +"。在 pluma 窗口中,就会" "显示一个新的空白文档。" -#: C/gedit.xml:346(title) C/gedit.xml:1597(title) +#: C/pluma.xml:346(title) C/pluma.xml:1597(title) msgid "Opening a File" msgstr "打开文件" -#: C/gedit.xml:347(para) +#: C/pluma.xml:347(para) msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click Open. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "要打开文件,点菜单 文件打开,出来一个 打开文件 对话框。选" "择要打开的文件,然后点 确定。该文件就会显示在 " -"gedit 窗口中。" +"pluma 窗口中。" -#: C/gedit.xml:349(phrase) +#: C/pluma.xml:349(phrase) msgid "Shows Recent Files menu icon." msgstr "显示最近访问过的文件菜单图标。" -#: C/gedit.xml:349(para) +#: C/pluma.xml:349(para) msgid "" "The application records the paths and filenames of the five most recent " "files that you edited and displays the files as menu items on the " @@ -645,25 +645,25 @@ msgstr "" "guimenu> 菜单中。您也可以点击工具栏上的 图标来" "显示最近访问过的文件的列表。" -#: C/gedit.xml:351(para) +#: C/pluma.xml:351(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application adds a tab for each open file to the window. For more on this " -"see ." +"see ." msgstr "" -"您可以在 gedit 中打开多个文件。程序将为每个打开的" -"程序在窗口里增加一个标签。更多相关信息,请参阅:pluma 中打开多个文件。程序将为每个打开的" +"程序在窗口里增加一个标签。更多相关信息,请参阅:。" -#: C/gedit.xml:357(title) +#: C/pluma.xml:357(title) msgid "Saving a File" msgstr "保存文件" -#: C/gedit.xml:358(para) +#: C/pluma.xml:358(para) msgid "You can save files in the following ways:" msgstr "您可以使用以下几种方法来保存文件:" -#: C/gedit.xml:360(para) +#: C/pluma.xml:360(para) msgid "" "To save changes to an existing file, choose FileSave." @@ -671,7 +671,7 @@ msgstr "" "要保存一个已经存在的文件,点菜单 文件保存 命令。" -#: C/gedit.xml:362(para) +#: C/pluma.xml:362(para) msgid "" "To save a new file or to save an existing file under a new filename, choose " "FileSave As另存为。在 另" "存为 对话框中输入文件名,然后点击 保存。" -#: C/gedit.xml:364(para) +#: C/pluma.xml:364(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"如果要保存 gedit 中当前打开的所有文件,请选择 " +"如果要保存 pluma 中当前打开的所有文件,请选择 " "文档全部保存。" -#: C/gedit.xml:367(para) +#: C/pluma.xml:367(para) msgid "" -"To close all of the files that are currently open in geditpluma, choose DocumentsClose All." msgstr "" -"如果要关闭 gedit 中打开的所有文件,点菜单 " +"如果要关闭 pluma 中打开的所有文件,点菜单 " "文档全部关闭。" -#: C/gedit.xml:372(title) +#: C/pluma.xml:372(title) msgid "Opening a File from a URI" msgstr "从 URI 打开文件" -#: C/gedit.xml:373(para) +#: C/pluma.xml:373(para) msgid "" "To open a file from a Uniform Resource Identifier (URI), perform the " "following steps:" msgstr "要通过统一资源标识符 (URI) 打开文件,请执行以下步骤:" -#: C/gedit.xml:376(para) +#: C/pluma.xml:376(para) msgid "" "Choose FileOpen Location to display the Open Location " @@ -721,21 +721,21 @@ msgstr "" "点菜单 文件打开位置,出来一个 打开位置 对话框。" -#: C/gedit.xml:379(para) +#: C/pluma.xml:379(para) msgid "Enter the URI of the file that you want to open." msgstr "输入您想打开文件的 URI。" -#: C/gedit.xml:382(para) +#: C/pluma.xml:382(para) msgid "" "Use the Character coding drop-down list to select the " "appropriate character coding." msgstr "在 字符编码 下拉列表中,可以选择适当的字符编码。" -#: C/gedit.xml:385(para) +#: C/pluma.xml:385(para) msgid "Click Open." msgstr "点 打开。" -#: C/gedit.xml:388(para) +#: C/pluma.xml:388(para) msgid "" "Valid types of URI include http:, ftp:, file:, and all of the " @@ -745,7 +745,7 @@ msgstr "" "ftp:file: 和所有 mate-vfs 支持的格式。" -#: C/gedit.xml:389(para) +#: C/pluma.xml:389(para) msgid "" "Files from some types of URI are opened as read-only, and any changes you " "make must be saved to a different location. HTTP only allows files to be " @@ -756,62 +756,62 @@ msgstr "" "取文件。从 FTP 上打开的文件一般也是只读,因为并不是所有 FTP 服务器能够处理远" "程保存文件。" -#: C/gedit.xml:390(para) +#: C/pluma.xml:390(para) msgid "" "Saving to FTP servers can be enabled with Configuration Editor, " -"setting the key /apps/gedit-2/preferences/editor/save/" +"setting the key /apps/pluma-2/preferences/editor/save/" "writable_vfs_schemes, but this may cause errors." msgstr "" "保存到远程服务器,可以通过 配置编辑器 来启用,设置 /" -"apps/gedit-2/preferences/editor/save/writable_vfs_schemes,但这" +"apps/pluma-2/preferences/editor/save/writable_vfs_schemes,但这" "可能导致错误发生。" -#: C/gedit.xml:395(title) +#: C/pluma.xml:395(title) msgid "Working With Tabs" msgstr "标签操作" -#: C/gedit.xml:397(para) +#: C/pluma.xml:397(para) msgid "" -"When more than one file is open, gedit shows a " +"When more than one file is open, pluma shows a " "tab for each document above the display area. To " "switch to another document, click on its tab." msgstr "" -"当打开多个文件时,gedit 在上边为每个文档显示一个 " +"当打开多个文件时,pluma 在上边为每个文档显示一个 " "tab,要切换文档,点击标签即可。" -#: C/gedit.xml:398(para) +#: C/pluma.xml:398(para) msgid "" -"To move a document to another gedit window, drag " +"To move a document to another pluma window, drag " "the tab corresponding to the file to the window you want to move it to." msgstr "" -"要移动文档到另外的 gedit 窗口,只要把这个文档标签" +"要移动文档到另外的 pluma 窗口,只要把这个文档标签" "拖过去即可。" -#: C/gedit.xml:399(para) +#: C/pluma.xml:399(para) msgid "" -"To move a document to a new gedit window, either " +"To move a document to a new pluma window, either " "drag its tab to the desktop, or choose DocumentsMove to New Window." msgstr "" -"要移动一个文档到新的 gedit 窗口,或者拖动标签到桌" +"要移动一个文档到新的 pluma 窗口,或者拖动标签到桌" "面上,也可以点菜单 文档移动到新窗" "口。" -#: C/gedit.xml:405(title) +#: C/pluma.xml:405(title) msgid "Working with Text" msgstr "文本操作" -#: C/gedit.xml:409(title) +#: C/pluma.xml:409(title) msgid "Editing Text" msgstr "编辑文本" -#: C/gedit.xml:410(para) +#: C/pluma.xml:410(para) msgid "You can edit the text of a file in the following ways:" msgstr "您可以通过以下方法来编辑文件中的文本:" -#: C/gedit.xml:412(para) +#: C/pluma.xml:412(para) msgid "" "Type new text from the keyboard. The blinking insertion cursor marks the point where new text appears. To change this, use the " @@ -820,7 +820,7 @@ msgstr "" "通过键盘来输入文字。光标插入点 指示新的文本将输入到这" "里。要插入到别处,可以用方向键或鼠标点击来改变光标插入点位置。" -#: C/gedit.xml:414(para) +#: C/pluma.xml:414(para) msgid "" "To copy the selected text to the clipboard, choose " "EditCopy编辑复制。" -#: C/gedit.xml:416(para) +#: C/pluma.xml:416(para) msgid "" "To delete the selected text from the file and move the selected text to the " "clipboard, choose EditCut编辑剪切。" -#: C/gedit.xml:418(para) +#: C/pluma.xml:418(para) msgid "" "To permanently delete the selected text from the file, choose " "EditDelete编辑删除。" -#: C/gedit.xml:420(para) +#: C/pluma.xml:420(para) msgid "" "To insert the contents of the clipboard at the cursor position, choose " "EditPaste. You must cut or copy text before you can paste text into the " -"file, either from gedit or another application." +"file, either from pluma or another application." msgstr "" "要在光标位置插入剪贴板中的内容,点菜单 编辑粘贴。您必须要在gedit 或其他" +"guimenu>粘贴。您必须要在pluma 或其他" "程序里,先剪切或者复制文本,然后才能粘贴文本。" -#: C/gedit.xml:422(para) +#: C/pluma.xml:422(para) msgid "" "To select all of the text in a file, choose EditSelect All." @@ -866,11 +866,11 @@ msgstr "" "要选择文件中的所有文本,点菜单 编辑全部选定。" -#: C/gedit.xml:428(title) +#: C/pluma.xml:428(title) msgid "Undoing and Redoing Changes" msgstr "撤销和重做" -#: C/gedit.xml:429(para) +#: C/pluma.xml:429(para) msgid "" "To undo a change you have made, choose EditUndo. To reverse this " @@ -881,30 +881,30 @@ msgstr "" "。要恢复一个操作,点菜单 编辑" "重做。" -#: C/gedit.xml:434(title) +#: C/pluma.xml:434(title) msgid "Finding and Replacing" msgstr "查找和替换文本" -#: C/gedit.xml:436(para) +#: C/pluma.xml:436(para) msgid "" -"In gedit, there are two ways of searching for " +"In pluma, there are two ways of searching for " "text. You can use the Find dialog to search for a " "specific piece of text, or Incremental Search to " "highlight matching text as you type it." msgstr "" -"在 gedit 中,有两种方法搜索文本。您可以使用 " +"在 pluma 中,有两种方法搜索文本。您可以使用 " "查找 对话框来搜索指定的一段文字,也可以使用 增" "量搜索 高亮匹配您输入的文本。" -#: C/gedit.xml:441(title) +#: C/pluma.xml:441(title) msgid "Finding Text" msgstr "查找文本" -#: C/gedit.xml:442(para) +#: C/pluma.xml:442(para) msgid "To search a file for a string of text, perform the following steps:" msgstr "要在文件中搜索文本字符串,请按以下步骤操作:" -#: C/gedit.xml:444(para) +#: C/pluma.xml:444(para) msgid "" "Choose SearchFind to display the Find dialog." @@ -912,28 +912,28 @@ msgstr "" "点菜单 搜索查找,显示 查找 对话框。" -#: C/gedit.xml:446(para) +#: C/pluma.xml:446(para) msgid "" "Type the string that you want to find in the Search for " "field. You can include special characters such as a new line or tab: see " -"." +"." msgstr "" "在 搜索框 里输入您要查找的字符串,可以包括换行符和制表" -"符,请参阅:。" +"符,请参阅:。" -#: C/gedit.xml:448(para) +#: C/pluma.xml:448(para) msgid "" "Click Find to search the file for the first " "occurrence of the string after your current cursor position. If " -"gedit finds the string, the application selects " +"pluma finds the string, the application selects " "first occurrence of the string. Other occurrences of the string are " "highlighted." msgstr "" "点击 查找 就可以从当前位置开始搜索字符串。如果 " -"gedit 找到了该字符串,就会选中第一个匹配项,其他的" +"pluma 找到了该字符串,就会选中第一个匹配项,其他的" "匹配项则会高亮显示。" -#: C/gedit.xml:450(para) +#: C/pluma.xml:450(para) msgid "" "To find the next occurrence of the string, click Find " "or choose SearchFind Next。要查找前一个匹配项,点菜单 搜索查找上一个。" -#: C/gedit.xml:453(para) +#: C/pluma.xml:453(para) msgid "" "After you have closed the Find dialog, you can still " "move the selection to other occurrences of the text by choosing " @@ -959,7 +959,7 @@ msgstr "" "搜索查找上一个 ,来搜索另外的匹配项。" -#: C/gedit.xml:454(para) +#: C/pluma.xml:454(para) msgid "" "To remove the highlighting from the text, choose " "SearchClear Highlight搜索清" "除高亮显示。" -#: C/gedit.xml:458(title) +#: C/pluma.xml:458(title) msgid "Incremental Search" msgstr "增量搜索" -#: C/gedit.xml:460(para) +#: C/pluma.xml:460(para) msgid "" "Incremental search highlights matching text in the document as you type it " "letter by letter. (This is similar to the search feature in several web " @@ -981,7 +981,7 @@ msgstr "" "增量搜索会高亮匹配文档中,您要查找的文本。(这个特性类似于一些网页浏览器中的搜" "索功能。)" -#: C/gedit.xml:461(para) +#: C/pluma.xml:461(para) msgid "" "To start an incremental search, choose SearchIncremental Search. The " @@ -990,13 +990,13 @@ msgstr "" "要开始一个增量搜索,点菜单 搜索增" "量搜索。在工作区顶部出现一个搜索框。" -#: C/gedit.xml:462(para) +#: C/pluma.xml:462(para) msgid "" "Begin typing, and text that matches will be highlighted in the document. The " "first instance after the cursor position is also selected." msgstr "输入后,文档中匹配的文本都会高亮显示,第一个匹配项也会被选中。" -#: C/gedit.xml:463(para) +#: C/pluma.xml:463(para) msgid "" "To advance the selection to the next match while keeping the incremental " "search box open, press CtrlG。按 CtrlShiftG 回到前一个匹配项。" -#: C/gedit.xml:464(para) +#: C/pluma.xml:464(para) msgid "" "You can also use the up and down arrow keys or the mouse wheel to move the " "selection between matches." msgstr "您也可以使用上下方向键或鼠标滚轮,在各个匹配项之前切换。" -#: C/gedit.xml:469(title) +#: C/pluma.xml:469(title) msgid "Replacing Text" msgstr "替换文本" -#: C/gedit.xml:471(para) +#: C/pluma.xml:471(para) msgid "" "To search a file for a string, and replace the string with an alternative " "string, perform the following steps:" msgstr "" "要在文件中搜索一个字符串,并用另一个字符串替换该字符串,请执行以下步骤:" -#: C/gedit.xml:473(para) +#: C/pluma.xml:473(para) msgid "" "Choose SearchReplace to display the Replace dialog." @@ -1032,46 +1032,46 @@ msgstr "" "选择“搜索”“替换”,显示“替换”对话框。" -#: C/gedit.xml:475(para) +#: C/pluma.xml:475(para) msgid "" "Type the string that you want to find, in the Search for field. You can include special characters such as a new line or " -"tab: see ." +"tab: see ." msgstr "" "在 搜索框 中输入您想查找的字符。还可以输入特殊字符,像换" -"行符或制表符,请参阅: 。" +"行符或制表符,请参阅: 。" -#: C/gedit.xml:476(para) +#: C/pluma.xml:476(para) msgid "" "Type the string that you want to use to replace the string that you find, in " "the Replace with field." msgstr "" "在 替换为 文本框中输入用来替换查找到的字符串的字符串。" -#: C/gedit.xml:480(para) +#: C/pluma.xml:480(para) msgid "" "To examine each occurrence of the string before replacing it, click " -"Find. If gedit finds the " +"Find. If pluma finds the " "string, the application selects the string. Click Replace to replace the selected occurrence of the string. To find the " "next occurrence of the string, click Find again." msgstr "" "在替换之前如果想检查一下,点击 查找,如果 " -"gedit 找到对应的字符,将会选中它,然后点 " +"pluma 找到对应的字符,将会选中它,然后点 " "替换,就可以替换找到的字符。要查找下一个匹配项,继续" "点 查找。" -#: C/gedit.xml:481(para) +#: C/pluma.xml:481(para) msgid "" "To replace all occurrences of the string throughout the document, click " "Replace All." msgstr "要替换文档中的所有匹配项,点 替换全部。" -#: C/gedit.xml:486(title) +#: C/pluma.xml:486(title) msgid "Find and Replace Options" msgstr "查找和替换选项" -#: C/gedit.xml:487(para) +#: C/pluma.xml:487(para) msgid "" "The Find dialog and the Replace " "dialog both have the following options:" @@ -1079,7 +1079,7 @@ msgstr "" "查找 对话框和 替换 对话框,都有下面" "的这些选项:" -#: C/gedit.xml:489(para) +#: C/pluma.xml:489(para) msgid "" "Select the Match case option to only find occurrences " "of the string that match the case of the text that you type. For example, " @@ -1089,7 +1089,7 @@ msgstr "" "选中 区分大小写 选项,仅查找完全匹配大小写的字符串。例" "如,选中 区分大小写, “TEXT”和“text”是不一样的。" -#: C/gedit.xml:491(para) +#: C/pluma.xml:491(para) msgid "" "Select the Match entire word only option to only find " "occurrences of the string that match the entire words of the text that you " @@ -1100,13 +1100,13 @@ msgstr "" "词相同的字符串。例如,选中了 匹配整个单词 选" "项,“text”和“texture”是不匹配的。" -#: C/gedit.xml:493(para) +#: C/pluma.xml:493(para) msgid "" "Select the Search backwards option to search backwards " "towards the beginning of the document." msgstr "选中 反向搜索,就会向着文件开头的方向搜索。" -#: C/gedit.xml:495(para) +#: C/pluma.xml:495(para) msgid "" "Select the Wrap around option to search to one end of " "the document and then continue the search from the other end of the file." @@ -1114,45 +1114,45 @@ msgstr "" "选中 回到头部继续搜索 选项,当搜索到文件尾以后,接着从文" "件开头继续搜索。" -#: C/gedit.xml:502(title) +#: C/pluma.xml:502(title) msgid "Special Characters" msgstr "特殊的字符" -#: C/gedit.xml:503(para) +#: C/pluma.xml:503(para) msgid "" "You can include the following escape sequences in the text to find or " "replace to represent special characters:" msgstr "您可以在查找或替换文本中,包括下列转义字符:" -#: C/gedit.xml:506(literal) +#: C/pluma.xml:506(literal) msgid "\\n" msgstr "\\n" -#: C/gedit.xml:508(para) +#: C/pluma.xml:508(para) msgid "Specifies a new line." msgstr "插入一个新行。" -#: C/gedit.xml:512(literal) +#: C/pluma.xml:512(literal) msgid "\\t" msgstr "\\t" -#: C/gedit.xml:514(para) +#: C/pluma.xml:514(para) msgid "Specifies a tab character." msgstr "插入一个 Tab 制表符。" -#: C/gedit.xml:518(literal) +#: C/pluma.xml:518(literal) msgid "\\r" msgstr "\\r" -#: C/gedit.xml:520(para) +#: C/pluma.xml:520(para) msgid "Specifies a carriage return." msgstr "插入一个回车符" -#: C/gedit.xml:524(literal) +#: C/pluma.xml:524(literal) msgid "\\\\" msgstr "\\\\" -#: C/gedit.xml:526(para) +#: C/pluma.xml:526(para) msgid "" "The backslash character itself must be escaped if it is being searched for. " "For example, if you are looking for the \"\\n\" literal, " @@ -1164,11 +1164,11 @@ msgstr "" "\" ,您需要在 搜索框 里输入 \"\\\\n\"。或者如果您要查找" "连续的反斜杠,您必须输入两个反斜杠来搜索它。" -#: C/gedit.xml:538(title) +#: C/pluma.xml:538(title) msgid "Positioning the Cursor on a Specific Line" msgstr "将光标定位到指定的行" -#: C/gedit.xml:540(para) +#: C/pluma.xml:540(para) msgid "" "To position the cursor on a specific line in the current file, choose " "SearchGo to Line转到行。在工作区顶部出现一个" "行号文本框。" -#: C/gedit.xml:541(para) +#: C/pluma.xml:541(para) msgid "" "Begin typing the number of the line that you want to move the cursor to and " "the document will scroll to the specified line." msgstr "输入您想转到的行,文档会自动跳转到这一行显示。" -#: C/gedit.xml:542(para) +#: C/pluma.xml:542(para) msgid "" "To dismiss the box and move the cursor to the specified line, press " "Return." msgstr "要去掉这个文本框,并将光标移到指定行,按一下 回车键。" -#: C/gedit.xml:548(title) +#: C/pluma.xml:548(title) msgid "Printing" msgstr "打印" -#: C/gedit.xml:552(title) +#: C/pluma.xml:552(title) msgid "Setting the Page Options" msgstr "设置页面选项" -#: C/gedit.xml:554(para) +#: C/pluma.xml:554(para) msgid "" "To set the page options, choose FilePage Setup to display the " @@ -1208,49 +1208,49 @@ msgstr "" "置,出来一个 页面设置 对话" "框。" -#: C/gedit.xml:556(para) +#: C/pluma.xml:556(para) msgid "" "The Page Setup dialog enables you to specify the " "following print options:" msgstr "页面设置 对话框允许您设定下面这些打印选项:" -#: C/gedit.xml:559(title) +#: C/pluma.xml:559(title) msgid "General Tabbed Section" msgstr "常规标签" -#: C/gedit.xml:561(guilabel) +#: C/pluma.xml:561(guilabel) msgid "Print syntax highlighting" msgstr "打印出高亮格式" -#: C/gedit.xml:563(para) +#: C/pluma.xml:563(para) msgid "" "Select this option to print syntax highlighting. For more information about " -"syntax highlighting, see ." +"syntax highlighting, see ." msgstr "" -"选中此项,打印高亮语法格式。更多相关信息,请参阅:。" -#: C/gedit.xml:566(guilabel) +#: C/pluma.xml:566(guilabel) msgid "Print page headers" msgstr "打印页眉" -#: C/gedit.xml:568(para) +#: C/pluma.xml:568(para) msgid "" "Select this option to include a header on each page that you print. You " "cannot configure the header." msgstr "如果选择此选项,系统会在打印时打印每页的页眉。您不能配置页眉。" -#: C/gedit.xml:571(guilabel) C/gedit.xml:1183(guilabel) +#: C/pluma.xml:571(guilabel) C/pluma.xml:1183(guilabel) msgid "Line Numbers" msgstr "行号" -#: C/gedit.xml:574(para) +#: C/pluma.xml:574(para) msgid "" "Select the Print line numbers option to include line " "numbers when you print a file." msgstr "选中 打印行号 选项,打印文件时也包括行号。" -#: C/gedit.xml:575(para) +#: C/pluma.xml:575(para) msgid "" "Use the Number every ... lines spin box to specify how " "often to print the line numbers, for example every 5 lines, every 10 lines, " @@ -1259,11 +1259,11 @@ msgstr "" "在 每几行打印一次行 微调按钮框中,设定多久打印一次行号," "例如每 5 行打印一次,每 10 行 打印一次,等等。" -#: C/gedit.xml:578(guilabel) C/gedit.xml:1176(guilabel) C/gedit.xml:1693(para) +#: C/pluma.xml:578(guilabel) C/pluma.xml:1176(guilabel) C/pluma.xml:1693(para) msgid "Text Wrapping" msgstr "文本换行" -#: C/gedit.xml:580(para) +#: C/pluma.xml:580(para) msgid "" "Select the Enable text wrapping option to wrap text " "onto the next line, at a character level, when you print a file. The " @@ -1272,7 +1272,7 @@ msgstr "" "选中 允许文本换行,当您打印一个文件时,将自动换行文本字" "符。程序在统计行数时,将折行还是算作一行。" -#: C/gedit.xml:582(para) +#: C/pluma.xml:582(para) msgid "" "Select the Do not split words over two lines option to " "wrap text onto the next line, at a word level, when you print a file." @@ -1280,76 +1280,76 @@ msgstr "" "选中 不将一个单词拆在两行 选项,会将整个单词换到下一行," "当您打印文件时,将自动换行文本单词。" -#: C/gedit.xml:590(title) +#: C/pluma.xml:590(title) msgid "Fonts" msgstr "字体" -#: C/gedit.xml:592(guilabel) +#: C/pluma.xml:592(guilabel) msgid "Body" msgstr "正文" -#: C/gedit.xml:594(para) +#: C/pluma.xml:594(para) msgid "" "Click on this button to select the font to use to print the body text of a " "file." msgstr "单击此按钮可以选择打印文件正文文本所用的字体。" -#: C/gedit.xml:597(guilabel) +#: C/pluma.xml:597(guilabel) msgid "Line numbers" msgstr "行号" -#: C/gedit.xml:600(para) +#: C/pluma.xml:600(para) msgid "Click on this button to select the font to use to print line numbers." msgstr "单击此按钮可以选择打印行号所用的字体。" -#: C/gedit.xml:603(guilabel) +#: C/pluma.xml:603(guilabel) msgid "Headers and footers" msgstr "页眉和页脚" -#: C/gedit.xml:605(para) +#: C/pluma.xml:605(para) msgid "" "Click on this button to select the font to use to print the headers and " "footers in a file." msgstr "单击此按钮可以选择打印文件页眉、页脚所用的字体。" -#: C/gedit.xml:609(para) +#: C/pluma.xml:609(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit, click Restore Default Fontspluma, click Restore Default Fonts." msgstr "" -"要在 gedit 中,将打印字体恢复到默认字体,点击 " +"要在 pluma 中,将打印字体恢复到默认字体,点击 " "恢复为默认字体。" -#: C/gedit.xml:616(title) +#: C/pluma.xml:616(title) msgid "Printing a Document" msgstr "打印文档" -#: C/gedit.xml:617(para) +#: C/pluma.xml:617(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" -msgstr "您可以使用 gedit 来执行以下打印操作:" +msgstr "您可以使用 pluma 来执行以下打印操作:" -#: C/gedit.xml:619(para) +#: C/pluma.xml:619(para) msgid "Print a document to a printer." msgstr "用打印机来打印文档。" -#: C/gedit.xml:621(para) +#: C/pluma.xml:621(para) msgid "Print the output of the print command to a file." msgstr "将打印命令的输出打印到文件中。" -#: C/gedit.xml:624(para) +#: C/pluma.xml:624(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"如果是打印到文件中,gedit 会将该文件的输出发送到一" +"如果是打印到文件中,pluma 会将该文件的输出发送到一" "个印前格式的文件中。最常用的印前格式是 PostScript 格式和可移植文档格式 " "(PDF)。" -#: C/gedit.xml:626(para) +#: C/pluma.xml:626(para) msgid "" "To preview the pages that you want to print, choose " "FilePrint Preview文件打" "印预览。" -#: C/gedit.xml:628(para) +#: C/pluma.xml:628(para) msgid "" "To print the current file to a printer or a file, choose " "FilePrint打印,显示 打印 对话框。" -#: C/gedit.xml:630(para) +#: C/pluma.xml:630(para) msgid "" "The Print dialog enables you to specify the following " "print options:" msgstr "打印 对话框允许您指定以下打印选项:" -#: C/gedit.xml:633(title) +#: C/pluma.xml:633(title) msgid "Job Tabbed Section" msgstr "任务区段" -#: C/gedit.xml:635(guilabel) +#: C/pluma.xml:635(guilabel) msgid "Print range" msgstr "打印范围" -#: C/gedit.xml:637(para) +#: C/pluma.xml:637(para) msgid "" "Select one of the following options to determine how many pages to print:" msgstr "选择以下一个选项,以确定要打印的页数:" -#: C/gedit.xml:640(guilabel) +#: C/pluma.xml:640(guilabel) msgid "All" msgstr "全部" -#: C/gedit.xml:641(para) +#: C/pluma.xml:641(para) msgid "Select this option to print all of the pages in the file." msgstr "如果选择该选项,将打印文件中的所有页。" -#: C/gedit.xml:644(guilabel) +#: C/pluma.xml:644(guilabel) msgid "Lines" msgstr "行" -#: C/gedit.xml:645(para) +#: C/pluma.xml:645(para) msgid "" "Select this option to print the specified lines only. Use the " "From and To spin boxes to specify " @@ -1408,27 +1408,27 @@ msgstr "" "选中此项,仅打印指定行。使用 微调按钮框,指定打印行的范围。" -#: C/gedit.xml:648(guilabel) +#: C/pluma.xml:648(guilabel) msgid "Selection" msgstr "选定范围" -#: C/gedit.xml:649(para) +#: C/pluma.xml:649(para) msgid "" "Select this option to print the selected text only. This option is only " "available if you select text." msgstr "如果选择该选项,将只打印选定的文本。该选项只有在选定了文本时才可用。" -#: C/gedit.xml:655(guilabel) +#: C/pluma.xml:655(guilabel) msgid "Copies" msgstr "副本" -#: C/gedit.xml:657(para) +#: C/pluma.xml:657(para) msgid "" "Use the Number of copies spin box to specify the number " "of copies of the file that you want to print." msgstr "点击 副本数 微调按钮框,指定您想打印的份数。" -#: C/gedit.xml:658(para) +#: C/pluma.xml:658(para) msgid "" "If you print multiple copies of the file, select the Collate option to collate the printed copies." @@ -1436,29 +1436,29 @@ msgstr "" "如果您要该文件的多个副本,则可以 顺序 选项中指定副本打印" "的顺序。" -#: C/gedit.xml:665(title) +#: C/pluma.xml:665(title) msgid "Printer Tabbed Section" msgstr "打印机标签段" -#: C/gedit.xml:667(guilabel) +#: C/pluma.xml:667(guilabel) msgid "Printer" msgstr "打印机" -#: C/gedit.xml:669(para) +#: C/pluma.xml:669(para) msgid "" "Use this drop-down list to select the printer to which you want to print the " "file." msgstr "点击下拉列表,选择您想要用来打印文件的打印机。" -#: C/gedit.xml:672(guilabel) +#: C/pluma.xml:672(guilabel) msgid "Settings" msgstr "设置" -#: C/gedit.xml:674(para) +#: C/pluma.xml:674(para) msgid "Use this drop-down list to select the printer settings." msgstr "点击下拉列表,设定打印机选项。" -#: C/gedit.xml:676(para) +#: C/pluma.xml:676(para) msgid "" "To configure the printer, click Configure. For " "example, you can enable or disable duplex printing, or schedule delayed " @@ -1467,24 +1467,24 @@ msgstr "" "要配置打印机,点 配置。例如,你可以启用或禁用双面打" "印,或放入打印队列中,如果打印机支持此项功能。" -#: C/gedit.xml:680(guilabel) +#: C/pluma.xml:680(guilabel) msgid "Location" msgstr "位置" -#: C/gedit.xml:682(para) +#: C/pluma.xml:682(para) msgid "" "Use this drop-down list to select one of the following print destinations:" msgstr "点击下拉列表,选择下面一个打印目标:" -#: C/gedit.xml:687(guilabel) +#: C/pluma.xml:687(guilabel) msgid "CUPS" msgstr "CUPS" -#: C/gedit.xml:689(para) +#: C/pluma.xml:689(para) msgid "Print the file to a CUPS printer." msgstr "将文件打印到 CUPS 打印机。" -#: C/gedit.xml:693(para) +#: C/pluma.xml:693(para) msgid "" "If the selected printer is a CUPS printer, CUPS is the " "only entry in this drop-down list." @@ -1492,23 +1492,23 @@ msgstr "" "如果选择的打印机是一个 CUPS 打印机,CUPS 是下拉列表中的" "唯一一项。" -#: C/gedit.xml:700(guilabel) +#: C/pluma.xml:700(guilabel) msgid "lpr" msgstr "lpr" -#: C/gedit.xml:702(para) +#: C/pluma.xml:702(para) msgid "Print the file to a printer." msgstr "将文件打印到打印机。" -#: C/gedit.xml:708(guilabel) +#: C/pluma.xml:708(guilabel) msgid "File" msgstr "文件" -#: C/gedit.xml:710(para) +#: C/pluma.xml:710(para) msgid "Print the file to a PostScript file." msgstr "将文件打印输出到一个 PostScript 文件中。" -#: C/gedit.xml:713(para) +#: C/pluma.xml:713(para) msgid "" "Click Save As to display a dialog where you specify " "the name and location of the PostScript file." @@ -1516,91 +1516,91 @@ msgstr "" "点 另存为 出来一个对话框,您可以指定 PostScript 文件保" "存的位置和文件名。" -#: C/gedit.xml:719(guilabel) +#: C/pluma.xml:719(guilabel) msgid "Custom" msgstr "自定义" -#: C/gedit.xml:721(para) +#: C/pluma.xml:721(para) msgid "Use the specified command to print the file." msgstr "使用指定的命令来打印文件。" -#: C/gedit.xml:724(para) +#: C/pluma.xml:724(para) msgid "" "Type the name of the command in the text box. Include all command-line " "arguments." msgstr "在文本框中输入命令的名称,包括所有的命令行参数。" -#: C/gedit.xml:732(guilabel) +#: C/pluma.xml:732(guilabel) msgid "State" msgstr "状态" -#: C/gedit.xml:734(para) C/gedit.xml:740(para) C/gedit.xml:746(para) -msgid "This functionality is not supported in this version of gedit." -msgstr "在这个版本的 gedit 中,不支持这个功能。" +#: C/pluma.xml:734(para) C/pluma.xml:740(para) C/pluma.xml:746(para) +msgid "This functionality is not supported in this version of pluma." +msgstr "在这个版本的 pluma 中,不支持这个功能。" -#: C/gedit.xml:738(guilabel) +#: C/pluma.xml:738(guilabel) msgid "Type" msgstr "类型" -#: C/gedit.xml:744(guilabel) +#: C/pluma.xml:744(guilabel) msgid "Comment" msgstr "注释" -#: C/gedit.xml:754(title) +#: C/pluma.xml:754(title) msgid "Paper Tabbed Section" msgstr "纸张标签段" -#: C/gedit.xml:756(guilabel) +#: C/pluma.xml:756(guilabel) msgid "Paper size" msgstr "纸张大小" -#: C/gedit.xml:758(para) +#: C/pluma.xml:758(para) msgid "" "Use this drop-down list to select the size of the paper to which you want to " "print the file." msgstr "使用此下拉列表可以选择您用来打印该文件的纸张的大小。" -#: C/gedit.xml:761(guilabel) +#: C/pluma.xml:761(guilabel) msgid "Width" msgstr "纸张宽度" -#: C/gedit.xml:763(para) +#: C/pluma.xml:763(para) msgid "" "Use this spin box to specify the width of the paper. Use the adjacent drop-" "down list to change the measurement unit." msgstr "点击微调按钮框指定纸张宽度,在旁边的下拉列表中可以更改用度量单位。" -#: C/gedit.xml:766(guilabel) +#: C/pluma.xml:766(guilabel) msgid "Height" msgstr "纸张高度" -#: C/gedit.xml:768(para) +#: C/pluma.xml:768(para) msgid "Use this spin box to specify the height of the paper." msgstr "使用此微调按钮框可以指定纸张高度。" -#: C/gedit.xml:771(guilabel) +#: C/pluma.xml:771(guilabel) msgid "Feed orientation" msgstr "送纸方向" -#: C/gedit.xml:773(para) +#: C/pluma.xml:773(para) msgid "" "Use this drop-down list to select the orientation of the paper in the " "printer." msgstr "使用此下拉列表可以选择打印机中的纸张方向。" -#: C/gedit.xml:776(guilabel) +#: C/pluma.xml:776(guilabel) msgid "Page orientation" msgstr "纸张方向" -#: C/gedit.xml:778(para) +#: C/pluma.xml:778(para) msgid "Use this drop-down list to select the page orientation." msgstr "使用此下拉列表可以选择纸张方向。" -#: C/gedit.xml:781(guilabel) +#: C/pluma.xml:781(guilabel) msgid "Layout" msgstr "布局" -#: C/gedit.xml:783(para) +#: C/pluma.xml:783(para) msgid "" "Use this drop-down list to select the page layout. A preview of each layout " "that you select is displayed in the Preview area." @@ -1608,63 +1608,63 @@ msgstr "" "使用此下拉列表可以选择纸张布局。您选择的每个布局的预览会显示在 预览" "区域中。" -#: C/gedit.xml:786(guilabel) +#: C/pluma.xml:786(guilabel) msgid "Paper tray" msgstr "纸盘" -#: C/gedit.xml:788(para) +#: C/pluma.xml:788(para) msgid "Use this drop-down list to select the paper tray." msgstr "点下拉列表,选择纸盘。" -#: C/gedit.xml:799(title) +#: C/pluma.xml:799(title) msgid "Programming Features" msgstr "程序特性" -#: C/gedit.xml:801(para) +#: C/pluma.xml:801(para) msgid "" -"Several of gedit's features for programming are " +"Several of pluma's features for programming are " "provided with plugins. For example, the Tag List plugin provides a list of " -"commonly-used tags for different markup languages: see ." msgstr "" -"gedit 的一些特性由插件提供。例如,标记列表插件提供" -"一个不同标记语言的常用标记列表:请参阅 pluma 的一些特性由插件提供。例如,标记列表插件提供" +"一个不同标记语言的常用标记列表:请参阅 。" -#: C/gedit.xml:805(title) +#: C/pluma.xml:805(title) msgid "Syntax Highlighting" msgstr "高亮语法格式" -#: C/gedit.xml:806(para) +#: C/pluma.xml:806(para) msgid "" "Syntax highlighting makes source code easier to read by showing different " "parts of the text in different colors." msgstr "高亮语法格式,将不同部分文本显示不同颜色,使得源代码更容易阅读。" -#: C/gedit.xml:808(para) +#: C/pluma.xml:808(para) msgid "" -"gedit chooses an appropriate syntax highlighting " +"pluma chooses an appropriate syntax highlighting " "mode based on a document's type. To override the syntax highlighting mode, " "choose ViewHighlight Mode, then choose one of the following menu items:" msgstr "" -"gedit 针对文本的类型,选择一个合适的高亮语法模式。" +"pluma 针对文本的类型,选择一个合适的高亮语法模式。" "要替换高亮语法模式,点菜单 查看高" "亮语法模式,然后选择下面的一种。" -#: C/gedit.xml:811(guimenuitem) +#: C/pluma.xml:811(guimenuitem) msgid "Normal" msgstr "普通" -#: C/gedit.xml:813(para) +#: C/pluma.xml:813(para) msgid "Do not display any syntax highlighting." msgstr "不显示高亮语法格式" -#: C/gedit.xml:817(guisubmenu) +#: C/pluma.xml:817(guisubmenu) msgid "Sources" msgstr "源代码" -#: C/gedit.xml:819(para) +#: C/pluma.xml:819(para) msgid "" "Display syntax highlighting to edit source code. Use the " "Sources submenu to select the source code type." @@ -1672,11 +1672,11 @@ msgstr "" "显示编辑源代码的高亮语法格式。在 源代码 子菜单中,再" "选择源代码类型。" -#: C/gedit.xml:823(guisubmenu) +#: C/pluma.xml:823(guisubmenu) msgid "Markup" msgstr "标记语言" -#: C/gedit.xml:825(para) +#: C/pluma.xml:825(para) msgid "" "Display syntax highlighting to edit markup code. Use the Markup submenu to select the markup code type." @@ -1684,11 +1684,11 @@ msgstr "" "显示标记语言的高亮语法格式。在 guisubmenu>标记语言 子菜单中选择" "一种标记语言类型。" -#: C/gedit.xml:829(guisubmenu) +#: C/pluma.xml:829(guisubmenu) msgid "Scripts" msgstr "脚本" -#: C/gedit.xml:831(para) +#: C/pluma.xml:831(para) msgid "" "Display syntax highlighting to edit script code. Use the " "Scripts submenu to select the script code type." @@ -1696,11 +1696,11 @@ msgstr "" "显示编辑脚本语言的高亮语法格式。在 脚本语言 子菜单" "中,选择一种脚本语言类型。" -#: C/gedit.xml:835(guisubmenu) +#: C/pluma.xml:835(guisubmenu) msgid "Others" msgstr "其他" -#: C/gedit.xml:837(para) +#: C/pluma.xml:837(para) msgid "" "Display syntax highlighting to edit other types of code. Use the " "Others submenu to select the code type." @@ -1708,30 +1708,30 @@ msgstr "" "显示编辑其他代码的高亮语法格式。在 其他 子菜单中选择" "一种代码类型。" -#: C/gedit.xml:845(title) +#: C/pluma.xml:845(title) msgid "Piping the Output of a Command to a File" msgstr "通过管道命令输出到文件" -#: C/gedit.xml:846(para) +#: C/pluma.xml:846(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"您可以使用 gedit 将命令的输出输送到文本文件中。例" +"您可以使用 pluma 将命令的输出输送到文本文件中。例" "如,要将 ls 命令的输出输送到一个文本文件中,输入 " -"ls | gedit,然后按 回车键。" +"ls | pluma,然后按 回车键。" -#: C/gedit.xml:847(para) +#: C/pluma.xml:847(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -"ls 命令的输出就会显示在 gedit " +"ls 命令的输出就会显示在 pluma " "窗口的一个新文件中。" -#: C/gedit.xml:848(para) +#: C/pluma.xml:848(para) msgid "" "Alternatively, you can use the External tools " "plugin to pipe command output to the current file." @@ -1739,20 +1739,20 @@ msgstr "" "另外,您也可以使用外部工具 插件,把命令输出到当前" "文件。" -#: C/gedit.xml:854(title) +#: C/pluma.xml:854(title) msgid "Shortcut Keys" msgstr "快捷键" -#: C/gedit.xml:855(para) +#: C/pluma.xml:855(para) msgid "" "Use shortcut keys to perform common tasks more quickly than with the mouse " -"and menus. The following tables list all of geditpluma's shortcut keys." msgstr "" -"使用快捷键执行常用任务,比用鼠标和菜单要快。下表列出了 geditpluma 的常用快捷键。" -#: C/gedit.xml:856(para) +#: C/pluma.xml:856(para) msgid "" "For more on shortcut keys, see the Desktop User Guide." @@ -1761,418 +1761,418 @@ msgstr "" "skills\">桌面用户指南。" #. ============= Tabs ======================== -#: C/gedit.xml:859(bridgehead) C/gedit.xml:1215(guilabel) +#: C/pluma.xml:859(bridgehead) C/pluma.xml:1215(guilabel) msgid "Tabs" msgstr "制表符" -#: C/gedit.xml:860(para) +#: C/pluma.xml:860(para) msgid "Shortcuts for tabs:" msgstr "标签快捷键:" -#: C/gedit.xml:868(para) C/gedit.xml:912(para) C/gedit.xml:968(para) -#: C/gedit.xml:1024(para) C/gedit.xml:1052(para) C/gedit.xml:1099(para) -#: C/gedit.xml:1142(para) +#: C/pluma.xml:868(para) C/pluma.xml:912(para) C/pluma.xml:968(para) +#: C/pluma.xml:1024(para) C/pluma.xml:1052(para) C/pluma.xml:1099(para) +#: C/pluma.xml:1142(para) msgid "Shortcut Key" msgstr "快捷键" -#: C/gedit.xml:870(para) C/gedit.xml:914(para) C/gedit.xml:970(para) -#: C/gedit.xml:1026(para) C/gedit.xml:1054(para) C/gedit.xml:1101(para) -#: C/gedit.xml:1144(para) +#: C/pluma.xml:870(para) C/pluma.xml:914(para) C/pluma.xml:970(para) +#: C/pluma.xml:1026(para) C/pluma.xml:1054(para) C/pluma.xml:1101(para) +#: C/pluma.xml:1144(para) msgid "Command" msgstr "命令" -#: C/gedit.xml:875(para) +#: C/pluma.xml:875(para) msgid "Ctrl + Alt + PageUp" msgstr "Ctrl + Alt + PageUp" -#: C/gedit.xml:876(para) +#: C/pluma.xml:876(para) msgid "Switches to the next tab to the left." msgstr "切换到左边的标签页。" -#: C/gedit.xml:879(para) +#: C/pluma.xml:879(para) msgid "Ctrl + Alt + PageDown" msgstr "Ctrl + Alt + PageDown" -#: C/gedit.xml:880(para) +#: C/pluma.xml:880(para) msgid "Switches to the next tab to the right." msgstr "切换到右边的标签页。" -#: C/gedit.xml:883(para) C/gedit.xml:947(para) +#: C/pluma.xml:883(para) C/pluma.xml:947(para) msgid "Ctrl + W" msgstr "Ctrl + W" -#: C/gedit.xml:884(para) +#: C/pluma.xml:884(para) msgid "Close tab." msgstr "关闭标签页。" -#: C/gedit.xml:887(para) +#: C/pluma.xml:887(para) msgid "Ctrl + Shift + L" msgstr "Ctrl + Shift + L" -#: C/gedit.xml:888(para) +#: C/pluma.xml:888(para) msgid "Save all tabs." msgstr "保存全部标签页。" -#: C/gedit.xml:891(para) +#: C/pluma.xml:891(para) msgid "Ctrl + Shift + W" msgstr "Ctrl + Shift + W" -#: C/gedit.xml:892(para) +#: C/pluma.xml:892(para) msgid "Close all tabs." msgstr "关闭全部标签页。" -#: C/gedit.xml:895(para) +#: C/pluma.xml:895(para) msgid "Alt + n" msgstr "Alt + n" -#: C/gedit.xml:896(para) +#: C/pluma.xml:896(para) msgid "Jump to nth tab." msgstr "跳到第 n 个标签页(n 是数字)。" #. ============= Files ======================== -#: C/gedit.xml:903(bridgehead) +#: C/pluma.xml:903(bridgehead) msgid "Files" msgstr "文件" -#: C/gedit.xml:904(para) +#: C/pluma.xml:904(para) msgid "Shortcuts for working with files:" msgstr "文件操作的快捷键:" -#: C/gedit.xml:919(para) +#: C/pluma.xml:919(para) msgid "Ctrl + N" msgstr "Ctrl + N" -#: C/gedit.xml:920(para) +#: C/pluma.xml:920(para) msgid "Create a new document." msgstr "创建新文件" -#: C/gedit.xml:923(para) +#: C/pluma.xml:923(para) msgid "Ctrl + O" msgstr "Ctrl + O" -#: C/gedit.xml:924(para) +#: C/pluma.xml:924(para) msgid "Open a document." msgstr "打开文档。" -#: C/gedit.xml:927(para) +#: C/pluma.xml:927(para) msgid "Ctrl + L" msgstr "Ctrl + L" -#: C/gedit.xml:928(para) +#: C/pluma.xml:928(para) msgid "Open a location." msgstr "打开位置。" -#: C/gedit.xml:931(para) +#: C/pluma.xml:931(para) msgid "Ctrl + S" msgstr "Ctrl + S" -#: C/gedit.xml:932(para) +#: C/pluma.xml:932(para) msgid "Save the current document to disk." msgstr "保存当前文档。" -#: C/gedit.xml:935(para) +#: C/pluma.xml:935(para) msgid "Ctrl + Shift + S" msgstr "Ctrl + Shift + S" -#: C/gedit.xml:936(para) +#: C/pluma.xml:936(para) msgid "Save the current document with a new filename." msgstr "用一个新的文件名保存当前文档。" -#: C/gedit.xml:939(para) +#: C/pluma.xml:939(para) msgid "Ctrl + P" msgstr "Ctrl + P" -#: C/gedit.xml:940(para) +#: C/pluma.xml:940(para) msgid "Print the current document." msgstr "打印当前文档。" -#: C/gedit.xml:943(para) +#: C/pluma.xml:943(para) msgid "Ctrl + Shift + P" msgstr "Ctrl + Shift + P" -#: C/gedit.xml:944(para) +#: C/pluma.xml:944(para) msgid "Print preview." msgstr "打印预览。" -#: C/gedit.xml:948(para) +#: C/pluma.xml:948(para) msgid "Close the current document." msgstr "关闭当前文档。" -#: C/gedit.xml:951(para) +#: C/pluma.xml:951(para) msgid "Ctrl + Q" msgstr "Ctrl + Q" -#: C/gedit.xml:952(para) -msgid "Quit Gedit." -msgstr "退出 Gedit。" +#: C/pluma.xml:952(para) +msgid "Quit Pluma." +msgstr "退出 Pluma。" #. ============= Edit ======================= -#: C/gedit.xml:959(bridgehead) C/gedit.xml:1414(guimenu) -#: C/gedit.xml:1420(guimenu) C/gedit.xml:1426(guimenu) -#: C/gedit.xml:1432(guimenu) +#: C/pluma.xml:959(bridgehead) C/pluma.xml:1414(guimenu) +#: C/pluma.xml:1420(guimenu) C/pluma.xml:1426(guimenu) +#: C/pluma.xml:1432(guimenu) msgid "Edit" msgstr "编辑" -#: C/gedit.xml:960(para) +#: C/pluma.xml:960(para) msgid "Shortcuts for editing documents:" msgstr "编辑文档的快捷键:" -#: C/gedit.xml:975(para) +#: C/pluma.xml:975(para) msgid "Ctrl + Z" msgstr "Ctrl + Z" -#: C/gedit.xml:976(para) +#: C/pluma.xml:976(para) msgid "Undo the last action." msgstr "撤销上一次操作。" -#: C/gedit.xml:979(para) +#: C/pluma.xml:979(para) msgid "Ctrl + Shift + Z" msgstr "Ctrl + Shift + Z" -#: C/gedit.xml:980(para) +#: C/pluma.xml:980(para) msgid "Redo the last undone action ." msgstr "重做最上一次的撤销操作。" -#: C/gedit.xml:983(para) +#: C/pluma.xml:983(para) msgid "Ctrl + X" msgstr "Ctrl + X" -#: C/gedit.xml:984(para) +#: C/pluma.xml:984(para) msgid "Cut the selected text or region and place it on the clipboard." msgstr "剪切选中的文本或区域,并放到剪贴板中。" -#: C/gedit.xml:987(para) +#: C/pluma.xml:987(para) msgid "Ctrl + C" msgstr "Ctrl + C" -#: C/gedit.xml:988(para) +#: C/pluma.xml:988(para) msgid "Copy the selected text or region onto the clipboard." msgstr "复制选中的文本或区域,并放到剪贴板中。" -#: C/gedit.xml:991(para) +#: C/pluma.xml:991(para) msgid "Ctrl + V" msgstr "Ctrl + V" -#: C/gedit.xml:992(para) +#: C/pluma.xml:992(para) msgid "Paste the contents of the clipboard." msgstr "从剪贴板中粘贴内容。" -#: C/gedit.xml:995(para) +#: C/pluma.xml:995(para) msgid "Ctrl + A" msgstr "Ctrl + A" -#: C/gedit.xml:996(para) +#: C/pluma.xml:996(para) msgid "Select all." msgstr "全选" -#: C/gedit.xml:999(para) +#: C/pluma.xml:999(para) msgid "Ctrl + D" msgstr "Ctrl + D" -#: C/gedit.xml:1000(para) +#: C/pluma.xml:1000(para) msgid "Delete current line." msgstr "删除当前行。" -#: C/gedit.xml:1003(para) +#: C/pluma.xml:1003(para) msgid "Alt + Up" msgstr "Alt + Up" -#: C/gedit.xml:1004(para) +#: C/pluma.xml:1004(para) msgid "Move the selected line up one line." msgstr "将选中的行上移一行。" -#: C/gedit.xml:1007(para) +#: C/pluma.xml:1007(para) msgid "Alt + Down" msgstr "Alt + Down" -#: C/gedit.xml:1008(para) +#: C/pluma.xml:1008(para) msgid "Move the selected line down one line." msgstr "将选中的行下移一行。" #. ============= Panes ======================= -#: C/gedit.xml:1015(bridgehead) +#: C/pluma.xml:1015(bridgehead) msgid "Panes" msgstr "面板" -#: C/gedit.xml:1016(para) +#: C/pluma.xml:1016(para) msgid "Shortcuts for showing and hiding panes:" msgstr "显示和隐藏面板的快捷键:" -#: C/gedit.xml:1031(para) +#: C/pluma.xml:1031(para) msgid "F9" msgstr "F9" -#: C/gedit.xml:1032(para) +#: C/pluma.xml:1032(para) msgid "Show/hide the side pane." msgstr "显示/隐藏侧边栏。" -#: C/gedit.xml:1035(para) +#: C/pluma.xml:1035(para) msgid "Ctrl + F9" msgstr "Ctrl + F9" -#: C/gedit.xml:1036(para) +#: C/pluma.xml:1036(para) msgid "Show/hide the bottom pane." msgstr "显示/隐藏底边栏。" #. ============= Search ======================= -#: C/gedit.xml:1043(bridgehead) +#: C/pluma.xml:1043(bridgehead) msgid "Search" msgstr "搜索" -#: C/gedit.xml:1044(para) +#: C/pluma.xml:1044(para) msgid "Shortcuts for searching:" msgstr "搜索的快捷键:" -#: C/gedit.xml:1059(para) +#: C/pluma.xml:1059(para) msgid "Ctrl + F" msgstr "Ctrl + F" -#: C/gedit.xml:1060(para) +#: C/pluma.xml:1060(para) msgid "Find a string." msgstr "查找字符串。" -#: C/gedit.xml:1063(para) +#: C/pluma.xml:1063(para) msgid "Ctrl + G" msgstr "Ctrl + G" -#: C/gedit.xml:1064(para) +#: C/pluma.xml:1064(para) msgid "Find the next instance of the string." msgstr "查找下一个匹配的字符串。" -#: C/gedit.xml:1067(para) +#: C/pluma.xml:1067(para) msgid "Ctrl + Shift + G" msgstr "Ctrl + Shift + G" -#: C/gedit.xml:1068(para) +#: C/pluma.xml:1068(para) msgid "Find the previous instance of the string." msgstr "查找前一个匹配的字符串。" -#: C/gedit.xml:1071(para) +#: C/pluma.xml:1071(para) msgid "Ctrl + K" msgstr "Ctrl + K" -#: C/gedit.xml:1072(para) +#: C/pluma.xml:1072(para) msgid "Interactive search." msgstr "交互式搜索。" -#: C/gedit.xml:1075(para) +#: C/pluma.xml:1075(para) msgid "Ctrl + H" msgstr "Ctrl + H" -#: C/gedit.xml:1076(para) +#: C/pluma.xml:1076(para) msgid "Search and replace." msgstr "查找并替换" -#: C/gedit.xml:1079(para) +#: C/pluma.xml:1079(para) msgid "Ctrl + Shift + K" msgstr "Ctrl + Shift + K" -#: C/gedit.xml:1080(para) +#: C/pluma.xml:1080(para) msgid "Clear highlight." msgstr "清除高亮显示。" -#: C/gedit.xml:1083(para) +#: C/pluma.xml:1083(para) msgid "Ctrl + I" msgstr "Ctrl + I" -#: C/gedit.xml:1084(para) +#: C/pluma.xml:1084(para) msgid "Goto line." msgstr "跳转到行。" #. ============= Tools ======================= -#: C/gedit.xml:1090(bridgehead) +#: C/pluma.xml:1090(bridgehead) msgid "Tools" msgstr "工具" -#: C/gedit.xml:1091(para) +#: C/pluma.xml:1091(para) msgid "Shortcuts for tools:" msgstr "工具快捷键:" -#: C/gedit.xml:1106(para) +#: C/pluma.xml:1106(para) msgid "Shift + F7" msgstr "Shift + F7" -#: C/gedit.xml:1107(para) +#: C/pluma.xml:1107(para) msgid "Check spelling (with plugin)." msgstr "检查拼写(使用插件)。" -#: C/gedit.xml:1110(para) +#: C/pluma.xml:1110(para) msgid "Alt + F12" msgstr "Alt + F12" -#: C/gedit.xml:1111(para) +#: C/pluma.xml:1111(para) msgid "Remove trailing spaces (with plugin)." msgstr "删除尾部空格(使用插件)。" -#: C/gedit.xml:1114(para) +#: C/pluma.xml:1114(para) msgid "Ctrl + T" msgstr "Ctrl + T" -#: C/gedit.xml:1115(para) +#: C/pluma.xml:1115(para) msgid "Indent (with plugin)." msgstr "缩进(使用插件)。" -#: C/gedit.xml:1118(para) +#: C/pluma.xml:1118(para) msgid "Ctrl + Shift + T" msgstr "Ctrl + Shift + T" -#: C/gedit.xml:1119(para) +#: C/pluma.xml:1119(para) msgid "Remove Indent (with plugin)." msgstr "清除缩进(使用插件)。" -#: C/gedit.xml:1122(para) +#: C/pluma.xml:1122(para) msgid "F8" msgstr "F8" -#: C/gedit.xml:1123(para) +#: C/pluma.xml:1123(para) msgid "Run \"make\" in current directory (with plugin)." msgstr "在当前文件夹运行“make”命令(用插件)。" -#: C/gedit.xml:1126(para) +#: C/pluma.xml:1126(para) msgid "Ctrl + Shift + D" msgstr "Ctrl + Shift + D" -#: C/gedit.xml:1127(para) +#: C/pluma.xml:1127(para) msgid "Directory listing (with plugin)." msgstr "文件夹列表(使用插件)。" #. ============= Help ======================= -#: C/gedit.xml:1133(bridgehead) +#: C/pluma.xml:1133(bridgehead) msgid "Help" msgstr "帮助" -#: C/gedit.xml:1134(para) +#: C/pluma.xml:1134(para) msgid "Shortcuts for help:" msgstr "帮助的快捷键:" -#: C/gedit.xml:1149(para) +#: C/pluma.xml:1149(para) msgid "F1" msgstr "F1" -#: C/gedit.xml:1150(para) -msgid "Open gedit's user manual." -msgstr "打开 gedit 的用户手册。" +#: C/pluma.xml:1150(para) +msgid "Open pluma's user manual." +msgstr "打开 pluma 的用户手册。" -#: C/gedit.xml:1162(title) +#: C/pluma.xml:1162(title) msgid "Preferences" msgstr "首选项" -#: C/gedit.xml:1164(para) +#: C/pluma.xml:1164(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"要配置 gedit,点菜单 编辑pluma,点菜单 编辑首选项首选项 对话框包含以下类别:" -#: C/gedit.xml:1173(title) +#: C/pluma.xml:1173(title) msgid "View Preferences" msgstr "查看" -#: C/gedit.xml:1178(para) +#: C/pluma.xml:1178(para) msgid "" "Select the Enable text wrapping option to have long " "lines of text flow into paragraphs instead of running off the edge of the " @@ -2181,7 +2181,7 @@ msgstr "" "选中 允许文本换行 选项,长的文本行会折行,而不是跑到文本" "窗口外边。这就不需要使用水平滚动条。" -#: C/gedit.xml:1179(para) +#: C/pluma.xml:1179(para) msgid "" "Select the Do not split words over two lines option to " "have the text wrapping option preserve whole words when flowing text to the " @@ -2190,47 +2190,47 @@ msgstr "" "选中 不将一个单词拆在两行 选项,会将整个单词换到下一行," "使文本更容易阅读。" -#: C/gedit.xml:1185(para) +#: C/pluma.xml:1185(para) msgid "" "Select the Display line numbers option to display line " -"numbers on the left side of the gedit window." +"numbers on the left side of the pluma window." msgstr "" -"选中 显示行号,在 gedit 窗口" +"选中 显示行号,在 pluma 窗口" "的左侧显示行号。" -#: C/gedit.xml:1189(guilabel) +#: C/pluma.xml:1189(guilabel) msgid "Current Line" msgstr "当前行" -#: C/gedit.xml:1191(para) +#: C/pluma.xml:1191(para) msgid "" "Select the Highlight current line option to highlight " "the line where the cursor is placed." msgstr "" "选中 高亮显示当前行 选项,光标所在的行会高亮显示。" -#: C/gedit.xml:1195(guilabel) +#: C/pluma.xml:1195(guilabel) msgid "Right Margin" msgstr "右边距" -#: C/gedit.xml:1197(para) +#: C/pluma.xml:1197(para) msgid "" "Select the Display right margin option to display a " "vertical line that indicates the right margin." msgstr "选中 显示右边距 选项,显示一条竖线指示右边距。" -#: C/gedit.xml:1198(para) +#: C/pluma.xml:1198(para) msgid "" "Use the Right margin at column spin box to specify the " "location of the vertical line." msgstr "" "在 右边距位于列 微调按钮框,指定竖线所在的列号位置。" -#: C/gedit.xml:1202(guilabel) +#: C/pluma.xml:1202(guilabel) msgid "Bracket Matching" msgstr "括号匹配" -#: C/gedit.xml:1204(para) +#: C/pluma.xml:1204(para) msgid "" "Select the Highlight matching bracket option to " "highlight the corresponding bracket when the cursor is positioned on a " @@ -2239,43 +2239,43 @@ msgstr "" "选中 高亮显示匹配的括号 选项,当光标位于括号位置时,高亮" "显示匹配的另一个括号。" -#: C/gedit.xml:1212(title) +#: C/pluma.xml:1212(title) msgid "Editor Preferences" msgstr "编辑器" -#: C/gedit.xml:1217(para) +#: C/pluma.xml:1217(para) msgid "" "Use the Tab width spin box to specify the width of the " -"space that gedit inserts when you press the " +"space that pluma inserts when you press the " "Tab key." msgstr "" "在 Tab 宽度 微调按钮框里,指定当您按下 Tab 键时,gedit 插入的空格宽度。" +"keycap> 键时,pluma 插入的空格宽度。" -#: C/gedit.xml:1218(para) +#: C/pluma.xml:1218(para) msgid "" "Select the Insert spaces instead of tabs option to " -"specify that gedit inserts spaces instead of a " +"specify that pluma inserts spaces instead of a " "tab character when you press the Tab key." msgstr "" "选中 插入空格替代制表符,指定当您按下 Tab 键时,gedit 插入空格而不是制表符。" +"keycap> 键时,pluma 插入空格而不是制表符。" -#: C/gedit.xml:1222(guilabel) +#: C/pluma.xml:1222(guilabel) msgid "Auto Indentation" msgstr "自动缩进" -#: C/gedit.xml:1224(para) +#: C/pluma.xml:1224(para) msgid "" "Select the Enable auto indentation option to specify " "that the next line starts at the indentation level of the current line." msgstr "选中 启用自动缩进,指定下一行在缩进后再开始。" -#: C/gedit.xml:1228(guilabel) +#: C/pluma.xml:1228(guilabel) msgid "File Saving" msgstr "保存文件" -#: C/gedit.xml:1230(para) +#: C/pluma.xml:1230(para) msgid "" "Select the Create a backup copy of files before saving " "option to create a backup copy of a file each time you save the file. The " @@ -2284,7 +2284,7 @@ msgstr "" "选中 在保存之前创建一个文件备份,在每次保存文件的时候创" "建文件的备份副本。备份文件的文件名的末尾包含一个 ~。" -#: C/gedit.xml:1231(para) +#: C/pluma.xml:1231(para) msgid "" "Select the Autosave files every ... minutes option to " "automatically save the current file at regular intervals. Use the spin box " @@ -2293,84 +2293,84 @@ msgstr "" "选中 自动保存,每隔...分钟,在指定的时间间隔后,会自动保" "存当前文件。使用微调按钮框可以指定多久保存一次文件。" -#: C/gedit.xml:1238(title) +#: C/pluma.xml:1238(title) msgid "Font & Colors Preferences" msgstr "字体和颜色选项" -#: C/gedit.xml:1241(guilabel) +#: C/pluma.xml:1241(guilabel) msgid "Font" msgstr "字体" -#: C/gedit.xml:1243(para) +#: C/pluma.xml:1243(para) msgid "" "Select the Use default theme font option to use the " -"default system font for the text in the gedit " +"default system font for the text in the pluma " "text window." msgstr "" "选中 使用默认主题字体, 该选项,将在 " -"gedit 文本窗口中使用默认系统字体来显示文本。" +"pluma 文本窗口中使用默认系统字体来显示文本。" -#: C/gedit.xml:1244(para) +#: C/pluma.xml:1244(para) msgid "" "The Editor font field displays the font that " -"gedit uses to display text. Click on the button " +"pluma uses to display text. Click on the button " "to specify the font type, style, and size to use for text." msgstr "" -"编辑器字体 显示 gedit 用来显" +"编辑器字体 显示 pluma 用来显" "示文本的字体。 单击该按钮可以指定文本使用的字体、样式和大小。" -#: C/gedit.xml:1248(guilabel) +#: C/pluma.xml:1248(guilabel) msgid "Color Scheme" msgstr "颜色方案" -#: C/gedit.xml:1250(para) +#: C/pluma.xml:1250(para) msgid "" "You can choose a color scheme from the list of color schemes. By default, " "the following color schemes are installed:" msgstr "" "您可以从颜色方案列表中选择一种颜色方案。默认情况下,安装有下面的颜色方案:" -#: C/gedit.xml:1253(guilabel) +#: C/pluma.xml:1253(guilabel) msgid "Classic" msgstr "经典" -#: C/gedit.xml:1255(para) +#: C/pluma.xml:1255(para) msgid "Classic color scheme based on the gvim color scheme." msgstr "基于 gvim 颜色方案的经典颜色方案。" -#: C/gedit.xml:1259(guilabel) +#: C/pluma.xml:1259(guilabel) msgid "Cobalt" msgstr "Cobalt" -#: C/gedit.xml:1261(para) +#: C/pluma.xml:1261(para) msgid "Blue based color scheme." msgstr "蓝色主题颜色方案。" -#: C/gedit.xml:1265(guilabel) +#: C/pluma.xml:1265(guilabel) msgid "Kate" msgstr "Kate" -#: C/gedit.xml:1267(para) +#: C/pluma.xml:1267(para) msgid "Color scheme used in the Kate text editor." msgstr "用于 Kate 文本编辑器的颜色方案。" -#: C/gedit.xml:1271(guilabel) +#: C/pluma.xml:1271(guilabel) msgid "Oblivion" msgstr "Oblivion" -#: C/gedit.xml:1273(para) +#: C/pluma.xml:1273(para) msgid "Dark color scheme using the Tango color palette." msgstr "用于 Tango 调色板的黑色主题方案。" -#: C/gedit.xml:1277(guilabel) +#: C/pluma.xml:1277(guilabel) msgid "Tango" msgstr "Tango" -#: C/gedit.xml:1279(para) +#: C/pluma.xml:1279(para) msgid "Color scheme using the Tango color scheme." msgstr "用于 Tango 的颜色方案。" -#: C/gedit.xml:1283(para) +#: C/pluma.xml:1283(para) msgid "" "You can add a new color scheme by clicking on Add..., " "and selecting a color scheme file" @@ -2378,36 +2378,36 @@ msgstr "" "您可以通过点击 添加...,选择一个颜色方案文件,来添加一个" "新的颜色方案" -#: C/gedit.xml:1284(para) +#: C/pluma.xml:1284(para) msgid "" "You can remove the selected color scheme by clicking on Remove" msgstr "您可以通过点击 删除,删除选中的颜色方案" -#: C/gedit.xml:1291(title) +#: C/pluma.xml:1291(title) msgid "Plugins Preferences" msgstr "插件" -#: C/gedit.xml:1292(para) +#: C/pluma.xml:1292(para) msgid "" -"Plugins add extra features to gedit. For more " +"Plugins add extra features to pluma. For more " "information on plugins and how to use the built-in plugins, see ." +"linkend=\"pluma-plugins-overview\"/>." msgstr "" -"通过插件给 gedit 添加扩展特性。更多相关信息,请参" -"阅:。" +"通过插件给 pluma 添加扩展特性。更多相关信息,请参" +"阅:。" -#: C/gedit.xml:1296(title) +#: C/pluma.xml:1296(title) msgid "Enabling a Plugin" msgstr "启用一个插件" -#: C/gedit.xml:1297(para) +#: C/pluma.xml:1297(para) msgid "" -"To enable a gedit plugin, perform the following " +"To enable a pluma plugin, perform the following " "steps:" -msgstr "要启用一个 gedit 插件,请安下面的步骤操作:" +msgstr "要启用一个 pluma 插件,请安下面的步骤操作:" -#: C/gedit.xml:1300(para) C/gedit.xml:1321(para) C/gedit.xml:1643(para) +#: C/pluma.xml:1300(para) C/pluma.xml:1321(para) C/pluma.xml:1643(para) msgid "" "Choose EditPreferences." @@ -2415,16 +2415,16 @@ msgstr "" "点菜单 编辑首选项。" -#: C/gedit.xml:1303(para) C/gedit.xml:1324(para) C/gedit.xml:1646(para) +#: C/pluma.xml:1303(para) C/pluma.xml:1324(para) C/pluma.xml:1646(para) msgid "Select the Plugins tab." msgstr "点击 插件 标签。" -#: C/gedit.xml:1306(para) +#: C/pluma.xml:1306(para) msgid "" "Select the check box next to the name of the plugin that you want to enable." msgstr "选中您想启用的插件名称旁边的复选框。" -#: C/gedit.xml:1309(para) C/gedit.xml:1330(para) +#: C/pluma.xml:1309(para) C/pluma.xml:1330(para) msgid "" "Click Close to close the Preferences dialog." @@ -2432,193 +2432,193 @@ msgstr "" "点 关闭 按钮,关闭 首选项 对话" "框。" -#: C/gedit.xml:1316(title) +#: C/pluma.xml:1316(title) msgid "Disabling a Plugin" msgstr "禁用一个插件" -#: C/gedit.xml:1317(para) +#: C/pluma.xml:1317(para) msgid "" -"A plugin remains enabled when you quit gedit." -msgstr "当您退出了 gedit,但插件仍保持启用状态。" +"A plugin remains enabled when you quit pluma." +msgstr "当您退出了 pluma,但插件仍保持启用状态。" -#: C/gedit.xml:1318(para) +#: C/pluma.xml:1318(para) msgid "" -"To disable a gedit plugin, perform the following " +"To disable a pluma plugin, perform the following " "steps:" -msgstr "要禁用一个 gedit 插件,请按下面的步骤操作:" +msgstr "要禁用一个 pluma 插件,请按下面的步骤操作:" -#: C/gedit.xml:1327(para) +#: C/pluma.xml:1327(para) msgid "" "Deselect the check box next to the name of the plugin that you want to " "disable." msgstr "不选中插件名称旁边的复选框,就可以禁用它。" -#: C/gedit.xml:1339(title) +#: C/pluma.xml:1339(title) msgid "Plugins" msgstr "插件" -#: C/gedit.xml:1341(title) +#: C/pluma.xml:1341(title) msgid "Working with Plugins" msgstr "使用插件" -#: C/gedit.xml:1342(para) +#: C/pluma.xml:1342(para) msgid "" -"You can add extra features to gedit by enabling " +"You can add extra features to pluma by enabling " "plugins. A plugin is a supplementary program that " "enhances the functionality of an application. Plugins add new items to the " -"gedit menus for the new features they provide." +"pluma menus for the new features they provide." msgstr "" -"您可以通过启用 插件gedit插件 为 pluma 添加扩展特性。插件是一个额外的小程序,可以增强应用程序的功能。插" -"件会在 gedit 中增加新的菜单项,提供新的特性。" +"件会在 pluma 中增加新的菜单项,提供新的特性。" -#: C/gedit.xml:1344(para) +#: C/pluma.xml:1344(para) msgid "" -"Several plugins come built-in with gedit, and you " -"can install more. The gedit website lists third-party plugins." +"Several plugins come built-in with pluma, and you " +"can install more. The pluma website lists third-party plugins." msgstr "" -"gedit 内置了一些插件,您也可以安装更多,gedit websitepluma 内置了一些插件,您也可以安装更多,pluma website 中,列出了第三方开发的插件。" -#: C/gedit.xml:1345(para) +#: C/pluma.xml:1345(para) msgid "" "To enable and disable plugins, or see which plugins are currently enabled, " -"use the Plugins Preferences." +"use the Plugins Preferences." msgstr "" "要启用或禁用一个插件,或者查看当前启用了哪些插件,请使用 插件选项。" +"\"pluma-prefs-plugins\">插件选项。" -#: C/gedit.xml:1346(para) +#: C/pluma.xml:1346(para) msgid "" -"The following plugins come built-in with gedit:" -msgstr "下面的插件是 gedit 内置的插件。" +"The following plugins come built-in with pluma:" +msgstr "下面的插件是 pluma 内置的插件。" -#: C/gedit.xml:1352(para) +#: C/pluma.xml:1352(para) msgid "" -"Change CaseChange Case allows you to change the case of the selected text." msgstr "" -"改变大小写改变大小写 允许您更改选中文本的大小写。" -#: C/gedit.xml:1355(para) +#: C/pluma.xml:1355(para) msgid "" -"Document " +"Document " "Statistics shows the number of lines, words, and " "characters in the document." msgstr "" -"文档统计文档统计 显示文档的行数、单词数和字符数。" -#: C/gedit.xml:1358(para) +#: C/pluma.xml:1358(para) msgid "" -"External ToolsExternal Tools allows you to execute external commands from " -"gedit." +"pluma." msgstr "" -"外部工具 允许您在 gedit 中激活外部的命令。" +"外部工具 允许您在 pluma 中激活外部的命令。" -#: C/gedit.xml:1361(para) +#: C/pluma.xml:1361(para) msgid "" "File Browser allows you to browse your files and " "folders in the side pane." msgstr "文件浏览器 允许您在侧边栏浏览文件和文件夹。" -#: C/gedit.xml:1364(para) +#: C/pluma.xml:1364(para) msgid "" -"Indent LinesIndent Lines adds or removes indentation from the selected lines." msgstr "" -"行缩进行缩进 为选中的行添加或清除缩进。" -#: C/gedit.xml:1367(para) +#: C/pluma.xml:1367(para) msgid "" -"Insert Date/" +"Insert Date/" "Time adds the current date and time into a document." msgstr "" -"插入日期/时间插入日期/时间 在文档中插入当前的日期和时间。" -#: C/gedit.xml:1370(para) +#: C/pluma.xml:1370(para) msgid "" -"ModelinesModelines allows you to set editing preferences for individual documents, " "and supports Emacs, Kate and Vim-style modelines." msgstr "" -"ModelinesModelines 允许您为特殊的文档设置编辑器选项,支持 EmacsKateVim 风格的 modelines。" -#: C/gedit.xml:1373(para) +#: C/pluma.xml:1373(para) msgid "" -"Python ConsolePython Console allows you to run commands in the python programming " "language." msgstr "" -"Python 控制台Python 控制台 运行您在 python 编程语言中运行命令。" -#: C/gedit.xml:1376(para) +#: C/pluma.xml:1376(para) msgid "" -"SnippetsSnippets allows you to store frequently-used pieces of text and insert " "them quickly into a document." msgstr "" -"片段片段 允许您存储常用的文本片段,并快速插入到文档中。" -#: C/gedit.xml:1379(para) +#: C/pluma.xml:1379(para) msgid "" -"Sort " +"Sort " "arranges selected lines of text into alphabetical order." msgstr "" -"排序 按" +"排序 按" "字母顺序排列选定的行。" -#: C/gedit.xml:1382(para) +#: C/pluma.xml:1382(para) msgid "" -"Spell CheckerSpell Checker corrects the spelling in the selected text, or marks " "errors automatically in the document." msgstr "" -"拼写检查拼写检查 检查选定文本的拼写正确性,或者标记文档中的错误。" -#: C/gedit.xml:1385(para) +#: C/pluma.xml:1385(para) msgid "" -"Tag ListTag List lets you insert commonly-used tags for HTML and other languages " "from a list in the side pane." msgstr "" -"标记列表标记列表 允许您从侧栏中插入常用的 HTML 或其他语言标记。" -#: C/gedit.xml:1389(para) +#: C/pluma.xml:1389(para) msgid "" "For more information on creating plugins, see the gedit " +"\"http://live.gnome.org/Pluma/Plugins\">pluma " "website." msgstr "" "关于创建插件的更多信息,请参阅:gedit 网站。" +"org/Pluma/Plugins\">pluma 网站。" -#: C/gedit.xml:1393(title) +#: C/pluma.xml:1393(title) msgid "Change Case Plugin" msgstr "更改大小写插件" -#: C/gedit.xml:1394(para) +#: C/pluma.xml:1394(para) msgid "" "The Change Case plugin changes the case of the " "selected text." msgstr "更改大小写 插件更改选中文本的大小写状态。" -#: C/gedit.xml:1395(para) +#: C/pluma.xml:1395(para) msgid "" "The following items are added to the Edit menu when the " "Change Case plugin is enabled:" @@ -2626,78 +2626,78 @@ msgstr "" "当 改变大小写 插件启用后,下面的项将添加到 " "编辑 菜单:" -#: C/gedit.xml:1405(para) +#: C/pluma.xml:1405(para) msgid "Menu Item" msgstr "菜单项" -#: C/gedit.xml:1407(para) +#: C/pluma.xml:1407(para) msgid "Action" msgstr "操作" -#: C/gedit.xml:1409(para) +#: C/pluma.xml:1409(para) msgid "Example" msgstr "举例" -#: C/gedit.xml:1415(guisubmenu) C/gedit.xml:1421(guisubmenu) -#: C/gedit.xml:1427(guisubmenu) C/gedit.xml:1433(guisubmenu) +#: C/pluma.xml:1415(guisubmenu) C/pluma.xml:1421(guisubmenu) +#: C/pluma.xml:1427(guisubmenu) C/pluma.xml:1433(guisubmenu) msgid "Change Case" msgstr "改变大小写" -#: C/gedit.xml:1415(guimenuitem) +#: C/pluma.xml:1415(guimenuitem) msgid "All Upper Case" msgstr "全部大写字母" -#: C/gedit.xml:1416(para) +#: C/pluma.xml:1416(para) msgid "Change each character to uppercase." msgstr "把字符都改成大写字母。" -#: C/gedit.xml:1417(para) +#: C/pluma.xml:1417(para) msgid "This text becomes THIS TEXT" msgstr "This text 将变成 THIS TEXT" -#: C/gedit.xml:1421(guimenuitem) +#: C/pluma.xml:1421(guimenuitem) msgid "All Lower Case" msgstr "全部小写字母" -#: C/gedit.xml:1422(para) +#: C/pluma.xml:1422(para) msgid "Change each character to lowercase." msgstr "把字符都改成小写字母。" -#: C/gedit.xml:1423(para) +#: C/pluma.xml:1423(para) msgid "This Text becomes this text" msgstr "This Text 将变成 this text" -#: C/gedit.xml:1427(guimenuitem) +#: C/pluma.xml:1427(guimenuitem) msgid "Invert Case" msgstr "反转大小写" -#: C/gedit.xml:1428(para) +#: C/pluma.xml:1428(para) msgid "" "Change each lowercase character to uppercase, and change each uppercase " "character to lowercase." msgstr "把小写字母改成大写,把大写字母改成小写。" -#: C/gedit.xml:1429(para) +#: C/pluma.xml:1429(para) msgid "This Text becomes tHIS tEXT" msgstr "This Text 将变成 tHIS tEXT" -#: C/gedit.xml:1433(guimenuitem) +#: C/pluma.xml:1433(guimenuitem) msgid "Title Case" msgstr "字首大写" -#: C/gedit.xml:1434(para) +#: C/pluma.xml:1434(para) msgid "Change the first character of each word to uppercase." msgstr "每个单词的第一个字母改成大写。" -#: C/gedit.xml:1435(para) +#: C/pluma.xml:1435(para) msgid "this text becomes This Text" msgstr "this text 将变成 This Text" -#: C/gedit.xml:1444(title) +#: C/pluma.xml:1444(title) msgid "Document Statistics Plugin" msgstr "文档统计插件" -#: C/gedit.xml:1445(para) +#: C/pluma.xml:1445(para) msgid "" "The Document Statistics plugin counts the number " "of lines, words, characters with spaces, characters without spaces, and " @@ -2709,7 +2709,7 @@ msgstr "" "格)、字数(不含空格)、字节数。该插件将结果显示在一个文档统计信息 对话框中。 要使用文档统计插件,请按以下步骤操作:" -#: C/gedit.xml:1447(para) +#: C/pluma.xml:1447(para) msgid "" "Choose ToolsDocument Statistics to display the Document Statistics,出来一个 文档统计信息 对话" "框。文档统计信息 对话框显示文件的以下信息:" -#: C/gedit.xml:1450(para) +#: C/pluma.xml:1450(para) msgid "Number of lines in the current document." msgstr "当前文档中的行数。" -#: C/gedit.xml:1453(para) +#: C/pluma.xml:1453(para) msgid "Number of words in the current document." msgstr "当前文档中的字数。" -#: C/gedit.xml:1456(para) +#: C/pluma.xml:1456(para) msgid "Number of characters, including spaces, in the current document." msgstr "当前文档中的字符数(包括空格)。" -#: C/gedit.xml:1459(para) +#: C/pluma.xml:1459(para) msgid "Number of characters, not including spaces, in the current document." msgstr "当前文档中的字符数(不包括空格)。" -#: C/gedit.xml:1462(para) +#: C/pluma.xml:1462(para) msgid "Number of bytes in the current document." msgstr "当前文档中的字节数。" -#: C/gedit.xml:1467(para) +#: C/pluma.xml:1467(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click " "Update." msgstr "" "在 文档统计信息 对话框打开时,您可以继续在 " -"gedit 里编辑文件。 要刷新 文档统计信息pluma 里编辑文件。 要刷新 文档统计信息 对话框的内容,点击 更新 按钮。" -#: C/gedit.xml:1474(title) +#: C/pluma.xml:1474(title) msgid "External Tools Plugin" msgstr "外部工具插件" -#: C/gedit.xml:1475(para) +#: C/pluma.xml:1475(para) msgid "" "The External Tools plugin allows you to execute " -"external commands from gedit. You can pipe some " +"external commands from pluma. You can pipe some " "content into a command and exploit its output (for example, " "sed), or launch a predefined command (for " "example, make)." msgstr "" -"The External Tools 允许您在 geditExternal Tools 允许您在 pluma 中运行外部命令。您可以通过管道命令来编辑它们的输出(例如 " "sed),或者启动一个预编译命令(如 " "make)。" -#: C/gedit.xml:1476(para) +#: C/pluma.xml:1476(para) msgid "" "Use the External Tools Manager to create and edit " "commands. To run an external command, choose it from the Tools外部工具管理器 来创建和编辑命令。要运行一个外部命" "令,点 工具 菜单。" -#: C/gedit.xml:1479(title) +#: C/pluma.xml:1479(title) msgid "Built-in Commands" msgstr "内置命令" -#: C/gedit.xml:1480(para) +#: C/pluma.xml:1480(para) msgid "" "The following commands are provided with the External Tools plugin:" msgstr "下面的命令由 外部工具 插件提供:" -#: C/gedit.xml:1482(term) +#: C/pluma.xml:1482(term) msgid "Build" msgstr "Build" -#: C/gedit.xml:1484(para) +#: C/pluma.xml:1484(para) msgid "" "Runs make in the current document's directory." msgstr "在当前文档的文件夹下,运行 make 命令。" -#: C/gedit.xml:1487(term) +#: C/pluma.xml:1487(term) msgid "Directory Listing" msgstr "列出文件夹" -#: C/gedit.xml:1489(para) +#: C/pluma.xml:1489(para) msgid "" "Lists the contents of the current document's directory in a new document." msgstr "在一个新文档中,列出当前文件夹的内容。" -#: C/gedit.xml:1492(term) +#: C/pluma.xml:1492(term) msgid "Environment Variables" msgstr "环境变量" -#: C/gedit.xml:1494(para) +#: C/pluma.xml:1494(para) msgid "Displays the environment variables list in the bottom pane." msgstr "在底部面板显示环境变量。" -#: C/gedit.xml:1497(term) +#: C/pluma.xml:1497(term) msgid "Grep" msgstr "Grep" -#: C/gedit.xml:1499(para) +#: C/pluma.xml:1499(para) msgid "" "Searches for a term in all files in the current document directory, using " "pattern matching. Results are shown in the bottom pane." msgstr "" "使用匹配模式,在当前文件夹中的全部文件中搜索匹配项。结果显示在底部面板。" -#: C/gedit.xml:1502(term) +#: C/pluma.xml:1502(term) msgid "Remove Trailing Spaces" msgstr "删除尾部空格" -#: C/gedit.xml:1504(para) +#: C/pluma.xml:1504(para) msgid "Removes all spaces from the end of lines in the document." msgstr "删除文档中每一行的尾部空格。" -#: C/gedit.xml:1511(title) +#: C/pluma.xml:1511(title) msgid "Defining a Command" msgstr "定义一个命令" -#: C/gedit.xml:1512(para) +#: C/pluma.xml:1512(para) msgid "" "To add an external command, choose ToolsExternal Tools." @@ -2844,7 +2844,7 @@ msgstr "" "要添加一个外部命令,点菜单 工具外" "部工具。" -#: C/gedit.xml:1513(para) +#: C/pluma.xml:1513(para) msgid "" "In the External Tools Manager window, click " "New. You can speficy the following details for the " @@ -2853,41 +2853,41 @@ msgstr "" "在 外部工具管理器 窗口中,点 新建。您可以指定命令的下面内容细节:" -#: C/gedit.xml:1515(term) +#: C/pluma.xml:1515(term) msgid "Description" msgstr "说明" -#: C/gedit.xml:1517(para) +#: C/pluma.xml:1517(para) msgid "" "This description is shown in the statusbar when the menu command is chosen." msgstr "当选中菜单命令时,这个描述将显示在状态栏。" -#: C/gedit.xml:1520(term) +#: C/pluma.xml:1520(term) msgid "Accelerator" msgstr "快捷键" -#: C/gedit.xml:1522(para) +#: C/pluma.xml:1522(para) msgid "Enter a keyboard shortcut for the command." msgstr "输入此命令的快捷键。" -#: C/gedit.xml:1525(term) +#: C/pluma.xml:1525(term) msgid "Commands" msgstr "命令" -#: C/gedit.xml:1527(para) +#: C/pluma.xml:1527(para) msgid "" -"The actual commands to be run. Several gedit " +"The actual commands to be run. Several pluma " "environment variables can be used to pass content to these commands: see " -"." +"." msgstr "" -"要运行的命令。一些 gedit 环境变量可以传递给命令," -"请参阅 。" +"要运行的命令。一些 pluma 环境变量可以传递给命令," +"请参阅 。" -#: C/gedit.xml:1530(term) +#: C/pluma.xml:1530(term) msgid "Input" msgstr "输入" -#: C/gedit.xml:1532(para) +#: C/pluma.xml:1532(para) msgid "" "The content to give to the commands (as stdin): the " "entire text of the current document, the current selection, line, or word." @@ -2895,11 +2895,11 @@ msgstr "" "这个内容将传递给命令(像 stdin):当前文档的全部文本、" "段、行或词。" -#: C/gedit.xml:1535(term) +#: C/pluma.xml:1535(term) msgid "Output" msgstr "输出窗口" -#: C/gedit.xml:1537(para) +#: C/pluma.xml:1537(para) msgid "" "What to do with the output of the commands: display in the bottom pane, put " "in a new document, or place in the current document, at the end, at the " @@ -2908,36 +2908,36 @@ msgstr "" "输出这个命令做了什么:显示在底部面板、放入一个新文档,或者放到当前文档,放在" "文档尾部、光标位置,或者替换这一段、替换整个文档。" -#: C/gedit.xml:1540(term) +#: C/pluma.xml:1540(term) msgid "Applicability" msgstr "适用性" -#: C/gedit.xml:1542(para) +#: C/pluma.xml:1542(para) msgid "" "Determines which sort of documents can be affected by the command, for " "example whether saved or not, and local or remote." msgstr "确定哪一类文档会被这个命令影响,例如是否保存,本地还是远程。" -#: C/gedit.xml:1550(title) +#: C/pluma.xml:1550(title) msgid "Editing and Removing Tools" msgstr "编辑和删除工具" -#: C/gedit.xml:1551(para) +#: C/pluma.xml:1551(para) msgid "" "To edit a tool, select it in the list and make changes to its properties." msgstr "要编辑一个工具,在列表中选中它,然后更改它的属性。" -#: C/gedit.xml:1552(para) +#: C/pluma.xml:1552(para) msgid "To rename a tool, click it again in the list." msgstr "要重命名一个工具,在列表中再点击它一次。" -#: C/gedit.xml:1553(para) +#: C/pluma.xml:1553(para) msgid "" "To restore a built-in tool that you have changed, press Revert." msgstr "要恢复您已经改变了的内置工具,点 还原/guilabel> 按钮。" -#: C/gedit.xml:1554(para) +#: C/pluma.xml:1554(para) msgid "" "To remove a tool, select it in the list and press Remove. You can not remove built-in tools, only those you have created " @@ -2946,49 +2946,49 @@ msgstr "" "要删除一个工具,在列表中选中它,然后点 删除。您不能删" "除内置的工具,只能删除您自己创建的工具。" -#: C/gedit.xml:1558(title) +#: C/pluma.xml:1558(title) msgid "Variables" msgstr "变量" -#: C/gedit.xml:1559(para) +#: C/pluma.xml:1559(para) msgid "" "You can use the following variables in the Commands " "field of the command definition:" msgstr "在 命令 文本框中,您可以使用下面的变量:" -#: C/gedit.xml:1562(para) -msgid "GEDIT_CURRENT_DOCUMENT_URI" -msgstr "GEDIT_CURRENT_DOCUMENT_URI" +#: C/pluma.xml:1562(para) +msgid "PLUMA_CURRENT_DOCUMENT_URI" +msgstr "PLUMA_CURRENT_DOCUMENT_URI" -#: C/gedit.xml:1565(para) -msgid "GEDIT_CURRENT_DOCUMENT_NAME" -msgstr "GEDIT_CURRENT_DOCUMENT_NAME" +#: C/pluma.xml:1565(para) +msgid "PLUMA_CURRENT_DOCUMENT_NAME" +msgstr "PLUMA_CURRENT_DOCUMENT_NAME" -#: C/gedit.xml:1568(para) -msgid "GEDIT_CURRENT_DOCUMENT_SCHEME" -msgstr "GEDIT_CURRENT_DOCUMENT_SCHEME" +#: C/pluma.xml:1568(para) +msgid "PLUMA_CURRENT_DOCUMENT_SCHEME" +msgstr "PLUMA_CURRENT_DOCUMENT_SCHEME" -#: C/gedit.xml:1571(para) -msgid "GEDIT_CURRENT_DOCUMENT_PATH" -msgstr "GEDIT_CURRENT_DOCUMENT_PATH" +#: C/pluma.xml:1571(para) +msgid "PLUMA_CURRENT_DOCUMENT_PATH" +msgstr "PLUMA_CURRENT_DOCUMENT_PATH" -#: C/gedit.xml:1574(para) -msgid "GEDIT_CURRENT_DOCUMENT_DIR" -msgstr "GEDIT_CURRENT_DOCUMENT_DIR" +#: C/pluma.xml:1574(para) +msgid "PLUMA_CURRENT_DOCUMENT_DIR" +msgstr "PLUMA_CURRENT_DOCUMENT_DIR" -#: C/gedit.xml:1577(para) -msgid "GEDIT_DOCUMENTS_URI" -msgstr "GEDIT_DOCUMENTS_URI" +#: C/pluma.xml:1577(para) +msgid "PLUMA_DOCUMENTS_URI" +msgstr "PLUMA_DOCUMENTS_URI" -#: C/gedit.xml:1580(para) -msgid "GEDIT_DOCUMENTS_PATH" -msgstr "GEDIT_DOCUMENTS_PATH" +#: C/pluma.xml:1580(para) +msgid "PLUMA_DOCUMENTS_PATH" +msgstr "PLUMA_DOCUMENTS_PATH" -#: C/gedit.xml:1587(title) +#: C/pluma.xml:1587(title) msgid "File Browser Plugin" msgstr "文件浏览器插件" -#: C/gedit.xml:1588(para) +#: C/pluma.xml:1588(para) msgid "" "The File Browser Plugin shows your files and " "folders in the side pane, allowing you to quickly open files." @@ -2996,7 +2996,7 @@ msgstr "" "文件浏览器 插件,在侧栏中显示您的文件和文件夹,允" "许你快速打开文件。" -#: C/gedit.xml:1589(para) +#: C/pluma.xml:1589(para) msgid "" "To view the File Browser, choose ViewSide Pane and then click on " @@ -3005,25 +3005,25 @@ msgstr "" "要显示文件浏览器,点菜单 查看侧边" "栏,然后点击面板下边的文件浏览器图标。" -#: C/gedit.xml:1591(title) +#: C/pluma.xml:1591(title) msgid "Browsing your Files" msgstr "浏览文件" -#: C/gedit.xml:1592(para) +#: C/pluma.xml:1592(para) msgid "" "The File Browser tab initially shows your file manager bookmarks. To browse " "the contents of any item, double-click it." msgstr "" "文件浏览器标签开始只显示文件管理器书签。要浏览每一项的内容,在标签上双击。" -#: C/gedit.xml:1593(para) +#: C/pluma.xml:1593(para) msgid "" "To show a parent folder, choose from the drop-down list, or press the up " "arrow on the File Browser's toolbar." msgstr "" "要显示上一级父目录,在下拉列表中选择,或者点文件管理器工具栏的向上箭头。" -#: C/gedit.xml:1594(para) +#: C/pluma.xml:1594(para) msgid "" "To show the folder that contains the document you are currently working on, " "right-click in the file list and choose Set root to active " @@ -3032,18 +3032,18 @@ msgstr "" "要显示您当前工作的文件夹中包含的内容,在文件列表中点右键,选 当" "前文件夹设定为根目录。" -#: C/gedit.xml:1598(para) +#: C/pluma.xml:1598(para) msgid "" -"To open a file in gedit, double-click it in the " +"To open a file in pluma, double-click it in the " "file list." msgstr "" -"要在 gedit 里打开一个文件,在文件列表中双击它。" +"要在 pluma 里打开一个文件,在文件列表中双击它。" -#: C/gedit.xml:1601(title) +#: C/pluma.xml:1601(title) msgid "Creating Files and Folders" msgstr "创建文件和文件夹" -#: C/gedit.xml:1602(para) +#: C/pluma.xml:1602(para) msgid "" "To create a new, empty text file in the current folder shown in the browser, " "right-click in the file list and choose New File." @@ -3051,7 +3051,7 @@ msgstr "" "要在当前文件夹中创建一个新的空文本文件,在文件列表里点右键,选 " "新建文件。" -#: C/gedit.xml:1603(para) +#: C/pluma.xml:1603(para) msgid "" "To create a new folder in the current folder shown in the browser, right-" "click in the file list and choose New Folder." @@ -3059,28 +3059,28 @@ msgstr "" "要在当前文件夹中创建一个新的文件夹,在文件列表里点右键,选 新建" "文件夹。" -#: C/gedit.xml:1608(title) +#: C/pluma.xml:1608(title) msgid "Indent Lines Plugin" msgstr "缩进行插件" -#: C/gedit.xml:1609(para) +#: C/pluma.xml:1609(para) msgid "" "The Indent Lines plugin adds or removes space " "from the beginning of lines of text." msgstr "缩进行 插件,在行的开头添加或清除空白缩进。" -#: C/gedit.xml:1610(para) +#: C/pluma.xml:1610(para) msgid "To indent or unindent text, perform the following steps:" msgstr "要对文本使用缩进或取消缩进,请按下面的步骤操作:" -#: C/gedit.xml:1612(para) +#: C/pluma.xml:1612(para) msgid "" "Select the lines that you want to indent. To indent or unindent a single " "line, place the cursor anywhere on that line." msgstr "" "选择所需缩进行。要对单行进行缩进或取消缩进,请将光标放在该行的任意位置上。" -#: C/gedit.xml:1617(para) +#: C/pluma.xml:1617(para) msgid "" "To indent the text, choose EditIndent." @@ -3088,7 +3088,7 @@ msgstr "" "要缩进文本,点菜单 编辑缩进。" -#: C/gedit.xml:1620(para) +#: C/pluma.xml:1620(para) msgid "" "To remove the indentation, choose EditUnindent." @@ -3096,21 +3096,21 @@ msgstr "" "要取消缩进,点菜单 编辑取消缩进。" -#: C/gedit.xml:1625(para) +#: C/pluma.xml:1625(para) msgid "" "The amount of space used, and whether tab character or space characters are " "used, depends on the Tab Stops settings in the Editor " -"Preferences: see ." +"Preferences: see ." msgstr "" "空白的数量,或者是否使用 Tab 制表符,使用空格字符,取决于编辑器首选项中的 " -"制表符 设置,请参阅:制表符 设置,请参阅:。" -#: C/gedit.xml:1630(title) +#: C/pluma.xml:1630(title) msgid "Insert Date/Time Plugin" msgstr "插入日期/时间插件" -#: C/gedit.xml:1631(para) +#: C/pluma.xml:1631(para) msgid "" "The Insert Date/Time plugin inserts the current " "date and time into a document. To use the Insert Date/Time plugin, perform " @@ -3119,7 +3119,7 @@ msgstr "" "插入日期/时间 插件可以在文档中插入当前的日期和时" "间。 要使用插入日期/时间插件,请按以下步骤操作:" -#: C/gedit.xml:1633(para) +#: C/pluma.xml:1633(para) msgid "" "Choose EditInsert Date and Time." @@ -3127,46 +3127,46 @@ msgstr "" "点菜单 编辑插入日期和时间。" -#: C/gedit.xml:1634(para) +#: C/pluma.xml:1634(para) msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click Insert to close the Insert Date " -"and Time dialog. gedit inserts the " +"and Time dialog. pluma inserts the " "date/time at the cursor position in the current file." msgstr "" "如果您还没配置“插入日期/时间”插件配置为不提示格式自动插入方式," -"gedit 将显示< guilabel>插入日期和时间 " +"pluma 将显示< guilabel>插入日期和时间 " "对话框。在列表中选择合适的日期/时间格式。单击 插入,关" -"闭 插入日期和时间 对话框;gedit插入日期和时间 对话框;pluma 将在光标的位置插入日期/时间。" -#: C/gedit.xml:1635(para) +#: C/pluma.xml:1635(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed. The date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"如果您已经配置了 gedit 使用一种指定的日期/时间格" +"如果您已经配置了 pluma 使用一种指定的日期/时间格" "式,就不会显示插入日期和时间 对话框,在当前光标位置处自" "动插入日期/时间。" -#: C/gedit.xml:1640(title) +#: C/pluma.xml:1640(title) msgid "Configuring the Insert Date/Time Plugin" msgstr "配置插入日期/时间插件" -#: C/gedit.xml:1641(para) +#: C/pluma.xml:1641(para) msgid "To configure the Insert Date/Time plugin, perform the following steps:" msgstr "要配置插入日期/时间插件,请执行以下步骤:" -#: C/gedit.xml:1649(para) +#: C/pluma.xml:1649(para) msgid "Select the Insert Date/Time plugin." msgstr "选择 插入日期/时间插件。" -#: C/gedit.xml:1652(para) +#: C/pluma.xml:1652(para) msgid "" "Click Configure Plugin to display the " "Configure insert date/time plugin dialog." @@ -3174,11 +3174,11 @@ msgstr "" "点 配置插件 按钮,出来一个 配置插入日期/时间" "插件 对话框。" -#: C/gedit.xml:1655(para) +#: C/pluma.xml:1655(para) msgid "Select one of the options, as follows:" msgstr "如下所述,选择其中一个选项:" -#: C/gedit.xml:1657(para) +#: C/pluma.xml:1657(para) msgid "" "To specify the date/time format each time you insert the date/time, select " "the Prompt for a format option." @@ -3186,23 +3186,23 @@ msgstr "" "要在每次插入日期/时间时,都指定日期/时间的格式,请选择 提示输入格" "式 选项。" -#: C/gedit.xml:1660(para) +#: C/pluma.xml:1660(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"要在每次插入日期/时间时使用 gedit 提供的同一日期/" +"要在每次插入日期/时间时使用 pluma 提供的同一日期/" "时间格式,请选择 使用选定的格式 选项,然后从列表中选择合" -"适的格式。选择此选项后,gedit 便不会在您点 " +"适的格式。选择此选项后,pluma 便不会在您点 " "编辑插入日期和时间 时提示您输入日期/时间格式。" -#: C/gedit.xml:1663(para) +#: C/pluma.xml:1663(para) msgid "" "To use the same customized date/time format each time you insert the date/" "time, select the Use custom format option, then enter " @@ -3210,7 +3210,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -3218,11 +3218,11 @@ msgstr "" "式 选项,然后在文本框中输入合适的格式。有关如何指定定制格式的更多" "信息,请参阅 strftime3。选择此选项后,gedit。选择此选项后,pluma 便不会在您点 编辑插" "入日期和时间 时提示您输入日期/时间格式。" -#: C/gedit.xml:1668(para) +#: C/pluma.xml:1668(para) msgid "" "Click OK to close the Configure insert date/" "time plugin dialog." @@ -3230,7 +3230,7 @@ msgstr "" "单击 确定,关闭 配置插入日期/时间插件 对话框。" -#: C/gedit.xml:1671(para) +#: C/pluma.xml:1671(para) msgid "" "To close the Preferences dialog, click " "Close." @@ -3238,48 +3238,48 @@ msgstr "" "要关闭 首选项 对话框,请单击 关闭。" -#: C/gedit.xml:1678(title) +#: C/pluma.xml:1678(title) msgid "Modelines Plugin" msgstr "Modelines 插件" -#: C/gedit.xml:1679(para) +#: C/pluma.xml:1679(para) msgid "" "The Modelines plugin allows you to set " "preferences for individual documents. A modeline is a " "line of text at the start or end of the document with settings that " -"gedit recognises." +"pluma recognises." msgstr "" "Modelines 允许您为特殊的文档设置选项。" "modeline 是在文档开头或结束的一行文本,可以由 " -"gedit 识别。" +"pluma 识别。" -#: C/gedit.xml:1680(para) +#: C/pluma.xml:1680(para) msgid "" "Preferences set using modelines take precedence over the ones specified in " "the preference dialog." msgstr "使用 modelines 设置的选项,会覆盖在首选项对话框里设定的选项。" -#: C/gedit.xml:1681(para) +#: C/pluma.xml:1681(para) msgid "You can set the following preferences with modelines:" msgstr "您可以用 modelines 设定下面的选项:" -#: C/gedit.xml:1684(para) +#: C/pluma.xml:1684(para) msgid "Tab width" msgstr "Tab 制表符宽度" -#: C/gedit.xml:1687(para) +#: C/pluma.xml:1687(para) msgid "Indent width" msgstr "缩进宽度" -#: C/gedit.xml:1690(para) +#: C/pluma.xml:1690(para) msgid "Insert spaces instead of tabs" msgstr "插入空格而不是制表符" -#: C/gedit.xml:1696(para) +#: C/pluma.xml:1696(para) msgid "Right margin width" msgstr "右边距宽度" -#: C/gedit.xml:1700(para) +#: C/pluma.xml:1700(para) msgid "" "The Modelines plugin supports a subset of the " "options used by other text editors Emacs, " @@ -3289,17 +3289,17 @@ msgstr "" "EmacsKate 和 " "Vim。" -#: C/gedit.xml:1703(title) +#: C/pluma.xml:1703(title) msgid "Emacs Modelines" msgstr "Emacs Modelines" -#: C/gedit.xml:1704(para) +#: C/pluma.xml:1704(para) msgid "" "The first two lines of a document are scanned for Emacs modelines." msgstr "为 Emacs modelines 扫描文档开头的两行。" -#: C/gedit.xml:1705(para) +#: C/pluma.xml:1705(para) msgid "" "The Emacs options for tab-width, indent-offset, " "indent-tabs-mode and autowrap are supported. For more information, see the " @@ -3310,17 +3310,17 @@ msgstr "" "行。更多相关信息,请参阅:GNU Emacs 手册。" -#: C/gedit.xml:1708(title) +#: C/pluma.xml:1708(title) msgid "Kate Modelines" msgstr "Kate Modelines" -#: C/gedit.xml:1709(para) +#: C/pluma.xml:1709(para) msgid "" "The first and last ten lines a document are scanned for Kate modelines." msgstr "为 Kate modelines 扫描文档开头和最后十行。" -#: C/gedit.xml:1710(para) +#: C/pluma.xml:1710(para) msgid "" "The Kate options for tab-width, indent-width, " "space-indent, word-wrap and word-wrap-column are supported. For more " @@ -3331,17 +3331,17 @@ msgstr "" "行和单词列换行。更多相关信息,请参阅: Kate 网站。" -#: C/gedit.xml:1713(title) +#: C/pluma.xml:1713(title) msgid "Vim Modelines" msgstr "Vim Modelines" -#: C/gedit.xml:1714(para) +#: C/pluma.xml:1714(para) msgid "" "The first and last three lines a document are scanned for Vim modelines." msgstr "为 Vim modelines 扫描文档开头和最后的三行。" -#: C/gedit.xml:1715(para) +#: C/pluma.xml:1715(para) msgid "" "The Vim options for et, expandtab, ts, tabstop, " "sw, shiftwidth, wrap, and textwidth are supported. For more information, see " @@ -3353,35 +3353,35 @@ msgstr "" "url=\"http://vimdoc.sourceforge.net/htmldoc/options.html#modeline\">Vim 网站" "。" -#: C/gedit.xml:1720(title) +#: C/pluma.xml:1720(title) msgid "Python Console Plugin" msgstr "Python 控制台插件" -#: C/gedit.xml:1721(para) +#: C/pluma.xml:1721(para) msgid "" "The Python Console Plugin allows you to run " -"commands in the python programming language from geditpluma. Enabling the plugin adds a tab to the bottom pane. This shows " "recent output and a command prompt field." msgstr "" -"Python 控制台 插件允许您在 geditPython 控制台 插件允许您在 pluma 中运行 python 编程语言中命令。启用该插件会在底部栏添加一个标签。" "显示最近输出结果和命令提示符域。" -#: C/gedit.xml:1722(para) +#: C/pluma.xml:1722(para) msgid "" "Commands entered into the python console are not checked before they are " -"run. It is therefore possible to hang gedit, for " +"run. It is therefore possible to hang pluma, for " "example by entering an infinite loop." msgstr "" -"命令进入 python 控制台运行前并不检查。因而它可能导致 geditpluma 挂起,例如输入了一个无限循环。" -#: C/gedit.xml:1726(title) +#: C/pluma.xml:1726(title) msgid "Snippets Plugin" msgstr "片段插件" -#: C/gedit.xml:1727(para) +#: C/pluma.xml:1727(para) msgid "" "The Snippets plugin allows you to store " "frequently-used pieces of text, called snippets, and " @@ -3390,7 +3390,7 @@ msgstr "" "片段 插件,允许您存储常用的文本片段,称作" "片段,可以很方便地插入文档中。" -#: C/gedit.xml:1728(para) +#: C/pluma.xml:1728(para) msgid "" "Snippets are specific to the language syntax of the current document. For " "example, when you are working with an HTML document, you can choose from a " @@ -3400,17 +3400,17 @@ msgstr "" "片段指定到了当前语言格式。例如,当您在 HTML 下操作,您可以从片段列表中选择有" "用的 HTML 片段。另外,一些片段是全局的,可用于所有的文档。" -#: C/gedit.xml:1729(para) +#: C/pluma.xml:1729(para) msgid "" -"A number of built-in snippets are installed with geditpluma, which can be modified." -msgstr "gedit 提供了许多内置的片段,可以被设置。" +msgstr "pluma 提供了许多内置的片段,可以被设置。" -#: C/gedit.xml:1732(title) +#: C/pluma.xml:1732(title) msgid "Inserting Snippets" msgstr "插入片段" -#: C/gedit.xml:1733(para) +#: C/pluma.xml:1733(para) msgid "" "To insert a snippet into a document, type its tab trigger and press Tab. A snippet's tab trigger is " @@ -3421,7 +3421,7 @@ msgstr "" "Tab。片段触发器通常是片段的开头几个字符,或者是一些其他短的" "好记的字符。" -#: C/gedit.xml:1734(para) +#: C/pluma.xml:1734(para) msgid "" "Alternatively, press CtrlSpace to see a list of snippets you can insert." @@ -3429,15 +3429,15 @@ msgstr "" "另外,按 CtrlSpace " "键,查看您可以使用的片段列表。" -#: C/gedit.xml:1738(title) +#: C/pluma.xml:1738(title) msgid "Adding Snippets" msgstr "添加片段" -#: C/gedit.xml:1739(para) +#: C/pluma.xml:1739(para) msgid "To create a new snippet, do the following:" msgstr "要创建一个新片段,请按下面的步骤操作:" -#: C/gedit.xml:1742(para) +#: C/pluma.xml:1742(para) msgid "" "Choose ToolsManage Snippets. The Snippets Manager window " @@ -3446,7 +3446,7 @@ msgstr "" "点菜单 工具管理片段,出来一个 片段管理器 窗口。" -#: C/gedit.xml:1745(para) +#: C/pluma.xml:1745(para) msgid "" "The list of snippets is grouped by language. Select the language you want to " "add a snippet to, or a snippet in that language group. To add a snippet for " @@ -3456,19 +3456,19 @@ msgstr "" "片段列表按语言分组。选择您想添加片段的语言,或者那个语言的片段组。要为所有语" "言添加片段,点列表顶部的全局。默认显示您当前编辑文档的格式。" -#: C/gedit.xml:1748(para) +#: C/pluma.xml:1748(para) msgid "Click New. A new snippet appears in the list." msgstr "点 新建,列表中出来一个新的片段。" -#: C/gedit.xml:1751(para) +#: C/pluma.xml:1751(para) msgid "Enter the following information for the new snippet:" msgstr "为新片段输入下面的信息:" -#: C/gedit.xml:1753(term) +#: C/pluma.xml:1753(term) msgid "Name" msgstr "名称" -#: C/gedit.xml:1755(para) +#: C/pluma.xml:1755(para) msgid "" "Enter a name for the snippet in the text field within the snippet list. The " "name of a snippet serves only as a reminder of its purpose. You can change " @@ -3477,20 +3477,20 @@ msgstr "" "在文本框中输入片段的名称。片段名称仅仅是它作用的提示。您可以通过点击它来改变" "名称。" -#: C/gedit.xml:1758(term) +#: C/pluma.xml:1758(term) msgid "Snippet text" msgstr "片段文本" -#: C/gedit.xml:1760(para) +#: C/pluma.xml:1760(para) msgid "" "Enter the text of the snippet in the Edit snippet text " -"box. For special codes you can use, see ." msgstr "" "在编辑片段 文本框中,输入片段的内容。您可以使用特殊代" -"码,请参阅:。" +"码,请参阅:。" -#: C/gedit.xml:1761(para) +#: C/pluma.xml:1761(para) msgid "" "You can switch back to the document window to copy text without closing the " "Snippets Manager window." @@ -3498,11 +3498,11 @@ msgstr "" "您可以切换到文档窗口,复制里面的文本,而不需要关闭 片段管理器 窗口。" -#: C/gedit.xml:1764(term) +#: C/pluma.xml:1764(term) msgid "Tab Trigger" msgstr "Tab 触发器" -#: C/gedit.xml:1766(para) +#: C/pluma.xml:1766(para) msgid "" "Enter the tab trigger for the snippet. This is the text that you type before " "pressing Tab to insert the snippet." @@ -3510,7 +3510,7 @@ msgstr "" "为片段输入标记触发器。这个文本是您输入后按 Tab 键,就会插入" "片段。" -#: C/gedit.xml:1767(para) +#: C/pluma.xml:1767(para) msgid "" "The tag must be either a single word comprising only letters, or any single " "character. The Tab trigger will highlight in red if an " @@ -3519,35 +3519,35 @@ msgstr "" "标记必须是单个由字母组成的词,或者是单个字符。Tab 触发器 会用红色高亮显示,表示输入了一个触发器。" -#: C/gedit.xml:1770(term) +#: C/pluma.xml:1770(term) msgid "Shortcut key" msgstr "快捷键" -#: C/gedit.xml:1772(para) +#: C/pluma.xml:1772(para) msgid "Type a shortcut key to use for inserting the snippet." msgstr "输入用来插入片段的快捷键。" -#: C/gedit.xml:1781(title) +#: C/pluma.xml:1781(title) msgid "Editing and Removing Snippets" msgstr "编辑和删除片段" -#: C/gedit.xml:1782(para) +#: C/pluma.xml:1782(para) msgid "" "To edit a snippet, select it in the list and make changes to its text and " "activation properties." msgstr "要编辑一个片段,在列表中选中它,然后更改它的文本和激活属性。" -#: C/gedit.xml:1783(para) +#: C/pluma.xml:1783(para) msgid "To rename a snippet, click it again in the list." msgstr "要重命名一个片段,在列表中再次点击它。" -#: C/gedit.xml:1784(para) +#: C/pluma.xml:1784(para) msgid "" "To restore a built-in snippet that you have changed, press Revert." msgstr "要恢复您更改了的内置片段,点 复原 按钮。" -#: C/gedit.xml:1785(para) +#: C/pluma.xml:1785(para) msgid "" "To remove a snippet, select it in the list and press Remove. You can not remove built-in snippets, only those you have " @@ -3556,11 +3556,11 @@ msgstr "" "要删除一个片段,在列表中选中它,然后点 删除。您不能删" "除内置的片段,只能删除您自己创建的片段。" -#: C/gedit.xml:1789(title) +#: C/pluma.xml:1789(title) msgid "Snippet Substitutions" msgstr "替代片段" -#: C/gedit.xml:1790(para) +#: C/pluma.xml:1790(para) msgid "" "In addition to inserting stored text, a snippet can include customizable " "text, or mark spaces where you can add text once the snippet is inserted in " @@ -3569,15 +3569,15 @@ msgstr "" "除了插入已经存储的文本,片段可以包括自定义文本,或者标记空格,您可以添加自己" "文本。" -#: C/gedit.xml:1794(para) +#: C/pluma.xml:1794(para) msgid "You can use the following placeholder codes in snippet text:" msgstr "您可以在片段文本中使用下面的占位符代码:" -#: C/gedit.xml:1796(term) +#: C/pluma.xml:1796(term) msgid "Tab placeholders" msgstr "Tab 占位符" -#: C/gedit.xml:1798(para) +#: C/pluma.xml:1798(para) msgid "" "$n defines a tab placeholder, " "where n is any number from 1 upwards." @@ -3585,7 +3585,7 @@ msgstr "" "$n 定义一个 tab 占位符," "n 是从 1 开始的数字。" -#: C/gedit.xml:1799(para) +#: C/pluma.xml:1799(para) msgid "" "${n:default} defines a tab placeholder with a default value." @@ -3593,13 +3593,13 @@ msgstr "" "${n:default} 用默认值定义一个 tab 占位符。" -#: C/gedit.xml:1800(para) +#: C/pluma.xml:1800(para) msgid "" "A tab placeholder marks a place in the snippet text where you can add extra " "text after the snippet is inserted." msgstr "tab 占位符在片段文本中标记一个区域,您可以在插入片段后添加额外的文本。" -#: C/gedit.xml:1801(para) +#: C/pluma.xml:1801(para) msgid "" "To use tab placeholders, insert the snippet as normal. The cursor is placed " "at the first tab placeholder. Type text, and press Tab to " @@ -3610,7 +3610,7 @@ msgstr "" "本,然后按 Tab 到下一个 tab 占位符。占位符的序号定义了在文本" "中各个 tab 的位置。" -#: C/gedit.xml:1802(para) +#: C/pluma.xml:1802(para) msgid "" "Press ShiftTab to " "return to the previous tab placeholder. Pressing Tab when " @@ -3621,11 +3621,11 @@ msgstr "" "个 tab 占位符。当再没有占位符时,按 Tab 键结束片段,或者到最" "后一个占位符,如果它存在的话。" -#: C/gedit.xml:1805(term) +#: C/pluma.xml:1805(term) msgid "Mirror placeholders" msgstr "Mirror 占位符" -#: C/gedit.xml:1807(para) +#: C/pluma.xml:1807(para) msgid "" "A repeated tab placeholder will mirror the placeholder already defined. This " "allows you to type in text only once that you want to appear several times " @@ -3634,11 +3634,11 @@ msgstr "" "重复 tab 占位符,将会映像已经定义的占位符。这就可以让您输入一次而重复多次这个" "片段。" -#: C/gedit.xml:1810(term) +#: C/pluma.xml:1810(term) msgid "End placeholder" msgstr "End 占位符" -#: C/gedit.xml:1812(para) +#: C/pluma.xml:1812(para) msgid "" "$0 defines the end placeholder. This allows you to finish " "working with the snippet with the cursor at a point other than the end of " @@ -3647,62 +3647,62 @@ msgstr "" "$0 定义最后占位符。这就允许您完成片段操作,而不是光标停在" "最后一个片段文本。" -#: C/gedit.xml:1815(term) +#: C/pluma.xml:1815(term) msgid "Environmental variables" msgstr "环境变量" -#: C/gedit.xml:1817(para) +#: C/pluma.xml:1817(para) msgid "" "Environmental variable such as $PATH and $HOME are substituted in snippet text. The following variables specific " -"to gedit can also be used:" +"to pluma can also be used:" msgstr "" "环境变量是指像 $PATH$HOME,可以在片" -"段中替代。下面的变量可以在 gedit 中使用:" +"段中替代。下面的变量可以在 pluma 中使用:" -#: C/gedit.xml:1819(term) -msgid "$GEDIT_SELECTED_TEXT" -msgstr "$GEDIT_SELECTED_TEXT" +#: C/pluma.xml:1819(term) +msgid "$PLUMA_SELECTED_TEXT" +msgstr "$PLUMA_SELECTED_TEXT" -#: C/gedit.xml:1821(para) +#: C/pluma.xml:1821(para) msgid "The currently selected text." msgstr "当前选中的文本。" -#: C/gedit.xml:1824(term) -msgid "$GEDIT_FILENAME" -msgstr "$GEDIT_FILENAME" +#: C/pluma.xml:1824(term) +msgid "$PLUMA_FILENAME" +msgstr "$PLUMA_FILENAME" -#: C/gedit.xml:1826(para) +#: C/pluma.xml:1826(para) msgid "" "The full filename of the document, or an empty string if the document isn't " "saved yet." msgstr "文档的完整名称,对于还没有保存的问道,是一个空字符串。" -#: C/gedit.xml:1829(term) -msgid "$GEDIT_BASENAME" -msgstr "$GEDIT_BASENAME" +#: C/pluma.xml:1829(term) +msgid "$PLUMA_BASENAME" +msgstr "$PLUMA_BASENAME" -#: C/gedit.xml:1831(para) +#: C/pluma.xml:1831(para) msgid "" "The basename of the filename of the document, or an empty string if the " "document isn't saved yet." msgstr "文档文件名的基本名,对于还没保存的文档,是一个空字符串。" -#: C/gedit.xml:1834(term) -msgid "$GEDIT_CURRENT_WORD" -msgstr "$GEDIT_CURRENT_WORD" +#: C/pluma.xml:1834(term) +msgid "$PLUMA_CURRENT_WORD" +msgstr "$PLUMA_CURRENT_WORD" -#: C/gedit.xml:1836(para) +#: C/pluma.xml:1836(para) msgid "" "The word at the cursor's location in the document. When this variable is " "used, the current word will be replaced by the snippet text." msgstr "文档里光标所在位置的词。当使用这个变量时,当前词将会被片段替代。" -#: C/gedit.xml:1844(term) +#: C/pluma.xml:1844(term) msgid "Shell placeholders" msgstr "Shell 占位符" -#: C/gedit.xml:1846(para) +#: C/pluma.xml:1846(para) msgid "" "$(cmd) is replaced by the " "result of executing cmd in a shell." @@ -3710,7 +3710,7 @@ msgstr "" "$(cmd) 会被 shell 里运行的 " "cmd 结果替换。" -#: C/gedit.xml:1847(para) +#: C/pluma.xml:1847(para) msgid "" "$(n:cmd) allows you to give this placeholder a reference, where " @@ -3723,11 +3723,11 @@ msgstr "" "个从 1 开始的数字。使用 $n,用" "一个 shell 的输出,作为另一个的输入。" -#: C/gedit.xml:1850(term) +#: C/pluma.xml:1850(term) msgid "Python placeholders" msgstr "Python 占位符" -#: C/gedit.xml:1852(para) +#: C/pluma.xml:1852(para) msgid "" "$<cmd> is replaced by " "the result of evaluating cmd in the python " @@ -3736,7 +3736,7 @@ msgstr "" "$<cmd> 在 python 解释器" "里,用结果值来替换。" -#: C/gedit.xml:1853(para) +#: C/pluma.xml:1853(para) msgid "" "$<a:cmd>" " specifies another python placeholder as a dependency, where " @@ -3752,23 +3752,23 @@ msgstr "" "个附属,用逗号分隔开: $<a," "b:cmd>" -#: C/gedit.xml:1854(para) +#: C/pluma.xml:1854(para) msgid "" "To use a variable in all other python snippets, declare it as " "global." msgstr "要在所有 python 片段里使用变量,用 global 声明它。" -#: C/gedit.xml:1863(title) +#: C/pluma.xml:1863(title) msgid "Sort Plugin" msgstr "排序插件" -#: C/gedit.xml:1864(para) +#: C/pluma.xml:1864(para) msgid "" "The Sort plugin arranges selected lines of text " "into alphabetical order." msgstr "排序 插件,可以按字母顺序排列选中的行。" -#: C/gedit.xml:1865(para) +#: C/pluma.xml:1865(para) msgid "" "You cannot undo the Sort operation, so you should save the file before " "performing the sort. To revert to the saved version of the file after the " @@ -3779,15 +3779,15 @@ msgstr "" "保存的文件,点菜单 文件复原。" -#: C/gedit.xml:1868(para) +#: C/pluma.xml:1868(para) msgid "To use the Sort plugin, perform the following steps:" msgstr "要使用排序插件,请执行以下步骤:" -#: C/gedit.xml:1871(para) +#: C/pluma.xml:1871(para) msgid "Select the lines of text you want to sort." msgstr "选中你想排序的行。" -#: C/gedit.xml:1873(para) +#: C/pluma.xml:1873(para) msgid "" "Choose EditSort. The Sort dialog opens." @@ -3795,26 +3795,26 @@ msgstr "" "点菜单 编辑排序,出来一个 排序 对话框。" -#: C/gedit.xml:1876(para) +#: C/pluma.xml:1876(para) msgid "Choose the options you want for the sort:" msgstr "设定您想要的排序选项:" -#: C/gedit.xml:1879(para) +#: C/pluma.xml:1879(para) msgid "" "To arrange the text in reverse order, select Reverse order." msgstr "要按反向顺序排列文本,选中 逆序顺序 选项。" -#: C/gedit.xml:1882(para) +#: C/pluma.xml:1882(para) msgid "" "To delete duplicate lines, select Remove duplicates." msgstr "要删除重复的行,选中 删除重复内容 选项。" -#: C/gedit.xml:1885(para) +#: C/pluma.xml:1885(para) msgid "To ignore case sensitivity, select Ignore case." msgstr "要忽略大小写,选中 忽略大小写 选项。" -#: C/gedit.xml:1888(para) +#: C/pluma.xml:1888(para) msgid "" "To have the sort ignore the characters at the start of the lines, set the " "first character that should be used for sorting in the Start at " @@ -3823,29 +3823,29 @@ msgstr "" "要指定排序的开始位置,请在 起始列 微调按钮框中设定开始排" "序的字符列。" -#: C/gedit.xml:1893(para) +#: C/pluma.xml:1893(para) msgid "To perform the sort operation, click Sort." msgstr "要执行排序操作,点击 排序 按钮。" -#: C/gedit.xml:1900(title) +#: C/pluma.xml:1900(title) msgid "Spell Checker Plugin" msgstr "拼写检查插件" -#: C/gedit.xml:1901(para) +#: C/pluma.xml:1901(para) msgid "" "The Spell Checker plugin checks the spelling in " -"the selected text. You can configure gedit to " +"the selected text. You can configure pluma to " "check the spelling automatically, or you can check the spelling manually, in " "the specified language. The language setting, and the autocheck spelling " "properties, apply per document. To use the Spell checker plugin, perform the " "following steps:" msgstr "" "拼写检查 检查选中文本的拼写。您可以在指定的语言" -"里,配置 gedit 自动简单拼写,或者您可以手动检查拼" +"里,配置 pluma 自动简单拼写,或者您可以手动检查拼" "写。语言设置、自动拼写检查属性,应用于每个文档。要使用拼写检查插件,请按下面" "的步骤操作:" -#: C/gedit.xml:1903(para) +#: C/pluma.xml:1903(para) msgid "" "Choose ToolsSet Language to display the Set language " @@ -3857,7 +3857,7 @@ msgstr "" "列表中选择合适的语言,然后点 确定,关闭 设置" "语言 对话框。" -#: C/gedit.xml:1906(para) +#: C/pluma.xml:1906(para) msgid "" "To check the spelling automatically, choose ToolsAutocheck Spelling. To unset " @@ -3865,17 +3865,17 @@ msgid "" "guimenu>Autocheck Spelling again. " "When automatic spell checking is set, an icon is displayed beside the " "Autocheck Spelling menu item. Automatic spell " -"checking is unset by default, each time gedit " +"checking is unset by default, each time pluma " "starts." msgstr "" "要启用自动拼写检查,点菜单 工具自" "动检查拼写。要取消自动拼写检查,再次点 " "工具自动检查拼写。当启用自动拼写检查,在 自动检查拼写 " -"菜单项旁边会出现一个图标。默认情况下,每次 gedit " +"菜单项旁边会出现一个图标。默认情况下,每次 pluma " "启动时,不启用自动拼写检查。" -#: C/gedit.xml:1907(para) +#: C/pluma.xml:1907(para) msgid "" "Unknown spellings are displayed in a different color, and underlined. Right-" "click on an unknown spelling, then select Spelling Suggestions拼写建议:" -#: C/gedit.xml:1910(para) +#: C/pluma.xml:1910(para) msgid "" "To replace the unknown spelling with another spelling in the list, select " "the replacement spelling from the Spelling Suggestions " "popup menu." msgstr "要替换未知拼写,从 拼写建议 菜单里选择一项。" -#: C/gedit.xml:1913(para) +#: C/pluma.xml:1913(para) msgid "" "To add the unknown spelling to your personal dictionary, select " "Spelling SuggestionsAdd拼写建议添加。" -#: C/gedit.xml:1916(para) +#: C/pluma.xml:1916(para) msgid "" "To ignore all occurrences of the unknown spelling, so that they are no " "longer flagged as unknown but are not added to your personal dictionary, " "select Spelling SuggestionsIgnore All. The unknown word " -"is ignored in the current gedit session only." +"is ignored in the current pluma session only." msgstr "" "要忽略所有这个未知的拼写,以便它们不再显示未知拼写,但不添加到您的个人字典" "中,选择 拼写建议全部忽略。在当前 gedit 中会忽略所" +"guimenuitem>。在当前 pluma 中会忽略所" "有这个未知的词。" -#: C/gedit.xml:1921(para) +#: C/pluma.xml:1921(para) msgid "" "To check the spelling manually, choose ToolsCheck Spelling." @@ -3921,7 +3921,7 @@ msgstr "" "要手动进行拼写检查,点菜单 工具拼" "写检查。" -#: C/gedit.xml:1923(para) +#: C/pluma.xml:1923(para) msgid "" "If there are no spelling errors, an Information dialog " "displays a message stating that the document does not contain misspelled " @@ -3932,19 +3932,19 @@ msgstr "" "错误拼写。点 确定 关闭这个 信息 " "对话框。" -#: C/gedit.xml:1925(para) +#: C/pluma.xml:1925(para) msgid "" "If there are spelling errors, the Check Spelling dialog " "is displayed:" msgstr "如果发现错误拼写,出来一个 检查拼写 对话框:" -#: C/gedit.xml:1928(para) +#: C/pluma.xml:1928(para) msgid "" "The Misspelled word is displayed at the top of the " "dialog." msgstr "拼错的词 显示在对话框的顶部。" -#: C/gedit.xml:1931(para) +#: C/pluma.xml:1931(para) msgid "" "A suggested known spelling is displayed in the Change to text box. You can replace this with another known spelling by " @@ -3955,7 +3955,7 @@ msgstr "" "建议 里,选择其他词语来替换,或者您可以直接输入到 " "更改为 文本框里。" -#: C/gedit.xml:1934(para) +#: C/pluma.xml:1934(para) msgid "" "To check the spelling of the text in the Change to text " "box, click Check Word. If this is a known word, the " @@ -3968,18 +3968,18 @@ msgstr "" "替换 (正确拼写)。如果这个词也未知,新的项出现在 " "建议 列表中。" -#: C/gedit.xml:1937(para) +#: C/pluma.xml:1937(para) msgid "" "To ignore the current occurrence of the unknown word, click " "Ignore. To ignore all occurrences of the unknown " "word, click Ignore All. The unknown word is ignored " -"in the current gedit session only." +"in the current pluma session only." msgstr "" "要忽略当前的检查,点 忽略。要忽略所有这个未知词的检" -"查,点 全部忽略。在当前 gedit全部忽略。在当前 pluma 中不再对这个词检查。" -#: C/gedit.xml:1940(para) +#: C/pluma.xml:1940(para) msgid "" "To change the current occurrence of the unknown word to the text in the " "Change to text box, click Change更改 按钮。要把所有这个未知词替换为 更改为 文本框里的词,点 全部更改。" -#: C/gedit.xml:1943(para) +#: C/pluma.xml:1943(para) msgid "" "To add the unknown word to your personal dictionary, click Add " "word." msgstr "要添加未知单词到您的个人字典,点 添加单词。" -#: C/gedit.xml:1946(para) +#: C/pluma.xml:1946(para) msgid "" "To close the Check Spelling dialog, click " "Close." msgstr "" "要关闭 拼写检查 对话框,点 关闭。" -#: C/gedit.xml:1955(title) +#: C/pluma.xml:1955(title) msgid "Tag List Plugin" msgstr "标记列表插件" -#: C/gedit.xml:1956(para) +#: C/pluma.xml:1956(para) msgid "" "The Tag List plugin allows you to insert common " "tags from a list in the side pane." msgstr "标记列表 插件,允许您从侧栏中插入通用标记。" -#: C/gedit.xml:1957(para) +#: C/pluma.xml:1957(para) msgid "To use the Tag List plugin, perform the following steps:" msgstr "要使用标记列表插件,请按以下步骤操作:" -#: C/gedit.xml:1959(para) +#: C/pluma.xml:1959(para) msgid "" "Choose ViewSide Pane." @@ -4026,7 +4026,7 @@ msgstr "" "点菜单 查看侧边栏。" -#: C/gedit.xml:1963(para) +#: C/pluma.xml:1963(para) msgid "" "By default, the side pane shows a tab containing a list of open documents. " "Click on the tab showing a + icon at the bottom of the side pane to show the " @@ -4035,18 +4035,18 @@ msgstr "" "默认情况下,侧边栏显示包含打开文档列表的标签。点击侧栏底部一个 + 图标的标签," "显示标记列表。" -#: C/gedit.xml:1965(para) +#: C/pluma.xml:1965(para) msgid "" "Select the appropriate tag category from the drop-down list. For example, " "HTML - Tags." msgstr "" "在下拉列表中选择合适的标记种类。例如,HTML - 标记。" -#: C/gedit.xml:1968(para) +#: C/pluma.xml:1968(para) msgid "Scroll through the tag list to find the required tag." msgstr "卷动该标记列表查找所需的标记。" -#: C/gedit.xml:1971(para) +#: C/pluma.xml:1971(para) msgid "" "To insert a tag at the cursor position in the current file, double-click on " "the tag in the tag list. You can also insert a tag as follows:" @@ -4054,7 +4054,7 @@ msgstr "" "要在当前文件的光标位置插入标记,请双击标记列表中的标记。您也可以按照如下步骤" "插入标记:" -#: C/gedit.xml:1973(para) +#: C/pluma.xml:1973(para) msgid "" "To insert a tag in the current file and change the focus from the side pane " "to the display area, press Return." @@ -4062,7 +4062,7 @@ msgstr "" "要在当前文件中插入标记,并将焦点从 标记列表 栏移到工作" "区,按一下 回车键。" -#: C/gedit.xml:1976(para) +#: C/pluma.xml:1976(para) msgid "" "To insert a tag in the current file and maintain the focus on the " "Tag list plugin window, press ShiftShift回车键。" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 -#: C/gedit.xml:0(None) +#: C/pluma.xml:0(None) msgid "translator-credits" msgstr "TeliuTe" #~ msgid "" -#~ "User NameUser Name inserts the username of the current user into the document." #~ msgstr "" -#~ "用户名用户名 在文档中插入当前用户名。" #~ msgid "User Name Plugin" @@ -4100,29 +4100,29 @@ msgstr "TeliuTe" #~ "要在当前光标位置插入您的用户名,点菜单 编辑插入用户名。" -#~ msgid "gedit Manual V2.5.1" -#~ msgstr "gedit 手册 V2.5.1" +#~ msgid "pluma Manual V2.5.1" +#~ msgstr "pluma 手册 V2.5.1" #~ msgid "" -#~ "The gedit application enables you to create " -#~ "and edit text files. You can use gedit plugins " +#~ "The pluma application enables you to create " +#~ "and edit text files. You can use pluma plugins " #~ "to perform a variety of tasks related to text-editing from within the " -#~ "gedit window." +#~ "pluma window." #~ msgstr "" -#~ "gedit 应用程序使您可以创建和编辑文本文件。您可" -#~ "以使用 gedit 插件在 geditpluma 应用程序使您可以创建和编辑文本文件。您可" +#~ "以使用 pluma 插件在 pluma 窗口中执行有关文本编辑的各种任务。" #~ msgid "" -#~ "For information about how to start gedit from " +#~ "For information about how to start pluma from " #~ "a menu, see the latest version of the MATE Desktop User Guide for your " #~ "platform." #~ msgstr "" -#~ "有关如何从菜单启动 gedit 的信息,请参见适用于您" +#~ "有关如何从菜单启动 pluma 的信息,请参见适用于您" #~ "的平台的 MATE Desktop User Guide 的最新版本。" -#~ msgid "When You Start gedit" -#~ msgstr "在启动 gedit 时" +#~ msgid "When You Start pluma" +#~ msgstr "在启动 pluma 时" #~ msgid "" #~ "The output window displays the output returned by the Shell command " @@ -4130,36 +4130,36 @@ msgstr "TeliuTe" #~ msgstr "输出窗口显示 Shell 命令插件和比较文件插件返回的输出。" #~ msgid "" -#~ "You can open multiple files in gedit. The " +#~ "You can open multiple files in pluma. The " #~ "application displays one file at a time in the application window. The " #~ "application adds a tab for each open file to the window. To display " #~ "another open file, click on the tab that corresponds to the file. To " -#~ "create a new gedit window for each file that " +#~ "create a new pluma window for each file that " #~ "is open, drag the tab corresponding to each file to the desktop " #~ "background." #~ msgstr "" -#~ "您可以在 gedit 中打开多个文件。 该应用程序一次" +#~ "您可以在 pluma 中打开多个文件。 该应用程序一次" #~ "只能在应用程序窗口中显示一个文件。该应用程序会在窗口上为每个打开的文件添加" #~ "一个选项卡。要显示另一个打开的文件,请单击与该文件对应的选项卡。要为每个打" -#~ "开的文件创建一个新的 gedit 窗口,请将与每个文件" +#~ "开的文件创建一个新的 pluma 窗口,请将与每个文件" #~ "对应的选项卡拖到桌面背景上。" #~ msgid "" #~ "You can also use the Documents menu to move between " #~ "the open files. You can choose DocumentsMove to New Window to " -#~ "move a document to a new gedit window." +#~ "move a document to a new pluma window." #~ msgstr "" #~ "也可以使用“文档”菜单在打开的文件之间移动。您可以选择" #~ "“文档”“移动到新窗口”将一个文档移动到新 gedit将一个文档移动到新 pluma窗口中。" #~ msgid "" #~ "When the application starts, the files that you specify are displayed in " -#~ "the gedit window." +#~ "the pluma window." #~ msgstr "" -#~ "当该应用程序启动之后,您指定的文件将会显示在 geditpluma 窗口中。" #~ msgid "Usage" @@ -4198,14 +4198,14 @@ msgstr "TeliuTe" #~ "choose EditRedo. The number of previous edits that you can undo " #~ "is determined by the Set limit on undo actions to " -#~ "setting in the tabbed section of the " +#~ "setting in the tabbed section of the " #~ "Preferences dialog." #~ msgstr "" #~ "要取消编辑操作,请选择“编辑”“取消”。要重复编辑操作,请" #~ "选择“编辑”“重复”。可以取消的先前编辑操作的次数由下面的设置来确" -#~ "定:“首选项”对话框中“首选项”对话框中 选项卡式部分的“将取消操作的限制设置为”设置。" #~ msgid "Use this escape sequence to specify a new line" @@ -4250,10 +4250,10 @@ msgstr "TeliuTe" #~ msgid "" #~ "Alternatively, you can use the Shell command plugin to pipe command " #~ "output to the current file. For information about how to use the Shell " -#~ "command plugin, see ." +#~ "command plugin, see ." #~ msgstr "" #~ "另外,您还可以使用 Shell 命令插件将命令的输出输送到当前文件中。有关如何使" -#~ "用 Shell 命令插件的信息,请参阅 。" #~ msgid "" @@ -4361,9 +4361,9 @@ msgstr "TeliuTe" #~ msgid "" #~ "Select this option to use the default theme colors in the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" -#~ "如果选择该选项,系统将在 gedit 文本窗口中使用默" +#~ "如果选择该选项,系统将在 pluma 文本窗口中使用默" #~ "认主题颜色。" #~ msgid "Text color" @@ -4372,10 +4372,10 @@ msgstr "TeliuTe" #~ msgid "" #~ "Click on the Text color button to display the " #~ "color selector dialog. Select a color to use to display text in the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "单击“文本颜色”按钮可以显示颜色选择器对话框。选择一" -#~ "种用于在 gedit 文本窗口中显示文本的颜色。" +#~ "种用于在 pluma 文本窗口中显示文本的颜色。" #~ msgid "Background color" #~ msgstr "背景颜色" @@ -4383,10 +4383,10 @@ msgstr "TeliuTe" #~ msgid "" #~ "Click on the Background color button to display " #~ "the color selector dialog. Select a background color for the " -#~ "gedit text window." +#~ "pluma text window." #~ msgstr "" #~ "单击“背景颜色”按钮可以显示颜色选择器对话框。为 " -#~ "gedit 文本窗口选择一种背景色。" +#~ "pluma 文本窗口选择一种背景色。" #~ msgid "Selected text color" #~ msgstr "选定的文本颜色" @@ -4447,19 +4447,19 @@ msgstr "TeliuTe" #~ "某些字符可能无法正确显示,或返回错误。" #~ msgid "" -#~ "By default, gedit uses UTF-8 encoding to try " +#~ "By default, pluma uses UTF-8 encoding to try " #~ "to open a file. UTF-8 encoding can be used for multilingual texts, as UTF-" #~ "8 covers almost all known alphabets and character sets. If the file is " -#~ "not a valid UTF-8 file, gedit tries to open " +#~ "not a valid UTF-8 file, pluma tries to open " #~ "the file by using the encoding for the current locale. If this also " -#~ "fails, gedit tries to use an encoding from the " +#~ "fails, pluma tries to use an encoding from the " #~ "Supported encodings list, starting at the top of the list." #~ msgstr "" -#~ "在默认情况下,gedit 会尝试使用 UTF-8 编码打开文" +#~ "在默认情况下,pluma 会尝试使用 UTF-8 编码打开文" #~ "件。 UTF-8 编码可用于多语言文本,这是因为 UTF-8 涵盖了几乎所有已知的字母表" -#~ "和字符集。如果文件不是有效的 UTF-8 文件,gedit " +#~ "和字符集。如果文件不是有效的 UTF-8 文件,pluma " #~ "会尝试使用当前语言环境的编码打开该文件。如果这个方法也无效," -#~ "gedit 会尝试从“支援的编码”列表顶部开始选用编" +#~ "pluma 会尝试从“支援的编码”列表顶部开始选用编" #~ "码。" #~ msgid "" @@ -4570,21 +4570,21 @@ msgstr "TeliuTe" #~ msgid "" #~ "For information about how to use the Plugins " #~ "category of the Preferences dialog, see ." +#~ "linkend=\"pluma-install-plugins\"/>." #~ msgstr "" #~ "有关如何使用“首选项”对话框的“插件”类别的信息,请参见。" +#~ "guilabel>类别的信息,请参见。" #~ msgid "" #~ "A plugin is a supplementary program that enhances the functionality of an " -#~ "application. The gedit plugins enable you to " +#~ "application. The pluma plugins enable you to " #~ "perform a variety of functions related to text editing from within the " -#~ " gedit window. The following table lists the " -#~ " gedit plugins." +#~ " pluma window. The following table lists the " +#~ " pluma plugins." #~ msgstr "" -#~ "插件就是用来增强应用程序功能的辅助程序。gedit " -#~ "插件使您可以在 gedit 窗口内执行有关文本编辑的各" -#~ "种功能。下表列出了 gedit 插件。" +#~ "插件就是用来增强应用程序功能的辅助程序。pluma " +#~ "插件使您可以在 pluma 窗口内执行有关文本编辑的各" +#~ "种功能。下表列出了 pluma 插件。" #~ msgid "Plugin Name" #~ msgstr "插件名称" @@ -4658,18 +4658,18 @@ msgstr "TeliuTe" #~ msgid "Inserts the username of the current user into the file." #~ msgstr "在文件中插入当前用户的用户名。" -#~ msgid "To Load gedit Plugins" -#~ msgstr "载入 gedit 插件" +#~ msgid "To Load pluma Plugins" +#~ msgstr "载入 pluma 插件" #~ msgid "" -#~ "To load gedit plugins, choose " +#~ "To load pluma plugins, choose " #~ "EditPreferences. Within the Plugins " #~ "category, click on the Manager subcategory. The " #~ "Manager subcategory displays the following " #~ "information:" #~ msgstr "" -#~ "要载入 gedit 插件,请选择" +#~ "要载入 pluma 插件,请选择" #~ "“编辑”“首选项”。在“插件”类别中,单击“管理器”子类别。 “管理器”子类别会显示以下信息:" @@ -4677,12 +4677,12 @@ msgstr "TeliuTe" #~ msgid "" #~ "A Configure plugin button. You can use this button " #~ "to open a configuration dialog for the plugins that you can configure. " -#~ "For example, see and " -#~ "." +#~ "For example, see and " +#~ "." #~ msgstr "" #~ "“配置插件”按钮。您可以使用该按钮打开一个配置对话" -#~ "框,在该对话框中可以对插件进行配置。例如,请参见。" #~ msgid "" @@ -4695,12 +4695,12 @@ msgstr "TeliuTe" #~ msgid "" #~ "To load a plugin, select the check box next to the name of the plugin. " -#~ "The gedit application adds the plugin to the " -#~ "appropriate gedit menu, as described in the " +#~ "The pluma application adds the plugin to the " +#~ "appropriate pluma menu, as described in the " #~ "following table." #~ msgstr "" -#~ "要载入插件,请选择该插件名称旁的复选框。gedit " -#~ "应用程序会将插件添加到适当的 gedit 菜单中,如下" +#~ "要载入插件,请选择该插件名称旁的复选框。pluma " +#~ "应用程序会将插件添加到适当的 pluma 菜单中,如下" #~ "表中所述:" #~ msgid "Added to Menu" @@ -4730,17 +4730,17 @@ msgstr "TeliuTe" #~ msgid "Insert User Name" #~ msgstr "插入用户名" -#~ msgid "To Remove gedit Plugins" -#~ msgstr "删除 gedit 插件" +#~ msgid "To Remove pluma Plugins" +#~ msgstr "删除 pluma 插件" #~ msgid "" -#~ "To remove gedit plugins, choose " +#~ "To remove pluma plugins, choose " #~ "EditPreferences. Within the Plugins " #~ "category, click on the Manager subcategory. To " #~ "remove a plugin, deselect the check box next to the name of the plugin." #~ msgstr "" -#~ "要删除 gedit 插件,请选择" +#~ "要删除 pluma 插件,请选择" #~ "“编辑”“首选项”。在“插件”类别中,单击“管理器”子类别。 要删除插件,请取消选择该插件旁的复选框。" @@ -4797,22 +4797,22 @@ msgstr "TeliuTe" #~ "以下步骤:" #~ msgid "" -#~ "Set the environment variable CVSEDITOR to geditpluma. For example, if you are using the bash " #~ "shell, run the following command at the operating system prompt: " -#~ "export CVSEDITOR=gedit " +#~ "export CVSEDITOR=pluma " #~ "" #~ msgstr "" -#~ "将环境变量 CVSEDITOR 设置为 gedit。 例如,如果" +#~ "将环境变量 CVSEDITOR 设置为 pluma。 例如,如果" #~ "您使用 bash shell,则请在操作系统提示符下使用下面的命" -#~ "令: export CVSEDITOR=gedit export CVSEDITOR=pluma " #~ msgid "" -#~ "Commit a file to CVS in the usual way. A gedit " +#~ "Commit a file to CVS in the usual way. A pluma " #~ "window opens, to enable you to enter the commit message." #~ msgstr "" -#~ "以通常的方式将文件提交到 CVS。系统会打开 gedit " +#~ "以通常的方式将文件提交到 CVS。系统会打开 pluma " #~ "窗口,使您可以输入提交消息。" #~ msgid "Load the CVS ChangeLog plugin." @@ -4821,25 +4821,25 @@ msgstr "TeliuTe" #~ msgid "" #~ "Choose FileOpen CVS " #~ "ChangeLogs to open all of the ChangeLog files " -#~ "referenced in the commit message. gedit opens " +#~ "referenced in the commit message. pluma opens " #~ "each ChangeLog file in a new tab." #~ msgstr "" #~ "选择“文件”“打开 CVS 更改日" #~ "志”,打开提交消息中引用的所有更改日志文件。" -#~ "gedit 会在新选项卡中打开每个更改日志文件。" +#~ "pluma 会在新选项卡中打开每个更改日志文件。" #~ msgid "" #~ "Copy the ChangeLog entries that you want to add to the commit message " -#~ "from the gedit ChangeLog files." +#~ "from the pluma ChangeLog files." #~ msgstr "" -#~ "从 gedit 更改日志文件复制更改日志项(您要将这些" +#~ "从 pluma 更改日志文件复制更改日志项(您要将这些" #~ "更改日志项添加到提交消息中)。" #~ msgid "" -#~ "Insert the copied ChangeLog entries in the geditpluma commit message tab." #~ msgstr "" -#~ "在 gedit 提交消息选项卡中插入复制的更改日志项。" +#~ "在 pluma 提交消息选项卡中插入复制的更改日志项。" #~ msgid "Save your changes to the commit message, then close all files." #~ msgstr "将更改保存到提交消息中,然后关闭所有文件。" @@ -4862,13 +4862,13 @@ msgstr "TeliuTe" #~ "guimenuitem>. When you choose this option for the first " #~ "time, you are prompted to confirm the location of the diff command. You are not prompted for this location again. See for information about how to " +#~ "linkend=\"pluma-compare-files-configure\"/> for information about how to " #~ "change this location later." #~ msgstr "" #~ "选择“工具”“比较文件”。 当首次选择此选项时,系统会提示您确认 " #~ "diff 命令的位置。系统不会再次提示您确认该位置。有关如何" -#~ "在以后更改此位置的信息,请参见。" #~ msgid "" @@ -4966,19 +4966,19 @@ msgstr "TeliuTe" #~ msgstr "载入插入日期/时间插件。" #~ msgid "" -#~ "See for information about " +#~ "See for information about " #~ "how to configure the Insert Date/Time plugin." #~ msgstr "" -#~ "有关如何配置插入日期/时间插件的信息,请参见。" #~ msgid "" #~ "The Shell Command plugin enables you to capture the output from a shell " -#~ "command in gedit, by displaying the text " +#~ "command in pluma, by displaying the text " #~ "output of the shell command in the output window. To use the Shell " #~ "command plugin, perform the following steps:" #~ msgstr "" -#~ "Shell 命令插件使您可以抓取 gedit 中shell 命令的" +#~ "Shell 命令插件使您可以抓取 pluma 中shell 命令的" #~ "输出,其方式是在输出窗口中显示 shell 命令的文本输出。要使用 Shell 命令插" #~ "件,请执行以下步骤:" @@ -5011,11 +5011,11 @@ msgstr "TeliuTe" #~ msgid "" #~ "Use these special characters to specify the filename of the current " -#~ "active document, without the path. In this case, geditpluma looks for the file in the Working directory." #~ msgstr "" #~ "这些特殊字符可用于指定当前活动文档的文件名,不包括路径。在这种情况下," -#~ "gedit 会在工作目录中查找该文件。" +#~ "pluma 会在工作目录中查找该文件。" #~ msgid "" #~ "Edit the Working directory field if necessary. By " @@ -5028,11 +5028,11 @@ msgstr "TeliuTe" #~ msgid "" #~ "Select the Show results in Output Window option to " #~ "display the results of the command in the output window. If you do not " -#~ "select this option, gedit discards the results " +#~ "select this option, pluma discards the results " #~ "of the command." #~ msgstr "" #~ "选择“在输出窗口中显示结果”选项,以便在输出窗口中显示" -#~ "命令的结果。如果不选择此选项,gedit 会丢弃该命" +#~ "命令的结果。如果不选择此选项,pluma 会丢弃该命" #~ "令的结果。" #~ msgid "" diff --git a/help/zh_HK/figures/gedit_window.png b/help/zh_HK/figures/pluma_window.png similarity index 100% rename from help/zh_HK/figures/gedit_window.png rename to help/zh_HK/figures/pluma_window.png diff --git a/help/zh_HK/zh_HK.po b/help/zh_HK/zh_HK.po index 9f07c5d..f582d16 100755 --- a/help/zh_HK/zh_HK.po +++ b/help/zh_HK/zh_HK.po @@ -10,8 +10,8 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: ../base.xml:24(title) ../base.xml:95(revnumber) -msgid "gedit Manual V2.5.1" -msgstr "gedit 手冊 V2.5.1" +msgid "pluma Manual V2.5.1" +msgstr "pluma 手冊 V2.5.1" #: ../base.xml:26(year) msgid "2003" @@ -58,8 +58,8 @@ msgstr "Baris" #: ../base.xml:65(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek 提供 gedit 應用程式較早版本的資訊。" +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek 提供 pluma 應用程式較早版本的資訊。" #: ../base.xml:66(contrib) msgid "Acknowledgements" @@ -80,64 +80,64 @@ msgid "Sun MATE Documentation Team" msgstr "Sun MATE 文件小組" #: ../base.xml:103(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit 手冊 V2.5" +msgid "pluma Manual V2.5" +msgstr "pluma 手冊 V2.5" #: ../base.xml:104(date) msgid "March 2003" msgstr "2003 年 3 月" #: ../base.xml:111(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit 手冊 V2.4" +msgid "pluma Manual V2.4" +msgstr "pluma 手冊 V2.4" #: ../base.xml:112(date) msgid "January 2003" msgstr "2003 年 1 月" #: ../base.xml:119(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit 手冊 V2.3" +msgid "pluma Manual V2.3" +msgstr "pluma 手冊 V2.3" #: ../base.xml:120(date) msgid "September 2002" msgstr "2002 年 9 月" #: ../base.xml:127(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit 手冊 V2.2" +msgid "pluma Manual V2.2" +msgstr "pluma 手冊 V2.2" #: ../base.xml:128(date) msgid "August 2002" msgstr "2002 年 8 月" #: ../base.xml:135(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit 手冊 V2.1" +msgid "pluma Manual V2.1" +msgstr "pluma 手冊 V2.1" #: ../base.xml:136(date) msgid "June 2002" msgstr "2002 年 6 月" #: ../base.xml:143(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit 手冊 V2.0" +msgid "pluma Manual V2.0" +msgstr "pluma 手冊 V2.0" #: ../base.xml:144(date) msgid "March 2002" msgstr "2002 年 3 月" #: ../base.xml:151(revnumber) -msgid "gedit V1.0" -msgstr "gedit 手冊 V1.0" +msgid "pluma V1.0" +msgstr "pluma 手冊 V1.0" #: ../base.xml:154(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" #: ../base.xml:160(releaseinfo) -msgid "This manual describes version 2.2.1 of gedit." -msgstr "本手冊的內容是說明 2.2.1 版的 gedit。" +msgid "This manual describes version 2.2.1 of pluma." +msgstr "本手冊的內容是說明 2.2.1 版的 pluma。" #: ../base.xml:163(title) msgid "Feedback" @@ -145,17 +145,17 @@ msgstr "意見回饋" #: ../base.xml:164(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"關於本 gedit 應用程式或本手冊,如果要報告錯誤 或提" +"關於本 pluma 應用程式或本手冊,如果要報告錯誤 或提" "出建議,請遵照 MATE " "Feedback Page 的指示。" #: ../base.xml:171(primary) -msgid "gedit" -msgstr "gedit" +msgid "pluma" +msgstr "pluma" #: ../base.xml:172(primary) msgid "text editor" @@ -167,13 +167,13 @@ msgstr "介紹" #: ../base.xml:178(para) msgid "" -"The gedit application enables you to create and " -"edit text files. You can use gedit plugins to " +"The pluma application enables you to create and " +"edit text files. You can use pluma plugins to " "perform a variety of tasks related to text-editing from within the " -"gedit window." +"pluma window." msgstr "" -"您可以使用 gedit 應用程式建立和編輯文字 檔案。您可" -"以使用 gedit 增效模組在 geditpluma 應用程式建立和編輯文字 檔案。您可" +"以使用 pluma 增效模組在 pluma 視窗中 執行各種和文字編輯相關的工作。" #: ../base.xml:185(title) @@ -181,12 +181,12 @@ msgid "Getting Started" msgstr "入門" #: ../base.xml:189(title) -msgid "To Start gedit" -msgstr "啟動 gedit" +msgid "To Start pluma" +msgstr "啟動 pluma" #: ../base.xml:190(para) -msgid "You can start gedit in the following ways:" -msgstr "您可以使用下列方式啟動 gedit:" +msgid "You can start pluma in the following ways:" +msgstr "您可以使用下列方式啟動 pluma:" #: ../base.xml:193(guimenu) msgid "Menu" @@ -194,11 +194,11 @@ msgstr "功能表" #: ../base.xml:195(para) msgid "" -"For information about how to start gedit from a " +"For information about how to start pluma from a " "menu, see the latest version of the MATE Desktop User Guide for your " "platform." msgstr "" -"若需如何從功能表啟動 gedit 的詳細資訊,請參閱最新" +"若需如何從功能表啟動 pluma 的詳細資訊,請參閱最新" "版的平台 MATE Desktop User Guide。" #: ../base.xml:200(term) @@ -206,32 +206,32 @@ msgid "Command line" msgstr "指令行" #: ../base.xml:202(para) -msgid "Execute the following command: gedit" -msgstr "執行以下的指令: gedit" +msgid "Execute the following command: pluma" +msgstr "執行以下的指令: pluma" #: ../base.xml:210(title) -msgid "When You Start gedit" -msgstr "當您啟動 gedit" +msgid "When You Start pluma" +msgstr "當您啟動 pluma" #: ../base.xml:211(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" -msgstr "當您啟動 gedit 後,會顯示下面的視窗:" +msgstr "當您啟動 pluma 後,會顯示下面的視窗:" #: ../base.xml:214(title) -msgid "gedit Window" -msgstr "gedit 視窗" +msgid "pluma Window" +msgstr "pluma 視窗" #: ../base.xml:220(phrase) -msgid "Shows gedit main window." -msgstr "顯示 gedit 主視窗。" +msgid "Shows pluma main window." +msgstr "顯示 pluma 主視窗。" #: ../base.xml:226(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"gedit 視窗包含下列的 元素:您可以選擇下列條件中的" +"pluma 視窗包含下列的 元素:您可以選擇下列條件中的" "一項或以上:" #: ../base.xml:229(term) @@ -241,9 +241,9 @@ msgstr "功能表列" #: ../base.xml:231(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"在功能表列上的功能表中,有您在 gedit 中與檔案工作" +"在功能表列上的功能表中,有您在 pluma 中與檔案工作" "所需的所有指令。" #: ../base.xml:235(term) @@ -280,19 +280,19 @@ msgstr "狀態列" #: ../base.xml:254(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items." msgstr "" -"狀態列可以顯示目前 gedit 活動的資訊,以及有關功能" +"狀態列可以顯示目前 pluma 活動的資訊,以及有關功能" "表項目 的上下文資訊。" #: ../base.xml:260(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"當您在 gedit 視窗中按滑鼠右鍵時,應用程式會顯示即" +"當您在 pluma 視窗中按滑鼠右鍵時,應用程式會顯示即" "現式功能表。即現式功能表包含了 最常用的文字編輯指令。" #: ../base.xml:266(title) @@ -304,27 +304,27 @@ msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click OK. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "如果要開啟檔案,請選擇 檔案開啟 ,顯示開啟檔案對話方塊。選取要" "開啟的檔案 ,然後按一下確定。這個檔案便會 顯示在 " -"gedit 視窗中。" +"pluma 視窗中。" #: ../base.xml:273(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application displays one file at a time in the application window. The " "application adds a tab for each open file to the window. To display another " "open file, click on the tab that corresponds to the file. To create a new " -" gedit window for each file that is open, drag " +" pluma window for each file that is open, drag " "the tab corresponding to each file to the desktop background." msgstr "" -"您可以在 gedit 中,開啟多個檔案。 本應用程式在應用" +"您可以在 pluma 中,開啟多個檔案。 本應用程式在應用" "程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一" "個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔" -"案,建立一個新的 gedit 視窗,請將檔案的 標籤一個" +"案,建立一個新的 pluma 視窗,請將檔案的 標籤一個" "個地拖曳至桌面背景上。" #: ../base.xml:279(para) @@ -332,11 +332,11 @@ msgid "" "You can also use the Documents menu to move between the " "open files. You can choose DocumentsMove to New Window to move a " -"document to a new gedit window." +"document to a new pluma window." msgstr "" "您也可以使用 文件功能表,在開啟的檔案之間移動。您可以選擇" "文件移至新視窗,將文件移到新的 gedit 視窗。" +"menuchoice>,將文件移到新的 pluma 視窗。" #: ../base.xml:290(phrase) msgid "Shows Recent Files menu icon." @@ -361,11 +361,11 @@ msgstr "從指令行開啟多個檔案" #: ../base.xml:298(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"您可以從指令行執行 gedit,並開啟一個或多個檔案。如" +"您可以從指令行執行 pluma,並開啟一個或多個檔案。如" "果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 Return " "鍵。" @@ -374,26 +374,26 @@ msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" #: ../base.xml:301(command) -msgid "gedit " -msgstr "gedit " +msgid "pluma " +msgstr "pluma " #: ../base.xml:302(para) msgid "" "When the application starts, the files that you specify are displayed in the " -"gedit window." +"pluma window." msgstr "" -"當應用程式啟動時,您所指定的檔案便會顯示在 gedit " +"當應用程式啟動時,您所指定的檔案便會顯示在 pluma " "視窗內。" #: ../base.xml:304(para) msgid "" -"For more information on how to run gedit from a " -"command line, see gedit1pluma from a " +"command line, see pluma1." msgstr "" -"若需如何從指令行執行 gedit 的詳細資訊,請參閱 " -"geditpluma 的詳細資訊,請參閱 " +"pluma1。" #: ../base.xml:309(title) @@ -408,10 +408,10 @@ msgstr "建立新檔案" msgid "" "To create a new file, choose FileNew. The application " -"displays a new file in the gedit window." +"displays a new file in the pluma window." msgstr "" "如果要建立新檔案,請選擇 檔案開新" -"檔案。應用程式會在 gedit。應用程式會在 pluma 視窗內顯示新檔案。" #: ../base.xml:321(title) @@ -446,11 +446,11 @@ msgstr "" #: ../base.xml:334(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"如果要儲存目前在 gedit 中開啟的所有檔案,請選擇 " +"如果要儲存目前在 pluma 中開啟的所有檔案,請選擇 " "文件全部 儲存。" @@ -541,14 +541,14 @@ msgid "" "choose EditRedo. The number of previous edits that you can undo is determined by " "the Set limit on undo actions to setting in the tabbed section of the Preferences tabbed section of the Preferences dialog." msgstr "" "如果要還原或重做編輯,請選擇 編輯" "還原。如果要重做編輯,請選擇 " "編輯重做。您所能還原之前編" "輯的次數,是取決於 限制還原次數為設定 (在 標籤區段中 (在 偏好設定對話方塊" +"\"pluma-prefs-undo\"/>標籤區段中 (在 偏好設定對話方塊" "中))。" #: ../base.xml:399(title) @@ -626,12 +626,12 @@ msgstr "" #: ../base.xml:435(para) ../base.xml:490(para) msgid "" "Click Find to search the file for the first " -"occurrence of the string. If gedit finds the " +"occurrence of the string. If pluma finds the " "string, the application moves the cursor to the string, and selects the " "string." msgstr "" "按一下尋找,搜尋檔案中 第一個字串事件。如果 " -"gedit 找到字串,應用程式會將游標移動到字串上,並選" +"pluma 找到字串,應用程式會將游標移動到字串上,並選" "取 該字串。" #: ../base.xml:440(para) ../base.xml:500(para) @@ -710,14 +710,14 @@ msgstr "" #: ../base.xml:522(para) msgid "" -"Type gedit URI at a command " +"Type pluma URI at a command " "line, where URI is the URI of the file that you " "want to open, then press Return. Valid types of " "URI include http:, " "ftp:, file:, and all of the methods " "supported by mate-vfs." msgstr "" -"在指令行上輸入 gedit URI (此處" +"在指令行上輸入 pluma URI (此處" "的 URI 是指您要開啟之檔案的 URI),然後按下 " "Return 鍵。有效的 URI 類型包括 " "http:ftp:file:," @@ -733,31 +733,31 @@ msgstr "輸出指令到檔案" #: ../base.xml:532(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"您可以使用 gedit,將指令的輸出傳送到 文字檔案。例" +"您可以使用 pluma,將指令的輸出傳送到 文字檔案。例" "如,如果要將 ls 指令的輸出傳送到文字檔案,請鍵入 " -"ls | gedit,然後按下 Return 鍵。" +"ls | pluma,然後按下 Return 鍵。" #: ../base.xml:536(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -"ls 指令的輸出,會 在 gedit 視窗" +"ls 指令的輸出,會 在 pluma 視窗" "中以一個新的文字檔案顯示。" #: ../base.xml:538(para) msgid "" "Alternatively, you can use the Shell command plugin to pipe command output " "to the current file. For information about how to use the Shell command " -"plugin, see ." +"plugin, see ." msgstr "" "或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何" -"使用 Shell 指令增效模組的資訊,請參閱 。" #: ../base.xml:543(title) @@ -823,9 +823,9 @@ msgstr "列印檔案" #: ../base.xml:571(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" -msgstr "您可以使用gedit,執行 下列列印作業:" +msgstr "您可以使用pluma,執行 下列列印作業:" #: ../base.xml:574(para) msgid "Print a file to a printer." @@ -837,11 +837,11 @@ msgstr "將列印指令的輸出列印到檔案。" #: ../base.xml:579(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"如果您是列印至檔案,gedit 會先將 檔案輸出傳送到某" +"如果您是列印至檔案,pluma 會先將 檔案輸出傳送到某" "個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format " "(PDF)。" @@ -1012,13 +1012,13 @@ msgstr "自訂工具列與狀態列" msgid "" "To display or hide the toolbar, choose ViewToolbar. To customize how " -"gedit displays the toolbar, choose " +"pluma displays the toolbar, choose " "ViewCustomize Toolbar, then select one of the following menu items:" msgstr "" "如果要顯示或隱藏工具列,請選擇檢視工具列。如果要自訂 " -"gedit 顯示工具列的方式,請選擇" +"pluma 顯示工具列的方式,請選擇" "檢視自訂工具列,然後選取下列任一項 功能表項目:" @@ -1058,13 +1058,13 @@ msgstr "顯示圖示,以及顯示一些圖示旁的文字。" msgid "" "To display or hide the statusbar, choose ViewStatusbar. To customize how " -"gedit displays the statusbar, choose " +"pluma displays the statusbar, choose " "ViewCustomize Statusbar, then select one of the following menu items:" msgstr "" "如果要顯示或隱藏狀態列,請選擇檢視狀態列。如果要自訂 " -"gedit 顯示狀態列的方式,請選擇" +"pluma 顯示狀態列的方式,請選擇" "檢視自訂狀態列,然後選取下列任一項 功能表項目:" @@ -1103,12 +1103,12 @@ msgstr "偏好設定" #: ../base.xml:737(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"如果要配置 gedit,請選擇 編輯" +"如果要配置 pluma,請選擇 編輯" "偏好設定偏好設" "定對話方塊含有下列 種類:" @@ -1133,9 +1133,9 @@ msgstr "使用預設配色字型" #: ../base.xml:763(para) msgid "" "Select this option to use the default system font for the text in the " -"gedit text window." +"pluma text window." msgstr "" -"選取這個選項,在 gedit 文字視窗的文字中,會使用系" +"選取這個選項,在 pluma 文字視窗的文字中,會使用系" "統預設的字型。" #: ../base.xml:766(guilabel) @@ -1144,11 +1144,11 @@ msgstr "編輯器字型" #: ../base.xml:768(para) msgid "" -"This field displays the font that gedit uses to " +"This field displays the font that pluma uses to " "display text. Click on the button to specify the font type, style, and size " "to use for text." msgstr "" -"這個欄位會顯示 gedit 用來顯示文字的字型。 按一下按" +"這個欄位會顯示 pluma 用來顯示文字的字型。 按一下按" "鈕,指定文字所使用的字體類型、樣式與大小。" #: ../base.xml:772(guilabel) @@ -1158,9 +1158,9 @@ msgstr "使用預設的配色色彩" #: ../base.xml:774(para) msgid "" "Select this option to use the default theme colors in the " -"gedit text window." +"pluma text window." msgstr "" -"選取這個選項,會在 gedit 文字視窗中,使用預設的配" +"選取這個選項,會在 pluma 文字視窗中,使用預設的配" "色色彩。" #: ../base.xml:777(guilabel) @@ -1171,10 +1171,10 @@ msgstr "文字色彩" msgid "" "Click on the Text color button to display the color " "selector dialog. Select a color to use to display text in the " -"gedit text window." +"pluma text window." msgstr "" "按一下文字色彩按鈕, 顯示色彩選擇元件對話方塊。請選取" -"顏色,程式會在 gedit 文字視窗中,以該顏色顯示文" +"顏色,程式會在 pluma 文字視窗中,以該顏色顯示文" "字。" #: ../base.xml:784(guilabel) @@ -1184,11 +1184,11 @@ msgstr "背景色彩" #: ../base.xml:786(para) msgid "" "Click on the Background color button to display the " -"color selector dialog. Select a background color for the geditpluma text window." msgstr "" "按一下背景色彩按鈕, 顯示色彩選擇元件對話方塊。請為 " -"gedit 文字視窗選取背景色彩。" +"pluma 文字視窗選取背景色彩。" #: ../base.xml:791(guilabel) msgid "Selected text color" @@ -1226,9 +1226,9 @@ msgstr "tab 字元的寬度為" #: ../base.xml:813(para) msgid "" "Use this spin box to specify the width of the space that " -"gedit inserts when you press the Tab key." +"pluma inserts when you press the Tab key." msgstr "" -"請使用這個旋轉方塊,指定 gedit 在您按下 " +"請使用這個旋轉方塊,指定 pluma 在您按下 " "Tab 鍵時會加入的空格寬度。" #: ../base.xml:818(guilabel) @@ -1237,11 +1237,11 @@ msgstr "以插入空格取代跳格" #: ../base.xml:820(para) msgid "" -"Select this option to specify that gedit inserts " +"Select this option to specify that pluma inserts " "spaces instead of a tab character when you press the Tab " "key." msgstr "" -"選取這個選項可以指定 gedit 在您按下 Tab pluma 在您按下 Tab 鍵時,以插入空格取 代跳格字元。" #: ../base.xml:830(title) @@ -1293,8 +1293,8 @@ msgstr "顯示行號" #: ../base.xml:861(para) msgid "" "Select this option to display line numbers on the left side of the " -"gedit window." -msgstr "選取這個選項,會在 gedit 視窗左側顯示行號。" +"pluma window." +msgstr "選取這個選項,會在 pluma 視窗左側顯示行號。" #: ../base.xml:869(title) msgid "Open" @@ -1320,18 +1320,18 @@ msgstr "" #: ../base.xml:877(para) msgid "" -"By default, gedit uses UTF-8 encoding to try to " +"By default, pluma uses UTF-8 encoding to try to " "open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 " "covers almost all known alphabets and character sets. If the file is not a " -"valid UTF-8 file, gedit tries to open the file by " +"valid UTF-8 file, pluma tries to open the file by " "using the encoding for the current locale. If this also fails, " -"gedit tries to use an encoding from the Supported " +"pluma tries to use an encoding from the Supported " "encodings list, starting at the top of the list." msgstr "" -"依預設值,gedit 是使用 UTF-8 編碼來開啟檔案。UTF-" +"依預設值,pluma 是使用 UTF-8 編碼來開啟檔案。UTF-" "8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如" -"果檔案並不是有效的 UTF-8 檔,gedit 會試著以目前語" -"系的編碼來開啟檔案。如果這樣依然有問題,gedit 會從" +"果檔案並不是有效的 UTF-8 檔,pluma 會試著以目前語" +"系的編碼來開啟檔案。如果這樣依然有問題,pluma 會從" "支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。" #: ../base.xml:880(para) @@ -1566,10 +1566,10 @@ msgstr "按一下這個按鈕,可以選取列印行號時的字型。" #: ../base.xml:1043(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit click on the Restore Default " +"pluma click on the Restore Default " "Fonts button." msgstr "" -"如果要將 gedit 列印檔案時的字型,重設為預設值, 請" +"如果要將 pluma 列印檔案時的字型,重設為預設值, 請" "按一下還原預設字型按鈕。" #: ../base.xml:1050(title) @@ -1579,11 +1579,11 @@ msgstr "增效模組" #: ../base.xml:1051(para) msgid "" "For information about how to use the Plugins category " -"of the Preferences dialog, see Preferences dialog, see ." msgstr "" "關於如何使用偏好設定對話方塊的增效模組類別,進一步資訊請參閱 。" +"guilabel>類別,進一步資訊請參閱 。" #: ../base.xml:1058(title) msgid "Working with Plugins" @@ -1592,15 +1592,15 @@ msgstr "使用增效模組" #: ../base.xml:1059(para) msgid "" "A plugin is a supplementary program that enhances the functionality of an " -"application. The gedit plugins enable you to " +"application. The pluma plugins enable you to " "perform a variety of functions related to text editing from within the " -" gedit window. The following table lists the " -" gedit plugins." +" pluma window. The following table lists the " +" pluma plugins." msgstr "" "增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 " -"gedit 增效模組,在 geditpluma 增效模組,在 pluma 視窗內,執行多種文字編輯功能。下表所列的,便是 " -"gedit 的增效模組。" +"pluma 的增效模組。" #: ../base.xml:1070(para) ../base.xml:1150(para) msgid "Plugin Name" @@ -1707,37 +1707,37 @@ msgid "Inserts the username of the current user into the file." msgstr "將目前的使用者名稱加入到檔案中。" #: ../base.xml:1123(title) -msgid "To Load gedit Plugins" -msgstr "載入 gedit 增效模組" +msgid "To Load pluma Plugins" +msgstr "載入 pluma 增效模組" #: ../base.xml:1124(para) msgid "" -"To load gedit plugins, choose " +"To load pluma plugins, choose " "EditPreferences. Within the Plugins category, click on the " "Manager subcategory. The Manager " "subcategory displays the following information:" msgstr "" -"如果要載入 gedit增效模組,請選擇" +"如果要載入 pluma增效模組,請選擇" "編輯偏好設定。在增效模組類別中,按一下管理員子類別。 管理員子類別會顯示下列資訊:" #: ../base.xml:1131(para) msgid "" -"A list of the plugins that you can use with gedit." -msgstr "可以與 gedit 一同使用之增效模組的清單。" +"A list of the plugins that you can use with pluma." +msgstr "可以與 pluma 一同使用之增效模組的清單。" #: ../base.xml:1133(para) msgid "" "A Configure plugin button. You can use this button to " "open a configuration dialog for the plugins that you can configure. For " -"example, see and ." +"example, see and ." msgstr "" "配置增效模組 按鈕。您可以使用這個按鈕,為您可以配置的" -"增效模組,開啟配置對話方塊。例如,請參閱 以及 。" +"增效模組,開啟配置對話方塊。例如,請參閱 以及 。" #: ../base.xml:1136(para) msgid "" @@ -1753,12 +1753,12 @@ msgstr "增效模組作者及模組名稱之詳細資訊。" #: ../base.xml:1142(para) msgid "" "To load a plugin, select the check box next to the name of the plugin. The " -"gedit application adds the plugin to the " -"appropriate gedit menu, as described in the " +"pluma application adds the plugin to the " +"appropriate pluma menu, as described in the " "following table." msgstr "" -"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。gedit 應用程式 會如下表所述,將外掛程式加入適當的 geditpluma 應用程式 會如下表所述,將外掛程式加入適當的 pluma 功能表中。" #: ../base.xml:1151(para) @@ -1826,23 +1826,23 @@ msgstr "" "guibutton>。" #: ../base.xml:1216(title) -msgid "To Remove gedit Plugins" -msgstr "移除 gedit 增效模組" +msgid "To Remove pluma Plugins" +msgstr "移除 pluma 增效模組" #: ../base.xml:1217(para) -msgid "A plugin remains loaded when you quit gedit." +msgid "A plugin remains loaded when you quit pluma." msgstr "" -"即使您離開了 gedit,增效模組仍然是載入應用程式中。" +"即使您離開了 pluma,增效模組仍然是載入應用程式中。" #: ../base.xml:1218(para) msgid "" -"To remove gedit plugins, choose " +"To remove pluma plugins, choose " "EditPreferences. Within the Plugins category, click on the " "Manager subcategory. To remove a plugin, deselect the " "check box next to the name of the plugin." msgstr "" -"如果要移除 gedit 增效模組,請選擇" +"如果要移除 pluma 增效模組,請選擇" "編輯偏好設定。在增效模組類別中,按一下管理員子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。" @@ -1912,22 +1912,22 @@ msgstr "" #: ../base.xml:1258(para) msgid "" -"Set the environment variable CVSEDITOR to gedit. " +"Set the environment variable CVSEDITOR to pluma. " "For example, if you are using the bash shell, run the " "following command at the operating system prompt: export " -"CVSEDITOR=gedit " +"CVSEDITOR=pluma " msgstr "" -"將環境變數 CVSEDITOR 設為 gedit。 例如,如果您正在" +"將環境變數 CVSEDITOR 設為 pluma。 例如,如果您正在" "使用 bash shell,請在作業系統 提示的時候,輸入下面的指" -"令: export CVSEDITOR=gedit export CVSEDITOR=pluma " #: ../base.xml:1264(para) msgid "" -"Commit a file to CVS in the usual way. A gedit " +"Commit a file to CVS in the usual way. A pluma " "window opens, to enable you to enter the commit message." msgstr "" -"以平常的方式將檔案確定至 CVS。此時會開啟 gedit 視" +"以平常的方式將檔案確定至 CVS。此時會開啟 pluma 視" "窗,讓您輸入 commit 訊息。" #: ../base.xml:1267(para) @@ -1938,35 +1938,35 @@ msgstr "載入 CVS ChangeLog 增效模組。" msgid "" "Choose FileOpen CVS ChangeLogs to open all of the ChangeLog files referenced in " -"the commit message. gedit opens each ChangeLog " +"the commit message. pluma opens each ChangeLog " "file in a new tab." msgstr "" "請選擇 檔案開啟 CVS ChangeLogs,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。" -"gedit 會為每個 變更Log 檔案開啟一個新標籤。" +"pluma 會為每個 變更Log 檔案開啟一個新標籤。" #: ../base.xml:1272(para) msgid "" "Copy the ChangeLog entries that you want to add to the commit message from " -"the gedit ChangeLog files." +"the pluma ChangeLog files." msgstr "" -"gedit ChangeLog 檔案中,複製您想加入 commit 訊息" +"pluma ChangeLog 檔案中,複製您想加入 commit 訊息" "的 ChangeLog 記錄。" #: ../base.xml:1275(para) msgid "" -"Insert the copied ChangeLog entries in the gedit " +"Insert the copied ChangeLog entries in the pluma " "commit message tab." msgstr "" -"將 ChangeLog 記錄加入 gedit 的 commit 訊息標籤內。" +"將 ChangeLog 記錄加入 pluma 的 commit 訊息標籤內。" #: ../base.xml:1278(para) msgid "Save your changes to the commit message, then close all files." msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。" #: ../base.xml:1281(para) -msgid "Quit gedit." -msgstr "結束 gedit。" +msgid "Quit pluma." +msgstr "結束 pluma。" #: ../base.xml:1288(title) msgid "Compare Files Plugin" @@ -1993,13 +1993,13 @@ msgid "" "guimenuitem>. When you choose this option for the first time, " "you are prompted to confirm the location of the diff " "command. You are not prompted for this location again. See for information about how to change this " +"\"pluma-compare-files-configure\"/> for information about how to change this " "location later." msgstr "" "請選擇 工具比較檔案。 當您是第一次選擇這個選項,系統會提示您,請您確認 " "diff 指令的位置。以後則不會再提示您確認位置。若需如何在日" -"後變更這個位置的詳細資訊,請參閱 。" #: ../base.xml:1299(para) @@ -2157,12 +2157,12 @@ msgstr "目前文件的位元組數。" #: ../base.xml:1376(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click on " "the Update button." msgstr "" -"您可以不斷地更新gedit 檔案,而無須關閉文" +"您可以不斷地更新pluma 檔案,而無須關閉文" "件統計資料對話方塊。要重新整理文件統計資料對" "話方塊的內容,請按一下更新按鈕。" @@ -2243,36 +2243,36 @@ msgstr "" msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click on the Insert button to close the " -"Insert Date and Time dialog; geditInsert Date and Time dialog; pluma inserts the date/time at the cursor position in the current " "file." msgstr "" "如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間," -"gedit 會顯示加入日期和時間對" +"pluma 會顯示加入日期和時間對" "話方塊。從清單中選取適當的日期/時間格式。按一下插入按" -"鈕,關閉加入日期和時間對話方塊;gedit加入日期和時間對話方塊;pluma 會在目前檔案的游標位置上插入日期/時間。" #: ../base.xml:1416(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed; the date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"如果您已經將 gedit 配置成使用特定的日期/時間格式," +"如果您已經將 pluma 配置成使用特定的日期/時間格式," "則不會顯示加入日期和時間對話方塊;即會在目前檔案的游標位" "置上插入日期/時間。" #: ../base.xml:1417(para) msgid "" -"See for information about how " +"See for information about how " "to configure the Insert Date/Time plugin." msgstr "" -"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 。" #: ../base.xml:1422(title) @@ -2309,17 +2309,17 @@ msgstr "" #: ../base.xml:1443(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"如果要在每次加入日期/時間時都使用 gedit 提供的日" +"如果要在每次加入日期/時間時都使用 pluma 提供的日" "期/時間格式,請選取使用選取的格式選項,然後從清單中選取" -"適當的格式。當您選取這個選項後,gedit 並不會在您選" +"適當的格式。當您選取這個選項後,pluma 並不會在您選" "擇編輯加入日期和時間時,提示您設定日期/時間的格式。" @@ -2331,7 +2331,7 @@ msgid "" "specify a custom format, see strftime3. When you select this option, " -"gedit does not prompt you for the date/time " +"pluma does not prompt you for the date/time " "format when you choose EditInsert Date and Time." msgstr "" @@ -2339,7 +2339,7 @@ msgstr "" "自訂格式選項,然後在文字方塊中輸入適當的格式。若需如何自訂格式的詳" "細資訊,請參閱 strftime3。當您選取這個選項後,gedit。當您選取這個選項後,pluma 並不會在您選擇編輯加" "入日期和時間時,提示您設定日期/時間的格式。" @@ -2358,11 +2358,11 @@ msgstr "Shell 指令增效模組" #: ../base.xml:1463(para) msgid "" "The Shell Command plugin enables you to capture the output from a shell " -"command in gedit, by displaying the text output " +"command in pluma, by displaying the text output " "of the shell command in the output window. To use the Shell command plugin, " "perform the following steps:" msgstr "" -"Shell 指令增效模組可以從 gedit 的 shell 指令擷取輸" +"Shell 指令增效模組可以從 pluma 的 shell 指令擷取輸" "出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模" "組,請執行 下列的步驟:" @@ -2406,11 +2406,11 @@ msgstr "%n" #: ../base.xml:1485(para) msgid "" "Use these special characters to specify the filename of the current active " -"document, without the path. In this case, gedit " +"document, without the path. In this case, pluma " "looks for the file in the Working directory." msgstr "" "使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時," -"gedit 會在工作目錄中找尋檔案。" +"pluma 會在工作目錄中找尋檔案。" #: ../base.xml:1489(para) msgid "" @@ -2425,11 +2425,11 @@ msgstr "" msgid "" "Select the Show results in Output Window option to " "display the results of the command in the output window. If you do not " -"select this option, gedit discards the results of " +"select this option, pluma discards the results of " "the command." msgstr "" "選取在輸出視窗顯示結果選項,在輸出視窗顯示指令的執行結" -"果。如果沒有選取這個選項,gedit 會放棄指令結果。" +"果。如果沒有選取這個選項,pluma 會放棄指令結果。" #: ../base.xml:1496(para) msgid "" diff --git a/help/zh_TW/figures/gedit_window.png b/help/zh_TW/figures/pluma_window.png similarity index 100% rename from help/zh_TW/figures/gedit_window.png rename to help/zh_TW/figures/pluma_window.png diff --git a/help/zh_TW/zh_TW.po b/help/zh_TW/zh_TW.po index 677cb85..9af8ef9 100755 --- a/help/zh_TW/zh_TW.po +++ b/help/zh_TW/zh_TW.po @@ -10,8 +10,8 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: ../base.xml:24(title) ../base.xml:95(revnumber) -msgid "gedit Manual V2.5.1" -msgstr "gedit 手冊 V2.5.1" +msgid "pluma Manual V2.5.1" +msgstr "pluma 手冊 V2.5.1" #: ../base.xml:26(year) msgid "2003" @@ -58,8 +58,8 @@ msgstr "Baris" #: ../base.xml:65(surname) msgid "" -"Cicek provided information from earlier revisions of the gedit application." -msgstr "Cicek 提供 gedit 應用程式較早版本的資訊。" +"Cicek provided information from earlier revisions of the pluma application." +msgstr "Cicek 提供 pluma 應用程式較早版本的資訊。" #: ../base.xml:66(contrib) msgid "Acknowledgements" @@ -80,64 +80,64 @@ msgid "Sun MATE Documentation Team" msgstr "Sun MATE 文件小組" #: ../base.xml:103(revnumber) -msgid "gedit Manual V2.5" -msgstr "gedit 手冊 V2.5" +msgid "pluma Manual V2.5" +msgstr "pluma 手冊 V2.5" #: ../base.xml:104(date) msgid "March 2003" msgstr "2003 年 3 月" #: ../base.xml:111(revnumber) -msgid "gedit Manual V2.4" -msgstr "gedit 手冊 V2.4" +msgid "pluma Manual V2.4" +msgstr "pluma 手冊 V2.4" #: ../base.xml:112(date) msgid "January 2003" msgstr "2003 年 1 月" #: ../base.xml:119(revnumber) -msgid "gedit Manual V2.3" -msgstr "gedit 手冊 V2.3" +msgid "pluma Manual V2.3" +msgstr "pluma 手冊 V2.3" #: ../base.xml:120(date) msgid "September 2002" msgstr "2002 年 9 月" #: ../base.xml:127(revnumber) -msgid "gedit Manual V2.2" -msgstr "gedit 手冊 V2.2" +msgid "pluma Manual V2.2" +msgstr "pluma 手冊 V2.2" #: ../base.xml:128(date) msgid "August 2002" msgstr "2002 年 8 月" #: ../base.xml:135(revnumber) -msgid "gedit Manual V2.1" -msgstr "gedit 手冊 V2.1" +msgid "pluma Manual V2.1" +msgstr "pluma 手冊 V2.1" #: ../base.xml:136(date) msgid "June 2002" msgstr "2002 年 6 月" #: ../base.xml:143(revnumber) -msgid "gedit Manual V2.0" -msgstr "gedit 手冊 V2.0" +msgid "pluma Manual V2.0" +msgstr "pluma 手冊 V2.0" #: ../base.xml:144(date) msgid "March 2002" msgstr "2002 年 3 月" #: ../base.xml:151(revnumber) -msgid "gedit V1.0" -msgstr "gedit 手冊 V1.0" +msgid "pluma V1.0" +msgstr "pluma 手冊 V1.0" #: ../base.xml:154(para) msgid "Eric Baudais baudais@okstate.edu" msgstr "Eric Baudais baudais@okstate.edu" #: ../base.xml:160(releaseinfo) -msgid "This manual describes version 2.2.1 of gedit." -msgstr "本手冊的內容是說明 2.2.1 版的 gedit。" +msgid "This manual describes version 2.2.1 of pluma." +msgstr "本手冊的內容是說明 2.2.1 版的 pluma。" #: ../base.xml:163(title) msgid "Feedback" @@ -145,17 +145,17 @@ msgstr "意見回饋" #: ../base.xml:164(para) msgid "" -"To report a bug or make a suggestion regarding the geditpluma application or this manual, follow the directions in the MATE Feedback Page." msgstr "" -"關於本 gedit 應用程式或本手冊,如果要報告錯誤 或提" +"關於本 pluma 應用程式或本手冊,如果要報告錯誤 或提" "出建議,請遵照 MATE " "Feedback Page 的指示。" #: ../base.xml:171(primary) -msgid "gedit" -msgstr "gedit" +msgid "pluma" +msgstr "pluma" #: ../base.xml:172(primary) msgid "text editor" @@ -167,13 +167,13 @@ msgstr "介紹" #: ../base.xml:178(para) msgid "" -"The gedit application enables you to create and " -"edit text files. You can use gedit plugins to " +"The pluma application enables you to create and " +"edit text files. You can use pluma plugins to " "perform a variety of tasks related to text-editing from within the " -"gedit window." +"pluma window." msgstr "" -"您可以使用 gedit 應用程式建立和編輯文字 檔案。您可" -"以使用 gedit 增效模組在 geditpluma 應用程式建立和編輯文字 檔案。您可" +"以使用 pluma 增效模組在 pluma 視窗中 執行各種和文字編輯相關的工作。" #: ../base.xml:185(title) @@ -181,12 +181,12 @@ msgid "Getting Started" msgstr "入門" #: ../base.xml:189(title) -msgid "To Start gedit" -msgstr "啟動 gedit" +msgid "To Start pluma" +msgstr "啟動 pluma" #: ../base.xml:190(para) -msgid "You can start gedit in the following ways:" -msgstr "您可以使用下列方式啟動 gedit:" +msgid "You can start pluma in the following ways:" +msgstr "您可以使用下列方式啟動 pluma:" #: ../base.xml:193(guimenu) msgid "Menu" @@ -194,11 +194,11 @@ msgstr "功能表" #: ../base.xml:195(para) msgid "" -"For information about how to start gedit from a " +"For information about how to start pluma from a " "menu, see the latest version of the MATE Desktop User Guide for your " "platform." msgstr "" -"若需如何從功能表啟動 gedit 的詳細資訊,請參閱最新" +"若需如何從功能表啟動 pluma 的詳細資訊,請參閱最新" "版的平台 MATE Desktop User Guide。" #: ../base.xml:200(term) @@ -206,32 +206,32 @@ msgid "Command line" msgstr "指令行" #: ../base.xml:202(para) -msgid "Execute the following command: gedit" -msgstr "執行以下的指令: gedit" +msgid "Execute the following command: pluma" +msgstr "執行以下的指令: pluma" #: ../base.xml:210(title) -msgid "When You Start gedit" -msgstr "當您啟動 gedit" +msgid "When You Start pluma" +msgstr "當您啟動 pluma" #: ../base.xml:211(para) msgid "" -"When you start gedit, the following window is " +"When you start pluma, the following window is " "displayed:" -msgstr "當您啟動 gedit 後,會顯示下面的視窗:" +msgstr "當您啟動 pluma 後,會顯示下面的視窗:" #: ../base.xml:214(title) -msgid "gedit Window" -msgstr "gedit 視窗" +msgid "pluma Window" +msgstr "pluma 視窗" #: ../base.xml:220(phrase) -msgid "Shows gedit main window." -msgstr "顯示 gedit 主視窗。" +msgid "Shows pluma main window." +msgstr "顯示 pluma 主視窗。" #: ../base.xml:226(para) msgid "" -"The gedit window contains the following elements:" +"The pluma window contains the following elements:" msgstr "" -"gedit 視窗包含下列的 元素:您可以選擇下列條件中的" +"pluma 視窗包含下列的 元素:您可以選擇下列條件中的" "一項或以上:" #: ../base.xml:229(term) @@ -241,9 +241,9 @@ msgstr "功能表列" #: ../base.xml:231(para) msgid "" "The menus on the menubar contain all of the commands you need to work with " -"files in gedit." +"files in pluma." msgstr "" -"在功能表列上的功能表中,有您在 gedit 中與檔案工作" +"在功能表列上的功能表中,有您在 pluma 中與檔案工作" "所需的所有指令。" #: ../base.xml:235(term) @@ -280,19 +280,19 @@ msgstr "狀態列" #: ../base.xml:254(para) msgid "" -"The statusbar displays information about current geditpluma activity and contextual information about the menu items." msgstr "" -"狀態列可以顯示目前 gedit 活動的資訊,以及有關功能" +"狀態列可以顯示目前 pluma 活動的資訊,以及有關功能" "表項目 的上下文資訊。" #: ../base.xml:260(para) msgid "" -"When you right-click in the gedit window, the " +"When you right-click in the pluma window, the " "application displays a popup menu. The popup menu contains the most common " "text editing commands." msgstr "" -"當您在 gedit 視窗中按滑鼠右鍵時,應用程式會顯示即" +"當您在 pluma 視窗中按滑鼠右鍵時,應用程式會顯示即" "現式功能表。即現式功能表包含了 最常用的文字編輯指令。" #: ../base.xml:266(title) @@ -304,27 +304,27 @@ msgid "" "To open a file, choose FileOpen to display the Open File " "dialog. Select the file that you want to open, then click OK. The file is displayed in the gedit " +"guibutton>. The file is displayed in the pluma " "window." msgstr "" "如果要開啟檔案,請選擇 檔案開啟 ,顯示開啟檔案對話方塊。選取要" "開啟的檔案 ,然後按一下確定。這個檔案便會 顯示在 " -"gedit 視窗中。" +"pluma 視窗中。" #: ../base.xml:273(para) msgid "" -"You can open multiple files in gedit. The " +"You can open multiple files in pluma. The " "application displays one file at a time in the application window. The " "application adds a tab for each open file to the window. To display another " "open file, click on the tab that corresponds to the file. To create a new " -" gedit window for each file that is open, drag " +" pluma window for each file that is open, drag " "the tab corresponding to each file to the desktop background." msgstr "" -"您可以在 gedit 中,開啟多個檔案。 本應用程式在應用" +"您可以在 pluma 中,開啟多個檔案。 本應用程式在應用" "程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一" "個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔" -"案,建立一個新的 gedit 視窗,請將檔案的 標籤一個" +"案,建立一個新的 pluma 視窗,請將檔案的 標籤一個" "個地拖曳至桌面背景上。" #: ../base.xml:279(para) @@ -332,11 +332,11 @@ msgid "" "You can also use the Documents menu to move between the " "open files. You can choose DocumentsMove to New Window to move a " -"document to a new gedit window." +"document to a new pluma window." msgstr "" "您也可以使用 文件功能表,在開啟的檔案之間移動。您可以選擇" "文件移至新視窗,將文件移到新的 gedit 視窗。" +"menuchoice>,將文件移到新的 pluma 視窗。" #: ../base.xml:290(phrase) msgid "Shows Recent Files menu icon." @@ -361,11 +361,11 @@ msgstr "從指令行開啟多個檔案" #: ../base.xml:298(para) msgid "" -"You can run gedit from a command line and open a " +"You can run pluma from a command line and open a " "single file or multiple files. To open multiple files from a command line, " "type the following command, then press Return:" msgstr "" -"您可以從指令行執行 gedit,並開啟一個或多個檔案。如" +"您可以從指令行執行 pluma,並開啟一個或多個檔案。如" "果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 Return " "鍵。" @@ -374,26 +374,26 @@ msgid "file1.txt file2.txt file3.txt" msgstr "file1.txt file2.txt file3.txt" #: ../base.xml:301(command) -msgid "gedit " -msgstr "gedit " +msgid "pluma " +msgstr "pluma " #: ../base.xml:302(para) msgid "" "When the application starts, the files that you specify are displayed in the " -"gedit window." +"pluma window." msgstr "" -"當應用程式啟動時,您所指定的檔案便會顯示在 gedit " +"當應用程式啟動時,您所指定的檔案便會顯示在 pluma " "視窗內。" #: ../base.xml:304(para) msgid "" -"For more information on how to run gedit from a " -"command line, see gedit1pluma from a " +"command line, see pluma1." msgstr "" -"若需如何從指令行執行 gedit 的詳細資訊,請參閱 " -"geditpluma 的詳細資訊,請參閱 " +"pluma1。" #: ../base.xml:309(title) @@ -408,10 +408,10 @@ msgstr "建立新檔案" msgid "" "To create a new file, choose FileNew. The application " -"displays a new file in the gedit window." +"displays a new file in the pluma window." msgstr "" "如果要建立新檔案,請選擇 檔案開新" -"檔案。應用程式會在 gedit。應用程式會在 pluma 視窗內顯示新檔案。" #: ../base.xml:321(title) @@ -446,11 +446,11 @@ msgstr "" #: ../base.xml:334(para) msgid "" -"To save all of the files that are currently open in geditpluma, choose DocumentsSave All." msgstr "" -"如果要儲存目前在 gedit 中開啟的所有檔案,請選擇 " +"如果要儲存目前在 pluma 中開啟的所有檔案,請選擇 " "文件全部 儲存。" @@ -541,14 +541,14 @@ msgid "" "choose EditRedo. The number of previous edits that you can undo is determined by " "the Set limit on undo actions to setting in the tabbed section of the Preferences tabbed section of the Preferences dialog." msgstr "" "如果要還原或重做編輯,請選擇 編輯" "還原。如果要重做編輯,請選擇 " "編輯重做。您所能還原之前編" "輯的次數,是取決於 限制還原次數為設定 (在 標籤區段中 (在 偏好設定對話方塊" +"\"pluma-prefs-undo\"/>標籤區段中 (在 偏好設定對話方塊" "中))。" #: ../base.xml:399(title) @@ -626,12 +626,12 @@ msgstr "" #: ../base.xml:435(para) ../base.xml:490(para) msgid "" "Click Find to search the file for the first " -"occurrence of the string. If gedit finds the " +"occurrence of the string. If pluma finds the " "string, the application moves the cursor to the string, and selects the " "string." msgstr "" "按一下尋找,搜尋檔案中 第一個字串事件。如果 " -"gedit 找到字串,應用程式會將游標移動到字串上,並選" +"pluma 找到字串,應用程式會將游標移動到字串上,並選" "取 該字串。" #: ../base.xml:440(para) ../base.xml:500(para) @@ -710,14 +710,14 @@ msgstr "" #: ../base.xml:522(para) msgid "" -"Type gedit URI at a command " +"Type pluma URI at a command " "line, where URI is the URI of the file that you " "want to open, then press Return. Valid types of " "URI include http:, " "ftp:, file:, and all of the methods " "supported by mate-vfs." msgstr "" -"在指令行上輸入 gedit URI (此處" +"在指令行上輸入 pluma URI (此處" "的 URI 是指您要開啟之檔案的 URI),然後按下 " "Return 鍵。有效的 URI 類型包括 " "http:ftp:file:," @@ -733,31 +733,31 @@ msgstr "輸出指令到檔案" #: ../base.xml:532(para) msgid "" -"You can use gedit to pipe the output of a command " +"You can use pluma to pipe the output of a command " "to a text file. For example, to pipe the output of an ls " -"command to a text file, type ls | gedit, then press " +"command to a text file, type ls | pluma, then press " "Return." msgstr "" -"您可以使用 gedit,將指令的輸出傳送到 文字檔案。例" +"您可以使用 pluma,將指令的輸出傳送到 文字檔案。例" "如,如果要將 ls 指令的輸出傳送到文字檔案,請鍵入 " -"ls | gedit,然後按下 Return 鍵。" +"ls | pluma,然後按下 Return 鍵。" #: ../base.xml:536(para) msgid "" "The output of the ls command is displayed in a new text " -"file in the gedit window." +"file in the pluma window." msgstr "" -"ls 指令的輸出,會 在 gedit 視窗" +"ls 指令的輸出,會 在 pluma 視窗" "中以一個新的文字檔案顯示。" #: ../base.xml:538(para) msgid "" "Alternatively, you can use the Shell command plugin to pipe command output " "to the current file. For information about how to use the Shell command " -"plugin, see ." +"plugin, see ." msgstr "" "或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何" -"使用 Shell 指令增效模組的資訊,請參閱 。" #: ../base.xml:543(title) @@ -823,9 +823,9 @@ msgstr "列印檔案" #: ../base.xml:571(para) msgid "" -"You can use gedit to perform the following print " +"You can use pluma to perform the following print " "operations:" -msgstr "您可以使用gedit,執行 下列列印作業:" +msgstr "您可以使用pluma,執行 下列列印作業:" #: ../base.xml:574(para) msgid "Print a file to a printer." @@ -837,11 +837,11 @@ msgstr "將列印指令的輸出列印到檔案。" #: ../base.xml:579(para) msgid "" -"If you print to a file, gedit sends the output of " +"If you print to a file, pluma sends the output of " "the file to a pre-press format file. The most common pre-press formats are " "PostScript and Portable Document Format (PDF)." msgstr "" -"如果您是列印至檔案,gedit 會先將 檔案輸出傳送到某" +"如果您是列印至檔案,pluma 會先將 檔案輸出傳送到某" "個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format " "(PDF)。" @@ -1012,13 +1012,13 @@ msgstr "自訂工具列與狀態列" msgid "" "To display or hide the toolbar, choose ViewToolbar. To customize how " -"gedit displays the toolbar, choose " +"pluma displays the toolbar, choose " "ViewCustomize Toolbar, then select one of the following menu items:" msgstr "" "如果要顯示或隱藏工具列,請選擇檢視工具列。如果要自訂 " -"gedit 顯示工具列的方式,請選擇" +"pluma 顯示工具列的方式,請選擇" "檢視自訂工具列,然後選取下列任一項 功能表項目:" @@ -1058,13 +1058,13 @@ msgstr "顯示圖示,以及顯示一些圖示旁的文字。" msgid "" "To display or hide the statusbar, choose ViewStatusbar. To customize how " -"gedit displays the statusbar, choose " +"pluma displays the statusbar, choose " "ViewCustomize Statusbar, then select one of the following menu items:" msgstr "" "如果要顯示或隱藏狀態列,請選擇檢視狀態列。如果要自訂 " -"gedit 顯示狀態列的方式,請選擇" +"pluma 顯示狀態列的方式,請選擇" "檢視自訂狀態列,然後選取下列任一項 功能表項目:" @@ -1103,12 +1103,12 @@ msgstr "偏好設定" #: ../base.xml:737(para) msgid "" -"To configure gedit, choose " +"To configure pluma, choose " "EditPreferences. The Preferences dialog contains the " "following categories:" msgstr "" -"如果要配置 gedit,請選擇 編輯" +"如果要配置 pluma,請選擇 編輯" "偏好設定偏好設" "定對話方塊含有下列 種類:" @@ -1133,9 +1133,9 @@ msgstr "使用預設配色字型" #: ../base.xml:763(para) msgid "" "Select this option to use the default system font for the text in the " -"gedit text window." +"pluma text window." msgstr "" -"選取這個選項,在 gedit 文字視窗的文字中,會使用系" +"選取這個選項,在 pluma 文字視窗的文字中,會使用系" "統預設的字型。" #: ../base.xml:766(guilabel) @@ -1144,11 +1144,11 @@ msgstr "編輯器字型" #: ../base.xml:768(para) msgid "" -"This field displays the font that gedit uses to " +"This field displays the font that pluma uses to " "display text. Click on the button to specify the font type, style, and size " "to use for text." msgstr "" -"這個欄位會顯示 gedit 用來顯示文字的字型。 按一下按" +"這個欄位會顯示 pluma 用來顯示文字的字型。 按一下按" "鈕,指定文字所使用的字體類型、樣式與大小。" #: ../base.xml:772(guilabel) @@ -1158,9 +1158,9 @@ msgstr "使用預設的配色色彩" #: ../base.xml:774(para) msgid "" "Select this option to use the default theme colors in the " -"gedit text window." +"pluma text window." msgstr "" -"選取這個選項,會在 gedit 文字視窗中,使用預設的配" +"選取這個選項,會在 pluma 文字視窗中,使用預設的配" "色色彩。" #: ../base.xml:777(guilabel) @@ -1171,10 +1171,10 @@ msgstr "文字色彩" msgid "" "Click on the Text color button to display the color " "selector dialog. Select a color to use to display text in the " -"gedit text window." +"pluma text window." msgstr "" "按一下文字色彩按鈕, 顯示色彩選擇元件對話方塊。請選取" -"顏色,程式會在 gedit 文字視窗中,以該顏色顯示文" +"顏色,程式會在 pluma 文字視窗中,以該顏色顯示文" "字。" #: ../base.xml:784(guilabel) @@ -1184,11 +1184,11 @@ msgstr "背景色彩" #: ../base.xml:786(para) msgid "" "Click on the Background color button to display the " -"color selector dialog. Select a background color for the geditpluma text window." msgstr "" "按一下背景色彩按鈕, 顯示色彩選擇元件對話方塊。請為 " -"gedit 文字視窗選取背景色彩。" +"pluma 文字視窗選取背景色彩。" #: ../base.xml:791(guilabel) msgid "Selected text color" @@ -1226,9 +1226,9 @@ msgstr "tab 字元的寬度為" #: ../base.xml:813(para) msgid "" "Use this spin box to specify the width of the space that " -"gedit inserts when you press the Tab key." +"pluma inserts when you press the Tab key." msgstr "" -"請使用這個旋轉方塊,指定 gedit 在您按下 " +"請使用這個旋轉方塊,指定 pluma 在您按下 " "Tab 鍵時會加入的空格寬度。" #: ../base.xml:818(guilabel) @@ -1237,11 +1237,11 @@ msgstr "以插入空格取代跳格" #: ../base.xml:820(para) msgid "" -"Select this option to specify that gedit inserts " +"Select this option to specify that pluma inserts " "spaces instead of a tab character when you press the Tab " "key." msgstr "" -"選取這個選項可以指定 gedit 在您按下 Tab pluma 在您按下 Tab 鍵時,以插入空格取 代跳格字元。" #: ../base.xml:830(title) @@ -1293,8 +1293,8 @@ msgstr "顯示行號" #: ../base.xml:861(para) msgid "" "Select this option to display line numbers on the left side of the " -"gedit window." -msgstr "選取這個選項,會在 gedit 視窗左側顯示行號。" +"pluma window." +msgstr "選取這個選項,會在 pluma 視窗左側顯示行號。" #: ../base.xml:869(title) msgid "Open" @@ -1320,18 +1320,18 @@ msgstr "" #: ../base.xml:877(para) msgid "" -"By default, gedit uses UTF-8 encoding to try to " +"By default, pluma uses UTF-8 encoding to try to " "open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 " "covers almost all known alphabets and character sets. If the file is not a " -"valid UTF-8 file, gedit tries to open the file by " +"valid UTF-8 file, pluma tries to open the file by " "using the encoding for the current locale. If this also fails, " -"gedit tries to use an encoding from the Supported " +"pluma tries to use an encoding from the Supported " "encodings list, starting at the top of the list." msgstr "" -"依預設值,gedit 是使用 UTF-8 編碼來開啟檔案。UTF-" +"依預設值,pluma 是使用 UTF-8 編碼來開啟檔案。UTF-" "8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如" -"果檔案並不是有效的 UTF-8 檔,gedit 會試著以目前語" -"系的編碼來開啟檔案。如果這樣依然有問題,gedit 會從" +"果檔案並不是有效的 UTF-8 檔,pluma 會試著以目前語" +"系的編碼來開啟檔案。如果這樣依然有問題,pluma 會從" "支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。" #: ../base.xml:880(para) @@ -1566,10 +1566,10 @@ msgstr "按一下這個按鈕,可以選取列印行號時的字型。" #: ../base.xml:1043(para) msgid "" "To reset the fonts to the default fonts for printing a file from " -"gedit click on the Restore Default " +"pluma click on the Restore Default " "Fonts button." msgstr "" -"如果要將 gedit 列印檔案時的字型,重設為預設值, 請" +"如果要將 pluma 列印檔案時的字型,重設為預設值, 請" "按一下還原預設字型按鈕。" #: ../base.xml:1050(title) @@ -1579,11 +1579,11 @@ msgstr "增效模組" #: ../base.xml:1051(para) msgid "" "For information about how to use the Plugins category " -"of the Preferences dialog, see Preferences dialog, see ." msgstr "" "關於如何使用偏好設定對話方塊的增效模組類別,進一步資訊請參閱 。" +"guilabel>類別,進一步資訊請參閱 。" #: ../base.xml:1058(title) msgid "Working with Plugins" @@ -1592,15 +1592,15 @@ msgstr "使用增效模組" #: ../base.xml:1059(para) msgid "" "A plugin is a supplementary program that enhances the functionality of an " -"application. The gedit plugins enable you to " +"application. The pluma plugins enable you to " "perform a variety of functions related to text editing from within the " -" gedit window. The following table lists the " -" gedit plugins." +" pluma window. The following table lists the " +" pluma plugins." msgstr "" "增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 " -"gedit 增效模組,在 geditpluma 增效模組,在 pluma 視窗內,執行多種文字編輯功能。下表所列的,便是 " -"gedit 的增效模組。" +"pluma 的增效模組。" #: ../base.xml:1070(para) ../base.xml:1150(para) msgid "Plugin Name" @@ -1707,37 +1707,37 @@ msgid "Inserts the username of the current user into the file." msgstr "將目前的使用者名稱加入到檔案中。" #: ../base.xml:1123(title) -msgid "To Load gedit Plugins" -msgstr "載入 gedit 增效模組" +msgid "To Load pluma Plugins" +msgstr "載入 pluma 增效模組" #: ../base.xml:1124(para) msgid "" -"To load gedit plugins, choose " +"To load pluma plugins, choose " "EditPreferences. Within the Plugins category, click on the " "Manager subcategory. The Manager " "subcategory displays the following information:" msgstr "" -"如果要載入 gedit增效模組,請選擇" +"如果要載入 pluma增效模組,請選擇" "編輯偏好設定。在增效模組類別中,按一下管理員子類別。 管理員子類別會顯示下列資訊:" #: ../base.xml:1131(para) msgid "" -"A list of the plugins that you can use with gedit." -msgstr "可以與 gedit 一同使用之增效模組的清單。" +"A list of the plugins that you can use with pluma." +msgstr "可以與 pluma 一同使用之增效模組的清單。" #: ../base.xml:1133(para) msgid "" "A Configure plugin button. You can use this button to " "open a configuration dialog for the plugins that you can configure. For " -"example, see and ." +"example, see and ." msgstr "" "配置增效模組 按鈕。您可以使用這個按鈕,為您可以配置的" -"增效模組,開啟配置對話方塊。例如,請參閱 以及 。" +"增效模組,開啟配置對話方塊。例如,請參閱 以及 。" #: ../base.xml:1136(para) msgid "" @@ -1753,12 +1753,12 @@ msgstr "增效模組作者及模組名稱之詳細資訊。" #: ../base.xml:1142(para) msgid "" "To load a plugin, select the check box next to the name of the plugin. The " -"gedit application adds the plugin to the " -"appropriate gedit menu, as described in the " +"pluma application adds the plugin to the " +"appropriate pluma menu, as described in the " "following table." msgstr "" -"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。gedit 應用程式 會如下表所述,將外掛程式加入適當的 geditpluma 應用程式 會如下表所述,將外掛程式加入適當的 pluma 功能表中。" #: ../base.xml:1151(para) @@ -1826,23 +1826,23 @@ msgstr "" "guibutton>。" #: ../base.xml:1216(title) -msgid "To Remove gedit Plugins" -msgstr "移除 gedit 增效模組" +msgid "To Remove pluma Plugins" +msgstr "移除 pluma 增效模組" #: ../base.xml:1217(para) -msgid "A plugin remains loaded when you quit gedit." +msgid "A plugin remains loaded when you quit pluma." msgstr "" -"即使您離開了 gedit,增效模組仍然是載入應用程式中。" +"即使您離開了 pluma,增效模組仍然是載入應用程式中。" #: ../base.xml:1218(para) msgid "" -"To remove gedit plugins, choose " +"To remove pluma plugins, choose " "EditPreferences. Within the Plugins category, click on the " "Manager subcategory. To remove a plugin, deselect the " "check box next to the name of the plugin." msgstr "" -"如果要移除 gedit 增效模組,請選擇" +"如果要移除 pluma 增效模組,請選擇" "編輯偏好設定。在增效模組類別中,按一下管理員子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。" @@ -1912,22 +1912,22 @@ msgstr "" #: ../base.xml:1258(para) msgid "" -"Set the environment variable CVSEDITOR to gedit. " +"Set the environment variable CVSEDITOR to pluma. " "For example, if you are using the bash shell, run the " "following command at the operating system prompt: export " -"CVSEDITOR=gedit " +"CVSEDITOR=pluma " msgstr "" -"將環境變數 CVSEDITOR 設為 gedit。 例如,如果您正在" +"將環境變數 CVSEDITOR 設為 pluma。 例如,如果您正在" "使用 bash shell,請在作業系統 提示的時候,輸入下面的指" -"令: export CVSEDITOR=gedit export CVSEDITOR=pluma " #: ../base.xml:1264(para) msgid "" -"Commit a file to CVS in the usual way. A gedit " +"Commit a file to CVS in the usual way. A pluma " "window opens, to enable you to enter the commit message." msgstr "" -"以平常的方式將檔案確定至 CVS。此時會開啟 gedit 視" +"以平常的方式將檔案確定至 CVS。此時會開啟 pluma 視" "窗,讓您輸入 commit 訊息。" #: ../base.xml:1267(para) @@ -1938,35 +1938,35 @@ msgstr "載入 CVS ChangeLog 增效模組。" msgid "" "Choose FileOpen CVS ChangeLogs to open all of the ChangeLog files referenced in " -"the commit message. gedit opens each ChangeLog " +"the commit message. pluma opens each ChangeLog " "file in a new tab." msgstr "" "請選擇 檔案開啟 CVS ChangeLogs,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。" -"gedit 會為每個 變更Log 檔案開啟一個新標籤。" +"pluma 會為每個 變更Log 檔案開啟一個新標籤。" #: ../base.xml:1272(para) msgid "" "Copy the ChangeLog entries that you want to add to the commit message from " -"the gedit ChangeLog files." +"the pluma ChangeLog files." msgstr "" -"gedit ChangeLog 檔案中,複製您想加入 commit 訊息" +"pluma ChangeLog 檔案中,複製您想加入 commit 訊息" "的 ChangeLog 記錄。" #: ../base.xml:1275(para) msgid "" -"Insert the copied ChangeLog entries in the gedit " +"Insert the copied ChangeLog entries in the pluma " "commit message tab." msgstr "" -"將 ChangeLog 記錄加入 gedit 的 commit 訊息標籤內。" +"將 ChangeLog 記錄加入 pluma 的 commit 訊息標籤內。" #: ../base.xml:1278(para) msgid "Save your changes to the commit message, then close all files." msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。" #: ../base.xml:1281(para) -msgid "Quit gedit." -msgstr "結束 gedit。" +msgid "Quit pluma." +msgstr "結束 pluma。" #: ../base.xml:1288(title) msgid "Compare Files Plugin" @@ -1993,13 +1993,13 @@ msgid "" "guimenuitem>. When you choose this option for the first time, " "you are prompted to confirm the location of the diff " "command. You are not prompted for this location again. See for information about how to change this " +"\"pluma-compare-files-configure\"/> for information about how to change this " "location later." msgstr "" "請選擇 工具比較檔案。 當您是第一次選擇這個選項,系統會提示您,請您確認 " "diff 指令的位置。以後則不會再提示您確認位置。若需如何在日" -"後變更這個位置的詳細資訊,請參閱 。" #: ../base.xml:1299(para) @@ -2153,12 +2153,12 @@ msgstr "目前文件的位元組數。" #: ../base.xml:1376(para) msgid "" -"You can continue to update the gedit file while " +"You can continue to update the pluma file while " "the Document Statistics dialog is open. To refresh the " "contents of the Document Statistics dialog, click on " "the Update button." msgstr "" -"您可以不斷地更新gedit 檔案,而無須關閉文" +"您可以不斷地更新pluma 檔案,而無須關閉文" "件統計資料對話方塊。要重新整理文件統計資料對" "話方塊的內容,請按一下更新按鈕。" @@ -2239,36 +2239,36 @@ msgstr "" msgid "" "If you have not configured the Insert Date/Time plugin to automatically " "insert the date/time without prompting you for the format, " -"gedit displays the Insert Date and " +"pluma displays the Insert Date and " "Time dialog. Select the appropriate date/time format from the " "list. Click on the Insert button to close the " -"Insert Date and Time dialog; geditInsert Date and Time dialog; pluma inserts the date/time at the cursor position in the current " "file." msgstr "" "如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間," -"gedit 會顯示加入日期和時間對" +"pluma 會顯示加入日期和時間對" "話方塊。從清單中選取適當的日期/時間格式。按一下插入按" -"鈕,關閉加入日期和時間對話方塊;gedit加入日期和時間對話方塊;pluma 會在目前檔案的游標位置上插入日期/時間。" #: ../base.xml:1416(para) msgid "" -"If you have configured gedit to use one " +"If you have configured pluma to use one " "particular date/time format, the Insert Date and Time " "dialog is not displayed; the date/time is automatically entered at the " "cursor position in the current file." msgstr "" -"如果您已經將 gedit 配置成使用特定的日期/時間格式," +"如果您已經將 pluma 配置成使用特定的日期/時間格式," "則不會顯示加入日期和時間對話方塊;即會在目前檔案的游標位" "置上插入日期/時間。" #: ../base.xml:1417(para) msgid "" -"See for information about how " +"See for information about how " "to configure the Insert Date/Time plugin." msgstr "" -"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 。" #: ../base.xml:1422(title) @@ -2305,17 +2305,17 @@ msgstr "" #: ../base.xml:1443(para) msgid "" -"To use the same gedit-provided date/time format " +"To use the same pluma-provided date/time format " "each time you insert the date/time, select the Use the selected " "format option, then select the appropriate format from the list. " -"When you select this option, gedit does not " +"When you select this option, pluma does not " "prompt you for the date/time format when you choose " "EditInsert Date and Time." msgstr "" -"如果要在每次加入日期/時間時都使用 gedit 提供的日" +"如果要在每次加入日期/時間時都使用 pluma 提供的日" "期/時間格式,請選取使用選取的格式選項,然後從清單中選取" -"適當的格式。當您選取這個選項後,gedit 並不會在您選" +"適當的格式。當您選取這個選項後,pluma 並不會在您選" "擇編輯加入日期和時間時,提示您設定日期/時間的格式。" @@ -2326,11 +2326,11 @@ msgstr "Shell 指令增效模組" #: ../base.xml:1463(para) msgid "" "The Shell Command plugin enables you to capture the output from a shell " -"command in gedit, by displaying the text output " +"command in pluma, by displaying the text output " "of the shell command in the output window. To use the Shell command plugin, " "perform the following steps:" msgstr "" -"Shell 指令增效模組可以從 gedit 的 shell 指令擷取輸" +"Shell 指令增效模組可以從 pluma 的 shell 指令擷取輸" "出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模" "組,請執行 下列的步驟:" @@ -2374,11 +2374,11 @@ msgstr "%n" #: ../base.xml:1485(para) msgid "" "Use these special characters to specify the filename of the current active " -"document, without the path. In this case, gedit " +"document, without the path. In this case, pluma " "looks for the file in the Working directory." msgstr "" "使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時," -"gedit 會在工作目錄中找尋檔案。" +"pluma 會在工作目錄中找尋檔案。" #: ../base.xml:1489(para) msgid "" @@ -2393,11 +2393,11 @@ msgstr "" msgid "" "Select the Show results in Output Window option to " "display the results of the command in the output window. If you do not " -"select this option, gedit discards the results of " +"select this option, pluma discards the results of " "the command." msgstr "" "選取在輸出視窗顯示結果選項,在輸出視窗顯示指令的執行結" -"果。如果沒有選取這個選項,gedit 會放棄指令結果。" +"果。如果沒有選取這個選項,pluma 會放棄指令結果。" #: ../base.xml:1496(para) msgid "" diff --git a/osx/Info.plist.in b/osx/Info.plist.in index f8e4c90..a444900 100755 --- a/osx/Info.plist.in +++ b/osx/Info.plist.in @@ -5,13 +5,13 @@ CFBundleDevelopmentRegion English CFBundleExecutable - gedit + pluma CFBundleGetInfoString - @VERSION@ Copyright 2009, gedit + @VERSION@ Copyright 2009, pluma CFBundleIconFile - gedit.icns + pluma.icns CFBundleIdentifier - org.mate.gedit + org.mate.pluma CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType @@ -23,7 +23,7 @@ CFBundleVersion @VERSION@ NSHumanReadableCopyright - Copyright 2009 gedit, GNU General Public License. + Copyright 2009 pluma, GNU General Public License. LSMinimumSystemVersion 10.4 CFBundleDocumentTypes @@ -180,7 +180,7 @@ yaml CFBundleTypeIconFile - geditdoc + plumadoc CFBundleTypeMIMETypes application/base64 @@ -247,7 +247,7 @@ x-world/x-vrml CFBundleTypeName - Gedit Document + Pluma Document CFBundleTypeOSTypes **** diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am index d7ee461..0e17c73 100755 --- a/pixmaps/Makefile.am +++ b/pixmaps/Makefile.am @@ -1,12 +1,12 @@ -icondir = $(datadir)/gedit-2/icons -icon_DATA = gedit-plugin.png +icondir = $(datadir)/pluma-2/icons +icon_DATA = pluma-plugin.png -logodir = $(datadir)/gedit-2/logo -logo_DATA = gedit-logo.png +logodir = $(datadir)/pluma-2/logo +logo_DATA = pluma-logo.png EXTRA_DIST = \ $(icon_DATA) \ $(logo_DATA) \ - gedit.ico + pluma.ico -include $(top_srcdir)/git.mk diff --git a/pixmaps/gedit-logo.png b/pixmaps/pluma-logo.png similarity index 100% rename from pixmaps/gedit-logo.png rename to pixmaps/pluma-logo.png diff --git a/pixmaps/gedit-plugin.png b/pixmaps/pluma-plugin.png similarity index 100% rename from pixmaps/gedit-plugin.png rename to pixmaps/pluma-plugin.png diff --git a/pixmaps/gedit.ico b/pixmaps/pluma.ico similarity index 100% rename from pixmaps/gedit.ico rename to pixmaps/pluma.ico diff --git a/plugin-loaders/c/Makefile.am b/plugin-loaders/c/Makefile.am index 7760aef..37df5cd 100755 --- a/plugin-loaders/c/Makefile.am +++ b/plugin-loaders/c/Makefile.am @@ -1,24 +1,24 @@ # C plugin loader -loaderdir = $(libdir)/gedit-2/plugin-loaders +loaderdir = $(libdir)/pluma-2/plugin-loaders INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) \ - -DGEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" + -DPLUMA_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" loader_LTLIBRARIES = libcloader.la NOINST_H_FILES = \ - gedit-plugin-loader-c.h + pluma-plugin-loader-c.h libcloader_la_SOURCES = \ - gedit-plugin-loader-c.c \ + pluma-plugin-loader-c.c \ $(NOINST_H_FILES) libcloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS) -libcloader_la_LIBADD = $(GEDIT_LIBS) +libcloader_la_LIBADD = $(PLUMA_LIBS) -include $(top_srcdir)/git.mk diff --git a/plugin-loaders/c/gedit-plugin-loader-c.h b/plugin-loaders/c/gedit-plugin-loader-c.h deleted file mode 100755 index 7042054..0000000 --- a/plugin-loaders/c/gedit-plugin-loader-c.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * gedit-plugin-loader-c.h - * This file is part of gedit - * - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_PLUGIN_LOADER_C_H__ -#define __GEDIT_PLUGIN_LOADER_C_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_PLUGIN_LOADER_C (gedit_plugin_loader_c_get_type ()) -#define GEDIT_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_PLUGIN_LOADER_C, GeditPluginLoaderC)) -#define GEDIT_PLUGIN_LOADER_C_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_PLUGIN_LOADER_C, GeditPluginLoaderC const)) -#define GEDIT_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_PLUGIN_LOADER_C, GeditPluginLoaderCClass)) -#define GEDIT_IS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_PLUGIN_LOADER_C)) -#define GEDIT_IS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN_LOADER_C)) -#define GEDIT_PLUGIN_LOADER_C_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_PLUGIN_LOADER_C, GeditPluginLoaderCClass)) - -typedef struct _GeditPluginLoaderC GeditPluginLoaderC; -typedef struct _GeditPluginLoaderCClass GeditPluginLoaderCClass; -typedef struct _GeditPluginLoaderCPrivate GeditPluginLoaderCPrivate; - -struct _GeditPluginLoaderC { - GObject parent; - - GeditPluginLoaderCPrivate *priv; -}; - -struct _GeditPluginLoaderCClass { - GObjectClass parent_class; -}; - -GType gedit_plugin_loader_c_get_type (void) G_GNUC_CONST; -GeditPluginLoaderC *gedit_plugin_loader_c_new(void); - -/* All the loaders must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin_loader (GTypeModule * module); - -G_END_DECLS - -#endif /* __GEDIT_PLUGIN_LOADER_C_H__ */ diff --git a/plugin-loaders/c/gedit-plugin-loader-c.c b/plugin-loaders/c/pluma-plugin-loader-c.c similarity index 53% rename from plugin-loaders/c/gedit-plugin-loader-c.c rename to plugin-loaders/c/pluma-plugin-loader-c.c index 37b3d05..09f0ccc 100755 --- a/plugin-loaders/c/gedit-plugin-loader-c.c +++ b/plugin-loaders/c/pluma-plugin-loader-c.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-loader-c.c - * This file is part of gedit + * pluma-plugin-loader-c.c + * This file is part of pluma * * Copyright (C) 2008 - Jesse van den Kieboom * @@ -20,46 +20,46 @@ * Boston, MA 02111-1307, USA. */ -#include "gedit-plugin-loader-c.h" -#include +#include "pluma-plugin-loader-c.h" +#include -#define GEDIT_PLUGIN_LOADER_C_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_PLUGIN_LOADER_C, GeditPluginLoaderCPrivate)) +#define PLUMA_PLUGIN_LOADER_C_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_PLUGIN_LOADER_C, PlumaPluginLoaderCPrivate)) -struct _GeditPluginLoaderCPrivate +struct _PlumaPluginLoaderCPrivate { GHashTable *loaded_plugins; }; -static void gedit_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data); +static void pluma_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data); -GEDIT_PLUGIN_LOADER_REGISTER_TYPE (GeditPluginLoaderC, gedit_plugin_loader_c, G_TYPE_OBJECT, gedit_plugin_loader_iface_init); +PLUMA_PLUGIN_LOADER_REGISTER_TYPE (PlumaPluginLoaderC, pluma_plugin_loader_c, G_TYPE_OBJECT, pluma_plugin_loader_iface_init); static const gchar * -gedit_plugin_loader_iface_get_id (void) +pluma_plugin_loader_iface_get_id (void) { return "C"; } -static GeditPlugin * -gedit_plugin_loader_iface_load (GeditPluginLoader *loader, - GeditPluginInfo *info, +static PlumaPlugin * +pluma_plugin_loader_iface_load (PlumaPluginLoader *loader, + PlumaPluginInfo *info, const gchar *path) { - GeditPluginLoaderC *cloader = GEDIT_PLUGIN_LOADER_C (loader); - GeditObjectModule *module; + PlumaPluginLoaderC *cloader = PLUMA_PLUGIN_LOADER_C (loader); + PlumaObjectModule *module; const gchar *module_name; - GeditPlugin *result; + PlumaPlugin *result; - module = (GeditObjectModule *)g_hash_table_lookup (cloader->priv->loaded_plugins, info); - module_name = gedit_plugin_info_get_module_name (info); + module = (PlumaObjectModule *)g_hash_table_lookup (cloader->priv->loaded_plugins, info); + module_name = pluma_plugin_info_get_module_name (info); if (module == NULL) { /* For now we force all modules to be resident */ - module = gedit_object_module_new (module_name, + module = pluma_object_module_new (module_name, path, - "register_gedit_plugin", + "register_pluma_plugin", TRUE); /* Infos are available for all the lifetime of the loader. @@ -70,7 +70,7 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, if (!g_type_module_use (G_TYPE_MODULE (module))) { - g_warning ("Could not load plugin module: %s", gedit_plugin_info_get_name (info)); + g_warning ("Could not load plugin module: %s", pluma_plugin_info_get_name (info)); return NULL; } @@ -78,14 +78,14 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, /* TODO: for now we force data-dir-name = module-name... if needed we can * add a datadir field to the plugin descriptor file. */ - result = (GeditPlugin *)gedit_object_module_new_object (module, + result = (PlumaPlugin *)pluma_object_module_new_object (module, "install-dir", path, "data-dir-name", module_name, NULL); if (!result) { - g_warning ("Could not create plugin object: %s", gedit_plugin_info_get_name (info)); + g_warning ("Could not create plugin object: %s", pluma_plugin_info_get_name (info)); g_type_module_unuse (G_TYPE_MODULE (module)); return NULL; @@ -97,10 +97,10 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, } static void -gedit_plugin_loader_iface_unload (GeditPluginLoader *loader, - GeditPluginInfo *info) +pluma_plugin_loader_iface_unload (PlumaPluginLoader *loader, + PlumaPluginInfo *info) { - //GeditPluginLoaderC *cloader = GEDIT_PLUGIN_LOADER_C (loader); + //PlumaPluginLoaderC *cloader = PLUMA_PLUGIN_LOADER_C (loader); /* this is a no-op, since the type module will be properly unused as the last reference to the plugin dies. When the plugin is activated @@ -108,20 +108,20 @@ gedit_plugin_loader_iface_unload (GeditPluginLoader *loader, } static void -gedit_plugin_loader_iface_init (gpointer g_iface, +pluma_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data) { - GeditPluginLoaderInterface *iface = (GeditPluginLoaderInterface *)g_iface; + PlumaPluginLoaderInterface *iface = (PlumaPluginLoaderInterface *)g_iface; - iface->get_id = gedit_plugin_loader_iface_get_id; - iface->load = gedit_plugin_loader_iface_load; - iface->unload = gedit_plugin_loader_iface_unload; + iface->get_id = pluma_plugin_loader_iface_get_id; + iface->load = pluma_plugin_loader_iface_load; + iface->unload = pluma_plugin_loader_iface_unload; } static void -gedit_plugin_loader_c_finalize (GObject *object) +pluma_plugin_loader_c_finalize (GObject *object) { - GeditPluginLoaderC *cloader = GEDIT_PLUGIN_LOADER_C (object); + PlumaPluginLoaderC *cloader = PLUMA_PLUGIN_LOADER_C (object); GList *infos; GList *item; @@ -132,9 +132,9 @@ gedit_plugin_loader_c_finalize (GObject *object) for (item = infos; item; item = item->next) { - GeditPluginInfo *info = (GeditPluginInfo *)item->data; + PlumaPluginInfo *info = (PlumaPluginInfo *)item->data; - if (gedit_plugin_info_is_active (info)) + if (pluma_plugin_info_is_active (info)) { g_warning ("There are still C plugins loaded during destruction"); break; @@ -145,38 +145,38 @@ gedit_plugin_loader_c_finalize (GObject *object) g_hash_table_destroy (cloader->priv->loaded_plugins); - G_OBJECT_CLASS (gedit_plugin_loader_c_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_plugin_loader_c_parent_class)->finalize (object); } static void -gedit_plugin_loader_c_class_init (GeditPluginLoaderCClass *klass) +pluma_plugin_loader_c_class_init (PlumaPluginLoaderCClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_plugin_loader_c_finalize; + object_class->finalize = pluma_plugin_loader_c_finalize; - g_type_class_add_private (object_class, sizeof (GeditPluginLoaderCPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaPluginLoaderCPrivate)); } static void -gedit_plugin_loader_c_class_finalize (GeditPluginLoaderCClass *klass) +pluma_plugin_loader_c_class_finalize (PlumaPluginLoaderCClass *klass) { } static void -gedit_plugin_loader_c_init (GeditPluginLoaderC *self) +pluma_plugin_loader_c_init (PlumaPluginLoaderC *self) { - self->priv = GEDIT_PLUGIN_LOADER_C_GET_PRIVATE (self); + self->priv = PLUMA_PLUGIN_LOADER_C_GET_PRIVATE (self); - /* loaded_plugins maps GeditPluginInfo to a GeditObjectModule */ + /* loaded_plugins maps PlumaPluginInfo to a PlumaObjectModule */ self->priv->loaded_plugins = g_hash_table_new (g_direct_hash, g_direct_equal); } -GeditPluginLoaderC * -gedit_plugin_loader_c_new () +PlumaPluginLoaderC * +pluma_plugin_loader_c_new () { - GObject *loader = g_object_new (GEDIT_TYPE_PLUGIN_LOADER_C, NULL); + GObject *loader = g_object_new (PLUMA_TYPE_PLUGIN_LOADER_C, NULL); - return GEDIT_PLUGIN_LOADER_C (loader); + return PLUMA_PLUGIN_LOADER_C (loader); } diff --git a/plugin-loaders/c/pluma-plugin-loader-c.h b/plugin-loaders/c/pluma-plugin-loader-c.h new file mode 100755 index 0000000..1877039 --- /dev/null +++ b/plugin-loaders/c/pluma-plugin-loader-c.h @@ -0,0 +1,60 @@ +/* + * pluma-plugin-loader-c.h + * This file is part of pluma + * + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_PLUGIN_LOADER_C_H__ +#define __PLUMA_PLUGIN_LOADER_C_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_PLUGIN_LOADER_C (pluma_plugin_loader_c_get_type ()) +#define PLUMA_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_PLUGIN_LOADER_C, PlumaPluginLoaderC)) +#define PLUMA_PLUGIN_LOADER_C_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_PLUGIN_LOADER_C, PlumaPluginLoaderC const)) +#define PLUMA_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_PLUGIN_LOADER_C, PlumaPluginLoaderCClass)) +#define PLUMA_IS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_PLUGIN_LOADER_C)) +#define PLUMA_IS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN_LOADER_C)) +#define PLUMA_PLUGIN_LOADER_C_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_PLUGIN_LOADER_C, PlumaPluginLoaderCClass)) + +typedef struct _PlumaPluginLoaderC PlumaPluginLoaderC; +typedef struct _PlumaPluginLoaderCClass PlumaPluginLoaderCClass; +typedef struct _PlumaPluginLoaderCPrivate PlumaPluginLoaderCPrivate; + +struct _PlumaPluginLoaderC { + GObject parent; + + PlumaPluginLoaderCPrivate *priv; +}; + +struct _PlumaPluginLoaderCClass { + GObjectClass parent_class; +}; + +GType pluma_plugin_loader_c_get_type (void) G_GNUC_CONST; +PlumaPluginLoaderC *pluma_plugin_loader_c_new(void); + +/* All the loaders must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin_loader (GTypeModule * module); + +G_END_DECLS + +#endif /* __PLUMA_PLUGIN_LOADER_C_H__ */ diff --git a/plugin-loaders/python/Makefile.am b/plugin-loaders/python/Makefile.am index 174d57d..6466736 100755 --- a/plugin-loaders/python/Makefile.am +++ b/plugin-loaders/python/Makefile.am @@ -1,36 +1,36 @@ # C plugin loader SUBDIRS = bindings -loaderdir = $(libdir)/gedit-2/plugin-loaders +loaderdir = $(libdir)/pluma-2/plugin-loaders INCLUDES = \ -I$(top_srcdir) \ -I$(top_builddir) \ - -I$(top_srcdir)/gedit \ - -I$(top_builddir)/gedit \ - $(GEDIT_CFLAGS) \ + -I$(top_srcdir)/pluma \ + -I$(top_builddir)/pluma \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) \ $(PYGTK_CFLAGS) \ $(PYTHON_CFLAGS) \ - -DGEDIT_PLUGINS_LIBS_DIR=\"$(GEDIT_PLUGINS_LIBS_DIR)\" \ - -DGEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" + -DPLUMA_PLUGINS_LIBS_DIR=\"$(PLUMA_PLUGINS_LIBS_DIR)\" \ + -DPLUMA_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" loader_LTLIBRARIES = libpythonloader.la NOINST_H_FILES = \ - gedit-plugin-loader-python.h \ - gedit-plugin-python.h + pluma-plugin-loader-python.h \ + pluma-plugin-python.h libpythonloader_la_SOURCES = \ - gedit-plugin-loader-python.c \ - gedit-plugin-python.c \ + pluma-plugin-loader-python.c \ + pluma-plugin-python.c \ $(NOINST_H_FILES) libpythonloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS) libpythonloader_la_LIBADD = \ - $(GEDIT_LIBS) \ - bindings/gedit.la + $(PLUMA_LIBS) \ + bindings/pluma.la -include $(top_srcdir)/git.mk diff --git a/plugin-loaders/python/bindings/Makefile.am b/plugin-loaders/python/bindings/Makefile.am index 47183a5..f9493e2 100755 --- a/plugin-loaders/python/bindings/Makefile.am +++ b/plugin-loaders/python/bindings/Makefile.am @@ -1,39 +1,39 @@ ## Process this file with automake to produce Makefile.in noinst_LTLIBRARIES = \ - gedit.la + pluma.la -nodist_gedit_la_SOURCES = \ - gedit.c \ - geditutils.c \ - geditcommands.c +nodist_pluma_la_SOURCES = \ + pluma.c \ + plumautils.c \ + plumacommands.c -gedit_la_LDFLAGS = \ +pluma_la_LDFLAGS = \ -module -avoid-version -gedit_la_LIBADD = \ +pluma_la_LIBADD = \ $(PYTHON_LIB_LOC) \ $(PYTHON_LIBS) \ $(PYTHON_EXTRA_LIBS) \ $(PYGTK_LIBS) -gedit_la_CFLAGS = \ +pluma_la_CFLAGS = \ -I$(top_srcdir) \ -I$(top_builddir) \ - -I$(top_srcdir)/gedit \ - -I$(top_builddir)/gedit \ + -I$(top_srcdir)/pluma \ + -I$(top_builddir)/pluma \ -I$(top_srcdir)/plugin-loaders/python \ -I$(top_builddir)/plugin-loaders/python \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(NO_STRICT_ALIASING_CFLAGS) \ $(PYGTK_CFLAGS) \ $(PYTHON_CFLAGS) \ $(AM_CFLAGS) -$(top_builddir)/gedit/gedit-enum-types.h: - cd $(top_builddir)/gedit && $(MAKE) gedit-enum-types.h +$(top_builddir)/pluma/pluma-enum-types.h: + cd $(top_builddir)/pluma && $(MAKE) pluma-enum-types.h -gedit.c: gedit.defs gedit.override geditplugin.override geditmessage.override $(top_builddir)/gedit/gedit-enum-types.h +pluma.c: pluma.defs pluma.override plumaplugin.override plumamessage.override $(top_builddir)/pluma/pluma-enum-types.h ( cd $(srcdir) && $(PYGTK_CODEGEN) \ --register $(PYGTK_DEFSDIR)/pango-types.defs \ --register $(PYGTK_DEFSDIR)/gdk-types.defs \ @@ -43,69 +43,69 @@ gedit.c: gedit.defs gedit.override geditplugin.override geditmessage.override $( --override $*.override \ --prefix py$* $( $@ -geditutils.c: geditutils.defs geditutils.override +plumautils.c: plumautils.defs plumautils.override ( cd $(srcdir) && $(PYGTK_CODEGEN) \ --override $*.override \ --prefix py$* $( $@ -geditcommands.c: geditcommands.defs geditcommands.override gedit.defs +plumacommands.c: plumacommands.defs plumacommands.override pluma.defs ( cd $(srcdir) && $(PYGTK_CODEGEN) \ - --register gedit.defs \ + --register pluma.defs \ --register $(PYGTK_DEFSDIR)/gtk-types.defs \ --override $*.override \ --prefix py$* $( $@ -BINDING_GEDIT_HEADERS_SRCDIR_IN = \ - gedit/gedit-app.h \ - gedit/gedit-document.h \ - gedit/gedit-encodings.h \ - gedit/gedit-plugin.h \ - plugin-loaders/python/gedit-plugin-python.h \ - gedit/gedit-view.h \ - gedit/gedit-statusbar.h \ - gedit/gedit-tab.h \ - gedit/gedit-panel.h \ - gedit/gedit-window.h \ - gedit/gedit-help.h \ - gedit/gedit-debug.h \ - gedit/gedit-message-type.h \ - gedit/gedit-message.h \ - gedit/gedit-message-bus.h \ - gedit/gedit-language-manager.h +BINDING_PLUMA_HEADERS_SRCDIR_IN = \ + pluma/pluma-app.h \ + pluma/pluma-document.h \ + pluma/pluma-encodings.h \ + pluma/pluma-plugin.h \ + plugin-loaders/python/pluma-plugin-python.h \ + pluma/pluma-view.h \ + pluma/pluma-statusbar.h \ + pluma/pluma-tab.h \ + pluma/pluma-panel.h \ + pluma/pluma-window.h \ + pluma/pluma-help.h \ + pluma/pluma-debug.h \ + pluma/pluma-message-type.h \ + pluma/pluma-message.h \ + pluma/pluma-message-bus.h \ + pluma/pluma-language-manager.h BINDING_UTILS_HEADERS_SRCDIR_IN = \ - gedit/gedit-utils.h + pluma/pluma-utils.h BINDING_COMMANDS_HEADERS_SRCDIR_IN = \ - gedit/gedit-commands.h + pluma/pluma-commands.h BINDING_HEADERS_BUILDDIR_IN = -BINDING_GEDIT_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_GEDIT_HEADERS_SRCDIR_IN)) +BINDING_PLUMA_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_PLUMA_HEADERS_SRCDIR_IN)) BINDING_UTILS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_UTILS_HEADERS_SRCDIR_IN)) BINDING_COMMANDS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_COMMANDS_HEADERS_SRCDIR_IN)) BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN)) regenerate-python-binding: - $(PYGTK_H2DEF) $(sort $(BINDING_GEDIT_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > gedit.defs.new - $(PYGTK_H2DEF) $(sort $(BINDING_UTILS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > geditutils.defs.new - $(PYGTK_H2DEF) $(sort $(BINDING_COMMANDS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > geditcommands.defs.new + $(PYGTK_H2DEF) $(sort $(BINDING_PLUMA_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > pluma.defs.new + $(PYGTK_H2DEF) $(sort $(BINDING_UTILS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > plumautils.defs.new + $(PYGTK_H2DEF) $(sort $(BINDING_COMMANDS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > plumacommands.defs.new BUILT_SOURCES = \ - gedit.c \ - geditutils.c \ - geditcommands.c + pluma.c \ + plumautils.c \ + plumacommands.c EXTRA_DIST = \ - gedit.override \ - gedit.defs \ - geditutils.override \ - geditutils.defs \ - geditcommands.override \ - geditcommands.defs \ - geditmessage.override \ - geditplugin.override + pluma.override \ + pluma.defs \ + plumautils.override \ + plumautils.defs \ + plumacommands.override \ + plumacommands.defs \ + plumamessage.override \ + plumaplugin.override CLEANFILES = $(BUILT_SOURCES) diff --git a/plugin-loaders/python/bindings/gedit.defs b/plugin-loaders/python/bindings/gedit.defs deleted file mode 100755 index 1b11639..0000000 --- a/plugin-loaders/python/bindings/gedit.defs +++ /dev/null @@ -1,1461 +0,0 @@ -;; -*- scheme -*- -; object definitions ... -(define-object App - (in-module "Gedit") - (parent "GObject") - (c-name "GeditApp") - (gtype-id "GEDIT_TYPE_APP") -) - -(define-object Document - (in-module "Gedit") - (parent "GtkSourceBuffer") - (c-name "GeditDocument") - (gtype-id "GEDIT_TYPE_DOCUMENT") -) - -(define-object Message - (in-module "Gedit") - (parent "GObject") - (c-name "GeditMessage") - (gtype-id "GEDIT_TYPE_MESSAGE") -) - -(define-object MessageBus - (in-module "Gedit") - (parent "GObject") - (c-name "GeditMessageBus") - (gtype-id "GEDIT_TYPE_MESSAGE_BUS") -) - -(define-object Panel - (in-module "Gedit") - (parent "GtkVBox") - (c-name "GeditPanel") - (gtype-id "GEDIT_TYPE_PANEL") -) - -(define-object __Plugin - (in-module "Gedit") - (parent "GObject") - (c-name "GeditPlugin") - (gtype-id "GEDIT_TYPE_PLUGIN") -) - -(define-object Plugin - (in-module "Gedit") - (parent "GeditPlugin") - (c-name "GeditPluginPython") - (gtype-id "GEDIT_TYPE_PLUGIN_PYTHON") -) - -(define-object Statusbar - (in-module "Gedit") - (parent "GtkStatusbar") - (c-name "GeditStatusbar") - (gtype-id "GEDIT_TYPE_STATUSBAR") -) - -(define-object Tab - (in-module "Gedit") - (parent "GtkVBox") - (c-name "GeditTab") - (gtype-id "GEDIT_TYPE_TAB") -) - -(define-object View - (in-module "Gedit") - (parent "GtkSourceView") - (c-name "GeditView") - (gtype-id "GEDIT_TYPE_VIEW") -) - -(define-object Window - (in-module "Gedit") - (parent "GtkWindow") - (c-name "GeditWindow") - (gtype-id "GEDIT_TYPE_WINDOW") -) - -;; Enumerations and flags ... - -(define-flags LockdownMask - (in-module "Gedit") - (c-name "GeditLockdownMask") - (gtype-id "GEDIT_TYPE_LOCKDOWN_MASK") - (values - '("command-line" "GEDIT_LOCKDOWN_COMMAND_LINE") - '("printing" "GEDIT_LOCKDOWN_PRINTING") - '("print-setup" "GEDIT_LOCKDOWN_PRINT_SETUP") - '("save-to-disk" "GEDIT_LOCKDOWN_SAVE_TO_DISK") - '("all" "GEDIT_LOCKDOWN_ALL") - ) -) - -(define-flags SearchFlags - (in-module "Gedit") - (c-name "GeditSearchFlags") - (gtype-id "GEDIT_TYPE_SEARCH_FLAGS") - (values - '("dont-set-flags" "GEDIT_SEARCH_DONT_SET_FLAGS") - '("entire-word" "GEDIT_SEARCH_ENTIRE_WORD") - '("case-sensitive" "GEDIT_SEARCH_CASE_SENSITIVE") - ) -) - -(define-flags DocumentSaveFlags - (in-module "Gedit") - (c-name "GeditDocumentSaveFlags") - (gtype-id "GEDIT_TYPE_DOCUMENT_SAVE_FLAGS") - (values - '("ignore-mtime" "GEDIT_DOCUMENT_SAVE_IGNORE_MTIME") - '("ignore-backup" "GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP") - '("preserve-backup" "GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP") - ) -) - -(define-enum TabState - (in-module "Gedit") - (c-name "GeditTabState") - (gtype-id "GEDIT_TYPE_TAB_STATE") - (values - '("normal" "GEDIT_TAB_STATE_NORMAL") - '("loading" "GEDIT_TAB_STATE_LOADING") - '("reverting" "GEDIT_TAB_STATE_REVERTING") - '("saving" "GEDIT_TAB_STATE_SAVING") - '("printing" "GEDIT_TAB_STATE_PRINTING") - '("print-previewing" "GEDIT_TAB_STATE_PRINT_PREVIEWING") - '("showing-print-preview" "GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW") - '("generic-not-editable" "GEDIT_TAB_STATE_GENERIC_NOT_EDITABLE") - '("loading-error" "GEDIT_TAB_STATE_LOADING_ERROR") - '("reverting-error" "GEDIT_TAB_STATE_REVERTING_ERROR") - '("saving-error" "GEDIT_TAB_STATE_SAVING_ERROR") - '("generic-error" "GEDIT_TAB_STATE_GENERIC_ERROR") - '("closing" "GEDIT_TAB_STATE_CLOSING") - ) -) - -(define-flags WindowState - (in-module "Gedit") - (c-name "GeditWindowState") - (gtype-id "GEDIT_TYPE_WINDOW_STATE") - (values - '("normal" "GEDIT_WINDOW_STATE_NORMAL") - '("saving" "GEDIT_WINDOW_STATE_SAVING") - '("printing" "GEDIT_WINDOW_STATE_PRINTING") - '("loading" "GEDIT_WINDOW_STATE_LOADING") - '("error" "GEDIT_WINDOW_STATE_ERROR") - '("saving-session" "GEDIT_WINDOW_STATE_SAVING_SESSION") - ) -) - -;; Boxed types -(define-boxed Encoding - (in-module "Gedit") - (c-name "GeditEncoding") - (gtype-id "GEDIT_TYPE_ENCODING") - (copy-func "gedit_encoding_copy") - (release-func "gedit_encoding_free") -;; (fields -;; '("gint" "index") -;; '("gchar*" "charset") -;; '("gchar*" "name") -;; ) -) - -(define-boxed MessageType - (in-module "Gedit") - (c-name "GeditMessageType") - (gtype-id "GEDIT_TYPE_MESSAGE_TYPE") - (copy-func "gedit_message_type_ref") - (release-func "gedit_message_type_unref") -) - - -;; From ../../gedit/gedit-app.h - -(define-function gedit_app_get_type - (c-name "gedit_app_get_type") - (return-type "GType") -) - -(define-function app_get_default - (c-name "gedit_app_get_default") - (return-type "GeditApp*") -) - -; deprecated version ! -(define-function gedit_app_get_default - (c-name "gedit_app_get_default_deprecated") - (return-type "GeditApp*") -) - -(define-method create_window - (of-object "GeditApp") - (c-name "gedit_app_create_window") - (return-type "GeditWindow*") - (parameters - '("GdkScreen*" "screen") - ) -) - -(define-method get_windows - (of-object "GeditApp") - (c-name "gedit_app_get_windows") - (return-type "const-GList*") -) - -(define-method get_active_window - (of-object "GeditApp") - (c-name "gedit_app_get_active_window") - (return-type "GeditWindow*") -) - -(define-method get_documents - (of-object "GeditApp") - (c-name "gedit_app_get_documents") - (return-type "GList*") -) - -(define-method get_views - (of-object "GeditApp") - (c-name "gedit_app_get_views") - (return-type "GList*") -) - -(define-method get_lockdown - (of-object "GeditApp") - (c-name "gedit_app_get_lockdown") - (return-type "GeditLockdownMask") -) - - -;; From ../../gedit/gedit-document.h - -(define-function document_error_quark - (c-name "gedit_document_error_quark") - (return-type "GQuark") -) - -(define-function gedit_document_get_type - (c-name "gedit_document_get_type") - (return-type "GType") -) - -(define-function gedit_document_new - (c-name "gedit_document_new") - (is-constructor-of "GeditDocument") - (return-type "GeditDocument*") -) - -(define-method get_location - (of-object "GeditDocument") - (c-name "gedit_document_get_location") - (return-type "GFile*") -) - -(define-method get_uri - (of-object "GeditDocument") - (c-name "gedit_document_get_uri") - (return-type "gchar*") -) - -(define-method set_uri - (of-object "GeditDocument") - (c-name "gedit_document_set_uri") - (return-type "none") - (parameters - '("const-gchar*" "uri") - ) -) - -(define-method get_uri_for_display - (of-object "GeditDocument") - (c-name "gedit_document_get_uri_for_display") - (return-type "gchar*") -) - -(define-method get_short_name_for_display - (of-object "GeditDocument") - (c-name "gedit_document_get_short_name_for_display") - (return-type "gchar*") -) - -(define-method get_content_type - (of-object "GeditDocument") - (c-name "gedit_document_get_content_type") - (return-type "gchar*") -) - -(define-method get_mime_type - (of-object "GeditDocument") - (c-name "gedit_document_get_mime_type") - (return-type "gchar*") -) - -(define-method get_readonly - (of-object "GeditDocument") - (c-name "gedit_document_get_readonly") - (return-type "gboolean") -) - -(define-method load - (of-object "GeditDocument") - (c-name "gedit_document_load") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-GeditEncoding*" "encoding") - '("gint" "line_pos") - '("gboolean" "create") - ) -) - -(define-method insert_file - (of-object "GeditDocument") - (c-name "gedit_document_insert_file") - (return-type "gboolean") - (parameters - '("GtkTextIter*" "iter") - '("const-gchar*" "uri") - '("const-GeditEncoding*" "encoding") - ) -) - -(define-method load_cancel - (of-object "GeditDocument") - (c-name "gedit_document_load_cancel") - (return-type "gboolean") -) - -(define-method save - (of-object "GeditDocument") - (c-name "gedit_document_save") - (parameters - '("GeditDocumentSaveFlags" "flags") - ) - (return-type "none") -) - -(define-method save_as - (of-object "GeditDocument") - (c-name "gedit_document_save_as") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-GeditEncoding*" "encoding") - '("GeditDocumentSaveFlags" "flags") - ) -) - -(define-method is_untouched - (of-object "GeditDocument") - (c-name "gedit_document_is_untouched") - (return-type "gboolean") -) - -(define-method is_untitled - (of-object "GeditDocument") - (c-name "gedit_document_is_untitled") - (return-type "gboolean") -) - -(define-method is_local - (of-object "GeditDocument") - (c-name "gedit_document_is_local") - (return-type "gboolean") -) - -(define-method get_deleted - (of-object "GeditDocument") - (c-name "gedit_document_get_deleted") - (return-type "gboolean") -) - -(define-method goto_line - (of-object "GeditDocument") - (c-name "gedit_document_goto_line") - (return-type "gboolean") - (parameters - '("gint" "line") - ) -) - -(define-method set_search_text - (of-object "GeditDocument") - (c-name "gedit_document_set_search_text") - (return-type "none") - (parameters - '("const-gchar*" "text") - '("guint" "flags") - ) -) - -(define-method get_search_text - (of-object "GeditDocument") - (c-name "gedit_document_get_search_text") - (return-type "gchar*") - (parameters - '("guint*" "flags") - ) -) - -(define-method get_can_search_again - (of-object "GeditDocument") - (c-name "gedit_document_get_can_search_again") - (return-type "gboolean") -) - -(define-method search_forward - (of-object "GeditDocument") - (c-name "gedit_document_search_forward") - (return-type "gboolean") - (parameters - '("const-GtkTextIter*" "start") - '("const-GtkTextIter*" "end") - '("GtkTextIter*" "match_start") - '("GtkTextIter*" "match_end") - ) -) - -(define-method replace_all - (of-object "GeditDocument") - (c-name "gedit_document_replace_all") - (return-type "gint") - (parameters - '("const-gchar*" "find") - '("const-gchar*" "replace") - '("guint" "flags") - ) -) - -(define-method search_backward - (of-object "GeditDocument") - (c-name "gedit_document_search_backward") - (return-type "gboolean") - (parameters - '("const-GtkTextIter*" "start") - '("const-GtkTextIter*" "end") - '("GtkTextIter*" "match_start") - '("GtkTextIter*" "match_end") - ) -) - -(define-method set_language - (of-object "GeditDocument") - (c-name "gedit_document_set_language") - (return-type "none") - (parameters - '("GtkSourceLanguage*" "lang" (null-ok)) - ) -) - -(define-method get_language - (of-object "GeditDocument") - (c-name "gedit_document_get_language") - (return-type "GtkSourceLanguage*") -) - -(define-method get_encoding - (of-object "GeditDocument") - (c-name "gedit_document_get_encoding") - (return-type "const-GeditEncoding*") -) - -(define-method set_enable_search_highlighting - (of-object "GeditDocument") - (c-name "gedit_document_set_enable_search_highlighting") - (return-type "none") - (parameters - '("gboolean" "enable") - ) -) - -(define-method get_enable_search_highlighting - (of-object "GeditDocument") - (c-name "gedit_document_get_enable_search_highlighting") - (return-type "gboolean") -) - -;; From ../../gedit/gedit-encodings.h - -(define-function gedit_encoding_get_type - (c-name "gedit_encoding_get_type") - (return-type "GType") -) - -(define-method copy - (of-object "GeditEncoding") - (c-name "gedit_encoding_copy") - (return-type "GeditEncoding*") -) - -(define-method free - (of-object "GeditEncoding") - (c-name "gedit_encoding_free") - (return-type "none") -) - -(define-function encoding_get_from_charset - (c-name "gedit_encoding_get_from_charset") - (return-type "const-GeditEncoding*") - (parameters - '("const-gchar*" "charset") - ) -) - -; Deprecated version ! -(define-function gedit_encoding_get_from_charset - (c-name "gedit_encoding_get_from_charset_deprecated") - (return-type "const-GeditEncoding*") - (parameters - '("const-gchar*" "charset") - ) -) - -(define-function encoding_get_from_index - (c-name "gedit_encoding_get_from_index") - (return-type "const-GeditEncoding*") - (parameters - '("gint" "index") - ) -) - -; Deprecated version ! -(define-function gedit_encoding_get_from_index - (c-name "gedit_encoding_get_from_index_deprecated") - (return-type "const-GeditEncoding*") - (parameters - '("gint" "index") - ) -) - -(define-method to_string - (of-object "GeditEncoding") - (c-name "gedit_encoding_to_string") - (return-type "gchar*") -) - -(define-method get_name - (of-object "GeditEncoding") - (c-name "gedit_encoding_get_name") - (return-type "const-gchar*") -) - -(define-method get_charset - (of-object "GeditEncoding") - (c-name "gedit_encoding_get_charset") - (return-type "const-gchar*") -) - -(define-function encoding_get_utf8 - (c-name "gedit_encoding_get_utf8") - (return-type "const-GeditEncoding*") -) - -; Deprecated version ! -(define-function gedit_encoding_get_utf8 - (c-name "gedit_encoding_get_utf8_deprecated") - (return-type "const-GeditEncoding*") -) - -(define-function encoding_get_current - (c-name "gedit_encoding_get_current") - (return-type "const-GeditEncoding*") -) - -; Deprecated version ! -(define-function gedit_encoding_get_current - (c-name "gedit_encoding_get_current_deprecated") - (return-type "const-GeditEncoding*") -) - -;; From ../../gedit/gedit-help.h - -(define-function help_display - (c-name "gedit_help_display") - (return-type "gboolean") - (parameters - '("GtkWindow*" "parent") - '("const-gchar*" "name") - '("const-gchar*" "link_id") - ) -) - - - -;; From ../../gedit/gedit-panel.h - -(define-function gedit_panel_get_type - (c-name "gedit_panel_get_type") - (return-type "GType") -) - -(define-function gedit_panel_new - (c-name "gedit_panel_new") - (is-constructor-of "GeditPanel") - (return-type "GtkWidget*") -) - -(define-method add_item - (of-object "GeditPanel") - (c-name "gedit_panel_add_item") - (return-type "none") - (parameters - '("GtkWidget*" "item") - '("const-gchar*" "name") - '("GtkWidget*" "image") - ) -) - -(define-method add_item_with_stock_icon - (of-object "GeditPanel") - (c-name "gedit_panel_add_item_with_stock_icon") - (return-type "none") - (parameters - '("GtkWidget*" "item") - '("const-gchar*" "name") - '("const-gchar*" "stock_id") - ) -) - -(define-method remove_item - (of-object "GeditPanel") - (c-name "gedit_panel_remove_item") - (return-type "gboolean") - (parameters - '("GtkWidget*" "item") - ) -) - -(define-method activate_item - (of-object "GeditPanel") - (c-name "gedit_panel_activate_item") - (return-type "gboolean") - (parameters - '("GtkWidget*" "item") - ) -) - -(define-method item_is_active - (of-object "GeditPanel") - (c-name "gedit_panel_item_is_active") - (return-type "gboolean") - (parameters - '("GtkWidget*" "item") - ) -) - -(define-method get_orientation - (of-object "GeditPanel") - (c-name "gedit_panel_get_orientation") - (return-type "GtkOrientation") -) - -(define-method get_n_items - (of-object "GeditPanel") - (c-name "gedit_panel_get_n_items") - (return-type "gint") -) - - -;; From ../../gedit/gedit-plugin.h - -(define-function gedit_plugin_get_type - (c-name "gedit_plugin_get_type") - (return-type "GType") -) - -(define-method get_install_dir - (of-object "GeditPlugin") - (c-name "gedit_plugin_get_install_dir") - (return-type "gchar*") -) - -(define-method get_data_dir - (of-object "GeditPlugin") - (c-name "gedit_plugin_get_data_dir") - (return-type "gchar*") -) - -(define-method activate - (of-object "GeditPlugin") - (c-name "gedit_plugin_activate") - (return-type "none") - (parameters - '("GeditWindow*" "window") - ) -) - -(define-method deactivate - (of-object "GeditPlugin") - (c-name "gedit_plugin_deactivate") - (return-type "none") - (parameters - '("GeditWindow*" "window") - ) -) - -(define-method update_ui - (of-object "GeditPlugin") - (c-name "gedit_plugin_update_ui") - (return-type "none") - (parameters - '("GeditWindow*" "window") - ) -) - -(define-method is_configurable - (of-object "GeditPlugin") - (c-name "gedit_plugin_is_configurable") - (return-type "gboolean") -) - -(define-method create_configure_dialog - (of-object "GeditPlugin") - (c-name "gedit_plugin_create_configure_dialog") - (return-type "GtkWidget*") -) - -;; From ../gedit/gedit-plugin-python.h - -(define-function gedit_plugin_python_get_type - (c-name "gedit_plugin_python_get_type") - (return-type "GType") -) - -(define-function gedit_plugin_python_new - (c-name "gedit_plugin_python_new") - (is-constructor-of "GeditPluginPython") - (return-type "GeditPluginPython*") -) - -;; From ../../gedit/gedit-status-bar.h - -(define-method flash_message - (of-object "GeditStatusbar") - (c-name "gedit_statusbar_flash_message") - (return-type "none") - (parameters - '("int" "context_id") - '("const-gchar*" "message") - ) - ) - -;; From ../../gedit/gedit-tab.h - -(define-function gedit_tab_get_type - (c-name "gedit_tab_get_type") - (return-type "GType") -) - -(define-method get_view - (of-object "GeditTab") - (c-name "gedit_tab_get_view") - (return-type "GeditView*") -) - -(define-method get_document - (of-object "GeditTab") - (c-name "gedit_tab_get_document") - (return-type "GeditDocument*") -) - -(define-function tab_get_from_document - (c-name "gedit_tab_get_from_document") - (return-type "GeditTab*") - (parameters - '("GeditDocument*" "doc") - ) -) - -; Deprecated version ! -(define-function gedit_tab_get_from_document - (c-name "gedit_tab_get_from_document_deprecated") - (return-type "GeditTab*") - (parameters - '("GeditDocument*" "doc") - ) -) - -(define-method get_state - (of-object "GeditTab") - (c-name "gedit_tab_get_state") - (return-type "GeditTabState") -) - -(define-method set_auto_save_enabled - (of-object "GeditTab") - (c-name "gedit_tab_set_auto_save_enabled") - (return-type "none") - (parameters - '("gboolean" "enable") - ) -) - -(define-method get_auto_save_enabled - (of-object "GeditTab") - (c-name "gedit_tab_get_auto_save_enabled") - (return-type "gboolean") -) - -(define-method set_auto_save_interval - (of-object "GeditTab") - (c-name "gedit_tab_set_auto_save_interval") - (return-type "none") - (parameters - '("gint" "interval") - ) -) - -(define-method get_auto_save_interval - (of-object "GeditTab") - (c-name "gedit_tab_get_auto_save_interval") - (return-type "gint") -) - -;; From ../../gedit/gedit-view.h - -(define-function gedit_view_get_type - (c-name "gedit_view_get_type") - (return-type "GtkType") -) - -(define-function gedit_view_new - (c-name "gedit_view_new") - (is-constructor-of "GeditView") - (return-type "GtkWidget*") - (parameters - '("GeditDocument*" "doc") - ) -) - -(define-method cut_clipboard - (of-object "GeditView") - (c-name "gedit_view_cut_clipboard") - (return-type "none") -) - -(define-method copy_clipboard - (of-object "GeditView") - (c-name "gedit_view_copy_clipboard") - (return-type "none") -) - -(define-method paste_clipboard - (of-object "GeditView") - (c-name "gedit_view_paste_clipboard") - (return-type "none") -) - -(define-method delete_selection - (of-object "GeditView") - (c-name "gedit_view_delete_selection") - (return-type "none") -) - -(define-method select_all - (of-object "GeditView") - (c-name "gedit_view_select_all") - (return-type "none") -) - -(define-method scroll_to_cursor - (of-object "GeditView") - (c-name "gedit_view_scroll_to_cursor") - (return-type "none") -) - -(define-method set_font - (of-object "GeditView") - (c-name "gedit_view_set_font") - (return-type "none") - (parameters - '("gboolean" "def") - '("const-gchar*" "font_name") - ) -) - - - -;; From ../../gedit/gedit-window.h - -(define-function gedit_window_get_type - (c-name "gedit_window_get_type") - (return-type "GType") -) - -(define-method create_tab - (of-object "GeditWindow") - (c-name "gedit_window_create_tab") - (return-type "GeditTab*") - (parameters - '("gboolean" "jump_to") - ) -) - -(define-method create_tab_from_uri - (of-object "GeditWindow") - (c-name "gedit_window_create_tab_from_uri") - (return-type "GeditTab*") - (parameters - '("const-gchar*" "uri") - '("const-GeditEncoding*" "encoding" (null-ok)) - '("gint" "line_pos") - '("gboolean" "create") - '("gboolean" "jump_to") - ) -) - -(define-method close_tab - (of-object "GeditWindow") - (c-name "gedit_window_close_tab") - (return-type "none") - (parameters - '("GeditTab*" "tab") - ) -) - -(define-method close_tabs - (of-object "GeditWindow") - (c-name "gedit_window_close_tabs") - (return-type "none") - (parameters - '("const-GList*" "tabs") - ) -) - -(define-method close_all_tabs - (of-object "GeditWindow") - (c-name "gedit_window_close_all_tabs") - (return-type "none") -) - -(define-method get_active_tab - (of-object "GeditWindow") - (c-name "gedit_window_get_active_tab") - (return-type "GeditTab*") -) - -(define-method set_active_tab - (of-object "GeditWindow") - (c-name "gedit_window_set_active_tab") - (return-type "none") - (parameters - '("GeditTab*" "tab") - ) -) - -(define-method get_active_view - (of-object "GeditWindow") - (c-name "gedit_window_get_active_view") - (return-type "GeditView*") -) - -(define-method get_active_document - (of-object "GeditWindow") - (c-name "gedit_window_get_active_document") - (return-type "GeditDocument*") -) - -(define-method get_documents - (of-object "GeditWindow") - (c-name "gedit_window_get_documents") - (return-type "GList*") -) - -(define-method get_unsaved_documents - (of-object "GeditWindow") - (c-name "gedit_window_get_unsaved_documents") - (return-type "GList*") -) - -(define-method get_views - (of-object "GeditWindow") - (c-name "gedit_window_get_views") - (return-type "GList*") -) - -(define-method get_group - (of-object "GeditWindow") - (c-name "gedit_window_get_group") - (return-type "GtkWindowGroup*") -) - -(define-method get_side_panel - (of-object "GeditWindow") - (c-name "gedit_window_get_side_panel") - (return-type "GeditPanel*") -) - -(define-method get_bottom_panel - (of-object "GeditWindow") - (c-name "gedit_window_get_bottom_panel") - (return-type "GeditPanel*") -) - -(define-method get_statusbar - (of-object "GeditWindow") - (c-name "gedit_window_get_statusbar") - (return-type "GtkWidget*") -) - -(define-method get_ui_manager - (of-object "GeditWindow") - (c-name "gedit_window_get_ui_manager") - (return-type "GtkUIManager*") -) - -(define-method get_state - (of-object "GeditWindow") - (c-name "gedit_window_get_state") - (return-type "GeditWindowState") -) - -(define-method get_message_bus - (of-object "GeditWindow") - (c-name "gedit_window_get_message_bus") - (return-type "GeditMessageBus*") -) - -(define-method get_tab_from_uri - (of-object "GeditWindow") - (c-name "gedit_window_get_tab_from_uri") - (return-type "GeditTab*") - (parameters - '("const-gchar*" "uri") - ) -) - -;; From gedit-language-manager.h - -(define-function get_language_manager - (c-name "gedit_get_language_manager") - (return-type "GtkSourceLanguageManager*") -) - -(define-function language_manager_list_languages_sorted - (c-name "gedit_language_manager_list_languages_sorted") - (return-type "GSList*") - (parameters - '("GtkSourceLanguageManager*" "lm") - '("gboolean" "include_hidden") - ) -) - - -;; From gedit-message-bus.h - -(define-function gedit_message_bus_get_type - (c-name "gedit_message_bus_get_type") - (return-type "GType") -) - -(define-function message_bus_get_default - (c-name "gedit_message_bus_get_default") - (return-type "GeditMessageBus*") -) - -(define-function gedit_message_bus_new - (c-name "gedit_message_bus_new") - (is-constructor-of "GeditMessageBus") - (return-type "GeditMessageBus*") -) - -(define-method lookup - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_lookup") - (return-type "GeditMessageType*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - ) -) - -(define-method register - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_register") - (return-type "GeditMessageType*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("guint" "num_optional") - ) - (varargs #t) -) - -(define-method unregister - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_unregister") - (return-type "none") - (parameters - '("GeditMessageType*" "message_type") - ) -) - -(define-method unregister_all - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_unregister_all") - (return-type "none") - (parameters - '("const-gchar*" "object_path") - ) -) - -(define-method is_registered - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_is_registered") - (return-type "gboolean") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - ) -) - -(define-method connect - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_connect") - (return-type "guint") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("GeditMessageCallback" "callback") - '("gpointer" "userdata") - '("GDestroyNotify" "destroy_data") - ) -) - -(define-method disconnect - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_disconnect") - (return-type "none") - (parameters - '("guint" "id") - ) -) - -(define-method disconnect_by_func - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_disconnect_by_func") - (return-type "none") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("GeditMessageCallback" "callback") - '("gpointer" "userdata") - ) -) - -(define-method block - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_block") - (return-type "none") - (parameters - '("guint" "id") - ) -) - -(define-method block_by_func - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_block_by_func") - (return-type "none") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("GeditMessageCallback" "callback") - '("gpointer" "userdata") - ) -) - -(define-method unblock - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_unblock") - (return-type "none") - (parameters - '("guint" "id") - ) -) - -(define-method unblock_by_func - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_unblock_by_func") - (return-type "none") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("GeditMessageCallback" "callback") - '("gpointer" "userdata") - ) -) - -(define-method send_message - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_send_message") - (return-type "none") - (parameters - '("GeditMessage*" "message") - ) -) - -(define-method send_message_sync - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_send_message_sync") - (return-type "none") - (parameters - '("GeditMessage*" "message") - ) -) - -(define-method send - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_send") - (return-type "none") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - ) - (varargs #t) -) - -(define-method send_sync - (of-object "GeditMessageBus") - (c-name "gedit_message_bus_send_sync") - (return-type "GeditMessage*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - ) - (varargs #t) -) - - -;; From gedit-message-type.h - -(define-function gedit_message_type_get_type - (c-name "gedit_message_type_get_type") - (return-type "GType") -) - -(define-function gedit_message_type_is_supported - (c-name "gedit_message_type_is_supported") - (return-type "gboolean") - (parameters - '("GType" "type") - ) -) - -(define-function gedit_message_type_identifier - (c-name "gedit_message_type_identifier") - (return-type "gchar*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - ) -) - -(define-function gedit_message_type_new - (c-name "gedit_message_type_new") - (is-constructor-of "GeditMessageType") - (return-type "GeditMessageType*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("guint" "num_optional") - ) - (varargs #t) -) - -(define-function gedit_message_type_new_valist - (c-name "gedit_message_type_new_valist") - (return-type "GeditMessageType*") - (parameters - '("const-gchar*" "object_path") - '("const-gchar*" "method") - '("guint" "num_optional") - '("va_list" "va_args") - ) -) - -(define-method ref - (of-object "GeditMessageType") - (c-name "gedit_message_type_ref") - (return-type "GeditMessageType*") -) - -(define-method unref - (of-object "GeditMessageType") - (c-name "gedit_message_type_unref") - (return-type "none") -) - -(define-method instantiate_valist - (of-object "GeditMessageType") - (c-name "gedit_message_type_instantiate_valist") - (return-type "GeditMessage*") - (parameters - '("va_list" "va_args") - ) -) - -(define-method instantiate - (of-object "GeditMessageType") - (c-name "gedit_message_type_instantiate") - (return-type "GeditMessage*") - (parameters - ) - (varargs #t) -) - -(define-method get_object_path - (of-object "GeditMessageType") - (c-name "gedit_message_type_get_object_path") - (return-type "const-gchar*") -) - -(define-method get_method - (of-object "GeditMessageType") - (c-name "gedit_message_type_get_method") - (return-type "const-gchar*") -) - -(define-method lookup - (of-object "GeditMessageType") - (c-name "gedit_message_type_lookup") - (return-type "GType") - (parameters - '("const-gchar*" "key") - ) -) - -(define-method foreach - (of-object "GeditMessageType") - (c-name "gedit_message_type_foreach") - (return-type "none") - (parameters - '("GeditMessageTypeForeach" "func") - '("gpointer" "user_data") - ) -) - - -;; From gedit-message.h - -(define-function gedit_message_get_type - (c-name "gedit_message_get_type") - (return-type "GType") -) - -(define-method get - (of-object "GeditMessage") - (c-name "gedit_message_get") - (return-type "none") - (parameters - ) - (varargs #t) -) - -(define-method get_valist - (of-object "GeditMessage") - (c-name "gedit_message_get_valist") - (return-type "none") - (parameters - '("va_list" "var_args") - ) -) - -(define-method get_value - (of-object "GeditMessage") - (c-name "gedit_message_get_value") - (return-type "none") - (parameters - '("const-gchar*" "key") - '("GValue*" "value") - ) -) - -(define-method set - (of-object "GeditMessage") - (c-name "gedit_message_set") - (return-type "none") - (parameters - ) - (varargs #t) -) - -(define-method set_valist - (of-object "GeditMessage") - (c-name "gedit_message_set_valist") - (return-type "none") - (parameters - '("va_list" "var_args") - ) -) - -(define-method set_value - (of-object "GeditMessage") - (c-name "gedit_message_set_value") - (return-type "none") - (parameters - '("const-gchar*" "key") - '("GValue*" "value") - ) -) - -(define-method set_valuesv - (of-object "GeditMessage") - (c-name "gedit_message_set_valuesv") - (return-type "none") - (parameters - '("const-gchar**" "keys") - '("GValue*" "values") - '("gint" "n_values") - ) -) - -(define-method get_object_path - (of-object "GeditMessage") - (c-name "gedit_message_get_object_path") - (return-type "const-gchar*") -) - -(define-method get_method - (of-object "GeditMessage") - (c-name "gedit_message_get_method") - (return-type "const-gchar*") -) - -(define-method has_key - (of-object "GeditMessage") - (c-name "gedit_message_has_key") - (return-type "gboolean") - (parameters - '("const-gchar*" "key") - ) -) - -(define-method get_key_type - (of-object "GeditMessage") - (c-name "gedit_message_get_key_type") - (return-type "GType") - (parameters - '("const-gchar*" "key") - ) -) - -(define-method validate - (of-object "GeditMessage") - (c-name "gedit_message_validate") - (return-type "gboolean") -) - - -;; From ../../gedit/gedit-debug.h - -(define-function debug - (c-name "gedit_debug") - (parameters - '("const-gchar*" "message") - ) - (return-type "none") -) - diff --git a/plugin-loaders/python/bindings/pluma.defs b/plugin-loaders/python/bindings/pluma.defs new file mode 100755 index 0000000..f4e799f --- /dev/null +++ b/plugin-loaders/python/bindings/pluma.defs @@ -0,0 +1,1461 @@ +;; -*- scheme -*- +; object definitions ... +(define-object App + (in-module "Pluma") + (parent "GObject") + (c-name "PlumaApp") + (gtype-id "PLUMA_TYPE_APP") +) + +(define-object Document + (in-module "Pluma") + (parent "GtkSourceBuffer") + (c-name "PlumaDocument") + (gtype-id "PLUMA_TYPE_DOCUMENT") +) + +(define-object Message + (in-module "Pluma") + (parent "GObject") + (c-name "PlumaMessage") + (gtype-id "PLUMA_TYPE_MESSAGE") +) + +(define-object MessageBus + (in-module "Pluma") + (parent "GObject") + (c-name "PlumaMessageBus") + (gtype-id "PLUMA_TYPE_MESSAGE_BUS") +) + +(define-object Panel + (in-module "Pluma") + (parent "GtkVBox") + (c-name "PlumaPanel") + (gtype-id "PLUMA_TYPE_PANEL") +) + +(define-object __Plugin + (in-module "Pluma") + (parent "GObject") + (c-name "PlumaPlugin") + (gtype-id "PLUMA_TYPE_PLUGIN") +) + +(define-object Plugin + (in-module "Pluma") + (parent "PlumaPlugin") + (c-name "PlumaPluginPython") + (gtype-id "PLUMA_TYPE_PLUGIN_PYTHON") +) + +(define-object Statusbar + (in-module "Pluma") + (parent "GtkStatusbar") + (c-name "PlumaStatusbar") + (gtype-id "PLUMA_TYPE_STATUSBAR") +) + +(define-object Tab + (in-module "Pluma") + (parent "GtkVBox") + (c-name "PlumaTab") + (gtype-id "PLUMA_TYPE_TAB") +) + +(define-object View + (in-module "Pluma") + (parent "GtkSourceView") + (c-name "PlumaView") + (gtype-id "PLUMA_TYPE_VIEW") +) + +(define-object Window + (in-module "Pluma") + (parent "GtkWindow") + (c-name "PlumaWindow") + (gtype-id "PLUMA_TYPE_WINDOW") +) + +;; Enumerations and flags ... + +(define-flags LockdownMask + (in-module "Pluma") + (c-name "PlumaLockdownMask") + (gtype-id "PLUMA_TYPE_LOCKDOWN_MASK") + (values + '("command-line" "PLUMA_LOCKDOWN_COMMAND_LINE") + '("printing" "PLUMA_LOCKDOWN_PRINTING") + '("print-setup" "PLUMA_LOCKDOWN_PRINT_SETUP") + '("save-to-disk" "PLUMA_LOCKDOWN_SAVE_TO_DISK") + '("all" "PLUMA_LOCKDOWN_ALL") + ) +) + +(define-flags SearchFlags + (in-module "Pluma") + (c-name "PlumaSearchFlags") + (gtype-id "PLUMA_TYPE_SEARCH_FLAGS") + (values + '("dont-set-flags" "PLUMA_SEARCH_DONT_SET_FLAGS") + '("entire-word" "PLUMA_SEARCH_ENTIRE_WORD") + '("case-sensitive" "PLUMA_SEARCH_CASE_SENSITIVE") + ) +) + +(define-flags DocumentSaveFlags + (in-module "Pluma") + (c-name "PlumaDocumentSaveFlags") + (gtype-id "PLUMA_TYPE_DOCUMENT_SAVE_FLAGS") + (values + '("ignore-mtime" "PLUMA_DOCUMENT_SAVE_IGNORE_MTIME") + '("ignore-backup" "PLUMA_DOCUMENT_SAVE_IGNORE_BACKUP") + '("preserve-backup" "PLUMA_DOCUMENT_SAVE_PRESERVE_BACKUP") + ) +) + +(define-enum TabState + (in-module "Pluma") + (c-name "PlumaTabState") + (gtype-id "PLUMA_TYPE_TAB_STATE") + (values + '("normal" "PLUMA_TAB_STATE_NORMAL") + '("loading" "PLUMA_TAB_STATE_LOADING") + '("reverting" "PLUMA_TAB_STATE_REVERTING") + '("saving" "PLUMA_TAB_STATE_SAVING") + '("printing" "PLUMA_TAB_STATE_PRINTING") + '("print-previewing" "PLUMA_TAB_STATE_PRINT_PREVIEWING") + '("showing-print-preview" "PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW") + '("generic-not-editable" "PLUMA_TAB_STATE_GENERIC_NOT_EDITABLE") + '("loading-error" "PLUMA_TAB_STATE_LOADING_ERROR") + '("reverting-error" "PLUMA_TAB_STATE_REVERTING_ERROR") + '("saving-error" "PLUMA_TAB_STATE_SAVING_ERROR") + '("generic-error" "PLUMA_TAB_STATE_GENERIC_ERROR") + '("closing" "PLUMA_TAB_STATE_CLOSING") + ) +) + +(define-flags WindowState + (in-module "Pluma") + (c-name "PlumaWindowState") + (gtype-id "PLUMA_TYPE_WINDOW_STATE") + (values + '("normal" "PLUMA_WINDOW_STATE_NORMAL") + '("saving" "PLUMA_WINDOW_STATE_SAVING") + '("printing" "PLUMA_WINDOW_STATE_PRINTING") + '("loading" "PLUMA_WINDOW_STATE_LOADING") + '("error" "PLUMA_WINDOW_STATE_ERROR") + '("saving-session" "PLUMA_WINDOW_STATE_SAVING_SESSION") + ) +) + +;; Boxed types +(define-boxed Encoding + (in-module "Pluma") + (c-name "PlumaEncoding") + (gtype-id "PLUMA_TYPE_ENCODING") + (copy-func "pluma_encoding_copy") + (release-func "pluma_encoding_free") +;; (fields +;; '("gint" "index") +;; '("gchar*" "charset") +;; '("gchar*" "name") +;; ) +) + +(define-boxed MessageType + (in-module "Pluma") + (c-name "PlumaMessageType") + (gtype-id "PLUMA_TYPE_MESSAGE_TYPE") + (copy-func "pluma_message_type_ref") + (release-func "pluma_message_type_unref") +) + + +;; From ../../pluma/pluma-app.h + +(define-function pluma_app_get_type + (c-name "pluma_app_get_type") + (return-type "GType") +) + +(define-function app_get_default + (c-name "pluma_app_get_default") + (return-type "PlumaApp*") +) + +; deprecated version ! +(define-function pluma_app_get_default + (c-name "pluma_app_get_default_deprecated") + (return-type "PlumaApp*") +) + +(define-method create_window + (of-object "PlumaApp") + (c-name "pluma_app_create_window") + (return-type "PlumaWindow*") + (parameters + '("GdkScreen*" "screen") + ) +) + +(define-method get_windows + (of-object "PlumaApp") + (c-name "pluma_app_get_windows") + (return-type "const-GList*") +) + +(define-method get_active_window + (of-object "PlumaApp") + (c-name "pluma_app_get_active_window") + (return-type "PlumaWindow*") +) + +(define-method get_documents + (of-object "PlumaApp") + (c-name "pluma_app_get_documents") + (return-type "GList*") +) + +(define-method get_views + (of-object "PlumaApp") + (c-name "pluma_app_get_views") + (return-type "GList*") +) + +(define-method get_lockdown + (of-object "PlumaApp") + (c-name "pluma_app_get_lockdown") + (return-type "PlumaLockdownMask") +) + + +;; From ../../pluma/pluma-document.h + +(define-function document_error_quark + (c-name "pluma_document_error_quark") + (return-type "GQuark") +) + +(define-function pluma_document_get_type + (c-name "pluma_document_get_type") + (return-type "GType") +) + +(define-function pluma_document_new + (c-name "pluma_document_new") + (is-constructor-of "PlumaDocument") + (return-type "PlumaDocument*") +) + +(define-method get_location + (of-object "PlumaDocument") + (c-name "pluma_document_get_location") + (return-type "GFile*") +) + +(define-method get_uri + (of-object "PlumaDocument") + (c-name "pluma_document_get_uri") + (return-type "gchar*") +) + +(define-method set_uri + (of-object "PlumaDocument") + (c-name "pluma_document_set_uri") + (return-type "none") + (parameters + '("const-gchar*" "uri") + ) +) + +(define-method get_uri_for_display + (of-object "PlumaDocument") + (c-name "pluma_document_get_uri_for_display") + (return-type "gchar*") +) + +(define-method get_short_name_for_display + (of-object "PlumaDocument") + (c-name "pluma_document_get_short_name_for_display") + (return-type "gchar*") +) + +(define-method get_content_type + (of-object "PlumaDocument") + (c-name "pluma_document_get_content_type") + (return-type "gchar*") +) + +(define-method get_mime_type + (of-object "PlumaDocument") + (c-name "pluma_document_get_mime_type") + (return-type "gchar*") +) + +(define-method get_readonly + (of-object "PlumaDocument") + (c-name "pluma_document_get_readonly") + (return-type "gboolean") +) + +(define-method load + (of-object "PlumaDocument") + (c-name "pluma_document_load") + (return-type "none") + (parameters + '("const-gchar*" "uri") + '("const-PlumaEncoding*" "encoding") + '("gint" "line_pos") + '("gboolean" "create") + ) +) + +(define-method insert_file + (of-object "PlumaDocument") + (c-name "pluma_document_insert_file") + (return-type "gboolean") + (parameters + '("GtkTextIter*" "iter") + '("const-gchar*" "uri") + '("const-PlumaEncoding*" "encoding") + ) +) + +(define-method load_cancel + (of-object "PlumaDocument") + (c-name "pluma_document_load_cancel") + (return-type "gboolean") +) + +(define-method save + (of-object "PlumaDocument") + (c-name "pluma_document_save") + (parameters + '("PlumaDocumentSaveFlags" "flags") + ) + (return-type "none") +) + +(define-method save_as + (of-object "PlumaDocument") + (c-name "pluma_document_save_as") + (return-type "none") + (parameters + '("const-gchar*" "uri") + '("const-PlumaEncoding*" "encoding") + '("PlumaDocumentSaveFlags" "flags") + ) +) + +(define-method is_untouched + (of-object "PlumaDocument") + (c-name "pluma_document_is_untouched") + (return-type "gboolean") +) + +(define-method is_untitled + (of-object "PlumaDocument") + (c-name "pluma_document_is_untitled") + (return-type "gboolean") +) + +(define-method is_local + (of-object "PlumaDocument") + (c-name "pluma_document_is_local") + (return-type "gboolean") +) + +(define-method get_deleted + (of-object "PlumaDocument") + (c-name "pluma_document_get_deleted") + (return-type "gboolean") +) + +(define-method goto_line + (of-object "PlumaDocument") + (c-name "pluma_document_goto_line") + (return-type "gboolean") + (parameters + '("gint" "line") + ) +) + +(define-method set_search_text + (of-object "PlumaDocument") + (c-name "pluma_document_set_search_text") + (return-type "none") + (parameters + '("const-gchar*" "text") + '("guint" "flags") + ) +) + +(define-method get_search_text + (of-object "PlumaDocument") + (c-name "pluma_document_get_search_text") + (return-type "gchar*") + (parameters + '("guint*" "flags") + ) +) + +(define-method get_can_search_again + (of-object "PlumaDocument") + (c-name "pluma_document_get_can_search_again") + (return-type "gboolean") +) + +(define-method search_forward + (of-object "PlumaDocument") + (c-name "pluma_document_search_forward") + (return-type "gboolean") + (parameters + '("const-GtkTextIter*" "start") + '("const-GtkTextIter*" "end") + '("GtkTextIter*" "match_start") + '("GtkTextIter*" "match_end") + ) +) + +(define-method replace_all + (of-object "PlumaDocument") + (c-name "pluma_document_replace_all") + (return-type "gint") + (parameters + '("const-gchar*" "find") + '("const-gchar*" "replace") + '("guint" "flags") + ) +) + +(define-method search_backward + (of-object "PlumaDocument") + (c-name "pluma_document_search_backward") + (return-type "gboolean") + (parameters + '("const-GtkTextIter*" "start") + '("const-GtkTextIter*" "end") + '("GtkTextIter*" "match_start") + '("GtkTextIter*" "match_end") + ) +) + +(define-method set_language + (of-object "PlumaDocument") + (c-name "pluma_document_set_language") + (return-type "none") + (parameters + '("GtkSourceLanguage*" "lang" (null-ok)) + ) +) + +(define-method get_language + (of-object "PlumaDocument") + (c-name "pluma_document_get_language") + (return-type "GtkSourceLanguage*") +) + +(define-method get_encoding + (of-object "PlumaDocument") + (c-name "pluma_document_get_encoding") + (return-type "const-PlumaEncoding*") +) + +(define-method set_enable_search_highlighting + (of-object "PlumaDocument") + (c-name "pluma_document_set_enable_search_highlighting") + (return-type "none") + (parameters + '("gboolean" "enable") + ) +) + +(define-method get_enable_search_highlighting + (of-object "PlumaDocument") + (c-name "pluma_document_get_enable_search_highlighting") + (return-type "gboolean") +) + +;; From ../../pluma/pluma-encodings.h + +(define-function pluma_encoding_get_type + (c-name "pluma_encoding_get_type") + (return-type "GType") +) + +(define-method copy + (of-object "PlumaEncoding") + (c-name "pluma_encoding_copy") + (return-type "PlumaEncoding*") +) + +(define-method free + (of-object "PlumaEncoding") + (c-name "pluma_encoding_free") + (return-type "none") +) + +(define-function encoding_get_from_charset + (c-name "pluma_encoding_get_from_charset") + (return-type "const-PlumaEncoding*") + (parameters + '("const-gchar*" "charset") + ) +) + +; Deprecated version ! +(define-function pluma_encoding_get_from_charset + (c-name "pluma_encoding_get_from_charset_deprecated") + (return-type "const-PlumaEncoding*") + (parameters + '("const-gchar*" "charset") + ) +) + +(define-function encoding_get_from_index + (c-name "pluma_encoding_get_from_index") + (return-type "const-PlumaEncoding*") + (parameters + '("gint" "index") + ) +) + +; Deprecated version ! +(define-function pluma_encoding_get_from_index + (c-name "pluma_encoding_get_from_index_deprecated") + (return-type "const-PlumaEncoding*") + (parameters + '("gint" "index") + ) +) + +(define-method to_string + (of-object "PlumaEncoding") + (c-name "pluma_encoding_to_string") + (return-type "gchar*") +) + +(define-method get_name + (of-object "PlumaEncoding") + (c-name "pluma_encoding_get_name") + (return-type "const-gchar*") +) + +(define-method get_charset + (of-object "PlumaEncoding") + (c-name "pluma_encoding_get_charset") + (return-type "const-gchar*") +) + +(define-function encoding_get_utf8 + (c-name "pluma_encoding_get_utf8") + (return-type "const-PlumaEncoding*") +) + +; Deprecated version ! +(define-function pluma_encoding_get_utf8 + (c-name "pluma_encoding_get_utf8_deprecated") + (return-type "const-PlumaEncoding*") +) + +(define-function encoding_get_current + (c-name "pluma_encoding_get_current") + (return-type "const-PlumaEncoding*") +) + +; Deprecated version ! +(define-function pluma_encoding_get_current + (c-name "pluma_encoding_get_current_deprecated") + (return-type "const-PlumaEncoding*") +) + +;; From ../../pluma/pluma-help.h + +(define-function help_display + (c-name "pluma_help_display") + (return-type "gboolean") + (parameters + '("GtkWindow*" "parent") + '("const-gchar*" "name") + '("const-gchar*" "link_id") + ) +) + + + +;; From ../../pluma/pluma-panel.h + +(define-function pluma_panel_get_type + (c-name "pluma_panel_get_type") + (return-type "GType") +) + +(define-function pluma_panel_new + (c-name "pluma_panel_new") + (is-constructor-of "PlumaPanel") + (return-type "GtkWidget*") +) + +(define-method add_item + (of-object "PlumaPanel") + (c-name "pluma_panel_add_item") + (return-type "none") + (parameters + '("GtkWidget*" "item") + '("const-gchar*" "name") + '("GtkWidget*" "image") + ) +) + +(define-method add_item_with_stock_icon + (of-object "PlumaPanel") + (c-name "pluma_panel_add_item_with_stock_icon") + (return-type "none") + (parameters + '("GtkWidget*" "item") + '("const-gchar*" "name") + '("const-gchar*" "stock_id") + ) +) + +(define-method remove_item + (of-object "PlumaPanel") + (c-name "pluma_panel_remove_item") + (return-type "gboolean") + (parameters + '("GtkWidget*" "item") + ) +) + +(define-method activate_item + (of-object "PlumaPanel") + (c-name "pluma_panel_activate_item") + (return-type "gboolean") + (parameters + '("GtkWidget*" "item") + ) +) + +(define-method item_is_active + (of-object "PlumaPanel") + (c-name "pluma_panel_item_is_active") + (return-type "gboolean") + (parameters + '("GtkWidget*" "item") + ) +) + +(define-method get_orientation + (of-object "PlumaPanel") + (c-name "pluma_panel_get_orientation") + (return-type "GtkOrientation") +) + +(define-method get_n_items + (of-object "PlumaPanel") + (c-name "pluma_panel_get_n_items") + (return-type "gint") +) + + +;; From ../../pluma/pluma-plugin.h + +(define-function pluma_plugin_get_type + (c-name "pluma_plugin_get_type") + (return-type "GType") +) + +(define-method get_install_dir + (of-object "PlumaPlugin") + (c-name "pluma_plugin_get_install_dir") + (return-type "gchar*") +) + +(define-method get_data_dir + (of-object "PlumaPlugin") + (c-name "pluma_plugin_get_data_dir") + (return-type "gchar*") +) + +(define-method activate + (of-object "PlumaPlugin") + (c-name "pluma_plugin_activate") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + ) +) + +(define-method deactivate + (of-object "PlumaPlugin") + (c-name "pluma_plugin_deactivate") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + ) +) + +(define-method update_ui + (of-object "PlumaPlugin") + (c-name "pluma_plugin_update_ui") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + ) +) + +(define-method is_configurable + (of-object "PlumaPlugin") + (c-name "pluma_plugin_is_configurable") + (return-type "gboolean") +) + +(define-method create_configure_dialog + (of-object "PlumaPlugin") + (c-name "pluma_plugin_create_configure_dialog") + (return-type "GtkWidget*") +) + +;; From ../pluma/pluma-plugin-python.h + +(define-function pluma_plugin_python_get_type + (c-name "pluma_plugin_python_get_type") + (return-type "GType") +) + +(define-function pluma_plugin_python_new + (c-name "pluma_plugin_python_new") + (is-constructor-of "PlumaPluginPython") + (return-type "PlumaPluginPython*") +) + +;; From ../../pluma/pluma-status-bar.h + +(define-method flash_message + (of-object "PlumaStatusbar") + (c-name "pluma_statusbar_flash_message") + (return-type "none") + (parameters + '("int" "context_id") + '("const-gchar*" "message") + ) + ) + +;; From ../../pluma/pluma-tab.h + +(define-function pluma_tab_get_type + (c-name "pluma_tab_get_type") + (return-type "GType") +) + +(define-method get_view + (of-object "PlumaTab") + (c-name "pluma_tab_get_view") + (return-type "PlumaView*") +) + +(define-method get_document + (of-object "PlumaTab") + (c-name "pluma_tab_get_document") + (return-type "PlumaDocument*") +) + +(define-function tab_get_from_document + (c-name "pluma_tab_get_from_document") + (return-type "PlumaTab*") + (parameters + '("PlumaDocument*" "doc") + ) +) + +; Deprecated version ! +(define-function pluma_tab_get_from_document + (c-name "pluma_tab_get_from_document_deprecated") + (return-type "PlumaTab*") + (parameters + '("PlumaDocument*" "doc") + ) +) + +(define-method get_state + (of-object "PlumaTab") + (c-name "pluma_tab_get_state") + (return-type "PlumaTabState") +) + +(define-method set_auto_save_enabled + (of-object "PlumaTab") + (c-name "pluma_tab_set_auto_save_enabled") + (return-type "none") + (parameters + '("gboolean" "enable") + ) +) + +(define-method get_auto_save_enabled + (of-object "PlumaTab") + (c-name "pluma_tab_get_auto_save_enabled") + (return-type "gboolean") +) + +(define-method set_auto_save_interval + (of-object "PlumaTab") + (c-name "pluma_tab_set_auto_save_interval") + (return-type "none") + (parameters + '("gint" "interval") + ) +) + +(define-method get_auto_save_interval + (of-object "PlumaTab") + (c-name "pluma_tab_get_auto_save_interval") + (return-type "gint") +) + +;; From ../../pluma/pluma-view.h + +(define-function pluma_view_get_type + (c-name "pluma_view_get_type") + (return-type "GtkType") +) + +(define-function pluma_view_new + (c-name "pluma_view_new") + (is-constructor-of "PlumaView") + (return-type "GtkWidget*") + (parameters + '("PlumaDocument*" "doc") + ) +) + +(define-method cut_clipboard + (of-object "PlumaView") + (c-name "pluma_view_cut_clipboard") + (return-type "none") +) + +(define-method copy_clipboard + (of-object "PlumaView") + (c-name "pluma_view_copy_clipboard") + (return-type "none") +) + +(define-method paste_clipboard + (of-object "PlumaView") + (c-name "pluma_view_paste_clipboard") + (return-type "none") +) + +(define-method delete_selection + (of-object "PlumaView") + (c-name "pluma_view_delete_selection") + (return-type "none") +) + +(define-method select_all + (of-object "PlumaView") + (c-name "pluma_view_select_all") + (return-type "none") +) + +(define-method scroll_to_cursor + (of-object "PlumaView") + (c-name "pluma_view_scroll_to_cursor") + (return-type "none") +) + +(define-method set_font + (of-object "PlumaView") + (c-name "pluma_view_set_font") + (return-type "none") + (parameters + '("gboolean" "def") + '("const-gchar*" "font_name") + ) +) + + + +;; From ../../pluma/pluma-window.h + +(define-function pluma_window_get_type + (c-name "pluma_window_get_type") + (return-type "GType") +) + +(define-method create_tab + (of-object "PlumaWindow") + (c-name "pluma_window_create_tab") + (return-type "PlumaTab*") + (parameters + '("gboolean" "jump_to") + ) +) + +(define-method create_tab_from_uri + (of-object "PlumaWindow") + (c-name "pluma_window_create_tab_from_uri") + (return-type "PlumaTab*") + (parameters + '("const-gchar*" "uri") + '("const-PlumaEncoding*" "encoding" (null-ok)) + '("gint" "line_pos") + '("gboolean" "create") + '("gboolean" "jump_to") + ) +) + +(define-method close_tab + (of-object "PlumaWindow") + (c-name "pluma_window_close_tab") + (return-type "none") + (parameters + '("PlumaTab*" "tab") + ) +) + +(define-method close_tabs + (of-object "PlumaWindow") + (c-name "pluma_window_close_tabs") + (return-type "none") + (parameters + '("const-GList*" "tabs") + ) +) + +(define-method close_all_tabs + (of-object "PlumaWindow") + (c-name "pluma_window_close_all_tabs") + (return-type "none") +) + +(define-method get_active_tab + (of-object "PlumaWindow") + (c-name "pluma_window_get_active_tab") + (return-type "PlumaTab*") +) + +(define-method set_active_tab + (of-object "PlumaWindow") + (c-name "pluma_window_set_active_tab") + (return-type "none") + (parameters + '("PlumaTab*" "tab") + ) +) + +(define-method get_active_view + (of-object "PlumaWindow") + (c-name "pluma_window_get_active_view") + (return-type "PlumaView*") +) + +(define-method get_active_document + (of-object "PlumaWindow") + (c-name "pluma_window_get_active_document") + (return-type "PlumaDocument*") +) + +(define-method get_documents + (of-object "PlumaWindow") + (c-name "pluma_window_get_documents") + (return-type "GList*") +) + +(define-method get_unsaved_documents + (of-object "PlumaWindow") + (c-name "pluma_window_get_unsaved_documents") + (return-type "GList*") +) + +(define-method get_views + (of-object "PlumaWindow") + (c-name "pluma_window_get_views") + (return-type "GList*") +) + +(define-method get_group + (of-object "PlumaWindow") + (c-name "pluma_window_get_group") + (return-type "GtkWindowGroup*") +) + +(define-method get_side_panel + (of-object "PlumaWindow") + (c-name "pluma_window_get_side_panel") + (return-type "PlumaPanel*") +) + +(define-method get_bottom_panel + (of-object "PlumaWindow") + (c-name "pluma_window_get_bottom_panel") + (return-type "PlumaPanel*") +) + +(define-method get_statusbar + (of-object "PlumaWindow") + (c-name "pluma_window_get_statusbar") + (return-type "GtkWidget*") +) + +(define-method get_ui_manager + (of-object "PlumaWindow") + (c-name "pluma_window_get_ui_manager") + (return-type "GtkUIManager*") +) + +(define-method get_state + (of-object "PlumaWindow") + (c-name "pluma_window_get_state") + (return-type "PlumaWindowState") +) + +(define-method get_message_bus + (of-object "PlumaWindow") + (c-name "pluma_window_get_message_bus") + (return-type "PlumaMessageBus*") +) + +(define-method get_tab_from_uri + (of-object "PlumaWindow") + (c-name "pluma_window_get_tab_from_uri") + (return-type "PlumaTab*") + (parameters + '("const-gchar*" "uri") + ) +) + +;; From pluma-language-manager.h + +(define-function get_language_manager + (c-name "pluma_get_language_manager") + (return-type "GtkSourceLanguageManager*") +) + +(define-function language_manager_list_languages_sorted + (c-name "pluma_language_manager_list_languages_sorted") + (return-type "GSList*") + (parameters + '("GtkSourceLanguageManager*" "lm") + '("gboolean" "include_hidden") + ) +) + + +;; From pluma-message-bus.h + +(define-function pluma_message_bus_get_type + (c-name "pluma_message_bus_get_type") + (return-type "GType") +) + +(define-function message_bus_get_default + (c-name "pluma_message_bus_get_default") + (return-type "PlumaMessageBus*") +) + +(define-function pluma_message_bus_new + (c-name "pluma_message_bus_new") + (is-constructor-of "PlumaMessageBus") + (return-type "PlumaMessageBus*") +) + +(define-method lookup + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_lookup") + (return-type "PlumaMessageType*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + ) +) + +(define-method register + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_register") + (return-type "PlumaMessageType*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("guint" "num_optional") + ) + (varargs #t) +) + +(define-method unregister + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_unregister") + (return-type "none") + (parameters + '("PlumaMessageType*" "message_type") + ) +) + +(define-method unregister_all + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_unregister_all") + (return-type "none") + (parameters + '("const-gchar*" "object_path") + ) +) + +(define-method is_registered + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_is_registered") + (return-type "gboolean") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + ) +) + +(define-method connect + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_connect") + (return-type "guint") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("PlumaMessageCallback" "callback") + '("gpointer" "userdata") + '("GDestroyNotify" "destroy_data") + ) +) + +(define-method disconnect + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_disconnect") + (return-type "none") + (parameters + '("guint" "id") + ) +) + +(define-method disconnect_by_func + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_disconnect_by_func") + (return-type "none") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("PlumaMessageCallback" "callback") + '("gpointer" "userdata") + ) +) + +(define-method block + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_block") + (return-type "none") + (parameters + '("guint" "id") + ) +) + +(define-method block_by_func + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_block_by_func") + (return-type "none") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("PlumaMessageCallback" "callback") + '("gpointer" "userdata") + ) +) + +(define-method unblock + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_unblock") + (return-type "none") + (parameters + '("guint" "id") + ) +) + +(define-method unblock_by_func + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_unblock_by_func") + (return-type "none") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("PlumaMessageCallback" "callback") + '("gpointer" "userdata") + ) +) + +(define-method send_message + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_send_message") + (return-type "none") + (parameters + '("PlumaMessage*" "message") + ) +) + +(define-method send_message_sync + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_send_message_sync") + (return-type "none") + (parameters + '("PlumaMessage*" "message") + ) +) + +(define-method send + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_send") + (return-type "none") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + ) + (varargs #t) +) + +(define-method send_sync + (of-object "PlumaMessageBus") + (c-name "pluma_message_bus_send_sync") + (return-type "PlumaMessage*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + ) + (varargs #t) +) + + +;; From pluma-message-type.h + +(define-function pluma_message_type_get_type + (c-name "pluma_message_type_get_type") + (return-type "GType") +) + +(define-function pluma_message_type_is_supported + (c-name "pluma_message_type_is_supported") + (return-type "gboolean") + (parameters + '("GType" "type") + ) +) + +(define-function pluma_message_type_identifier + (c-name "pluma_message_type_identifier") + (return-type "gchar*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + ) +) + +(define-function pluma_message_type_new + (c-name "pluma_message_type_new") + (is-constructor-of "PlumaMessageType") + (return-type "PlumaMessageType*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("guint" "num_optional") + ) + (varargs #t) +) + +(define-function pluma_message_type_new_valist + (c-name "pluma_message_type_new_valist") + (return-type "PlumaMessageType*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "method") + '("guint" "num_optional") + '("va_list" "va_args") + ) +) + +(define-method ref + (of-object "PlumaMessageType") + (c-name "pluma_message_type_ref") + (return-type "PlumaMessageType*") +) + +(define-method unref + (of-object "PlumaMessageType") + (c-name "pluma_message_type_unref") + (return-type "none") +) + +(define-method instantiate_valist + (of-object "PlumaMessageType") + (c-name "pluma_message_type_instantiate_valist") + (return-type "PlumaMessage*") + (parameters + '("va_list" "va_args") + ) +) + +(define-method instantiate + (of-object "PlumaMessageType") + (c-name "pluma_message_type_instantiate") + (return-type "PlumaMessage*") + (parameters + ) + (varargs #t) +) + +(define-method get_object_path + (of-object "PlumaMessageType") + (c-name "pluma_message_type_get_object_path") + (return-type "const-gchar*") +) + +(define-method get_method + (of-object "PlumaMessageType") + (c-name "pluma_message_type_get_method") + (return-type "const-gchar*") +) + +(define-method lookup + (of-object "PlumaMessageType") + (c-name "pluma_message_type_lookup") + (return-type "GType") + (parameters + '("const-gchar*" "key") + ) +) + +(define-method foreach + (of-object "PlumaMessageType") + (c-name "pluma_message_type_foreach") + (return-type "none") + (parameters + '("PlumaMessageTypeForeach" "func") + '("gpointer" "user_data") + ) +) + + +;; From pluma-message.h + +(define-function pluma_message_get_type + (c-name "pluma_message_get_type") + (return-type "GType") +) + +(define-method get + (of-object "PlumaMessage") + (c-name "pluma_message_get") + (return-type "none") + (parameters + ) + (varargs #t) +) + +(define-method get_valist + (of-object "PlumaMessage") + (c-name "pluma_message_get_valist") + (return-type "none") + (parameters + '("va_list" "var_args") + ) +) + +(define-method get_value + (of-object "PlumaMessage") + (c-name "pluma_message_get_value") + (return-type "none") + (parameters + '("const-gchar*" "key") + '("GValue*" "value") + ) +) + +(define-method set + (of-object "PlumaMessage") + (c-name "pluma_message_set") + (return-type "none") + (parameters + ) + (varargs #t) +) + +(define-method set_valist + (of-object "PlumaMessage") + (c-name "pluma_message_set_valist") + (return-type "none") + (parameters + '("va_list" "var_args") + ) +) + +(define-method set_value + (of-object "PlumaMessage") + (c-name "pluma_message_set_value") + (return-type "none") + (parameters + '("const-gchar*" "key") + '("GValue*" "value") + ) +) + +(define-method set_valuesv + (of-object "PlumaMessage") + (c-name "pluma_message_set_valuesv") + (return-type "none") + (parameters + '("const-gchar**" "keys") + '("GValue*" "values") + '("gint" "n_values") + ) +) + +(define-method get_object_path + (of-object "PlumaMessage") + (c-name "pluma_message_get_object_path") + (return-type "const-gchar*") +) + +(define-method get_method + (of-object "PlumaMessage") + (c-name "pluma_message_get_method") + (return-type "const-gchar*") +) + +(define-method has_key + (of-object "PlumaMessage") + (c-name "pluma_message_has_key") + (return-type "gboolean") + (parameters + '("const-gchar*" "key") + ) +) + +(define-method get_key_type + (of-object "PlumaMessage") + (c-name "pluma_message_get_key_type") + (return-type "GType") + (parameters + '("const-gchar*" "key") + ) +) + +(define-method validate + (of-object "PlumaMessage") + (c-name "pluma_message_validate") + (return-type "gboolean") +) + + +;; From ../../pluma/pluma-debug.h + +(define-function debug + (c-name "pluma_debug") + (parameters + '("const-gchar*" "message") + ) + (return-type "none") +) + diff --git a/plugin-loaders/python/bindings/gedit.override b/plugin-loaders/python/bindings/pluma.override similarity index 64% rename from plugin-loaders/python/bindings/gedit.override rename to plugin-loaders/python/bindings/pluma.override index 52c492a..3de7c06 100755 --- a/plugin-loaders/python/bindings/gedit.override +++ b/plugin-loaders/python/bindings/pluma.override @@ -3,19 +3,19 @@ headers #include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "gedit-plugin-python.h" +#include "pluma-plugin-python.h" -void pygedit_register_classes (PyObject *d); -void pygedit_add_constants (PyObject *module, const gchar *strip_prefix); +void pypluma_register_classes (PyObject *d); +void pypluma_add_constants (PyObject *module, const gchar *strip_prefix); static PyObject * _helper_wrap_gobject_glist (const GList *list) @@ -62,10 +62,10 @@ _helper_wrap_gobject_gslist (const GSList *list) } %% include - geditplugin.override - geditmessage.override + plumaplugin.override + plumamessage.override %% -modulename gedit +modulename pluma %% import gtk.Widget as PyGtkWidget_Type import gobject.GObject as PyGObject_Type @@ -81,51 +81,51 @@ import gtksourceview2.LanguageManager as PyGtkSourceLanguageManager_Type %% ignore-glob *_get_type - gedit_document_error_quark - gedit_panel_add_item_with_stock_icon + pluma_document_error_quark + pluma_panel_add_item_with_stock_icon %% -override gedit_app_create_window kwargs +override pluma_app_create_window kwargs static PyObject * -_wrap_gedit_app_create_window(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_app_create_window(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "screen", NULL}; PyGObject *screen = NULL; - GeditWindow *ret; + PlumaWindow *ret; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O!", kwlist, &PyGdkScreen_Type, &screen)) return NULL; - ret = gedit_app_create_window(GEDIT_APP(self->obj), + ret = pluma_app_create_window(PLUMA_APP(self->obj), screen ? GDK_SCREEN(screen->obj) : NULL); /* pygobject_new handles NULL checking */ return pygobject_new((GObject *)ret); } %% -override gedit_app_get_windows +override pluma_app_get_windows static PyObject * -_wrap_gedit_app_get_windows(PyGObject *self) +_wrap_pluma_app_get_windows(PyGObject *self) { const GList *list; PyObject *py_list; - list = gedit_app_get_windows (GEDIT_APP (self->obj)); + list = pluma_app_get_windows (PLUMA_APP (self->obj)); py_list = _helper_wrap_gobject_glist (list); return py_list; } %% -override gedit_app_get_views +override pluma_app_get_views static PyObject * -_wrap_gedit_app_get_views(PyGObject *self) +_wrap_pluma_app_get_views(PyGObject *self) { GList *list; PyObject *py_list; - list = gedit_app_get_views (GEDIT_APP (self->obj)); + list = pluma_app_get_views (PLUMA_APP (self->obj)); py_list = _helper_wrap_gobject_glist (list); @@ -134,14 +134,14 @@ _wrap_gedit_app_get_views(PyGObject *self) return py_list; } %% -override gedit_app_get_documents +override pluma_app_get_documents static PyObject * -_wrap_gedit_app_get_documents(PyGObject *self) +_wrap_pluma_app_get_documents(PyGObject *self) { GList *list; PyObject *py_list; - list = gedit_app_get_documents (GEDIT_APP (self->obj)); + list = pluma_app_get_documents (PLUMA_APP (self->obj)); py_list = _helper_wrap_gobject_glist (list); @@ -150,14 +150,14 @@ _wrap_gedit_app_get_documents(PyGObject *self) return py_list; } %% -override gedit_window_get_documents +override pluma_window_get_documents static PyObject * -_wrap_gedit_window_get_documents(PyGObject *self) +_wrap_pluma_window_get_documents(PyGObject *self) { GList *list; PyObject *py_list; - list = gedit_window_get_documents (GEDIT_WINDOW (self->obj)); + list = pluma_window_get_documents (PLUMA_WINDOW (self->obj)); py_list = _helper_wrap_gobject_glist (list); @@ -166,14 +166,14 @@ _wrap_gedit_window_get_documents(PyGObject *self) return py_list; } %% -override gedit_window_get_unsaved_documents +override pluma_window_get_unsaved_documents static PyObject * -_wrap_gedit_window_get_unsaved_documents(PyGObject *self) +_wrap_pluma_window_get_unsaved_documents(PyGObject *self) { GList *list; PyObject *py_list; - list = gedit_window_get_unsaved_documents (GEDIT_WINDOW (self->obj)); + list = pluma_window_get_unsaved_documents (PLUMA_WINDOW (self->obj)); py_list = _helper_wrap_gobject_glist (list); @@ -182,14 +182,14 @@ _wrap_gedit_window_get_unsaved_documents(PyGObject *self) return py_list; } %% -override gedit_window_get_views +override pluma_window_get_views static PyObject * -_wrap_gedit_window_get_views(PyGObject *self) +_wrap_pluma_window_get_views(PyGObject *self) { GList *list; PyObject *py_list; - list = gedit_window_get_views (GEDIT_WINDOW (self->obj)); + list = pluma_window_get_views (PLUMA_WINDOW (self->obj)); py_list = _helper_wrap_gobject_glist (list); @@ -198,9 +198,9 @@ _wrap_gedit_window_get_views(PyGObject *self) return py_list; } %% -override gedit_window_close_tabs kwargs +override pluma_window_close_tabs kwargs static PyObject * -_wrap_gedit_window_close_tabs (PyGObject *self, +_wrap_pluma_window_close_tabs (PyGObject *self, PyObject *args, PyObject *kwargs) { @@ -210,7 +210,7 @@ _wrap_gedit_window_close_tabs (PyGObject *self, int len, i; if (!PyArg_ParseTupleAndKeywords (args, kwargs, - "O:GeditWindow.close_tabs", kwlist, + "O:PlumaWindow.close_tabs", kwlist, &list)) return NULL; @@ -228,7 +228,7 @@ _wrap_gedit_window_close_tabs (PyGObject *self, item = PySequence_GetItem (list, i); Py_DECREF(item); - if (!pygobject_check (item, &PyGeditTab_Type)) + if (!pygobject_check (item, &PyPlumaTab_Type)) { PyErr_SetString (PyExc_TypeError, "sequence item not a Gtkwidget object"); @@ -239,22 +239,22 @@ _wrap_gedit_window_close_tabs (PyGObject *self, glist = g_list_append (glist, pygobject_get (item)); } - gedit_window_close_tabs (GEDIT_WINDOW (self->obj), glist); + pluma_window_close_tabs (PLUMA_WINDOW (self->obj), glist); g_list_free (glist); Py_INCREF (Py_None); return Py_None; } %% -override gedit_document_get_search_text +override pluma_document_get_search_text static PyObject * -_wrap_gedit_document_get_search_text(PyGObject *self) +_wrap_pluma_document_get_search_text(PyGObject *self) { PyObject *tuple, *string; guint flags; gchar *ret; - ret = gedit_document_get_search_text (GEDIT_DOCUMENT (self->obj), &flags); + ret = pluma_document_get_search_text (PLUMA_DOCUMENT (self->obj), &flags); tuple = PyTuple_New(2); if (ret) { @@ -271,9 +271,9 @@ _wrap_gedit_document_get_search_text(PyGObject *self) return tuple; } %% -override gedit_panel_add_item kwargs +override pluma_panel_add_item kwargs static PyObject * -_wrap_gedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist1[] = { "item", "name", "image", NULL }; static char *kwlist2[] = { "item", "name", "stock_id", NULL }; @@ -281,16 +281,16 @@ _wrap_gedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs) char *name = NULL; char *stock_id = NULL; - if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!sO!:GeditPanel.add_item", kwlist1, &PyGtkWidget_Type, &item, &name, &PyGtkImage_Type, &image)) { - gedit_panel_add_item(GEDIT_PANEL(self->obj), GTK_WIDGET(item->obj), name, GTK_WIDGET(image->obj)); + if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!sO!:PlumaPanel.add_item", kwlist1, &PyGtkWidget_Type, &item, &name, &PyGtkImage_Type, &image)) { + pluma_panel_add_item(PLUMA_PANEL(self->obj), GTK_WIDGET(item->obj), name, GTK_WIDGET(image->obj)); Py_INCREF(Py_None); return Py_None; } PyErr_Clear(); - if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!ss:GeditPanel.add_item", kwlist2, &PyGtkWidget_Type, &item, &name, &stock_id)) { - gedit_panel_add_item_with_stock_icon(GEDIT_PANEL(self->obj), GTK_WIDGET(item->obj), name, stock_id); + if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!ss:PlumaPanel.add_item", kwlist2, &PyGtkWidget_Type, &item, &name, &stock_id)) { + pluma_panel_add_item_with_stock_icon(PLUMA_PANEL(self->obj), GTK_WIDGET(item->obj), name, stock_id); Py_INCREF(Py_None); return Py_None; } @@ -300,64 +300,64 @@ _wrap_gedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs) return NULL; } %% -override gedit_app_get_default_deprecated +override pluma_app_get_default_deprecated /* deprecated wrappers */ static PyObject * -_wrap_gedit_app_get_default_deprecated(PyObject *self) +_wrap_pluma_app_get_default_deprecated(PyObject *self) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.app_get_default instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.app_get_default instead") < 0) return NULL; - return _wrap_gedit_app_get_default(self); + return _wrap_pluma_app_get_default(self); } %% -override gedit_encoding_get_from_charset_deprecated kwargs +override pluma_encoding_get_from_charset_deprecated kwargs static PyObject * -_wrap_gedit_encoding_get_from_charset_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_encoding_get_from_charset_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.encoding_get_from_charset instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.encoding_get_from_charset instead") < 0) return NULL; - return _wrap_gedit_encoding_get_from_charset(self, args, kwargs); + return _wrap_pluma_encoding_get_from_charset(self, args, kwargs); } %% -override gedit_encoding_get_from_index_deprecated kwargs +override pluma_encoding_get_from_index_deprecated kwargs static PyObject * -_wrap_gedit_encoding_get_from_index_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_encoding_get_from_index_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.encoding_get_from_index instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.encoding_get_from_index instead") < 0) return NULL; - return _wrap_gedit_encoding_get_from_index(self, args, kwargs); + return _wrap_pluma_encoding_get_from_index(self, args, kwargs); } %% -override gedit_encoding_get_utf8_deprecated +override pluma_encoding_get_utf8_deprecated static PyObject * -_wrap_gedit_encoding_get_utf8_deprecated(PyObject *self) +_wrap_pluma_encoding_get_utf8_deprecated(PyObject *self) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.encoding_get_utf8 instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.encoding_get_utf8 instead") < 0) return NULL; - return _wrap_gedit_encoding_get_utf8(self); + return _wrap_pluma_encoding_get_utf8(self); } %% -override gedit_encoding_get_current_deprecated +override pluma_encoding_get_current_deprecated static PyObject * -_wrap_gedit_encoding_get_current_deprecated(PyObject *self) +_wrap_pluma_encoding_get_current_deprecated(PyObject *self) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.encoding_get_current instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.encoding_get_current instead") < 0) return NULL; - return _wrap_gedit_encoding_get_current(self); + return _wrap_pluma_encoding_get_current(self); } %% -override gedit_tab_get_from_document_deprecated kwargs +override pluma_tab_get_from_document_deprecated kwargs static PyObject * -_wrap_gedit_tab_get_from_document_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_tab_get_from_document_deprecated(PyObject *self, PyObject *args, PyObject *kwargs) { - if (PyErr_Warn(PyExc_DeprecationWarning, "use gedit.tab_get_from_document instead") < 0) + if (PyErr_Warn(PyExc_DeprecationWarning, "use pluma.tab_get_from_document instead") < 0) return NULL; - return _wrap_gedit_tab_get_from_document(self, args, kwargs); + return _wrap_pluma_tab_get_from_document(self, args, kwargs); } %% -override gedit_language_manager_list_languages_sorted kwargs +override pluma_language_manager_list_languages_sorted kwargs static PyObject * -_wrap_gedit_language_manager_list_languages_sorted(PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_language_manager_list_languages_sorted(PyObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "lm", "include_hidden", NULL }; PyGObject *lm; @@ -371,7 +371,7 @@ _wrap_gedit_language_manager_list_languages_sorted(PyObject *self, PyObject *arg &include_hidden)) return NULL; - list = gedit_language_manager_list_languages_sorted (GTK_SOURCE_LANGUAGE_MANAGER (lm->obj), + list = pluma_language_manager_list_languages_sorted (GTK_SOURCE_LANGUAGE_MANAGER (lm->obj), include_hidden); py_list = _helper_wrap_gobject_gslist (list); @@ -381,16 +381,16 @@ _wrap_gedit_language_manager_list_languages_sorted(PyObject *self, PyObject *arg return py_list; } %% -override gedit_debug kwargs +override pluma_debug kwargs static PyObject * -_wrap_gedit_debug(PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_debug(PyObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "message", NULL }; PyObject *traceback_module, *mdict, *func, *traceback, *tuple; PyObject *filename, *lineno, *funcname; char *message = NULL; - if (g_getenv ("GEDIT_DEBUG_PLUGINS") == NULL) + if (g_getenv ("PLUMA_DEBUG_PLUGINS") == NULL) { Py_INCREF (Py_None); return Py_None; @@ -423,12 +423,12 @@ _wrap_gedit_debug(PyObject *self, PyObject *args, PyObject *kwargs) funcname = PyTuple_GetItem (tuple, 2); if (message == NULL) - gedit_debug (GEDIT_DEBUG_PLUGINS, + pluma_debug (PLUMA_DEBUG_PLUGINS, PyString_AsString (filename), PyInt_AsLong (lineno), PyString_AsString (funcname)); else - gedit_debug_message (GEDIT_DEBUG_PLUGINS, + pluma_debug_message (PLUMA_DEBUG_PLUGINS, PyString_AsString (filename), PyInt_AsLong (lineno), PyString_AsString (funcname), @@ -442,18 +442,18 @@ _wrap_gedit_debug(PyObject *self, PyObject *args, PyObject *kwargs) return Py_None; } %% -override gedit_statusbar_flash_message kwargs +override pluma_statusbar_flash_message kwargs static PyObject * -_wrap_gedit_statusbar_flash_message(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_statusbar_flash_message(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "context_id", "message", NULL }; int context_id; char *message; - if (!PyArg_ParseTupleAndKeywords(args, kwargs,"is:GeditStatusbar.flash_message", kwlist, &context_id, &message)) + if (!PyArg_ParseTupleAndKeywords(args, kwargs,"is:PlumaStatusbar.flash_message", kwlist, &context_id, &message)) return NULL; - gedit_statusbar_flash_message(GEDIT_STATUSBAR(self->obj), context_id, "%s", message); + pluma_statusbar_flash_message(PLUMA_STATUSBAR(self->obj), context_id, "%s", message); Py_INCREF(Py_None); return Py_None; diff --git a/plugin-loaders/python/bindings/geditcommands.defs b/plugin-loaders/python/bindings/plumacommands.defs similarity index 52% rename from plugin-loaders/python/bindings/geditcommands.defs rename to plugin-loaders/python/bindings/plumacommands.defs index 3808fa4..241b52d 100755 --- a/plugin-loaders/python/bindings/geditcommands.defs +++ b/plugin-loaders/python/bindings/plumacommands.defs @@ -3,43 +3,43 @@ ;; Enumerations and flags ... -;; From ../../gedit/gedit-commands.h +;; From ../../pluma/pluma-commands.h (define-function load_uri - (c-name "gedit_commands_load_uri") + (c-name "pluma_commands_load_uri") (return-type "none") (parameters - '("GeditWindow*" "window") + '("PlumaWindow*" "window") '("const-gchar*" "uri") - '("const-GeditEncoding*" "encoding") + '("const-PlumaEncoding*" "encoding") '("gint" "line_pos") ) ) (define-function load_uris - (c-name "gedit_commands_load_uris") + (c-name "pluma_commands_load_uris") (return-type "gint") (parameters - '("GeditWindow*" "window") + '("PlumaWindow*" "window") '("const-GSList*" "uris") - '("const-GeditEncoding*" "encoding") + '("const-PlumaEncoding*" "encoding") '("gint" "line_pos") ) ) (define-function save_document - (c-name "gedit_commands_save_document") + (c-name "pluma_commands_save_document") (return-type "none") (parameters - '("GeditWindow*" "window") - '("GeditDocument*" "document") + '("PlumaWindow*" "window") + '("PlumaDocument*" "document") ) ) (define-function save_all_documents - (c-name "gedit_commands_save_all_documents") + (c-name "pluma_commands_save_all_documents") (return-type "none") (parameters - '("GeditWindow*" "window") + '("PlumaWindow*" "window") ) ) diff --git a/plugin-loaders/python/bindings/geditcommands.override b/plugin-loaders/python/bindings/plumacommands.override similarity index 63% rename from plugin-loaders/python/bindings/geditcommands.override rename to plugin-loaders/python/bindings/plumacommands.override index a81f918..9713b5e 100755 --- a/plugin-loaders/python/bindings/geditcommands.override +++ b/plugin-loaders/python/bindings/plumacommands.override @@ -5,59 +5,59 @@ headers #include #include -#include "gedit-commands.h" -#include "gedit-window.h" +#include "pluma-commands.h" +#include "pluma-window.h" -void pygeditcommands_register_classes (PyObject *d); -void pygeditcommands_add_constants (PyObject *module, const gchar *strip_prefix); +void pyplumacommands_register_classes (PyObject *d); +void pyplumacommands_add_constants (PyObject *module, const gchar *strip_prefix); %% -modulename gedit.commands +modulename pluma.commands %% -import gedit.Window as PyGeditWindow_Type -import gedit.Document as PyGeditDocument_Type +import pluma.Window as PyPlumaWindow_Type +import pluma.Document as PyPlumaDocument_Type %% ignore-glob _* %% -override gedit_commands_load_uri kwargs +override pluma_commands_load_uri kwargs static PyObject * -_wrap_gedit_commands_load_uri (PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_commands_load_uri (PyObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "window", "uri", "encoding", "line_pos", NULL }; PyGObject *window; char *uri; int line_pos = 0; PyObject *py_encoding = NULL; - GeditEncoding *encoding = NULL; + PlumaEncoding *encoding = NULL; if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!s|Oi:load_uri", - kwlist, &PyGeditWindow_Type, + kwlist, &PyPlumaWindow_Type, &window, &uri, &py_encoding, &line_pos)) return NULL; if (py_encoding != NULL && py_encoding != Py_None) { - if (pyg_boxed_check (py_encoding, GEDIT_TYPE_ENCODING)) - encoding = pyg_boxed_get (py_encoding, GeditEncoding); + if (pyg_boxed_check (py_encoding, PLUMA_TYPE_ENCODING)) + encoding = pyg_boxed_get (py_encoding, PlumaEncoding); else { PyErr_SetString (PyExc_TypeError, - "encoding should be a GeditEncoding"); + "encoding should be a PlumaEncoding"); return NULL; } } - gedit_commands_load_uri (GEDIT_WINDOW (window->obj), uri, encoding, + pluma_commands_load_uri (PLUMA_WINDOW (window->obj), uri, encoding, line_pos); Py_INCREF (Py_None); return Py_None; } %% -override gedit_commands_load_uris kwargs +override pluma_commands_load_uris kwargs static PyObject * -_wrap_gedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "window", "uris", "encoding", "line_pos", NULL }; PyGObject *window; @@ -66,23 +66,23 @@ _wrap_gedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs PyObject *py_encoding = NULL; PyObject *list; PyObject *item; - GeditEncoding *encoding = NULL; + PlumaEncoding *encoding = NULL; int len; int i; if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!O|Oi:load_uri", - kwlist, &PyGeditWindow_Type, + kwlist, &PyPlumaWindow_Type, &window, &list, &py_encoding, &line_pos)) return NULL; if (py_encoding != NULL && py_encoding != Py_None) { - if (pyg_boxed_check (py_encoding, GEDIT_TYPE_ENCODING)) - encoding = pyg_boxed_get (py_encoding, GeditEncoding); + if (pyg_boxed_check (py_encoding, PLUMA_TYPE_ENCODING)) + encoding = pyg_boxed_get (py_encoding, PlumaEncoding); else { PyErr_SetString (PyExc_TypeError, - "encoding should be a GeditEncoding"); + "encoding should be a PlumaEncoding"); return NULL; } } @@ -113,7 +113,7 @@ _wrap_gedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs } uris = g_slist_reverse (uris); - gedit_commands_load_uris (GEDIT_WINDOW (window->obj), uris, + pluma_commands_load_uris (PLUMA_WINDOW (window->obj), uris, encoding, line_pos); g_slist_free (uris); diff --git a/plugin-loaders/python/bindings/geditmessage.override b/plugin-loaders/python/bindings/plumamessage.override similarity index 67% rename from plugin-loaders/python/bindings/geditmessage.override rename to plugin-loaders/python/bindings/plumamessage.override index 244d60c..be1090a 100755 --- a/plugin-loaders/python/bindings/geditmessage.override +++ b/plugin-loaders/python/bindings/plumamessage.override @@ -1,8 +1,8 @@ %% headers -#include -#include +#include +#include static GType _helper_wrap_get_gtype_from_pytype (PyObject *pytype) @@ -69,7 +69,7 @@ _helper_wrap_get_gvalue_from_pyobject (GValue *gvalue, PyObject *pyvalue) } static int -_helper_wrap_message_set_value(GeditMessage *message, PyObject *pykey, PyObject *pyvalue) +_helper_wrap_message_set_value(PlumaMessage *message, PyObject *pykey, PyObject *pyvalue) { gchar *key; GType gtype; @@ -80,7 +80,7 @@ _helper_wrap_message_set_value(GeditMessage *message, PyObject *pykey, PyObject if (key == NULL) return 0; - gtype = gedit_message_get_key_type(message, key); + gtype = pluma_message_get_key_type(message, key); if (gtype == 0) { PyErr_SetString(PyExc_TypeError, "invalid key"); @@ -97,7 +97,7 @@ _helper_wrap_message_set_value(GeditMessage *message, PyObject *pykey, PyObject return 0; } - gedit_message_set_value(message, key, &value); + pluma_message_set_value(message, key, &value); g_value_unset(&value); g_free (key); @@ -141,34 +141,34 @@ _helper_parse_pairs(PyObject *args, PyObject *kwargs, ParsePairFunc func, gpoint } static void -_helper_message_set(PyObject *key, PyObject *value, GeditMessage *message) +_helper_message_set(PyObject *key, PyObject *value, PlumaMessage *message) { _helper_wrap_message_set_value(message, key, value); } static void -_helper_message_set_values(GeditMessage *message, PyObject *args, PyObject *kwargs) +_helper_message_set_values(PlumaMessage *message, PyObject *args, PyObject *kwargs) { _helper_parse_pairs(args, kwargs, (ParsePairFunc)_helper_message_set, message); } -static GeditMessage * -_helper_wrap_create_message(GeditMessageBus *bus, PyObject *args, PyObject *kwargs) +static PlumaMessage * +_helper_wrap_create_message(PlumaMessageBus *bus, PyObject *args, PyObject *kwargs) { PyObject *pypath, *pymethod, *pydict; - if (!PyArg_ParseTuple(args, "OO|O:GeditMessage.create", &pypath, &pymethod, &pydict)) + if (!PyArg_ParseTuple(args, "OO|O:PlumaMessage.create", &pypath, &pymethod, &pydict)) return NULL; gchar *object_path = _helper_wrap_get_string(pypath); gchar *method = _helper_wrap_get_string(pymethod); - GeditMessageType *message_type = gedit_message_bus_lookup (bus, object_path, method); - GeditMessage *message; + PlumaMessageType *message_type = pluma_message_bus_lookup (bus, object_path, method); + PlumaMessage *message; if (message_type) { - message = gedit_message_type_instantiate(message_type, NULL); + message = pluma_message_type_instantiate(message_type, NULL); _helper_message_set_values(message, args, kwargs); } else @@ -186,12 +186,12 @@ _helper_wrap_create_message(GeditMessageBus *bus, PyObject *args, PyObject *kwar typedef struct { PyObject *func; PyObject *data; -} PyGeditCustomNotify; +} PyPlumaCustomNotify; static void -pygedit_custom_destroy_notify(gpointer user_data) +pypluma_custom_destroy_notify(gpointer user_data) { - PyGeditCustomNotify *cunote = user_data; + PyPlumaCustomNotify *cunote = user_data; PyGILState_STATE state; g_return_if_fail(user_data); @@ -205,21 +205,21 @@ pygedit_custom_destroy_notify(gpointer user_data) %% ignore-glob *_get_type - gedit_message_type_foreach - gedit_message_type_instantiate_valist - gedit_message_type_new_valist - gedit_message_get_valist - gedit_message_set_valist - gedit_message_set_valuesv - gedit_message_bus_disconnect_by_func - gedit_message_bus_block_by_func - gedit_message_bus_unblock_by_func + pluma_message_type_foreach + pluma_message_type_instantiate_valist + pluma_message_type_new_valist + pluma_message_get_valist + pluma_message_set_valist + pluma_message_set_valuesv + pluma_message_bus_disconnect_by_func + pluma_message_bus_block_by_func + pluma_message_bus_unblock_by_func %% -override gedit_message_type_new kwargs +override pluma_message_type_new kwargs typedef struct { - GeditMessageType *message_type; + PlumaMessageType *message_type; PyObject *optional; } MessageTypeSetInfo; @@ -237,19 +237,19 @@ _message_type_set(PyObject *key, PyObject *value, MessageTypeSetInfo *info) gboolean optional = info->optional && PySequence_Contains(info->optional, key); - gedit_message_type_set(info->message_type, optional, k, gtype, NULL); + pluma_message_type_set(info->message_type, optional, k, gtype, NULL); g_free(k); } static int -_wrap_gedit_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs) { PyObject *pypath, *pymethod, *optional = NULL, *pydict; - if (!PyArg_ParseTuple(args, "OO|OO:GeditMessageType.new", &pypath, &pymethod, &optional, &pydict)) + if (!PyArg_ParseTuple(args, "OO|OO:PlumaMessageType.new", &pypath, &pymethod, &optional, &pydict)) return -1; - GeditMessageType *message_type = GEDIT_MESSAGE_TYPE(g_object_new(pyg_type_from_object((PyObject *) self), NULL)); + PlumaMessageType *message_type = PLUMA_MESSAGE_TYPE(g_object_new(pyg_type_from_object((PyObject *) self), NULL)); MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL}; _helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info); @@ -260,21 +260,21 @@ _wrap_gedit_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs) return 0; } %% -override gedit_message_type_instantiate kwargs +override pluma_message_type_instantiate kwargs static PyObject * -_wrap_gedit_message_type_instantiate(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_type_instantiate(PyGObject *self, PyObject *args, PyObject *kwargs) { - GeditMessageType *message_type = GEDIT_MESSAGE_TYPE (self->obj); - GeditMessage *message = gedit_message_type_instantiate(message_type, NULL); + PlumaMessageType *message_type = PLUMA_MESSAGE_TYPE (self->obj); + PlumaMessage *message = pluma_message_type_instantiate(message_type, NULL); _helper_message_set_values(message, args, kwargs); return pygobject_new((GObject *)message); } %% -override gedit_message_get args +override pluma_message_get args static PyObject * -_wrap_gedit_message_get(PyGObject *self, PyObject *args) +_wrap_pluma_message_get(PyGObject *self, PyObject *args) { guint len, i; PyObject *ret; @@ -294,7 +294,7 @@ _wrap_gedit_message_get(PyGObject *self, PyObject *args) return NULL; } - gedit_message_get_value (GEDIT_MESSAGE (self->obj), key, &value); + pluma_message_get_value (PLUMA_MESSAGE (self->obj), key, &value); g_free (key); PyTuple_SetItem(ret, i, pyg_value_as_pyobject(&value, TRUE)); @@ -304,81 +304,81 @@ _wrap_gedit_message_get(PyGObject *self, PyObject *args) return ret; } %% -override gedit_message_get_value kwargs +override pluma_message_get_value kwargs static PyObject * -_wrap_gedit_message_get_value(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_get_value(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "key", NULL }; const gchar *key; PyObject *ret; GValue value = { 0, }; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s:GeditMessage.get_value", kwlist, &key)) + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s:PlumaMessage.get_value", kwlist, &key)) return NULL; - gedit_message_get_value(GEDIT_MESSAGE(self->obj), key, &value); + pluma_message_get_value(PLUMA_MESSAGE(self->obj), key, &value); ret = pyg_value_as_pyobject(&value, TRUE); g_value_unset(&value); return ret; } %% -override gedit_message_set_value kwargs +override pluma_message_set_value kwargs static PyObject * -_wrap_gedit_message_set_value(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_set_value(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "key", "value", NULL }; PyObject *pykey, *pyvalue; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:GeditMessage.set_value", kwlist, &pykey, &pyvalue)) + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:PlumaMessage.set_value", kwlist, &pykey, &pyvalue)) return NULL; - if (!_helper_wrap_message_set_value(GEDIT_MESSAGE(self->obj), pykey, pyvalue)) + if (!_helper_wrap_message_set_value(PLUMA_MESSAGE(self->obj), pykey, pyvalue)) return NULL; Py_INCREF(Py_None); return Py_None; } %% -override gedit_message_set kwargs +override pluma_message_set kwargs static PyObject * -_wrap_gedit_message_set (PyGObject *self, PyObject *args, PyObject *kwargs) { - _helper_message_set_values(GEDIT_MESSAGE(self->obj), args, kwargs); +_wrap_pluma_message_set (PyGObject *self, PyObject *args, PyObject *kwargs) { + _helper_message_set_values(PLUMA_MESSAGE(self->obj), args, kwargs); Py_INCREF(Py_None); return Py_None; } %% -override gedit_message_bus_new +override pluma_message_bus_new static int -_wrap_gedit_message_bus_new(PyGObject *self) +_wrap_pluma_message_bus_new(PyGObject *self) { pygobject_construct (self, NULL); if (!self->obj) { - PyErr_SetString (PyExc_RuntimeError, "could not create gedit.MessageBus object"); + PyErr_SetString (PyExc_RuntimeError, "could not create pluma.MessageBus object"); return -1; } return 0; } %% -new-constructor GEDIT_TYPE_MESSAGE_BUS +new-constructor PLUMA_TYPE_MESSAGE_BUS %% -override gedit_message_bus_register kwargs +override pluma_message_bus_register kwargs static PyObject * -_wrap_gedit_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwargs) { PyObject *pypath, *pymethod, *optional = NULL, *pydict; - GeditMessageBus *bus = GEDIT_MESSAGE_BUS(self->obj); + PlumaMessageBus *bus = PLUMA_MESSAGE_BUS(self->obj); - if (!PyArg_ParseTuple(args, "OO|OO:GeditMessageBus.register", &pypath, &pymethod, &optional, &pydict)) + if (!PyArg_ParseTuple(args, "OO|OO:PlumaMessageBus.register", &pypath, &pymethod, &optional, &pydict)) return NULL; gchar *object_path = _helper_wrap_get_string(pypath); gchar *method = _helper_wrap_get_string(pymethod); - GeditMessageType *message_type = gedit_message_bus_register(bus, object_path, method, 0, NULL); + PlumaMessageType *message_type = pluma_message_bus_register(bus, object_path, method, 0, NULL); g_free(object_path); g_free(method); @@ -392,15 +392,15 @@ _wrap_gedit_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwar MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL}; _helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info); - return pyg_boxed_new(GEDIT_TYPE_MESSAGE_TYPE, message_type, TRUE, TRUE); + return pyg_boxed_new(PLUMA_TYPE_MESSAGE_TYPE, message_type, TRUE, TRUE); } %% -override gedit_message_bus_connect kwargs +override pluma_message_bus_connect kwargs static void -pygedit_message_bus_connect_cb(GeditMessageBus *bus, GeditMessage *message, gpointer data) +pypluma_message_bus_connect_cb(PlumaMessageBus *bus, PlumaMessage *message, gpointer data) { PyGILState_STATE state; - PyGeditCustomNotify *cunote = data; + PyPlumaCustomNotify *cunote = data; PyObject *pybus, *pymessage, *retobj; g_assert(cunote->func); @@ -426,16 +426,16 @@ pygedit_message_bus_connect_cb(GeditMessageBus *bus, GeditMessage *message, gpoi } static PyObject * -_wrap_gedit_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "domain", "name", "func", "data", NULL }; PyObject *pyfunc, *pyarg = NULL; const gchar *domain; const gchar *name; - PyGeditCustomNotify *cunote; + PyPlumaCustomNotify *cunote; if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "ssO|O:GeditMessageBus.connect", + "ssO|O:PlumaMessageBus.connect", kwlist, &domain, &name, &pyfunc, &pyarg)) return NULL; @@ -443,63 +443,63 @@ _wrap_gedit_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwarg PyErr_SetString(PyExc_TypeError, "func must be a callable object"); return NULL; } - cunote = g_new(PyGeditCustomNotify, 1); + cunote = g_new(PyPlumaCustomNotify, 1); Py_INCREF(pyfunc); cunote->func = pyfunc; Py_XINCREF(pyarg); cunote->data = pyarg; - guint id = gedit_message_bus_connect(GEDIT_MESSAGE_BUS(self->obj), + guint id = pluma_message_bus_connect(PLUMA_MESSAGE_BUS(self->obj), domain, name, - pygedit_message_bus_connect_cb, + pypluma_message_bus_connect_cb, (gpointer)cunote, - pygedit_custom_destroy_notify); + pypluma_custom_destroy_notify); return PyLong_FromUnsignedLong(id); } %% -override gedit_message_bus_send kwargs +override pluma_message_bus_send kwargs static PyObject * -_wrap_gedit_message_bus_send(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_bus_send(PyGObject *self, PyObject *args, PyObject *kwargs) { /* create a new message object */ - GeditMessage *message; - GeditMessageBus *bus = GEDIT_MESSAGE_BUS(self->obj); + PlumaMessage *message; + PlumaMessageBus *bus = PLUMA_MESSAGE_BUS(self->obj); message = _helper_wrap_create_message(bus, args, kwargs); if (!message) return NULL; - gedit_message_bus_send_message(bus, message); + pluma_message_bus_send_message(bus, message); g_object_unref (message); Py_INCREF(Py_None); return Py_None; } %% -override gedit_message_bus_send_sync kwargs +override pluma_message_bus_send_sync kwargs static PyObject * -_wrap_gedit_message_bus_send_sync(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_message_bus_send_sync(PyGObject *self, PyObject *args, PyObject *kwargs) { /* create a new message object */ - GeditMessage *message; - GeditMessageBus *bus = GEDIT_MESSAGE_BUS(self->obj); + PlumaMessage *message; + PlumaMessageBus *bus = PLUMA_MESSAGE_BUS(self->obj); message = _helper_wrap_create_message(bus, args, kwargs); if (!message) return NULL; - gedit_message_bus_send_message_sync(bus, message); + pluma_message_bus_send_message_sync(bus, message); return pygobject_new((GObject *)message); } %% -override-slot GeditMessage.tp_getattro +override-slot PlumaMessage.tp_getattro static PyObject * -_wrap_gedit_message_tp_getattro(PyObject *self, PyObject *attrname) +_wrap_pluma_message_tp_getattro(PyObject *self, PyObject *attrname) { - GeditMessage *message = GEDIT_MESSAGE(((PyGObject *)self)->obj); - GeditMessageType *type; + PlumaMessage *message = PLUMA_MESSAGE(((PyGObject *)self)->obj); + PlumaMessageType *type; gchar *name = _helper_wrap_get_string (attrname); gboolean exists; @@ -513,10 +513,10 @@ _wrap_gedit_message_tp_getattro(PyObject *self, PyObject *attrname) } g_object_get (message, "type", &type, NULL); - intype = gedit_message_type_lookup (type, name) != G_TYPE_INVALID; - gedit_message_type_unref (type); + intype = pluma_message_type_lookup (type, name) != G_TYPE_INVALID; + pluma_message_type_unref (type); - exists = gedit_message_has_key (message, name); + exists = pluma_message_has_key (message, name); if (!intype) { @@ -525,7 +525,7 @@ _wrap_gedit_message_tp_getattro(PyObject *self, PyObject *attrname) else if (exists) { GValue value = { 0, }; - gedit_message_get_value (message, name, &value); + pluma_message_get_value (message, name, &value); ret = pyg_value_as_pyobject(&value, TRUE); g_value_unset (&value); } @@ -539,11 +539,11 @@ _wrap_gedit_message_tp_getattro(PyObject *self, PyObject *attrname) return ret; } %% -override-slot GeditMessage.tp_setattro +override-slot PlumaMessage.tp_setattro static int -_wrap_gedit_message_tp_setattro(PyObject *self, PyObject *attrname, PyObject *value) +_wrap_pluma_message_tp_setattro(PyObject *self, PyObject *attrname, PyObject *value) { - GeditMessage *message = GEDIT_MESSAGE(((PyGObject *)self)->obj); + PlumaMessage *message = PLUMA_MESSAGE(((PyGObject *)self)->obj); if (!_helper_wrap_message_set_value(message, attrname, value)) { diff --git a/plugin-loaders/python/bindings/geditplugin.override b/plugin-loaders/python/bindings/plumaplugin.override similarity index 60% rename from plugin-loaders/python/bindings/geditplugin.override rename to plugin-loaders/python/bindings/plumaplugin.override index 178ea99..a2aad78 100755 --- a/plugin-loaders/python/bindings/geditplugin.override +++ b/plugin-loaders/python/bindings/plumaplugin.override @@ -1,11 +1,11 @@ %% headers -#include -#include +#include +#include %% -override gedit_plugin_activate kwargs +override pluma_plugin_activate kwargs static PyObject * -_wrap_gedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs) { gpointer klass, klass2; static char *kwlist[] = { "window", NULL }; @@ -14,27 +14,27 @@ _wrap_gedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs) if (!PyArg_ParseTupleAndKeywords (args, kwargs, - "O!:GeditPlugin.activate", + "O!:PlumaPlugin.activate", kwlist, - &PyGeditWindow_Type, + &PyPlumaWindow_Type, &window)) return NULL; klass = g_type_class_ref (pyg_type_from_object (cls)); - if (GEDIT_IS_PLUGIN_PYTHON_CLASS (klass)) + if (PLUMA_IS_PLUGIN_PYTHON_CLASS (klass)) { klass2 = g_type_class_peek_parent (klass); g_type_class_unref (klass); klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2)); } - if (GEDIT_PLUGIN_CLASS (klass)->activate) - GEDIT_PLUGIN_CLASS (klass)->activate (GEDIT_PLUGIN (self->obj), - GEDIT_WINDOW (window->obj)); + if (PLUMA_PLUGIN_CLASS (klass)->activate) + PLUMA_PLUGIN_CLASS (klass)->activate (PLUMA_PLUGIN (self->obj), + PLUMA_WINDOW (window->obj)); else { PyErr_SetString (PyExc_NotImplementedError, - "virtual method GeditPlugin.activate not implemented"); + "virtual method PlumaPlugin.activate not implemented"); g_type_class_unref (klass); return NULL; } @@ -45,9 +45,9 @@ _wrap_gedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs) } %% -override gedit_plugin_deactivate kwargs +override pluma_plugin_deactivate kwargs static PyObject * -_wrap_gedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs) { gpointer klass, klass2; static char *kwlist[] = {"window", NULL}; @@ -56,27 +56,27 @@ _wrap_gedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs) if (!PyArg_ParseTupleAndKeywords (args, kwargs, - "O!:GeditPlugin.deactivate", + "O!:PlumaPlugin.deactivate", kwlist, - &PyGeditWindow_Type, + &PyPlumaWindow_Type, &window)) return NULL; klass = g_type_class_ref (pyg_type_from_object (cls)); - if (GEDIT_IS_PLUGIN_PYTHON_CLASS (klass)) + if (PLUMA_IS_PLUGIN_PYTHON_CLASS (klass)) { klass2 = g_type_class_peek_parent (klass); g_type_class_unref (klass); klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2)); } - if (GEDIT_PLUGIN_CLASS (klass)->deactivate) - GEDIT_PLUGIN_CLASS (klass)->deactivate (GEDIT_PLUGIN (self->obj), - GEDIT_WINDOW (window->obj)); + if (PLUMA_PLUGIN_CLASS (klass)->deactivate) + PLUMA_PLUGIN_CLASS (klass)->deactivate (PLUMA_PLUGIN (self->obj), + PLUMA_WINDOW (window->obj)); else { PyErr_SetString (PyExc_NotImplementedError, - "virtual method GeditPlugin.deactivate not implemented"); + "virtual method PlumaPlugin.deactivate not implemented"); g_type_class_unref (klass); return NULL; } @@ -87,9 +87,9 @@ _wrap_gedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs) } %% -override gedit_plugin_update_ui kwargs +override pluma_plugin_update_ui kwargs static PyObject * -_wrap_gedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs) +_wrap_pluma_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs) { gpointer klass, klass2; static char *kwlist[] = {"window", NULL}; @@ -98,27 +98,27 @@ _wrap_gedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs) if (!PyArg_ParseTupleAndKeywords (args, kwargs, - "O!:GeditPlugin.update_ui", + "O!:PlumaPlugin.update_ui", kwlist, - &PyGeditWindow_Type, + &PyPlumaWindow_Type, &window)) return NULL; klass = g_type_class_ref (pyg_type_from_object (cls)); - if (GEDIT_IS_PLUGIN_PYTHON_CLASS (klass)) + if (PLUMA_IS_PLUGIN_PYTHON_CLASS (klass)) { klass2 = g_type_class_peek_parent (klass); g_type_class_unref (klass); klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2)); } - if (GEDIT_PLUGIN_CLASS (klass)->update_ui) - GEDIT_PLUGIN_CLASS (klass)->update_ui (GEDIT_PLUGIN (self->obj), - GEDIT_WINDOW (window->obj)); + if (PLUMA_PLUGIN_CLASS (klass)->update_ui) + PLUMA_PLUGIN_CLASS (klass)->update_ui (PLUMA_PLUGIN (self->obj), + PLUMA_WINDOW (window->obj)); else { PyErr_SetString (PyExc_NotImplementedError, - "virtual method GeditPlugin.update_ui not implemented"); + "virtual method PlumaPlugin.update_ui not implemented"); g_type_class_unref (klass); return NULL; } @@ -129,9 +129,9 @@ _wrap_gedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs) } %% -override gedit_plugin_is_configurable +override pluma_plugin_is_configurable static PyObject * -_wrap_gedit_plugin_is_configurable (PyGObject *self) +_wrap_pluma_plugin_is_configurable (PyGObject *self) { int ret; gpointer klass, klass2; @@ -139,18 +139,18 @@ _wrap_gedit_plugin_is_configurable (PyGObject *self) klass = g_type_class_ref (pyg_type_from_object (cls)); - if (GEDIT_IS_PLUGIN_PYTHON_CLASS (klass)) + if (PLUMA_IS_PLUGIN_PYTHON_CLASS (klass)) { klass2 = g_type_class_peek_parent (klass); g_type_class_unref (klass); klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2)); } - if (GEDIT_PLUGIN_CLASS (klass)->is_configurable) - ret = GEDIT_PLUGIN_CLASS (klass)->is_configurable (GEDIT_PLUGIN (self->obj)); + if (PLUMA_PLUGIN_CLASS (klass)->is_configurable) + ret = PLUMA_PLUGIN_CLASS (klass)->is_configurable (PLUMA_PLUGIN (self->obj)); else { PyErr_SetString (PyExc_NotImplementedError, - "virtual method GeditPlugin.is_configurable not implemented"); + "virtual method PlumaPlugin.is_configurable not implemented"); g_type_class_unref (klass); return NULL; } @@ -160,9 +160,9 @@ _wrap_gedit_plugin_is_configurable (PyGObject *self) } %% -override gedit_plugin_configure_dialog +override pluma_plugin_configure_dialog static PyObject * -_wrap_gedit_plugin_create_configure_dialog (PyGObject *self) +_wrap_pluma_plugin_create_configure_dialog (PyGObject *self) { GtkWidget *ret; gpointer klass, klass2; @@ -170,18 +170,18 @@ _wrap_gedit_plugin_create_configure_dialog (PyGObject *self) klass = g_type_class_ref(pyg_type_from_object (cls)); - if (GEDIT_IS_PLUGIN_PYTHON_CLASS (klass)) + if (PLUMA_IS_PLUGIN_PYTHON_CLASS (klass)) { klass2 = g_type_class_peek_parent (klass); g_type_class_unref (klass); klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2)); } - if (GEDIT_PLUGIN_CLASS (klass)->create_configure_dialog) - ret = GEDIT_PLUGIN_CLASS (klass)->create_configure_dialog (GEDIT_PLUGIN (self->obj)); + if (PLUMA_PLUGIN_CLASS (klass)->create_configure_dialog) + ret = PLUMA_PLUGIN_CLASS (klass)->create_configure_dialog (PLUMA_PLUGIN (self->obj)); else { PyErr_SetString (PyExc_NotImplementedError, - "virtual method GeditPlugin.create_configure_dialog not implemented"); + "virtual method PlumaPlugin.create_configure_dialog not implemented"); g_type_class_unref (klass); return NULL; } diff --git a/plugin-loaders/python/bindings/geditutils.defs b/plugin-loaders/python/bindings/plumautils.defs similarity index 73% rename from plugin-loaders/python/bindings/geditutils.defs rename to plugin-loaders/python/bindings/plumautils.defs index 3482f21..a9a4738 100755 --- a/plugin-loaders/python/bindings/geditutils.defs +++ b/plugin-loaders/python/bindings/plumautils.defs @@ -1,9 +1,9 @@ ;; -*- scheme -*- -;; From ../../gedit/gedit-utils.h +;; From ../../pluma/pluma-utils.h (define-function uri_has_writable_scheme - (c-name "gedit_utils_uri_has_writable_scheme") + (c-name "pluma_utils_uri_has_writable_scheme") (return-type "gboolean") (parameters '("const-gchar*" "uri") @@ -11,7 +11,7 @@ ) (define-function uri_has_file_scheme - (c-name "gedit_utils_uri_has_file_scheme") + (c-name "pluma_utils_uri_has_file_scheme") (return-type "gboolean") (parameters '("const-gchar*" "uri") @@ -19,7 +19,7 @@ ) (define-function uri_exists - (c-name "gedit_utils_uri_exists") + (c-name "pluma_utils_uri_exists") (return-type "gboolean") (parameters '("const-gchar*" "text_uri") @@ -27,7 +27,7 @@ ) (define-function uri_is_valid - (c-name "gedit_utils_is_valid_uri") + (c-name "pluma_utils_is_valid_uri") (return-type "gboolean") (parameters '("const-gchar*" "uri") @@ -35,7 +35,7 @@ ) (define-function uri_get_dirname - (c-name "gedit_utils_uri_get_dirname") + (c-name "pluma_utils_uri_get_dirname") (return-type "gchar*") (parameters '("const-char*" "uri") @@ -43,7 +43,7 @@ ) (define-function menu_position_under_widget - (c-name "gedit_utils_menu_position_under_widget") + (c-name "pluma_utils_menu_position_under_widget") (return-type "none") (parameters '("GtkMenu*" "menu") @@ -55,7 +55,7 @@ ) (define-function menu_position_under_tree_view - (c-name "gedit_utils_menu_position_under_tree_view") + (c-name "pluma_utils_menu_position_under_tree_view") (return-type "none") (parameters '("GtkMenu*" "menu") diff --git a/plugin-loaders/python/bindings/geditutils.override b/plugin-loaders/python/bindings/plumautils.override similarity index 76% rename from plugin-loaders/python/bindings/geditutils.override rename to plugin-loaders/python/bindings/plumautils.override index a7bf7fb..3b2116e 100755 --- a/plugin-loaders/python/bindings/geditutils.override +++ b/plugin-loaders/python/bindings/plumautils.override @@ -5,13 +5,13 @@ headers #include #include -#include "gedit-utils.h" +#include "pluma-utils.h" -void pygeditutils_register_classes (PyObject *d); -void pygeditutils_add_constants (PyObject *module, const gchar *strip_prefix); +void pyplumautils_register_classes (PyObject *d); +void pyplumautils_add_constants (PyObject *module, const gchar *strip_prefix); %% -modulename gedit.utils +modulename pluma.utils %% import gtk.Widget as PyGtkWidget_Type import gtk.TreeView as PyGtkTreeView_Type @@ -20,9 +20,9 @@ import gtk.Menu as PyGtkMenu_Type ignore-glob _* %% -override gedit_utils_menu_position_under_widget kwargs +override pluma_utils_menu_position_under_widget kwargs static PyObject * -_wrap_gedit_utils_menu_position_under_widget (PyObject *self, +_wrap_pluma_utils_menu_position_under_widget (PyObject *self, PyObject *args, PyObject *kwargs) { @@ -43,7 +43,7 @@ _wrap_gedit_utils_menu_position_under_widget (PyObject *self, menu = GTK_MENU (pygobject_get (py_menu)); widget = GTK_WIDGET (pygobject_get (py_widget)); - gedit_utils_menu_position_under_widget (menu, &x, &y, &push_in, widget); + pluma_utils_menu_position_under_widget (menu, &x, &y, &push_in, widget); tuple = PyTuple_New (3); PyTuple_SetItem (tuple, 0, PyInt_FromLong (x)); @@ -52,9 +52,9 @@ _wrap_gedit_utils_menu_position_under_widget (PyObject *self, return tuple; } %% -override gedit_utils_menu_position_under_tree_view kwargs +override pluma_utils_menu_position_under_tree_view kwargs static PyObject * -_wrap_gedit_utils_menu_position_under_tree_view (PyObject *self, +_wrap_pluma_utils_menu_position_under_tree_view (PyObject *self, PyObject *args, PyObject *kwargs) { @@ -75,7 +75,7 @@ _wrap_gedit_utils_menu_position_under_tree_view (PyObject *self, menu = GTK_MENU (pygobject_get (py_menu)); view = GTK_TREE_VIEW (pygobject_get (py_view)); - gedit_utils_menu_position_under_widget (menu, &x, &y, &push_in, view); + pluma_utils_menu_position_under_widget (menu, &x, &y, &push_in, view); tuple = PyTuple_New (3); PyTuple_SetItem (tuple, 0, PyInt_FromLong (x)); diff --git a/plugin-loaders/python/gedit-plugin-loader-python.h b/plugin-loaders/python/gedit-plugin-loader-python.h deleted file mode 100755 index 35ae241..0000000 --- a/plugin-loaders/python/gedit-plugin-loader-python.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * gedit-plugin-loader-python.h - * This file is part of gedit - * - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_PLUGIN_LOADER_PYTHON_H__ -#define __GEDIT_PLUGIN_LOADER_PYTHON_H__ - -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_PLUGIN_LOADER_PYTHON (gedit_plugin_loader_python_get_type ()) -#define GEDIT_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_PLUGIN_LOADER_PYTHON, GeditPluginLoaderPython)) -#define GEDIT_PLUGIN_LOADER_PYTHON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_PLUGIN_LOADER_PYTHON, GeditPluginLoaderPython const)) -#define GEDIT_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_PLUGIN_LOADER_PYTHON, GeditPluginLoaderPythonClass)) -#define GEDIT_IS_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_PLUGIN_LOADER_PYTHON)) -#define GEDIT_IS_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN_LOADER_PYTHON)) -#define GEDIT_PLUGIN_LOADER_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_PLUGIN_LOADER_PYTHON, GeditPluginLoaderPythonClass)) - -typedef struct _GeditPluginLoaderPython GeditPluginLoaderPython; -typedef struct _GeditPluginLoaderPythonClass GeditPluginLoaderPythonClass; -typedef struct _GeditPluginLoaderPythonPrivate GeditPluginLoaderPythonPrivate; - -struct _GeditPluginLoaderPython { - GObject parent; - - GeditPluginLoaderPythonPrivate *priv; -}; - -struct _GeditPluginLoaderPythonClass { - GObjectClass parent_class; -}; - -GType gedit_plugin_loader_python_get_type (void) G_GNUC_CONST; -GeditPluginLoaderPython *gedit_plugin_loader_python_new(void); - -/* All the loaders must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin_loader (GTypeModule * module); - -G_END_DECLS - -#endif /* __GEDIT_PLUGIN_LOADER_PYTHON_H__ */ - diff --git a/plugin-loaders/python/gedit-plugin-python.h b/plugin-loaders/python/gedit-plugin-python.h deleted file mode 100755 index e67584b..0000000 --- a/plugin-loaders/python/gedit-plugin-python.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * gedit-plugin-python.h - * This file is part of gedit - * - * Copyright (C) 2005 - Raphael Slinckx - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_PLUGIN_PYTHON_H__ -#define __GEDIT_PLUGIN_PYTHON_H__ - -#define NO_IMPORT_PYGOBJECT - -#include -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_PLUGIN_PYTHON (gedit_plugin_python_get_type()) -#define GEDIT_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGIN_PYTHON, GeditPluginPython)) -#define GEDIT_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGIN_PYTHON, GeditPluginPythonClass)) -#define GEDIT_IS_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGIN_PYTHON)) -#define GEDIT_IS_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN_PYTHON)) -#define GEDIT_PLUGIN_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGIN_PYTHON, GeditPluginPythonClass)) - -/* Private structure type */ -typedef struct _GeditPluginPythonPrivate GeditPluginPythonPrivate; - -/* - * Main object structure - */ -typedef struct _GeditPluginPython GeditPluginPython; - -struct _GeditPluginPython -{ - GeditPlugin parent; - - /*< private > */ - GeditPluginPythonPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditPluginPythonClass GeditPluginPythonClass; - -struct _GeditPluginPythonClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_plugin_python_get_type (void) G_GNUC_CONST; - - -/* - * Private methods - */ -void _gedit_plugin_python_set_instance (GeditPluginPython *plugin, - PyObject *instance); -PyObject *_gedit_plugin_python_get_instance (GeditPluginPython *plugin); - -G_END_DECLS - -#endif /* __GEDIT_PLUGIN_PYTHON_H__ */ - diff --git a/plugin-loaders/python/gedit-plugin-loader-python.c b/plugin-loaders/python/pluma-plugin-loader-python.c similarity index 68% rename from plugin-loaders/python/gedit-plugin-loader-python.c rename to plugin-loaders/python/pluma-plugin-loader-python.c index 7a9c8d1..140fbb7 100755 --- a/plugin-loaders/python/gedit-plugin-loader-python.c +++ b/plugin-loaders/python/pluma-plugin-loader-python.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-loader-python.c - * This file is part of gedit + * pluma-plugin-loader-python.c + * This file is part of pluma * * Copyright (C) 2008 - Jesse van den Kieboom * @@ -20,9 +20,9 @@ * Boston, MA 02111-1307, USA. */ -#include "gedit-plugin-loader-python.h" -#include "gedit-plugin-python.h" -#include +#include "pluma-plugin-loader-python.h" +#include "pluma-plugin-python.h" +#include #define NO_IMPORT_PYGOBJECT #define NO_IMPORT_PYGTK @@ -39,9 +39,9 @@ typedef int Py_ssize_t; #define PY_SSIZE_T_MIN INT_MIN #endif -#define GEDIT_PLUGIN_LOADER_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_PLUGIN_LOADER_PYTHON, GeditPluginLoaderPythonPrivate)) +#define PLUMA_PLUGIN_LOADER_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_PLUGIN_LOADER_PYTHON, PlumaPluginLoaderPythonPrivate)) -struct _GeditPluginLoaderPythonPrivate +struct _PlumaPluginLoaderPythonPrivate { GHashTable *loaded_plugins; guint idle_gc; @@ -55,29 +55,29 @@ typedef struct gchar *path; } PythonInfo; -static void gedit_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data); +static void pluma_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data); -/* Exported by pygedit module */ -void pygedit_register_classes (PyObject *d); -void pygedit_add_constants (PyObject *module, const gchar *strip_prefix); -extern PyMethodDef pygedit_functions[]; +/* Exported by pypluma module */ +void pypluma_register_classes (PyObject *d); +void pypluma_add_constants (PyObject *module, const gchar *strip_prefix); +extern PyMethodDef pypluma_functions[]; -/* Exported by pygeditutils module */ -void pygeditutils_register_classes (PyObject *d); -extern PyMethodDef pygeditutils_functions[]; +/* Exported by pyplumautils module */ +void pyplumautils_register_classes (PyObject *d); +extern PyMethodDef pyplumautils_functions[]; -/* Exported by pygeditcommands module */ -void pygeditcommands_register_classes (PyObject *d); -extern PyMethodDef pygeditcommands_functions[]; +/* Exported by pyplumacommands module */ +void pyplumacommands_register_classes (PyObject *d); +extern PyMethodDef pyplumacommands_functions[]; /* We retreive this to check for correct class hierarchy */ -static PyTypeObject *PyGeditPlugin_Type; +static PyTypeObject *PyPlumaPlugin_Type; -GEDIT_PLUGIN_LOADER_REGISTER_TYPE (GeditPluginLoaderPython, gedit_plugin_loader_python, G_TYPE_OBJECT, gedit_plugin_loader_iface_init); +PLUMA_PLUGIN_LOADER_REGISTER_TYPE (PlumaPluginLoaderPython, pluma_plugin_loader_python, G_TYPE_OBJECT, pluma_plugin_loader_iface_init); static PyObject * -find_python_plugin_type (GeditPluginInfo *info, +find_python_plugin_type (PlumaPluginInfo *info, PyObject *pymodule) { PyObject *locals, *key, *value; @@ -90,24 +90,24 @@ find_python_plugin_type (GeditPluginInfo *info, if (!PyType_Check(value)) continue; - if (PyObject_IsSubclass (value, (PyObject*) PyGeditPlugin_Type)) + if (PyObject_IsSubclass (value, (PyObject*) PyPlumaPlugin_Type)) return value; } - g_warning ("No GeditPlugin derivative found in Python plugin '%s'", - gedit_plugin_info_get_name (info)); + g_warning ("No PlumaPlugin derivative found in Python plugin '%s'", + pluma_plugin_info_get_name (info)); return NULL; } -static GeditPlugin * -new_plugin_from_info (GeditPluginLoaderPython *loader, - GeditPluginInfo *info) +static PlumaPlugin * +new_plugin_from_info (PlumaPluginLoaderPython *loader, + PlumaPluginInfo *info) { PythonInfo *pyinfo; PyTypeObject *pytype; PyObject *pyobject; PyGObject *pygobject; - GeditPlugin *instance; + PlumaPlugin *instance; PyObject *emptyarg; pyinfo = (PythonInfo *)g_hash_table_lookup (loader->priv->loaded_plugins, info); @@ -126,7 +126,7 @@ new_plugin_from_info (GeditPluginLoaderPython *loader, if (pyobject == NULL) { - g_error ("Could not create instance for %s.", gedit_plugin_info_get_name (info)); + g_error ("Could not create instance for %s.", pluma_plugin_info_get_name (info)); return NULL; } @@ -135,18 +135,18 @@ new_plugin_from_info (GeditPluginLoaderPython *loader, if (pygobject->obj != NULL) { Py_DECREF (pyobject); - g_error ("Could not create instance for %s (GObject already initialized).", gedit_plugin_info_get_name (info)); + g_error ("Could not create instance for %s (GObject already initialized).", pluma_plugin_info_get_name (info)); return NULL; } pygobject_construct (pygobject, "install-dir", pyinfo->path, - "data-dir-name", gedit_plugin_info_get_module_name (info), + "data-dir-name", pluma_plugin_info_get_module_name (info), NULL); if (pygobject->obj == NULL) { - g_error ("Could not create instance for %s (GObject not constructed).", gedit_plugin_info_get_name (info)); + g_error ("Could not create instance for %s (GObject not constructed).", pluma_plugin_info_get_name (info)); Py_DECREF (pyobject); return NULL; @@ -161,20 +161,20 @@ new_plugin_from_info (GeditPluginLoaderPython *loader, Py_DECREF (emptyarg); } - instance = GEDIT_PLUGIN (pygobject->obj); + instance = PLUMA_PLUGIN (pygobject->obj); pyinfo->instance = (PyObject *)pygobject; - /* make sure to register the python instance for the GeditPluginPython - object to it can wrap the virtual gedit plugin funcs back to python */ - _gedit_plugin_python_set_instance (GEDIT_PLUGIN_PYTHON (instance), (PyObject *)pygobject); + /* make sure to register the python instance for the PlumaPluginPython + object to it can wrap the virtual pluma plugin funcs back to python */ + _pluma_plugin_python_set_instance (PLUMA_PLUGIN_PYTHON (instance), (PyObject *)pygobject); /* we return a reference here because the other is owned by python */ - return GEDIT_PLUGIN (g_object_ref (instance)); + return PLUMA_PLUGIN (g_object_ref (instance)); } -static GeditPlugin * -add_python_info (GeditPluginLoaderPython *loader, - GeditPluginInfo *info, +static PlumaPlugin * +add_python_info (PlumaPluginLoaderPython *loader, + PlumaPluginInfo *info, PyObject *module, const gchar *path, PyObject *type) @@ -193,27 +193,27 @@ add_python_info (GeditPluginLoaderPython *loader, } static const gchar * -gedit_plugin_loader_iface_get_id (void) +pluma_plugin_loader_iface_get_id (void) { return "Python"; } -static GeditPlugin * -gedit_plugin_loader_iface_load (GeditPluginLoader *loader, - GeditPluginInfo *info, +static PlumaPlugin * +pluma_plugin_loader_iface_load (PlumaPluginLoader *loader, + PlumaPluginInfo *info, const gchar *path) { - GeditPluginLoaderPython *pyloader = GEDIT_PLUGIN_LOADER_PYTHON (loader); + PlumaPluginLoaderPython *pyloader = PLUMA_PLUGIN_LOADER_PYTHON (loader); PyObject *main_module, *main_locals, *pytype; PyObject *pymodule, *fromlist; gchar *module_name; - GeditPlugin *result; + PlumaPlugin *result; if (pyloader->priv->init_failed) { - g_warning ("Cannot load python plugin Python '%s' since gedit was" + g_warning ("Cannot load python plugin Python '%s' since pluma was" "not able to initialize the Python interpreter.", - gedit_plugin_info_get_name (info)); + pluma_plugin_info_get_name (info)); return NULL; } @@ -223,10 +223,10 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, if (result != NULL) return result; - main_module = PyImport_AddModule ("gedit.plugins"); + main_module = PyImport_AddModule ("pluma.plugins"); if (main_module == NULL) { - g_warning ("Could not get gedit.plugins."); + g_warning ("Could not get pluma.plugins."); return NULL; } @@ -247,7 +247,7 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, /* we need a fromlist to be able to import modules with a '.' in the name. */ fromlist = PyTuple_New(0); - module_name = g_strdup (gedit_plugin_info_get_module_name (info)); + module_name = g_strdup (pluma_plugin_info_get_module_name (info)); pymodule = PyImport_ImportModuleEx (module_name, main_locals, @@ -275,10 +275,10 @@ gedit_plugin_loader_iface_load (GeditPluginLoader *loader, } static void -gedit_plugin_loader_iface_unload (GeditPluginLoader *loader, - GeditPluginInfo *info) +pluma_plugin_loader_iface_unload (PlumaPluginLoader *loader, + PlumaPluginInfo *info) { - GeditPluginLoaderPython *pyloader = GEDIT_PLUGIN_LOADER_PYTHON (loader); + PlumaPluginLoaderPython *pyloader = PLUMA_PLUGIN_LOADER_PYTHON (loader); PythonInfo *pyinfo; PyGILState_STATE state; @@ -295,7 +295,7 @@ gedit_plugin_loader_iface_unload (GeditPluginLoader *loader, } static gboolean -run_gc (GeditPluginLoaderPython *loader) +run_gc (PlumaPluginLoaderPython *loader) { while (PyGC_Collect ()) ; @@ -305,14 +305,14 @@ run_gc (GeditPluginLoaderPython *loader) } static void -gedit_plugin_loader_iface_garbage_collect (GeditPluginLoader *loader) +pluma_plugin_loader_iface_garbage_collect (PlumaPluginLoader *loader) { - GeditPluginLoaderPython *pyloader; + PlumaPluginLoaderPython *pyloader; if (!Py_IsInitialized()) return; - pyloader = GEDIT_PLUGIN_LOADER_PYTHON (loader); + pyloader = PLUMA_PLUGIN_LOADER_PYTHON (loader); /* * We both run the GC right now and we schedule @@ -327,19 +327,19 @@ gedit_plugin_loader_iface_garbage_collect (GeditPluginLoader *loader) } static void -gedit_plugin_loader_iface_init (gpointer g_iface, +pluma_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data) { - GeditPluginLoaderInterface *iface = (GeditPluginLoaderInterface *)g_iface; + PlumaPluginLoaderInterface *iface = (PlumaPluginLoaderInterface *)g_iface; - iface->get_id = gedit_plugin_loader_iface_get_id; - iface->load = gedit_plugin_loader_iface_load; - iface->unload = gedit_plugin_loader_iface_unload; - iface->garbage_collect = gedit_plugin_loader_iface_garbage_collect; + iface->get_id = pluma_plugin_loader_iface_get_id; + iface->load = pluma_plugin_loader_iface_load; + iface->unload = pluma_plugin_loader_iface_unload; + iface->garbage_collect = pluma_plugin_loader_iface_garbage_collect; } static void -gedit_python_shutdown (GeditPluginLoaderPython *loader) +pluma_python_shutdown (PlumaPluginLoaderPython *loader) { if (!Py_IsInitialized ()) return; @@ -362,7 +362,7 @@ gedit_python_shutdown (GeditPluginLoaderPython *loader) * pygtk.require ("2.0") */ static gboolean -gedit_check_pygtk2 (void) +pluma_check_pygtk2 (void) { PyObject *pygtk, *mdict, *require; @@ -394,13 +394,13 @@ gedit_check_pygtk2 (void) * It's up to the caller to check the result with PyErr_Occurred() */ static void -gedit_init_pygobject (void) +pluma_init_pygobject (void) { init_pygobject_check (2, 11, 5); /* FIXME: get from config */ } static void -gedit_init_pygtk (void) +pluma_init_pygtk (void) { PyObject *gtk, *mdict, *version, *required_version; @@ -439,7 +439,7 @@ old_gtksourceview_init (void) } static void -gedit_init_pygtksourceview (void) +pluma_init_pygtksourceview (void) { PyObject *gtksourceview, *mdict, *version, *required_version; @@ -481,13 +481,13 @@ gedit_init_pygtksourceview (void) } static gboolean -gedit_python_init (GeditPluginLoaderPython *loader) +pluma_python_init (PlumaPluginLoaderPython *loader) { PyObject *mdict, *tuple; - PyObject *gedit, *geditutils, *geditcommands, *geditplugins; + PyObject *pluma, *plumautils, *plumacommands, *plumaplugins; PyObject *gettext, *install, *gettext_args; - //char *argv[] = { "gedit", NULL }; - char *argv[] = { GEDIT_PLUGINS_LIBS_DIR, NULL }; + //char *argv[] = { "pluma", NULL }; + char *argv[] = { PLUMA_PLUGINS_LIBS_DIR, NULL }; #ifdef HAVE_SIGACTION gint res; struct sigaction old_sigint; @@ -548,14 +548,14 @@ gedit_python_init (GeditPluginLoaderPython *loader) PySys_SetArgv (1, argv); - if (!gedit_check_pygtk2 ()) + if (!pluma_check_pygtk2 ()) { /* Warning message already printed in check_pygtk2 */ goto python_init_error; } /* import gobject */ - gedit_init_pygobject (); + pluma_init_pygobject (); if (PyErr_Occurred ()) { g_warning ("Error initializing Python interpreter: could not import pygobject."); @@ -564,7 +564,7 @@ gedit_python_init (GeditPluginLoaderPython *loader) } /* import gtk */ - gedit_init_pygtk (); + pluma_init_pygtk (); if (PyErr_Occurred ()) { g_warning ("Error initializing Python interpreter: could not import pygtk."); @@ -573,7 +573,7 @@ gedit_python_init (GeditPluginLoaderPython *loader) } /* import gtksourceview */ - gedit_init_pygtksourceview (); + pluma_init_pygtksourceview (); if (PyErr_Occurred ()) { PyErr_Print (); @@ -583,47 +583,47 @@ gedit_python_init (GeditPluginLoaderPython *loader) goto python_init_error; } - /* import gedit */ - gedit = Py_InitModule ("gedit", pygedit_functions); - mdict = PyModule_GetDict (gedit); + /* import pluma */ + pluma = Py_InitModule ("pluma", pypluma_functions); + mdict = PyModule_GetDict (pluma); - pygedit_register_classes (mdict); - pygedit_add_constants (gedit, "GEDIT_"); + pypluma_register_classes (mdict); + pypluma_add_constants (pluma, "PLUMA_"); - /* gedit version */ + /* pluma version */ tuple = Py_BuildValue("(iii)", - GEDIT_MAJOR_VERSION, - GEDIT_MINOR_VERSION, - GEDIT_MICRO_VERSION); + PLUMA_MAJOR_VERSION, + PLUMA_MINOR_VERSION, + PLUMA_MICRO_VERSION); PyDict_SetItemString(mdict, "version", tuple); Py_DECREF(tuple); - /* Retrieve the Python type for gedit.Plugin */ - PyGeditPlugin_Type = (PyTypeObject *) PyDict_GetItemString (mdict, "Plugin"); - if (PyGeditPlugin_Type == NULL) + /* Retrieve the Python type for pluma.Plugin */ + PyPlumaPlugin_Type = (PyTypeObject *) PyDict_GetItemString (mdict, "Plugin"); + if (PyPlumaPlugin_Type == NULL) { PyErr_Print (); goto python_init_error; } - /* import gedit.utils */ - geditutils = Py_InitModule ("gedit.utils", pygeditutils_functions); - PyDict_SetItemString (mdict, "utils", geditutils); + /* import pluma.utils */ + plumautils = Py_InitModule ("pluma.utils", pyplumautils_functions); + PyDict_SetItemString (mdict, "utils", plumautils); - /* import gedit.commands */ - geditcommands = Py_InitModule ("gedit.commands", pygeditcommands_functions); - PyDict_SetItemString (mdict, "commands", geditcommands); + /* import pluma.commands */ + plumacommands = Py_InitModule ("pluma.commands", pyplumacommands_functions); + PyDict_SetItemString (mdict, "commands", plumacommands); - /* initialize empty gedit.plugins module */ - geditplugins = Py_InitModule ("gedit.plugins", NULL); - PyDict_SetItemString (mdict, "plugins", geditplugins); + /* initialize empty pluma.plugins module */ + plumaplugins = Py_InitModule ("pluma.plugins", NULL); + PyDict_SetItemString (mdict, "plugins", plumaplugins); - mdict = PyModule_GetDict (geditutils); - pygeditutils_register_classes (mdict); + mdict = PyModule_GetDict (plumautils); + pyplumautils_register_classes (mdict); - mdict = PyModule_GetDict (geditcommands); - pygeditcommands_register_classes (mdict); + mdict = PyModule_GetDict (plumacommands); + pyplumacommands_register_classes (mdict); /* i18n support */ gettext = PyImport_ImportModule ("gettext"); @@ -636,7 +636,7 @@ gedit_python_init (GeditPluginLoaderPython *loader) mdict = PyModule_GetDict (gettext); install = PyDict_GetItemString (mdict, "install"); - gettext_args = Py_BuildValue ("ss", GETTEXT_PACKAGE, GEDIT_LOCALEDIR); + gettext_args = Py_BuildValue ("ss", GETTEXT_PACKAGE, PLUMA_LOCALEDIR); PyObject_CallObject (install, gettext_args); Py_DECREF (gettext_args); @@ -648,38 +648,38 @@ gedit_python_init (GeditPluginLoaderPython *loader) python_init_error: g_warning ("Please check the installation of all the Python related packages required " - "by gedit and try again."); + "by pluma and try again."); PyErr_Clear (); - gedit_python_shutdown (loader); + pluma_python_shutdown (loader); return FALSE; } static void -gedit_plugin_loader_python_finalize (GObject *object) +pluma_plugin_loader_python_finalize (GObject *object) { - GeditPluginLoaderPython *pyloader = GEDIT_PLUGIN_LOADER_PYTHON (object); + PlumaPluginLoaderPython *pyloader = PLUMA_PLUGIN_LOADER_PYTHON (object); g_hash_table_destroy (pyloader->priv->loaded_plugins); - gedit_python_shutdown (pyloader); + pluma_python_shutdown (pyloader); - G_OBJECT_CLASS (gedit_plugin_loader_python_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_plugin_loader_python_parent_class)->finalize (object); } static void -gedit_plugin_loader_python_class_init (GeditPluginLoaderPythonClass *klass) +pluma_plugin_loader_python_class_init (PlumaPluginLoaderPythonClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_plugin_loader_python_finalize; + object_class->finalize = pluma_plugin_loader_python_finalize; - g_type_class_add_private (object_class, sizeof (GeditPluginLoaderPythonPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaPluginLoaderPythonPrivate)); } static void -gedit_plugin_loader_python_class_finalize (GeditPluginLoaderPythonClass *klass) +pluma_plugin_loader_python_class_finalize (PlumaPluginLoaderPythonClass *klass) { } @@ -695,25 +695,25 @@ destroy_python_info (PythonInfo *info) } static void -gedit_plugin_loader_python_init (GeditPluginLoaderPython *self) +pluma_plugin_loader_python_init (PlumaPluginLoaderPython *self) { - self->priv = GEDIT_PLUGIN_LOADER_PYTHON_GET_PRIVATE (self); + self->priv = PLUMA_PLUGIN_LOADER_PYTHON_GET_PRIVATE (self); /* initialize python interpreter */ - gedit_python_init (self); + pluma_python_init (self); - /* loaded_plugins maps GeditPluginInfo to a PythonInfo */ + /* loaded_plugins maps PlumaPluginInfo to a PythonInfo */ self->priv->loaded_plugins = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, (GDestroyNotify)destroy_python_info); } -GeditPluginLoaderPython * -gedit_plugin_loader_python_new () +PlumaPluginLoaderPython * +pluma_plugin_loader_python_new () { - GObject *loader = g_object_new (GEDIT_TYPE_PLUGIN_LOADER_PYTHON, NULL); + GObject *loader = g_object_new (PLUMA_TYPE_PLUGIN_LOADER_PYTHON, NULL); - return GEDIT_PLUGIN_LOADER_PYTHON (loader); + return PLUMA_PLUGIN_LOADER_PYTHON (loader); } diff --git a/plugin-loaders/python/pluma-plugin-loader-python.h b/plugin-loaders/python/pluma-plugin-loader-python.h new file mode 100755 index 0000000..884b489 --- /dev/null +++ b/plugin-loaders/python/pluma-plugin-loader-python.h @@ -0,0 +1,61 @@ +/* + * pluma-plugin-loader-python.h + * This file is part of pluma + * + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_PLUGIN_LOADER_PYTHON_H__ +#define __PLUMA_PLUGIN_LOADER_PYTHON_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_PLUGIN_LOADER_PYTHON (pluma_plugin_loader_python_get_type ()) +#define PLUMA_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_PLUGIN_LOADER_PYTHON, PlumaPluginLoaderPython)) +#define PLUMA_PLUGIN_LOADER_PYTHON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_PLUGIN_LOADER_PYTHON, PlumaPluginLoaderPython const)) +#define PLUMA_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_PLUGIN_LOADER_PYTHON, PlumaPluginLoaderPythonClass)) +#define PLUMA_IS_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_PLUGIN_LOADER_PYTHON)) +#define PLUMA_IS_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN_LOADER_PYTHON)) +#define PLUMA_PLUGIN_LOADER_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_PLUGIN_LOADER_PYTHON, PlumaPluginLoaderPythonClass)) + +typedef struct _PlumaPluginLoaderPython PlumaPluginLoaderPython; +typedef struct _PlumaPluginLoaderPythonClass PlumaPluginLoaderPythonClass; +typedef struct _PlumaPluginLoaderPythonPrivate PlumaPluginLoaderPythonPrivate; + +struct _PlumaPluginLoaderPython { + GObject parent; + + PlumaPluginLoaderPythonPrivate *priv; +}; + +struct _PlumaPluginLoaderPythonClass { + GObjectClass parent_class; +}; + +GType pluma_plugin_loader_python_get_type (void) G_GNUC_CONST; +PlumaPluginLoaderPython *pluma_plugin_loader_python_new(void); + +/* All the loaders must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin_loader (GTypeModule * module); + +G_END_DECLS + +#endif /* __PLUMA_PLUGIN_LOADER_PYTHON_H__ */ + diff --git a/plugin-loaders/python/gedit-plugin-python.c b/plugin-loaders/python/pluma-plugin-python.c similarity index 69% rename from plugin-loaders/python/gedit-plugin-python.c rename to plugin-loaders/python/pluma-plugin-python.c index 0573828..c26f81c 100755 --- a/plugin-loaders/python/gedit-plugin-python.c +++ b/plugin-loaders/python/pluma-plugin-python.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-python.c - * This file is part of gedit + * pluma-plugin-python.c + * This file is part of pluma * * Copyright (C) 2005 Raphael Slinckx * Copyright (C) 2008 Jesse van den Kieboom @@ -23,30 +23,30 @@ #include -#include "gedit-plugin-python.h" +#include "pluma-plugin-python.h" -#include -#include +#include +#include #include #include -#define GEDIT_PLUGIN_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_PLUGIN_PYTHON, GeditPluginPythonPrivate)) +#define PLUMA_PLUGIN_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPythonPrivate)) static GObjectClass *parent_class; -struct _GeditPluginPythonPrivate +struct _PlumaPluginPythonPrivate { PyObject *instance; }; -static void gedit_plugin_python_class_init (GeditPluginPythonClass *klass); -static void gedit_plugin_python_init (GeditPluginPython *plugin); +static void pluma_plugin_python_class_init (PlumaPluginPythonClass *klass); +static void pluma_plugin_python_init (PlumaPluginPython *plugin); -G_DEFINE_TYPE (GeditPluginPython, gedit_plugin_python, GEDIT_TYPE_PLUGIN) +G_DEFINE_TYPE (PlumaPluginPython, pluma_plugin_python, PLUMA_TYPE_PLUGIN) static PyObject * -call_python_method (GeditPluginPythonPrivate *priv, - GeditWindow *window, +call_python_method (PlumaPluginPythonPrivate *priv, + PlumaWindow *window, gchar *method) { PyObject *py_ret = NULL; @@ -101,11 +101,11 @@ check_py_object_is_gtk_widget (PyObject *py_obj) } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { PyGILState_STATE state = pyg_gil_state_ensure (); - GeditPluginPythonPrivate *priv = GEDIT_PLUGIN_PYTHON(plugin)->priv; + PlumaPluginPythonPrivate *priv = PLUMA_PLUGIN_PYTHON(plugin)->priv; if (PyObject_HasAttrString (priv->instance, "update_ui")) { @@ -117,17 +117,17 @@ impl_update_ui (GeditPlugin *plugin, } } else - GEDIT_PLUGIN_CLASS (parent_class)->update_ui (plugin, window); + PLUMA_PLUGIN_CLASS (parent_class)->update_ui (plugin, window); pyg_gil_state_release (state); } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { PyGILState_STATE state = pyg_gil_state_ensure (); - GeditPluginPythonPrivate *priv = GEDIT_PLUGIN_PYTHON(plugin)->priv; + PlumaPluginPythonPrivate *priv = PLUMA_PLUGIN_PYTHON(plugin)->priv; if (PyObject_HasAttrString (priv->instance, "deactivate")) { @@ -139,17 +139,17 @@ impl_deactivate (GeditPlugin *plugin, } } else - GEDIT_PLUGIN_CLASS (parent_class)->deactivate (plugin, window); + PLUMA_PLUGIN_CLASS (parent_class)->deactivate (plugin, window); pyg_gil_state_release (state); } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { PyGILState_STATE state = pyg_gil_state_ensure (); - GeditPluginPythonPrivate *priv = GEDIT_PLUGIN_PYTHON(plugin)->priv; + PlumaPluginPythonPrivate *priv = PLUMA_PLUGIN_PYTHON(plugin)->priv; if (PyObject_HasAttrString (priv->instance, "activate")) { @@ -161,16 +161,16 @@ impl_activate (GeditPlugin *plugin, } } else - GEDIT_PLUGIN_CLASS (parent_class)->activate (plugin, window); + PLUMA_PLUGIN_CLASS (parent_class)->activate (plugin, window); pyg_gil_state_release (state); } static GtkWidget * -impl_create_configure_dialog (GeditPlugin *plugin) +impl_create_configure_dialog (PlumaPlugin *plugin) { PyGILState_STATE state = pyg_gil_state_ensure (); - GeditPluginPythonPrivate *priv = GEDIT_PLUGIN_PYTHON(plugin)->priv; + PlumaPluginPythonPrivate *priv = PLUMA_PLUGIN_PYTHON(plugin)->priv; GtkWidget *ret = NULL; if (PyObject_HasAttrString (priv->instance, "create_configure_dialog")) @@ -194,7 +194,7 @@ impl_create_configure_dialog (GeditPlugin *plugin) } } else - ret = GEDIT_PLUGIN_CLASS (parent_class)->create_configure_dialog (plugin); + ret = PLUMA_PLUGIN_CLASS (parent_class)->create_configure_dialog (plugin); pyg_gil_state_release (state); @@ -202,10 +202,10 @@ impl_create_configure_dialog (GeditPlugin *plugin) } static gboolean -impl_is_configurable (GeditPlugin *plugin) +impl_is_configurable (PlumaPlugin *plugin) { PyGILState_STATE state = pyg_gil_state_ensure (); - GeditPluginPythonPrivate *priv = GEDIT_PLUGIN_PYTHON(plugin)->priv; + PlumaPluginPythonPrivate *priv = PLUMA_PLUGIN_PYTHON(plugin)->priv; PyObject *dict = priv->instance->ob_type->tp_dict; gboolean result; @@ -222,7 +222,7 @@ impl_is_configurable (GeditPlugin *plugin) } void -_gedit_plugin_python_set_instance (GeditPluginPython *plugin, +_pluma_plugin_python_set_instance (PlumaPluginPython *plugin, PyObject *instance) { PyGILState_STATE state = pyg_gil_state_ensure (); @@ -234,43 +234,43 @@ _gedit_plugin_python_set_instance (GeditPluginPython *plugin, } PyObject * -_gedit_plugin_python_get_instance (GeditPluginPython *plugin) +_pluma_plugin_python_get_instance (PlumaPluginPython *plugin) { return plugin->priv->instance; } static void -gedit_plugin_python_init (GeditPluginPython *plugin) +pluma_plugin_python_init (PlumaPluginPython *plugin) { - plugin->priv = GEDIT_PLUGIN_PYTHON_GET_PRIVATE(plugin); + plugin->priv = PLUMA_PLUGIN_PYTHON_GET_PRIVATE(plugin); - gedit_debug_message (DEBUG_PLUGINS, "Creating Python plugin instance"); + pluma_debug_message (DEBUG_PLUGINS, "Creating Python plugin instance"); plugin->priv->instance = 0; } static void -gedit_plugin_python_finalize (GObject *object) +pluma_plugin_python_finalize (GObject *object) { PyGILState_STATE state; - gedit_debug_message (DEBUG_PLUGINS, "Finalizing Python plugin instance"); + pluma_debug_message (DEBUG_PLUGINS, "Finalizing Python plugin instance"); state = pyg_gil_state_ensure (); - Py_XDECREF (GEDIT_PLUGIN_PYTHON(object)->priv->instance); + Py_XDECREF (PLUMA_PLUGIN_PYTHON(object)->priv->instance); pyg_gil_state_release (state); G_OBJECT_CLASS (parent_class)->finalize (object); } static void -gedit_plugin_python_class_init (GeditPluginPythonClass *klass) +pluma_plugin_python_class_init (PlumaPluginPythonClass *klass) { - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent (klass); - g_type_class_add_private (klass, sizeof (GeditPluginPythonPrivate)); - G_OBJECT_CLASS (klass)->finalize = gedit_plugin_python_finalize; + g_type_class_add_private (klass, sizeof (PlumaPluginPythonPrivate)); + G_OBJECT_CLASS (klass)->finalize = pluma_plugin_python_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; diff --git a/plugin-loaders/python/pluma-plugin-python.h b/plugin-loaders/python/pluma-plugin-python.h new file mode 100755 index 0000000..3612cfb --- /dev/null +++ b/plugin-loaders/python/pluma-plugin-python.h @@ -0,0 +1,88 @@ +/* + * pluma-plugin-python.h + * This file is part of pluma + * + * Copyright (C) 2005 - Raphael Slinckx + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_PLUGIN_PYTHON_H__ +#define __PLUMA_PLUGIN_PYTHON_H__ + +#define NO_IMPORT_PYGOBJECT + +#include +#include + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PLUGIN_PYTHON (pluma_plugin_python_get_type()) +#define PLUMA_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPython)) +#define PLUMA_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPythonClass)) +#define PLUMA_IS_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PLUGIN_PYTHON)) +#define PLUMA_IS_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN_PYTHON)) +#define PLUMA_PLUGIN_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPythonClass)) + +/* Private structure type */ +typedef struct _PlumaPluginPythonPrivate PlumaPluginPythonPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaPluginPython PlumaPluginPython; + +struct _PlumaPluginPython +{ + PlumaPlugin parent; + + /*< private > */ + PlumaPluginPythonPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaPluginPythonClass PlumaPluginPythonClass; + +struct _PlumaPluginPythonClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_plugin_python_get_type (void) G_GNUC_CONST; + + +/* + * Private methods + */ +void _pluma_plugin_python_set_instance (PlumaPluginPython *plugin, + PyObject *instance); +PyObject *_pluma_plugin_python_get_instance (PlumaPluginPython *plugin); + +G_END_DECLS + +#endif /* __PLUMA_PLUGIN_PYTHON_H__ */ + diff --git a/plugins/changecase/Makefile.am b/plugins/changecase/Makefile.am index 1f165f9..3886dc8 100755 --- a/plugins/changecase/Makefile.am +++ b/plugins/changecase/Makefile.am @@ -1,29 +1,29 @@ # changecase plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) plugin_LTLIBRARIES = libchangecase.la libchangecase_la_SOURCES = \ - gedit-changecase-plugin.h \ - gedit-changecase-plugin.c + pluma-changecase-plugin.h \ + pluma-changecase-plugin.c libchangecase_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libchangecase_la_LIBADD = $(GEDIT_LIBS) +libchangecase_la_LIBADD = $(PLUMA_LIBS) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/changecase +uidir = $(PLUMA_PLUGINS_DATA_DIR)/changecase ui_DATA = -plugin_in_files = changecase.gedit-plugin.desktop.in +plugin_in_files = changecase.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(ui_DATA) $(plugin_in_files) diff --git a/plugins/changecase/changecase.gedit-plugin.desktop.in b/plugins/changecase/changecase.pluma-plugin.desktop.in similarity index 80% rename from plugins/changecase/changecase.gedit-plugin.desktop.in rename to plugins/changecase/changecase.pluma-plugin.desktop.in index 52a226f..d049a9c 100755 --- a/plugins/changecase/changecase.gedit-plugin.desktop.in +++ b/plugins/changecase/changecase.pluma-plugin.desktop.in @@ -1,8 +1,8 @@ -[Gedit Plugin] +[Pluma Plugin] Module=changecase IAge=2 _Name=Change Case _Description=Changes the case of selected text. Authors=Paolo Borelli Copyright=Copyright © 2004-2005 Paolo Borelli -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/changecase/gedit-changecase-plugin.h b/plugins/changecase/gedit-changecase-plugin.h deleted file mode 100755 index 9587928..0000000 --- a/plugins/changecase/gedit-changecase-plugin.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * gedit-changecase-plugin.h - * - * Copyright (C) 2004-2005 - Paolo Borelli - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -#ifndef __GEDIT_CHANGECASE_PLUGIN_H__ -#define __GEDIT_CHANGECASE_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_CHANGECASE_PLUGIN (gedit_changecase_plugin_get_type ()) -#define GEDIT_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_CHANGECASE_PLUGIN, GeditChangecasePlugin)) -#define GEDIT_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_CHANGECASE_PLUGIN, GeditChangecasePluginClass)) -#define GEDIT_IS_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_CHANGECASE_PLUGIN)) -#define GEDIT_IS_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_CHANGECASE_PLUGIN)) -#define GEDIT_CHANGECASE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_CHANGECASE_PLUGIN, GeditChangecasePluginClass)) - -/* - * Main object structure - */ -typedef struct _GeditChangecasePlugin GeditChangecasePlugin; - -struct _GeditChangecasePlugin -{ - GeditPlugin parent_instance; -}; - -/* - * Class definition - */ -typedef struct _GeditChangecasePluginClass GeditChangecasePluginClass; - -struct _GeditChangecasePluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_changecase_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_CHANGECASE_PLUGIN_H__ */ diff --git a/plugins/changecase/gedit-changecase-plugin.c b/plugins/changecase/pluma-changecase-plugin.c similarity index 83% rename from plugins/changecase/gedit-changecase-plugin.c rename to plugins/changecase/pluma-changecase-plugin.c index 8544aeb..735a6be 100755 --- a/plugins/changecase/gedit-changecase-plugin.c +++ b/plugins/changecase/pluma-changecase-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-changecase-plugin.c + * pluma-changecase-plugin.c * * Copyright (C) 2004-2005 - Paolo Borelli * @@ -24,16 +24,16 @@ #include #endif -#include "gedit-changecase-plugin.h" +#include "pluma-changecase-plugin.h" #include #include -#include +#include -#define WINDOW_DATA_KEY "GeditChangecasePluginWindowData" +#define WINDOW_DATA_KEY "PlumaChangecasePluginWindowData" -GEDIT_PLUGIN_REGISTER_TYPE(GeditChangecasePlugin, gedit_changecase_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaChangecasePlugin, pluma_changecase_plugin) typedef enum { TO_UPPER_CASE, @@ -149,15 +149,15 @@ do_title_case (GtkTextBuffer *buffer, } static void -change_case (GeditWindow *window, +change_case (PlumaWindow *window, ChangeCaseChoice choice) { - GeditDocument *doc; + PlumaDocument *doc; GtkTextIter start, end; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); g_return_if_fail (doc != NULL); if (!gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc), @@ -191,28 +191,28 @@ change_case (GeditWindow *window, static void upper_case_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { change_case (window, TO_UPPER_CASE); } static void lower_case_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { change_case (window, TO_LOWER_CASE); } static void invert_case_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { change_case (window, INVERT_CASE); } static void title_case_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { change_case (window, TO_TITLE_CASE); } @@ -251,17 +251,17 @@ const gchar submenu[] = ""; static void -gedit_changecase_plugin_init (GeditChangecasePlugin *plugin) +pluma_changecase_plugin_init (PlumaChangecasePlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditChangecasePlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaChangecasePlugin initializing"); } static void -gedit_changecase_plugin_finalize (GObject *object) +pluma_changecase_plugin_finalize (GObject *object) { - G_OBJECT_CLASS (gedit_changecase_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_changecase_plugin_parent_class)->finalize (object); - gedit_debug_message (DEBUG_PLUGINS, "GeditChangecasePlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaChangecasePlugin finalizing"); } typedef struct @@ -279,16 +279,16 @@ free_window_data (WindowData *data) } static void -update_ui_real (GeditWindow *window, +update_ui_real (PlumaWindow *window, WindowData *data) { GtkTextView *view; GtkAction *action; gboolean sensitive = FALSE; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = GTK_TEXT_VIEW (gedit_window_get_active_view (window)); + view = GTK_TEXT_VIEW (pluma_window_get_active_view (window)); if (view != NULL) { @@ -305,20 +305,20 @@ update_ui_real (GeditWindow *window, } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; GError *error = NULL; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_slice_new (WindowData); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); - data->action_group = gtk_action_group_new ("GeditChangecasePluginActions"); + data->action_group = gtk_action_group_new ("PlumaChangecasePluginActions"); gtk_action_group_set_translation_domain (data->action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions (data->action_group, @@ -348,15 +348,15 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -368,12 +368,12 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -382,12 +382,12 @@ impl_update_ui (GeditPlugin *plugin, } static void -gedit_changecase_plugin_class_init (GeditChangecasePluginClass *klass) +pluma_changecase_plugin_class_init (PlumaChangecasePluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_changecase_plugin_finalize; + object_class->finalize = pluma_changecase_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; diff --git a/plugins/changecase/pluma-changecase-plugin.h b/plugins/changecase/pluma-changecase-plugin.h new file mode 100755 index 0000000..5660435 --- /dev/null +++ b/plugins/changecase/pluma-changecase-plugin.h @@ -0,0 +1,72 @@ +/* + * pluma-changecase-plugin.h + * + * Copyright (C) 2004-2005 - Paolo Borelli + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#ifndef __PLUMA_CHANGECASE_PLUGIN_H__ +#define __PLUMA_CHANGECASE_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_CHANGECASE_PLUGIN (pluma_changecase_plugin_get_type ()) +#define PLUMA_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_CHANGECASE_PLUGIN, PlumaChangecasePlugin)) +#define PLUMA_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_CHANGECASE_PLUGIN, PlumaChangecasePluginClass)) +#define PLUMA_IS_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_CHANGECASE_PLUGIN)) +#define PLUMA_IS_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_CHANGECASE_PLUGIN)) +#define PLUMA_CHANGECASE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_CHANGECASE_PLUGIN, PlumaChangecasePluginClass)) + +/* + * Main object structure + */ +typedef struct _PlumaChangecasePlugin PlumaChangecasePlugin; + +struct _PlumaChangecasePlugin +{ + PlumaPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _PlumaChangecasePluginClass PlumaChangecasePluginClass; + +struct _PlumaChangecasePluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_changecase_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_CHANGECASE_PLUGIN_H__ */ diff --git a/plugins/checkupdate/Makefile.am b/plugins/checkupdate/Makefile.am index 551b7ee..a49666c 100755 --- a/plugins/checkupdate/Makefile.am +++ b/plugins/checkupdate/Makefile.am @@ -1,10 +1,10 @@ -# gedit win32 updater +# pluma win32 updater -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(LIBSOUP_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) @@ -12,20 +12,20 @@ INCLUDES = \ plugin_LTLIBRARIES = libcheckupdate.la libcheckupdate_la_SOURCES = \ - gedit-check-update-plugin.h \ - gedit-check-update-plugin.c + pluma-check-update-plugin.h \ + pluma-check-update-plugin.c libcheckupdate_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libcheckupdate_la_LIBADD = $(GEDIT_LIBS) $(LIBSOUP_LIBS) +libcheckupdate_la_LIBADD = $(PLUMA_LIBS) $(LIBSOUP_LIBS) -plugin_in_files = checkupdate.gedit-plugin.desktop.in +plugin_in_files = checkupdate.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) schemasdir = $(MATECONF_SCHEMA_FILE_DIR) -schemas_in_files = gedit-check-update.schemas.in +schemas_in_files = pluma-check-update.schemas.in schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ diff --git a/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in b/plugins/checkupdate/checkupdate.pluma-plugin.desktop.in similarity index 57% rename from plugins/checkupdate/checkupdate.gedit-plugin.desktop.in rename to plugins/checkupdate/checkupdate.pluma-plugin.desktop.in index 4699b6a..9373ee4 100755 --- a/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in +++ b/plugins/checkupdate/checkupdate.pluma-plugin.desktop.in @@ -1,9 +1,9 @@ -[Gedit Plugin] +[Pluma Plugin] Module=checkupdate IAge=2 _Name=Check update -_Description=Check for latest version of gedit -Icon=gedit-plugin +_Description=Check for latest version of pluma +Icon=pluma-plugin Authors=Ignacio Casal Quinteiro Copyright=Copyright © 2009 Ignacio Casal Quinteiro -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/checkupdate/gedit-check-update-plugin.h b/plugins/checkupdate/gedit-check-update-plugin.h deleted file mode 100755 index 68dc7f9..0000000 --- a/plugins/checkupdate/gedit-check-update-plugin.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (C) 2009 - Ignacio Casal Quinteiro - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_CHECK_UPDATE_PLUGIN_H__ -#define __GEDIT_CHECK_UPDATE_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_CHECK_UPDATE_PLUGIN (gedit_check_update_plugin_get_type ()) -#define GEDIT_CHECK_UPDATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_CHECK_UPDATE_PLUGIN, GeditCheckUpdatePlugin)) -#define GEDIT_CHECK_UPDATE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_CHECK_UPDATE_PLUGIN, GeditCheckUpdatePluginClass)) -#define IS_GEDIT_CHECK_UPDATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_CHECK_UPDATE_PLUGIN)) -#define IS_GEDIT_CHECK_UPDATE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_CHECK_UPDATE_PLUGIN)) -#define GEDIT_CHECK_UPDATE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_CHECK_UPDATE_PLUGIN, GeditCheckUpdatePluginClass)) - -/* Private structure type */ -typedef struct _GeditCheckUpdatePluginPrivate GeditCheckUpdatePluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditCheckUpdatePlugin GeditCheckUpdatePlugin; - -struct _GeditCheckUpdatePlugin -{ - GeditPlugin parent_instance; - - /*< private >*/ - GeditCheckUpdatePluginPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditCheckUpdatePluginClass GeditCheckUpdatePluginClass; - -struct _GeditCheckUpdatePluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_check_update_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_CHECK_UPDATE_PLUGIN_H__ */ diff --git a/plugins/checkupdate/gedit-check-update-plugin.c b/plugins/checkupdate/pluma-check-update-plugin.c similarity index 81% rename from plugins/checkupdate/gedit-check-update-plugin.c rename to plugins/checkupdate/pluma-check-update-plugin.c index aa9f7a5..bf30181 100755 --- a/plugins/checkupdate/gedit-check-update-plugin.c +++ b/plugins/checkupdate/pluma-check-update-plugin.c @@ -20,11 +20,11 @@ #include #endif -#include "gedit-check-update-plugin.h" +#include "pluma-check-update-plugin.h" #include -#include -#include +#include +#include #include #include #include @@ -32,36 +32,36 @@ #include #if !GTK_CHECK_VERSION(2, 17, 1) -#include +#include #endif -#define MATECONF_KEY_BASE "/apps/gedit-2/plugins/checkupdate" +#define MATECONF_KEY_BASE "/apps/pluma-2/plugins/checkupdate" #define MATECONF_KEY_IGNORE_VERSION MATECONF_KEY_BASE "/ignore_version" -#define WINDOW_DATA_KEY "GeditCheckUpdatePluginWindowData" +#define WINDOW_DATA_KEY "PlumaCheckUpdatePluginWindowData" #define VERSION_PLACE "" #ifdef G_OS_WIN32 -#define GEDIT_URL "http://ftp.acc.umu.se/pub/mate/binaries/win32/gedit/" -#define FILE_REGEX "gedit\\-setup\\-[0-9]+\\.[0-9]+\\.[0-9]+(\\-[0-9]+)?\\.exe" +#define PLUMA_URL "http://ftp.acc.umu.se/pub/mate/binaries/win32/pluma/" +#define FILE_REGEX "pluma\\-setup\\-[0-9]+\\.[0-9]+\\.[0-9]+(\\-[0-9]+)?\\.exe" #else -#define GEDIT_URL "http://ftp.acc.umu.se/pub/mate/binaries/mac/gedit/" -#define FILE_REGEX "gedit\\-[0-9]+\\.[0-9]+\\.[0-9]+(\\-[0-9]+)?\\.dmg" +#define PLUMA_URL "http://ftp.acc.umu.se/pub/mate/binaries/mac/pluma/" +#define FILE_REGEX "pluma\\-[0-9]+\\.[0-9]+\\.[0-9]+(\\-[0-9]+)?\\.dmg" #endif #ifdef OS_OSX -#include "gedit/osx/gedit-osx.h" +#include "pluma/osx/pluma-osx.h" #endif -#define GEDIT_CHECK_UPDATE_PLUGIN_GET_PRIVATE(object) \ +#define PLUMA_CHECK_UPDATE_PLUGIN_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_CHECK_UPDATE_PLUGIN, \ - GeditCheckUpdatePluginPrivate)) + PLUMA_TYPE_CHECK_UPDATE_PLUGIN, \ + PlumaCheckUpdatePluginPrivate)) -GEDIT_PLUGIN_REGISTER_TYPE (GeditCheckUpdatePlugin, gedit_check_update_plugin) +PLUMA_PLUGIN_REGISTER_TYPE (PlumaCheckUpdatePlugin, pluma_check_update_plugin) -struct _GeditCheckUpdatePluginPrivate +struct _PlumaCheckUpdatePluginPrivate { SoupSession *session; @@ -70,7 +70,7 @@ struct _GeditCheckUpdatePluginPrivate typedef struct { - GeditCheckUpdatePlugin *plugin; + PlumaCheckUpdatePlugin *plugin; gchar *url; gchar *version; @@ -92,12 +92,12 @@ free_window_data (gpointer data) } static void -gedit_check_update_plugin_init (GeditCheckUpdatePlugin *plugin) +pluma_check_update_plugin_init (PlumaCheckUpdatePlugin *plugin) { - plugin->priv = GEDIT_CHECK_UPDATE_PLUGIN_GET_PRIVATE (plugin); + plugin->priv = PLUMA_CHECK_UPDATE_PLUGIN_GET_PRIVATE (plugin); - gedit_debug_message (DEBUG_PLUGINS, - "GeditCheckUpdatePlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, + "PlumaCheckUpdatePlugin initializing"); plugin->priv->session = soup_session_async_new (); @@ -110,9 +110,9 @@ gedit_check_update_plugin_init (GeditCheckUpdatePlugin *plugin) } static void -gedit_check_update_plugin_dispose (GObject *object) +pluma_check_update_plugin_dispose (GObject *object) { - GeditCheckUpdatePlugin *plugin = GEDIT_CHECK_UPDATE_PLUGIN (object); + PlumaCheckUpdatePlugin *plugin = PLUMA_CHECK_UPDATE_PLUGIN (object); if (plugin->priv->session != NULL) { @@ -129,19 +129,19 @@ gedit_check_update_plugin_dispose (GObject *object) plugin->priv->mateconf_client = NULL; } - gedit_debug_message (DEBUG_PLUGINS, - "GeditCheckUpdatePlugin disposing"); + pluma_debug_message (DEBUG_PLUGINS, + "PlumaCheckUpdatePlugin disposing"); - G_OBJECT_CLASS (gedit_check_update_plugin_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_check_update_plugin_parent_class)->dispose (object); } static void -gedit_check_update_plugin_finalize (GObject *object) +pluma_check_update_plugin_finalize (GObject *object) { - gedit_debug_message (DEBUG_PLUGINS, - "GeditCheckUpdatePlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, + "PlumaCheckUpdatePlugin finalizing"); - G_OBJECT_CLASS (gedit_check_update_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_check_update_plugin_parent_class)->finalize (object); } static void @@ -149,7 +149,7 @@ set_contents (GtkWidget *infobar, GtkWidget *contents) { #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_contents (GEDIT_MESSAGE_AREA (infobar), + pluma_message_area_set_contents (PLUMA_MESSAGE_AREA (infobar), contents); #else GtkWidget *content_area; @@ -217,7 +217,7 @@ set_message_area_text_and_icon (GtkWidget *message_area, static void on_response_cb (GtkWidget *infobar, gint response_id, - GeditWindow *window) + PlumaWindow *window) { if (response_id == GTK_RESPONSE_YES) { @@ -228,7 +228,7 @@ on_response_cb (GtkWidget *infobar, WINDOW_DATA_KEY); #ifdef OS_OSX - gedit_osx_show_url (data->url); + pluma_osx_show_url (data->url); #else gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (window)), data->url, @@ -280,24 +280,24 @@ on_response_cb (GtkWidget *infobar, } static GtkWidget * -create_infobar (GeditWindow *window, +create_infobar (PlumaWindow *window, const gchar *version) { GtkWidget *infobar; gchar *message; #if !GTK_CHECK_VERSION (2, 17, 1) - infobar = gedit_message_area_new (); + infobar = pluma_message_area_new (); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (infobar), + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (infobar), _("_Download"), GTK_STOCK_SAVE, GTK_RESPONSE_YES); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (infobar), + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (infobar), _("_Ignore Version"), GTK_STOCK_DISCARD, GTK_RESPONSE_NO); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (infobar), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (infobar), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); #else @@ -305,7 +305,7 @@ create_infobar (GeditWindow *window, infobar = gtk_info_bar_new (); - button = gedit_gtk_button_new_with_stock_icon (_("_Download"), + button = pluma_gtk_button_new_with_stock_icon (_("_Download"), GTK_STOCK_SAVE); gtk_widget_show (button); @@ -313,7 +313,7 @@ create_infobar (GeditWindow *window, button, GTK_RESPONSE_YES); - button = gedit_gtk_button_new_with_stock_icon (_("_Ignore Version"), + button = pluma_gtk_button_new_with_stock_icon (_("_Ignore Version"), GTK_STOCK_DISCARD); gtk_widget_show (button); @@ -329,11 +329,11 @@ create_infobar (GeditWindow *window, GTK_MESSAGE_INFO); #endif - message = g_strdup_printf ("%s (%s)", _("There is a new version of gedit"), version); + message = g_strdup_printf ("%s (%s)", _("There is a new version of pluma"), version); set_message_area_text_and_icon (infobar, "gtk-dialog-info", message, - _("You can download the new version of gedit" + _("You can download the new version of pluma" " by clicking on the download button or" " ignore that version and wait for a new one")); @@ -465,7 +465,7 @@ parse_file_version (const gchar *file) } static gchar * -get_ignore_version (GeditCheckUpdatePlugin *plugin) +get_ignore_version (PlumaCheckUpdatePlugin *plugin) { return mateconf_client_get_string (plugin->priv->mateconf_client, MATECONF_KEY_IGNORE_VERSION, @@ -475,7 +475,7 @@ get_ignore_version (GeditCheckUpdatePlugin *plugin) static void parse_page_file (SoupSession *session, SoupMessage *msg, - GeditWindow *window) + PlumaWindow *window) { if (msg->status_code == SOUP_STATUS_OK) { @@ -585,7 +585,7 @@ get_file_page_version (const gchar *text, g_match_info_free (match_info); g_regex_unref (regex); - if ((GEDIT_MINOR_VERSION % 2) == 0) + if ((PLUMA_MINOR_VERSION % 2) == 0) { g_free (unstable); @@ -612,7 +612,7 @@ get_file_page_version (const gchar *text, static void parse_page_version (SoupSession *session, SoupMessage *msg, - GeditWindow *window) + PlumaWindow *window) { if (msg->status_code == SOUP_STATUS_OK) { @@ -625,7 +625,7 @@ parse_page_version (SoupSession *session, version = get_file_page_version (msg->response_body->data, VERSION_PLACE); - data->url = g_strconcat (GEDIT_URL, version, "/", NULL); + data->url = g_strconcat (PLUMA_URL, version, "/", NULL); g_free (version); msg2 = soup_message_new ("GET", data->url); @@ -642,16 +642,16 @@ parse_page_version (SoupSession *session, } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { SoupMessage *msg; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_slice_new (WindowData); - data->plugin = GEDIT_CHECK_UPDATE_PLUGIN (plugin); + data->plugin = PLUMA_CHECK_UPDATE_PLUGIN (plugin); data->url = NULL; data->version = NULL; @@ -660,21 +660,21 @@ impl_activate (GeditPlugin *plugin, data, free_window_data); - msg = soup_message_new ("GET", GEDIT_URL); + msg = soup_message_new ("GET", PLUMA_URL); - soup_session_queue_message (GEDIT_CHECK_UPDATE_PLUGIN (plugin)->priv->session, msg, + soup_session_queue_message (PLUMA_CHECK_UPDATE_PLUGIN (plugin)->priv->session, msg, (SoupSessionCallback)parse_page_version, window); } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - soup_session_abort (GEDIT_CHECK_UPDATE_PLUGIN (plugin)->priv->session); + soup_session_abort (PLUMA_CHECK_UPDATE_PLUGIN (plugin)->priv->session); g_object_set_data (G_OBJECT (window), WINDOW_DATA_KEY, @@ -682,15 +682,15 @@ impl_deactivate (GeditPlugin *plugin, } static void -gedit_check_update_plugin_class_init (GeditCheckUpdatePluginClass *klass) +pluma_check_update_plugin_class_init (PlumaCheckUpdatePluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - g_type_class_add_private (object_class, sizeof (GeditCheckUpdatePluginPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaCheckUpdatePluginPrivate)); - object_class->finalize = gedit_check_update_plugin_finalize; - object_class->dispose = gedit_check_update_plugin_dispose; + object_class->finalize = pluma_check_update_plugin_finalize; + object_class->dispose = pluma_check_update_plugin_dispose; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; diff --git a/plugins/checkupdate/pluma-check-update-plugin.h b/plugins/checkupdate/pluma-check-update-plugin.h new file mode 100755 index 0000000..6742d2d --- /dev/null +++ b/plugins/checkupdate/pluma-check-update-plugin.h @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2009 - Ignacio Casal Quinteiro + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_CHECK_UPDATE_PLUGIN_H__ +#define __PLUMA_CHECK_UPDATE_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_CHECK_UPDATE_PLUGIN (pluma_check_update_plugin_get_type ()) +#define PLUMA_CHECK_UPDATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_CHECK_UPDATE_PLUGIN, PlumaCheckUpdatePlugin)) +#define PLUMA_CHECK_UPDATE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_CHECK_UPDATE_PLUGIN, PlumaCheckUpdatePluginClass)) +#define IS_PLUMA_CHECK_UPDATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_CHECK_UPDATE_PLUGIN)) +#define IS_PLUMA_CHECK_UPDATE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_CHECK_UPDATE_PLUGIN)) +#define PLUMA_CHECK_UPDATE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_CHECK_UPDATE_PLUGIN, PlumaCheckUpdatePluginClass)) + +/* Private structure type */ +typedef struct _PlumaCheckUpdatePluginPrivate PlumaCheckUpdatePluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaCheckUpdatePlugin PlumaCheckUpdatePlugin; + +struct _PlumaCheckUpdatePlugin +{ + PlumaPlugin parent_instance; + + /*< private >*/ + PlumaCheckUpdatePluginPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaCheckUpdatePluginClass PlumaCheckUpdatePluginClass; + +struct _PlumaCheckUpdatePluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_check_update_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_CHECK_UPDATE_PLUGIN_H__ */ diff --git a/plugins/checkupdate/gedit-check-update.schemas.in b/plugins/checkupdate/pluma-check-update.schemas.in similarity index 62% rename from plugins/checkupdate/gedit-check-update.schemas.in rename to plugins/checkupdate/pluma-check-update.schemas.in index 67bc892..5d4d009 100755 --- a/plugins/checkupdate/gedit-check-update.schemas.in +++ b/plugins/checkupdate/pluma-check-update.schemas.in @@ -1,9 +1,9 @@ - /schemas/apps/gedit-2/plugins/checkupdate/ignore_version - /apps/gedit-2/plugins/checkupdate/ignore_version - gedit + /schemas/apps/pluma-2/plugins/checkupdate/ignore_version + /apps/pluma-2/plugins/checkupdate/ignore_version + pluma string Version to ignore until the next version is released diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am index edf2909..27290fc 100755 --- a/plugins/docinfo/Makefile.am +++ b/plugins/docinfo/Makefile.am @@ -1,29 +1,29 @@ # docinfo plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) plugin_LTLIBRARIES = libdocinfo.la libdocinfo_la_SOURCES = \ - gedit-docinfo-plugin.h \ - gedit-docinfo-plugin.c + pluma-docinfo-plugin.h \ + pluma-docinfo-plugin.c libdocinfo_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libdocinfo_la_LIBADD = $(GEDIT_LIBS) +libdocinfo_la_LIBADD = $(PLUMA_LIBS) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/docinfo +uidir = $(PLUMA_PLUGINS_DATA_DIR)/docinfo ui_DATA = docinfo.ui -plugin_in_files = docinfo.gedit-plugin.desktop.in +plugin_in_files = docinfo.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(ui_DATA) $(plugin_in_files) diff --git a/plugins/docinfo/docinfo.gedit-plugin.desktop.in b/plugins/docinfo/docinfo.pluma-plugin.desktop.in similarity index 95% rename from plugins/docinfo/docinfo.gedit-plugin.desktop.in rename to plugins/docinfo/docinfo.pluma-plugin.desktop.in index 77f2793..990f2cd 100755 --- a/plugins/docinfo/docinfo.gedit-plugin.desktop.in +++ b/plugins/docinfo/docinfo.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Module=docinfo IAge=2 _Name=Document Statistics diff --git a/plugins/docinfo/gedit-docinfo-plugin.h b/plugins/docinfo/gedit-docinfo-plugin.h deleted file mode 100755 index 36d6bdd..0000000 --- a/plugins/docinfo/gedit-docinfo-plugin.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * gedit-docinfo-plugin.h - * - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -#ifndef __GEDIT_DOCINFO_PLUGIN_H__ -#define __GEDIT_DOCINFO_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_DOCINFO_PLUGIN (gedit_docinfo_plugin_get_type ()) -#define GEDIT_DOCINFO_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_DOCINFO_PLUGIN, GeditDocInfoPlugin)) -#define GEDIT_DOCINFO_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_DOCINFO_PLUGIN, GeditDocInfoPluginClass)) -#define GEDIT_IS_DOCINFO_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_DOCINFO_PLUGIN)) -#define GEDIT_IS_DOCINFO_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_DOCINFO_PLUGIN)) -#define GEDIT_DOCINFO_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_DOCINFO_PLUGIN, GeditDocInfoPluginClass)) - -/* Private structure type */ -typedef struct _GeditDocInfoPluginPrivate GeditDocInfoPluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditDocInfoPlugin GeditDocInfoPlugin; - -struct _GeditDocInfoPlugin -{ - GeditPlugin parent_instance; -}; - -/* - * Class definition - */ -typedef struct _GeditDocInfoPluginClass GeditDocInfoPluginClass; - -struct _GeditDocInfoPluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_docinfo_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_DOCINFO_PLUGIN_H__ */ diff --git a/plugins/docinfo/gedit-docinfo-plugin.c b/plugins/docinfo/pluma-docinfo-plugin.c similarity index 78% rename from plugins/docinfo/gedit-docinfo-plugin.c rename to plugins/docinfo/pluma-docinfo-plugin.c index a143a5a..10a5af8 100755 --- a/plugins/docinfo/gedit-docinfo-plugin.c +++ b/plugins/docinfo/pluma-docinfo-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-docinfo-plugin.c + * pluma-docinfo-plugin.c * * Copyright (C) 2002-2005 Paolo Maggi * @@ -24,7 +24,7 @@ #include #endif -#include "gedit-docinfo-plugin.h" +#include "pluma-docinfo-plugin.h" #include /* For strlen (...) */ @@ -32,13 +32,13 @@ #include #include -#include -#include +#include +#include -#define WINDOW_DATA_KEY "GeditDocInfoWindowData" +#define WINDOW_DATA_KEY "PlumaDocInfoWindowData" #define MENU_PATH "/MenuBar/ToolsMenu/ToolsOps_2" -GEDIT_PLUGIN_REGISTER_TYPE(GeditDocInfoPlugin, gedit_docinfo_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaDocInfoPlugin, pluma_docinfo_plugin) typedef struct { @@ -59,7 +59,7 @@ typedef struct typedef struct { - GeditPlugin *plugin; + PlumaPlugin *plugin; GtkActionGroup *ui_action_group; guint ui_id; @@ -69,13 +69,13 @@ typedef struct static void docinfo_dialog_response_cb (GtkDialog *widget, gint res_id, - GeditWindow *window); + PlumaWindow *window); static void docinfo_dialog_destroy_cb (GtkObject *obj, WindowData *data) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); if (data != NULL) { @@ -85,7 +85,7 @@ docinfo_dialog_destroy_cb (GtkObject *obj, } static DocInfoDialog * -get_docinfo_dialog (GeditWindow *window, +get_docinfo_dialog (PlumaWindow *window, WindowData *data) { DocInfoDialog *dialog; @@ -95,13 +95,13 @@ get_docinfo_dialog (GeditWindow *window, GtkWidget *error_widget; gboolean ret; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); dialog = g_new (DocInfoDialog, 1); - data_dir = gedit_plugin_get_data_dir (data->plugin); + data_dir = pluma_plugin_get_data_dir (data->plugin); ui_file = g_build_filename (data_dir, "docinfo.ui", NULL); - ret = gedit_utils_get_ui_objects (ui_file, + ret = pluma_utils_get_ui_objects (ui_file, NULL, &error_widget, "dialog", &dialog->dialog, @@ -128,7 +128,7 @@ get_docinfo_dialog (GeditWindow *window, const gchar *err_message; err_message = gtk_label_get_label (GTK_LABEL (error_widget)); - gedit_warning (GTK_WINDOW (window), "%s", err_message); + pluma_warning (GTK_WINDOW (window), "%s", err_message); g_free (dialog); gtk_widget_destroy (error_widget); @@ -154,7 +154,7 @@ get_docinfo_dialog (GeditWindow *window, } static void -calculate_info (GeditDocument *doc, +calculate_info (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end, gint *chars, @@ -164,7 +164,7 @@ calculate_info (GeditDocument *doc, { gchar *text; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); text = gtk_text_buffer_get_slice (GTK_TEXT_BUFFER (doc), start, @@ -209,7 +209,7 @@ calculate_info (GeditDocument *doc, } static void -docinfo_real (GeditDocument *doc, +docinfo_real (PlumaDocument *doc, DocInfoDialog *dialog) { GtkTextIter start, end; @@ -221,7 +221,7 @@ docinfo_real (GeditDocument *doc, gchar *tmp_str; gchar *doc_name; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (doc), &start, @@ -236,13 +236,13 @@ docinfo_real (GeditDocument *doc, if (chars == 0) lines = 0; - gedit_debug_message (DEBUG_PLUGINS, "Chars: %d", chars); - gedit_debug_message (DEBUG_PLUGINS, "Lines: %d", lines); - gedit_debug_message (DEBUG_PLUGINS, "Words: %d", words); - gedit_debug_message (DEBUG_PLUGINS, "Chars non-space: %d", chars - white_chars); - gedit_debug_message (DEBUG_PLUGINS, "Bytes: %d", bytes); + pluma_debug_message (DEBUG_PLUGINS, "Chars: %d", chars); + pluma_debug_message (DEBUG_PLUGINS, "Lines: %d", lines); + pluma_debug_message (DEBUG_PLUGINS, "Words: %d", words); + pluma_debug_message (DEBUG_PLUGINS, "Chars non-space: %d", chars - white_chars); + pluma_debug_message (DEBUG_PLUGINS, "Bytes: %d", bytes); - doc_name = gedit_document_get_short_name_for_display (doc); + doc_name = pluma_document_get_short_name_for_display (doc); tmp_str = g_strdup_printf ("%s", doc_name); gtk_label_set_markup (GTK_LABEL (dialog->file_name_label), tmp_str); g_free (doc_name); @@ -270,7 +270,7 @@ docinfo_real (GeditDocument *doc, } static void -selectioninfo_real (GeditDocument *doc, +selectioninfo_real (PlumaDocument *doc, DocInfoDialog *dialog) { gboolean sel; @@ -282,7 +282,7 @@ selectioninfo_real (GeditDocument *doc, gint bytes = 0; gchar *tmp_str; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); sel = gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc), &start, @@ -296,11 +296,11 @@ selectioninfo_real (GeditDocument *doc, &start, &end, &chars, &words, &white_chars, &bytes); - gedit_debug_message (DEBUG_PLUGINS, "Selected chars: %d", chars); - gedit_debug_message (DEBUG_PLUGINS, "Selected lines: %d", lines); - gedit_debug_message (DEBUG_PLUGINS, "Selected words: %d", words); - gedit_debug_message (DEBUG_PLUGINS, "Selected chars non-space: %d", chars - white_chars); - gedit_debug_message (DEBUG_PLUGINS, "Selected bytes: %d", bytes); + pluma_debug_message (DEBUG_PLUGINS, "Selected chars: %d", chars); + pluma_debug_message (DEBUG_PLUGINS, "Selected lines: %d", lines); + pluma_debug_message (DEBUG_PLUGINS, "Selected words: %d", words); + pluma_debug_message (DEBUG_PLUGINS, "Selected chars non-space: %d", chars - white_chars); + pluma_debug_message (DEBUG_PLUGINS, "Selected bytes: %d", bytes); gtk_widget_set_sensitive (dialog->selection_vbox, TRUE); } @@ -308,7 +308,7 @@ selectioninfo_real (GeditDocument *doc, { gtk_widget_set_sensitive (dialog->selection_vbox, FALSE); - gedit_debug_message (DEBUG_PLUGINS, "Selection empty"); + pluma_debug_message (DEBUG_PLUGINS, "Selection empty"); } if (chars == 0) @@ -337,17 +337,17 @@ selectioninfo_real (GeditDocument *doc, static void docinfo_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); g_return_if_fail (doc != NULL); if (data->dialog != NULL) @@ -376,11 +376,11 @@ docinfo_cb (GtkAction *action, static void docinfo_dialog_response_cb (GtkDialog *widget, gint res_id, - GeditWindow *window) + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -389,7 +389,7 @@ docinfo_dialog_response_cb (GtkDialog *widget, { case GTK_RESPONSE_CLOSE: { - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CLOSE"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CLOSE"); gtk_widget_destroy (data->dialog->dialog); break; @@ -397,11 +397,11 @@ docinfo_dialog_response_cb (GtkDialog *widget, case GTK_RESPONSE_OK: { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); g_return_if_fail (doc != NULL); docinfo_real (doc, @@ -430,7 +430,7 @@ free_window_data (WindowData *data) { g_return_if_fail (data != NULL); - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_object_unref (data->plugin); @@ -445,14 +445,14 @@ free_window_data (WindowData *data) } static void -update_ui_real (GeditWindow *window, +update_ui_real (PlumaWindow *window, WindowData *data) { - GeditView *view; + PlumaView *view; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = gedit_window_get_active_view (window); + view = pluma_window_get_active_view (window); gtk_action_group_set_sensitive (data->ui_action_group, (view != NULL)); @@ -466,33 +466,33 @@ update_ui_real (GeditWindow *window, } static void -gedit_docinfo_plugin_init (GeditDocInfoPlugin *plugin) +pluma_docinfo_plugin_init (PlumaDocInfoPlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditDocInfoPlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaDocInfoPlugin initializing"); } static void -gedit_docinfo_plugin_finalize (GObject *object) +pluma_docinfo_plugin_finalize (GObject *object) { - gedit_debug_message (DEBUG_PLUGINS, "GeditDocInfoPlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaDocInfoPlugin finalizing"); - G_OBJECT_CLASS (gedit_docinfo_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_docinfo_plugin_parent_class)->finalize (object); } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_new (WindowData, 1); data->plugin = g_object_ref (plugin); data->dialog = NULL; - data->ui_action_group = gtk_action_group_new ("GeditDocInfoPluginActions"); + data->ui_action_group = gtk_action_group_new ("PlumaDocInfoPluginActions"); gtk_action_group_set_translation_domain (data->ui_action_group, GETTEXT_PACKAGE); @@ -501,7 +501,7 @@ impl_activate (GeditPlugin *plugin, G_N_ELEMENTS (action_entries), window); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); gtk_ui_manager_insert_action_group (manager, data->ui_action_group, -1); @@ -526,15 +526,15 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -551,12 +551,12 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -567,12 +567,12 @@ impl_update_ui (GeditPlugin *plugin, } static void -gedit_docinfo_plugin_class_init (GeditDocInfoPluginClass *klass) +pluma_docinfo_plugin_class_init (PlumaDocInfoPluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_docinfo_plugin_finalize; + object_class->finalize = pluma_docinfo_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; diff --git a/plugins/docinfo/pluma-docinfo-plugin.h b/plugins/docinfo/pluma-docinfo-plugin.h new file mode 100755 index 0000000..41252ff --- /dev/null +++ b/plugins/docinfo/pluma-docinfo-plugin.h @@ -0,0 +1,75 @@ +/* + * pluma-docinfo-plugin.h + * + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#ifndef __PLUMA_DOCINFO_PLUGIN_H__ +#define __PLUMA_DOCINFO_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_DOCINFO_PLUGIN (pluma_docinfo_plugin_get_type ()) +#define PLUMA_DOCINFO_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_DOCINFO_PLUGIN, PlumaDocInfoPlugin)) +#define PLUMA_DOCINFO_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_DOCINFO_PLUGIN, PlumaDocInfoPluginClass)) +#define PLUMA_IS_DOCINFO_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_DOCINFO_PLUGIN)) +#define PLUMA_IS_DOCINFO_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_DOCINFO_PLUGIN)) +#define PLUMA_DOCINFO_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_DOCINFO_PLUGIN, PlumaDocInfoPluginClass)) + +/* Private structure type */ +typedef struct _PlumaDocInfoPluginPrivate PlumaDocInfoPluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaDocInfoPlugin PlumaDocInfoPlugin; + +struct _PlumaDocInfoPlugin +{ + PlumaPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _PlumaDocInfoPluginClass PlumaDocInfoPluginClass; + +struct _PlumaDocInfoPluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_docinfo_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_DOCINFO_PLUGIN_H__ */ diff --git a/plugins/externaltools/Makefile.am b/plugins/externaltools/Makefile.am index f529640..bec58b6 100755 --- a/plugins/externaltools/Makefile.am +++ b/plugins/externaltools/Makefile.am @@ -1,11 +1,11 @@ # External Tools plugin SUBDIRS = tools data scripts -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -plugin_in_files = externaltools.gedit-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +plugin_in_files = externaltools.pluma-plugin.desktop.in +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(plugin_in_files) diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am index ae3a1c6..abac77c 100755 --- a/plugins/externaltools/data/Makefile.am +++ b/plugins/externaltools/data/Makefile.am @@ -1,4 +1,4 @@ -TOOL_MERGE=$(top_srcdir)/plugins/externaltools/scripts/gedit-tool-merge.pl +TOOL_MERGE=$(top_srcdir)/plugins/externaltools/scripts/pluma-tool-merge.pl tools_in_files = \ build.tool.in \ @@ -29,7 +29,7 @@ desktop_in_files = $(install_tools_in_files:.tool.in=.desktop.in) desktop_files = $(install_tools_in_files:.tool.in=.desktop) tools_SCRIPTS = $(install_tools_in_files:.tool.in=) -toolsdir = $(GEDIT_PLUGINS_DATA_DIR)/externaltools/tools +toolsdir = $(PLUMA_PLUGINS_DATA_DIR)/externaltools/tools all_tools_in_files = \ $(tools_in_files) \ diff --git a/plugins/externaltools/data/build.desktop.in b/plugins/externaltools/data/build.desktop.in index 13767ee..c2a4987 100755 --- a/plugins/externaltools/data/build.desktop.in +++ b/plugins/externaltools/data/build.desktop.in @@ -1,4 +1,4 @@ -[Gedit Tool] +[Pluma Tool] _Name=Build _Comment=Run "make" in the document directory Input=nothing diff --git a/plugins/externaltools/data/build.tool.in b/plugins/externaltools/data/build.tool.in index 0b81d5b..d4cd7f4 100755 --- a/plugins/externaltools/data/build.tool.in +++ b/plugins/externaltools/data/build.tool.in @@ -1,7 +1,7 @@ #!/bin/sh EHOME=`echo $HOME | sed "s/#/\#/"` -DIR=$GEDIT_CURRENT_DOCUMENT_DIR +DIR=$PLUMA_CURRENT_DOCUMENT_DIR while test "$DIR" != "/"; do for m in GNUmakefile makefile Makefile; do if [ -f "${DIR}/${m}" ]; then diff --git a/plugins/externaltools/data/open-terminal-here-osx.desktop.in b/plugins/externaltools/data/open-terminal-here-osx.desktop.in index 801b003..45587ef 100755 --- a/plugins/externaltools/data/open-terminal-here-osx.desktop.in +++ b/plugins/externaltools/data/open-terminal-here-osx.desktop.in @@ -1,4 +1,4 @@ -[Gedit Tool] +[Pluma Tool] _Name=Open terminal here _Comment=Open a terminal in the document location Input=nothing diff --git a/plugins/externaltools/data/open-terminal-here-osx.tool.in b/plugins/externaltools/data/open-terminal-here-osx.tool.in index c336006..86d842d 100755 --- a/plugins/externaltools/data/open-terminal-here-osx.tool.in +++ b/plugins/externaltools/data/open-terminal-here-osx.tool.in @@ -1,6 +1,6 @@ #!/usr/bin/osascript -set the_path to system attribute "GEDIT_CURRENT_DOCUMENT_DIR" +set the_path to system attribute "PLUMA_CURRENT_DOCUMENT_DIR" set cmd to "cd " & quoted form of the_path tell application "System Events" to set terminalIsRunning to exists application process "Terminal" diff --git a/plugins/externaltools/data/open-terminal-here.desktop.in b/plugins/externaltools/data/open-terminal-here.desktop.in index 801b003..45587ef 100755 --- a/plugins/externaltools/data/open-terminal-here.desktop.in +++ b/plugins/externaltools/data/open-terminal-here.desktop.in @@ -1,4 +1,4 @@ -[Gedit Tool] +[Pluma Tool] _Name=Open terminal here _Comment=Open a terminal in the document location Input=nothing diff --git a/plugins/externaltools/data/open-terminal-here.tool.in b/plugins/externaltools/data/open-terminal-here.tool.in index d2dda8d..af35792 100755 --- a/plugins/externaltools/data/open-terminal-here.tool.in +++ b/plugins/externaltools/data/open-terminal-here.tool.in @@ -1,4 +1,4 @@ #!/bin/sh #TODO: use "mateconftool-2 -g /desktop/mate/applications/terminal/exec" -mate-terminal --working-directory=$GEDIT_CURRENT_DOCUMENT_DIR & +mate-terminal --working-directory=$PLUMA_CURRENT_DOCUMENT_DIR & diff --git a/plugins/externaltools/data/remove-trailing-spaces.desktop.in b/plugins/externaltools/data/remove-trailing-spaces.desktop.in index 99b8b70..70bd8fd 100755 --- a/plugins/externaltools/data/remove-trailing-spaces.desktop.in +++ b/plugins/externaltools/data/remove-trailing-spaces.desktop.in @@ -1,4 +1,4 @@ -[Gedit Tool] +[Pluma Tool] _Name=Remove trailing spaces _Comment=Remove useless trailing spaces in your file Input=document diff --git a/plugins/externaltools/data/run-command.desktop.in b/plugins/externaltools/data/run-command.desktop.in index b58294b..4e15e67 100755 --- a/plugins/externaltools/data/run-command.desktop.in +++ b/plugins/externaltools/data/run-command.desktop.in @@ -1,4 +1,4 @@ -[Gedit Tool] +[Pluma Tool] _Name=Run command _Comment=Execute a custom command and put its output in a new document Input=nothing diff --git a/plugins/externaltools/data/run-command.tool.in b/plugins/externaltools/data/run-command.tool.in index ee611bb..6f08a62 100755 --- a/plugins/externaltools/data/run-command.tool.in +++ b/plugins/externaltools/data/run-command.tool.in @@ -1,4 +1,4 @@ #!/bin/sh #TODO: use "mateconftool-2 -g /desktop/mate/applications/terminal/exec" -exec `matedialog --entry --title="Run command - gedit" --text="Command to run"` +exec `matedialog --entry --title="Run command - pluma" --text="Command to run"` diff --git a/plugins/externaltools/externaltools.gedit-plugin.desktop.in b/plugins/externaltools/externaltools.pluma-plugin.desktop.in similarity index 82% rename from plugins/externaltools/externaltools.gedit-plugin.desktop.in rename to plugins/externaltools/externaltools.pluma-plugin.desktop.in index 5212c49..fcd15a9 100755 --- a/plugins/externaltools/externaltools.gedit-plugin.desktop.in +++ b/plugins/externaltools/externaltools.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Loader=python Module=externaltools IAge=2 @@ -6,4 +6,4 @@ _Name=External Tools _Description=Execute external commands and shell scripts. Authors=Steve Frécinaux Copyright=Copyright © 2005 Steve Frécinaux -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/externaltools/scripts/Makefile.am b/plugins/externaltools/scripts/Makefile.am index 4ff8060..237d5e5 100755 --- a/plugins/externaltools/scripts/Makefile.am +++ b/plugins/externaltools/scripts/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = gedit-tool-merge.pl +EXTRA_DIST = pluma-tool-merge.pl -include $(top_srcdir)/git.mk diff --git a/plugins/externaltools/scripts/gedit-tool-merge.pl b/plugins/externaltools/scripts/pluma-tool-merge.pl similarity index 90% rename from plugins/externaltools/scripts/gedit-tool-merge.pl rename to plugins/externaltools/scripts/pluma-tool-merge.pl index 780d95d..37b752e 100755 --- a/plugins/externaltools/scripts/gedit-tool-merge.pl +++ b/plugins/externaltools/scripts/pluma-tool-merge.pl @@ -1,22 +1,22 @@ #!/usr/bin/perl -# gedit-tool-merge.pl -# This file is part of gedit +# pluma-tool-merge.pl +# This file is part of pluma # # Copyright (C) 2006 - Steve Frécinaux # -# gedit is free software; you can redistribute it and/or modify +# pluma 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. # -# gedit is distributed in the hope that it will be useful, +# pluma 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 gedit; if not, write to the Free Software +# along with pluma; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, # Boston, MA 02110-1301 USA diff --git a/plugins/externaltools/tools/Makefile.am b/plugins/externaltools/tools/Makefile.am index 5edcab5..d90eb4a 100755 --- a/plugins/externaltools/tools/Makefile.am +++ b/plugins/externaltools/tools/Makefile.am @@ -1,6 +1,6 @@ # Python snippets plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR)/externaltools +plugindir = $(PLUMA_PLUGINS_LIBS_DIR)/externaltools plugin_PYTHON = \ __init__.py \ capture.py \ @@ -11,7 +11,7 @@ plugin_PYTHON = \ filelookup.py \ linkparsing.py -uidir = $(GEDIT_PLUGINS_DATA_DIR)/externaltools/ui +uidir = $(PLUMA_PLUGINS_DATA_DIR)/externaltools/ui ui_DATA = tools.ui \ outputpanel.ui diff --git a/plugins/externaltools/tools/__init__.py b/plugins/externaltools/tools/__init__.py index a46aef8..39522ed 100755 --- a/plugins/externaltools/tools/__init__.py +++ b/plugins/externaltools/tools/__init__.py @@ -1,5 +1,5 @@ # -*- coding: UTF-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2005-2006 Steve Frécinaux # # This program is free software; you can redistribute it and/or modify @@ -19,7 +19,7 @@ __all__ = ('ExternalToolsPlugin', 'ExternalToolsWindowHelper', 'Manager', 'OutputPanel', 'Capture', 'UniqueById') -import gedit +import pluma import gtk from manager import Manager from library import ToolLibrary @@ -166,7 +166,7 @@ class ExternalToolsWindowHelper(object): manager = window.get_ui_manager() self._action_group = gtk.ActionGroup('ExternalToolsPluginActions') - self._action_group.set_translation_domain('gedit') + self._action_group.set_translation_domain('pluma') self._action_group.add_actions([('ExternalToolManager', None, _('Manage _External Tools...'), @@ -229,7 +229,7 @@ class ExternalToolsWindowHelper(object): def update_manager(self, tool): self._plugin.update_manager(tool) -class ExternalToolsPlugin(gedit.Plugin): +class ExternalToolsPlugin(pluma.Plugin): WINDOW_DATA_KEY = "ExternalToolsPluginWindowData" def __init__(self): @@ -263,7 +263,7 @@ class ExternalToolsPlugin(gedit.Plugin): self._manager.dialog.connect('destroy', self.on_manager_destroy) - window = gedit.app_get_default().get_active_window() + window = pluma.app_get_default().get_active_window() self._manager.run(window) return self._manager.dialog diff --git a/plugins/externaltools/tools/capture.py b/plugins/externaltools/tools/capture.py index e47862c..2f06576 100755 --- a/plugins/externaltools/tools/capture.py +++ b/plugins/externaltools/tools/capture.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2005-2006 Steve Frécinaux # # This program is free software; you can redistribute it and/or modify diff --git a/plugins/externaltools/tools/filelookup.py b/plugins/externaltools/tools/filelookup.py index 229823b..ce4961f 100755 --- a/plugins/externaltools/tools/filelookup.py +++ b/plugins/externaltools/tools/filelookup.py @@ -18,7 +18,7 @@ import os import gio -import gedit +import pluma class FileLookup: """ @@ -110,7 +110,7 @@ class OpenDocumentRelPathFileLookupProvider(FileLookupProvider): if path.startswith('/'): return None - for doc in gedit.app_get_default().get_documents(): + for doc in pluma.app_get_default().get_documents(): if doc.is_local(): location = doc.get_location() if location: @@ -135,7 +135,7 @@ class OpenDocumentFileLookupProvider(FileLookupProvider): if path.startswith('/'): return None - for doc in gedit.app_get_default().get_documents(): + for doc in pluma.app_get_default().get_documents(): if doc.is_local(): location = doc.get_location() if location and location.get_uri().endswith(path): diff --git a/plugins/externaltools/tools/functions.py b/plugins/externaltools/tools/functions.py index 0d2bfdb..b4b666f 100755 --- a/plugins/externaltools/tools/functions.py +++ b/plugins/externaltools/tools/functions.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2005-2006 Steve Frécinaux # # This program is free software; you can redistribute it and/or modify @@ -20,7 +20,7 @@ import os import gtk from gtk import gdk import gio -import gedit +import pluma #import gtksourceview from outputpanel import OutputPanel from capture import * @@ -53,7 +53,7 @@ def run_external_tool(window, node): capture = Capture(node.command, cwd) capture.env = os.environ.copy() - capture.set_env(GEDIT_CWD = cwd) + capture.set_env(PLUMA_CWD = cwd) view = window.get_active_view() if view is not None: @@ -63,7 +63,7 @@ def run_external_tool(window, node): # Current line number piter = document.get_iter_at_mark(document.get_insert()) - capture.set_env(GEDIT_CURRENT_LINE_NUMBER=str(piter.get_line() + 1)) + capture.set_env(PLUMA_CURRENT_LINE_NUMBER=str(piter.get_line() + 1)) # Current line text piter.set_line_offset(0) @@ -72,42 +72,42 @@ def run_external_tool(window, node): if not end.ends_line(): end.forward_to_line_end() - capture.set_env(GEDIT_CURRENT_LINE=piter.get_text(end)) + capture.set_env(PLUMA_CURRENT_LINE=piter.get_text(end)) # Selected text (only if input is not selection) if node.input != 'selection' and node.input != 'selection-document': bounds = document.get_selection_bounds() if bounds: - capture.set_env(GEDIT_SELECTED_TEXT=bounds[0].get_text(bounds[1])) + capture.set_env(PLUMA_SELECTED_TEXT=bounds[0].get_text(bounds[1])) bounds = current_word(document) - capture.set_env(GEDIT_CURRENT_WORD=bounds[0].get_text(bounds[1])) + capture.set_env(PLUMA_CURRENT_WORD=bounds[0].get_text(bounds[1])) - capture.set_env(GEDIT_CURRENT_DOCUMENT_TYPE=document.get_mime_type()) + capture.set_env(PLUMA_CURRENT_DOCUMENT_TYPE=document.get_mime_type()) if uri is not None: gfile = gio.File(uri) scheme = gfile.get_uri_scheme() name = os.path.basename(uri) - capture.set_env(GEDIT_CURRENT_DOCUMENT_URI = uri, - GEDIT_CURRENT_DOCUMENT_NAME = name, - GEDIT_CURRENT_DOCUMENT_SCHEME = scheme) - if gedit.utils.uri_has_file_scheme(uri): + capture.set_env(PLUMA_CURRENT_DOCUMENT_URI = uri, + PLUMA_CURRENT_DOCUMENT_NAME = name, + PLUMA_CURRENT_DOCUMENT_SCHEME = scheme) + if pluma.utils.uri_has_file_scheme(uri): path = gfile.get_path() cwd = os.path.dirname(path) capture.set_cwd(cwd) - capture.set_env(GEDIT_CURRENT_DOCUMENT_PATH = path, - GEDIT_CURRENT_DOCUMENT_DIR = cwd) + capture.set_env(PLUMA_CURRENT_DOCUMENT_PATH = path, + PLUMA_CURRENT_DOCUMENT_DIR = cwd) documents_uri = [doc.get_uri() for doc in window.get_documents() if doc.get_uri() is not None] documents_path = [gio.File(uri).get_path() for uri in documents_uri - if gedit.utils.uri_has_file_scheme(uri)] - capture.set_env(GEDIT_DOCUMENTS_URI = ' '.join(documents_uri), - GEDIT_DOCUMENTS_PATH = ' '.join(documents_path)) + if pluma.utils.uri_has_file_scheme(uri)] + capture.set_env(PLUMA_DOCUMENTS_URI = ' '.join(documents_uri), + PLUMA_DOCUMENTS_PATH = ' '.join(documents_path)) flags = capture.CAPTURE_BOTH @@ -224,7 +224,7 @@ class MultipleDocumentsSaver: for doc in docs: signals[doc] = doc.connect('saving', self.on_document_saving) - gedit.commands.save_document(window, doc) + pluma.commands.save_document(window, doc) doc.disconnect(signals[doc]) def on_document_saving(self, doc, size, total_size): @@ -277,7 +277,7 @@ def capture_end_execute_panel(capture, exit_code, panel, view, output_type): end.forward_chars(300) mtype = gio.content_type_guess(data=doc.get_text(start, end)) - lmanager = gedit.get_language_manager() + lmanager = pluma.get_language_manager() language = lmanager.guess_language(doc.get_uri(), mtype) diff --git a/plugins/externaltools/tools/library.py b/plugins/externaltools/tools/library.py index 6eb6ff1..e3dc624 100755 --- a/plugins/externaltools/tools/library.py +++ b/plugins/externaltools/tools/library.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2006 Steve Frécinaux # # This program is free software; you can redistribute it and/or modify @@ -41,19 +41,19 @@ class ToolLibrary(Singleton): if platform.platform() != 'Windows': for d in self.get_xdg_data_dirs(): - self.locations.append(os.path.join(d, 'gedit-2', 'plugins', 'externaltools', 'tools')) + self.locations.append(os.path.join(d, 'pluma-2', 'plugins', 'externaltools', 'tools')) self.locations.append(datadir) # self.locations[0] is where we save the custom scripts if platform.platform() == 'Windows': - toolsdir = os.path.expanduser('~/gedit/tools') + toolsdir = os.path.expanduser('~/pluma/tools') else: userdir = os.getenv('MATE22_USER_DIR') if userdir: - toolsdir = os.path.join(userdir, 'gedit/tools') + toolsdir = os.path.join(userdir, 'pluma/tools') else: - toolsdir = os.path.expanduser('~/.mate2/gedit/tools') + toolsdir = os.path.expanduser('~/.mate2/pluma/tools') self.locations.insert(0, toolsdir); @@ -80,9 +80,9 @@ class ToolLibrary(Singleton): import xml.etree.ElementTree as et userdir = os.getenv('MATE22_USER_DIR') if userdir: - filename = os.path.join(userdir, 'gedit/gedit-tools.xml') + filename = os.path.join(userdir, 'pluma/pluma-tools.xml') else: - filename = os.path.expanduser('~/.mate2/gedit/gedit-tools.xml') + filename = os.path.expanduser('~/.mate2/pluma/pluma-tools.xml') if not os.path.isfile(filename): return @@ -250,7 +250,7 @@ class Tool(object): for line in fp: if not in_block: - in_block = line.startswith('# [Gedit Tool]') + in_block = line.startswith('# [Pluma Tool]') continue if line.startswith('##') or line.startswith('# #'): continue if not line.startswith('# '): break @@ -389,7 +389,7 @@ class Tool(object): # before entering the data block for line in fp: - if line.startswith('# [Gedit Tool]'): + if line.startswith('# [Pluma Tool]'): break lines.append(line) # in the block: @@ -407,7 +407,7 @@ class Tool(object): return lines def _dump_properties(self): - lines = ['# [Gedit Tool]'] + lines = ['# [Pluma Tool]'] for item in self._properties.iteritems(): if item[0] in self._transform: lines.append('# %s=%s' % (item[0], self._transform[item[0]][1](item[1]))) diff --git a/plugins/externaltools/tools/manager.py b/plugins/externaltools/tools/manager.py index e28a088..4d4d50a 100755 --- a/plugins/externaltools/tools/manager.py +++ b/plugins/externaltools/tools/manager.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2005-2006 Steve Frécinaux # # This program is free software; you can redistribute it and/or modify @@ -18,7 +18,7 @@ __all__ = ('Manager', ) -import gedit +import pluma import gtk import gtksourceview2 as gsv import os.path @@ -114,7 +114,7 @@ class LanguagesPopup(gtk.Window): def init_languages(self, languages): manager = gsv.LanguageManager() - langs = gedit.language_manager_list_languages_sorted(manager, True) + langs = pluma.language_manager_list_languages_sorted(manager, True) self.model.append([_('All languages'), None, not languages]) self.model.append(['-', None, False]) @@ -548,7 +548,7 @@ class Manager: self.script_hash = self.compute_hash(script) contenttype = gio.content_type_guess(data=script) - lmanager = gedit.get_language_manager() + lmanager = pluma.get_language_manager() language = lmanager.guess_language(content_type=contenttype) if language is not None: @@ -818,7 +818,7 @@ class Manager: def on_tool_manager_dialog_response(self, dialog, response): if response == gtk.RESPONSE_HELP: - gedit.help_display(self.dialog, 'gedit', 'gedit-external-tools-plugin') + pluma.help_display(self.dialog, 'pluma', 'pluma-external-tools-plugin') return self.on_tool_manager_dialog_focus_out(dialog, None) @@ -830,7 +830,7 @@ class Manager: def on_tool_manager_dialog_focus_out(self, dialog, event): self.save_current_tool() - for window in gedit.app_get_default().get_windows(): + for window in pluma.app_get_default().get_windows(): helper = window.get_data("ExternalToolsPluginWindowData") helper.menu.update() diff --git a/plugins/externaltools/tools/outputpanel.py b/plugins/externaltools/tools/outputpanel.py index a30aad7..9d1da65 100755 --- a/plugins/externaltools/tools/outputpanel.py +++ b/plugins/externaltools/tools/outputpanel.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Gedit External Tools plugin +# Pluma External Tools plugin # Copyright (C) 2005-2006 Steve Frécinaux # Copyright (C) 2010 Per Arneng # @@ -19,7 +19,7 @@ __all__ = ('OutputPanel', 'UniqueById') -import gtk, gedit +import gtk, pluma import pango import gobject import os @@ -217,7 +217,7 @@ class OutputPanel(UniqueById): gfile = self.file_lookup.lookup(link.path) if gfile: - gedit.commands.load_uri(self.window, gfile.get_uri(), None, + pluma.commands.load_uri(self.window, gfile.get_uri(), None, link.line_nr) gobject.idle_add(self.idle_grab_focus) diff --git a/plugins/externaltools/tools/tools.ui b/plugins/externaltools/tools/tools.ui index dff7d19..8b40ad9 100755 --- a/plugins/externaltools/tools/tools.ui +++ b/plugins/externaltools/tools/tools.ui @@ -122,7 +122,7 @@ - + True @@ -517,7 +517,7 @@ automatic in - + commands_buffer True True diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am index 22301d5..6791255 100755 --- a/plugins/filebrowser/Makefile.am +++ b/plugins/filebrowser/Makefile.am @@ -1,72 +1,72 @@ # filebrowser -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) BUILT_SOURCES = \ - gedit-file-browser-enum-types.h \ - gedit-file-browser-enum-types.c \ - gedit-file-browser-marshal.h \ - gedit-file-browser-marshal.c + pluma-file-browser-enum-types.h \ + pluma-file-browser-enum-types.c \ + pluma-file-browser-marshal.h \ + pluma-file-browser-marshal.c plugin_LTLIBRARIES = libfilebrowser.la NOINST_H_FILES = \ - gedit-file-bookmarks-store.h \ - gedit-file-browser-store.h \ - gedit-file-browser-view.h \ - gedit-file-browser-widget.h \ - gedit-file-browser-error.h \ - gedit-file-browser-utils.h \ - gedit-file-browser-plugin.h \ - gedit-file-browser-messages.h + pluma-file-bookmarks-store.h \ + pluma-file-browser-store.h \ + pluma-file-browser-view.h \ + pluma-file-browser-widget.h \ + pluma-file-browser-error.h \ + pluma-file-browser-utils.h \ + pluma-file-browser-plugin.h \ + pluma-file-browser-messages.h libfilebrowser_la_SOURCES = \ $(BUILT_SOURCES) \ - gedit-file-bookmarks-store.c \ - gedit-file-browser-store.c \ - gedit-file-browser-view.c \ - gedit-file-browser-widget.c \ - gedit-file-browser-utils.c \ - gedit-file-browser-plugin.c \ - gedit-file-browser-messages.c \ + pluma-file-bookmarks-store.c \ + pluma-file-browser-store.c \ + pluma-file-browser-view.c \ + pluma-file-browser-widget.c \ + pluma-file-browser-utils.c \ + pluma-file-browser-plugin.c \ + pluma-file-browser-messages.c \ $(NOINST_H_FILES) libfilebrowser_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libfilebrowser_la_LIBADD = $(GEDIT_LIBS) +libfilebrowser_la_LIBADD = $(PLUMA_LIBS) # UI files (if you use ui for your plugin, list those files here) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/filebrowser -ui_DATA = gedit-file-browser-widget-ui.xml +uidir = $(PLUMA_PLUGINS_DATA_DIR)/filebrowser +ui_DATA = pluma-file-browser-widget-ui.xml -plugin_in_files = filebrowser.gedit-plugin.desktop.in +plugin_in_files = filebrowser.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -gedit-file-browser-enum-types.h: gedit-file-browser-enum-types.h.template $(NOINST_H_FILES) $(GLIB_MKENUMS) - (cd $(srcdir) && $(GLIB_MKENUMS) --template gedit-file-browser-enum-types.h.template $(NOINST_H_FILES)) > $@ +pluma-file-browser-enum-types.h: pluma-file-browser-enum-types.h.template $(NOINST_H_FILES) $(GLIB_MKENUMS) + (cd $(srcdir) && $(GLIB_MKENUMS) --template pluma-file-browser-enum-types.h.template $(NOINST_H_FILES)) > $@ -gedit-file-browser-enum-types.c: gedit-file-browser-enum-types.c.template gedit-file-browser-enum-register.c.template $(NOINST_H_FILES) $(GLIB_MKENUMS) +pluma-file-browser-enum-types.c: pluma-file-browser-enum-types.c.template pluma-file-browser-enum-register.c.template $(NOINST_H_FILES) $(GLIB_MKENUMS) $(AM_V_GEN) (cd $(srcdir) && \ - $(GLIB_MKENUMS) --template gedit-file-browser-enum-types.c.template $(NOINST_H_FILES) && \ - $(GLIB_MKENUMS) --template gedit-file-browser-enum-register.c.template $(NOINST_H_FILES)) > $@ + $(GLIB_MKENUMS) --template pluma-file-browser-enum-types.c.template $(NOINST_H_FILES) && \ + $(GLIB_MKENUMS) --template pluma-file-browser-enum-register.c.template $(NOINST_H_FILES)) > $@ -gedit-file-browser-marshal.h: gedit-file-browser-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gedit_file_browser_marshal > $@ +pluma-file-browser-marshal.h: pluma-file-browser-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=pluma_file_browser_marshal > $@ -gedit-file-browser-marshal.c: gedit-file-browser-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) echo "#include \"gedit-file-browser-marshal.h\"" > $@ && \ - $(GLIB_GENMARSHAL) $< --body --prefix=gedit_file_browser_marshal >> $@ +pluma-file-browser-marshal.c: pluma-file-browser-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) echo "#include \"pluma-file-browser-marshal.h\"" > $@ && \ + $(GLIB_GENMARSHAL) $< --body --prefix=pluma_file_browser_marshal >> $@ -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) schemasdir = $(MATECONF_SCHEMA_FILE_DIR) -schemas_in_files = gedit-file-browser.schemas.in +schemas_in_files = pluma-file-browser.schemas.in schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ @@ -86,10 +86,10 @@ EXTRA_DIST = \ $(ui_DATA) \ $(plugin_in_files) \ $(schemas_in_files) \ - gedit-file-browser-enum-types.h.template \ - gedit-file-browser-enum-types.c.template \ - gedit-file-browser-enum-register.c.template \ - gedit-file-browser-marshal.list + pluma-file-browser-enum-types.h.template \ + pluma-file-browser-enum-types.c.template \ + pluma-file-browser-enum-register.c.template \ + pluma-file-browser-marshal.list CLEANFILES = \ $(plugin_DATA) \ diff --git a/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in b/plugins/filebrowser/filebrowser.pluma-plugin.desktop.in similarity index 84% rename from plugins/filebrowser/filebrowser.gedit-plugin.desktop.in rename to plugins/filebrowser/filebrowser.pluma-plugin.desktop.in index 808816c..bf328f7 100755 --- a/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in +++ b/plugins/filebrowser/filebrowser.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Loader=C Module=filebrowser IAge=2 @@ -7,4 +7,4 @@ _Description=Easy file access from the side pane Icon=system-file-manager Authors=Jesse van den Kieboom Copyright=Copyright © 2006 Jesse van den Kieboom -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/filebrowser/gedit-file-bookmarks-store.h b/plugins/filebrowser/gedit-file-bookmarks-store.h deleted file mode 100755 index bd20911..0000000 --- a/plugins/filebrowser/gedit-file-bookmarks-store.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * gedit-file-bookmarks-store.h - Gedit plugin providing easy file access - * from the sidepanel - * - * Copyright (C) 2006 - Jesse van den Kieboom - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_FILE_BOOKMARKS_STORE_H__ -#define __GEDIT_FILE_BOOKMARKS_STORE_H__ - -#include - -G_BEGIN_DECLS -#define GEDIT_TYPE_FILE_BOOKMARKS_STORE (gedit_file_bookmarks_store_get_type ()) -#define GEDIT_FILE_BOOKMARKS_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BOOKMARKS_STORE, GeditFileBookmarksStore)) -#define GEDIT_FILE_BOOKMARKS_STORE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BOOKMARKS_STORE, GeditFileBookmarksStore const)) -#define GEDIT_FILE_BOOKMARKS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_BOOKMARKS_STORE, GeditFileBookmarksStoreClass)) -#define GEDIT_IS_FILE_BOOKMARKS_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_BOOKMARKS_STORE)) -#define GEDIT_IS_FILE_BOOKMARKS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_BOOKMARKS_STORE)) -#define GEDIT_FILE_BOOKMARKS_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_BOOKMARKS_STORE, GeditFileBookmarksStoreClass)) - -typedef struct _GeditFileBookmarksStore GeditFileBookmarksStore; -typedef struct _GeditFileBookmarksStoreClass GeditFileBookmarksStoreClass; -typedef struct _GeditFileBookmarksStorePrivate GeditFileBookmarksStorePrivate; - -enum -{ - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_ICON = 0, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_NAME, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, - GEDIT_FILE_BOOKMARKS_STORE_N_COLUMNS -}; - -enum -{ - GEDIT_FILE_BOOKMARKS_STORE_NONE = 0, - GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR = 1 << 0, /* Separator item */ - GEDIT_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR = 1 << 1, /* Special user dir */ - GEDIT_FILE_BOOKMARKS_STORE_IS_HOME = 1 << 2, /* The special Home user directory */ - GEDIT_FILE_BOOKMARKS_STORE_IS_DESKTOP = 1 << 3, /* The special Desktop user directory */ - GEDIT_FILE_BOOKMARKS_STORE_IS_DOCUMENTS = 1 << 4, /* The special Documents user directory */ - GEDIT_FILE_BOOKMARKS_STORE_IS_FS = 1 << 5, /* A mount object */ - GEDIT_FILE_BOOKMARKS_STORE_IS_MOUNT = 1 << 6, /* A mount object */ - GEDIT_FILE_BOOKMARKS_STORE_IS_VOLUME = 1 << 7, /* A volume object */ - GEDIT_FILE_BOOKMARKS_STORE_IS_DRIVE = 1 << 8, /* A drive object */ - GEDIT_FILE_BOOKMARKS_STORE_IS_ROOT = 1 << 9, /* The root file system (file:///) */ - GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK = 1 << 10, /* A gtk bookmark */ - GEDIT_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK = 1 << 11, /* A remote gtk bookmark */ - GEDIT_FILE_BOOKMARKS_STORE_IS_LOCAL_BOOKMARK = 1 << 12 /* A local gtk bookmark */ -}; - -struct _GeditFileBookmarksStore -{ - GtkTreeStore parent; - - GeditFileBookmarksStorePrivate *priv; -}; - -struct _GeditFileBookmarksStoreClass -{ - GtkTreeStoreClass parent_class; -}; - -GType gedit_file_bookmarks_store_get_type (void) G_GNUC_CONST; -GType gedit_file_bookmarks_store_register_type (GTypeModule * module); - -GeditFileBookmarksStore *gedit_file_bookmarks_store_new (void); -gchar *gedit_file_bookmarks_store_get_uri (GeditFileBookmarksStore * model, - GtkTreeIter * iter); -void gedit_file_bookmarks_store_refresh (GeditFileBookmarksStore * model); - -G_END_DECLS -#endif /* __GEDIT_FILE_BOOKMARKS_STORE_H__ */ - -// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-plugin.h b/plugins/filebrowser/gedit-file-browser-plugin.h deleted file mode 100755 index 19ca86b..0000000 --- a/plugins/filebrowser/gedit-file-browser-plugin.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * gedit-file-browser-plugin.h - Gedit plugin providing easy file access - * from the sidepanel - * - * Copyright (C) 2006 - Jesse van den Kieboom - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_FILE_BROWSER_PLUGIN_H__ -#define __GEDIT_FILE_BROWSER_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_FILE_BROWSER_PLUGIN (filetree_plugin_get_type ()) -#define GEDIT_FILE_BROWSER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_FILE_BROWSER_PLUGIN, GeditFileBrowserPlugin)) -#define GEDIT_FILE_BROWSER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_FILE_BROWSER_PLUGIN, GeditFileBrowserPluginClass)) -#define GEDIT_IS_FILE_BROWSER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_FILE_BROWSER_PLUGIN)) -#define GEDIT_IS_FILE_BROWSER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_FILE_BROWSER_PLUGIN)) -#define GEDIT_FILE_BROWSER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_FILE_BROWSER_PLUGIN, GeditFileBrowserPluginClass)) - -/* Private structure type */ -typedef struct _GeditFileBrowserPluginPrivate GeditFileBrowserPluginPrivate; -typedef struct _GeditFileBrowserPlugin GeditFileBrowserPlugin; -typedef struct _GeditFileBrowserPluginClass GeditFileBrowserPluginClass; - -struct _GeditFileBrowserPlugin -{ - GeditPlugin parent_instance; - - /*< private > */ - GeditFileBrowserPluginPrivate *priv; -}; - - - -struct _GeditFileBrowserPluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType filetree_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule * module); - -G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_PLUGIN_H__ */ - -// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-store.h b/plugins/filebrowser/gedit-file-browser-store.h deleted file mode 100755 index f31da32..0000000 --- a/plugins/filebrowser/gedit-file-browser-store.h +++ /dev/null @@ -1,200 +0,0 @@ -/* - * gedit-file-browser-store.h - Gedit plugin providing easy file access - * from the sidepanel - * - * Copyright (C) 2006 - Jesse van den Kieboom - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_FILE_BROWSER_STORE_H__ -#define __GEDIT_FILE_BROWSER_STORE_H__ - -#include - -G_BEGIN_DECLS -#define GEDIT_TYPE_FILE_BROWSER_STORE (gedit_file_browser_store_get_type ()) -#define GEDIT_FILE_BROWSER_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_STORE, GeditFileBrowserStore)) -#define GEDIT_FILE_BROWSER_STORE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_STORE, GeditFileBrowserStore const)) -#define GEDIT_FILE_BROWSER_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_BROWSER_STORE, GeditFileBrowserStoreClass)) -#define GEDIT_IS_FILE_BROWSER_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_BROWSER_STORE)) -#define GEDIT_IS_FILE_BROWSER_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_BROWSER_STORE)) -#define GEDIT_FILE_BROWSER_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_BROWSER_STORE, GeditFileBrowserStoreClass)) - -typedef enum -{ - GEDIT_FILE_BROWSER_STORE_COLUMN_ICON = 0, - GEDIT_FILE_BROWSER_STORE_COLUMN_NAME, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, - GEDIT_FILE_BROWSER_STORE_COLUMN_EMBLEM, - GEDIT_FILE_BROWSER_STORE_COLUMN_NUM -} GeditFileBrowserStoreColumn; - -typedef enum -{ - GEDIT_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY = 1 << 0, - GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN = 1 << 1, - GEDIT_FILE_BROWSER_STORE_FLAG_IS_TEXT = 1 << 2, - GEDIT_FILE_BROWSER_STORE_FLAG_LOADED = 1 << 3, - GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED = 1 << 4, - GEDIT_FILE_BROWSER_STORE_FLAG_IS_DUMMY = 1 << 5 -} GeditFileBrowserStoreFlag; - -typedef enum -{ - GEDIT_FILE_BROWSER_STORE_RESULT_OK, - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE, - GEDIT_FILE_BROWSER_STORE_RESULT_ERROR, - GEDIT_FILE_BROWSER_STORE_RESULT_NO_TRASH, - GEDIT_FILE_BROWSER_STORE_RESULT_MOUNTING, - GEDIT_FILE_BROWSER_STORE_RESULT_NUM -} GeditFileBrowserStoreResult; - -typedef enum -{ - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_NONE = 0, - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN = 1 << 0, - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY = 1 << 1 -} GeditFileBrowserStoreFilterMode; - -#define FILE_IS_DIR(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY) -#define FILE_IS_HIDDEN(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN) -#define FILE_IS_TEXT(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_IS_TEXT) -#define FILE_LOADED(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_LOADED) -#define FILE_IS_FILTERED(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED) -#define FILE_IS_DUMMY(flags) (flags & GEDIT_FILE_BROWSER_STORE_FLAG_IS_DUMMY) - -typedef struct _GeditFileBrowserStore GeditFileBrowserStore; -typedef struct _GeditFileBrowserStoreClass GeditFileBrowserStoreClass; -typedef struct _GeditFileBrowserStorePrivate GeditFileBrowserStorePrivate; - -typedef gboolean (*GeditFileBrowserStoreFilterFunc) (GeditFileBrowserStore - * model, - GtkTreeIter * iter, - gpointer user_data); - -struct _GeditFileBrowserStore -{ - GObject parent; - - GeditFileBrowserStorePrivate *priv; -}; - -struct _GeditFileBrowserStoreClass { - GObjectClass parent_class; - - /* Signals */ - void (*begin_loading) (GeditFileBrowserStore * model, - GtkTreeIter * iter); - void (*end_loading) (GeditFileBrowserStore * model, - GtkTreeIter * iter); - void (*error) (GeditFileBrowserStore * model, - guint code, - gchar * message); - gboolean (*no_trash) (GeditFileBrowserStore * model, - GList * files); - void (*rename) (GeditFileBrowserStore * model, - const gchar * olduri, - const gchar * newuri); - void (*begin_refresh) (GeditFileBrowserStore * model); - void (*end_refresh) (GeditFileBrowserStore * model); - void (*unload) (GeditFileBrowserStore * model, - const gchar * uri); -}; - -GType gedit_file_browser_store_get_type (void) G_GNUC_CONST; -GType gedit_file_browser_store_register_type (GTypeModule * module); - -GeditFileBrowserStore *gedit_file_browser_store_new (gchar const *root); - -GeditFileBrowserStoreResult -gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * model, - gchar const *root, - gchar const *virtual_root); -GeditFileBrowserStoreResult -gedit_file_browser_store_set_root (GeditFileBrowserStore * model, - gchar const *root); -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root (GeditFileBrowserStore * model, - GtkTreeIter * iter); -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_from_string (GeditFileBrowserStore * model, - gchar const *root); -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_up (GeditFileBrowserStore * model); -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_top (GeditFileBrowserStore * model); - -gboolean -gedit_file_browser_store_get_iter_virtual_root (GeditFileBrowserStore * model, - GtkTreeIter * iter); -gboolean gedit_file_browser_store_get_iter_root (GeditFileBrowserStore * model, - GtkTreeIter * iter); -gchar * gedit_file_browser_store_get_root (GeditFileBrowserStore * model); -gchar * gedit_file_browser_store_get_virtual_root (GeditFileBrowserStore * model); - -gboolean gedit_file_browser_store_iter_equal (GeditFileBrowserStore * model, - GtkTreeIter * iter1, - GtkTreeIter * iter2); - -void gedit_file_browser_store_set_value (GeditFileBrowserStore * tree_model, - GtkTreeIter * iter, - gint column, - GValue * value); - -void _gedit_file_browser_store_iter_expanded (GeditFileBrowserStore * model, - GtkTreeIter * iter); -void _gedit_file_browser_store_iter_collapsed (GeditFileBrowserStore * model, - GtkTreeIter * iter); - -GeditFileBrowserStoreFilterMode -gedit_file_browser_store_get_filter_mode (GeditFileBrowserStore * model); -void gedit_file_browser_store_set_filter_mode (GeditFileBrowserStore * model, - GeditFileBrowserStoreFilterMode mode); -void gedit_file_browser_store_set_filter_func (GeditFileBrowserStore * model, - GeditFileBrowserStoreFilterFunc func, - gpointer user_data); -void gedit_file_browser_store_refilter (GeditFileBrowserStore * model); -GeditFileBrowserStoreFilterMode -gedit_file_browser_store_filter_mode_get_default (void); - -void gedit_file_browser_store_refresh (GeditFileBrowserStore * model); -gboolean gedit_file_browser_store_rename (GeditFileBrowserStore * model, - GtkTreeIter * iter, - gchar const *new_name, - GError ** error); -GeditFileBrowserStoreResult -gedit_file_browser_store_delete (GeditFileBrowserStore * model, - GtkTreeIter * iter, - gboolean trash); -GeditFileBrowserStoreResult -gedit_file_browser_store_delete_all (GeditFileBrowserStore * model, - GList *rows, - gboolean trash); - -gboolean gedit_file_browser_store_new_file (GeditFileBrowserStore * model, - GtkTreeIter * parent, - GtkTreeIter * iter); -gboolean gedit_file_browser_store_new_directory (GeditFileBrowserStore * model, - GtkTreeIter * parent, - GtkTreeIter * iter); - -void gedit_file_browser_store_cancel_mount_operation (GeditFileBrowserStore *store); - -G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_STORE_H__ */ - -// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-view.h b/plugins/filebrowser/gedit-file-browser-view.h deleted file mode 100755 index a5ada25..0000000 --- a/plugins/filebrowser/gedit-file-browser-view.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * gedit-file-browser-view.h - Gedit plugin providing easy file access - * from the sidepanel - * - * Copyright (C) 2006 - Jesse van den Kieboom - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_FILE_BROWSER_VIEW_H__ -#define __GEDIT_FILE_BROWSER_VIEW_H__ - -#include - -G_BEGIN_DECLS -#define GEDIT_TYPE_FILE_BROWSER_VIEW (gedit_file_browser_view_get_type ()) -#define GEDIT_FILE_BROWSER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_VIEW, GeditFileBrowserView)) -#define GEDIT_FILE_BROWSER_VIEW_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_VIEW, GeditFileBrowserView const)) -#define GEDIT_FILE_BROWSER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_BROWSER_VIEW, GeditFileBrowserViewClass)) -#define GEDIT_IS_FILE_BROWSER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_BROWSER_VIEW)) -#define GEDIT_IS_FILE_BROWSER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_BROWSER_VIEW)) -#define GEDIT_FILE_BROWSER_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_BROWSER_VIEW, GeditFileBrowserViewClass)) - -typedef struct _GeditFileBrowserView GeditFileBrowserView; -typedef struct _GeditFileBrowserViewClass GeditFileBrowserViewClass; -typedef struct _GeditFileBrowserViewPrivate GeditFileBrowserViewPrivate; - -typedef enum { - GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE, - GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE -} GeditFileBrowserViewClickPolicy; - -struct _GeditFileBrowserView -{ - GtkTreeView parent; - - GeditFileBrowserViewPrivate *priv; -}; - -struct _GeditFileBrowserViewClass -{ - GtkTreeViewClass parent_class; - - /* Signals */ - void (*error) (GeditFileBrowserView * filetree, - guint code, - gchar const *message); - void (*file_activated) (GeditFileBrowserView * filetree, - GtkTreeIter *iter); - void (*directory_activated) (GeditFileBrowserView * filetree, - GtkTreeIter *iter); - void (*bookmark_activated) (GeditFileBrowserView * filetree, - GtkTreeIter *iter); -}; - -GType gedit_file_browser_view_get_type (void) G_GNUC_CONST; -GType gedit_file_browser_view_register_type (GTypeModule * module); - -GtkWidget *gedit_file_browser_view_new (void); -void gedit_file_browser_view_set_model (GeditFileBrowserView * tree_view, - GtkTreeModel * model); -void gedit_file_browser_view_start_rename (GeditFileBrowserView * tree_view, - GtkTreeIter * iter); -void gedit_file_browser_view_set_click_policy (GeditFileBrowserView * tree_view, - GeditFileBrowserViewClickPolicy policy); -void gedit_file_browser_view_set_restore_expand_state (GeditFileBrowserView * tree_view, - gboolean restore_expand_state); - -G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_VIEW_H__ */ - -// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-widget.h b/plugins/filebrowser/gedit-file-browser-widget.h deleted file mode 100755 index e9cc2a0..0000000 --- a/plugins/filebrowser/gedit-file-browser-widget.h +++ /dev/null @@ -1,121 +0,0 @@ -/* - * gedit-file-browser-widget.h - Gedit plugin providing easy file access - * from the sidepanel - * - * Copyright (C) 2006 - Jesse van den Kieboom - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_FILE_BROWSER_WIDGET_H__ -#define __GEDIT_FILE_BROWSER_WIDGET_H__ - -#include -#include "gedit-file-browser-store.h" -#include "gedit-file-bookmarks-store.h" -#include "gedit-file-browser-view.h" - -G_BEGIN_DECLS -#define GEDIT_TYPE_FILE_BROWSER_WIDGET (gedit_file_browser_widget_get_type ()) -#define GEDIT_FILE_BROWSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_WIDGET, GeditFileBrowserWidget)) -#define GEDIT_FILE_BROWSER_WIDGET_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_BROWSER_WIDGET, GeditFileBrowserWidget const)) -#define GEDIT_FILE_BROWSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_BROWSER_WIDGET, GeditFileBrowserWidgetClass)) -#define GEDIT_IS_FILE_BROWSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_BROWSER_WIDGET)) -#define GEDIT_IS_FILE_BROWSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_BROWSER_WIDGET)) -#define GEDIT_FILE_BROWSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_BROWSER_WIDGET, GeditFileBrowserWidgetClass)) - -typedef struct _GeditFileBrowserWidget GeditFileBrowserWidget; -typedef struct _GeditFileBrowserWidgetClass GeditFileBrowserWidgetClass; -typedef struct _GeditFileBrowserWidgetPrivate GeditFileBrowserWidgetPrivate; - -typedef -gboolean (*GeditFileBrowserWidgetFilterFunc) (GeditFileBrowserWidget * obj, - GeditFileBrowserStore * - model, GtkTreeIter * iter, - gpointer user_data); - -struct _GeditFileBrowserWidget -{ - GtkVBox parent; - - GeditFileBrowserWidgetPrivate *priv; -}; - -struct _GeditFileBrowserWidgetClass -{ - GtkVBoxClass parent_class; - - /* Signals */ - void (*uri_activated) (GeditFileBrowserWidget * widget, - gchar const *uri); - void (*error) (GeditFileBrowserWidget * widget, - guint code, - gchar const *message); - gboolean (*confirm_delete) (GeditFileBrowserWidget * widget, - GeditFileBrowserStore * model, - GList *list); - gboolean (*confirm_no_trash) (GeditFileBrowserWidget * widget, - GList *list); -}; - -GType gedit_file_browser_widget_get_type (void) G_GNUC_CONST; -GType gedit_file_browser_widget_register_type (GTypeModule * module); - -GtkWidget *gedit_file_browser_widget_new (const gchar *data_dir); - -void gedit_file_browser_widget_show_bookmarks (GeditFileBrowserWidget * obj); -void gedit_file_browser_widget_show_files (GeditFileBrowserWidget * obj); - -void gedit_file_browser_widget_set_root (GeditFileBrowserWidget * obj, - gchar const *root, - gboolean virtual_root); -void -gedit_file_browser_widget_set_root_and_virtual_root (GeditFileBrowserWidget * obj, - gchar const *root, - gchar const *virtual_root); - -gboolean -gedit_file_browser_widget_get_selected_directory (GeditFileBrowserWidget * obj, - GtkTreeIter * iter); - -GeditFileBrowserStore * -gedit_file_browser_widget_get_browser_store (GeditFileBrowserWidget * obj); -GeditFileBookmarksStore * -gedit_file_browser_widget_get_bookmarks_store (GeditFileBrowserWidget * obj); -GeditFileBrowserView * -gedit_file_browser_widget_get_browser_view (GeditFileBrowserWidget * obj); -GtkWidget * -gedit_file_browser_widget_get_filter_entry (GeditFileBrowserWidget * obj); - -GtkUIManager * -gedit_file_browser_widget_get_ui_manager (GeditFileBrowserWidget * obj); - -gulong gedit_file_browser_widget_add_filter (GeditFileBrowserWidget * obj, - GeditFileBrowserWidgetFilterFunc func, - gpointer user_data, - GDestroyNotify notify); -void gedit_file_browser_widget_remove_filter (GeditFileBrowserWidget * obj, - gulong id); -void gedit_file_browser_widget_set_filter_pattern (GeditFileBrowserWidget * obj, - gchar const *pattern); - -void gedit_file_browser_widget_refresh (GeditFileBrowserWidget * obj); -void gedit_file_browser_widget_history_back (GeditFileBrowserWidget * obj); -void gedit_file_browser_widget_history_forward (GeditFileBrowserWidget * obj); - -G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_WIDGET_H__ */ - -// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-bookmarks-store.c b/plugins/filebrowser/pluma-file-bookmarks-store.c similarity index 70% rename from plugins/filebrowser/gedit-file-bookmarks-store.c rename to plugins/filebrowser/pluma-file-bookmarks-store.c index 86e7f0c..19def25 100755 --- a/plugins/filebrowser/gedit-file-bookmarks-store.c +++ b/plugins/filebrowser/pluma-file-bookmarks-store.c @@ -1,5 +1,5 @@ /* - * gedit-file-bookmarks-store.c - Gedit plugin providing easy file access + * pluma-file-bookmarks-store.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -22,17 +22,17 @@ #include #include #include -#include -#include +#include +#include -#include "gedit-file-bookmarks-store.h" -#include "gedit-file-browser-utils.h" +#include "pluma-file-bookmarks-store.h" +#include "pluma-file-browser-utils.h" -#define GEDIT_FILE_BOOKMARKS_STORE_GET_PRIVATE(object)( \ - G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_FILE_BOOKMARKS_STORE, \ - GeditFileBookmarksStorePrivate)) +#define PLUMA_FILE_BOOKMARKS_STORE_GET_PRIVATE(object)( \ + G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_FILE_BOOKMARKS_STORE, \ + PlumaFileBookmarksStorePrivate)) -struct _GeditFileBookmarksStorePrivate +struct _PlumaFileBookmarksStorePrivate { GVolumeMonitor * volume_monitor; GFileMonitor * bookmarks_monitor; @@ -43,25 +43,25 @@ static void remove_node (GtkTreeModel * model, static void on_fs_changed (GVolumeMonitor *monitor, GObject *object, - GeditFileBookmarksStore *model); + PlumaFileBookmarksStore *model); static void on_bookmarks_file_changed (GFileMonitor * monitor, GFile * file, GFile * other_file, GFileMonitorEvent event_type, - GeditFileBookmarksStore * model); + PlumaFileBookmarksStore * model); static gboolean find_with_flags (GtkTreeModel * model, GtkTreeIter * iter, gpointer obj, guint flags, guint notflags); -GEDIT_PLUGIN_DEFINE_TYPE(GeditFileBookmarksStore, gedit_file_bookmarks_store, GTK_TYPE_TREE_STORE) +PLUMA_PLUGIN_DEFINE_TYPE(PlumaFileBookmarksStore, pluma_file_bookmarks_store, GTK_TYPE_TREE_STORE) static void -gedit_file_bookmarks_store_dispose (GObject * object) +pluma_file_bookmarks_store_dispose (GObject * object) { - GeditFileBookmarksStore *obj = GEDIT_FILE_BOOKMARKS_STORE (object); + PlumaFileBookmarksStore *obj = PLUMA_FILE_BOOKMARKS_STORE (object); if (obj->priv->volume_monitor != NULL) { g_signal_handlers_disconnect_by_func (obj->priv->volume_monitor, @@ -77,35 +77,35 @@ gedit_file_bookmarks_store_dispose (GObject * object) obj->priv->bookmarks_monitor = NULL; } - G_OBJECT_CLASS (gedit_file_bookmarks_store_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_file_bookmarks_store_parent_class)->dispose (object); } static void -gedit_file_bookmarks_store_finalize (GObject * object) +pluma_file_bookmarks_store_finalize (GObject * object) { - G_OBJECT_CLASS (gedit_file_bookmarks_store_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_file_bookmarks_store_parent_class)->finalize (object); } static void -gedit_file_bookmarks_store_class_init (GeditFileBookmarksStoreClass *klass) +pluma_file_bookmarks_store_class_init (PlumaFileBookmarksStoreClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->dispose = gedit_file_bookmarks_store_dispose; - object_class->finalize = gedit_file_bookmarks_store_finalize; + object_class->dispose = pluma_file_bookmarks_store_dispose; + object_class->finalize = pluma_file_bookmarks_store_finalize; - g_type_class_add_private (object_class, sizeof (GeditFileBookmarksStorePrivate)); + g_type_class_add_private (object_class, sizeof (PlumaFileBookmarksStorePrivate)); } static void -gedit_file_bookmarks_store_init (GeditFileBookmarksStore * obj) +pluma_file_bookmarks_store_init (PlumaFileBookmarksStore * obj) { - obj->priv = GEDIT_FILE_BOOKMARKS_STORE_GET_PRIVATE (obj); + obj->priv = PLUMA_FILE_BOOKMARKS_STORE_GET_PRIVATE (obj); } /* Private */ static void -add_node (GeditFileBookmarksStore *model, +add_node (PlumaFileBookmarksStore *model, GdkPixbuf *pixbuf, const gchar *name, GObject *obj, @@ -117,10 +117,10 @@ add_node (GeditFileBookmarksStore *model, gtk_tree_store_append (GTK_TREE_STORE (model), &newiter, NULL); gtk_tree_store_set (GTK_TREE_STORE (model), &newiter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_ICON, pixbuf, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_NAME, name, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, obj, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, flags, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_ICON, pixbuf, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_NAME, name, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, obj, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, flags, -1); if (iter != NULL) @@ -128,7 +128,7 @@ add_node (GeditFileBookmarksStore *model, } static gboolean -add_file (GeditFileBookmarksStore *model, +add_file (PlumaFileBookmarksStore *model, GFile *file, const gchar *name, guint flags, @@ -144,24 +144,24 @@ add_file (GeditFileBookmarksStore *model, return FALSE; } - if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_HOME) - pixbuf = gedit_file_browser_utils_pixbuf_from_theme ("user-home", GTK_ICON_SIZE_MENU); - else if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_DESKTOP) - pixbuf = gedit_file_browser_utils_pixbuf_from_theme ("user-desktop", GTK_ICON_SIZE_MENU); - else if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_ROOT) - pixbuf = gedit_file_browser_utils_pixbuf_from_theme ("drive-harddisk", GTK_ICON_SIZE_MENU); + if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_HOME) + pixbuf = pluma_file_browser_utils_pixbuf_from_theme ("user-home", GTK_ICON_SIZE_MENU); + else if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_DESKTOP) + pixbuf = pluma_file_browser_utils_pixbuf_from_theme ("user-desktop", GTK_ICON_SIZE_MENU); + else if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_ROOT) + pixbuf = pluma_file_browser_utils_pixbuf_from_theme ("drive-harddisk", GTK_ICON_SIZE_MENU); if (pixbuf == NULL) { /* getting the icon is a sync get_info call, so we just do it for local files */ if (native) { - pixbuf = gedit_file_browser_utils_pixbuf_from_file (file, GTK_ICON_SIZE_MENU); + pixbuf = pluma_file_browser_utils_pixbuf_from_file (file, GTK_ICON_SIZE_MENU); } else { - pixbuf = gedit_file_browser_utils_pixbuf_from_theme ("folder", GTK_ICON_SIZE_MENU); + pixbuf = pluma_file_browser_utils_pixbuf_from_theme ("folder", GTK_ICON_SIZE_MENU); } } if (name == NULL) { - newname = gedit_file_browser_utils_file_basename (file); + newname = pluma_file_browser_utils_file_basename (file); } else { newname = g_strdup (name); } @@ -177,7 +177,7 @@ add_file (GeditFileBookmarksStore *model, } static void -check_mount_separator (GeditFileBookmarksStore * model, guint flags, +check_mount_separator (PlumaFileBookmarksStore * model, guint flags, gboolean added) { GtkTreeIter iter; @@ -186,12 +186,12 @@ check_mount_separator (GeditFileBookmarksStore * model, guint flags, found = find_with_flags (GTK_TREE_MODEL (model), &iter, NULL, flags | - GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR, 0); + PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR, 0); if (added && !found) { /* Add the separator */ add_node (model, NULL, NULL, NULL, - flags | GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR, + flags | PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR, NULL); } else if (!added && found) { remove_node (GTK_TREE_MODEL (model), &iter); @@ -199,7 +199,7 @@ check_mount_separator (GeditFileBookmarksStore * model, guint flags, } static void -init_special_directories (GeditFileBookmarksStore * model) +init_special_directories (PlumaFileBookmarksStore * model) { gchar const *path; GFile * file; @@ -208,8 +208,8 @@ init_special_directories (GeditFileBookmarksStore * model) if (path != NULL) { file = g_file_new_for_path (path); - add_file (model, file, NULL, GEDIT_FILE_BOOKMARKS_STORE_IS_HOME | - GEDIT_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); + add_file (model, file, NULL, PLUMA_FILE_BOOKMARKS_STORE_IS_HOME | + PLUMA_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); g_object_unref (file); } @@ -217,8 +217,8 @@ init_special_directories (GeditFileBookmarksStore * model) if (path != NULL) { file = g_file_new_for_path (path); - add_file (model, file, NULL, GEDIT_FILE_BOOKMARKS_STORE_IS_DESKTOP | - GEDIT_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); + add_file (model, file, NULL, PLUMA_FILE_BOOKMARKS_STORE_IS_DESKTOP | + PLUMA_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); g_object_unref (file); } @@ -226,16 +226,16 @@ init_special_directories (GeditFileBookmarksStore * model) if (path != NULL) { file = g_file_new_for_path (path); - add_file (model, file, NULL, GEDIT_FILE_BOOKMARKS_STORE_IS_DOCUMENTS | - GEDIT_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); + add_file (model, file, NULL, PLUMA_FILE_BOOKMARKS_STORE_IS_DOCUMENTS | + PLUMA_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, NULL); g_object_unref (file); } file = g_file_new_for_uri ("file:///"); - add_file (model, file, _("File System"), GEDIT_FILE_BOOKMARKS_STORE_IS_ROOT, NULL); + add_file (model, file, _("File System"), PLUMA_FILE_BOOKMARKS_STORE_IS_ROOT, NULL); g_object_unref (file); - check_mount_separator (model, GEDIT_FILE_BOOKMARKS_STORE_IS_ROOT, TRUE); + check_mount_separator (model, PLUMA_FILE_BOOKMARKS_STORE_IS_ROOT, TRUE); } static void @@ -246,7 +246,7 @@ get_fs_properties (gpointer fs, { GIcon *icon = NULL; - *flags = GEDIT_FILE_BOOKMARKS_STORE_IS_FS; + *flags = PLUMA_FILE_BOOKMARKS_STORE_IS_FS; *name = NULL; *pixbuf = NULL; @@ -255,33 +255,33 @@ get_fs_properties (gpointer fs, icon = g_drive_get_icon (G_DRIVE (fs)); *name = g_drive_get_name (G_DRIVE (fs)); - *flags |= GEDIT_FILE_BOOKMARKS_STORE_IS_DRIVE; + *flags |= PLUMA_FILE_BOOKMARKS_STORE_IS_DRIVE; } else if (G_IS_VOLUME (fs)) { icon = g_volume_get_icon (G_VOLUME (fs)); *name = g_volume_get_name (G_VOLUME (fs)); - *flags |= GEDIT_FILE_BOOKMARKS_STORE_IS_VOLUME; + *flags |= PLUMA_FILE_BOOKMARKS_STORE_IS_VOLUME; } else if (G_IS_MOUNT (fs)) { icon = g_mount_get_icon (G_MOUNT (fs)); *name = g_mount_get_name (G_MOUNT (fs)); - *flags |= GEDIT_FILE_BOOKMARKS_STORE_IS_MOUNT; + *flags |= PLUMA_FILE_BOOKMARKS_STORE_IS_MOUNT; } if (icon) { - *pixbuf = gedit_file_browser_utils_pixbuf_from_icon (icon, GTK_ICON_SIZE_MENU); + *pixbuf = pluma_file_browser_utils_pixbuf_from_icon (icon, GTK_ICON_SIZE_MENU); g_object_unref (icon); } } static void -add_fs (GeditFileBookmarksStore *model, +add_fs (PlumaFileBookmarksStore *model, gpointer fs, guint flags, GtkTreeIter *iter) @@ -297,15 +297,15 @@ add_fs (GeditFileBookmarksStore *model, g_object_unref (pixbuf); g_free (name); - check_mount_separator (model, GEDIT_FILE_BOOKMARKS_STORE_IS_FS, TRUE); + check_mount_separator (model, PLUMA_FILE_BOOKMARKS_STORE_IS_FS, TRUE); } static void process_volume_cb (GVolume *volume, - GeditFileBookmarksStore *model) + PlumaFileBookmarksStore *model) { GMount *mount; - guint flags = GEDIT_FILE_BOOKMARKS_STORE_NONE; + guint flags = PLUMA_FILE_BOOKMARKS_STORE_NONE; mount = g_volume_get_mount (volume); /* CHECK: should we use the LOCAL/REMOTE thing still? */ @@ -324,7 +324,7 @@ process_volume_cb (GVolume *volume, } static void -process_drive_novolumes (GeditFileBookmarksStore *model, +process_drive_novolumes (PlumaFileBookmarksStore *model, GDrive *drive) { if (g_drive_is_media_removable (drive) && @@ -335,13 +335,13 @@ process_drive_novolumes (GeditFileBookmarksStore *model, drives where media detection fails. We show the drive and poll for media when the user activates it */ - add_fs (model, drive, GEDIT_FILE_BOOKMARKS_STORE_NONE, NULL); + add_fs (model, drive, PLUMA_FILE_BOOKMARKS_STORE_NONE, NULL); } } static void process_drive_cb (GDrive *drive, - GeditFileBookmarksStore *model) + PlumaFileBookmarksStore *model) { GList *volumes; @@ -360,7 +360,7 @@ process_drive_cb (GDrive *drive, } static void -init_drives (GeditFileBookmarksStore *model) +init_drives (PlumaFileBookmarksStore *model) { GList *drives; @@ -373,7 +373,7 @@ init_drives (GeditFileBookmarksStore *model) static void process_volume_nodrive_cb (GVolume *volume, - GeditFileBookmarksStore *model) + PlumaFileBookmarksStore *model) { GDrive *drive; @@ -389,7 +389,7 @@ process_volume_nodrive_cb (GVolume *volume, } static void -init_volumes (GeditFileBookmarksStore *model) +init_volumes (PlumaFileBookmarksStore *model) { GList *volumes; @@ -402,7 +402,7 @@ init_volumes (GeditFileBookmarksStore *model) static void process_mount_novolume_cb (GMount *mount, - GeditFileBookmarksStore *model) + PlumaFileBookmarksStore *model) { GVolume *volume; @@ -415,12 +415,12 @@ process_mount_novolume_cb (GMount *mount, else if (!g_mount_is_shadowed (mount)) { /* Add the mount */ - add_fs (model, mount, GEDIT_FILE_BOOKMARKS_STORE_NONE, NULL); + add_fs (model, mount, PLUMA_FILE_BOOKMARKS_STORE_NONE, NULL); } } static void -init_mounts (GeditFileBookmarksStore *model) +init_mounts (PlumaFileBookmarksStore *model) { GList *mounts; @@ -432,7 +432,7 @@ init_mounts (GeditFileBookmarksStore *model) } static void -init_fs (GeditFileBookmarksStore * model) +init_fs (PlumaFileBookmarksStore * model) { if (model->priv->volume_monitor == NULL) { const gchar **ptr; @@ -465,21 +465,21 @@ init_fs (GeditFileBookmarksStore * model) } static gboolean -add_bookmark (GeditFileBookmarksStore * model, +add_bookmark (PlumaFileBookmarksStore * model, gchar const * name, gchar const * uri) { GFile * file; gboolean ret; - guint flags = GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK; + guint flags = PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK; GtkTreeIter iter; file = g_file_new_for_uri (uri); if (g_file_is_native (file)) { - flags |= GEDIT_FILE_BOOKMARKS_STORE_IS_LOCAL_BOOKMARK; + flags |= PLUMA_FILE_BOOKMARKS_STORE_IS_LOCAL_BOOKMARK; } else { - flags |= GEDIT_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK; + flags |= PLUMA_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK; } ret = add_file (model, file, name, flags, &iter); @@ -490,7 +490,7 @@ add_bookmark (GeditFileBookmarksStore * model, } static void -init_bookmarks (GeditFileBookmarksStore * model) +init_bookmarks (PlumaFileBookmarksStore * model) { gchar *bookmarks; GError *error = NULL; @@ -524,7 +524,7 @@ init_bookmarks (GeditFileBookmarksStore * model) /* the bookmarks file should contain valid * URIs, but paranoia is good */ - if (gedit_utils_is_valid_uri (*line)) { + if (pluma_utils_is_valid_uri (*line)) { added |= add_bookmark (model, name, *line); } } @@ -554,20 +554,20 @@ init_bookmarks (GeditFileBookmarksStore * model) if (added) { /* Bookmarks separator */ add_node (model, NULL, NULL, NULL, - GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK | - GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR, NULL); + PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK | + PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR, NULL); } g_free (bookmarks); } static gint flags_order[] = { - GEDIT_FILE_BOOKMARKS_STORE_IS_HOME, - GEDIT_FILE_BOOKMARKS_STORE_IS_DESKTOP, - GEDIT_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, - GEDIT_FILE_BOOKMARKS_STORE_IS_ROOT, - GEDIT_FILE_BOOKMARKS_STORE_IS_FS, - GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK, + PLUMA_FILE_BOOKMARKS_STORE_IS_HOME, + PLUMA_FILE_BOOKMARKS_STORE_IS_DESKTOP, + PLUMA_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR, + PLUMA_FILE_BOOKMARKS_STORE_IS_ROOT, + PLUMA_FILE_BOOKMARKS_STORE_IS_FS, + PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK, -1 }; @@ -600,17 +600,17 @@ bookmarks_compare_names (GtkTreeModel * model, GtkTreeIter * a, guint f2; gtk_tree_model_get (model, a, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_NAME, &n1, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f1, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_NAME, &n1, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f1, -1); gtk_tree_model_get (model, b, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_NAME, &n2, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f2, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_NAME, &n2, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f2, -1); /* do not sort actual bookmarks to keep same order as in caja */ - if ((f1 & GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK) && - (f2 & GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK)) + if ((f1 & PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK) && + (f2 & PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK)) result = 0; else if (n1 == NULL && n2 == NULL) result = 0; @@ -636,13 +636,13 @@ bookmarks_compare_flags (GtkTreeModel * model, GtkTreeIter * a, gint *flags; guint sep; - sep = GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR; + sep = PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR; gtk_tree_model_get (model, a, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f1, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f1, -1); gtk_tree_model_get (model, b, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f2, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &f2, -1); for (flags = flags_order; *flags != -1; ++flags) { @@ -691,9 +691,9 @@ find_with_flags (GtkTreeModel * model, GtkTreeIter * iter, gpointer obj, do { gtk_tree_model_get (model, &child, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, &childobj, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &childflags, -1); fequal = (obj == childobj); @@ -718,13 +718,13 @@ remove_node (GtkTreeModel * model, GtkTreeIter * iter) guint flags; gtk_tree_model_get (model, iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &flags, -1); - if (!(flags & GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR)) { - if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_FS) { - check_mount_separator (GEDIT_FILE_BOOKMARKS_STORE (model), - flags & GEDIT_FILE_BOOKMARKS_STORE_IS_FS, + if (!(flags & PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR)) { + if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_FS) { + check_mount_separator (PLUMA_FILE_BOOKMARKS_STORE (model), + flags & PLUMA_FILE_BOOKMARKS_STORE_IS_FS, FALSE); } } @@ -733,19 +733,19 @@ remove_node (GtkTreeModel * model, GtkTreeIter * iter) } static void -remove_bookmarks (GeditFileBookmarksStore * model) +remove_bookmarks (PlumaFileBookmarksStore * model) { GtkTreeIter iter; while (find_with_flags (GTK_TREE_MODEL (model), &iter, NULL, - GEDIT_FILE_BOOKMARKS_STORE_IS_BOOKMARK, + PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK, 0)) { remove_node (GTK_TREE_MODEL (model), &iter); } } static void -initialize_fill (GeditFileBookmarksStore * model) +initialize_fill (PlumaFileBookmarksStore * model) { init_special_directories (model); init_fs (model); @@ -753,10 +753,10 @@ initialize_fill (GeditFileBookmarksStore * model) } /* Public */ -GeditFileBookmarksStore * -gedit_file_bookmarks_store_new (void) +PlumaFileBookmarksStore * +pluma_file_bookmarks_store_new (void) { - GeditFileBookmarksStore *model; + PlumaFileBookmarksStore *model; GType column_types[] = { GDK_TYPE_PIXBUF, G_TYPE_STRING, @@ -764,9 +764,9 @@ gedit_file_bookmarks_store_new (void) G_TYPE_UINT }; - model = g_object_new (GEDIT_TYPE_FILE_BOOKMARKS_STORE, NULL); + model = g_object_new (PLUMA_TYPE_FILE_BOOKMARKS_STORE, NULL); gtk_tree_store_set_column_types (GTK_TREE_STORE (model), - GEDIT_FILE_BOOKMARKS_STORE_N_COLUMNS, + PLUMA_FILE_BOOKMARKS_STORE_N_COLUMNS, column_types); gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (model), @@ -782,7 +782,7 @@ gedit_file_bookmarks_store_new (void) } gchar * -gedit_file_bookmarks_store_get_uri (GeditFileBookmarksStore * model, +pluma_file_bookmarks_store_get_uri (PlumaFileBookmarksStore * model, GtkTreeIter * iter) { GObject * obj; @@ -791,22 +791,22 @@ gedit_file_bookmarks_store_get_uri (GeditFileBookmarksStore * model, gchar * ret = NULL; gboolean isfs; - g_return_val_if_fail (GEDIT_IS_FILE_BOOKMARKS_STORE (model), NULL); + g_return_val_if_fail (PLUMA_IS_FILE_BOOKMARKS_STORE (model), NULL); g_return_val_if_fail (iter != NULL, NULL); gtk_tree_model_get (GTK_TREE_MODEL (model), iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &flags, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, &obj, -1); if (obj == NULL) return NULL; - isfs = (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_FS); + isfs = (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_FS); - if (isfs && (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_MOUNT)) + if (isfs && (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_MOUNT)) { file = g_mount_get_root (G_MOUNT (obj)); } @@ -827,7 +827,7 @@ gedit_file_bookmarks_store_get_uri (GeditFileBookmarksStore * model, } void -gedit_file_bookmarks_store_refresh (GeditFileBookmarksStore * model) +pluma_file_bookmarks_store_refresh (PlumaFileBookmarksStore * model) { gtk_tree_store_clear (GTK_TREE_STORE (model)); initialize_fill (model); @@ -836,11 +836,11 @@ gedit_file_bookmarks_store_refresh (GeditFileBookmarksStore * model) static void on_fs_changed (GVolumeMonitor *monitor, GObject *object, - GeditFileBookmarksStore *model) + PlumaFileBookmarksStore *model) { GtkTreeModel *tree_model = GTK_TREE_MODEL (model); - guint flags = GEDIT_FILE_BOOKMARKS_STORE_IS_FS; - guint noflags = GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR; + guint flags = PLUMA_FILE_BOOKMARKS_STORE_IS_FS; + guint noflags = PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR; GtkTreeIter iter; /* clear all fs items */ @@ -856,7 +856,7 @@ on_bookmarks_file_changed (GFileMonitor * monitor, GFile * file, GFile * other_file, GFileMonitorEvent event_type, - GeditFileBookmarksStore * model) + PlumaFileBookmarksStore * model) { switch (event_type) { case G_FILE_MONITOR_EVENT_CHANGED: diff --git a/plugins/filebrowser/pluma-file-bookmarks-store.h b/plugins/filebrowser/pluma-file-bookmarks-store.h new file mode 100755 index 0000000..c811f58 --- /dev/null +++ b/plugins/filebrowser/pluma-file-bookmarks-store.h @@ -0,0 +1,90 @@ +/* + * pluma-file-bookmarks-store.h - Pluma plugin providing easy file access + * from the sidepanel + * + * Copyright (C) 2006 - Jesse van den Kieboom + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_FILE_BOOKMARKS_STORE_H__ +#define __PLUMA_FILE_BOOKMARKS_STORE_H__ + +#include + +G_BEGIN_DECLS +#define PLUMA_TYPE_FILE_BOOKMARKS_STORE (pluma_file_bookmarks_store_get_type ()) +#define PLUMA_FILE_BOOKMARKS_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BOOKMARKS_STORE, PlumaFileBookmarksStore)) +#define PLUMA_FILE_BOOKMARKS_STORE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BOOKMARKS_STORE, PlumaFileBookmarksStore const)) +#define PLUMA_FILE_BOOKMARKS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_FILE_BOOKMARKS_STORE, PlumaFileBookmarksStoreClass)) +#define PLUMA_IS_FILE_BOOKMARKS_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_FILE_BOOKMARKS_STORE)) +#define PLUMA_IS_FILE_BOOKMARKS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_FILE_BOOKMARKS_STORE)) +#define PLUMA_FILE_BOOKMARKS_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_FILE_BOOKMARKS_STORE, PlumaFileBookmarksStoreClass)) + +typedef struct _PlumaFileBookmarksStore PlumaFileBookmarksStore; +typedef struct _PlumaFileBookmarksStoreClass PlumaFileBookmarksStoreClass; +typedef struct _PlumaFileBookmarksStorePrivate PlumaFileBookmarksStorePrivate; + +enum +{ + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_ICON = 0, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_NAME, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, + PLUMA_FILE_BOOKMARKS_STORE_N_COLUMNS +}; + +enum +{ + PLUMA_FILE_BOOKMARKS_STORE_NONE = 0, + PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR = 1 << 0, /* Separator item */ + PLUMA_FILE_BOOKMARKS_STORE_IS_SPECIAL_DIR = 1 << 1, /* Special user dir */ + PLUMA_FILE_BOOKMARKS_STORE_IS_HOME = 1 << 2, /* The special Home user directory */ + PLUMA_FILE_BOOKMARKS_STORE_IS_DESKTOP = 1 << 3, /* The special Desktop user directory */ + PLUMA_FILE_BOOKMARKS_STORE_IS_DOCUMENTS = 1 << 4, /* The special Documents user directory */ + PLUMA_FILE_BOOKMARKS_STORE_IS_FS = 1 << 5, /* A mount object */ + PLUMA_FILE_BOOKMARKS_STORE_IS_MOUNT = 1 << 6, /* A mount object */ + PLUMA_FILE_BOOKMARKS_STORE_IS_VOLUME = 1 << 7, /* A volume object */ + PLUMA_FILE_BOOKMARKS_STORE_IS_DRIVE = 1 << 8, /* A drive object */ + PLUMA_FILE_BOOKMARKS_STORE_IS_ROOT = 1 << 9, /* The root file system (file:///) */ + PLUMA_FILE_BOOKMARKS_STORE_IS_BOOKMARK = 1 << 10, /* A gtk bookmark */ + PLUMA_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK = 1 << 11, /* A remote gtk bookmark */ + PLUMA_FILE_BOOKMARKS_STORE_IS_LOCAL_BOOKMARK = 1 << 12 /* A local gtk bookmark */ +}; + +struct _PlumaFileBookmarksStore +{ + GtkTreeStore parent; + + PlumaFileBookmarksStorePrivate *priv; +}; + +struct _PlumaFileBookmarksStoreClass +{ + GtkTreeStoreClass parent_class; +}; + +GType pluma_file_bookmarks_store_get_type (void) G_GNUC_CONST; +GType pluma_file_bookmarks_store_register_type (GTypeModule * module); + +PlumaFileBookmarksStore *pluma_file_bookmarks_store_new (void); +gchar *pluma_file_bookmarks_store_get_uri (PlumaFileBookmarksStore * model, + GtkTreeIter * iter); +void pluma_file_bookmarks_store_refresh (PlumaFileBookmarksStore * model); + +G_END_DECLS +#endif /* __PLUMA_FILE_BOOKMARKS_STORE_H__ */ + +// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-enum-register.c.template b/plugins/filebrowser/pluma-file-browser-enum-register.c.template similarity index 83% rename from plugins/filebrowser/gedit-file-browser-enum-register.c.template rename to plugins/filebrowser/pluma-file-browser-enum-register.c.template index 63a9c56..0bbd101 100755 --- a/plugins/filebrowser/gedit-file-browser-enum-register.c.template +++ b/plugins/filebrowser/pluma-file-browser-enum-register.c.template @@ -1,6 +1,6 @@ /*** BEGIN file-header ***/ void -gedit_file_browser_enum_and_flag_register_type (GTypeModule * module) +pluma_file_browser_enum_and_flag_register_type (GTypeModule * module) { /*** END file-header ***/ diff --git a/plugins/filebrowser/gedit-file-browser-enum-types.c.template b/plugins/filebrowser/pluma-file-browser-enum-types.c.template similarity index 94% rename from plugins/filebrowser/gedit-file-browser-enum-types.c.template rename to plugins/filebrowser/pluma-file-browser-enum-types.c.template index 4e89370..dc1ac9e 100755 --- a/plugins/filebrowser/gedit-file-browser-enum-types.c.template +++ b/plugins/filebrowser/pluma-file-browser-enum-types.c.template @@ -1,5 +1,5 @@ /*** BEGIN file-header ***/ -#include "gedit-file-browser-enum-types.h" +#include "pluma-file-browser-enum-types.h" /*** END file-header ***/ diff --git a/plugins/filebrowser/gedit-file-browser-enum-types.h.template b/plugins/filebrowser/pluma-file-browser-enum-types.h.template similarity index 60% rename from plugins/filebrowser/gedit-file-browser-enum-types.h.template rename to plugins/filebrowser/pluma-file-browser-enum-types.h.template index aea4fad..4f09901 100755 --- a/plugins/filebrowser/gedit-file-browser-enum-types.h.template +++ b/plugins/filebrowser/pluma-file-browser-enum-types.h.template @@ -1,6 +1,6 @@ /*** BEGIN file-header ***/ -#ifndef __GEDIT_FILE_BROWSER_ENUM_TYPES_H__ -#define __GEDIT_FILE_BROWSER_ENUM_TYPES_H__ +#ifndef __PLUMA_FILE_BROWSER_ENUM_TYPES_H__ +#define __PLUMA_FILE_BROWSER_ENUM_TYPES_H__ #include @@ -14,16 +14,16 @@ G_BEGIN_DECLS /*** END file-production ***/ /*** BEGIN enumeration-production ***/ -#define GEDIT_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) +#define PLUMA_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) GType @enum_name@_get_type (void) G_GNUC_CONST; /*** END enumeration-production ***/ /*** BEGIN file-tail ***/ -void gedit_file_browser_enum_and_flag_register_type (GTypeModule * module); +void pluma_file_browser_enum_and_flag_register_type (GTypeModule * module); G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_ENUM_TYPES_H__ */ +#endif /* __PLUMA_FILE_BROWSER_ENUM_TYPES_H__ */ /*** END file-tail ***/ diff --git a/plugins/filebrowser/gedit-file-browser-error.h b/plugins/filebrowser/pluma-file-browser-error.h similarity index 61% rename from plugins/filebrowser/gedit-file-browser-error.h rename to plugins/filebrowser/pluma-file-browser-error.h index ec5b861..59f01e2 100755 --- a/plugins/filebrowser/gedit-file-browser-error.h +++ b/plugins/filebrowser/pluma-file-browser-error.h @@ -1,5 +1,5 @@ /* - * gedit-file-browser-error.h - Gedit plugin providing easy file access + * pluma-file-browser-error.h - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -19,23 +19,23 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef __GEDIT_FILE_BROWSER_ERROR_H__ -#define __GEDIT_FILE_BROWSER_ERROR_H__ +#ifndef __PLUMA_FILE_BROWSER_ERROR_H__ +#define __PLUMA_FILE_BROWSER_ERROR_H__ G_BEGIN_DECLS typedef enum { - GEDIT_FILE_BROWSER_ERROR_NONE, - GEDIT_FILE_BROWSER_ERROR_RENAME, - GEDIT_FILE_BROWSER_ERROR_DELETE, - GEDIT_FILE_BROWSER_ERROR_NEW_FILE, - GEDIT_FILE_BROWSER_ERROR_NEW_DIRECTORY, - GEDIT_FILE_BROWSER_ERROR_OPEN_DIRECTORY, - GEDIT_FILE_BROWSER_ERROR_SET_ROOT, - GEDIT_FILE_BROWSER_ERROR_LOAD_DIRECTORY, - GEDIT_FILE_BROWSER_ERROR_NUM -} GeditFileBrowserError; + PLUMA_FILE_BROWSER_ERROR_NONE, + PLUMA_FILE_BROWSER_ERROR_RENAME, + PLUMA_FILE_BROWSER_ERROR_DELETE, + PLUMA_FILE_BROWSER_ERROR_NEW_FILE, + PLUMA_FILE_BROWSER_ERROR_NEW_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_SET_ROOT, + PLUMA_FILE_BROWSER_ERROR_LOAD_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_NUM +} PlumaFileBrowserError; G_END_DECLS -#endif /* __GEDIT_FILE_BROWSER_ERROR_H__ */ +#endif /* __PLUMA_FILE_BROWSER_ERROR_H__ */ diff --git a/plugins/filebrowser/gedit-file-browser-marshal.list b/plugins/filebrowser/pluma-file-browser-marshal.list similarity index 100% rename from plugins/filebrowser/gedit-file-browser-marshal.list rename to plugins/filebrowser/pluma-file-browser-marshal.list diff --git a/plugins/filebrowser/gedit-file-browser-messages.c b/plugins/filebrowser/pluma-file-browser-messages.c similarity index 61% rename from plugins/filebrowser/gedit-file-browser-messages.c rename to plugins/filebrowser/pluma-file-browser-messages.c index b587edf..f4b20d0 100755 --- a/plugins/filebrowser/gedit-file-browser-messages.c +++ b/plugins/filebrowser/pluma-file-browser-messages.c @@ -1,16 +1,16 @@ -#include "gedit-file-browser-messages.h" -#include "gedit-file-browser-store.h" -#include +#include "pluma-file-browser-messages.h" +#include "pluma-file-browser-store.h" +#include #define MESSAGE_OBJECT_PATH "/plugins/filebrowser" -#define WINDOW_DATA_KEY "GeditFileBrowserMessagesWindowData" +#define WINDOW_DATA_KEY "PlumaFileBrowserMessagesWindowData" -#define BUS_CONNECT(bus, name, data) gedit_message_bus_connect(bus, MESSAGE_OBJECT_PATH, #name, (GeditMessageCallback) message_##name##_cb, data, NULL) +#define BUS_CONNECT(bus, name, data) pluma_message_bus_connect(bus, MESSAGE_OBJECT_PATH, #name, (PlumaMessageCallback) message_##name##_cb, data, NULL) typedef struct { - GeditWindow *window; - GeditMessage *message; + PlumaWindow *window; + PlumaMessage *message; } MessageCacheData; typedef struct @@ -24,8 +24,8 @@ typedef struct GList *merge_ids; GtkActionGroup *merged_actions; - GeditMessageBus *bus; - GeditFileBrowserWidget *widget; + PlumaMessageBus *bus; + PlumaFileBrowserWidget *widget; GHashTable *row_tracking; GHashTable *filters; @@ -35,19 +35,19 @@ typedef struct { gulong id; - GeditWindow *window; - GeditMessage *message; + PlumaWindow *window; + PlumaMessage *message; } FilterData; static WindowData * -window_data_new (GeditWindow *window, - GeditFileBrowserWidget *widget) +window_data_new (PlumaWindow *window, + PlumaFileBrowserWidget *widget) { WindowData *data = g_slice_new (WindowData); GtkUIManager *manager; GList *groups; - data->bus = gedit_window_get_message_bus (window); + data->bus = pluma_window_get_message_bus (window); data->widget = widget; data->row_tracking = g_hash_table_new_full (g_str_hash, g_str_equal, @@ -59,7 +59,7 @@ window_data_new (GeditWindow *window, (GDestroyNotify)g_free, NULL); - manager = gedit_file_browser_widget_get_ui_manager (widget); + manager = pluma_file_browser_widget_get_ui_manager (widget); data->merge_ids = NULL; data->merged_actions = gtk_action_group_new ("MessageMergedActions"); @@ -73,13 +73,13 @@ window_data_new (GeditWindow *window, } static WindowData * -get_window_data (GeditWindow * window) +get_window_data (PlumaWindow * window) { return (WindowData *) (g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY)); } static void -window_data_free (GeditWindow *window) +window_data_free (PlumaWindow *window) { WindowData *data = get_window_data (window); GtkUIManager *manager; @@ -88,7 +88,7 @@ window_data_free (GeditWindow *window) g_hash_table_destroy (data->row_tracking); g_hash_table_destroy (data->filters); - manager = gedit_file_browser_widget_get_ui_manager (data->widget); + manager = pluma_file_browser_widget_get_ui_manager (data->widget); gtk_ui_manager_remove_action_group (manager, data->merged_actions); for (item = data->merge_ids; item; item = item->next) @@ -103,8 +103,8 @@ window_data_free (GeditWindow *window) } static FilterData * -filter_data_new (GeditWindow *window, - GeditMessage *message) +filter_data_new (PlumaWindow *window, + PlumaMessage *message) { FilterData *data = g_slice_new (FilterData); WindowData *wdata; @@ -116,8 +116,8 @@ filter_data_new (GeditWindow *window, wdata = get_window_data (window); g_hash_table_insert (wdata->filters, - gedit_message_type_identifier (gedit_message_get_object_path (message), - gedit_message_get_method (message)), + pluma_message_type_identifier (pluma_message_get_object_path (message), + pluma_message_get_method (message)), data); return data; @@ -129,8 +129,8 @@ filter_data_free (FilterData *data) WindowData *wdata = get_window_data (data->window); gchar *identifier; - identifier = gedit_message_type_identifier (gedit_message_get_object_path (data->message), - gedit_message_get_method (data->message)); + identifier = pluma_message_type_identifier (pluma_message_get_object_path (data->message), + pluma_message_get_method (data->message)); g_hash_table_remove (wdata->filters, identifier); g_free (identifier); @@ -161,8 +161,8 @@ message_cache_data_free (MessageCacheData *data) } static MessageCacheData * -message_cache_data_new (GeditWindow *window, - GeditMessage *message) +message_cache_data_new (PlumaWindow *window, + PlumaMessage *message) { MessageCacheData *data = g_slice_new (MessageCacheData); @@ -173,56 +173,56 @@ message_cache_data_new (GeditWindow *window, } static void -message_get_root_cb (GeditMessageBus *bus, - GeditMessage *message, +message_get_root_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - GeditFileBrowserStore *store; + PlumaFileBrowserStore *store; gchar *uri; - store = gedit_file_browser_widget_get_browser_store (data->widget); - uri = gedit_file_browser_store_get_virtual_root (store); + store = pluma_file_browser_widget_get_browser_store (data->widget); + uri = pluma_file_browser_store_get_virtual_root (store); - gedit_message_set (message, "uri", uri, NULL); + pluma_message_set (message, "uri", uri, NULL); g_free (uri); } static void -message_set_root_cb (GeditMessageBus *bus, - GeditMessage *message, +message_set_root_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { gchar *root = NULL; gchar *virtual = NULL; - gedit_message_get (message, "uri", &root, NULL); + pluma_message_get (message, "uri", &root, NULL); if (!root) return; - if (gedit_message_has_key (message, "virtual")) - gedit_message_get (message, "virtual", &virtual, NULL); + if (pluma_message_has_key (message, "virtual")) + pluma_message_get (message, "virtual", &virtual, NULL); if (virtual) - gedit_file_browser_widget_set_root_and_virtual_root (data->widget, root, virtual); + pluma_file_browser_widget_set_root_and_virtual_root (data->widget, root, virtual); else - gedit_file_browser_widget_set_root (data->widget, root, TRUE); + pluma_file_browser_widget_set_root (data->widget, root, TRUE); g_free (root); g_free (virtual); } static void -message_set_emblem_cb (GeditMessageBus *bus, - GeditMessage *message, +message_set_emblem_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { gchar *id = NULL; gchar *emblem = NULL; GtkTreePath *path; - GeditFileBrowserStore *store; + PlumaFileBrowserStore *store; - gedit_message_get (message, "id", &id, "emblem", &emblem, NULL); + pluma_message_get (message, "id", &id, "emblem", &emblem, NULL); if (!id || !emblem) { @@ -250,16 +250,16 @@ message_set_emblem_cb (GeditMessageBus *bus, GValue value = { 0, }; GtkTreeIter iter; - store = gedit_file_browser_widget_get_browser_store (data->widget); + store = pluma_file_browser_widget_get_browser_store (data->widget); if (gtk_tree_model_get_iter (GTK_TREE_MODEL (store), &iter, path)) { g_value_init (&value, GDK_TYPE_PIXBUF); g_value_set_object (&value, pixbuf); - gedit_file_browser_store_set_value (store, + pluma_file_browser_store_set_value (store, &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_EMBLEM, + PLUMA_FILE_BROWSER_STORE_COLUMN_EMBLEM, &value); g_value_unset (&value); @@ -285,7 +285,7 @@ item_id (const gchar *path, static gchar * track_row (WindowData *data, - GeditFileBrowserStore *store, + PlumaFileBrowserStore *store, GtkTreePath *path, const gchar *uri) { @@ -308,18 +308,18 @@ static void set_item_message (WindowData *data, GtkTreeIter *iter, GtkTreePath *path, - GeditMessage *message) + PlumaMessage *message) { - GeditFileBrowserStore *store; + PlumaFileBrowserStore *store; gchar *uri = NULL; guint flags = 0; gchar *track_id; - store = gedit_file_browser_widget_get_browser_store (data->widget); + store = pluma_file_browser_widget_get_browser_store (data->widget); gtk_tree_model_get (GTK_TREE_MODEL (store), iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!uri) @@ -330,14 +330,14 @@ set_item_message (WindowData *data, else track_id = NULL; - gedit_message_set (message, + pluma_message_set (message, "id", track_id, "uri", uri, NULL); - if (gedit_message_has_key (message, "is_directory")) + if (pluma_message_has_key (message, "is_directory")) { - gedit_message_set (message, + pluma_message_set (message, "is_directory", FILE_IS_DIR (flags), NULL); } @@ -347,8 +347,8 @@ set_item_message (WindowData *data, } static gboolean -custom_message_filter_func (GeditFileBrowserWidget *widget, - GeditFileBrowserStore *store, +custom_message_filter_func (PlumaFileBrowserWidget *widget, + PlumaFileBrowserStore *store, GtkTreeIter *iter, FilterData *data) { @@ -359,8 +359,8 @@ custom_message_filter_func (GeditFileBrowserWidget *widget, GtkTreePath *path; gtk_tree_model_get (GTK_TREE_MODEL (store), iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!uri || FILE_IS_DUMMY (flags)) @@ -373,28 +373,28 @@ custom_message_filter_func (GeditFileBrowserWidget *widget, set_item_message (wdata, iter, path, data->message); gtk_tree_path_free (path); - gedit_message_set (data->message, "filter", filter, NULL); + pluma_message_set (data->message, "filter", filter, NULL); - gedit_message_bus_send_message_sync (wdata->bus, data->message); - gedit_message_get (data->message, "filter", &filter, NULL); + pluma_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_get (data->message, "filter", &filter, NULL); return !filter; } static void -message_add_filter_cb (GeditMessageBus *bus, - GeditMessage *message, - GeditWindow *window) +message_add_filter_cb (PlumaMessageBus *bus, + PlumaMessage *message, + PlumaWindow *window) { gchar *object_path = NULL; gchar *method = NULL; gulong id; - GeditMessageType *message_type; - GeditMessage *cbmessage; + PlumaMessageType *message_type; + PlumaMessage *cbmessage; FilterData *filter_data; WindowData *data = get_window_data (window); - gedit_message_get (message, + pluma_message_get (message, "object_path", &object_path, "method", &method, NULL); @@ -408,7 +408,7 @@ message_add_filter_cb (GeditMessageBus *bus, return; } - message_type = gedit_message_bus_lookup (bus, object_path, method); + message_type = pluma_message_bus_lookup (bus, object_path, method); if (!message_type) { @@ -419,15 +419,15 @@ message_add_filter_cb (GeditMessageBus *bus, } // Check if the message type has the correct arguments - if (gedit_message_type_lookup (message_type, "id") != G_TYPE_STRING || - gedit_message_type_lookup (message_type, "uri") != G_TYPE_STRING || - gedit_message_type_lookup (message_type, "is_directory") != G_TYPE_BOOLEAN || - gedit_message_type_lookup (message_type, "filter") != G_TYPE_BOOLEAN) + if (pluma_message_type_lookup (message_type, "id") != G_TYPE_STRING || + pluma_message_type_lookup (message_type, "uri") != G_TYPE_STRING || + pluma_message_type_lookup (message_type, "is_directory") != G_TYPE_BOOLEAN || + pluma_message_type_lookup (message_type, "filter") != G_TYPE_BOOLEAN) { return; } - cbmessage = gedit_message_type_instantiate (message_type, + cbmessage = pluma_message_type_instantiate (message_type, "id", NULL, "uri", NULL, "is_directory", FALSE, @@ -436,8 +436,8 @@ message_add_filter_cb (GeditMessageBus *bus, // Register the custom filter on the widget filter_data = filter_data_new (window, cbmessage); - id = gedit_file_browser_widget_add_filter (data->widget, - (GeditFileBrowserWidgetFilterFunc)custom_message_filter_func, + id = pluma_file_browser_widget_add_filter (data->widget, + (PlumaFileBrowserWidgetFilterFunc)custom_message_filter_func, filter_data, (GDestroyNotify)filter_data_free); @@ -445,117 +445,117 @@ message_add_filter_cb (GeditMessageBus *bus, } static void -message_remove_filter_cb (GeditMessageBus *bus, - GeditMessage *message, +message_remove_filter_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { gulong id = 0; - gedit_message_get (message, "id", &id, NULL); + pluma_message_get (message, "id", &id, NULL); if (!id) return; - gedit_file_browser_widget_remove_filter (data->widget, id); + pluma_file_browser_widget_remove_filter (data->widget, id); } static void -message_up_cb (GeditMessageBus *bus, - GeditMessage *message, +message_up_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - GeditFileBrowserStore *store = gedit_file_browser_widget_get_browser_store (data->widget); + PlumaFileBrowserStore *store = pluma_file_browser_widget_get_browser_store (data->widget); - gedit_file_browser_store_set_virtual_root_up (store); + pluma_file_browser_store_set_virtual_root_up (store); } static void -message_history_back_cb (GeditMessageBus *bus, - GeditMessage *message, +message_history_back_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - gedit_file_browser_widget_history_back (data->widget); + pluma_file_browser_widget_history_back (data->widget); } static void -message_history_forward_cb (GeditMessageBus *bus, - GeditMessage *message, +message_history_forward_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - gedit_file_browser_widget_history_forward (data->widget); + pluma_file_browser_widget_history_forward (data->widget); } static void -message_refresh_cb (GeditMessageBus *bus, - GeditMessage *message, +message_refresh_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - gedit_file_browser_widget_refresh (data->widget); + pluma_file_browser_widget_refresh (data->widget); } static void -message_set_show_hidden_cb (GeditMessageBus *bus, - GeditMessage *message, +message_set_show_hidden_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { gboolean active = FALSE; - GeditFileBrowserStore *store; - GeditFileBrowserStoreFilterMode mode; + PlumaFileBrowserStore *store; + PlumaFileBrowserStoreFilterMode mode; - gedit_message_get (message, "active", &active, NULL); + pluma_message_get (message, "active", &active, NULL); - store = gedit_file_browser_widget_get_browser_store (data->widget); - mode = gedit_file_browser_store_get_filter_mode (store); + store = pluma_file_browser_widget_get_browser_store (data->widget); + mode = pluma_file_browser_store_get_filter_mode (store); if (active) - mode &= ~GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; + mode &= ~PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; else - mode |= GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; + mode |= PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; - gedit_file_browser_store_set_filter_mode (store, mode); + pluma_file_browser_store_set_filter_mode (store, mode); } static void -message_set_show_binary_cb (GeditMessageBus *bus, - GeditMessage *message, +message_set_show_binary_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { gboolean active = FALSE; - GeditFileBrowserStore *store; - GeditFileBrowserStoreFilterMode mode; + PlumaFileBrowserStore *store; + PlumaFileBrowserStoreFilterMode mode; - gedit_message_get (message, "active", &active, NULL); + pluma_message_get (message, "active", &active, NULL); - store = gedit_file_browser_widget_get_browser_store (data->widget); - mode = gedit_file_browser_store_get_filter_mode (store); + store = pluma_file_browser_widget_get_browser_store (data->widget); + mode = pluma_file_browser_store_get_filter_mode (store); if (active) - mode &= ~GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; + mode &= ~PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; else - mode |= GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; + mode |= PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; - gedit_file_browser_store_set_filter_mode (store, mode); + pluma_file_browser_store_set_filter_mode (store, mode); } static void -message_show_bookmarks_cb (GeditMessageBus *bus, - GeditMessage *message, +message_show_bookmarks_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - gedit_file_browser_widget_show_bookmarks (data->widget); + pluma_file_browser_widget_show_bookmarks (data->widget); } static void -message_show_files_cb (GeditMessageBus *bus, - GeditMessage *message, +message_show_files_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - gedit_file_browser_widget_show_files (data->widget); + pluma_file_browser_widget_show_files (data->widget); } static void -message_add_context_item_cb (GeditMessageBus *bus, - GeditMessage *message, +message_add_context_item_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { GtkAction *action = NULL; @@ -564,7 +564,7 @@ message_add_context_item_cb (GeditMessageBus *bus, GtkUIManager *manager; guint merge_id; - gedit_message_get (message, + pluma_message_get (message, "action", &action, "path", &path, NULL); @@ -579,7 +579,7 @@ message_add_context_item_cb (GeditMessageBus *bus, } gtk_action_group_add_action (data->merged_actions, action); - manager = gedit_file_browser_widget_get_ui_manager (data->widget); + manager = pluma_file_browser_widget_get_ui_manager (data->widget); name = g_strconcat (gtk_action_get_name (action), "MenuItem", NULL); merge_id = gtk_ui_manager_new_merge_id (manager); @@ -594,11 +594,11 @@ message_add_context_item_cb (GeditMessageBus *bus, if (gtk_ui_manager_get_widget (manager, path)) { data->merge_ids = g_list_prepend (data->merge_ids, GINT_TO_POINTER (merge_id)); - gedit_message_set (message, "id", merge_id, NULL); + pluma_message_set (message, "id", merge_id, NULL); } else { - gedit_message_set (message, "id", 0, NULL); + pluma_message_set (message, "id", 0, NULL); } g_object_unref (action); @@ -607,64 +607,64 @@ message_add_context_item_cb (GeditMessageBus *bus, } static void -message_remove_context_item_cb (GeditMessageBus *bus, - GeditMessage *message, +message_remove_context_item_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { guint merge_id = 0; GtkUIManager *manager; - gedit_message_get (message, "id", &merge_id, NULL); + pluma_message_get (message, "id", &merge_id, NULL); if (merge_id == 0) return; - manager = gedit_file_browser_widget_get_ui_manager (data->widget); + manager = pluma_file_browser_widget_get_ui_manager (data->widget); data->merge_ids = g_list_remove (data->merge_ids, GINT_TO_POINTER (merge_id)); gtk_ui_manager_remove_ui (manager, merge_id); } static void -message_get_view_cb (GeditMessageBus *bus, - GeditMessage *message, +message_get_view_cb (PlumaMessageBus *bus, + PlumaMessage *message, WindowData *data) { - GeditFileBrowserView *view; - view = gedit_file_browser_widget_get_browser_view (data->widget); + PlumaFileBrowserView *view; + view = pluma_file_browser_widget_get_browser_view (data->widget); - gedit_message_set (message, "view", view, NULL); + pluma_message_set (message, "view", view, NULL); } static void -register_methods (GeditWindow *window, - GeditFileBrowserWidget *widget) +register_methods (PlumaWindow *window, + PlumaFileBrowserWidget *widget) { - GeditMessageBus *bus = gedit_window_get_message_bus (window); + PlumaMessageBus *bus = pluma_window_get_message_bus (window); WindowData *data = get_window_data (window); /* Register method calls */ - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "get_root", 1, "uri", G_TYPE_STRING, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "set_root", 1, "uri", G_TYPE_STRING, "virtual", G_TYPE_STRING, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "set_emblem", 0, "id", G_TYPE_STRING, "emblem", G_TYPE_STRING, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "add_filter", 1, "object_path", G_TYPE_STRING, @@ -672,13 +672,13 @@ register_methods (GeditWindow *window, "id", G_TYPE_ULONG, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "remove_filter", 0, "id", G_TYPE_ULONG, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "add_context_item", 1, "action", GTK_TYPE_ACTION, @@ -686,37 +686,37 @@ register_methods (GeditWindow *window, "id", G_TYPE_UINT, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "remove_context_item", 0, "id", G_TYPE_UINT, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "up", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "up", 0, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "history_back", 0, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "history_forward", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "history_back", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "history_forward", 0, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "refresh", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "refresh", 0, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "set_show_hidden", 0, "active", G_TYPE_BOOLEAN, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "set_show_binary", 0, "active", G_TYPE_BOOLEAN, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "show_bookmarks", 0, NULL); - gedit_message_bus_register (bus, MESSAGE_OBJECT_PATH, "show_files", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "show_bookmarks", 0, NULL); + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "show_files", 0, NULL); - gedit_message_bus_register (bus, + pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "get_view", 1, - "view", GEDIT_TYPE_FILE_BROWSER_VIEW, + "view", PLUMA_TYPE_FILE_BROWSER_VIEW, NULL); BUS_CONNECT (bus, get_root, data); @@ -744,7 +744,7 @@ register_methods (GeditWindow *window, } static void -store_row_inserted (GeditFileBrowserStore *store, +store_row_inserted (PlumaFileBrowserStore *store, GtkTreePath *path, GtkTreeIter *iter, MessageCacheData *data) @@ -753,8 +753,8 @@ store_row_inserted (GeditFileBrowserStore *store, guint flags = 0; gtk_tree_model_get (GTK_TREE_MODEL (store), iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!FILE_IS_DUMMY (flags) && !FILE_IS_FILTERED (flags)) @@ -762,14 +762,14 @@ store_row_inserted (GeditFileBrowserStore *store, WindowData *wdata = get_window_data (data->window); set_item_message (wdata, iter, path, data->message); - gedit_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_bus_send_message_sync (wdata->bus, data->message); } g_free (uri); } static void -store_row_deleted (GeditFileBrowserStore *store, +store_row_deleted (PlumaFileBrowserStore *store, GtkTreePath *path, MessageCacheData *data) { @@ -781,8 +781,8 @@ store_row_deleted (GeditFileBrowserStore *store, return; gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!FILE_IS_DUMMY (flags) && !FILE_IS_FILTERED (flags)) @@ -790,36 +790,36 @@ store_row_deleted (GeditFileBrowserStore *store, WindowData *wdata = get_window_data (data->window); set_item_message (wdata, &iter, path, data->message); - gedit_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_bus_send_message_sync (wdata->bus, data->message); } g_free (uri); } static void -store_virtual_root_changed (GeditFileBrowserStore *store, +store_virtual_root_changed (PlumaFileBrowserStore *store, GParamSpec *spec, MessageCacheData *data) { WindowData *wdata = get_window_data (data->window); gchar *uri; - uri = gedit_file_browser_store_get_virtual_root (store); + uri = pluma_file_browser_store_get_virtual_root (store); if (!uri) return; - gedit_message_set (data->message, + pluma_message_set (data->message, "uri", uri, NULL); - gedit_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_bus_send_message_sync (wdata->bus, data->message); g_free (uri); } static void -store_begin_loading (GeditFileBrowserStore *store, +store_begin_loading (PlumaFileBrowserStore *store, GtkTreeIter *iter, MessageCacheData *data) { @@ -830,12 +830,12 @@ store_begin_loading (GeditFileBrowserStore *store, set_item_message (wdata, iter, path, data->message); - gedit_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_bus_send_message_sync (wdata->bus, data->message); gtk_tree_path_free (path); } static void -store_end_loading (GeditFileBrowserStore *store, +store_end_loading (PlumaFileBrowserStore *store, GtkTreeIter *iter, MessageCacheData *data) { @@ -846,48 +846,48 @@ store_end_loading (GeditFileBrowserStore *store, set_item_message (wdata, iter, path, data->message); - gedit_message_bus_send_message_sync (wdata->bus, data->message); + pluma_message_bus_send_message_sync (wdata->bus, data->message); gtk_tree_path_free (path); } static void -register_signals (GeditWindow *window, - GeditFileBrowserWidget *widget) +register_signals (PlumaWindow *window, + PlumaFileBrowserWidget *widget) { - GeditMessageBus *bus = gedit_window_get_message_bus (window); - GeditFileBrowserStore *store; - GeditMessageType *inserted_type; - GeditMessageType *deleted_type; - GeditMessageType *begin_loading_type; - GeditMessageType *end_loading_type; - GeditMessageType *root_changed_type; + PlumaMessageBus *bus = pluma_window_get_message_bus (window); + PlumaFileBrowserStore *store; + PlumaMessageType *inserted_type; + PlumaMessageType *deleted_type; + PlumaMessageType *begin_loading_type; + PlumaMessageType *end_loading_type; + PlumaMessageType *root_changed_type; - GeditMessage *message; + PlumaMessage *message; WindowData *data; /* Register signals */ - root_changed_type = gedit_message_bus_register (bus, + root_changed_type = pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "root_changed", 0, "id", G_TYPE_STRING, "uri", G_TYPE_STRING, NULL); - begin_loading_type = gedit_message_bus_register (bus, + begin_loading_type = pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "begin_loading", 0, "id", G_TYPE_STRING, "uri", G_TYPE_STRING, NULL); - end_loading_type = gedit_message_bus_register (bus, + end_loading_type = pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "end_loading", 0, "id", G_TYPE_STRING, "uri", G_TYPE_STRING, NULL); - inserted_type = gedit_message_bus_register (bus, + inserted_type = pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "inserted", 0, "id", G_TYPE_STRING, @@ -895,7 +895,7 @@ register_signals (GeditWindow *window, "is_directory", G_TYPE_BOOLEAN, NULL); - deleted_type = gedit_message_bus_register (bus, + deleted_type = pluma_message_bus_register (bus, MESSAGE_OBJECT_PATH, "deleted", 0, "id", G_TYPE_STRING, @@ -903,9 +903,9 @@ register_signals (GeditWindow *window, "is_directory", G_TYPE_BOOLEAN, NULL); - store = gedit_file_browser_widget_get_browser_store (widget); + store = pluma_file_browser_widget_get_browser_store (widget); - message = gedit_message_type_instantiate (inserted_type, + message = pluma_message_type_instantiate (inserted_type, "id", NULL, "uri", NULL, "is_directory", FALSE, @@ -921,7 +921,7 @@ register_signals (GeditWindow *window, (GClosureNotify)message_cache_data_free, 0); - message = gedit_message_type_instantiate (deleted_type, + message = pluma_message_type_instantiate (deleted_type, "id", NULL, "uri", NULL, "is_directory", FALSE, @@ -934,7 +934,7 @@ register_signals (GeditWindow *window, (GClosureNotify)message_cache_data_free, 0); - message = gedit_message_type_instantiate (root_changed_type, + message = pluma_message_type_instantiate (root_changed_type, "id", NULL, "uri", NULL, NULL); @@ -946,7 +946,7 @@ register_signals (GeditWindow *window, (GClosureNotify)message_cache_data_free, 0); - message = gedit_message_type_instantiate (begin_loading_type, + message = pluma_message_type_instantiate (begin_loading_type, "id", NULL, "uri", NULL, NULL); @@ -958,7 +958,7 @@ register_signals (GeditWindow *window, (GClosureNotify)message_cache_data_free, 0); - message = gedit_message_type_instantiate (end_loading_type, + message = pluma_message_type_instantiate (end_loading_type, "id", NULL, "uri", NULL, NULL); @@ -972,45 +972,45 @@ register_signals (GeditWindow *window, } static void -message_unregistered (GeditMessageBus *bus, - GeditMessageType *message_type, - GeditWindow *window) +message_unregistered (PlumaMessageBus *bus, + PlumaMessageType *message_type, + PlumaWindow *window) { - gchar *identifier = gedit_message_type_identifier (gedit_message_type_get_object_path (message_type), - gedit_message_type_get_method (message_type)); + gchar *identifier = pluma_message_type_identifier (pluma_message_type_get_object_path (message_type), + pluma_message_type_get_method (message_type)); FilterData *data; WindowData *wdata = get_window_data (window); data = g_hash_table_lookup (wdata->filters, identifier); if (data) - gedit_file_browser_widget_remove_filter (wdata->widget, data->id); + pluma_file_browser_widget_remove_filter (wdata->widget, data->id); g_free (identifier); } void -gedit_file_browser_messages_register (GeditWindow *window, - GeditFileBrowserWidget *widget) +pluma_file_browser_messages_register (PlumaWindow *window, + PlumaFileBrowserWidget *widget) { window_data_new (window, widget); register_methods (window, widget); register_signals (window, widget); - g_signal_connect (gedit_window_get_message_bus (window), + g_signal_connect (pluma_window_get_message_bus (window), "unregistered", G_CALLBACK (message_unregistered), window); } static void -cleanup_signals (GeditWindow *window) +cleanup_signals (PlumaWindow *window) { WindowData *data = get_window_data (window); - GeditFileBrowserStore *store; + PlumaFileBrowserStore *store; - store = gedit_file_browser_widget_get_browser_store (data->widget); + store = pluma_file_browser_widget_get_browser_store (data->widget); g_signal_handler_disconnect (store, data->row_inserted_id); g_signal_handler_disconnect (store, data->row_deleted_id); @@ -1022,12 +1022,12 @@ cleanup_signals (GeditWindow *window) } void -gedit_file_browser_messages_unregister (GeditWindow *window) +pluma_file_browser_messages_unregister (PlumaWindow *window) { - GeditMessageBus *bus = gedit_window_get_message_bus (window); + PlumaMessageBus *bus = pluma_window_get_message_bus (window); cleanup_signals (window); - gedit_message_bus_unregister_all (bus, MESSAGE_OBJECT_PATH); + pluma_message_bus_unregister_all (bus, MESSAGE_OBJECT_PATH); window_data_free (window); } diff --git a/plugins/filebrowser/gedit-file-browser-messages.h b/plugins/filebrowser/pluma-file-browser-messages.h similarity index 63% rename from plugins/filebrowser/gedit-file-browser-messages.h rename to plugins/filebrowser/pluma-file-browser-messages.h index e62094e..8f5c2ba 100755 --- a/plugins/filebrowser/gedit-file-browser-messages.h +++ b/plugins/filebrowser/pluma-file-browser-messages.h @@ -1,5 +1,5 @@ /* - * gedit-file-browser-messages.h - Gedit plugin providing easy file access + * pluma-file-browser-messages.h - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2008 - Jesse van den Kieboom @@ -19,17 +19,17 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef __GEDIT_FILE_BROWSER_MESSAGES_H__ -#define __GEDIT_FILE_BROWSER_MESSAGES_H__ +#ifndef __PLUMA_FILE_BROWSER_MESSAGES_H__ +#define __PLUMA_FILE_BROWSER_MESSAGES_H__ -#include -#include -#include "gedit-file-browser-widget.h" +#include +#include +#include "pluma-file-browser-widget.h" -void gedit_file_browser_messages_register (GeditWindow *window, - GeditFileBrowserWidget *widget); -void gedit_file_browser_messages_unregister (GeditWindow *window); +void pluma_file_browser_messages_register (PlumaWindow *window, + PlumaFileBrowserWidget *widget); +void pluma_file_browser_messages_unregister (PlumaWindow *window); -#endif /* __GEDIT_FILE_BROWSER_MESSAGES_H__ */ +#endif /* __PLUMA_FILE_BROWSER_MESSAGES_H__ */ // ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-plugin.c b/plugins/filebrowser/pluma-file-browser-plugin.c similarity index 71% rename from plugins/filebrowser/gedit-file-browser-plugin.c rename to plugins/filebrowser/pluma-file-browser-plugin.c index f2da19f..b9ac96d 100755 --- a/plugins/filebrowser/gedit-file-browser-plugin.c +++ b/plugins/filebrowser/pluma-file-browser-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-file-browser-plugin.c - Gedit plugin providing easy file access + * pluma-file-browser-plugin.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -24,39 +24,39 @@ #include #endif -#include -#include -#include +#include +#include +#include #include -#include +#include #include #include -#include "gedit-file-browser-enum-types.h" -#include "gedit-file-browser-plugin.h" -#include "gedit-file-browser-utils.h" -#include "gedit-file-browser-error.h" -#include "gedit-file-browser-widget.h" -#include "gedit-file-browser-messages.h" +#include "pluma-file-browser-enum-types.h" +#include "pluma-file-browser-plugin.h" +#include "pluma-file-browser-utils.h" +#include "pluma-file-browser-error.h" +#include "pluma-file-browser-widget.h" +#include "pluma-file-browser-messages.h" -#define WINDOW_DATA_KEY "GeditFileBrowserPluginWindowData" -#define FILE_BROWSER_BASE_KEY "/apps/gedit-2/plugins/filebrowser" +#define WINDOW_DATA_KEY "PlumaFileBrowserPluginWindowData" +#define FILE_BROWSER_BASE_KEY "/apps/pluma-2/plugins/filebrowser" #define CAJA_CLICK_POLICY_BASE_KEY "/apps/caja/preferences" #define CAJA_CLICK_POLICY_KEY "click_policy" #define CAJA_ENABLE_DELETE_KEY "enable_delete" #define CAJA_CONFIRM_TRASH_KEY "confirm_trash" #define TERMINAL_EXEC_KEY "/desktop/mate/applications/terminal/exec" -#define GEDIT_FILE_BROWSER_PLUGIN_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_FILE_BROWSER_PLUGIN, GeditFileBrowserPluginPrivate)) +#define PLUMA_FILE_BROWSER_PLUGIN_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_FILE_BROWSER_PLUGIN, PlumaFileBrowserPluginPrivate)) -struct _GeditFileBrowserPluginPrivate +struct _PlumaFileBrowserPluginPrivate { gpointer dummy; }; -typedef struct _GeditFileBrowserPluginData +typedef struct _PlumaFileBrowserPluginData { - GeditFileBrowserWidget * tree_widget; + PlumaFileBrowserWidget * tree_widget; gulong merge_id; GtkActionGroup * action_group; GtkActionGroup * single_selection_action_group; @@ -67,75 +67,75 @@ typedef struct _GeditFileBrowserPluginData guint click_policy_handle; guint enable_delete_handle; guint confirm_trash_handle; -} GeditFileBrowserPluginData; +} PlumaFileBrowserPluginData; -static void on_uri_activated_cb (GeditFileBrowserWidget * widget, +static void on_uri_activated_cb (PlumaFileBrowserWidget * widget, gchar const *uri, - GeditWindow * window); -static void on_error_cb (GeditFileBrowserWidget * widget, + PlumaWindow * window); +static void on_error_cb (PlumaFileBrowserWidget * widget, guint code, gchar const *message, - GeditWindow * window); -static void on_model_set_cb (GeditFileBrowserView * widget, + PlumaWindow * window); +static void on_model_set_cb (PlumaFileBrowserView * widget, GParamSpec *arg1, - GeditWindow * window); -static void on_virtual_root_changed_cb (GeditFileBrowserStore * model, + PlumaWindow * window); +static void on_virtual_root_changed_cb (PlumaFileBrowserStore * model, GParamSpec * param, - GeditWindow * window); -static void on_filter_mode_changed_cb (GeditFileBrowserStore * model, + PlumaWindow * window); +static void on_filter_mode_changed_cb (PlumaFileBrowserStore * model, GParamSpec * param, - GeditWindow * window); -static void on_rename_cb (GeditFileBrowserStore * model, + PlumaWindow * window); +static void on_rename_cb (PlumaFileBrowserStore * model, const gchar * olduri, const gchar * newuri, - GeditWindow * window); -static void on_filter_pattern_changed_cb (GeditFileBrowserWidget * widget, + PlumaWindow * window); +static void on_filter_pattern_changed_cb (PlumaFileBrowserWidget * widget, GParamSpec * param, - GeditWindow * window); -static void on_tab_added_cb (GeditWindow * window, - GeditTab * tab, - GeditFileBrowserPluginData * data); -static gboolean on_confirm_delete_cb (GeditFileBrowserWidget * widget, - GeditFileBrowserStore * store, + PlumaWindow * window); +static void on_tab_added_cb (PlumaWindow * window, + PlumaTab * tab, + PlumaFileBrowserPluginData * data); +static gboolean on_confirm_delete_cb (PlumaFileBrowserWidget * widget, + PlumaFileBrowserStore * store, GList * rows, - GeditWindow * window); -static gboolean on_confirm_no_trash_cb (GeditFileBrowserWidget * widget, + PlumaWindow * window); +static gboolean on_confirm_no_trash_cb (PlumaFileBrowserWidget * widget, GList * files, - GeditWindow * window); + PlumaWindow * window); -GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE (GeditFileBrowserPlugin, filetree_plugin, \ - gedit_file_browser_enum_and_flag_register_type (type_module); \ - gedit_file_browser_store_register_type (type_module); \ - gedit_file_bookmarks_store_register_type (type_module); \ - gedit_file_browser_view_register_type (type_module); \ - gedit_file_browser_widget_register_type (type_module); \ +PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE (PlumaFileBrowserPlugin, filetree_plugin, \ + pluma_file_browser_enum_and_flag_register_type (type_module); \ + pluma_file_browser_store_register_type (type_module); \ + pluma_file_bookmarks_store_register_type (type_module); \ + pluma_file_browser_view_register_type (type_module); \ + pluma_file_browser_widget_register_type (type_module); \ ) static void -filetree_plugin_init (GeditFileBrowserPlugin * plugin) +filetree_plugin_init (PlumaFileBrowserPlugin * plugin) { - plugin->priv = GEDIT_FILE_BROWSER_PLUGIN_GET_PRIVATE (plugin); + plugin->priv = PLUMA_FILE_BROWSER_PLUGIN_GET_PRIVATE (plugin); } static void filetree_plugin_finalize (GObject * object) { - //GeditFileBrowserPlugin * plugin = GEDIT_FILE_BROWSER_PLUGIN (object); + //PlumaFileBrowserPlugin * plugin = PLUMA_FILE_BROWSER_PLUGIN (object); G_OBJECT_CLASS (filetree_plugin_parent_class)->finalize (object); } -static GeditFileBrowserPluginData * -get_plugin_data (GeditWindow * window) +static PlumaFileBrowserPluginData * +get_plugin_data (PlumaWindow * window) { - return (GeditFileBrowserPluginData *) (g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY)); + return (PlumaFileBrowserPluginData *) (g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY)); } static void -on_end_loading_cb (GeditFileBrowserStore * store, +on_end_loading_cb (PlumaFileBrowserStore * store, GtkTreeIter * iter, - GeditFileBrowserPluginData * data) + PlumaFileBrowserPluginData * data) { /* Disconnect the signal */ g_signal_handler_disconnect (store, data->end_loading_handle); @@ -144,13 +144,13 @@ on_end_loading_cb (GeditFileBrowserStore * store, } static void -prepare_auto_root (GeditFileBrowserPluginData *data) +prepare_auto_root (PlumaFileBrowserPluginData *data) { - GeditFileBrowserStore *store; + PlumaFileBrowserStore *store; data->auto_root = TRUE; - store = gedit_file_browser_widget_get_browser_store (data->tree_widget); + store = pluma_file_browser_widget_get_browser_store (data->tree_widget); if (data->end_loading_handle != 0) { g_signal_handler_disconnect (store, data->end_loading_handle); @@ -164,7 +164,7 @@ prepare_auto_root (GeditFileBrowserPluginData *data) } static void -restore_default_location (GeditFileBrowserPluginData *data) +restore_default_location (PlumaFileBrowserPluginData *data) { gchar * root; gchar * virtual_root; @@ -182,7 +182,7 @@ restore_default_location (GeditFileBrowserPluginData *data) if (bookmarks) { g_object_unref (client); - gedit_file_browser_widget_show_bookmarks (data->tree_widget); + pluma_file_browser_widget_show_bookmarks (data->tree_widget); return; } @@ -205,12 +205,12 @@ restore_default_location (GeditFileBrowserPluginData *data) if (remote || g_file_is_native (file)) { if (virtual_root != NULL && *virtual_root != '\0') { prepare_auto_root (data); - gedit_file_browser_widget_set_root_and_virtual_root (data->tree_widget, + pluma_file_browser_widget_set_root_and_virtual_root (data->tree_widget, root, virtual_root); } else { prepare_auto_root (data); - gedit_file_browser_widget_set_root (data->tree_widget, + pluma_file_browser_widget_set_root (data->tree_widget, root, TRUE); } @@ -225,11 +225,11 @@ restore_default_location (GeditFileBrowserPluginData *data) } static void -restore_filter (GeditFileBrowserPluginData * data) +restore_filter (PlumaFileBrowserPluginData * data) { MateConfClient * client; gchar *filter_mode; - GeditFileBrowserStoreFilterMode mode; + PlumaFileBrowserStoreFilterMode mode; gchar *pattern; client = mateconf_client_get_default (); @@ -242,33 +242,33 @@ restore_filter (GeditFileBrowserPluginData * data) NULL); /* Filter mode */ - mode = gedit_file_browser_store_filter_mode_get_default (); + mode = pluma_file_browser_store_filter_mode_get_default (); if (filter_mode != NULL) { if (strcmp (filter_mode, "hidden") == 0) { - mode = GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; + mode = PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; } else if (strcmp (filter_mode, "binary") == 0) { - mode = GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; + mode = PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; } else if (strcmp (filter_mode, "hidden_and_binary") == 0 || strcmp (filter_mode, "binary_and_hidden") == 0) { - mode = GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN | - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; + mode = PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN | + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY; } else if (strcmp (filter_mode, "none") == 0 || *filter_mode == '\0') { - mode = GEDIT_FILE_BROWSER_STORE_FILTER_MODE_NONE; + mode = PLUMA_FILE_BROWSER_STORE_FILTER_MODE_NONE; } } /* Set the filter mode */ - gedit_file_browser_store_set_filter_mode ( - gedit_file_browser_widget_get_browser_store (data->tree_widget), + pluma_file_browser_store_set_filter_mode ( + pluma_file_browser_widget_get_browser_store (data->tree_widget), mode); pattern = mateconf_client_get_string (client, FILE_BROWSER_BASE_KEY "/filter_pattern", NULL); - gedit_file_browser_widget_set_filter_pattern (data->tree_widget, + pluma_file_browser_widget_set_filter_pattern (data->tree_widget, pattern); g_object_unref (client); @@ -276,13 +276,13 @@ restore_filter (GeditFileBrowserPluginData * data) g_free (pattern); } -static GeditFileBrowserViewClickPolicy +static PlumaFileBrowserViewClickPolicy click_policy_from_string (gchar const *click_policy) { if (click_policy && strcmp (click_policy, "single") == 0) - return GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE; + return PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE; else - return GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE; + return PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE; } static void @@ -292,12 +292,12 @@ on_click_policy_changed (MateConfClient *client, gpointer user_data) { MateConfValue *value; - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; gchar const *click_policy; - GeditFileBrowserViewClickPolicy policy = GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE; - GeditFileBrowserView *view; + PlumaFileBrowserViewClickPolicy policy = PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE; + PlumaFileBrowserView *view; - data = (GeditFileBrowserPluginData *)(user_data); + data = (PlumaFileBrowserPluginData *)(user_data); value = mateconf_entry_get_value (entry); if (value && value->type == MATECONF_VALUE_STRING) { @@ -306,8 +306,8 @@ on_click_policy_changed (MateConfClient *client, policy = click_policy_from_string (click_policy); } - view = gedit_file_browser_widget_get_browser_view (data->tree_widget); - gedit_file_browser_view_set_click_policy (view, policy); + view = pluma_file_browser_widget_get_browser_view (data->tree_widget); + pluma_file_browser_view_set_click_policy (view, policy); } static void @@ -317,10 +317,10 @@ on_enable_delete_changed (MateConfClient *client, gpointer user_data) { MateConfValue *value; - GeditFileBrowserPluginData *data; + PlumaFileBrowserPluginData *data; gboolean enable = FALSE; - data = (GeditFileBrowserPluginData *)(user_data); + data = (PlumaFileBrowserPluginData *)(user_data); value = mateconf_entry_get_value (entry); if (value && value->type == MATECONF_VALUE_BOOL) @@ -336,10 +336,10 @@ on_confirm_trash_changed (MateConfClient *client, gpointer user_data) { MateConfValue *value; - GeditFileBrowserPluginData *data; + PlumaFileBrowserPluginData *data; gboolean enable = FALSE; - data = (GeditFileBrowserPluginData *)(user_data); + data = (PlumaFileBrowserPluginData *)(user_data); value = mateconf_entry_get_value (entry); if (value && value->type == MATECONF_VALUE_BOOL) @@ -349,13 +349,13 @@ on_confirm_trash_changed (MateConfClient *client, } static void -install_caja_prefs (GeditFileBrowserPluginData *data) +install_caja_prefs (PlumaFileBrowserPluginData *data) { MateConfClient *client; gchar *pref; gboolean prefb; - GeditFileBrowserViewClickPolicy policy; - GeditFileBrowserView *view; + PlumaFileBrowserViewClickPolicy policy; + PlumaFileBrowserView *view; client = mateconf_client_get_default (); if (!client) @@ -373,8 +373,8 @@ install_caja_prefs (GeditFileBrowserPluginData *data) policy = click_policy_from_string (pref); - view = gedit_file_browser_widget_get_browser_view (data->tree_widget); - gedit_file_browser_view_set_click_policy (view, policy); + view = pluma_file_browser_widget_get_browser_view (data->tree_widget); + pluma_file_browser_view_set_click_policy (view, policy); if (pref) { data->click_policy_handle = @@ -420,8 +420,8 @@ install_caja_prefs (GeditFileBrowserPluginData *data) } static void -set_root_from_doc (GeditFileBrowserPluginData * data, - GeditDocument * doc) +set_root_from_doc (PlumaFileBrowserPluginData * data, + PlumaDocument * doc) { GFile *file; GFile *parent; @@ -429,7 +429,7 @@ set_root_from_doc (GeditFileBrowserPluginData * data, if (doc == NULL) return; - file = gedit_document_get_location (doc); + file = pluma_document_get_location (doc); if (file == NULL) return; @@ -440,7 +440,7 @@ set_root_from_doc (GeditFileBrowserPluginData * data, root = g_file_get_uri (parent); - gedit_file_browser_widget_set_root (data->tree_widget, + pluma_file_browser_widget_set_root (data->tree_widget, root, TRUE); @@ -453,13 +453,13 @@ set_root_from_doc (GeditFileBrowserPluginData * data, static void on_action_set_active_root (GtkAction * action, - GeditWindow * window) + PlumaWindow * window) { - GeditFileBrowserPluginData *data; + PlumaFileBrowserPluginData *data; data = get_plugin_data (window); set_root_from_doc (data, - gedit_window_get_active_document (window)); + pluma_window_get_active_document (window)); } static gchar * @@ -488,9 +488,9 @@ get_terminal (void) static void on_action_open_terminal (GtkAction * action, - GeditWindow * window) + PlumaWindow * window) { - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; gchar * terminal; gchar * wd = NULL; gchar * local; @@ -498,18 +498,18 @@ on_action_open_terminal (GtkAction * action, GFile * file; GtkTreeIter iter; - GeditFileBrowserStore * store; + PlumaFileBrowserStore * store; data = get_plugin_data (window); /* Get the current directory */ - if (!gedit_file_browser_widget_get_selected_directory (data->tree_widget, &iter)) + if (!pluma_file_browser_widget_get_selected_directory (data->tree_widget, &iter)) return; - store = gedit_file_browser_widget_get_browser_store (data->tree_widget); + store = pluma_file_browser_widget_get_browser_store (data->tree_widget); gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &wd, -1); @@ -541,9 +541,9 @@ on_action_open_terminal (GtkAction * action, static void on_selection_changed_cb (GtkTreeSelection *selection, - GeditWindow *window) + PlumaWindow *window) { - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; GtkTreeView * tree_view; GtkTreeModel * model; GtkTreeIter iter; @@ -552,20 +552,20 @@ on_selection_changed_cb (GtkTreeSelection *selection, data = get_plugin_data (window); - tree_view = GTK_TREE_VIEW (gedit_file_browser_widget_get_browser_view (data->tree_widget)); + tree_view = GTK_TREE_VIEW (pluma_file_browser_widget_get_browser_view (data->tree_widget)); model = gtk_tree_view_get_model (tree_view); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; - sensitive = gedit_file_browser_widget_get_selected_directory (data->tree_widget, &iter); + sensitive = pluma_file_browser_widget_get_selected_directory (data->tree_widget, &iter); if (sensitive) { gtk_tree_model_get (model, &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); - sensitive = gedit_utils_uri_has_file_scheme (uri); + sensitive = pluma_utils_uri_has_file_scheme (uri); g_free (uri); } @@ -608,15 +608,15 @@ static GtkActionEntry extra_single_selection_actions[] = { }; static void -add_popup_ui (GeditWindow * window) +add_popup_ui (PlumaWindow * window) { - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; GtkUIManager * manager; GtkActionGroup * action_group; GError * error = NULL; data = get_plugin_data (window); - manager = gedit_file_browser_widget_get_ui_manager (data->tree_widget); + manager = pluma_file_browser_widget_get_ui_manager (data->tree_widget); action_group = gtk_action_group_new ("FileBrowserPluginExtra"); gtk_action_group_set_translation_domain (action_group, NULL); @@ -648,13 +648,13 @@ add_popup_ui (GeditWindow * window) } static void -remove_popup_ui (GeditWindow * window) +remove_popup_ui (PlumaWindow * window) { - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; GtkUIManager * manager; data = get_plugin_data (window); - manager = gedit_file_browser_widget_get_ui_manager (data->tree_widget); + manager = pluma_file_browser_widget_get_ui_manager (data->tree_widget); gtk_ui_manager_remove_ui (manager, data->merge_id); gtk_ui_manager_remove_action_group (manager, data->action_group); @@ -665,35 +665,35 @@ remove_popup_ui (GeditWindow * window) } static void -impl_updateui (GeditPlugin * plugin, GeditWindow * window) +impl_updateui (PlumaPlugin * plugin, PlumaWindow * window) { - GeditFileBrowserPluginData * data; - GeditDocument * doc; + PlumaFileBrowserPluginData * data; + PlumaDocument * doc; data = get_plugin_data (window); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); gtk_action_set_sensitive (gtk_action_group_get_action (data->action_group, "SetActiveRoot"), doc != NULL && - !gedit_document_is_untitled (doc)); + !pluma_document_is_untitled (doc)); } static void -impl_activate (GeditPlugin * plugin, GeditWindow * window) +impl_activate (PlumaPlugin * plugin, PlumaWindow * window) { - GeditPanel * panel; - GeditFileBrowserPluginData * data; + PlumaPanel * panel; + PlumaFileBrowserPluginData * data; GtkWidget * image; GdkPixbuf * pixbuf; - GeditFileBrowserStore * store; + PlumaFileBrowserStore * store; gchar *data_dir; - data = g_new0 (GeditFileBrowserPluginData, 1); + data = g_new0 (PlumaFileBrowserPluginData, 1); - data_dir = gedit_plugin_get_data_dir (plugin); - data->tree_widget = GEDIT_FILE_BROWSER_WIDGET (gedit_file_browser_widget_new (data_dir)); + data_dir = pluma_plugin_get_data_dir (plugin); + data->tree_widget = PLUMA_FILE_BROWSER_WIDGET (pluma_file_browser_widget_new (data_dir)); g_free (data_dir); g_signal_connect (data->tree_widget, @@ -719,14 +719,14 @@ impl_activate (GeditPlugin * plugin, GeditWindow * window) window); g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW - (gedit_file_browser_widget_get_browser_view + (pluma_file_browser_widget_get_browser_view (data->tree_widget))), "changed", G_CALLBACK (on_selection_changed_cb), window); - panel = gedit_window_get_side_panel (window); - pixbuf = gedit_file_browser_utils_pixbuf_from_theme("system-file-manager", + panel = pluma_window_get_side_panel (window); + pixbuf = pluma_file_browser_utils_pixbuf_from_theme("system-file-manager", GTK_ICON_SIZE_MENU); if (pixbuf) { @@ -737,7 +737,7 @@ impl_activate (GeditPlugin * plugin, GeditWindow * window) } gtk_widget_show(image); - gedit_panel_add_item (panel, + pluma_panel_add_item (panel, GTK_WIDGET (data->tree_widget), _("File Browser"), image); @@ -753,12 +753,12 @@ impl_activate (GeditPlugin * plugin, GeditWindow * window) install_caja_prefs (data); /* Connect signals to store the last visited location */ - g_signal_connect (gedit_file_browser_widget_get_browser_view (data->tree_widget), + g_signal_connect (pluma_file_browser_widget_get_browser_view (data->tree_widget), "notify::model", G_CALLBACK (on_model_set_cb), window); - store = gedit_file_browser_widget_get_browser_store (data->tree_widget); + store = pluma_file_browser_widget_get_browser_store (data->tree_widget); g_signal_connect (store, "notify::virtual-root", G_CALLBACK (on_virtual_root_changed_cb), @@ -780,22 +780,22 @@ impl_activate (GeditPlugin * plugin, GeditWindow * window) data); /* Register messages on the bus */ - gedit_file_browser_messages_register (window, data->tree_widget); + pluma_file_browser_messages_register (window, data->tree_widget); impl_updateui (plugin, window); } static void -impl_deactivate (GeditPlugin * plugin, GeditWindow * window) +impl_deactivate (PlumaPlugin * plugin, PlumaWindow * window) { - GeditFileBrowserPluginData * data; - GeditPanel * panel; + PlumaFileBrowserPluginData * data; + PlumaPanel * panel; MateConfClient *client; data = get_plugin_data (window); /* Unregister messages from the bus */ - gedit_file_browser_messages_unregister (window); + pluma_file_browser_messages_unregister (window); /* Disconnect signals */ g_signal_handlers_disconnect_by_func (window, @@ -817,18 +817,18 @@ impl_deactivate (GeditPlugin * plugin, GeditWindow * window) g_object_unref (client); remove_popup_ui (window); - panel = gedit_window_get_side_panel (window); - gedit_panel_remove_item (panel, GTK_WIDGET (data->tree_widget)); + panel = pluma_window_get_side_panel (window); + pluma_panel_remove_item (panel, GTK_WIDGET (data->tree_widget)); g_free (data); g_object_set_data (G_OBJECT (window), WINDOW_DATA_KEY, NULL); } static void -filetree_plugin_class_init (GeditFileBrowserPluginClass * klass) +filetree_plugin_class_init (PlumaFileBrowserPluginClass * klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass * plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass * plugin_class = PLUMA_PLUGIN_CLASS (klass); object_class->finalize = filetree_plugin_finalize; @@ -837,64 +837,64 @@ filetree_plugin_class_init (GeditFileBrowserPluginClass * klass) plugin_class->update_ui = impl_updateui; g_type_class_add_private (object_class, - sizeof (GeditFileBrowserPluginPrivate)); + sizeof (PlumaFileBrowserPluginPrivate)); } /* Callbacks */ static void -on_uri_activated_cb (GeditFileBrowserWidget * tree_widget, - gchar const *uri, GeditWindow * window) +on_uri_activated_cb (PlumaFileBrowserWidget * tree_widget, + gchar const *uri, PlumaWindow * window) { - gedit_commands_load_uri (window, uri, NULL, 0); + pluma_commands_load_uri (window, uri, NULL, 0); } static void -on_error_cb (GeditFileBrowserWidget * tree_widget, - guint code, gchar const *message, GeditWindow * window) +on_error_cb (PlumaFileBrowserWidget * tree_widget, + guint code, gchar const *message, PlumaWindow * window) { gchar * title; GtkWidget * dlg; - GeditFileBrowserPluginData * data; + PlumaFileBrowserPluginData * data; data = get_plugin_data (window); /* Do not show the error when the root has been set automatically */ - if (data->auto_root && (code == GEDIT_FILE_BROWSER_ERROR_SET_ROOT || - code == GEDIT_FILE_BROWSER_ERROR_LOAD_DIRECTORY)) + if (data->auto_root && (code == PLUMA_FILE_BROWSER_ERROR_SET_ROOT || + code == PLUMA_FILE_BROWSER_ERROR_LOAD_DIRECTORY)) { /* Show bookmarks */ - gedit_file_browser_widget_show_bookmarks (data->tree_widget); + pluma_file_browser_widget_show_bookmarks (data->tree_widget); return; } switch (code) { - case GEDIT_FILE_BROWSER_ERROR_NEW_DIRECTORY: + case PLUMA_FILE_BROWSER_ERROR_NEW_DIRECTORY: title = _("An error occurred while creating a new directory"); break; - case GEDIT_FILE_BROWSER_ERROR_NEW_FILE: + case PLUMA_FILE_BROWSER_ERROR_NEW_FILE: title = _("An error occurred while creating a new file"); break; - case GEDIT_FILE_BROWSER_ERROR_RENAME: + case PLUMA_FILE_BROWSER_ERROR_RENAME: title = _ ("An error occurred while renaming a file or directory"); break; - case GEDIT_FILE_BROWSER_ERROR_DELETE: + case PLUMA_FILE_BROWSER_ERROR_DELETE: title = _ ("An error occurred while deleting a file or directory"); break; - case GEDIT_FILE_BROWSER_ERROR_OPEN_DIRECTORY: + case PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY: title = _ ("An error occurred while opening a directory in the file manager"); break; - case GEDIT_FILE_BROWSER_ERROR_SET_ROOT: + case PLUMA_FILE_BROWSER_ERROR_SET_ROOT: title = _("An error occurred while setting a root directory"); break; - case GEDIT_FILE_BROWSER_ERROR_LOAD_DIRECTORY: + case PLUMA_FILE_BROWSER_ERROR_LOAD_DIRECTORY: title = _("An error occurred while loading a directory"); break; @@ -916,15 +916,15 @@ on_error_cb (GeditFileBrowserWidget * tree_widget, } static void -on_model_set_cb (GeditFileBrowserView * widget, +on_model_set_cb (PlumaFileBrowserView * widget, GParamSpec *arg1, - GeditWindow * window) + PlumaWindow * window) { - GeditFileBrowserPluginData * data = get_plugin_data (window); + PlumaFileBrowserPluginData * data = get_plugin_data (window); GtkTreeModel * model; MateConfClient * client; - model = gtk_tree_view_get_model (GTK_TREE_VIEW (gedit_file_browser_widget_get_browser_view (data->tree_widget))); + model = gtk_tree_view_get_model (GTK_TREE_VIEW (pluma_file_browser_widget_get_browser_view (data->tree_widget))); if (model == NULL) return; @@ -932,38 +932,38 @@ on_model_set_cb (GeditFileBrowserView * widget, client = mateconf_client_get_default (); mateconf_client_set_bool (client, FILE_BROWSER_BASE_KEY "/on_load/tree_view", - GEDIT_IS_FILE_BROWSER_STORE (model), + PLUMA_IS_FILE_BROWSER_STORE (model), NULL); g_object_unref (client); } static void -on_filter_mode_changed_cb (GeditFileBrowserStore * model, +on_filter_mode_changed_cb (PlumaFileBrowserStore * model, GParamSpec * param, - GeditWindow * window) + PlumaWindow * window) { MateConfClient * client; - GeditFileBrowserStoreFilterMode mode; + PlumaFileBrowserStoreFilterMode mode; client = mateconf_client_get_default (); if (!client) return; - mode = gedit_file_browser_store_get_filter_mode (model); + mode = pluma_file_browser_store_get_filter_mode (model); - if ((mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) && - (mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY)) { + if ((mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) && + (mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY)) { mateconf_client_set_string (client, FILE_BROWSER_BASE_KEY "/filter_mode", "hidden_and_binary", NULL); - } else if (mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) { + } else if (mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) { mateconf_client_set_string (client, FILE_BROWSER_BASE_KEY "/filter_mode", "hidden", NULL); - } else if (mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY) { + } else if (mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY) { mateconf_client_set_string (client, FILE_BROWSER_BASE_KEY "/filter_mode", "binary", @@ -980,30 +980,30 @@ on_filter_mode_changed_cb (GeditFileBrowserStore * model, } static void -on_rename_cb (GeditFileBrowserStore * store, +on_rename_cb (PlumaFileBrowserStore * store, const gchar * olduri, const gchar * newuri, - GeditWindow * window) + PlumaWindow * window) { - GeditApp * app; + PlumaApp * app; GList * documents; GList * item; - GeditDocument * doc; + PlumaDocument * doc; GFile * docfile; GFile * oldfile; GFile * newfile; gchar * uri; /* Find all documents and set its uri to newuri where it matches olduri */ - app = gedit_app_get_default (); - documents = gedit_app_get_documents (app); + app = pluma_app_get_default (); + documents = pluma_app_get_documents (app); oldfile = g_file_new_for_uri (olduri); newfile = g_file_new_for_uri (newuri); for (item = documents; item; item = item->next) { - doc = GEDIT_DOCUMENT (item->data); - uri = gedit_document_get_uri (doc); + doc = PLUMA_DOCUMENT (item->data); + uri = pluma_document_get_uri (doc); if (!uri) continue; @@ -1011,7 +1011,7 @@ on_rename_cb (GeditFileBrowserStore * store, docfile = g_file_new_for_uri (uri); if (g_file_equal (docfile, oldfile)) { - gedit_document_set_uri (doc, newuri); + pluma_document_set_uri (doc, newuri); } else { gchar *relative; @@ -1027,7 +1027,7 @@ on_rename_cb (GeditFileBrowserStore * store, docfile = g_file_get_child (newfile, relative); uri = g_file_get_uri (docfile); - gedit_document_set_uri (doc, uri); + pluma_document_set_uri (doc, uri); } g_free (relative); @@ -1044,9 +1044,9 @@ on_rename_cb (GeditFileBrowserStore * store, } static void -on_filter_pattern_changed_cb (GeditFileBrowserWidget * widget, +on_filter_pattern_changed_cb (PlumaFileBrowserWidget * widget, GParamSpec * param, - GeditWindow * window) + PlumaWindow * window) { MateConfClient * client; gchar * pattern; @@ -1073,16 +1073,16 @@ on_filter_pattern_changed_cb (GeditFileBrowserWidget * widget, } static void -on_virtual_root_changed_cb (GeditFileBrowserStore * store, +on_virtual_root_changed_cb (PlumaFileBrowserStore * store, GParamSpec * param, - GeditWindow * window) + PlumaWindow * window) { - GeditFileBrowserPluginData * data = get_plugin_data (window); + PlumaFileBrowserPluginData * data = get_plugin_data (window); gchar * root; gchar * virtual_root; MateConfClient * client; - root = gedit_file_browser_store_get_root (store); + root = pluma_file_browser_store_get_root (store); if (!root) return; @@ -1097,7 +1097,7 @@ on_virtual_root_changed_cb (GeditFileBrowserStore * store, root, NULL); - virtual_root = gedit_file_browser_store_get_virtual_root (store); + virtual_root = pluma_file_browser_store_get_virtual_root (store); if (!virtual_root) { /* Set virtual to same as root then */ @@ -1122,9 +1122,9 @@ on_virtual_root_changed_cb (GeditFileBrowserStore * store, } static void -on_tab_added_cb (GeditWindow * window, - GeditTab * tab, - GeditFileBrowserPluginData * data) +on_tab_added_cb (PlumaWindow * window, + PlumaTab * tab, + PlumaFileBrowserPluginData * data) { MateConfClient *client; gboolean open; @@ -1140,14 +1140,14 @@ on_tab_added_cb (GeditWindow * window, NULL); if (open) { - GeditDocument *doc; + PlumaDocument *doc; gchar *uri; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - uri = gedit_document_get_uri (doc); + uri = pluma_document_get_uri (doc); - if (uri != NULL && gedit_utils_uri_has_file_scheme (uri)) { + if (uri != NULL && pluma_utils_uri_has_file_scheme (uri)) { prepare_auto_root (data); set_root_from_doc (data, doc); load_default = FALSE; @@ -1175,16 +1175,16 @@ get_filename_from_path (GtkTreeModel *model, GtkTreePath *path) gtk_tree_model_get_iter (model, &iter, path); gtk_tree_model_get (model, &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); - return gedit_file_browser_utils_uri_basename (uri); + return pluma_file_browser_utils_uri_basename (uri); } static gboolean -on_confirm_no_trash_cb (GeditFileBrowserWidget * widget, +on_confirm_no_trash_cb (PlumaFileBrowserWidget * widget, GList * files, - GeditWindow * window) + PlumaWindow * window) { gchar *normal; gchar *message; @@ -1194,14 +1194,14 @@ on_confirm_no_trash_cb (GeditFileBrowserWidget * widget, message = _("Cannot move file to trash, do you\nwant to delete permanently?"); if (files->next == NULL) { - normal = gedit_file_browser_utils_file_basename (G_FILE (files->data)); + normal = pluma_file_browser_utils_file_basename (G_FILE (files->data)); secondary = g_strdup_printf (_("The file \"%s\" cannot be moved to the trash."), normal); g_free (normal); } else { secondary = g_strdup (_("The selected files cannot be moved to the trash.")); } - result = gedit_file_browser_utils_confirmation_dialog (window, + result = pluma_file_browser_utils_confirmation_dialog (window, GTK_MESSAGE_QUESTION, message, secondary, @@ -1213,16 +1213,16 @@ on_confirm_no_trash_cb (GeditFileBrowserWidget * widget, } static gboolean -on_confirm_delete_cb (GeditFileBrowserWidget *widget, - GeditFileBrowserStore *store, +on_confirm_delete_cb (PlumaFileBrowserWidget *widget, + PlumaFileBrowserStore *store, GList *paths, - GeditWindow *window) + PlumaWindow *window) { gchar *normal; gchar *message; gchar *secondary; gboolean result; - GeditFileBrowserPluginData *data; + PlumaFileBrowserPluginData *data; data = get_plugin_data (window); @@ -1239,7 +1239,7 @@ on_confirm_delete_cb (GeditFileBrowserWidget *widget, secondary = _("If you delete an item, it is permanently lost."); - result = gedit_file_browser_utils_confirmation_dialog (window, + result = pluma_file_browser_utils_confirmation_dialog (window, GTK_MESSAGE_QUESTION, message, secondary, diff --git a/plugins/filebrowser/pluma-file-browser-plugin.h b/plugins/filebrowser/pluma-file-browser-plugin.h new file mode 100755 index 0000000..634c56a --- /dev/null +++ b/plugins/filebrowser/pluma-file-browser-plugin.h @@ -0,0 +1,71 @@ +/* + * pluma-file-browser-plugin.h - Pluma plugin providing easy file access + * from the sidepanel + * + * Copyright (C) 2006 - Jesse van den Kieboom + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_FILE_BROWSER_PLUGIN_H__ +#define __PLUMA_FILE_BROWSER_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_FILE_BROWSER_PLUGIN (filetree_plugin_get_type ()) +#define PLUMA_FILE_BROWSER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_FILE_BROWSER_PLUGIN, PlumaFileBrowserPlugin)) +#define PLUMA_FILE_BROWSER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_FILE_BROWSER_PLUGIN, PlumaFileBrowserPluginClass)) +#define PLUMA_IS_FILE_BROWSER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_FILE_BROWSER_PLUGIN)) +#define PLUMA_IS_FILE_BROWSER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_FILE_BROWSER_PLUGIN)) +#define PLUMA_FILE_BROWSER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_FILE_BROWSER_PLUGIN, PlumaFileBrowserPluginClass)) + +/* Private structure type */ +typedef struct _PlumaFileBrowserPluginPrivate PlumaFileBrowserPluginPrivate; +typedef struct _PlumaFileBrowserPlugin PlumaFileBrowserPlugin; +typedef struct _PlumaFileBrowserPluginClass PlumaFileBrowserPluginClass; + +struct _PlumaFileBrowserPlugin +{ + PlumaPlugin parent_instance; + + /*< private > */ + PlumaFileBrowserPluginPrivate *priv; +}; + + + +struct _PlumaFileBrowserPluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType filetree_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule * module); + +G_END_DECLS +#endif /* __PLUMA_FILE_BROWSER_PLUGIN_H__ */ + +// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-store.c b/plugins/filebrowser/pluma-file-browser-store.c similarity index 77% rename from plugins/filebrowser/gedit-file-browser-store.c rename to plugins/filebrowser/pluma-file-browser-store.c index 6c4f5b5..a046fe4 100755 --- a/plugins/filebrowser/gedit-file-browser-store.c +++ b/plugins/filebrowser/pluma-file-browser-store.c @@ -1,5 +1,5 @@ /* - * gedit-file-browser-store.c - Gedit plugin providing easy file access + * pluma-file-browser-store.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -26,18 +26,18 @@ #include #include #include -#include -#include +#include +#include -#include "gedit-file-browser-store.h" -#include "gedit-file-browser-marshal.h" -#include "gedit-file-browser-enum-types.h" -#include "gedit-file-browser-error.h" -#include "gedit-file-browser-utils.h" +#include "pluma-file-browser-store.h" +#include "pluma-file-browser-marshal.h" +#include "pluma-file-browser-enum-types.h" +#include "pluma-file-browser-error.h" +#include "pluma-file-browser-utils.h" -#define GEDIT_FILE_BROWSER_STORE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), \ - GEDIT_TYPE_FILE_BROWSER_STORE, \ - GeditFileBrowserStorePrivate)) +#define PLUMA_FILE_BROWSER_STORE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), \ + PLUMA_TYPE_FILE_BROWSER_STORE, \ + PlumaFileBrowserStorePrivate)) #define NODE_IS_DIR(node) (FILE_IS_DIR((node)->flags)) #define NODE_IS_HIDDEN(node) (FILE_IS_HIDDEN((node)->flags)) @@ -66,7 +66,7 @@ typedef gint (*SortFunc) (FileBrowserNode * node1, struct _AsyncData { - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; GCancellable * cancellable; gboolean trash; GList * files; @@ -82,7 +82,7 @@ struct _AsyncNode }; typedef struct { - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; gchar * virtual_root; GMountOperation * operation; GCancellable * cancellable; @@ -110,17 +110,17 @@ struct _FileBrowserNodeDir GCancellable *cancellable; GFileMonitor *monitor; - GeditFileBrowserStore *model; + PlumaFileBrowserStore *model; }; -struct _GeditFileBrowserStorePrivate +struct _PlumaFileBrowserStorePrivate { FileBrowserNode *root; FileBrowserNode *virtual_root; - GType column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_NUM]; + GType column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_NUM]; - GeditFileBrowserStoreFilterMode filter_mode; - GeditFileBrowserStoreFilterFunc filter_func; + PlumaFileBrowserStoreFilterMode filter_mode; + PlumaFileBrowserStoreFilterFunc filter_func; gpointer filter_user_data; SortFunc sort_func; @@ -129,82 +129,82 @@ struct _GeditFileBrowserStorePrivate MountInfo *mount_info; }; -static FileBrowserNode *model_find_node (GeditFileBrowserStore *model, +static FileBrowserNode *model_find_node (PlumaFileBrowserStore *model, FileBrowserNode *node, GFile *uri); -static void model_remove_node (GeditFileBrowserStore * model, +static void model_remove_node (PlumaFileBrowserStore * model, FileBrowserNode * node, GtkTreePath * path, gboolean free_nodes); -static void set_virtual_root_from_node (GeditFileBrowserStore * model, +static void set_virtual_root_from_node (PlumaFileBrowserStore * model, FileBrowserNode * node); -static void gedit_file_browser_store_iface_init (GtkTreeModelIface * iface); -static GtkTreeModelFlags gedit_file_browser_store_get_flags (GtkTreeModel * tree_model); -static gint gedit_file_browser_store_get_n_columns (GtkTreeModel * tree_model); -static GType gedit_file_browser_store_get_column_type (GtkTreeModel * tree_model, +static void pluma_file_browser_store_iface_init (GtkTreeModelIface * iface); +static GtkTreeModelFlags pluma_file_browser_store_get_flags (GtkTreeModel * tree_model); +static gint pluma_file_browser_store_get_n_columns (GtkTreeModel * tree_model); +static GType pluma_file_browser_store_get_column_type (GtkTreeModel * tree_model, gint index); -static gboolean gedit_file_browser_store_get_iter (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_get_iter (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreePath * path); -static GtkTreePath *gedit_file_browser_store_get_path (GtkTreeModel * tree_model, +static GtkTreePath *pluma_file_browser_store_get_path (GtkTreeModel * tree_model, GtkTreeIter * iter); -static void gedit_file_browser_store_get_value (GtkTreeModel * tree_model, +static void pluma_file_browser_store_get_value (GtkTreeModel * tree_model, GtkTreeIter * iter, gint column, GValue * value); -static gboolean gedit_file_browser_store_iter_next (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_iter_next (GtkTreeModel * tree_model, GtkTreeIter * iter); -static gboolean gedit_file_browser_store_iter_children (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_iter_children (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * parent); -static gboolean gedit_file_browser_store_iter_has_child (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_iter_has_child (GtkTreeModel * tree_model, GtkTreeIter * iter); -static gint gedit_file_browser_store_iter_n_children (GtkTreeModel * tree_model, +static gint pluma_file_browser_store_iter_n_children (GtkTreeModel * tree_model, GtkTreeIter * iter); -static gboolean gedit_file_browser_store_iter_nth_child (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_iter_nth_child (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * parent, gint n); -static gboolean gedit_file_browser_store_iter_parent (GtkTreeModel * tree_model, +static gboolean pluma_file_browser_store_iter_parent (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * child); -static void gedit_file_browser_store_row_inserted (GtkTreeModel * tree_model, +static void pluma_file_browser_store_row_inserted (GtkTreeModel * tree_model, GtkTreePath * path, GtkTreeIter * iter); -static void gedit_file_browser_store_drag_source_init (GtkTreeDragSourceIface * iface); -static gboolean gedit_file_browser_store_row_draggable (GtkTreeDragSource * drag_source, +static void pluma_file_browser_store_drag_source_init (GtkTreeDragSourceIface * iface); +static gboolean pluma_file_browser_store_row_draggable (GtkTreeDragSource * drag_source, GtkTreePath * path); -static gboolean gedit_file_browser_store_drag_data_delete (GtkTreeDragSource * drag_source, +static gboolean pluma_file_browser_store_drag_data_delete (GtkTreeDragSource * drag_source, GtkTreePath * path); -static gboolean gedit_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, +static gboolean pluma_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, GtkTreePath * path, GtkSelectionData * selection_data); -static void file_browser_node_free (GeditFileBrowserStore * model, +static void file_browser_node_free (PlumaFileBrowserStore * model, FileBrowserNode * node); -static void model_add_node (GeditFileBrowserStore * model, +static void model_add_node (PlumaFileBrowserStore * model, FileBrowserNode * child, FileBrowserNode * parent); -static void model_clear (GeditFileBrowserStore * model, +static void model_clear (PlumaFileBrowserStore * model, gboolean free_nodes); static gint model_sort_default (FileBrowserNode * node1, FileBrowserNode * node2); -static void model_check_dummy (GeditFileBrowserStore * model, +static void model_check_dummy (PlumaFileBrowserStore * model, FileBrowserNode * node); static void next_files_async (GFileEnumerator * enumerator, AsyncNode * async); -GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE (GeditFileBrowserStore, gedit_file_browser_store, +PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE (PlumaFileBrowserStore, pluma_file_browser_store, G_TYPE_OBJECT, - GEDIT_PLUGIN_IMPLEMENT_INTERFACE (gedit_file_browser_store_tree_model, + PLUMA_PLUGIN_IMPLEMENT_INTERFACE (pluma_file_browser_store_tree_model, GTK_TYPE_TREE_MODEL, - gedit_file_browser_store_iface_init) - GEDIT_PLUGIN_IMPLEMENT_INTERFACE (gedit_file_browser_store_drag_source, + pluma_file_browser_store_iface_init) + PLUMA_PLUGIN_IMPLEMENT_INTERFACE (pluma_file_browser_store_drag_source, GTK_TYPE_TREE_DRAG_SOURCE, - gedit_file_browser_store_drag_source_init)) + pluma_file_browser_store_drag_source_init)) /* Properties */ enum { @@ -232,7 +232,7 @@ enum static guint model_signals[NUM_SIGNALS] = { 0 }; static void -cancel_mount_operation (GeditFileBrowserStore *obj) +cancel_mount_operation (PlumaFileBrowserStore *obj) { if (obj->priv->mount_info != NULL) { @@ -243,9 +243,9 @@ cancel_mount_operation (GeditFileBrowserStore *obj) } static void -gedit_file_browser_store_finalize (GObject * object) +pluma_file_browser_store_finalize (GObject * object) { - GeditFileBrowserStore *obj = GEDIT_FILE_BROWSER_STORE (object); + PlumaFileBrowserStore *obj = PLUMA_FILE_BROWSER_STORE (object); GSList *item; /* Free all the nodes */ @@ -263,7 +263,7 @@ gedit_file_browser_store_finalize (GObject * object) cancel_mount_operation (obj); g_slist_free (obj->priv->async_handles); - G_OBJECT_CLASS (gedit_file_browser_store_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_file_browser_store_parent_class)->finalize (object); } static void @@ -281,12 +281,12 @@ set_gvalue_from_node (GValue *value, } static void -gedit_file_browser_store_get_property (GObject *object, +pluma_file_browser_store_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditFileBrowserStore *obj = GEDIT_FILE_BROWSER_STORE (object); + PlumaFileBrowserStore *obj = PLUMA_FILE_BROWSER_STORE (object); switch (prop_id) { @@ -306,17 +306,17 @@ gedit_file_browser_store_get_property (GObject *object, } static void -gedit_file_browser_store_set_property (GObject *object, +pluma_file_browser_store_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditFileBrowserStore *obj = GEDIT_FILE_BROWSER_STORE (object); + PlumaFileBrowserStore *obj = PLUMA_FILE_BROWSER_STORE (object); switch (prop_id) { case PROP_FILTER_MODE: - gedit_file_browser_store_set_filter_mode (obj, + pluma_file_browser_store_set_filter_mode (obj, g_value_get_flags (value)); break; default: @@ -326,14 +326,14 @@ gedit_file_browser_store_set_property (GObject *object, } static void -gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) +pluma_file_browser_store_class_init (PlumaFileBrowserStoreClass * klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_file_browser_store_finalize; + object_class->finalize = pluma_file_browser_store_finalize; - object_class->get_property = gedit_file_browser_store_get_property; - object_class->set_property = gedit_file_browser_store_set_property; + object_class->get_property = pluma_file_browser_store_get_property; + object_class->set_property = pluma_file_browser_store_set_property; g_object_class_install_property (object_class, PROP_ROOT, g_param_spec_string ("root", @@ -353,15 +353,15 @@ gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) g_param_spec_flags ("filter-mode", "Filter Mode", "The filter mode", - GEDIT_TYPE_FILE_BROWSER_STORE_FILTER_MODE, - gedit_file_browser_store_filter_mode_get_default (), + PLUMA_TYPE_FILE_BROWSER_STORE_FILTER_MODE, + pluma_file_browser_store_filter_mode_get_default (), G_PARAM_READWRITE)); model_signals[BEGIN_LOADING] = g_signal_new ("begin-loading", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, begin_loading), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GTK_TYPE_TREE_ITER); @@ -369,31 +369,31 @@ gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) g_signal_new ("end-loading", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, end_loading), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GTK_TYPE_TREE_ITER); model_signals[ERROR] = g_signal_new ("error", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, error), NULL, NULL, - gedit_file_browser_marshal_VOID__UINT_STRING, + pluma_file_browser_marshal_VOID__UINT_STRING, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING); model_signals[NO_TRASH] = g_signal_new ("no-trash", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, no_trash), g_signal_accumulator_true_handled, NULL, - gedit_file_browser_marshal_BOOL__POINTER, + pluma_file_browser_marshal_BOOL__POINTER, G_TYPE_BOOLEAN, 1, G_TYPE_POINTER); model_signals[RENAME] = g_signal_new ("rename", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, rename), NULL, NULL, - gedit_file_browser_marshal_VOID__STRING_STRING, + pluma_file_browser_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); @@ -401,7 +401,7 @@ gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) g_signal_new ("begin-refresh", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, begin_refresh), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); @@ -409,7 +409,7 @@ gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) g_signal_new ("end-refresh", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, end_refresh), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); @@ -417,60 +417,60 @@ gedit_file_browser_store_class_init (GeditFileBrowserStoreClass * klass) g_signal_new ("unload", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserStoreClass, + G_STRUCT_OFFSET (PlumaFileBrowserStoreClass, unload), NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); g_type_class_add_private (object_class, - sizeof (GeditFileBrowserStorePrivate)); + sizeof (PlumaFileBrowserStorePrivate)); } static void -gedit_file_browser_store_iface_init (GtkTreeModelIface * iface) +pluma_file_browser_store_iface_init (GtkTreeModelIface * iface) { - iface->get_flags = gedit_file_browser_store_get_flags; - iface->get_n_columns = gedit_file_browser_store_get_n_columns; - iface->get_column_type = gedit_file_browser_store_get_column_type; - iface->get_iter = gedit_file_browser_store_get_iter; - iface->get_path = gedit_file_browser_store_get_path; - iface->get_value = gedit_file_browser_store_get_value; - iface->iter_next = gedit_file_browser_store_iter_next; - iface->iter_children = gedit_file_browser_store_iter_children; - iface->iter_has_child = gedit_file_browser_store_iter_has_child; - iface->iter_n_children = gedit_file_browser_store_iter_n_children; - iface->iter_nth_child = gedit_file_browser_store_iter_nth_child; - iface->iter_parent = gedit_file_browser_store_iter_parent; - iface->row_inserted = gedit_file_browser_store_row_inserted; + iface->get_flags = pluma_file_browser_store_get_flags; + iface->get_n_columns = pluma_file_browser_store_get_n_columns; + iface->get_column_type = pluma_file_browser_store_get_column_type; + iface->get_iter = pluma_file_browser_store_get_iter; + iface->get_path = pluma_file_browser_store_get_path; + iface->get_value = pluma_file_browser_store_get_value; + iface->iter_next = pluma_file_browser_store_iter_next; + iface->iter_children = pluma_file_browser_store_iter_children; + iface->iter_has_child = pluma_file_browser_store_iter_has_child; + iface->iter_n_children = pluma_file_browser_store_iter_n_children; + iface->iter_nth_child = pluma_file_browser_store_iter_nth_child; + iface->iter_parent = pluma_file_browser_store_iter_parent; + iface->row_inserted = pluma_file_browser_store_row_inserted; } static void -gedit_file_browser_store_drag_source_init (GtkTreeDragSourceIface * iface) +pluma_file_browser_store_drag_source_init (GtkTreeDragSourceIface * iface) { - iface->row_draggable = gedit_file_browser_store_row_draggable; - iface->drag_data_delete = gedit_file_browser_store_drag_data_delete; - iface->drag_data_get = gedit_file_browser_store_drag_data_get; + iface->row_draggable = pluma_file_browser_store_row_draggable; + iface->drag_data_delete = pluma_file_browser_store_drag_data_delete; + iface->drag_data_get = pluma_file_browser_store_drag_data_get; } static void -gedit_file_browser_store_init (GeditFileBrowserStore * obj) +pluma_file_browser_store_init (PlumaFileBrowserStore * obj) { - obj->priv = GEDIT_FILE_BROWSER_STORE_GET_PRIVATE (obj); + obj->priv = PLUMA_FILE_BROWSER_STORE_GET_PRIVATE (obj); - obj->priv->column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_URI] = + obj->priv->column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_URI] = G_TYPE_STRING; - obj->priv->column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_NAME] = + obj->priv->column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_NAME] = G_TYPE_STRING; - obj->priv->column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS] = + obj->priv->column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS] = G_TYPE_UINT; - obj->priv->column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_ICON] = + obj->priv->column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_ICON] = GDK_TYPE_PIXBUF; - obj->priv->column_types[GEDIT_FILE_BROWSER_STORE_COLUMN_EMBLEM] = + obj->priv->column_types[PLUMA_FILE_BROWSER_STORE_COLUMN_EMBLEM] = GDK_TYPE_PIXBUF; // Default filter mode is hiding the hidden files - obj->priv->filter_mode = gedit_file_browser_store_filter_mode_get_default (); + obj->priv->filter_mode = pluma_file_browser_store_filter_mode_get_default (); obj->priv->sort_func = model_sort_default; } @@ -487,13 +487,13 @@ node_has_parent (FileBrowserNode * node, FileBrowserNode * parent) } static gboolean -node_in_tree (GeditFileBrowserStore * model, FileBrowserNode * node) +node_in_tree (PlumaFileBrowserStore * model, FileBrowserNode * node) { return node_has_parent (node, model->priv->virtual_root); } static gboolean -model_node_visibility (GeditFileBrowserStore * model, +model_node_visibility (PlumaFileBrowserStore * model, FileBrowserNode * node) { if (node == NULL) @@ -512,7 +512,7 @@ model_node_visibility (GeditFileBrowserStore * model, } static gboolean -model_node_inserted (GeditFileBrowserStore * model, +model_node_inserted (PlumaFileBrowserStore * model, FileBrowserNode * node) { return node == model->priv->virtual_root || (model_node_visibility (model, node) && node->inserted); @@ -521,46 +521,46 @@ model_node_inserted (GeditFileBrowserStore * model, /* Interface implementation */ static GtkTreeModelFlags -gedit_file_browser_store_get_flags (GtkTreeModel * tree_model) +pluma_file_browser_store_get_flags (GtkTreeModel * tree_model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), (GtkTreeModelFlags) 0); return GTK_TREE_MODEL_ITERS_PERSIST; } static gint -gedit_file_browser_store_get_n_columns (GtkTreeModel * tree_model) +pluma_file_browser_store_get_n_columns (GtkTreeModel * tree_model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), 0); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), 0); - return GEDIT_FILE_BROWSER_STORE_COLUMN_NUM; + return PLUMA_FILE_BROWSER_STORE_COLUMN_NUM; } static GType -gedit_file_browser_store_get_column_type (GtkTreeModel * tree_model, gint idx) +pluma_file_browser_store_get_column_type (GtkTreeModel * tree_model, gint idx) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), G_TYPE_INVALID); - g_return_val_if_fail (idx < GEDIT_FILE_BROWSER_STORE_COLUMN_NUM && + g_return_val_if_fail (idx < PLUMA_FILE_BROWSER_STORE_COLUMN_NUM && idx >= 0, G_TYPE_INVALID); - return GEDIT_FILE_BROWSER_STORE (tree_model)->priv->column_types[idx]; + return PLUMA_FILE_BROWSER_STORE (tree_model)->priv->column_types[idx]; } static gboolean -gedit_file_browser_store_get_iter (GtkTreeModel * tree_model, +pluma_file_browser_store_get_iter (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreePath * path) { gint * indices, depth, i; FileBrowserNode * node; - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; gint num; - g_assert (GEDIT_IS_FILE_BROWSER_STORE (tree_model)); + g_assert (PLUMA_IS_FILE_BROWSER_STORE (tree_model)); g_assert (path != NULL); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); indices = gtk_tree_path_get_indices (path); depth = gtk_tree_path_get_depth (path); node = model->priv->virtual_root; @@ -605,7 +605,7 @@ gedit_file_browser_store_get_iter (GtkTreeModel * tree_model, } static GtkTreePath * -gedit_file_browser_store_get_path_real (GeditFileBrowserStore * model, +pluma_file_browser_store_get_path_real (PlumaFileBrowserStore * model, FileBrowserNode * node) { GtkTreePath *path; @@ -652,47 +652,47 @@ gedit_file_browser_store_get_path_real (GeditFileBrowserStore * model, } static GtkTreePath * -gedit_file_browser_store_get_path (GtkTreeModel * tree_model, +pluma_file_browser_store_get_path (GtkTreeModel * tree_model, GtkTreeIter * iter) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), NULL); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), NULL); g_return_val_if_fail (iter != NULL, NULL); g_return_val_if_fail (iter->user_data != NULL, NULL); - return gedit_file_browser_store_get_path_real (GEDIT_FILE_BROWSER_STORE (tree_model), + return pluma_file_browser_store_get_path_real (PLUMA_FILE_BROWSER_STORE (tree_model), (FileBrowserNode *) (iter->user_data)); } static void -gedit_file_browser_store_get_value (GtkTreeModel * tree_model, +pluma_file_browser_store_get_value (GtkTreeModel * tree_model, GtkTreeIter * iter, gint column, GValue * value) { FileBrowserNode *node; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model)); g_return_if_fail (iter != NULL); g_return_if_fail (iter->user_data != NULL); node = (FileBrowserNode *) (iter->user_data); - g_value_init (value, GEDIT_FILE_BROWSER_STORE (tree_model)->priv->column_types[column]); + g_value_init (value, PLUMA_FILE_BROWSER_STORE (tree_model)->priv->column_types[column]); switch (column) { - case GEDIT_FILE_BROWSER_STORE_COLUMN_URI: + case PLUMA_FILE_BROWSER_STORE_COLUMN_URI: set_gvalue_from_node (value, node); break; - case GEDIT_FILE_BROWSER_STORE_COLUMN_NAME: + case PLUMA_FILE_BROWSER_STORE_COLUMN_NAME: g_value_set_string (value, node->name); break; - case GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS: + case PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS: g_value_set_uint (value, node->flags); break; - case GEDIT_FILE_BROWSER_STORE_COLUMN_ICON: + case PLUMA_FILE_BROWSER_STORE_COLUMN_ICON: g_value_set_object (value, node->icon); break; - case GEDIT_FILE_BROWSER_STORE_COLUMN_EMBLEM: + case PLUMA_FILE_BROWSER_STORE_COLUMN_EMBLEM: g_value_set_object (value, node->emblem); break; default: @@ -701,20 +701,20 @@ gedit_file_browser_store_get_value (GtkTreeModel * tree_model, } static gboolean -gedit_file_browser_store_iter_next (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_next (GtkTreeModel * tree_model, GtkTreeIter * iter) { - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; FileBrowserNode * node; GSList * item; GSList * first; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (iter != NULL, FALSE); g_return_val_if_fail (iter->user_data != NULL, FALSE); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); node = (FileBrowserNode *) (iter->user_data); if (node->parent == NULL) @@ -733,20 +733,20 @@ gedit_file_browser_store_iter_next (GtkTreeModel * tree_model, } static gboolean -gedit_file_browser_store_iter_children (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_children (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * parent) { FileBrowserNode * node; - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; GSList * item; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (parent == NULL || parent->user_data != NULL, FALSE); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); if (parent == NULL) node = model->priv->virtual_root; @@ -770,7 +770,7 @@ gedit_file_browser_store_iter_children (GtkTreeModel * tree_model, } static gboolean -filter_tree_model_iter_has_child_real (GeditFileBrowserStore * model, +filter_tree_model_iter_has_child_real (PlumaFileBrowserStore * model, FileBrowserNode * node) { GSList *item; @@ -787,18 +787,18 @@ filter_tree_model_iter_has_child_real (GeditFileBrowserStore * model, } static gboolean -gedit_file_browser_store_iter_has_child (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_has_child (GtkTreeModel * tree_model, GtkTreeIter * iter) { FileBrowserNode *node; - GeditFileBrowserStore *model; + PlumaFileBrowserStore *model; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (iter == NULL || iter->user_data != NULL, FALSE); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); if (iter == NULL) node = model->priv->virtual_root; @@ -809,20 +809,20 @@ gedit_file_browser_store_iter_has_child (GtkTreeModel * tree_model, } static gint -gedit_file_browser_store_iter_n_children (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_n_children (GtkTreeModel * tree_model, GtkTreeIter * iter) { FileBrowserNode *node; - GeditFileBrowserStore *model; + PlumaFileBrowserStore *model; GSList *item; gint num = 0; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (iter == NULL || iter->user_data != NULL, FALSE); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); if (iter == NULL) node = model->priv->virtual_root; @@ -840,21 +840,21 @@ gedit_file_browser_store_iter_n_children (GtkTreeModel * tree_model, } static gboolean -gedit_file_browser_store_iter_nth_child (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_nth_child (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * parent, gint n) { FileBrowserNode *node; - GeditFileBrowserStore *model; + PlumaFileBrowserStore *model; GSList *item; gint num = 0; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (parent == NULL || parent->user_data != NULL, FALSE); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); if (parent == NULL) node = model->priv->virtual_root; @@ -880,19 +880,19 @@ gedit_file_browser_store_iter_nth_child (GtkTreeModel * tree_model, } static gboolean -gedit_file_browser_store_iter_parent (GtkTreeModel * tree_model, +pluma_file_browser_store_iter_parent (GtkTreeModel * tree_model, GtkTreeIter * iter, GtkTreeIter * child) { FileBrowserNode *node; - GeditFileBrowserStore *model; + PlumaFileBrowserStore *model; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model), FALSE); g_return_val_if_fail (child != NULL, FALSE); g_return_val_if_fail (child->user_data != NULL, FALSE); node = (FileBrowserNode *) (child->user_data); - model = GEDIT_FILE_BROWSER_STORE (tree_model); + model = PLUMA_FILE_BROWSER_STORE (tree_model); if (!node_in_tree (model, node)) return FALSE; @@ -905,7 +905,7 @@ gedit_file_browser_store_iter_parent (GtkTreeModel * tree_model, } static void -gedit_file_browser_store_row_inserted (GtkTreeModel * tree_model, +pluma_file_browser_store_row_inserted (GtkTreeModel * tree_model, GtkTreePath * path, GtkTreeIter * iter) { @@ -915,11 +915,11 @@ gedit_file_browser_store_row_inserted (GtkTreeModel * tree_model, } static gboolean -gedit_file_browser_store_row_draggable (GtkTreeDragSource * drag_source, +pluma_file_browser_store_row_draggable (GtkTreeDragSource * drag_source, GtkTreePath * path) { GtkTreeIter iter; - GeditFileBrowserStoreFlag flags; + PlumaFileBrowserStoreFlag flags; if (!gtk_tree_model_get_iter (GTK_TREE_MODEL (drag_source), &iter, path)) @@ -928,21 +928,21 @@ gedit_file_browser_store_row_draggable (GtkTreeDragSource * drag_source, } gtk_tree_model_get (GTK_TREE_MODEL (drag_source), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); return !FILE_IS_DUMMY(flags); } static gboolean -gedit_file_browser_store_drag_data_delete (GtkTreeDragSource * drag_source, +pluma_file_browser_store_drag_data_delete (GtkTreeDragSource * drag_source, GtkTreePath * path) { return FALSE; } static gboolean -gedit_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, +pluma_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, GtkTreePath * path, GtkSelectionData * selection_data) { @@ -958,7 +958,7 @@ gedit_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, } gtk_tree_model_get (GTK_TREE_MODEL (drag_source), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); g_assert (uri); @@ -971,12 +971,12 @@ gedit_file_browser_store_drag_data_get (GtkTreeDragSource * drag_source, return ret; } -#define FILTER_HIDDEN(mode) (mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) -#define FILTER_BINARY(mode) (mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY) +#define FILTER_HIDDEN(mode) (mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN) +#define FILTER_BINARY(mode) (mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY) /* Private */ static void -model_begin_loading (GeditFileBrowserStore * model, FileBrowserNode * node) +model_begin_loading (PlumaFileBrowserStore * model, FileBrowserNode * node) { GtkTreeIter iter; @@ -985,7 +985,7 @@ model_begin_loading (GeditFileBrowserStore * model, FileBrowserNode * node) } static void -model_end_loading (GeditFileBrowserStore * model, FileBrowserNode * node) +model_end_loading (PlumaFileBrowserStore * model, FileBrowserNode * node) { GtkTreeIter iter; @@ -994,19 +994,19 @@ model_end_loading (GeditFileBrowserStore * model, FileBrowserNode * node) } static void -model_node_update_visibility (GeditFileBrowserStore * model, +model_node_update_visibility (PlumaFileBrowserStore * model, FileBrowserNode * node) { GtkTreeIter iter; - node->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED; + node->flags &= ~PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED; if (FILTER_HIDDEN (model->priv->filter_mode) && NODE_IS_HIDDEN (node)) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED; else if (FILTER_BINARY (model->priv->filter_mode) && (!NODE_IS_TEXT (node) && !NODE_IS_DIR (node))) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED; else if (model->priv->filter_func) { iter.user_data = node; @@ -1014,7 +1014,7 @@ model_node_update_visibility (GeditFileBrowserStore * model, filter_func (model, &iter, model->priv->filter_user_data)) node->flags |= - GEDIT_FILE_BROWSER_STORE_FLAG_IS_FILTERED; + PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED; } } @@ -1079,7 +1079,7 @@ model_sort_default (FileBrowserNode * node1, FileBrowserNode * node2) } static void -model_resort_node (GeditFileBrowserStore * model, FileBrowserNode * node) +model_resort_node (PlumaFileBrowserStore * model, FileBrowserNode * node) { FileBrowserNodeDir *dir; GSList *item; @@ -1121,7 +1121,7 @@ model_resort_node (GeditFileBrowserStore * model, FileBrowserNode * node) iter.user_data = node->parent; path = - gedit_file_browser_store_get_path_real (model, + pluma_file_browser_store_get_path_real (model, node->parent); gtk_tree_model_rows_reordered (GTK_TREE_MODEL (model), @@ -1133,7 +1133,7 @@ model_resort_node (GeditFileBrowserStore * model, FileBrowserNode * node) } static void -row_changed (GeditFileBrowserStore * model, +row_changed (PlumaFileBrowserStore * model, GtkTreePath ** path, GtkTreeIter * iter) { @@ -1149,7 +1149,7 @@ row_changed (GeditFileBrowserStore * model, } static void -row_inserted (GeditFileBrowserStore * model, +row_inserted (PlumaFileBrowserStore * model, GtkTreePath ** path, GtkTreeIter * iter) { @@ -1180,7 +1180,7 @@ row_inserted (GeditFileBrowserStore * model, } static void -row_deleted (GeditFileBrowserStore * model, +row_deleted (PlumaFileBrowserStore * model, const GtkTreePath * path) { GtkTreePath *copy = gtk_tree_path_copy (path); @@ -1192,7 +1192,7 @@ row_deleted (GeditFileBrowserStore * model, } static void -model_refilter_node (GeditFileBrowserStore * model, +model_refilter_node (PlumaFileBrowserStore * model, FileBrowserNode * node, GtkTreePath ** path) { @@ -1215,7 +1215,7 @@ model_refilter_node (GeditFileBrowserStore * model, if (path == NULL) { if (in_tree) - tmppath = gedit_file_browser_store_get_path_real (model, + tmppath = pluma_file_browser_store_get_path_real (model, node); else tmppath = gtk_tree_path_new_first (); @@ -1263,7 +1263,7 @@ model_refilter_node (GeditFileBrowserStore * model, } static void -model_refilter (GeditFileBrowserStore * model) +model_refilter (PlumaFileBrowserStore * model) { model_refilter_node (model, model->priv->root, NULL); } @@ -1274,7 +1274,7 @@ file_browser_node_set_name (FileBrowserNode * node) g_free (node->name); if (node->file) { - node->name = gedit_file_browser_utils_file_basename (node->file); + node->name = pluma_file_browser_utils_file_basename (node->file); } else { node->name = NULL; } @@ -1302,7 +1302,7 @@ file_browser_node_new (GFile * file, FileBrowserNode * parent) } static FileBrowserNode * -file_browser_node_dir_new (GeditFileBrowserStore * model, +file_browser_node_dir_new (PlumaFileBrowserStore * model, GFile * file, FileBrowserNode * parent) { FileBrowserNode *node = @@ -1310,7 +1310,7 @@ file_browser_node_dir_new (GeditFileBrowserStore * model, file_browser_node_init (node, file, parent); - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY; FILE_BROWSER_NODE_DIR (node)->model = model; @@ -1318,7 +1318,7 @@ file_browser_node_dir_new (GeditFileBrowserStore * model, } static void -file_browser_node_free_children (GeditFileBrowserStore * model, +file_browser_node_free_children (PlumaFileBrowserStore * model, FileBrowserNode * node) { GSList *item; @@ -1337,12 +1337,12 @@ file_browser_node_free_children (GeditFileBrowserStore * model, FILE_BROWSER_NODE_DIR (node)->children = NULL; /* This node is no longer loaded */ - node->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_LOADED; + node->flags &= ~PLUMA_FILE_BROWSER_STORE_FLAG_LOADED; } } static void -file_browser_node_free (GeditFileBrowserStore * model, +file_browser_node_free (PlumaFileBrowserStore * model, FileBrowserNode * node) { gchar *uri; @@ -1399,7 +1399,7 @@ file_browser_node_free (GeditFileBrowserStore * model, /** * model_remove_node_children: - * @model: the #GeditFileBrowserStore + * @model: the #PlumaFileBrowserStore * @node: the FileBrowserNode to remove * @path: the path of the node, or NULL to let the path be calculated * @free_nodes: whether to also remove the nodes from memory @@ -1409,7 +1409,7 @@ file_browser_node_free (GeditFileBrowserStore * model, * a node. **/ static void -model_remove_node_children (GeditFileBrowserStore * model, +model_remove_node_children (PlumaFileBrowserStore * model, FileBrowserNode * node, GtkTreePath * path, gboolean free_nodes) @@ -1438,7 +1438,7 @@ model_remove_node_children (GeditFileBrowserStore * model, if (path == NULL) path_child = - gedit_file_browser_store_get_path_real (model, node); + pluma_file_browser_store_get_path_real (model, node); else path_child = gtk_tree_path_copy (path); @@ -1457,7 +1457,7 @@ model_remove_node_children (GeditFileBrowserStore * model, /** * model_remove_node: - * @model: the #GeditFileBrowserStore + * @model: the #PlumaFileBrowserStore * @node: the FileBrowserNode to remove * @path: the path to use to remove this node, or NULL to use the path * calculated from the node itself @@ -1468,7 +1468,7 @@ model_remove_node_children (GeditFileBrowserStore * model, * a node. **/ static void -model_remove_node (GeditFileBrowserStore * model, +model_remove_node (PlumaFileBrowserStore * model, FileBrowserNode * node, GtkTreePath * path, gboolean free_nodes) @@ -1478,7 +1478,7 @@ model_remove_node (GeditFileBrowserStore * model, if (path == NULL) { path = - gedit_file_browser_store_get_path_real (model, node); + pluma_file_browser_store_get_path_real (model, node); free_path = TRUE; } @@ -1519,7 +1519,7 @@ model_remove_node (GeditFileBrowserStore * model, /** * model_clear: - * @model: the #GeditFileBrowserStore + * @model: the #PlumaFileBrowserStore * @free_nodes: whether to also remove the nodes from memory * * Removes all nodes from the model. This function is used @@ -1527,7 +1527,7 @@ model_remove_node (GeditFileBrowserStore * model, * nodes in the model. **/ static void -model_clear (GeditFileBrowserStore * model, gboolean free_nodes) +model_clear (PlumaFileBrowserStore * model, gboolean free_nodes) { GtkTreePath *path; FileBrowserNodeDir *dir; @@ -1558,7 +1558,7 @@ model_clear (GeditFileBrowserStore * model, gboolean free_nodes) } static void -file_browser_node_unload (GeditFileBrowserStore * model, +file_browser_node_unload (PlumaFileBrowserStore * model, FileBrowserNode * node, gboolean remove_children) { FileBrowserNodeDir *dir; @@ -1589,17 +1589,17 @@ file_browser_node_unload (GeditFileBrowserStore * model, dir->monitor = NULL; } - node->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_LOADED; + node->flags &= ~PLUMA_FILE_BROWSER_STORE_FLAG_LOADED; } static void -model_recomposite_icon_real (GeditFileBrowserStore * tree_model, +model_recomposite_icon_real (PlumaFileBrowserStore * tree_model, FileBrowserNode * node, GFileInfo * info) { GdkPixbuf *icon; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model)); g_return_if_fail (node != NULL); if (node->file == NULL) @@ -1608,11 +1608,11 @@ model_recomposite_icon_real (GeditFileBrowserStore * tree_model, if (info) { GIcon *gicon = g_file_info_get_icon (info); if (gicon != NULL) - icon = gedit_file_browser_utils_pixbuf_from_icon (gicon, GTK_ICON_SIZE_MENU); + icon = pluma_file_browser_utils_pixbuf_from_icon (gicon, GTK_ICON_SIZE_MENU); else icon = NULL; } else { - icon = gedit_file_browser_utils_pixbuf_from_file (node->file, GTK_ICON_SIZE_MENU); + icon = pluma_file_browser_utils_pixbuf_from_file (node->file, GTK_ICON_SIZE_MENU); } if (node->icon) @@ -1645,10 +1645,10 @@ model_recomposite_icon_real (GeditFileBrowserStore * tree_model, } static void -model_recomposite_icon (GeditFileBrowserStore * tree_model, +model_recomposite_icon (PlumaFileBrowserStore * tree_model, GtkTreeIter * iter) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model)); g_return_if_fail (iter != NULL); g_return_if_fail (iter->user_data != NULL); @@ -1658,7 +1658,7 @@ model_recomposite_icon (GeditFileBrowserStore * tree_model, } static FileBrowserNode * -model_create_dummy_node (GeditFileBrowserStore * model, +model_create_dummy_node (PlumaFileBrowserStore * model, FileBrowserNode * parent) { FileBrowserNode *dummy; @@ -1666,14 +1666,14 @@ model_create_dummy_node (GeditFileBrowserStore * model, dummy = file_browser_node_new (NULL, parent); dummy->name = g_strdup (_("(Empty)")); - dummy->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_DUMMY; - dummy->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + dummy->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_DUMMY; + dummy->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; return dummy; } static FileBrowserNode * -model_add_dummy_node (GeditFileBrowserStore * model, +model_add_dummy_node (PlumaFileBrowserStore * model, FileBrowserNode * parent) { FileBrowserNode *dummy; @@ -1681,7 +1681,7 @@ model_add_dummy_node (GeditFileBrowserStore * model, dummy = model_create_dummy_node (model, parent); if (model_node_visibility (model, parent)) - dummy->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + dummy->flags &= ~PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; model_add_node (model, dummy, parent); @@ -1689,7 +1689,7 @@ model_add_dummy_node (GeditFileBrowserStore * model, } static void -model_check_dummy (GeditFileBrowserStore * model, FileBrowserNode * node) +model_check_dummy (PlumaFileBrowserStore * model, FileBrowserNode * node) { // Hide the dummy child if needed if (NODE_IS_DIR (node)) { @@ -1715,24 +1715,24 @@ model_check_dummy (GeditFileBrowserStore * model, FileBrowserNode * node) if (!model_node_visibility (model, node)) { dummy->flags |= - GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; return; } /* Temporarily set the node to invisible to check * for real children */ flags = dummy->flags; - dummy->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + dummy->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; if (!filter_tree_model_iter_has_child_real (model, node)) { dummy->flags &= - ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + ~PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; if (FILE_IS_HIDDEN (flags)) { // Was hidden, needs to be inserted iter.user_data = dummy; path = - gedit_file_browser_store_get_path_real + pluma_file_browser_store_get_path_real (model, dummy); row_inserted (model, &path, &iter); @@ -1744,12 +1744,12 @@ model_check_dummy (GeditFileBrowserStore * model, FileBrowserNode * node) // To get the path we need to set it to visible temporarily dummy->flags &= - ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + ~PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; path = - gedit_file_browser_store_get_path_real + pluma_file_browser_store_get_path_real (model, dummy); dummy->flags |= - GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; dummy->inserted = FALSE; row_deleted (model, path); @@ -1760,7 +1760,7 @@ model_check_dummy (GeditFileBrowserStore * model, FileBrowserNode * node) } static void -insert_node_sorted (GeditFileBrowserStore * model, +insert_node_sorted (PlumaFileBrowserStore * model, FileBrowserNode * child, FileBrowserNode * parent) { @@ -1779,7 +1779,7 @@ insert_node_sorted (GeditFileBrowserStore * model, } static void -model_add_node (GeditFileBrowserStore * model, FileBrowserNode * child, +model_add_node (PlumaFileBrowserStore * model, FileBrowserNode * child, FileBrowserNode * parent) { /* Add child to parents children */ @@ -1791,7 +1791,7 @@ model_add_node (GeditFileBrowserStore * model, FileBrowserNode * child, GtkTreePath *path; iter.user_data = child; - path = gedit_file_browser_store_get_path_real (model, child); + path = pluma_file_browser_store_get_path_real (model, child); /* Emit row inserted */ row_inserted (model, &path, &iter); @@ -1803,7 +1803,7 @@ model_add_node (GeditFileBrowserStore * model, FileBrowserNode * child, } static void -model_add_nodes_batch (GeditFileBrowserStore * model, +model_add_nodes_batch (PlumaFileBrowserStore * model, GSList * children, FileBrowserNode * parent) { @@ -1837,7 +1837,7 @@ model_add_nodes_batch (GeditFileBrowserStore * model, if (model_node_visibility (model, parent) && model_node_visibility (model, l->data)) { iter.user_data = l->data; - path = gedit_file_browser_store_get_path_real (model, l->data); + path = pluma_file_browser_store_get_path_real (model, l->data); // Emit row inserted row_inserted (model, &path, &iter); @@ -1868,7 +1868,7 @@ model_add_nodes_batch (GeditFileBrowserStore * model, if (model_node_visibility (model, parent) && model_node_visibility (model, node)) { iter.user_data = node; - path = gedit_file_browser_store_get_path_real (model, node); + path = pluma_file_browser_store_get_path_real (model, node); // Emit row inserted row_inserted (model, &path, &iter); @@ -1905,7 +1905,7 @@ backup_content_type (GFileInfo * info) } static void -file_browser_node_set_from_info (GeditFileBrowserStore * model, +file_browser_node_set_from_info (PlumaFileBrowserStore * model, FileBrowserNode * node, GFileInfo * info, gboolean isadded) @@ -1943,13 +1943,13 @@ file_browser_node_set_from_info (GeditFileBrowserStore * model, name = g_file_info_get_name (info); if (g_file_info_get_is_hidden (info) || g_file_info_get_is_backup (info)) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; else if (dir != NULL && dir->hidden_file_hash != NULL && g_hash_table_lookup (dir->hidden_file_hash, name) != NULL) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; if (g_file_info_get_file_type (info) == G_FILE_TYPE_DIRECTORY) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY; else { if (!(content = backup_content_type (info))) content = g_file_info_get_content_type (info); @@ -1957,7 +1957,7 @@ file_browser_node_set_from_info (GeditFileBrowserStore * model, if (!content || g_content_type_is_unknown (content) || g_content_type_is_a (content, "text/plain")) - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_IS_TEXT; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_IS_TEXT; } model_recomposite_icon_real (model, node, info); @@ -1966,7 +1966,7 @@ file_browser_node_set_from_info (GeditFileBrowserStore * model, g_object_unref (info); if (isadded) { - path = gedit_file_browser_store_get_path_real (model, node); + path = pluma_file_browser_store_get_path_real (model, node); model_refilter_node (model, node, &path); gtk_tree_path_free (path); @@ -1995,7 +1995,7 @@ node_list_contains_file (GSList *children, GFile * file) } static FileBrowserNode * -model_add_node_from_file (GeditFileBrowserStore * model, +model_add_node_from_file (PlumaFileBrowserStore * model, FileBrowserNode * parent, GFile * file, GFileInfo * info) @@ -2040,7 +2040,7 @@ model_add_node_from_file (GeditFileBrowserStore * model, * not have to check if a file already exists among the ones we just * added */ static void -model_add_nodes_from_files (GeditFileBrowserStore * model, +model_add_nodes_from_files (PlumaFileBrowserStore * model, FileBrowserNode * parent, GSList * original_children, GList * files) @@ -2098,7 +2098,7 @@ model_add_nodes_from_files (GeditFileBrowserStore * model, } static FileBrowserNode * -model_add_node_from_dir (GeditFileBrowserStore * model, +model_add_node_from_dir (PlumaFileBrowserStore * model, FileBrowserNode * parent, GFile * file) { @@ -2114,7 +2114,7 @@ model_add_node_from_dir (GeditFileBrowserStore * model, } if (node->icon == NULL) { - node->icon = gedit_file_browser_utils_pixbuf_from_theme ("folder", GTK_ICON_SIZE_MENU); + node->icon = pluma_file_browser_utils_pixbuf_from_theme ("folder", GTK_ICON_SIZE_MENU); } model_add_node (model, node, parent); @@ -2255,7 +2255,7 @@ model_iterate_next_files_cb (GFileEnumerator * enumerator, /* * FIXME: This is temporarly, it is a bug in gio: - * http://bugzilla.mate.org/show_bug.cgi?id=565924 + * http://bugzilla.gnome.org/show_bug.cgi?id=565924 */ #ifndef G_OS_WIN32 if (g_file_is_native (parent->file) && dir->monitor == NULL) { @@ -2284,7 +2284,7 @@ model_iterate_next_files_cb (GFileEnumerator * enumerator, g_signal_emit (dir->model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_LOAD_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_LOAD_DIRECTORY, error->message); file_browser_node_unload (dir->model, (FileBrowserNode *)parent, TRUE); @@ -2338,7 +2338,7 @@ model_iterate_children_cb (GFile * file, g_signal_emit (dir->model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_LOAD_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_LOAD_DIRECTORY, error->message); file_browser_node_unload (dir->model, (FileBrowserNode *)dir, TRUE); @@ -2350,7 +2350,7 @@ model_iterate_children_cb (GFile * file, } static void -model_load_directory (GeditFileBrowserStore * model, +model_load_directory (PlumaFileBrowserStore * model, FileBrowserNode * node) { FileBrowserNodeDir *dir; @@ -2365,7 +2365,7 @@ model_load_directory (GeditFileBrowserStore * model, file_browser_node_unload (dir->model, node, TRUE); } - node->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_LOADED; + node->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_LOADED; model_begin_loading (model, node); /* Read the '.hidden' file first (if any) */ @@ -2389,7 +2389,7 @@ model_load_directory (GeditFileBrowserStore * model, } static GList * -get_parent_files (GeditFileBrowserStore * model, GFile * file) +get_parent_files (PlumaFileBrowserStore * model, GFile * file) { GList * result = NULL; @@ -2408,7 +2408,7 @@ get_parent_files (GeditFileBrowserStore * model, GFile * file) } static void -model_fill (GeditFileBrowserStore * model, FileBrowserNode * node, +model_fill (PlumaFileBrowserStore * model, FileBrowserNode * node, GtkTreePath ** path) { gboolean free_path = FALSE; @@ -2424,7 +2424,7 @@ model_fill (GeditFileBrowserStore * model, FileBrowserNode * node, if (*path == NULL) { *path = - gedit_file_browser_store_get_path_real (model, node); + pluma_file_browser_store_get_path_real (model, node); free_path = TRUE; } @@ -2469,7 +2469,7 @@ model_fill (GeditFileBrowserStore * model, FileBrowserNode * node, } static void -set_virtual_root_from_node (GeditFileBrowserStore * model, +set_virtual_root_from_node (PlumaFileBrowserStore * model, FileBrowserNode * node) { FileBrowserNode *next; @@ -2537,7 +2537,7 @@ set_virtual_root_from_node (GeditFileBrowserStore * model, } } else if (NODE_IS_DUMMY (check)) { check->flags |= - GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; + PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN; } } @@ -2555,7 +2555,7 @@ set_virtual_root_from_node (GeditFileBrowserStore * model, } static void -set_virtual_root_from_file (GeditFileBrowserStore * model, +set_virtual_root_from_file (PlumaFileBrowserStore * model, GFile * file) { GList * files; @@ -2582,7 +2582,7 @@ set_virtual_root_from_file (GeditFileBrowserStore * model, } static FileBrowserNode * -model_find_node_children (GeditFileBrowserStore * model, +model_find_node_children (PlumaFileBrowserStore * model, FileBrowserNode * parent, GFile * file) { @@ -2609,7 +2609,7 @@ model_find_node_children (GeditFileBrowserStore * model, } static FileBrowserNode * -model_find_node (GeditFileBrowserStore * model, +model_find_node (PlumaFileBrowserStore * model, FileBrowserNode * node, GFile * file) { @@ -2626,12 +2626,12 @@ model_find_node (GeditFileBrowserStore * model, } static GQuark -gedit_file_browser_store_error_quark (void) +pluma_file_browser_store_error_quark (void) { static GQuark quark = 0; if (G_UNLIKELY (quark == 0)) { - quark = g_quark_from_string ("gedit_file_browser_store_error"); + quark = g_quark_from_string ("pluma_file_browser_store_error"); } return quark; @@ -2662,32 +2662,32 @@ unique_new_name (GFile * directory, gchar const * name) return newuri; } -static GeditFileBrowserStoreResult -model_root_mounted (GeditFileBrowserStore * model, gchar const * virtual_root) +static PlumaFileBrowserStoreResult +model_root_mounted (PlumaFileBrowserStore * model, gchar const * virtual_root) { model_check_dummy (model, model->priv->root); g_object_notify (G_OBJECT (model), "root"); if (virtual_root != NULL) return - gedit_file_browser_store_set_virtual_root_from_string + pluma_file_browser_store_set_virtual_root_from_string (model, virtual_root); else set_virtual_root_from_node (model, model->priv->root); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } static void -handle_root_error (GeditFileBrowserStore * model, GError *error) +handle_root_error (PlumaFileBrowserStore * model, GError *error) { FileBrowserNode * root; g_signal_emit (model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_SET_ROOT, + PLUMA_FILE_BROWSER_ERROR_SET_ROOT, error->message); /* Set the virtual root to the root */ @@ -2695,7 +2695,7 @@ handle_root_error (GeditFileBrowserStore * model, GError *error) model->priv->virtual_root = root; /* Set the root to be loaded */ - root->flags |= GEDIT_FILE_BROWSER_STORE_FLAG_LOADED; + root->flags |= PLUMA_FILE_BROWSER_STORE_FLAG_LOADED; /* Check the dummy */ model_check_dummy (model, root); @@ -2711,7 +2711,7 @@ mount_cb (GFile * file, { gboolean mounted; GError * error = NULL; - GeditFileBrowserStore * model = mount_info->model; + PlumaFileBrowserStore * model = mount_info->model; mounted = g_file_mount_enclosing_volume_finish (file, res, &error); @@ -2745,8 +2745,8 @@ mount_cb (GFile * file, g_free (mount_info); } -static GeditFileBrowserStoreResult -model_mount_root (GeditFileBrowserStore * model, gchar const * virtual_root) +static PlumaFileBrowserStoreResult +model_mount_root (PlumaFileBrowserStore * model, gchar const * virtual_root) { GFileInfo * info; GError * error = NULL; @@ -2780,7 +2780,7 @@ model_mount_root (GeditFileBrowserStore * model, gchar const * virtual_root) mount_info); model->priv->mount_info = mount_info; - return GEDIT_FILE_BROWSER_STORE_RESULT_MOUNTING; + return PLUMA_FILE_BROWSER_STORE_RESULT_MOUNTING; } else { @@ -2794,24 +2794,24 @@ model_mount_root (GeditFileBrowserStore * model, gchar const * virtual_root) return model_root_mounted (model, virtual_root); } - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } /* Public */ -GeditFileBrowserStore * -gedit_file_browser_store_new (gchar const *root) +PlumaFileBrowserStore * +pluma_file_browser_store_new (gchar const *root) { - GeditFileBrowserStore *obj = - GEDIT_FILE_BROWSER_STORE (g_object_new - (GEDIT_TYPE_FILE_BROWSER_STORE, + PlumaFileBrowserStore *obj = + PLUMA_FILE_BROWSER_STORE (g_object_new + (PLUMA_TYPE_FILE_BROWSER_STORE, NULL)); - gedit_file_browser_store_set_root (obj, root); + pluma_file_browser_store_set_root (obj, root); return obj; } void -gedit_file_browser_store_set_value (GeditFileBrowserStore * tree_model, +pluma_file_browser_store_set_value (PlumaFileBrowserStore * tree_model, GtkTreeIter * iter, gint column, GValue * value) { @@ -2819,9 +2819,9 @@ gedit_file_browser_store_set_value (GeditFileBrowserStore * tree_model, FileBrowserNode *node; GtkTreePath *path; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (tree_model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_model)); g_return_if_fail (column == - GEDIT_FILE_BROWSER_STORE_COLUMN_EMBLEM); + PLUMA_FILE_BROWSER_STORE_COLUMN_EMBLEM); g_return_if_fail (G_VALUE_HOLDS_OBJECT (value)); g_return_if_fail (iter != NULL); g_return_if_fail (iter->user_data != NULL); @@ -2844,23 +2844,23 @@ gedit_file_browser_store_set_value (GeditFileBrowserStore * tree_model, model_recomposite_icon (tree_model, iter); if (model_node_visibility (tree_model, node)) { - path = gedit_file_browser_store_get_path (GTK_TREE_MODEL (tree_model), + path = pluma_file_browser_store_get_path (GTK_TREE_MODEL (tree_model), iter); row_changed (tree_model, &path, iter); gtk_tree_path_free (path); } } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root (GeditFileBrowserStore * model, +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root (PlumaFileBrowserStore * model, GtkTreeIter * iter) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); g_return_val_if_fail (iter != NULL, - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); g_return_val_if_fail (iter->user_data != NULL, - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); model_clear (model, FALSE); set_virtual_root_from_node (model, @@ -2869,25 +2869,25 @@ gedit_file_browser_store_set_virtual_root (GeditFileBrowserStore * model, return TRUE; } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_from_string - (GeditFileBrowserStore * model, gchar const *root) { +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_from_string + (PlumaFileBrowserStore * model, gchar const *root) { GFile *file; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); file = g_file_new_for_uri (root); if (file == NULL) { g_warning ("Invalid uri (%s)", root); - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; } /* Check if uri is already the virtual root */ if (model->priv->virtual_root && g_file_equal (model->priv->virtual_root->file, file)) { g_object_unref (file); - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; } /* Check if uri is the root itself */ @@ -2897,7 +2897,7 @@ gedit_file_browser_store_set_virtual_root_from_string /* Always clear the model before altering the nodes */ model_clear (model, FALSE); set_virtual_root_from_node (model, model->priv->root); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } if (!g_file_has_prefix (file, model->priv->root->file)) { @@ -2914,53 +2914,53 @@ gedit_file_browser_store_set_virtual_root_from_string g_free (str1); g_object_unref (file); - return GEDIT_FILE_BROWSER_STORE_RESULT_ERROR; + return PLUMA_FILE_BROWSER_STORE_RESULT_ERROR; } set_virtual_root_from_file (model, file); g_object_unref (file); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_top (GeditFileBrowserStore * +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_top (PlumaFileBrowserStore * model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); if (model->priv->virtual_root == model->priv->root) - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; model_clear (model, FALSE); set_virtual_root_from_node (model, model->priv->root); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_virtual_root_up (GeditFileBrowserStore * +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_up (PlumaFileBrowserStore * model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); if (model->priv->virtual_root == model->priv->root) - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; model_clear (model, FALSE); set_virtual_root_from_node (model, model->priv->virtual_root->parent); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } gboolean -gedit_file_browser_store_get_iter_virtual_root (GeditFileBrowserStore * +pluma_file_browser_store_get_iter_virtual_root (PlumaFileBrowserStore * model, GtkTreeIter * iter) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (iter != NULL, FALSE); if (model->priv->virtual_root == NULL) @@ -2971,10 +2971,10 @@ gedit_file_browser_store_get_iter_virtual_root (GeditFileBrowserStore * } gboolean -gedit_file_browser_store_get_iter_root (GeditFileBrowserStore * model, +pluma_file_browser_store_get_iter_root (PlumaFileBrowserStore * model, GtkTreeIter * iter) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (iter != NULL, FALSE); if (model->priv->root == NULL) @@ -2985,11 +2985,11 @@ gedit_file_browser_store_get_iter_root (GeditFileBrowserStore * model, } gboolean -gedit_file_browser_store_iter_equal (GeditFileBrowserStore * model, +pluma_file_browser_store_iter_equal (PlumaFileBrowserStore * model, GtkTreeIter * iter1, GtkTreeIter * iter2) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (iter1 != NULL, FALSE); g_return_val_if_fail (iter2 != NULL, FALSE); g_return_val_if_fail (iter1->user_data != NULL, FALSE); @@ -2999,15 +2999,15 @@ gedit_file_browser_store_iter_equal (GeditFileBrowserStore * model, } void -gedit_file_browser_store_cancel_mount_operation (GeditFileBrowserStore *store) +pluma_file_browser_store_cancel_mount_operation (PlumaFileBrowserStore *store) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (store)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (store)); cancel_mount_operation (store); } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_root_and_virtual_root (PlumaFileBrowserStore * model, gchar const *root, gchar const *virtual_root) @@ -3017,11 +3017,11 @@ gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * FileBrowserNode * node; gboolean equal = FALSE; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); if (root == NULL && model->priv->root == NULL) - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; if (root != NULL) { file = g_file_new_for_uri (root); @@ -3032,7 +3032,7 @@ gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * if (equal && virtual_root == NULL) { g_object_unref (file); - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; } } @@ -3044,7 +3044,7 @@ gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * g_object_unref (file); g_object_unref (vfile); - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; } g_object_unref (vfile); @@ -3073,24 +3073,24 @@ gedit_file_browser_store_set_root_and_virtual_root (GeditFileBrowserStore * g_object_notify (G_OBJECT (model), "virtual-root"); } - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } -GeditFileBrowserStoreResult -gedit_file_browser_store_set_root (GeditFileBrowserStore * model, +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_root (PlumaFileBrowserStore * model, gchar const *root) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), - GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); - return gedit_file_browser_store_set_root_and_virtual_root (model, + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + return pluma_file_browser_store_set_root_and_virtual_root (model, root, NULL); } gchar * -gedit_file_browser_store_get_root (GeditFileBrowserStore * model) +pluma_file_browser_store_get_root (PlumaFileBrowserStore * model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), NULL); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), NULL); if (model->priv->root == NULL || model->priv->root->file == NULL) return NULL; @@ -3099,9 +3099,9 @@ gedit_file_browser_store_get_root (GeditFileBrowserStore * model) } gchar * -gedit_file_browser_store_get_virtual_root (GeditFileBrowserStore * model) +pluma_file_browser_store_get_virtual_root (PlumaFileBrowserStore * model) { - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), NULL); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), NULL); if (model->priv->virtual_root == NULL || model->priv->virtual_root->file == NULL) return NULL; @@ -3110,12 +3110,12 @@ gedit_file_browser_store_get_virtual_root (GeditFileBrowserStore * model) } void -_gedit_file_browser_store_iter_expanded (GeditFileBrowserStore * model, +_pluma_file_browser_store_iter_expanded (PlumaFileBrowserStore * model, GtkTreeIter * iter) { FileBrowserNode *node; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model)); g_return_if_fail (iter != NULL); g_return_if_fail (iter->user_data != NULL); @@ -3128,13 +3128,13 @@ _gedit_file_browser_store_iter_expanded (GeditFileBrowserStore * model, } void -_gedit_file_browser_store_iter_collapsed (GeditFileBrowserStore * model, +_pluma_file_browser_store_iter_collapsed (PlumaFileBrowserStore * model, GtkTreeIter * iter) { FileBrowserNode *node; GSList *item; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model)); g_return_if_fail (iter != NULL); g_return_if_fail (iter->user_data != NULL); @@ -3156,18 +3156,18 @@ _gedit_file_browser_store_iter_collapsed (GeditFileBrowserStore * model, } } -GeditFileBrowserStoreFilterMode -gedit_file_browser_store_get_filter_mode (GeditFileBrowserStore * model) +PlumaFileBrowserStoreFilterMode +pluma_file_browser_store_get_filter_mode (PlumaFileBrowserStore * model) { return model->priv->filter_mode; } void -gedit_file_browser_store_set_filter_mode (GeditFileBrowserStore * model, - GeditFileBrowserStoreFilterMode +pluma_file_browser_store_set_filter_mode (PlumaFileBrowserStore * model, + PlumaFileBrowserStoreFilterMode mode) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model)); if (model->priv->filter_mode == mode) return; @@ -3179,11 +3179,11 @@ gedit_file_browser_store_set_filter_mode (GeditFileBrowserStore * model, } void -gedit_file_browser_store_set_filter_func (GeditFileBrowserStore * model, - GeditFileBrowserStoreFilterFunc +pluma_file_browser_store_set_filter_func (PlumaFileBrowserStore * model, + PlumaFileBrowserStoreFilterFunc func, gpointer user_data) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model)); model->priv->filter_func = func; model->priv->filter_user_data = user_data; @@ -3191,21 +3191,21 @@ gedit_file_browser_store_set_filter_func (GeditFileBrowserStore * model, } void -gedit_file_browser_store_refilter (GeditFileBrowserStore * model) +pluma_file_browser_store_refilter (PlumaFileBrowserStore * model) { model_refilter (model); } -GeditFileBrowserStoreFilterMode -gedit_file_browser_store_filter_mode_get_default (void) +PlumaFileBrowserStoreFilterMode +pluma_file_browser_store_filter_mode_get_default (void) { - return GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; + return PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; } void -gedit_file_browser_store_refresh (GeditFileBrowserStore * model) +pluma_file_browser_store_refresh (PlumaFileBrowserStore * model) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model)); if (model->priv->root == NULL || model->priv->virtual_root == NULL) return; @@ -3248,7 +3248,7 @@ reparent_node (FileBrowserNode * node, gboolean reparent) } gboolean -gedit_file_browser_store_rename (GeditFileBrowserStore * model, +pluma_file_browser_store_rename (PlumaFileBrowserStore * model, GtkTreeIter * iter, const gchar * new_name, GError ** error) @@ -3262,7 +3262,7 @@ gedit_file_browser_store_rename (GeditFileBrowserStore * model, gchar * newuri; GtkTreePath *path; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (iter != NULL, FALSE); g_return_val_if_fail (iter->user_data != NULL, FALSE); @@ -3290,7 +3290,7 @@ gedit_file_browser_store_rename (GeditFileBrowserStore * model, reparent_node (node, FALSE); if (model_node_visibility (model, node)) { - path = gedit_file_browser_store_get_path_real (model, node); + path = pluma_file_browser_store_get_path_real (model, node); row_changed (model, &path, iter); gtk_tree_path_free (path); @@ -3300,8 +3300,8 @@ gedit_file_browser_store_rename (GeditFileBrowserStore * model, g_object_unref (previous); if (error != NULL) - *error = g_error_new_literal (gedit_file_browser_store_error_quark (), - GEDIT_FILE_BROWSER_ERROR_RENAME, + *error = g_error_new_literal (pluma_file_browser_store_error_quark (), + PLUMA_FILE_BROWSER_ERROR_RENAME, _("The renamed file is currently filtered out. You need to adjust your filter settings to make the file visible")); return FALSE; } @@ -3323,8 +3323,8 @@ gedit_file_browser_store_rename (GeditFileBrowserStore * model, if (error != NULL) { *error = g_error_new_literal - (gedit_file_browser_store_error_quark (), - GEDIT_FILE_BROWSER_ERROR_RENAME, + (pluma_file_browser_store_error_quark (), + PLUMA_FILE_BROWSER_ERROR_RENAME, err->message); } @@ -3360,7 +3360,7 @@ emit_no_trash (AsyncData * data) } typedef struct { - GeditFileBrowserStore * model; + PlumaFileBrowserStore * model; GFile * file; } IdleDelete; @@ -3433,8 +3433,8 @@ delete_files (GIOSchedulerJob * job, return TRUE; } -GeditFileBrowserStoreResult -gedit_file_browser_store_delete_all (GeditFileBrowserStore *model, +PlumaFileBrowserStoreResult +pluma_file_browser_store_delete_all (PlumaFileBrowserStore *model, GList *rows, gboolean trash) { FileBrowserNode * node; @@ -3445,10 +3445,10 @@ gedit_file_browser_store_delete_all (GeditFileBrowserStore *model, GtkTreePath * prev = NULL; GtkTreePath * path; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); if (rows == NULL) - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; /* First we sort the paths so that we can later on remove any files/directories that are actually subfiles/directories of @@ -3490,28 +3490,28 @@ gedit_file_browser_store_delete_all (GeditFileBrowserStore *model, data->cancellable); g_list_free (rows); - return GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return PLUMA_FILE_BROWSER_STORE_RESULT_OK; } -GeditFileBrowserStoreResult -gedit_file_browser_store_delete (GeditFileBrowserStore * model, +PlumaFileBrowserStoreResult +pluma_file_browser_store_delete (PlumaFileBrowserStore * model, GtkTreeIter * iter, gboolean trash) { FileBrowserNode *node; GList *rows = NULL; - GeditFileBrowserStoreResult result; + PlumaFileBrowserStoreResult result; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); - g_return_val_if_fail (iter != NULL, GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); - g_return_val_if_fail (iter->user_data != NULL, GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (iter != NULL, PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); + g_return_val_if_fail (iter->user_data != NULL, PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE); node = (FileBrowserNode *) (iter->user_data); if (NODE_IS_DUMMY (node)) - return GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE; + return PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE; - rows = g_list_append(NULL, gedit_file_browser_store_get_path_real (model, node)); - result = gedit_file_browser_store_delete_all (model, rows, trash); + rows = g_list_append(NULL, pluma_file_browser_store_get_path_real (model, node)); + result = pluma_file_browser_store_delete_all (model, rows, trash); g_list_foreach (rows, (GFunc)gtk_tree_path_free, NULL); g_list_free (rows); @@ -3520,7 +3520,7 @@ gedit_file_browser_store_delete (GeditFileBrowserStore * model, } gboolean -gedit_file_browser_store_new_file (GeditFileBrowserStore * model, +pluma_file_browser_store_new_file (PlumaFileBrowserStore * model, GtkTreeIter * parent, GtkTreeIter * iter) { @@ -3531,7 +3531,7 @@ gedit_file_browser_store_new_file (GeditFileBrowserStore * model, FileBrowserNode *node; GError * error = NULL; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (parent != NULL, FALSE); g_return_val_if_fail (parent->user_data != NULL, FALSE); g_return_val_if_fail (NODE_IS_DIR @@ -3548,7 +3548,7 @@ gedit_file_browser_store_new_file (GeditFileBrowserStore * model, if (!stream) { g_signal_emit (model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_NEW_FILE, + PLUMA_FILE_BROWSER_ERROR_NEW_FILE, error->message); g_error_free (error); } else { @@ -3563,7 +3563,7 @@ gedit_file_browser_store_new_file (GeditFileBrowserStore * model, result = TRUE; } else { g_signal_emit (model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_NEW_FILE, + PLUMA_FILE_BROWSER_ERROR_NEW_FILE, _ ("The new file is currently filtered out. You need to adjust your filter settings to make the file visible")); } @@ -3574,7 +3574,7 @@ gedit_file_browser_store_new_file (GeditFileBrowserStore * model, } gboolean -gedit_file_browser_store_new_directory (GeditFileBrowserStore * model, +pluma_file_browser_store_new_directory (PlumaFileBrowserStore * model, GtkTreeIter * parent, GtkTreeIter * iter) { @@ -3584,7 +3584,7 @@ gedit_file_browser_store_new_directory (GeditFileBrowserStore * model, FileBrowserNode *node; gboolean result = FALSE; - g_return_val_if_fail (GEDIT_IS_FILE_BROWSER_STORE (model), FALSE); + g_return_val_if_fail (PLUMA_IS_FILE_BROWSER_STORE (model), FALSE); g_return_val_if_fail (parent != NULL, FALSE); g_return_val_if_fail (parent->user_data != NULL, FALSE); g_return_val_if_fail (NODE_IS_DIR @@ -3598,7 +3598,7 @@ gedit_file_browser_store_new_directory (GeditFileBrowserStore * model, if (!g_file_make_directory (file, NULL, &error)) { g_signal_emit (model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_NEW_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_NEW_DIRECTORY, error->message); g_error_free (error); } else { @@ -3612,7 +3612,7 @@ gedit_file_browser_store_new_directory (GeditFileBrowserStore * model, result = TRUE; } else { g_signal_emit (model, model_signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_NEW_FILE, + PLUMA_FILE_BROWSER_ERROR_NEW_FILE, _ ("The new directory is currently filtered out. You need to adjust your filter settings to make the directory visible")); } diff --git a/plugins/filebrowser/pluma-file-browser-store.h b/plugins/filebrowser/pluma-file-browser-store.h new file mode 100755 index 0000000..65b75e0 --- /dev/null +++ b/plugins/filebrowser/pluma-file-browser-store.h @@ -0,0 +1,200 @@ +/* + * pluma-file-browser-store.h - Pluma plugin providing easy file access + * from the sidepanel + * + * Copyright (C) 2006 - Jesse van den Kieboom + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_FILE_BROWSER_STORE_H__ +#define __PLUMA_FILE_BROWSER_STORE_H__ + +#include + +G_BEGIN_DECLS +#define PLUMA_TYPE_FILE_BROWSER_STORE (pluma_file_browser_store_get_type ()) +#define PLUMA_FILE_BROWSER_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_STORE, PlumaFileBrowserStore)) +#define PLUMA_FILE_BROWSER_STORE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_STORE, PlumaFileBrowserStore const)) +#define PLUMA_FILE_BROWSER_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_FILE_BROWSER_STORE, PlumaFileBrowserStoreClass)) +#define PLUMA_IS_FILE_BROWSER_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_FILE_BROWSER_STORE)) +#define PLUMA_IS_FILE_BROWSER_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_FILE_BROWSER_STORE)) +#define PLUMA_FILE_BROWSER_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_FILE_BROWSER_STORE, PlumaFileBrowserStoreClass)) + +typedef enum +{ + PLUMA_FILE_BROWSER_STORE_COLUMN_ICON = 0, + PLUMA_FILE_BROWSER_STORE_COLUMN_NAME, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, + PLUMA_FILE_BROWSER_STORE_COLUMN_EMBLEM, + PLUMA_FILE_BROWSER_STORE_COLUMN_NUM +} PlumaFileBrowserStoreColumn; + +typedef enum +{ + PLUMA_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY = 1 << 0, + PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN = 1 << 1, + PLUMA_FILE_BROWSER_STORE_FLAG_IS_TEXT = 1 << 2, + PLUMA_FILE_BROWSER_STORE_FLAG_LOADED = 1 << 3, + PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED = 1 << 4, + PLUMA_FILE_BROWSER_STORE_FLAG_IS_DUMMY = 1 << 5 +} PlumaFileBrowserStoreFlag; + +typedef enum +{ + PLUMA_FILE_BROWSER_STORE_RESULT_OK, + PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE, + PLUMA_FILE_BROWSER_STORE_RESULT_ERROR, + PLUMA_FILE_BROWSER_STORE_RESULT_NO_TRASH, + PLUMA_FILE_BROWSER_STORE_RESULT_MOUNTING, + PLUMA_FILE_BROWSER_STORE_RESULT_NUM +} PlumaFileBrowserStoreResult; + +typedef enum +{ + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_NONE = 0, + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN = 1 << 0, + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY = 1 << 1 +} PlumaFileBrowserStoreFilterMode; + +#define FILE_IS_DIR(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_IS_DIRECTORY) +#define FILE_IS_HIDDEN(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_IS_HIDDEN) +#define FILE_IS_TEXT(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_IS_TEXT) +#define FILE_LOADED(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_LOADED) +#define FILE_IS_FILTERED(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_IS_FILTERED) +#define FILE_IS_DUMMY(flags) (flags & PLUMA_FILE_BROWSER_STORE_FLAG_IS_DUMMY) + +typedef struct _PlumaFileBrowserStore PlumaFileBrowserStore; +typedef struct _PlumaFileBrowserStoreClass PlumaFileBrowserStoreClass; +typedef struct _PlumaFileBrowserStorePrivate PlumaFileBrowserStorePrivate; + +typedef gboolean (*PlumaFileBrowserStoreFilterFunc) (PlumaFileBrowserStore + * model, + GtkTreeIter * iter, + gpointer user_data); + +struct _PlumaFileBrowserStore +{ + GObject parent; + + PlumaFileBrowserStorePrivate *priv; +}; + +struct _PlumaFileBrowserStoreClass { + GObjectClass parent_class; + + /* Signals */ + void (*begin_loading) (PlumaFileBrowserStore * model, + GtkTreeIter * iter); + void (*end_loading) (PlumaFileBrowserStore * model, + GtkTreeIter * iter); + void (*error) (PlumaFileBrowserStore * model, + guint code, + gchar * message); + gboolean (*no_trash) (PlumaFileBrowserStore * model, + GList * files); + void (*rename) (PlumaFileBrowserStore * model, + const gchar * olduri, + const gchar * newuri); + void (*begin_refresh) (PlumaFileBrowserStore * model); + void (*end_refresh) (PlumaFileBrowserStore * model); + void (*unload) (PlumaFileBrowserStore * model, + const gchar * uri); +}; + +GType pluma_file_browser_store_get_type (void) G_GNUC_CONST; +GType pluma_file_browser_store_register_type (GTypeModule * module); + +PlumaFileBrowserStore *pluma_file_browser_store_new (gchar const *root); + +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_root_and_virtual_root (PlumaFileBrowserStore * model, + gchar const *root, + gchar const *virtual_root); +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_root (PlumaFileBrowserStore * model, + gchar const *root); +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root (PlumaFileBrowserStore * model, + GtkTreeIter * iter); +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_from_string (PlumaFileBrowserStore * model, + gchar const *root); +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_up (PlumaFileBrowserStore * model); +PlumaFileBrowserStoreResult +pluma_file_browser_store_set_virtual_root_top (PlumaFileBrowserStore * model); + +gboolean +pluma_file_browser_store_get_iter_virtual_root (PlumaFileBrowserStore * model, + GtkTreeIter * iter); +gboolean pluma_file_browser_store_get_iter_root (PlumaFileBrowserStore * model, + GtkTreeIter * iter); +gchar * pluma_file_browser_store_get_root (PlumaFileBrowserStore * model); +gchar * pluma_file_browser_store_get_virtual_root (PlumaFileBrowserStore * model); + +gboolean pluma_file_browser_store_iter_equal (PlumaFileBrowserStore * model, + GtkTreeIter * iter1, + GtkTreeIter * iter2); + +void pluma_file_browser_store_set_value (PlumaFileBrowserStore * tree_model, + GtkTreeIter * iter, + gint column, + GValue * value); + +void _pluma_file_browser_store_iter_expanded (PlumaFileBrowserStore * model, + GtkTreeIter * iter); +void _pluma_file_browser_store_iter_collapsed (PlumaFileBrowserStore * model, + GtkTreeIter * iter); + +PlumaFileBrowserStoreFilterMode +pluma_file_browser_store_get_filter_mode (PlumaFileBrowserStore * model); +void pluma_file_browser_store_set_filter_mode (PlumaFileBrowserStore * model, + PlumaFileBrowserStoreFilterMode mode); +void pluma_file_browser_store_set_filter_func (PlumaFileBrowserStore * model, + PlumaFileBrowserStoreFilterFunc func, + gpointer user_data); +void pluma_file_browser_store_refilter (PlumaFileBrowserStore * model); +PlumaFileBrowserStoreFilterMode +pluma_file_browser_store_filter_mode_get_default (void); + +void pluma_file_browser_store_refresh (PlumaFileBrowserStore * model); +gboolean pluma_file_browser_store_rename (PlumaFileBrowserStore * model, + GtkTreeIter * iter, + gchar const *new_name, + GError ** error); +PlumaFileBrowserStoreResult +pluma_file_browser_store_delete (PlumaFileBrowserStore * model, + GtkTreeIter * iter, + gboolean trash); +PlumaFileBrowserStoreResult +pluma_file_browser_store_delete_all (PlumaFileBrowserStore * model, + GList *rows, + gboolean trash); + +gboolean pluma_file_browser_store_new_file (PlumaFileBrowserStore * model, + GtkTreeIter * parent, + GtkTreeIter * iter); +gboolean pluma_file_browser_store_new_directory (PlumaFileBrowserStore * model, + GtkTreeIter * parent, + GtkTreeIter * iter); + +void pluma_file_browser_store_cancel_mount_operation (PlumaFileBrowserStore *store); + +G_END_DECLS +#endif /* __PLUMA_FILE_BROWSER_STORE_H__ */ + +// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-utils.c b/plugins/filebrowser/pluma-file-browser-utils.c similarity index 87% rename from plugins/filebrowser/gedit-file-browser-utils.c rename to plugins/filebrowser/pluma-file-browser-utils.c index d8f4028..6949486 100755 --- a/plugins/filebrowser/gedit-file-browser-utils.c +++ b/plugins/filebrowser/pluma-file-browser-utils.c @@ -1,5 +1,5 @@ /* - * gedit-file-bookmarks-store.c - Gedit plugin providing easy file access + * pluma-file-bookmarks-store.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "gedit-file-browser-utils.h" -#include +#include "pluma-file-browser-utils.h" +#include static GdkPixbuf * process_icon_pixbuf (GdkPixbuf * pixbuf, @@ -50,7 +50,7 @@ process_icon_pixbuf (GdkPixbuf * pixbuf, } GdkPixbuf * -gedit_file_browser_utils_pixbuf_from_theme (gchar const * name, +pluma_file_browser_utils_pixbuf_from_theme (gchar const * name, GtkIconSize size) { gint width; @@ -71,7 +71,7 @@ gedit_file_browser_utils_pixbuf_from_theme (gchar const * name, } GdkPixbuf * -gedit_file_browser_utils_pixbuf_from_icon (GIcon * icon, +pluma_file_browser_utils_pixbuf_from_icon (GIcon * icon, GtkIconSize size) { GdkPixbuf * ret = NULL; @@ -100,7 +100,7 @@ gedit_file_browser_utils_pixbuf_from_icon (GIcon * icon, } GdkPixbuf * -gedit_file_browser_utils_pixbuf_from_file (GFile * file, +pluma_file_browser_utils_pixbuf_from_file (GFile * file, GtkIconSize size) { GIcon * icon; @@ -118,7 +118,7 @@ gedit_file_browser_utils_pixbuf_from_file (GFile * file, icon = g_file_info_get_icon (info); if (icon != NULL) - ret = gedit_file_browser_utils_pixbuf_from_icon (icon, size); + ret = pluma_file_browser_utils_pixbuf_from_icon (icon, size); g_object_unref (info); @@ -126,26 +126,26 @@ gedit_file_browser_utils_pixbuf_from_file (GFile * file, } gchar * -gedit_file_browser_utils_file_basename (GFile * file) +pluma_file_browser_utils_file_basename (GFile * file) { gchar *uri; gchar *ret; uri = g_file_get_uri (file); - ret = gedit_file_browser_utils_uri_basename (uri); + ret = pluma_file_browser_utils_uri_basename (uri); g_free (uri); return ret; } gchar * -gedit_file_browser_utils_uri_basename (gchar const * uri) +pluma_file_browser_utils_uri_basename (gchar const * uri) { - return gedit_utils_basename_for_display (uri); + return pluma_utils_basename_for_display (uri); } gboolean -gedit_file_browser_utils_confirmation_dialog (GeditWindow * window, +pluma_file_browser_utils_confirmation_dialog (PlumaWindow * window, GtkMessageType type, gchar const *message, gchar const *secondary, diff --git a/plugins/filebrowser/gedit-file-browser-utils.h b/plugins/filebrowser/pluma-file-browser-utils.h similarity index 57% rename from plugins/filebrowser/gedit-file-browser-utils.h rename to plugins/filebrowser/pluma-file-browser-utils.h index fc9acbc..0ac4296 100755 --- a/plugins/filebrowser/gedit-file-browser-utils.h +++ b/plugins/filebrowser/pluma-file-browser-utils.h @@ -1,27 +1,27 @@ -#ifndef __GEDIT_FILE_BROWSER_UTILS_H__ -#define __GEDIT_FILE_BROWSER_UTILS_H__ +#ifndef __PLUMA_FILE_BROWSER_UTILS_H__ +#define __PLUMA_FILE_BROWSER_UTILS_H__ -#include +#include #include -GdkPixbuf *gedit_file_browser_utils_pixbuf_from_theme (gchar const *name, +GdkPixbuf *pluma_file_browser_utils_pixbuf_from_theme (gchar const *name, GtkIconSize size); -GdkPixbuf *gedit_file_browser_utils_pixbuf_from_icon (GIcon * icon, +GdkPixbuf *pluma_file_browser_utils_pixbuf_from_icon (GIcon * icon, GtkIconSize size); -GdkPixbuf *gedit_file_browser_utils_pixbuf_from_file (GFile * file, +GdkPixbuf *pluma_file_browser_utils_pixbuf_from_file (GFile * file, GtkIconSize size); -gchar * gedit_file_browser_utils_file_basename (GFile * file); -gchar * gedit_file_browser_utils_uri_basename (gchar const * uri); +gchar * pluma_file_browser_utils_file_basename (GFile * file); +gchar * pluma_file_browser_utils_uri_basename (gchar const * uri); -gboolean gedit_file_browser_utils_confirmation_dialog (GeditWindow * window, +gboolean pluma_file_browser_utils_confirmation_dialog (PlumaWindow * window, GtkMessageType type, gchar const *message, gchar const *secondary, gchar const * button_stock, gchar const * button_label); -#endif /* __GEDIT_FILE_BROWSER_UTILS_H__ */ +#endif /* __PLUMA_FILE_BROWSER_UTILS_H__ */ // ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-view.c b/plugins/filebrowser/pluma-file-browser-view.c similarity index 78% rename from plugins/filebrowser/gedit-file-browser-view.c rename to plugins/filebrowser/pluma-file-browser-view.c index 05733da..64e90c2 100755 --- a/plugins/filebrowser/gedit-file-browser-view.c +++ b/plugins/filebrowser/pluma-file-browser-view.c @@ -1,5 +1,5 @@ /* - * gedit-file-browser-view.c - Gedit plugin providing easy file access + * pluma-file-browser-view.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -21,20 +21,20 @@ #include #include -#include +#include #include -#include "gedit-file-browser-store.h" -#include "gedit-file-bookmarks-store.h" -#include "gedit-file-browser-view.h" -#include "gedit-file-browser-marshal.h" -#include "gedit-file-browser-enum-types.h" +#include "pluma-file-browser-store.h" +#include "pluma-file-bookmarks-store.h" +#include "pluma-file-browser-view.h" +#include "pluma-file-browser-marshal.h" +#include "pluma-file-browser-enum-types.h" -#define GEDIT_FILE_BROWSER_VIEW_GET_PRIVATE(object)( \ +#define PLUMA_FILE_BROWSER_VIEW_GET_PRIVATE(object)( \ G_TYPE_INSTANCE_GET_PRIVATE((object), \ - GEDIT_TYPE_FILE_BROWSER_VIEW, GeditFileBrowserViewPrivate)) + PLUMA_TYPE_FILE_BROWSER_VIEW, PlumaFileBrowserViewPrivate)) -struct _GeditFileBrowserViewPrivate +struct _PlumaFileBrowserViewPrivate { GtkTreeViewColumn *column; GtkCellRenderer *pixbuf_renderer; @@ -46,7 +46,7 @@ struct _GeditFileBrowserViewPrivate GdkCursor *busy_cursor; /* CLick policy */ - GeditFileBrowserViewClickPolicy click_policy; + PlumaFileBrowserViewClickPolicy click_policy; GtkTreePath *double_click_path[2]; /* Both clicks in a double click need to be on the same row */ GtkTreePath *hover_path; GdkCursor *hand_cursor; @@ -85,32 +85,32 @@ static const GtkTargetEntry drag_source_targets[] = { { "text/uri-list", 0, 0 } }; -GEDIT_PLUGIN_DEFINE_TYPE (GeditFileBrowserView, gedit_file_browser_view, +PLUMA_PLUGIN_DEFINE_TYPE (PlumaFileBrowserView, pluma_file_browser_view, GTK_TYPE_TREE_VIEW) static void on_cell_edited (GtkCellRendererText * cell, gchar * path, gchar * new_text, - GeditFileBrowserView * tree_view); + PlumaFileBrowserView * tree_view); -static void on_begin_refresh (GeditFileBrowserStore * model, - GeditFileBrowserView * view); -static void on_end_refresh (GeditFileBrowserStore * model, - GeditFileBrowserView * view); +static void on_begin_refresh (PlumaFileBrowserStore * model, + PlumaFileBrowserView * view); +static void on_end_refresh (PlumaFileBrowserStore * model, + PlumaFileBrowserView * view); -static void on_unload (GeditFileBrowserStore * model, +static void on_unload (PlumaFileBrowserStore * model, gchar const * uri, - GeditFileBrowserView * view); + PlumaFileBrowserView * view); -static void on_row_inserted (GeditFileBrowserStore * model, +static void on_row_inserted (PlumaFileBrowserStore * model, GtkTreePath * path, GtkTreeIter * iter, - GeditFileBrowserView * view); + PlumaFileBrowserView * view); static void -gedit_file_browser_view_finalize (GObject * object) +pluma_file_browser_view_finalize (GObject * object) { - GeditFileBrowserView *obj = GEDIT_FILE_BROWSER_VIEW(object); + PlumaFileBrowserView *obj = PLUMA_FILE_BROWSER_VIEW(object); if (obj->priv->hand_cursor) gdk_cursor_unref(obj->priv->hand_cursor); @@ -126,12 +126,12 @@ gedit_file_browser_view_finalize (GObject * object) gdk_cursor_unref (obj->priv->busy_cursor); - G_OBJECT_CLASS (gedit_file_browser_view_parent_class)-> + G_OBJECT_CLASS (pluma_file_browser_view_parent_class)-> finalize (object); } static void -add_expand_state (GeditFileBrowserView * view, +add_expand_state (PlumaFileBrowserView * view, gchar const * uri) { GFile * file; @@ -148,7 +148,7 @@ add_expand_state (GeditFileBrowserView * view, } static void -remove_expand_state (GeditFileBrowserView * view, +remove_expand_state (PlumaFileBrowserView * view, gchar const * uri) { GFile * file; @@ -169,20 +169,20 @@ row_expanded (GtkTreeView * tree_view, GtkTreeIter * iter, GtkTreePath * path) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (tree_view); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (tree_view); gchar * uri; - if (GTK_TREE_VIEW_CLASS (gedit_file_browser_view_parent_class)->row_expanded) - GTK_TREE_VIEW_CLASS (gedit_file_browser_view_parent_class)->row_expanded (tree_view, iter, path); + if (GTK_TREE_VIEW_CLASS (pluma_file_browser_view_parent_class)->row_expanded) + GTK_TREE_VIEW_CLASS (pluma_file_browser_view_parent_class)->row_expanded (tree_view, iter, path); - if (!GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) return; if (view->priv->restore_expand_state) { gtk_tree_model_get (view->priv->model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); @@ -190,7 +190,7 @@ row_expanded (GtkTreeView * tree_view, g_free (uri); } - _gedit_file_browser_store_iter_expanded (GEDIT_FILE_BROWSER_STORE (view->priv->model), + _pluma_file_browser_store_iter_expanded (PLUMA_FILE_BROWSER_STORE (view->priv->model), iter); } @@ -199,20 +199,20 @@ row_collapsed (GtkTreeView * tree_view, GtkTreeIter * iter, GtkTreePath * path) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (tree_view); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (tree_view); gchar * uri; - if (GTK_TREE_VIEW_CLASS (gedit_file_browser_view_parent_class)->row_collapsed) - GTK_TREE_VIEW_CLASS (gedit_file_browser_view_parent_class)->row_collapsed (tree_view, iter, path); + if (GTK_TREE_VIEW_CLASS (pluma_file_browser_view_parent_class)->row_collapsed) + GTK_TREE_VIEW_CLASS (pluma_file_browser_view_parent_class)->row_collapsed (tree_view, iter, path); - if (!GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) return; if (view->priv->restore_expand_state) { gtk_tree_model_get (view->priv->model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); @@ -220,7 +220,7 @@ row_collapsed (GtkTreeView * tree_view, g_free (uri); } - _gedit_file_browser_store_iter_collapsed (GEDIT_FILE_BROWSER_STORE (view->priv->model), + _pluma_file_browser_store_iter_collapsed (PLUMA_FILE_BROWSER_STORE (view->priv->model), iter); } @@ -228,25 +228,25 @@ static gboolean leave_notify_event (GtkWidget *widget, GdkEventCrossing *event) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (widget); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (widget); - if (view->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE && + if (view->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE && view->priv->hover_path != NULL) { gtk_tree_path_free (view->priv->hover_path); view->priv->hover_path = NULL; } // Chainup - return GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->leave_notify_event (widget, event); + return GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->leave_notify_event (widget, event); } static gboolean enter_notify_event (GtkWidget *widget, GdkEventCrossing *event) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (widget); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (widget); - if (view->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { + if (view->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { if (view->priv->hover_path != NULL) gtk_tree_path_free (view->priv->hover_path); @@ -261,7 +261,7 @@ enter_notify_event (GtkWidget *widget, } // Chainup - return GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->enter_notify_event (widget, event); + return GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->enter_notify_event (widget, event); } static gboolean @@ -269,9 +269,9 @@ motion_notify_event (GtkWidget * widget, GdkEventMotion * event) { GtkTreePath *old_hover_path; - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (widget); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (widget); - if (view->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { + if (view->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { old_hover_path = view->priv->hover_path; gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (widget), event->x, event->y, @@ -292,12 +292,12 @@ motion_notify_event (GtkWidget * widget, } // Chainup - return GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->motion_notify_event (widget, event); + return GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->motion_notify_event (widget, event); } static void -set_click_policy_property (GeditFileBrowserView *obj, - GeditFileBrowserViewClickPolicy click_policy) +set_click_policy_property (PlumaFileBrowserView *obj, + PlumaFileBrowserViewClickPolicy click_policy) { GtkTreeIter iter; GdkDisplay *display; @@ -305,10 +305,10 @@ set_click_policy_property (GeditFileBrowserView *obj, obj->priv->click_policy = click_policy; - if (click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { + if (click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { if (obj->priv->hand_cursor == NULL) obj->priv->hand_cursor = gdk_cursor_new(GDK_HAND2); - } else if (click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE) { + } else if (click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE) { if (obj->priv->hover_path != NULL) { if (gtk_tree_model_get_iter (GTK_TREE_MODEL (obj->priv->model), &iter, obj->priv->hover_path)) @@ -337,21 +337,21 @@ set_click_policy_property (GeditFileBrowserView *obj, } static void -directory_activated (GeditFileBrowserView *view, +directory_activated (PlumaFileBrowserView *view, GtkTreeIter *iter) { - gedit_file_browser_store_set_virtual_root (GEDIT_FILE_BROWSER_STORE (view->priv->model), iter); + pluma_file_browser_store_set_virtual_root (PLUMA_FILE_BROWSER_STORE (view->priv->model), iter); } static void -activate_selected_files (GeditFileBrowserView *view) { +activate_selected_files (PlumaFileBrowserView *view) { GtkTreeView *tree_view = GTK_TREE_VIEW (view); GtkTreeSelection *selection = gtk_tree_view_get_selection (tree_view); GList *rows, *row; GtkTreePath *directory = NULL; GtkTreePath *path; GtkTreeIter iter; - GeditFileBrowserStoreFlag flags; + PlumaFileBrowserStoreFlag flags; rows = gtk_tree_selection_get_selected_rows (selection, &view->priv->model); @@ -362,7 +362,7 @@ activate_selected_files (GeditFileBrowserView *view) { if (!gtk_tree_model_get_iter (view->priv->model, &iter, path)) continue; - gtk_tree_model_get (view->priv->model, &iter, GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); + gtk_tree_model_get (view->priv->model, &iter, PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (FILE_IS_DIR (flags)) { if (directory == NULL) @@ -383,7 +383,7 @@ activate_selected_files (GeditFileBrowserView *view) { } static void -activate_selected_bookmark (GeditFileBrowserView *view) { +activate_selected_bookmark (PlumaFileBrowserView *view) { GtkTreeView *tree_view = GTK_TREE_VIEW (view); GtkTreeSelection *selection = gtk_tree_view_get_selection (tree_view); GtkTreeIter iter; @@ -393,26 +393,26 @@ activate_selected_bookmark (GeditFileBrowserView *view) { } static void -activate_selected_items (GeditFileBrowserView *view) +activate_selected_items (PlumaFileBrowserView *view) { - if (GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + if (PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) activate_selected_files (view); - else if (GEDIT_IS_FILE_BOOKMARKS_STORE (view->priv->model)) + else if (PLUMA_IS_FILE_BOOKMARKS_STORE (view->priv->model)) activate_selected_bookmark (view); } static void -toggle_hidden_filter (GeditFileBrowserView *view) +toggle_hidden_filter (PlumaFileBrowserView *view) { - GeditFileBrowserStoreFilterMode mode; + PlumaFileBrowserStoreFilterMode mode; - if (GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + if (PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) { - mode = gedit_file_browser_store_get_filter_mode - (GEDIT_FILE_BROWSER_STORE (view->priv->model)); - mode ^= GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; - gedit_file_browser_store_set_filter_mode - (GEDIT_FILE_BROWSER_STORE (view->priv->model), mode); + mode = pluma_file_browser_store_get_filter_mode + (PLUMA_FILE_BROWSER_STORE (view->priv->model)); + mode ^= PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN; + pluma_file_browser_store_set_filter_mode + (PLUMA_FILE_BROWSER_STORE (view->priv->model), mode); } } @@ -426,17 +426,17 @@ static void drag_begin (GtkWidget *widget, GdkDragContext *context) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (widget); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (widget); view->priv->drag_button = 0; view->priv->drag_started = TRUE; /* Chain up */ - GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->drag_begin (widget, context); + GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->drag_begin (widget, context); } static void -did_not_drag (GeditFileBrowserView *view, +did_not_drag (PlumaFileBrowserView *view, GdkEventButton *event) { GtkTreeView *tree_view; @@ -448,7 +448,7 @@ did_not_drag (GeditFileBrowserView *view, if (gtk_tree_view_get_path_at_pos (tree_view, event->x, event->y, &path, NULL, NULL, NULL)) { - if ((view->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) + if ((view->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) && !button_event_modifies_selection(event) && (event->button == 1 || event->button == 2)) { /* Activate all selected items, and leave them selected */ @@ -473,7 +473,7 @@ static gboolean button_release_event (GtkWidget *widget, GdkEventButton *event) { - GeditFileBrowserView *view = GEDIT_FILE_BROWSER_VIEW (widget); + PlumaFileBrowserView *view = PLUMA_FILE_BROWSER_VIEW (widget); if (event->button == view->priv->drag_button) { view->priv->drag_button = 0; @@ -484,7 +484,7 @@ button_release_event (GtkWidget *widget, } /* Chain up */ - return GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->button_release_event (widget, event); + return GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->button_release_event (widget, event); } static gboolean @@ -494,7 +494,7 @@ button_press_event (GtkWidget *widget, int double_click_time; static int click_count = 0; static guint32 last_click_time = 0; - GeditFileBrowserView *view; + PlumaFileBrowserView *view; GtkTreeView *tree_view; GtkTreeSelection *selection; GtkTreePath *path; @@ -503,10 +503,10 @@ button_press_event (GtkWidget *widget, gboolean on_expander; gboolean call_parent; gboolean selected; - GtkWidgetClass *widget_parent = GTK_WIDGET_CLASS(gedit_file_browser_view_parent_class); + GtkWidgetClass *widget_parent = GTK_WIDGET_CLASS(pluma_file_browser_view_parent_class); tree_view = GTK_TREE_VIEW (widget); - view = GEDIT_FILE_BROWSER_VIEW (widget); + view = PLUMA_FILE_BROWSER_VIEW (widget); selection = gtk_tree_view_get_selection (tree_view); /* Get double click time */ @@ -523,7 +523,7 @@ button_press_event (GtkWidget *widget, last_click_time = event->time; /* Ignore double click if we are in single click mode */ - if (view->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE && + if (view->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE && click_count >= 2) { return TRUE; } @@ -576,7 +576,7 @@ button_press_event (GtkWidget *widget, if (selected) { call_parent = on_expander || gtk_tree_selection_count_selected_rows (selection) == 1; - view->priv->ignore_release = call_parent && view->priv->click_policy != GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE; + view->priv->ignore_release = call_parent && view->priv->click_policy != PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE; } else if ((event->state & GDK_CONTROL_MASK) != 0) { call_parent = FALSE; gtk_tree_selection_select_path (selection, path); @@ -623,11 +623,11 @@ static gboolean key_press_event (GtkWidget *widget, GdkEventKey *event) { - GeditFileBrowserView *view; + PlumaFileBrowserView *view; guint modifiers; gboolean handled; - view = GEDIT_FILE_BROWSER_VIEW (widget); + view = PLUMA_FILE_BROWSER_VIEW (widget); handled = FALSE; modifiers = gtk_accelerator_get_default_mod_mask (); @@ -666,13 +666,13 @@ key_press_event (GtkWidget *widget, /* Chain up */ if (!handled) - return GTK_WIDGET_CLASS (gedit_file_browser_view_parent_class)->key_press_event (widget, event); + return GTK_WIDGET_CLASS (pluma_file_browser_view_parent_class)->key_press_event (widget, event); return TRUE; } static void -fill_expand_state (GeditFileBrowserView * view, GtkTreeIter * iter) +fill_expand_state (PlumaFileBrowserView * view, GtkTreeIter * iter) { GtkTreePath * path; GtkTreeIter child; @@ -687,7 +687,7 @@ fill_expand_state (GeditFileBrowserView * view, GtkTreeIter * iter) { gtk_tree_model_get (view->priv->model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); @@ -706,7 +706,7 @@ fill_expand_state (GeditFileBrowserView * view, GtkTreeIter * iter) } static void -uninstall_restore_signals (GeditFileBrowserView * tree_view, +uninstall_restore_signals (PlumaFileBrowserView * tree_view, GtkTreeModel * model) { g_signal_handlers_disconnect_by_func (model, @@ -727,7 +727,7 @@ uninstall_restore_signals (GeditFileBrowserView * tree_view, } static void -install_restore_signals (GeditFileBrowserView * tree_view, +install_restore_signals (PlumaFileBrowserView * tree_view, GtkTreeModel * model) { g_signal_connect (model, @@ -752,7 +752,7 @@ install_restore_signals (GeditFileBrowserView * tree_view, } static void -set_restore_expand_state (GeditFileBrowserView * view, +set_restore_expand_state (PlumaFileBrowserView * view, gboolean state) { if (state == view->priv->restore_expand_state) @@ -771,14 +771,14 @@ set_restore_expand_state (GeditFileBrowserView * view, g_object_unref, NULL); - if (view->priv->model && GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + if (view->priv->model && PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) { fill_expand_state (view, NULL); install_restore_signals (view, view->priv->model); } } - else if (view->priv->model && GEDIT_IS_FILE_BROWSER_STORE (view->priv->model)) + else if (view->priv->model && PLUMA_IS_FILE_BROWSER_STORE (view->priv->model)) { uninstall_restore_signals (view, view->priv->model); } @@ -792,7 +792,7 @@ get_property (GObject *object, GValue *value, GParamSpec *pspec) { - GeditFileBrowserView *obj = GEDIT_FILE_BROWSER_VIEW (object); + PlumaFileBrowserView *obj = PLUMA_FILE_BROWSER_VIEW (object); switch (prop_id) { @@ -814,7 +814,7 @@ set_property (GObject *object, const GValue *value, GParamSpec *pspec) { - GeditFileBrowserView *obj = GEDIT_FILE_BROWSER_VIEW (object); + PlumaFileBrowserView *obj = PLUMA_FILE_BROWSER_VIEW (object); switch (prop_id) { @@ -831,13 +831,13 @@ set_property (GObject *object, } static void -gedit_file_browser_view_class_init (GeditFileBrowserViewClass * klass) +pluma_file_browser_view_class_init (PlumaFileBrowserViewClass * klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkTreeViewClass *tree_view_class = GTK_TREE_VIEW_CLASS (klass); GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); - object_class->finalize = gedit_file_browser_view_finalize; + object_class->finalize = pluma_file_browser_view_finalize; object_class->get_property = get_property; object_class->set_property = set_property; @@ -861,8 +861,8 @@ gedit_file_browser_view_class_init (GeditFileBrowserViewClass * klass) g_param_spec_enum ("click-policy", "Click Policy", "The click policy", - GEDIT_TYPE_FILE_BROWSER_VIEW_CLICK_POLICY, - GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE, + PLUMA_TYPE_FILE_BROWSER_VIEW_CLICK_POLICY, + PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (object_class, PROP_RESTORE_EXPAND_STATE, @@ -876,15 +876,15 @@ gedit_file_browser_view_class_init (GeditFileBrowserViewClass * klass) g_signal_new ("error", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserViewClass, + G_STRUCT_OFFSET (PlumaFileBrowserViewClass, error), NULL, NULL, - gedit_file_browser_marshal_VOID__UINT_STRING, + pluma_file_browser_marshal_VOID__UINT_STRING, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING); signals[FILE_ACTIVATED] = g_signal_new ("file-activated", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserViewClass, + G_STRUCT_OFFSET (PlumaFileBrowserViewClass, file_activated), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GTK_TYPE_TREE_ITER); @@ -892,7 +892,7 @@ gedit_file_browser_view_class_init (GeditFileBrowserViewClass * klass) g_signal_new ("directory-activated", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserViewClass, + G_STRUCT_OFFSET (PlumaFileBrowserViewClass, directory_activated), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GTK_TYPE_TREE_ITER); @@ -900,19 +900,19 @@ gedit_file_browser_view_class_init (GeditFileBrowserViewClass * klass) g_signal_new ("bookmark-activated", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserViewClass, + G_STRUCT_OFFSET (PlumaFileBrowserViewClass, bookmark_activated), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GTK_TYPE_TREE_ITER); g_type_class_add_private (object_class, - sizeof (GeditFileBrowserViewPrivate)); + sizeof (PlumaFileBrowserViewPrivate)); } static void cell_data_cb (GtkTreeViewColumn * tree_column, GtkCellRenderer * cell, GtkTreeModel * tree_model, GtkTreeIter * iter, - GeditFileBrowserView * obj) + PlumaFileBrowserView * obj) { GtkTreePath *path; PangoUnderline underline = PANGO_UNDERLINE_NONE; @@ -920,13 +920,13 @@ cell_data_cb (GtkTreeViewColumn * tree_column, GtkCellRenderer * cell, path = gtk_tree_model_get_path (tree_model, iter); - if (obj->priv->click_policy == GEDIT_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { + if (obj->priv->click_policy == PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE) { if (obj->priv->hover_path != NULL && gtk_tree_path_compare (path, obj->priv->hover_path) == 0) underline = PANGO_UNDERLINE_SINGLE; } - if (GEDIT_IS_FILE_BROWSER_STORE (tree_model)) + if (PLUMA_IS_FILE_BROWSER_STORE (tree_model)) { if (obj->priv->editable != NULL && gtk_tree_row_reference_valid (obj->priv->editable)) @@ -942,9 +942,9 @@ cell_data_cb (GtkTreeViewColumn * tree_column, GtkCellRenderer * cell, } static void -gedit_file_browser_view_init (GeditFileBrowserView * obj) +pluma_file_browser_view_init (PlumaFileBrowserView * obj) { - obj->priv = GEDIT_FILE_BROWSER_VIEW_GET_PRIVATE (obj); + obj->priv = PLUMA_FILE_BROWSER_VIEW_GET_PRIVATE (obj); obj->priv->column = gtk_tree_view_column_new (); @@ -955,7 +955,7 @@ gedit_file_browser_view_init (GeditFileBrowserView * obj) gtk_tree_view_column_add_attribute (obj->priv->column, obj->priv->pixbuf_renderer, "pixbuf", - GEDIT_FILE_BROWSER_STORE_COLUMN_ICON); + PLUMA_FILE_BROWSER_STORE_COLUMN_ICON); obj->priv->text_renderer = gtk_cell_renderer_text_new (); gtk_tree_view_column_pack_start (obj->priv->column, @@ -963,7 +963,7 @@ gedit_file_browser_view_init (GeditFileBrowserView * obj) gtk_tree_view_column_add_attribute (obj->priv->column, obj->priv->text_renderer, "text", - GEDIT_FILE_BROWSER_STORE_COLUMN_NAME); + PLUMA_FILE_BROWSER_STORE_COLUMN_NAME); g_signal_connect (obj->priv->text_renderer, "edited", G_CALLBACK (on_cell_edited), obj); @@ -988,25 +988,25 @@ bookmarks_separator_func (GtkTreeModel * model, GtkTreeIter * iter, guint flags; gtk_tree_model_get (model, iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &flags, -1); - return (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_SEPARATOR); + return (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_SEPARATOR); } /* Public */ GtkWidget * -gedit_file_browser_view_new (void) +pluma_file_browser_view_new (void) { - GeditFileBrowserView *obj = - GEDIT_FILE_BROWSER_VIEW (g_object_new - (GEDIT_TYPE_FILE_BROWSER_VIEW, NULL)); + PlumaFileBrowserView *obj = + PLUMA_FILE_BROWSER_VIEW (g_object_new + (PLUMA_TYPE_FILE_BROWSER_VIEW, NULL)); return GTK_WIDGET (obj); } void -gedit_file_browser_view_set_model (GeditFileBrowserView * tree_view, +pluma_file_browser_view_set_model (PlumaFileBrowserView * tree_view, GtkTreeModel * model) { GtkTreeSelection *selection; @@ -1016,7 +1016,7 @@ gedit_file_browser_view_set_model (GeditFileBrowserView * tree_view, selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)); - if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) { + if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) { gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (tree_view), @@ -1052,7 +1052,7 @@ gedit_file_browser_view_set_model (GeditFileBrowserView * tree_view, tree_view->priv->hover_path = NULL; } - if (GEDIT_IS_FILE_BROWSER_STORE (tree_view->priv->model)) { + if (PLUMA_IS_FILE_BROWSER_STORE (tree_view->priv->model)) { if (tree_view->priv->restore_expand_state) uninstall_restore_signals (tree_view, tree_view->priv->model); @@ -1063,20 +1063,20 @@ gedit_file_browser_view_set_model (GeditFileBrowserView * tree_view, } void -gedit_file_browser_view_start_rename (GeditFileBrowserView * tree_view, +pluma_file_browser_view_start_rename (PlumaFileBrowserView * tree_view, GtkTreeIter * iter) { guint flags; GtkTreeRowReference *rowref; GtkTreePath *path; - g_return_if_fail (GEDIT_IS_FILE_BROWSER_VIEW (tree_view)); - g_return_if_fail (GEDIT_IS_FILE_BROWSER_STORE + g_return_if_fail (PLUMA_IS_FILE_BROWSER_VIEW (tree_view)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_STORE (tree_view->priv->model)); g_return_if_fail (iter != NULL); gtk_tree_model_get (tree_view->priv->model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!(FILE_IS_DIR (flags) || !FILE_IS_DUMMY (flags))) @@ -1106,10 +1106,10 @@ gedit_file_browser_view_start_rename (GeditFileBrowserView * tree_view, } void -gedit_file_browser_view_set_click_policy (GeditFileBrowserView *tree_view, - GeditFileBrowserViewClickPolicy policy) +pluma_file_browser_view_set_click_policy (PlumaFileBrowserView *tree_view, + PlumaFileBrowserViewClickPolicy policy) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_VIEW (tree_view)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_VIEW (tree_view)); set_click_policy_property (tree_view, policy); @@ -1117,10 +1117,10 @@ gedit_file_browser_view_set_click_policy (GeditFileBrowserView *tree_view, } void -gedit_file_browser_view_set_restore_expand_state (GeditFileBrowserView * tree_view, +pluma_file_browser_view_set_restore_expand_state (PlumaFileBrowserView * tree_view, gboolean restore_expand_state) { - g_return_if_fail (GEDIT_IS_FILE_BROWSER_VIEW (tree_view)); + g_return_if_fail (PLUMA_IS_FILE_BROWSER_VIEW (tree_view)); set_restore_expand_state (tree_view, restore_expand_state); g_object_notify (G_OBJECT (tree_view), "restore-expand-state"); @@ -1129,7 +1129,7 @@ gedit_file_browser_view_set_restore_expand_state (GeditFileBrowserView * tree_vi /* Signal handlers */ static void on_cell_edited (GtkCellRendererText * cell, gchar * path, gchar * new_text, - GeditFileBrowserView * tree_view) + PlumaFileBrowserView * tree_view) { GtkTreePath * treepath; GtkTreeIter iter; @@ -1147,7 +1147,7 @@ on_cell_edited (GtkCellRendererText * cell, gchar * path, gchar * new_text, gtk_tree_path_free (treepath); if (ret) { - if (gedit_file_browser_store_rename (GEDIT_FILE_BROWSER_STORE (tree_view->priv->model), + if (pluma_file_browser_store_rename (PLUMA_FILE_BROWSER_STORE (tree_view->priv->model), &iter, new_text, &error)) { treepath = gtk_tree_model_get_path (GTK_TREE_MODEL (tree_view->priv->model), &iter); gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (tree_view), @@ -1166,8 +1166,8 @@ on_cell_edited (GtkCellRendererText * cell, gchar * path, gchar * new_text, } static void -on_begin_refresh (GeditFileBrowserStore * model, - GeditFileBrowserView * view) +on_begin_refresh (PlumaFileBrowserStore * model, + PlumaFileBrowserView * view) { /* Store the refresh state, so we can handle unloading of nodes while refreshing properly */ @@ -1175,8 +1175,8 @@ on_begin_refresh (GeditFileBrowserStore * model, } static void -on_end_refresh (GeditFileBrowserStore * model, - GeditFileBrowserView * view) +on_end_refresh (PlumaFileBrowserStore * model, + PlumaFileBrowserView * view) { /* Store the refresh state, so we can handle unloading of nodes while refreshing properly */ @@ -1184,9 +1184,9 @@ on_end_refresh (GeditFileBrowserStore * model, } static void -on_unload (GeditFileBrowserStore * model, +on_unload (PlumaFileBrowserStore * model, gchar const * uri, - GeditFileBrowserView * view) + PlumaFileBrowserView * view) { /* Don't remove the expand state if we are refreshing */ if (!view->priv->restore_expand_state || view->priv->is_refresh) @@ -1196,8 +1196,8 @@ on_unload (GeditFileBrowserStore * model, } static void -restore_expand_state (GeditFileBrowserView * view, - GeditFileBrowserStore * model, +restore_expand_state (PlumaFileBrowserView * view, + PlumaFileBrowserStore * model, GtkTreeIter * iter) { gchar * uri; @@ -1206,7 +1206,7 @@ restore_expand_state (GeditFileBrowserView * view, gtk_tree_model_get (GTK_TREE_MODEL (model), iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); @@ -1230,10 +1230,10 @@ restore_expand_state (GeditFileBrowserView * view, } static void -on_row_inserted (GeditFileBrowserStore * model, +on_row_inserted (PlumaFileBrowserStore * model, GtkTreePath * path, GtkTreeIter * iter, - GeditFileBrowserView * view) + PlumaFileBrowserView * view) { GtkTreeIter parent; GtkTreePath * copy; diff --git a/plugins/filebrowser/pluma-file-browser-view.h b/plugins/filebrowser/pluma-file-browser-view.h new file mode 100755 index 0000000..04e6495 --- /dev/null +++ b/plugins/filebrowser/pluma-file-browser-view.h @@ -0,0 +1,84 @@ +/* + * pluma-file-browser-view.h - Pluma plugin providing easy file access + * from the sidepanel + * + * Copyright (C) 2006 - Jesse van den Kieboom + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_FILE_BROWSER_VIEW_H__ +#define __PLUMA_FILE_BROWSER_VIEW_H__ + +#include + +G_BEGIN_DECLS +#define PLUMA_TYPE_FILE_BROWSER_VIEW (pluma_file_browser_view_get_type ()) +#define PLUMA_FILE_BROWSER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_VIEW, PlumaFileBrowserView)) +#define PLUMA_FILE_BROWSER_VIEW_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_VIEW, PlumaFileBrowserView const)) +#define PLUMA_FILE_BROWSER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_FILE_BROWSER_VIEW, PlumaFileBrowserViewClass)) +#define PLUMA_IS_FILE_BROWSER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_FILE_BROWSER_VIEW)) +#define PLUMA_IS_FILE_BROWSER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_FILE_BROWSER_VIEW)) +#define PLUMA_FILE_BROWSER_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_FILE_BROWSER_VIEW, PlumaFileBrowserViewClass)) + +typedef struct _PlumaFileBrowserView PlumaFileBrowserView; +typedef struct _PlumaFileBrowserViewClass PlumaFileBrowserViewClass; +typedef struct _PlumaFileBrowserViewPrivate PlumaFileBrowserViewPrivate; + +typedef enum { + PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_DOUBLE, + PLUMA_FILE_BROWSER_VIEW_CLICK_POLICY_SINGLE +} PlumaFileBrowserViewClickPolicy; + +struct _PlumaFileBrowserView +{ + GtkTreeView parent; + + PlumaFileBrowserViewPrivate *priv; +}; + +struct _PlumaFileBrowserViewClass +{ + GtkTreeViewClass parent_class; + + /* Signals */ + void (*error) (PlumaFileBrowserView * filetree, + guint code, + gchar const *message); + void (*file_activated) (PlumaFileBrowserView * filetree, + GtkTreeIter *iter); + void (*directory_activated) (PlumaFileBrowserView * filetree, + GtkTreeIter *iter); + void (*bookmark_activated) (PlumaFileBrowserView * filetree, + GtkTreeIter *iter); +}; + +GType pluma_file_browser_view_get_type (void) G_GNUC_CONST; +GType pluma_file_browser_view_register_type (GTypeModule * module); + +GtkWidget *pluma_file_browser_view_new (void); +void pluma_file_browser_view_set_model (PlumaFileBrowserView * tree_view, + GtkTreeModel * model); +void pluma_file_browser_view_start_rename (PlumaFileBrowserView * tree_view, + GtkTreeIter * iter); +void pluma_file_browser_view_set_click_policy (PlumaFileBrowserView * tree_view, + PlumaFileBrowserViewClickPolicy policy); +void pluma_file_browser_view_set_restore_expand_state (PlumaFileBrowserView * tree_view, + gboolean restore_expand_state); + +G_END_DECLS +#endif /* __PLUMA_FILE_BROWSER_VIEW_H__ */ + +// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser-widget-ui.xml b/plugins/filebrowser/pluma-file-browser-widget-ui.xml similarity index 100% rename from plugins/filebrowser/gedit-file-browser-widget-ui.xml rename to plugins/filebrowser/pluma-file-browser-widget-ui.xml diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c similarity index 78% rename from plugins/filebrowser/gedit-file-browser-widget.c rename to plugins/filebrowser/pluma-file-browser-widget.c index e8a73cc..969c2ae 100755 --- a/plugins/filebrowser/gedit-file-browser-widget.c +++ b/plugins/filebrowser/pluma-file-browser-widget.c @@ -1,5 +1,5 @@ /* - * gedit-file-browser-widget.c - Gedit plugin providing easy file access + * pluma-file-browser-widget.c - Pluma plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom @@ -29,24 +29,24 @@ #include #include #include -#include -#include +#include +#include -#include "gedit-file-browser-utils.h" -#include "gedit-file-browser-error.h" -#include "gedit-file-browser-widget.h" -#include "gedit-file-browser-view.h" -#include "gedit-file-browser-store.h" -#include "gedit-file-bookmarks-store.h" -#include "gedit-file-browser-marshal.h" -#include "gedit-file-browser-enum-types.h" +#include "pluma-file-browser-utils.h" +#include "pluma-file-browser-error.h" +#include "pluma-file-browser-widget.h" +#include "pluma-file-browser-view.h" +#include "pluma-file-browser-store.h" +#include "pluma-file-bookmarks-store.h" +#include "pluma-file-browser-marshal.h" +#include "pluma-file-browser-enum-types.h" -#define GEDIT_FILE_BROWSER_WIDGET_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), \ - GEDIT_TYPE_FILE_BROWSER_WIDGET, \ - GeditFileBrowserWidgetPrivate)) +#define PLUMA_FILE_BROWSER_WIDGET_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), \ + PLUMA_TYPE_FILE_BROWSER_WIDGET, \ + PlumaFileBrowserWidgetPrivate)) -#define XML_UI_FILE "gedit-file-browser-widget-ui.xml" -#define LOCATION_DATA_KEY "gedit-file-browser-widget-location" +#define XML_UI_FILE "pluma-file-browser-widget-ui.xml" +#define LOCATION_DATA_KEY "pluma-file-browser-widget-location" enum { @@ -97,7 +97,7 @@ typedef struct _SignalNode typedef struct { gulong id; - GeditFileBrowserWidgetFilterFunc func; + PlumaFileBrowserWidgetFilterFunc func; gpointer user_data; GDestroyNotify destroy_notify; } FilterFunc; @@ -114,11 +114,11 @@ typedef struct GdkPixbuf *icon; } NameIcon; -struct _GeditFileBrowserWidgetPrivate +struct _PlumaFileBrowserWidgetPrivate { - GeditFileBrowserView *treeview; - GeditFileBrowserStore *file_store; - GeditFileBookmarksStore *bookmarks_store; + PlumaFileBrowserView *treeview; + PlumaFileBrowserStore *file_store; + PlumaFileBookmarksStore *bookmarks_store; GHashTable *bookmarks_hash; @@ -159,82 +159,82 @@ struct _GeditFileBrowserWidgetPrivate GdkCursor *busy_cursor; }; -static void set_enable_delete (GeditFileBrowserWidget *obj, +static void set_enable_delete (PlumaFileBrowserWidget *obj, gboolean enable); static void on_model_set (GObject * gobject, GParamSpec * arg1, - GeditFileBrowserWidget * obj); -static void on_treeview_error (GeditFileBrowserView * tree_view, + PlumaFileBrowserWidget * obj); +static void on_treeview_error (PlumaFileBrowserView * tree_view, guint code, gchar * message, - GeditFileBrowserWidget * obj); -static void on_file_store_error (GeditFileBrowserStore * store, + PlumaFileBrowserWidget * obj); +static void on_file_store_error (PlumaFileBrowserStore * store, guint code, gchar * message, - GeditFileBrowserWidget * obj); -static gboolean on_file_store_no_trash (GeditFileBrowserStore * store, + PlumaFileBrowserWidget * obj); +static gboolean on_file_store_no_trash (PlumaFileBrowserStore * store, GList * files, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_combo_changed (GtkComboBox * combo, - GeditFileBrowserWidget * obj); -static gboolean on_treeview_popup_menu (GeditFileBrowserView * treeview, - GeditFileBrowserWidget * obj); -static gboolean on_treeview_button_press_event (GeditFileBrowserView * treeview, + PlumaFileBrowserWidget * obj); +static gboolean on_treeview_popup_menu (PlumaFileBrowserView * treeview, + PlumaFileBrowserWidget * obj); +static gboolean on_treeview_button_press_event (PlumaFileBrowserView * treeview, GdkEventButton * event, - GeditFileBrowserWidget * obj); -static gboolean on_treeview_key_press_event (GeditFileBrowserView * treeview, + PlumaFileBrowserWidget * obj); +static gboolean on_treeview_key_press_event (PlumaFileBrowserView * treeview, GdkEventKey * event, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_selection_changed (GtkTreeSelection * selection, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); -static void on_virtual_root_changed (GeditFileBrowserStore * model, +static void on_virtual_root_changed (PlumaFileBrowserStore * model, GParamSpec *param, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); -static gboolean on_entry_filter_activate (GeditFileBrowserWidget * obj); +static gboolean on_entry_filter_activate (PlumaFileBrowserWidget * obj); static void on_location_jump_activate (GtkMenuItem * item, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_bookmarks_row_changed (GtkTreeModel * model, GtkTreePath * path, GtkTreeIter * iter, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_bookmarks_row_deleted (GtkTreeModel * model, GtkTreePath * path, - GeditFileBrowserWidget * obj); -static void on_filter_mode_changed (GeditFileBrowserStore * model, + PlumaFileBrowserWidget * obj); +static void on_filter_mode_changed (PlumaFileBrowserStore * model, GParamSpec * param, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_previous (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_next (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_up (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_new (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_file_open (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_file_new (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_file_rename (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_file_delete (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_file_move_to_trash (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_refresh (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_directory_open (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_filter_hidden (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_filter_binary (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); static void on_action_bookmark_open (GtkAction * action, - GeditFileBrowserWidget * obj); + PlumaFileBrowserWidget * obj); -GEDIT_PLUGIN_DEFINE_TYPE (GeditFileBrowserWidget, gedit_file_browser_widget, +PLUMA_PLUGIN_DEFINE_TYPE (PlumaFileBrowserWidget, pluma_file_browser_widget, GTK_TYPE_VBOX) static void @@ -256,8 +256,8 @@ free_name_icon (gpointer data) } static FilterFunc * -filter_func_new (GeditFileBrowserWidget * obj, - GeditFileBrowserWidgetFilterFunc func, +filter_func_new (PlumaFileBrowserWidget * obj, + PlumaFileBrowserWidgetFilterFunc func, gpointer user_data, GDestroyNotify notify) { @@ -285,7 +285,7 @@ location_free (Location * loc) } static gboolean -combo_find_by_id (GeditFileBrowserWidget * obj, guint id, +combo_find_by_id (PlumaFileBrowserWidget * obj, guint id, GtkTreeIter * iter) { guint checkid; @@ -308,7 +308,7 @@ combo_find_by_id (GeditFileBrowserWidget * obj, guint id, } static void -remove_path_items (GeditFileBrowserWidget * obj) +remove_path_items (PlumaFileBrowserWidget * obj) { GtkTreeIter iter; @@ -317,7 +317,7 @@ remove_path_items (GeditFileBrowserWidget * obj) } static void -cancel_async_operation (GeditFileBrowserWidget *widget) +cancel_async_operation (PlumaFileBrowserWidget *widget) { if (!widget->priv->cancellable) return; @@ -329,13 +329,13 @@ cancel_async_operation (GeditFileBrowserWidget *widget) } static void -gedit_file_browser_widget_finalize (GObject * object) +pluma_file_browser_widget_finalize (GObject * object) { - GeditFileBrowserWidget *obj = GEDIT_FILE_BROWSER_WIDGET (object); + PlumaFileBrowserWidget *obj = PLUMA_FILE_BROWSER_WIDGET (object); GList *loc; remove_path_items (obj); - gedit_file_browser_store_set_filter_func (obj->priv->file_store, + pluma_file_browser_store_set_filter_func (obj->priv->file_store, NULL, NULL); g_object_unref (obj->priv->manager); @@ -360,16 +360,16 @@ gedit_file_browser_widget_finalize (GObject * object) gdk_cursor_unref (obj->priv->busy_cursor); - G_OBJECT_CLASS (gedit_file_browser_widget_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_file_browser_widget_parent_class)->finalize (object); } static void -gedit_file_browser_widget_get_property (GObject *object, +pluma_file_browser_widget_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditFileBrowserWidget *obj = GEDIT_FILE_BROWSER_WIDGET (object); + PlumaFileBrowserWidget *obj = PLUMA_FILE_BROWSER_WIDGET (object); switch (prop_id) { @@ -386,17 +386,17 @@ gedit_file_browser_widget_get_property (GObject *object, } static void -gedit_file_browser_widget_set_property (GObject *object, +pluma_file_browser_widget_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditFileBrowserWidget *obj = GEDIT_FILE_BROWSER_WIDGET (object); + PlumaFileBrowserWidget *obj = PLUMA_FILE_BROWSER_WIDGET (object); switch (prop_id) { case PROP_FILTER_PATTERN: - gedit_file_browser_widget_set_filter_pattern (obj, + pluma_file_browser_widget_set_filter_pattern (obj, g_value_get_string (value)); break; case PROP_ENABLE_DELETE: @@ -409,14 +409,14 @@ gedit_file_browser_widget_set_property (GObject *object, } static void -gedit_file_browser_widget_class_init (GeditFileBrowserWidgetClass * klass) +pluma_file_browser_widget_class_init (PlumaFileBrowserWidgetClass * klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_file_browser_widget_finalize; + object_class->finalize = pluma_file_browser_widget_finalize; - object_class->get_property = gedit_file_browser_widget_get_property; - object_class->set_property = gedit_file_browser_widget_set_property; + object_class->get_property = pluma_file_browser_widget_get_property; + object_class->set_property = pluma_file_browser_widget_set_property; g_object_class_install_property (object_class, PROP_FILTER_PATTERN, g_param_spec_string ("filter-pattern", @@ -436,26 +436,26 @@ gedit_file_browser_widget_class_init (GeditFileBrowserWidgetClass * klass) g_signal_new ("uri-activated", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserWidgetClass, + G_STRUCT_OFFSET (PlumaFileBrowserWidgetClass, uri_activated), NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); signals[ERROR] = g_signal_new ("error", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserWidgetClass, + G_STRUCT_OFFSET (PlumaFileBrowserWidgetClass, error), NULL, NULL, - gedit_file_browser_marshal_VOID__UINT_STRING, + pluma_file_browser_marshal_VOID__UINT_STRING, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING); signals[CONFIRM_DELETE] = g_signal_new ("confirm-delete", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserWidgetClass, + G_STRUCT_OFFSET (PlumaFileBrowserWidgetClass, confirm_delete), g_signal_accumulator_true_handled, NULL, - gedit_file_browser_marshal_BOOL__OBJECT_POINTER, + pluma_file_browser_marshal_BOOL__OBJECT_POINTER, G_TYPE_BOOLEAN, 2, G_TYPE_OBJECT, @@ -464,21 +464,21 @@ gedit_file_browser_widget_class_init (GeditFileBrowserWidgetClass * klass) signals[CONFIRM_NO_TRASH] = g_signal_new ("confirm-no-trash", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditFileBrowserWidgetClass, + G_STRUCT_OFFSET (PlumaFileBrowserWidgetClass, confirm_no_trash), g_signal_accumulator_true_handled, NULL, - gedit_file_browser_marshal_BOOL__POINTER, + pluma_file_browser_marshal_BOOL__POINTER, G_TYPE_BOOLEAN, 1, G_TYPE_POINTER); g_type_class_add_private (object_class, - sizeof (GeditFileBrowserWidgetPrivate)); + sizeof (PlumaFileBrowserWidgetPrivate)); } static void -add_signal (GeditFileBrowserWidget * obj, gpointer object, gulong id) +add_signal (PlumaFileBrowserWidget * obj, gpointer object, gulong id) { SignalNode *node = g_new (SignalNode, 1); @@ -490,7 +490,7 @@ add_signal (GeditFileBrowserWidget * obj, gpointer object, gulong id) } static void -clear_signals (GeditFileBrowserWidget * obj) +clear_signals (PlumaFileBrowserWidget * obj) { GSList *item; SignalNode *node; @@ -517,7 +517,7 @@ separator_func (GtkTreeModel * model, GtkTreeIter * iter, gpointer data) } static gboolean -get_from_bookmark_file (GeditFileBrowserWidget * obj, GFile * file, +get_from_bookmark_file (PlumaFileBrowserWidget * obj, GFile * file, gchar ** name, GdkPixbuf ** icon) { gpointer data; @@ -542,7 +542,7 @@ get_from_bookmark_file (GeditFileBrowserWidget * obj, GFile * file, } static void -insert_path_item (GeditFileBrowserWidget * obj, +insert_path_item (PlumaFileBrowserWidget * obj, GFile * file, GtkTreeIter * after, GtkTreeIter * iter, @@ -554,10 +554,10 @@ insert_path_item (GeditFileBrowserWidget * obj, /* Try to get the icon and name from the bookmarks hash */ if (!get_from_bookmark_file (obj, file, &unescape, &icon)) { /* It's not a bookmark, fetch the name and the icon ourselves */ - unescape = gedit_file_browser_utils_file_basename (file); + unescape = pluma_file_browser_utils_file_basename (file); /* Get the icon */ - icon = gedit_file_browser_utils_pixbuf_from_file (file, GTK_ICON_SIZE_MENU); + icon = pluma_file_browser_utils_pixbuf_from_file (file, GTK_ICON_SIZE_MENU); } gtk_tree_store_insert_after (obj->priv->combo_model, iter, NULL, @@ -579,7 +579,7 @@ insert_path_item (GeditFileBrowserWidget * obj, } static void -insert_separator_item (GeditFileBrowserWidget * obj) +insert_separator_item (PlumaFileBrowserWidget * obj) { GtkTreeIter iter; @@ -591,7 +591,7 @@ insert_separator_item (GeditFileBrowserWidget * obj) } static void -combo_set_active_by_id (GeditFileBrowserWidget * obj, guint id) +combo_set_active_by_id (PlumaFileBrowserWidget * obj, guint id) { GtkTreeIter iter; @@ -624,7 +624,7 @@ uri_num_parents (GFile * from, GFile * to) } static void -insert_location_path (GeditFileBrowserWidget * obj) +insert_location_path (PlumaFileBrowserWidget * obj) { Location *loc; GFile *current = NULL; @@ -661,7 +661,7 @@ insert_location_path (GeditFileBrowserWidget * obj) obj); } - if (g_file_equal (current, loc->root) || !gedit_utils_file_has_parent (current)) { + if (g_file_equal (current, loc->root) || !pluma_utils_file_has_parent (current)) { if (current != loc->virtual_root) g_object_unref (current); break; @@ -677,7 +677,7 @@ insert_location_path (GeditFileBrowserWidget * obj) } static void -check_current_item (GeditFileBrowserWidget * obj, gboolean show_path) +check_current_item (PlumaFileBrowserWidget * obj, gboolean show_path) { GtkTreeIter separator; gboolean has_sep; @@ -695,13 +695,13 @@ check_current_item (GeditFileBrowserWidget * obj, gboolean show_path) } static void -fill_combo_model (GeditFileBrowserWidget * obj) +fill_combo_model (PlumaFileBrowserWidget * obj) { GtkTreeStore *store = obj->priv->combo_model; GtkTreeIter iter; GdkPixbuf *icon; - icon = gedit_file_browser_utils_pixbuf_from_theme (GTK_STOCK_HOME, GTK_ICON_SIZE_MENU); + icon = pluma_file_browser_utils_pixbuf_from_theme (GTK_STOCK_HOME, GTK_ICON_SIZE_MENU); gtk_tree_store_append (store, &iter, NULL); gtk_tree_store_set (store, &iter, @@ -738,7 +738,7 @@ indent_cell_data_func (GtkCellLayout * cell_layout, } static void -create_combo (GeditFileBrowserWidget * obj) +create_combo (PlumaFileBrowserWidget * obj) { GtkCellRenderer *renderer; @@ -862,7 +862,7 @@ static const GtkActionEntry bookmark_actions[] = }; static void -create_toolbar (GeditFileBrowserWidget * obj, +create_toolbar (PlumaFileBrowserWidget * obj, const gchar *data_dir) { GtkUIManager *manager; @@ -1024,7 +1024,7 @@ create_toolbar (GeditFileBrowserWidget * obj, } static void -set_enable_delete (GeditFileBrowserWidget *obj, +set_enable_delete (PlumaFileBrowserWidget *obj, gboolean enable) { GtkAction *action; @@ -1041,8 +1041,8 @@ set_enable_delete (GeditFileBrowserWidget *obj, } static gboolean -filter_real (GeditFileBrowserStore * model, GtkTreeIter * iter, - GeditFileBrowserWidget * obj) +filter_real (PlumaFileBrowserStore * model, GtkTreeIter * iter, + PlumaFileBrowserWidget * obj) { GSList *item; FilterFunc *func; @@ -1058,7 +1058,7 @@ filter_real (GeditFileBrowserStore * model, GtkTreeIter * iter, } static void -add_bookmark_hash (GeditFileBrowserWidget * obj, +add_bookmark_hash (PlumaFileBrowserWidget * obj, GtkTreeIter * iter) { GtkTreeModel *model; @@ -1070,7 +1070,7 @@ add_bookmark_hash (GeditFileBrowserWidget * obj, model = GTK_TREE_MODEL (obj->priv->bookmarks_store); - uri = gedit_file_bookmarks_store_get_uri (obj->priv-> + uri = pluma_file_bookmarks_store_get_uri (obj->priv-> bookmarks_store, iter); @@ -1081,9 +1081,9 @@ add_bookmark_hash (GeditFileBrowserWidget * obj, g_free (uri); gtk_tree_model_get (model, iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_ICON, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_ICON, &pixbuf, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_NAME, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_NAME, &name, -1); item = g_new (NameIcon, 1); @@ -1096,7 +1096,7 @@ add_bookmark_hash (GeditFileBrowserWidget * obj, } static void -init_bookmarks_hash (GeditFileBrowserWidget * obj) +init_bookmarks_hash (PlumaFileBrowserWidget * obj) { GtkTreeIter iter; GtkTreeModel *model; @@ -1122,9 +1122,9 @@ init_bookmarks_hash (GeditFileBrowserWidget * obj) } static void -on_begin_loading (GeditFileBrowserStore *model, +on_begin_loading (PlumaFileBrowserStore *model, GtkTreeIter *iter, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { if (!GDK_IS_WINDOW (gtk_widget_get_window (GTK_WIDGET (obj->priv->treeview)))) return; @@ -1134,9 +1134,9 @@ on_begin_loading (GeditFileBrowserStore *model, } static void -on_end_loading (GeditFileBrowserStore *model, +on_end_loading (PlumaFileBrowserStore *model, GtkTreeIter *iter, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { if (!GDK_IS_WINDOW (gtk_widget_get_window (GTK_WIDGET (obj->priv->treeview)))) return; @@ -1145,23 +1145,23 @@ on_end_loading (GeditFileBrowserStore *model, } static void -create_tree (GeditFileBrowserWidget * obj) +create_tree (PlumaFileBrowserWidget * obj) { GtkWidget *sw; - obj->priv->file_store = gedit_file_browser_store_new (NULL); - obj->priv->bookmarks_store = gedit_file_bookmarks_store_new (); + obj->priv->file_store = pluma_file_browser_store_new (NULL); + obj->priv->bookmarks_store = pluma_file_bookmarks_store_new (); obj->priv->treeview = - GEDIT_FILE_BROWSER_VIEW (gedit_file_browser_view_new ()); + PLUMA_FILE_BROWSER_VIEW (pluma_file_browser_view_new ()); - gedit_file_browser_view_set_restore_expand_state (obj->priv->treeview, TRUE); + pluma_file_browser_view_set_restore_expand_state (obj->priv->treeview, TRUE); - gedit_file_browser_store_set_filter_mode (obj->priv->file_store, - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN + pluma_file_browser_store_set_filter_mode (obj->priv->file_store, + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN | - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); - gedit_file_browser_store_set_filter_func (obj->priv->file_store, - (GeditFileBrowserStoreFilterFunc) + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); + pluma_file_browser_store_set_filter_func (obj->priv->file_store, + (PlumaFileBrowserStoreFilterFunc) filter_real, obj); sw = gtk_scrolled_window_new (NULL, NULL); @@ -1212,7 +1212,7 @@ create_tree (GeditFileBrowserWidget * obj) } static void -create_filter (GeditFileBrowserWidget * obj) +create_filter (PlumaFileBrowserWidget * obj) { GtkWidget *expander; GtkWidget *vbox; @@ -1244,9 +1244,9 @@ create_filter (GeditFileBrowserWidget * obj) } static void -gedit_file_browser_widget_init (GeditFileBrowserWidget * obj) +pluma_file_browser_widget_init (PlumaFileBrowserWidget * obj) { - obj->priv = GEDIT_FILE_BROWSER_WIDGET_GET_PRIVATE (obj); + obj->priv = PLUMA_FILE_BROWSER_WIDGET_GET_PRIVATE (obj); obj->priv->bookmarks_hash = g_hash_table_new_full (g_file_hash, (GEqualFunc)g_file_equal, @@ -1261,30 +1261,30 @@ gedit_file_browser_widget_init (GeditFileBrowserWidget * obj) /* Private */ static void -update_sensitivity (GeditFileBrowserWidget * obj) +update_sensitivity (PlumaFileBrowserWidget * obj) { GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); GtkAction *action; gint mode; - if (GEDIT_IS_FILE_BROWSER_STORE (model)) { + if (PLUMA_IS_FILE_BROWSER_STORE (model)) { gtk_action_group_set_sensitive (obj->priv->action_group, TRUE); gtk_action_group_set_sensitive (obj->priv->bookmark_action_group, FALSE); mode = - gedit_file_browser_store_get_filter_mode - (GEDIT_FILE_BROWSER_STORE (model)); + pluma_file_browser_store_get_filter_mode + (PLUMA_FILE_BROWSER_STORE (model)); action = gtk_action_group_get_action (obj->priv->action_group, "FilterHidden"); gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), !(mode & - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN)); - } else if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) { + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN)); + } else if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) { gtk_action_group_set_sensitive (obj->priv->action_group, FALSE); gtk_action_group_set_sensitive (obj->priv->bookmark_action_group, @@ -1303,7 +1303,7 @@ update_sensitivity (GeditFileBrowserWidget * obj) } static gboolean -gedit_file_browser_widget_get_first_selected (GeditFileBrowserWidget *obj, +pluma_file_browser_widget_get_first_selected (PlumaFileBrowserWidget *obj, GtkTreeIter *iter) { GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (obj->priv->treeview)); @@ -1323,13 +1323,13 @@ gedit_file_browser_widget_get_first_selected (GeditFileBrowserWidget *obj, } static gboolean -popup_menu (GeditFileBrowserWidget * obj, GdkEventButton * event, GtkTreeModel * model) +popup_menu (PlumaFileBrowserWidget * obj, GdkEventButton * event, GtkTreeModel * model) { GtkWidget *menu; - if (GEDIT_IS_FILE_BROWSER_STORE (model)) + if (PLUMA_IS_FILE_BROWSER_STORE (model)) menu = gtk_ui_manager_get_widget (obj->priv->manager, "/FilePopup"); - else if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) + else if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) menu = gtk_ui_manager_get_widget (obj->priv->manager, "/BookmarkPopup"); else return FALSE; @@ -1357,7 +1357,7 @@ popup_menu (GeditFileBrowserWidget * obj, GdkEventButton * event, GtkTreeModel * event->button, event->time); } else { gtk_menu_popup (GTK_MENU (menu), NULL, NULL, - gedit_utils_menu_position_under_tree_view, + pluma_utils_menu_position_under_tree_view, obj->priv->treeview, 0, gtk_get_current_event_time ()); gtk_menu_shell_select_first (GTK_MENU_SHELL (menu), FALSE); @@ -1367,7 +1367,7 @@ popup_menu (GeditFileBrowserWidget * obj, GdkEventButton * event, GtkTreeModel * } static gboolean -filter_glob (GeditFileBrowserWidget * obj, GeditFileBrowserStore * store, +filter_glob (PlumaFileBrowserWidget * obj, PlumaFileBrowserStore * store, GtkTreeIter * iter, gpointer user_data) { gchar *name; @@ -1378,8 +1378,8 @@ filter_glob (GeditFileBrowserWidget * obj, GeditFileBrowserStore * store, return TRUE; gtk_tree_model_get (GTK_TREE_MODEL (store), iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_NAME, &name, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_NAME, &name, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (FILE_IS_DIR (flags) || FILE_IS_DUMMY (flags)) @@ -1395,23 +1395,23 @@ filter_glob (GeditFileBrowserWidget * obj, GeditFileBrowserStore * store, } static void -rename_selected_file (GeditFileBrowserWidget * obj) +rename_selected_file (PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeIter iter; model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; - if (gedit_file_browser_widget_get_first_selected (obj, &iter)) - gedit_file_browser_view_start_rename (obj->priv->treeview, + if (pluma_file_browser_widget_get_first_selected (obj, &iter)) + pluma_file_browser_view_start_rename (obj->priv->treeview, &iter); } static GList * -get_deletable_files (GeditFileBrowserWidget *obj) { +get_deletable_files (PlumaFileBrowserWidget *obj) { GtkTreeSelection *selection; GtkTreeModel *model; GList *rows; @@ -1434,7 +1434,7 @@ get_deletable_files (GeditFileBrowserWidget *obj) { continue; gtk_tree_model_get (model, &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (FILE_IS_DUMMY (flags)) @@ -1450,16 +1450,16 @@ get_deletable_files (GeditFileBrowserWidget *obj) { } static gboolean -delete_selected_files (GeditFileBrowserWidget * obj, gboolean trash) +delete_selected_files (PlumaFileBrowserWidget * obj, gboolean trash) { GtkTreeModel *model; gboolean confirm; - GeditFileBrowserStoreResult result; + PlumaFileBrowserStoreResult result; GList *rows; model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return FALSE; rows = get_deletable_files (obj); @@ -1474,19 +1474,19 @@ delete_selected_files (GeditFileBrowserWidget * obj, gboolean trash) return FALSE; } - result = gedit_file_browser_store_delete_all (GEDIT_FILE_BROWSER_STORE (model), + result = pluma_file_browser_store_delete_all (PLUMA_FILE_BROWSER_STORE (model), rows, trash); g_list_foreach (rows, (GFunc)gtk_tree_path_free, NULL); g_list_free (rows); - return result == GEDIT_FILE_BROWSER_STORE_RESULT_OK; + return result == PLUMA_FILE_BROWSER_STORE_RESULT_OK; } static gboolean -on_file_store_no_trash (GeditFileBrowserStore * store, +on_file_store_no_trash (PlumaFileBrowserStore * store, GList * files, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { gboolean confirm = FALSE; @@ -1512,7 +1512,7 @@ get_topmost_file (GFile * file) } static GtkWidget * -create_goto_menu_item (GeditFileBrowserWidget * obj, GList * item, +create_goto_menu_item (PlumaFileBrowserWidget * obj, GList * item, GdkPixbuf * icon) { GtkWidget *result; @@ -1524,7 +1524,7 @@ create_goto_menu_item (GeditFileBrowserWidget * obj, GList * item, loc = (Location *) (item->data); if (!get_from_bookmark_file (obj, loc->virtual_root, &unescape, &pixbuf)) { - unescape = gedit_file_browser_utils_file_basename (loc->virtual_root); + unescape = pluma_file_browser_utils_file_basename (loc->virtual_root); if (icon) pixbuf = g_object_ref (icon); @@ -1573,7 +1573,7 @@ list_prev_iterator (GList * list) } static void -jump_to_location (GeditFileBrowserWidget * obj, GList * item, +jump_to_location (PlumaFileBrowserWidget * obj, GList * item, gboolean previous) { Location *loc; @@ -1646,7 +1646,7 @@ jump_to_location (GeditFileBrowserWidget * obj, GList * item, root = g_file_get_uri (loc->root); virtual_root = g_file_get_uri (loc->virtual_root); - gedit_file_browser_widget_set_root_and_virtual_root (obj, + pluma_file_browser_widget_set_root_and_virtual_root (obj, root, virtual_root); @@ -1657,7 +1657,7 @@ jump_to_location (GeditFileBrowserWidget * obj, GList * item, } static void -clear_next_locations (GeditFileBrowserWidget * obj) +clear_next_locations (PlumaFileBrowserWidget * obj) { GList *children; GList *item; @@ -1691,9 +1691,9 @@ clear_next_locations (GeditFileBrowserWidget * obj) } static void -update_filter_mode (GeditFileBrowserWidget * obj, +update_filter_mode (PlumaFileBrowserWidget * obj, GtkAction * action, - GeditFileBrowserStoreFilterMode mode) + PlumaFileBrowserStoreFilterMode mode) { gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); @@ -1701,23 +1701,23 @@ update_filter_mode (GeditFileBrowserWidget * obj, gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); gint now; - if (GEDIT_IS_FILE_BROWSER_STORE (model)) { + if (PLUMA_IS_FILE_BROWSER_STORE (model)) { now = - gedit_file_browser_store_get_filter_mode - (GEDIT_FILE_BROWSER_STORE (model)); + pluma_file_browser_store_get_filter_mode + (PLUMA_FILE_BROWSER_STORE (model)); if (active) now &= ~mode; else now |= mode; - gedit_file_browser_store_set_filter_mode - (GEDIT_FILE_BROWSER_STORE (model), now); + pluma_file_browser_store_set_filter_mode + (PLUMA_FILE_BROWSER_STORE (model), now); } } static void -set_filter_pattern_real (GeditFileBrowserWidget * obj, +set_filter_pattern_real (PlumaFileBrowserWidget * obj, gchar const * pattern, gboolean update_entry) { @@ -1747,7 +1747,7 @@ set_filter_pattern_real (GeditFileBrowserWidget * obj, if (pattern == NULL) { if (obj->priv->glob_filter_id != 0) { - gedit_file_browser_widget_remove_filter (obj, + pluma_file_browser_widget_remove_filter (obj, obj-> priv-> glob_filter_id); @@ -1758,7 +1758,7 @@ set_filter_pattern_real (GeditFileBrowserWidget * obj, if (obj->priv->glob_filter_id == 0) obj->priv->glob_filter_id = - gedit_file_browser_widget_add_filter (obj, + pluma_file_browser_widget_add_filter (obj, filter_glob, NULL, NULL); @@ -1777,8 +1777,8 @@ set_filter_pattern_real (GeditFileBrowserWidget * obj, } } - if (GEDIT_IS_FILE_BROWSER_STORE (model)) - gedit_file_browser_store_refilter (GEDIT_FILE_BROWSER_STORE + if (PLUMA_IS_FILE_BROWSER_STORE (model)) + pluma_file_browser_store_refilter (PLUMA_FILE_BROWSER_STORE (model)); g_object_notify (G_OBJECT (obj), "filter-pattern"); @@ -1788,23 +1788,23 @@ set_filter_pattern_real (GeditFileBrowserWidget * obj, /* Public */ GtkWidget * -gedit_file_browser_widget_new (const gchar *data_dir) +pluma_file_browser_widget_new (const gchar *data_dir) { - GeditFileBrowserWidget *obj = - g_object_new (GEDIT_TYPE_FILE_BROWSER_WIDGET, NULL); + PlumaFileBrowserWidget *obj = + g_object_new (PLUMA_TYPE_FILE_BROWSER_WIDGET, NULL); create_toolbar (obj, data_dir); create_combo (obj); create_tree (obj); create_filter (obj); - gedit_file_browser_widget_show_bookmarks (obj); + pluma_file_browser_widget_show_bookmarks (obj); return GTK_WIDGET (obj); } void -gedit_file_browser_widget_show_bookmarks (GeditFileBrowserWidget * obj) +pluma_file_browser_widget_show_bookmarks (PlumaFileBrowserWidget * obj) { /* Select bookmarks in the combo box */ g_signal_handlers_block_by_func (obj->priv->combo, @@ -1815,16 +1815,16 @@ gedit_file_browser_widget_show_bookmarks (GeditFileBrowserWidget * obj) check_current_item (obj, FALSE); - gedit_file_browser_view_set_model (obj->priv->treeview, + pluma_file_browser_view_set_model (obj->priv->treeview, GTK_TREE_MODEL (obj->priv-> bookmarks_store)); } static void -show_files_real (GeditFileBrowserWidget *obj, +show_files_real (PlumaFileBrowserWidget *obj, gboolean do_root_changed) { - gedit_file_browser_view_set_model (obj->priv->treeview, + pluma_file_browser_view_set_model (obj->priv->treeview, GTK_TREE_MODEL (obj->priv-> file_store)); @@ -1833,33 +1833,33 @@ show_files_real (GeditFileBrowserWidget *obj, } void -gedit_file_browser_widget_show_files (GeditFileBrowserWidget * obj) +pluma_file_browser_widget_show_files (PlumaFileBrowserWidget * obj) { show_files_real (obj, TRUE); } void -gedit_file_browser_widget_set_root_and_virtual_root (GeditFileBrowserWidget *obj, +pluma_file_browser_widget_set_root_and_virtual_root (PlumaFileBrowserWidget *obj, gchar const *root, gchar const *virtual_root) { - GeditFileBrowserStoreResult result; + PlumaFileBrowserStoreResult result; if (!virtual_root) result = - gedit_file_browser_store_set_root_and_virtual_root + pluma_file_browser_store_set_root_and_virtual_root (obj->priv->file_store, root, root); else result = - gedit_file_browser_store_set_root_and_virtual_root + pluma_file_browser_store_set_root_and_virtual_root (obj->priv->file_store, root, virtual_root); - if (result == GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE) + if (result == PLUMA_FILE_BROWSER_STORE_RESULT_NO_CHANGE) show_files_real (obj, TRUE); } void -gedit_file_browser_widget_set_root (GeditFileBrowserWidget * obj, +pluma_file_browser_widget_set_root (PlumaFileBrowserWidget * obj, gchar const *root, gboolean virtual_root) { @@ -1868,7 +1868,7 @@ gedit_file_browser_widget_set_root (GeditFileBrowserWidget * obj, gchar *str; if (!virtual_root) { - gedit_file_browser_widget_set_root_and_virtual_root (obj, + pluma_file_browser_widget_set_root_and_virtual_root (obj, root, NULL); return; @@ -1881,7 +1881,7 @@ gedit_file_browser_widget_set_root (GeditFileBrowserWidget * obj, parent = get_topmost_file (file); str = g_file_get_uri (parent); - gedit_file_browser_widget_set_root_and_virtual_root + pluma_file_browser_widget_set_root_and_virtual_root (obj, str, root); g_free (str); @@ -1890,39 +1890,39 @@ gedit_file_browser_widget_set_root (GeditFileBrowserWidget * obj, g_object_unref (parent); } -GeditFileBrowserStore * -gedit_file_browser_widget_get_browser_store (GeditFileBrowserWidget * obj) +PlumaFileBrowserStore * +pluma_file_browser_widget_get_browser_store (PlumaFileBrowserWidget * obj) { return obj->priv->file_store; } -GeditFileBookmarksStore * -gedit_file_browser_widget_get_bookmarks_store (GeditFileBrowserWidget * obj) +PlumaFileBookmarksStore * +pluma_file_browser_widget_get_bookmarks_store (PlumaFileBrowserWidget * obj) { return obj->priv->bookmarks_store; } -GeditFileBrowserView * -gedit_file_browser_widget_get_browser_view (GeditFileBrowserWidget * obj) +PlumaFileBrowserView * +pluma_file_browser_widget_get_browser_view (PlumaFileBrowserWidget * obj) { return obj->priv->treeview; } GtkUIManager * -gedit_file_browser_widget_get_ui_manager (GeditFileBrowserWidget * obj) +pluma_file_browser_widget_get_ui_manager (PlumaFileBrowserWidget * obj) { return obj->priv->manager; } GtkWidget * -gedit_file_browser_widget_get_filter_entry (GeditFileBrowserWidget * obj) +pluma_file_browser_widget_get_filter_entry (PlumaFileBrowserWidget * obj) { return obj->priv->filter_entry; } gulong -gedit_file_browser_widget_add_filter (GeditFileBrowserWidget * obj, - GeditFileBrowserWidgetFilterFunc func, +pluma_file_browser_widget_add_filter (PlumaFileBrowserWidget * obj, + PlumaFileBrowserWidgetFilterFunc func, gpointer user_data, GDestroyNotify notify) { @@ -1934,15 +1934,15 @@ gedit_file_browser_widget_add_filter (GeditFileBrowserWidget * obj, obj->priv->filter_funcs = g_slist_append (obj->priv->filter_funcs, f); - if (GEDIT_IS_FILE_BROWSER_STORE (model)) - gedit_file_browser_store_refilter (GEDIT_FILE_BROWSER_STORE + if (PLUMA_IS_FILE_BROWSER_STORE (model)) + pluma_file_browser_store_refilter (PLUMA_FILE_BROWSER_STORE (model)); return f->id; } void -gedit_file_browser_widget_remove_filter (GeditFileBrowserWidget * obj, +pluma_file_browser_widget_remove_filter (PlumaFileBrowserWidget * obj, gulong id) { GSList *item; @@ -1967,14 +1967,14 @@ gedit_file_browser_widget_remove_filter (GeditFileBrowserWidget * obj, } void -gedit_file_browser_widget_set_filter_pattern (GeditFileBrowserWidget * obj, +pluma_file_browser_widget_set_filter_pattern (PlumaFileBrowserWidget * obj, gchar const *pattern) { set_filter_pattern_real (obj, pattern, TRUE); } gboolean -gedit_file_browser_widget_get_selected_directory (GeditFileBrowserWidget * obj, +pluma_file_browser_widget_get_selected_directory (PlumaFileBrowserWidget * obj, GtkTreeIter * iter) { GtkTreeModel *model = @@ -1982,17 +1982,17 @@ gedit_file_browser_widget_get_selected_directory (GeditFileBrowserWidget * obj, GtkTreeIter parent; guint flags; - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return FALSE; - if (!gedit_file_browser_widget_get_first_selected (obj, iter)) { - if (!gedit_file_browser_store_get_iter_virtual_root - (GEDIT_FILE_BROWSER_STORE (model), iter)) + if (!pluma_file_browser_widget_get_first_selected (obj, iter)) { + if (!pluma_file_browser_store_get_iter_virtual_root + (PLUMA_FILE_BROWSER_STORE (model), iter)) return FALSE; } gtk_tree_model_get (model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!FILE_IS_DIR (flags)) { @@ -2005,14 +2005,14 @@ gedit_file_browser_widget_get_selected_directory (GeditFileBrowserWidget * obj, } static guint -gedit_file_browser_widget_get_num_selected_files_or_directories (GeditFileBrowserWidget *obj, +pluma_file_browser_widget_get_num_selected_files_or_directories (PlumaFileBrowserWidget *obj, guint *files, guint *dirs) { GList *rows, *row; GtkTreePath *path; GtkTreeIter iter; - GeditFileBrowserStoreFlag flags; + PlumaFileBrowserStoreFlag flags; guint result = 0; GtkTreeSelection *selection; GtkTreeModel *model; @@ -2020,7 +2020,7 @@ gedit_file_browser_widget_get_num_selected_files_or_directories (GeditFileBrowse selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (obj->priv->treeview)); model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) + if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) return 0; rows = gtk_tree_selection_get_selected_rows (selection, &model); @@ -2033,7 +2033,7 @@ gedit_file_browser_widget_get_num_selected_files_or_directories (GeditFileBrowse continue; gtk_tree_model_get (model, &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, -1); if (!FILE_IS_DUMMY (flags)) { @@ -2054,12 +2054,12 @@ gedit_file_browser_widget_get_num_selected_files_or_directories (GeditFileBrowse typedef struct { - GeditFileBrowserWidget *widget; + PlumaFileBrowserWidget *widget; GCancellable *cancellable; } AsyncData; static AsyncData * -async_data_new (GeditFileBrowserWidget *widget) +async_data_new (PlumaFileBrowserWidget *widget) { AsyncData *ret; @@ -2082,7 +2082,7 @@ async_free (AsyncData *async) } static void -set_busy (GeditFileBrowserWidget *obj, gboolean busy) +set_busy (PlumaFileBrowserWidget *obj, gboolean busy) { GdkCursor *cursor; GdkWindow *window; @@ -2104,10 +2104,10 @@ set_busy (GeditFileBrowserWidget *obj, gboolean busy) } } -static void try_mount_volume (GeditFileBrowserWidget *widget, GVolume *volume); +static void try_mount_volume (PlumaFileBrowserWidget *widget, GVolume *volume); static void -activate_mount (GeditFileBrowserWidget *widget, +activate_mount (PlumaFileBrowserWidget *widget, GVolume *volume, GMount *mount) { @@ -2125,7 +2125,7 @@ activate_mount (GeditFileBrowserWidget *widget, g_signal_emit (widget, signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_SET_ROOT, + PLUMA_FILE_BROWSER_ERROR_SET_ROOT, message); g_free (name); @@ -2136,14 +2136,14 @@ activate_mount (GeditFileBrowserWidget *widget, root = g_mount_get_root (mount); uri = g_file_get_uri (root); - gedit_file_browser_widget_set_root (widget, uri, FALSE); + pluma_file_browser_widget_set_root (widget, uri, FALSE); g_free (uri); g_object_unref (root); } static void -try_activate_drive (GeditFileBrowserWidget *widget, +try_activate_drive (PlumaFileBrowserWidget *widget, GDrive *drive) { GList *volumes; @@ -2205,7 +2205,7 @@ poll_for_media_cb (GDrive *drive, g_signal_emit (async->widget, signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_SET_ROOT, + PLUMA_FILE_BROWSER_ERROR_SET_ROOT, message); g_free (name); @@ -2252,7 +2252,7 @@ mount_volume_cb (GVolume *volume, g_signal_emit (async->widget, signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_SET_ROOT, + PLUMA_FILE_BROWSER_ERROR_SET_ROOT, message); g_free (name); @@ -2266,14 +2266,14 @@ mount_volume_cb (GVolume *volume, } static void -activate_drive (GeditFileBrowserWidget *obj, +activate_drive (PlumaFileBrowserWidget *obj, GtkTreeIter *iter) { GDrive *drive; AsyncData *async; gtk_tree_model_get (GTK_TREE_MODEL (obj->priv->bookmarks_store), iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, &drive, -1); /* most common use case is a floppy drive, we'll poll for media and @@ -2289,7 +2289,7 @@ activate_drive (GeditFileBrowserWidget *obj, } static void -try_mount_volume (GeditFileBrowserWidget *widget, +try_mount_volume (PlumaFileBrowserWidget *widget, GVolume *volume) { GMountOperation *operation; @@ -2310,13 +2310,13 @@ try_mount_volume (GeditFileBrowserWidget *widget, } static void -activate_volume (GeditFileBrowserWidget *obj, +activate_volume (PlumaFileBrowserWidget *obj, GtkTreeIter *iter) { GVolume *volume; gtk_tree_model_get (GTK_TREE_MODEL (obj->priv->bookmarks_store), iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_OBJECT, &volume, -1); /* see if we can mount the volume */ @@ -2325,25 +2325,25 @@ activate_volume (GeditFileBrowserWidget *obj, } void -gedit_file_browser_widget_refresh (GeditFileBrowserWidget *obj) +pluma_file_browser_widget_refresh (PlumaFileBrowserWidget *obj) { GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (GEDIT_IS_FILE_BROWSER_STORE (model)) - gedit_file_browser_store_refresh (GEDIT_FILE_BROWSER_STORE + if (PLUMA_IS_FILE_BROWSER_STORE (model)) + pluma_file_browser_store_refresh (PLUMA_FILE_BROWSER_STORE (model)); - else if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) { + else if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) { g_hash_table_ref (obj->priv->bookmarks_hash); g_hash_table_destroy (obj->priv->bookmarks_hash); - gedit_file_bookmarks_store_refresh - (GEDIT_FILE_BOOKMARKS_STORE (model)); + pluma_file_bookmarks_store_refresh + (PLUMA_FILE_BOOKMARKS_STORE (model)); } } void -gedit_file_browser_widget_history_back (GeditFileBrowserWidget *obj) +pluma_file_browser_widget_history_back (PlumaFileBrowserWidget *obj) { if (obj->priv->locations) { if (obj->priv->current_location) @@ -2357,7 +2357,7 @@ gedit_file_browser_widget_history_back (GeditFileBrowserWidget *obj) } void -gedit_file_browser_widget_history_forward (GeditFileBrowserWidget *obj) +pluma_file_browser_widget_history_forward (PlumaFileBrowserWidget *obj) { if (obj->priv->locations) jump_to_location (obj, obj->priv->current_location->prev, @@ -2365,7 +2365,7 @@ gedit_file_browser_widget_history_forward (GeditFileBrowserWidget *obj) } static void -bookmark_open (GeditFileBrowserWidget *obj, +bookmark_open (PlumaFileBrowserWidget *obj, GtkTreeModel *model, GtkTreeIter *iter) { @@ -2373,27 +2373,27 @@ bookmark_open (GeditFileBrowserWidget *obj, gint flags; gtk_tree_model_get (model, iter, - GEDIT_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, + PLUMA_FILE_BOOKMARKS_STORE_COLUMN_FLAGS, &flags, -1); - if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_DRIVE) + if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_DRIVE) { /* handle a drive node */ - gedit_file_browser_store_cancel_mount_operation (obj->priv->file_store); + pluma_file_browser_store_cancel_mount_operation (obj->priv->file_store); activate_drive (obj, iter); return; } - else if (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_VOLUME) + else if (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_VOLUME) { /* handle a volume node */ - gedit_file_browser_store_cancel_mount_operation (obj->priv->file_store); + pluma_file_browser_store_cancel_mount_operation (obj->priv->file_store); activate_volume (obj, iter); return; } uri = - gedit_file_bookmarks_store_get_uri - (GEDIT_FILE_BOOKMARKS_STORE (model), iter); + pluma_file_bookmarks_store_get_uri + (PLUMA_FILE_BOOKMARKS_STORE (model), iter); if (uri) { /* here we check if the bookmark is a mount point, or if it @@ -2401,13 +2401,13 @@ bookmark_open (GeditFileBrowserWidget *obj, root to the uri of the bookmark and not try to set the topmost parent as root (since that may as well not be the mount point anymore) */ - if ((flags & GEDIT_FILE_BOOKMARKS_STORE_IS_MOUNT) || - (flags & GEDIT_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK)) { - gedit_file_browser_widget_set_root (obj, + if ((flags & PLUMA_FILE_BOOKMARKS_STORE_IS_MOUNT) || + (flags & PLUMA_FILE_BOOKMARKS_STORE_IS_REMOTE_BOOKMARK)) { + pluma_file_browser_widget_set_root (obj, uri, FALSE); } else { - gedit_file_browser_widget_set_root (obj, + pluma_file_browser_widget_set_root (obj, uri, TRUE); } @@ -2419,7 +2419,7 @@ bookmark_open (GeditFileBrowserWidget *obj, } static void -file_open (GeditFileBrowserWidget *obj, +file_open (PlumaFileBrowserWidget *obj, GtkTreeModel *model, GtkTreeIter *iter) { @@ -2427,8 +2427,8 @@ file_open (GeditFileBrowserWidget *obj, gint flags; gtk_tree_model_get (model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); if (!FILE_IS_DIR (flags) && !FILE_IS_DUMMY (flags)) { @@ -2439,18 +2439,18 @@ file_open (GeditFileBrowserWidget *obj, } static gboolean -directory_open (GeditFileBrowserWidget *obj, +directory_open (PlumaFileBrowserWidget *obj, GtkTreeModel *model, GtkTreeIter *iter) { gboolean result = FALSE; GError *error = NULL; gchar *uri = NULL; - GeditFileBrowserStoreFlag flags; + PlumaFileBrowserStoreFlag flags; gtk_tree_model_get (model, iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, &uri, + PLUMA_FILE_BROWSER_STORE_COLUMN_FLAGS, &flags, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); if (FILE_IS_DIR (flags)) { @@ -2458,7 +2458,7 @@ directory_open (GeditFileBrowserWidget *obj, if (!gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (obj)), uri, GDK_CURRENT_TIME, &error)) { g_signal_emit (obj, signals[ERROR], 0, - GEDIT_FILE_BROWSER_ERROR_OPEN_DIRECTORY, + PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY, error->message); g_error_free (error); @@ -2472,9 +2472,9 @@ directory_open (GeditFileBrowserWidget *obj, } static void -on_bookmark_activated (GeditFileBrowserView *tree_view, +on_bookmark_activated (PlumaFileBrowserView *tree_view, GtkTreeIter *iter, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (tree_view)); @@ -2482,9 +2482,9 @@ on_bookmark_activated (GeditFileBrowserView *tree_view, } static void -on_file_activated (GeditFileBrowserView *tree_view, +on_file_activated (PlumaFileBrowserView *tree_view, GtkTreeIter *iter, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (tree_view)); @@ -2492,25 +2492,25 @@ on_file_activated (GeditFileBrowserView *tree_view, } static gboolean -virtual_root_is_root (GeditFileBrowserWidget * obj, - GeditFileBrowserStore * model) +virtual_root_is_root (PlumaFileBrowserWidget * obj, + PlumaFileBrowserStore * model) { GtkTreeIter root; GtkTreeIter virtual_root; - if (!gedit_file_browser_store_get_iter_root (model, &root)) + if (!pluma_file_browser_store_get_iter_root (model, &root)) return TRUE; - if (!gedit_file_browser_store_get_iter_virtual_root (model, &virtual_root)) + if (!pluma_file_browser_store_get_iter_virtual_root (model, &virtual_root)) return TRUE; - return gedit_file_browser_store_iter_equal (model, &root, &virtual_root); + return pluma_file_browser_store_iter_equal (model, &root, &virtual_root); } static void -on_virtual_root_changed (GeditFileBrowserStore * model, +on_virtual_root_changed (PlumaFileBrowserStore * model, GParamSpec * param, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { GtkTreeIter iter; gchar *uri; @@ -2526,19 +2526,19 @@ on_virtual_root_changed (GeditFileBrowserStore * model, show_files_real (obj, FALSE); } - if (gedit_file_browser_store_get_iter_virtual_root (model, &iter)) { + if (pluma_file_browser_store_get_iter_virtual_root (model, &iter)) { gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_URI, + PLUMA_FILE_BROWSER_STORE_COLUMN_URI, &uri, -1); - if (gedit_file_browser_store_get_iter_root (model, &root)) { + if (pluma_file_browser_store_get_iter_root (model, &root)) { if (!obj->priv->changing_location) { /* Remove all items from obj->priv->current_location on */ if (obj->priv->current_location) clear_next_locations (obj); root_uri = - gedit_file_browser_store_get_root + pluma_file_browser_store_get_root (model); loc = g_new (Location, 1); @@ -2563,7 +2563,7 @@ on_virtual_root_changed (GeditFileBrowserStore * model, gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, - GEDIT_FILE_BROWSER_STORE_COLUMN_ICON, + PLUMA_FILE_BROWSER_STORE_COLUMN_ICON, &pixbuf, -1); obj->priv->current_location = @@ -2621,7 +2621,7 @@ on_virtual_root_changed (GeditFileBrowserStore * model, static void on_model_set (GObject * gobject, GParamSpec * arg1, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { GtkTreeModel *model; @@ -2629,7 +2629,7 @@ on_model_set (GObject * gobject, GParamSpec * arg1, clear_signals (obj); - if (GEDIT_IS_FILE_BOOKMARKS_STORE (model)) { + if (PLUMA_IS_FILE_BOOKMARKS_STORE (model)) { clear_next_locations (obj); /* Add the current location to the back menu */ @@ -2654,7 +2654,7 @@ on_model_set (GObject * gobject, GParamSpec * arg1, g_signal_connect (gobject, "bookmark-activated", G_CALLBACK (on_bookmark_activated), obj)); - } else if (GEDIT_IS_FILE_BROWSER_STORE (model)) { + } else if (PLUMA_IS_FILE_BROWSER_STORE (model)) { /* make sure any async operation is cancelled */ cancel_async_operation (obj); @@ -2675,21 +2675,21 @@ on_model_set (GObject * gobject, GParamSpec * arg1, } static void -on_file_store_error (GeditFileBrowserStore * store, guint code, - gchar * message, GeditFileBrowserWidget * obj) +on_file_store_error (PlumaFileBrowserStore * store, guint code, + gchar * message, PlumaFileBrowserWidget * obj) { g_signal_emit (obj, signals[ERROR], 0, code, message); } static void -on_treeview_error (GeditFileBrowserView * tree_view, guint code, - gchar * message, GeditFileBrowserWidget * obj) +on_treeview_error (PlumaFileBrowserView * tree_view, guint code, + gchar * message, PlumaFileBrowserWidget * obj) { g_signal_emit (obj, signals[ERROR], 0, code, message); } static void -on_combo_changed (GtkComboBox * combo, GeditFileBrowserWidget * obj) +on_combo_changed (GtkComboBox * combo, PlumaFileBrowserWidget * obj) { GtkTreeIter iter; guint id; @@ -2704,7 +2704,7 @@ on_combo_changed (GtkComboBox * combo, GeditFileBrowserWidget * obj) switch (id) { case BOOKMARKS_ID: - gedit_file_browser_widget_show_bookmarks (obj); + pluma_file_browser_widget_show_bookmarks (obj); break; case PATH_ID: @@ -2713,7 +2713,7 @@ on_combo_changed (GtkComboBox * combo, GeditFileBrowserWidget * obj) COLUMN_FILE, &file, -1); uri = g_file_get_uri (file); - gedit_file_browser_store_set_virtual_root_from_string + pluma_file_browser_store_set_virtual_root_from_string (obj->priv->file_store, uri); g_free (uri); @@ -2723,16 +2723,16 @@ on_combo_changed (GtkComboBox * combo, GeditFileBrowserWidget * obj) } static gboolean -on_treeview_popup_menu (GeditFileBrowserView * treeview, - GeditFileBrowserWidget * obj) +on_treeview_popup_menu (PlumaFileBrowserView * treeview, + PlumaFileBrowserWidget * obj) { return popup_menu (obj, NULL, gtk_tree_view_get_model (GTK_TREE_VIEW (treeview))); } static gboolean -on_treeview_button_press_event (GeditFileBrowserView * treeview, +on_treeview_button_press_event (PlumaFileBrowserView * treeview, GdkEventButton * event, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { if (event->type == GDK_BUTTON_PRESS && event->button == 3) { return popup_menu (obj, event, @@ -2743,7 +2743,7 @@ on_treeview_button_press_event (GeditFileBrowserView * treeview, } static gboolean -do_change_directory (GeditFileBrowserWidget * obj, +do_change_directory (PlumaFileBrowserWidget * obj, GdkEventKey * event) { GtkAction * action = NULL; @@ -2787,16 +2787,16 @@ do_change_directory (GeditFileBrowserWidget * obj, } static gboolean -on_treeview_key_press_event (GeditFileBrowserView * treeview, +on_treeview_key_press_event (PlumaFileBrowserView * treeview, GdkEventKey * event, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { guint modifiers; if (do_change_directory (obj, event)) return TRUE; - if (!GEDIT_IS_FILE_BROWSER_STORE + if (!PLUMA_IS_FILE_BROWSER_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (treeview)))) return FALSE; @@ -2828,7 +2828,7 @@ on_treeview_key_press_event (GeditFileBrowserView * treeview, static void on_selection_changed (GtkTreeSelection * selection, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { GtkTreeModel *model; guint selected = 0; @@ -2837,9 +2837,9 @@ on_selection_changed (GtkTreeSelection * selection, model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (GEDIT_IS_FILE_BROWSER_STORE (model)) + if (PLUMA_IS_FILE_BROWSER_STORE (model)) { - selected = gedit_file_browser_widget_get_num_selected_files_or_directories (obj, + selected = pluma_file_browser_widget_get_num_selected_files_or_directories (obj, &files, &dirs); } @@ -2855,7 +2855,7 @@ on_selection_changed (GtkTreeSelection * selection, } static gboolean -on_entry_filter_activate (GeditFileBrowserWidget * obj) +on_entry_filter_activate (PlumaFileBrowserWidget * obj) { gchar const *text; @@ -2867,7 +2867,7 @@ on_entry_filter_activate (GeditFileBrowserWidget * obj) static void on_location_jump_activate (GtkMenuItem * item, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { GList *location; @@ -2890,7 +2890,7 @@ static void on_bookmarks_row_changed (GtkTreeModel * model, GtkTreePath * path, GtkTreeIter * iter, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { add_bookmark_hash (obj, iter); } @@ -2898,7 +2898,7 @@ on_bookmarks_row_changed (GtkTreeModel * model, static void on_bookmarks_row_deleted (GtkTreeModel * model, GtkTreePath * path, - GeditFileBrowserWidget *obj) + PlumaFileBrowserWidget *obj) { GtkTreeIter iter; gchar * uri; @@ -2907,7 +2907,7 @@ on_bookmarks_row_deleted (GtkTreeModel * model, if (!gtk_tree_model_get_iter (model, &iter, path)) return; - uri = gedit_file_bookmarks_store_get_uri (obj->priv->bookmarks_store, &iter); + uri = pluma_file_bookmarks_store_get_uri (obj->priv->bookmarks_store, &iter); if (!uri) return; @@ -2920,60 +2920,60 @@ on_bookmarks_row_deleted (GtkTreeModel * model, } static void -on_filter_mode_changed (GeditFileBrowserStore * model, +on_filter_mode_changed (PlumaFileBrowserStore * model, GParamSpec * param, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { gint mode; GtkToggleAction * action; gboolean active; - mode = gedit_file_browser_store_get_filter_mode (model); + mode = pluma_file_browser_store_get_filter_mode (model); action = GTK_TOGGLE_ACTION (gtk_action_group_get_action (obj->priv->action_group, "FilterHidden")); - active = !(mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN); + active = !(mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN); if (active != gtk_toggle_action_get_active (action)) gtk_toggle_action_set_active (action, active); action = GTK_TOGGLE_ACTION (gtk_action_group_get_action (obj->priv->action_group, "FilterBinary")); - active = !(mode & GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); + active = !(mode & PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); if (active != gtk_toggle_action_get_active (action)) gtk_toggle_action_set_active (action, active); } static void -on_action_directory_next (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_directory_next (GtkAction * action, PlumaFileBrowserWidget * obj) { - gedit_file_browser_widget_history_forward (obj); + pluma_file_browser_widget_history_forward (obj); } static void on_action_directory_previous (GtkAction * action, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { - gedit_file_browser_widget_history_back (obj); + pluma_file_browser_widget_history_back (obj); } static void on_action_directory_up (GtkAction * action, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { GtkTreeModel *model; model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; - gedit_file_browser_store_set_virtual_root_up (GEDIT_FILE_BROWSER_STORE (model)); + pluma_file_browser_store_set_virtual_root_up (PLUMA_FILE_BROWSER_STORE (model)); } static void -on_action_directory_new (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_directory_new (GtkAction * action, PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeIter parent; @@ -2981,21 +2981,21 @@ on_action_directory_new (GtkAction * action, GeditFileBrowserWidget * obj) model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; - if (!gedit_file_browser_widget_get_selected_directory (obj, &parent)) + if (!pluma_file_browser_widget_get_selected_directory (obj, &parent)) return; - if (gedit_file_browser_store_new_directory - (GEDIT_FILE_BROWSER_STORE (model), &parent, &iter)) { - gedit_file_browser_view_start_rename (obj->priv->treeview, + if (pluma_file_browser_store_new_directory + (PLUMA_FILE_BROWSER_STORE (model), &parent, &iter)) { + pluma_file_browser_view_start_rename (obj->priv->treeview, &iter); } } static void -on_action_file_open (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_file_open (GtkAction * action, PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeSelection *selection; @@ -3007,7 +3007,7 @@ on_action_file_open (GtkAction * action, GeditFileBrowserWidget * obj) model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; rows = gtk_tree_selection_get_selected_rows (selection, &model); @@ -3025,7 +3025,7 @@ on_action_file_open (GtkAction * action, GeditFileBrowserWidget * obj) } static void -on_action_file_new (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_file_new (GtkAction * action, PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeIter parent; @@ -3033,46 +3033,46 @@ on_action_file_new (GtkAction * action, GeditFileBrowserWidget * obj) model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; - if (!gedit_file_browser_widget_get_selected_directory (obj, &parent)) + if (!pluma_file_browser_widget_get_selected_directory (obj, &parent)) return; - if (gedit_file_browser_store_new_file - (GEDIT_FILE_BROWSER_STORE (model), &parent, &iter)) { - gedit_file_browser_view_start_rename (obj->priv->treeview, + if (pluma_file_browser_store_new_file + (PLUMA_FILE_BROWSER_STORE (model), &parent, &iter)) { + pluma_file_browser_view_start_rename (obj->priv->treeview, &iter); } } static void -on_action_file_rename (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_file_rename (GtkAction * action, PlumaFileBrowserWidget * obj) { rename_selected_file (obj); } static void -on_action_file_delete (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_file_delete (GtkAction * action, PlumaFileBrowserWidget * obj) { delete_selected_files (obj, FALSE); } static void -on_action_file_move_to_trash (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_file_move_to_trash (GtkAction * action, PlumaFileBrowserWidget * obj) { delete_selected_files (obj, TRUE); } static void on_action_directory_refresh (GtkAction * action, - GeditFileBrowserWidget * obj) + PlumaFileBrowserWidget * obj) { - gedit_file_browser_widget_refresh (obj); + pluma_file_browser_widget_refresh (obj); } static void -on_action_directory_open (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_directory_open (GtkAction * action, PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeSelection *selection; @@ -3085,7 +3085,7 @@ on_action_directory_open (GtkAction * action, GeditFileBrowserWidget * obj) model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BROWSER_STORE (model)) + if (!PLUMA_IS_FILE_BROWSER_STORE (model)) return; rows = gtk_tree_selection_get_selected_rows (selection, &model); @@ -3100,7 +3100,7 @@ on_action_directory_open (GtkAction * action, GeditFileBrowserWidget * obj) } if (!directory_opened) { - if (gedit_file_browser_widget_get_selected_directory (obj, &iter)) + if (pluma_file_browser_widget_get_selected_directory (obj, &iter)) directory_open (obj, model, &iter); } @@ -3108,23 +3108,23 @@ on_action_directory_open (GtkAction * action, GeditFileBrowserWidget * obj) } static void -on_action_filter_hidden (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_filter_hidden (GtkAction * action, PlumaFileBrowserWidget * obj) { update_filter_mode (obj, action, - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN); + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_HIDDEN); } static void -on_action_filter_binary (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_filter_binary (GtkAction * action, PlumaFileBrowserWidget * obj) { update_filter_mode (obj, action, - GEDIT_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); + PLUMA_FILE_BROWSER_STORE_FILTER_MODE_HIDE_BINARY); } static void -on_action_bookmark_open (GtkAction * action, GeditFileBrowserWidget * obj) +on_action_bookmark_open (GtkAction * action, PlumaFileBrowserWidget * obj) { GtkTreeModel *model; GtkTreeSelection *selection; @@ -3133,7 +3133,7 @@ on_action_bookmark_open (GtkAction * action, GeditFileBrowserWidget * obj) model = gtk_tree_view_get_model (GTK_TREE_VIEW (obj->priv->treeview)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (obj->priv->treeview)); - if (!GEDIT_IS_FILE_BOOKMARKS_STORE (model)) + if (!PLUMA_IS_FILE_BOOKMARKS_STORE (model)) return; if (gtk_tree_selection_get_selected (selection, NULL, &iter)) diff --git a/plugins/filebrowser/pluma-file-browser-widget.h b/plugins/filebrowser/pluma-file-browser-widget.h new file mode 100755 index 0000000..4d7f43e --- /dev/null +++ b/plugins/filebrowser/pluma-file-browser-widget.h @@ -0,0 +1,121 @@ +/* + * pluma-file-browser-widget.h - Pluma plugin providing easy file access + * from the sidepanel + * + * Copyright (C) 2006 - Jesse van den Kieboom + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_FILE_BROWSER_WIDGET_H__ +#define __PLUMA_FILE_BROWSER_WIDGET_H__ + +#include +#include "pluma-file-browser-store.h" +#include "pluma-file-bookmarks-store.h" +#include "pluma-file-browser-view.h" + +G_BEGIN_DECLS +#define PLUMA_TYPE_FILE_BROWSER_WIDGET (pluma_file_browser_widget_get_type ()) +#define PLUMA_FILE_BROWSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_WIDGET, PlumaFileBrowserWidget)) +#define PLUMA_FILE_BROWSER_WIDGET_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_BROWSER_WIDGET, PlumaFileBrowserWidget const)) +#define PLUMA_FILE_BROWSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_FILE_BROWSER_WIDGET, PlumaFileBrowserWidgetClass)) +#define PLUMA_IS_FILE_BROWSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_FILE_BROWSER_WIDGET)) +#define PLUMA_IS_FILE_BROWSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_FILE_BROWSER_WIDGET)) +#define PLUMA_FILE_BROWSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_FILE_BROWSER_WIDGET, PlumaFileBrowserWidgetClass)) + +typedef struct _PlumaFileBrowserWidget PlumaFileBrowserWidget; +typedef struct _PlumaFileBrowserWidgetClass PlumaFileBrowserWidgetClass; +typedef struct _PlumaFileBrowserWidgetPrivate PlumaFileBrowserWidgetPrivate; + +typedef +gboolean (*PlumaFileBrowserWidgetFilterFunc) (PlumaFileBrowserWidget * obj, + PlumaFileBrowserStore * + model, GtkTreeIter * iter, + gpointer user_data); + +struct _PlumaFileBrowserWidget +{ + GtkVBox parent; + + PlumaFileBrowserWidgetPrivate *priv; +}; + +struct _PlumaFileBrowserWidgetClass +{ + GtkVBoxClass parent_class; + + /* Signals */ + void (*uri_activated) (PlumaFileBrowserWidget * widget, + gchar const *uri); + void (*error) (PlumaFileBrowserWidget * widget, + guint code, + gchar const *message); + gboolean (*confirm_delete) (PlumaFileBrowserWidget * widget, + PlumaFileBrowserStore * model, + GList *list); + gboolean (*confirm_no_trash) (PlumaFileBrowserWidget * widget, + GList *list); +}; + +GType pluma_file_browser_widget_get_type (void) G_GNUC_CONST; +GType pluma_file_browser_widget_register_type (GTypeModule * module); + +GtkWidget *pluma_file_browser_widget_new (const gchar *data_dir); + +void pluma_file_browser_widget_show_bookmarks (PlumaFileBrowserWidget * obj); +void pluma_file_browser_widget_show_files (PlumaFileBrowserWidget * obj); + +void pluma_file_browser_widget_set_root (PlumaFileBrowserWidget * obj, + gchar const *root, + gboolean virtual_root); +void +pluma_file_browser_widget_set_root_and_virtual_root (PlumaFileBrowserWidget * obj, + gchar const *root, + gchar const *virtual_root); + +gboolean +pluma_file_browser_widget_get_selected_directory (PlumaFileBrowserWidget * obj, + GtkTreeIter * iter); + +PlumaFileBrowserStore * +pluma_file_browser_widget_get_browser_store (PlumaFileBrowserWidget * obj); +PlumaFileBookmarksStore * +pluma_file_browser_widget_get_bookmarks_store (PlumaFileBrowserWidget * obj); +PlumaFileBrowserView * +pluma_file_browser_widget_get_browser_view (PlumaFileBrowserWidget * obj); +GtkWidget * +pluma_file_browser_widget_get_filter_entry (PlumaFileBrowserWidget * obj); + +GtkUIManager * +pluma_file_browser_widget_get_ui_manager (PlumaFileBrowserWidget * obj); + +gulong pluma_file_browser_widget_add_filter (PlumaFileBrowserWidget * obj, + PlumaFileBrowserWidgetFilterFunc func, + gpointer user_data, + GDestroyNotify notify); +void pluma_file_browser_widget_remove_filter (PlumaFileBrowserWidget * obj, + gulong id); +void pluma_file_browser_widget_set_filter_pattern (PlumaFileBrowserWidget * obj, + gchar const *pattern); + +void pluma_file_browser_widget_refresh (PlumaFileBrowserWidget * obj); +void pluma_file_browser_widget_history_back (PlumaFileBrowserWidget * obj); +void pluma_file_browser_widget_history_forward (PlumaFileBrowserWidget * obj); + +G_END_DECLS +#endif /* __PLUMA_FILE_BROWSER_WIDGET_H__ */ + +// ex:ts=8:noet: diff --git a/plugins/filebrowser/gedit-file-browser.schemas.in b/plugins/filebrowser/pluma-file-browser.schemas.in similarity index 69% rename from plugins/filebrowser/gedit-file-browser.schemas.in rename to plugins/filebrowser/pluma-file-browser.schemas.in index c80c8ee..0ae807d 100755 --- a/plugins/filebrowser/gedit-file-browser.schemas.in +++ b/plugins/filebrowser/pluma-file-browser.schemas.in @@ -1,9 +1,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/on_load/tree_view - /apps/gedit-2/plugins/filebrowser/on_load/tree_view - gedit + /schemas/apps/pluma-2/plugins/filebrowser/on_load/tree_view + /apps/pluma-2/plugins/filebrowser/on_load/tree_view + pluma bool TRUE @@ -13,9 +13,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/on_load/root - /apps/gedit-2/plugins/filebrowser/on_load/root - gedit + /schemas/apps/pluma-2/plugins/filebrowser/on_load/root + /apps/pluma-2/plugins/filebrowser/on_load/root + pluma string @@ -26,9 +26,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/on_load/virtual_root - /apps/gedit-2/plugins/filebrowser/on_load/virtual_root - gedit + /schemas/apps/pluma-2/plugins/filebrowser/on_load/virtual_root + /apps/pluma-2/plugins/filebrowser/on_load/virtual_root + pluma string @@ -40,9 +40,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/on_load/enable_remote - /apps/gedit-2/plugins/filebrowser/on_load/enable_remote - gedit + /schemas/apps/pluma-2/plugins/filebrowser/on_load/enable_remote + /apps/pluma-2/plugins/filebrowser/on_load/enable_remote + pluma bool FALSE @@ -52,9 +52,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/open_at_first_doc - /apps/gedit-2/plugins/filebrowser/open_at_first_doc - gedit + /schemas/apps/pluma-2/plugins/filebrowser/open_at_first_doc + /apps/pluma-2/plugins/filebrowser/open_at_first_doc + pluma bool TRUE @@ -67,9 +67,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/filter_mode - /apps/gedit-2/plugins/filebrowser/filter_mode - gedit + /schemas/apps/pluma-2/plugins/filebrowser/filter_mode + /apps/pluma-2/plugins/filebrowser/filter_mode + pluma string hidden_and_binary @@ -82,9 +82,9 @@ - /schemas/apps/gedit-2/plugins/filebrowser/filter_pattern - /apps/gedit-2/plugins/filebrowser/filter_pattern - gedit + /schemas/apps/pluma-2/plugins/filebrowser/filter_pattern + /apps/pluma-2/plugins/filebrowser/filter_pattern + pluma string diff --git a/plugins/modelines/Makefile.am b/plugins/modelines/Makefile.am index ddcfccc..d1b59b8 100755 --- a/plugins/modelines/Makefile.am +++ b/plugins/modelines/Makefile.am @@ -1,31 +1,31 @@ # Modelines Plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) -modelinesdir = $(GEDIT_PLUGINS_DATA_DIR)/modelines +modelinesdir = $(PLUMA_PLUGINS_DATA_DIR)/modelines modelines_DATA = \ language-mappings plugin_LTLIBRARIES = libmodelines.la libmodelines_la_SOURCES = \ - gedit-modeline-plugin.h \ - gedit-modeline-plugin.c \ + pluma-modeline-plugin.h \ + pluma-modeline-plugin.c \ modeline-parser.h \ modeline-parser.c libmodelines_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libmodelines_la_LIBADD = $(GEDIT_LIBS) +libmodelines_la_LIBADD = $(PLUMA_LIBS) -plugin_in_files = modelines.gedit-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +plugin_in_files = modelines.pluma-plugin.desktop.in +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = \ $(plugin_in_files) \ diff --git a/plugins/modelines/gedit-modeline-plugin.h b/plugins/modelines/gedit-modeline-plugin.h deleted file mode 100755 index 92b01e7..0000000 --- a/plugins/modelines/gedit-modeline-plugin.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * gedit-modeline-plugin.h - * Emacs, Kate and Vim-style modelines support for gedit. - * - * Copyright (C) 2005-2007 - Steve Frécinaux - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef __GEDIT_MODELINE_PLUGIN_H__ -#define __GEDIT_MODELINE_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -#define GEDIT_TYPE_MODELINE_PLUGIN (gedit_modeline_plugin_get_type ()) -#define GEDIT_MODELINE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_MODELINE_PLUGIN, GeditModelinePlugin)) -#define GEDIT_MODELINE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_MODELINE_PLUGIN, GeditModelinePluginClass)) -#define GEDIT_IS_MODELINE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_MODELINE_PLUGIN)) -#define GEDIT_IS_MODELINE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_MODELINE_PLUGIN)) -#define GEDIT_MODELINE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_MODELINE_PLUGIN, GeditModelinePluginClass)) - -/* Private structure type */ -typedef GeditPluginClass GeditModelinePluginClass; -typedef GeditPlugin GeditModelinePlugin; - -GType gedit_modeline_plugin_get_type (void) G_GNUC_CONST; - -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_MODELINE_PLUGIN_H__ */ diff --git a/plugins/modelines/modeline-parser.c b/plugins/modelines/modeline-parser.c index 6feafc5..23304e3 100755 --- a/plugins/modelines/modeline-parser.c +++ b/plugins/modelines/modeline-parser.c @@ -1,6 +1,6 @@ /* * modeline-parser.c - * Emacs, Kate and Vim-style modelines support for gedit. + * Emacs, Kate and Vim-style modelines support for pluma. * * Copyright (C) 2005-2007 - Steve Frécinaux * @@ -22,9 +22,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include "modeline-parser.h" #define MODELINES_LANGUAGE_MAPPINGS_FILE "language-mappings" @@ -32,7 +32,7 @@ /* base dir to lookup configuration files */ static gchar *modelines_data_dir; -/* Mappings: language name -> Gedit language ID */ +/* Mappings: language name -> Pluma language ID */ static GHashTable *vim_languages; static GHashTable *emacs_languages; static GHashTable *kate_languages; @@ -112,7 +112,7 @@ load_language_mappings_group (GKeyFile *key_file, const gchar *group) keys = g_key_file_get_keys (key_file, group, &length, NULL); - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "%" G_GSIZE_FORMAT " mappings in group %s", length, group); @@ -143,7 +143,7 @@ load_language_mappings (void) if (g_key_file_load_from_file (mappings, fname, 0, &error)) { - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Loaded language mappings from %s", fname); @@ -153,7 +153,7 @@ load_language_mappings (void) } else { - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Failed to loaded language mappings from %s: %s", fname, error->message); @@ -395,7 +395,7 @@ parse_emacs_modeline (gchar *s, s++; } - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Emacs modeline bit: %s = %s", key->str, value->str); @@ -493,7 +493,7 @@ parse_kate_modeline (gchar *s, s++; } - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Kate modeline bit: %s = %s", key->str, value->str); @@ -582,21 +582,21 @@ parse_modeline (gchar *s, strncmp (s, "vi:", 3) == 0 || strncmp (s, "vim:", 4) == 0)) { - gedit_debug_message (DEBUG_PLUGINS, "Vim modeline on line %d", line_number); + pluma_debug_message (DEBUG_PLUGINS, "Vim modeline on line %d", line_number); while (*s != ':') s++; s = parse_vim_modeline (s + 1, options); } else if (line_number <= 2 && strncmp (s, "-*-", 3) == 0) { - gedit_debug_message (DEBUG_PLUGINS, "Emacs modeline on line %d", line_number); + pluma_debug_message (DEBUG_PLUGINS, "Emacs modeline on line %d", line_number); s = parse_emacs_modeline (s + 3, options); } else if ((line_number <= 10 || line_number > line_count - 10) && strncmp (s, "kate:", 5) == 0) { - gedit_debug_message (DEBUG_PLUGINS, "Kate modeline on line %d", line_number); + pluma_debug_message (DEBUG_PLUGINS, "Kate modeline on line %d", line_number); s = parse_kate_modeline (s + 5, options); } @@ -744,7 +744,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) GtkSourceLanguageManager *manager; GtkSourceLanguage *language; - manager = gedit_get_language_manager (); + manager = pluma_get_language_manager (); language = gtk_source_language_manager_get_language (manager, options.language_id); @@ -769,7 +769,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) { gtk_source_view_set_insert_spaces_instead_of_tabs (view, - gedit_prefs_manager_get_insert_spaces ()); + pluma_prefs_manager_get_insert_spaces ()); } if (has_option (&options, MODELINE_SET_TAB_WIDTH)) @@ -779,7 +779,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) else if (check_previous (view, previous, MODELINE_SET_TAB_WIDTH)) { gtk_source_view_set_tab_width (view, - gedit_prefs_manager_get_tabs_size ()); + pluma_prefs_manager_get_tabs_size ()); } if (has_option (&options, MODELINE_SET_INDENT_WIDTH)) @@ -798,7 +798,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) else if (check_previous (view, previous, MODELINE_SET_WRAP_MODE)) { gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (view), - gedit_prefs_manager_get_wrap_mode ()); + pluma_prefs_manager_get_wrap_mode ()); } if (has_option (&options, MODELINE_SET_RIGHT_MARGIN_POSITION)) @@ -808,7 +808,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) else if (check_previous (view, previous, MODELINE_SET_RIGHT_MARGIN_POSITION)) { gtk_source_view_set_right_margin_position (view, - gedit_prefs_manager_get_right_margin_position ()); + pluma_prefs_manager_get_right_margin_position ()); } if (has_option (&options, MODELINE_SET_SHOW_RIGHT_MARGIN)) @@ -818,7 +818,7 @@ modeline_parser_apply_modeline (GtkSourceView *view) else if (check_previous (view, previous, MODELINE_SET_SHOW_RIGHT_MARGIN)) { gtk_source_view_set_show_right_margin (view, - gedit_prefs_manager_get_display_right_margin ()); + pluma_prefs_manager_get_display_right_margin ()); } if (previous) diff --git a/plugins/modelines/modeline-parser.h b/plugins/modelines/modeline-parser.h index 2e8559e..11e06c3 100755 --- a/plugins/modelines/modeline-parser.h +++ b/plugins/modelines/modeline-parser.h @@ -1,6 +1,6 @@ /* * modelie-parser.h - * Emacs, Kate and Vim-style modelines support for gedit. + * Emacs, Kate and Vim-style modelines support for pluma. * * Copyright (C) 2005-2007 - Steve Frécinaux * diff --git a/plugins/modelines/modelines.gedit-plugin.desktop.in b/plugins/modelines/modelines.pluma-plugin.desktop.in similarity index 53% rename from plugins/modelines/modelines.gedit-plugin.desktop.in rename to plugins/modelines/modelines.pluma-plugin.desktop.in index c72f019..0d5f838 100755 --- a/plugins/modelines/modelines.gedit-plugin.desktop.in +++ b/plugins/modelines/modelines.pluma-plugin.desktop.in @@ -1,8 +1,8 @@ -[Gedit Plugin] +[Pluma Plugin] Module=modelines IAge=2 _Name=Modelines -_Description=Emacs, Kate and Vim-style modelines support for gedit. +_Description=Emacs, Kate and Vim-style modelines support for pluma. Authors=Steve Frécinaux Copyright=Copyright © 2005 Steve Frécinaux -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/modelines/gedit-modeline-plugin.c b/plugins/modelines/pluma-modeline-plugin.c similarity index 64% rename from plugins/modelines/gedit-modeline-plugin.c rename to plugins/modelines/pluma-modeline-plugin.c index 49fc2f6..db5fc1e 100755 --- a/plugins/modelines/gedit-modeline-plugin.c +++ b/plugins/modelines/pluma-modeline-plugin.c @@ -1,6 +1,6 @@ /* - * gedit-modeline-plugin.c - * Emacs, Kate and Vim-style modelines support for gedit. + * pluma-modeline-plugin.c + * Emacs, Kate and Vim-style modelines support for pluma. * * Copyright (C) 2005-2007 - Steve Frécinaux * @@ -25,14 +25,14 @@ #include #include -#include "gedit-modeline-plugin.h" +#include "pluma-modeline-plugin.h" #include "modeline-parser.h" -#include -#include +#include +#include -#define WINDOW_DATA_KEY "GeditModelinePluginWindowData" -#define DOCUMENT_DATA_KEY "GeditModelinePluginDocumentData" +#define WINDOW_DATA_KEY "PlumaModelinePluginWindowData" +#define DOCUMENT_DATA_KEY "PlumaModelinePluginDocumentData" typedef struct { @@ -46,12 +46,12 @@ typedef struct gulong document_saved_handler_id; } DocumentData; -static void gedit_modeline_plugin_activate (GeditPlugin *plugin, GeditWindow *window); -static void gedit_modeline_plugin_deactivate (GeditPlugin *plugin, GeditWindow *window); -static GObject *gedit_modeline_plugin_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_param); -static void gedit_modeline_plugin_finalize (GObject *object); +static void pluma_modeline_plugin_activate (PlumaPlugin *plugin, PlumaWindow *window); +static void pluma_modeline_plugin_deactivate (PlumaPlugin *plugin, PlumaWindow *window); +static GObject *pluma_modeline_plugin_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_param); +static void pluma_modeline_plugin_finalize (GObject *object); -GEDIT_PLUGIN_REGISTER_TYPE(GeditModelinePlugin, gedit_modeline_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaModelinePlugin, pluma_modeline_plugin) static void window_data_free (WindowData *wdata) @@ -66,31 +66,31 @@ document_data_free (DocumentData *ddata) } static void -gedit_modeline_plugin_class_init (GeditModelinePluginClass *klass) +pluma_modeline_plugin_class_init (PlumaModelinePluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->constructor = gedit_modeline_plugin_constructor; - object_class->finalize = gedit_modeline_plugin_finalize; + object_class->constructor = pluma_modeline_plugin_constructor; + object_class->finalize = pluma_modeline_plugin_finalize; - plugin_class->activate = gedit_modeline_plugin_activate; - plugin_class->deactivate = gedit_modeline_plugin_deactivate; + plugin_class->activate = pluma_modeline_plugin_activate; + plugin_class->deactivate = pluma_modeline_plugin_deactivate; } static GObject * -gedit_modeline_plugin_constructor (GType type, +pluma_modeline_plugin_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_param) { GObject *object; gchar *data_dir; - object = G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->constructor (type, + object = G_OBJECT_CLASS (pluma_modeline_plugin_parent_class)->constructor (type, n_construct_properties, construct_param); - data_dir = gedit_plugin_get_data_dir (GEDIT_PLUGIN (object)); + data_dir = pluma_plugin_get_data_dir (PLUMA_PLUGIN (object)); modeline_parser_init (data_dir); @@ -100,23 +100,23 @@ gedit_modeline_plugin_constructor (GType type, } static void -gedit_modeline_plugin_init (GeditModelinePlugin *plugin) +pluma_modeline_plugin_init (PlumaModelinePlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditModelinePlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaModelinePlugin initializing"); } static void -gedit_modeline_plugin_finalize (GObject *object) +pluma_modeline_plugin_finalize (GObject *object) { - gedit_debug_message (DEBUG_PLUGINS, "GeditModelinePlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaModelinePlugin finalizing"); modeline_parser_shutdown (); - G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_modeline_plugin_parent_class)->finalize (object); } static void -on_document_loaded_or_saved (GeditDocument *document, +on_document_loaded_or_saved (PlumaDocument *document, const GError *error, GtkSourceView *view) { @@ -124,7 +124,7 @@ on_document_loaded_or_saved (GeditDocument *document, } static void -connect_handlers (GeditView *view) +connect_handlers (PlumaView *view) { DocumentData *data; GtkTextBuffer *doc; @@ -147,7 +147,7 @@ connect_handlers (GeditView *view) } static void -disconnect_handlers (GeditView *view) +disconnect_handlers (PlumaView *view) { DocumentData *data; GtkTextBuffer *doc; @@ -170,35 +170,35 @@ disconnect_handlers (GeditView *view) } static void -on_window_tab_added (GeditWindow *window, - GeditTab *tab, +on_window_tab_added (PlumaWindow *window, + PlumaTab *tab, gpointer user_data) { - connect_handlers (gedit_tab_get_view (tab)); + connect_handlers (pluma_tab_get_view (tab)); } static void -on_window_tab_removed (GeditWindow *window, - GeditTab *tab, +on_window_tab_removed (PlumaWindow *window, + PlumaTab *tab, gpointer user_data) { - disconnect_handlers (gedit_tab_get_view (tab)); + disconnect_handlers (pluma_tab_get_view (tab)); } static void -gedit_modeline_plugin_activate (GeditPlugin *plugin, - GeditWindow *window) +pluma_modeline_plugin_activate (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *wdata; GList *views; GList *l; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - views = gedit_window_get_views (window); + views = pluma_window_get_views (window); for (l = views; l != NULL; l = l->next) { - connect_handlers (GEDIT_VIEW (l->data)); + connect_handlers (PLUMA_VIEW (l->data)); modeline_parser_apply_modeline (GTK_SOURCE_VIEW (l->data)); } g_list_free (views); @@ -218,14 +218,14 @@ gedit_modeline_plugin_activate (GeditPlugin *plugin, } static void -gedit_modeline_plugin_deactivate (GeditPlugin *plugin, - GeditWindow *window) +pluma_modeline_plugin_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *wdata; GList *views; GList *l; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); wdata = g_object_steal_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -234,11 +234,11 @@ gedit_modeline_plugin_deactivate (GeditPlugin *plugin, window_data_free (wdata); - views = gedit_window_get_views (window); + views = pluma_window_get_views (window); for (l = views; l != NULL; l = l->next) { - disconnect_handlers (GEDIT_VIEW (l->data)); + disconnect_handlers (PLUMA_VIEW (l->data)); modeline_parser_deactivate (GTK_SOURCE_VIEW (l->data)); } diff --git a/plugins/modelines/pluma-modeline-plugin.h b/plugins/modelines/pluma-modeline-plugin.h new file mode 100755 index 0000000..cdd77b2 --- /dev/null +++ b/plugins/modelines/pluma-modeline-plugin.h @@ -0,0 +1,48 @@ +/* + * pluma-modeline-plugin.h + * Emacs, Kate and Vim-style modelines support for pluma. + * + * Copyright (C) 2005-2007 - Steve Frécinaux + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_MODELINE_PLUGIN_H__ +#define __PLUMA_MODELINE_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_MODELINE_PLUGIN (pluma_modeline_plugin_get_type ()) +#define PLUMA_MODELINE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_MODELINE_PLUGIN, PlumaModelinePlugin)) +#define PLUMA_MODELINE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_MODELINE_PLUGIN, PlumaModelinePluginClass)) +#define PLUMA_IS_MODELINE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_MODELINE_PLUGIN)) +#define PLUMA_IS_MODELINE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_MODELINE_PLUGIN)) +#define PLUMA_MODELINE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_MODELINE_PLUGIN, PlumaModelinePluginClass)) + +/* Private structure type */ +typedef PlumaPluginClass PlumaModelinePluginClass; +typedef PlumaPlugin PlumaModelinePlugin; + +GType pluma_modeline_plugin_get_type (void) G_GNUC_CONST; + +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_MODELINE_PLUGIN_H__ */ diff --git a/plugins/pythonconsole/Makefile.am b/plugins/pythonconsole/Makefile.am index c27227f..5336118 100755 --- a/plugins/pythonconsole/Makefile.am +++ b/plugins/pythonconsole/Makefile.am @@ -1,11 +1,11 @@ # Python Console Plugin SUBDIRS = pythonconsole -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -plugin_in_files = pythonconsole.gedit-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +plugin_in_files = pythonconsole.pluma-plugin.desktop.in +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(plugin_in_files) diff --git a/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in b/plugins/pythonconsole/pythonconsole.pluma-plugin.desktop.in similarity index 85% rename from plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in rename to plugins/pythonconsole/pythonconsole.pluma-plugin.desktop.in index 8cc6564..ca94141 100755 --- a/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in +++ b/plugins/pythonconsole/pythonconsole.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Loader=python Module=pythonconsole IAge=2 @@ -7,4 +7,4 @@ _Description=Interactive Python console standing in the bottom panel Icon=mate-mime-text-x-python Authors=Steve Frécinaux Copyright=Copyright © 2006 Steve Frécinaux -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/pythonconsole/pythonconsole/Makefile.am b/plugins/pythonconsole/pythonconsole/Makefile.am index 7aa91fe..05327ed 100755 --- a/plugins/pythonconsole/pythonconsole/Makefile.am +++ b/plugins/pythonconsole/pythonconsole/Makefile.am @@ -1,12 +1,12 @@ # Python console plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR)/pythonconsole +plugindir = $(PLUMA_PLUGINS_LIBS_DIR)/pythonconsole plugin_PYTHON = \ __init__.py \ console.py \ config.py -uidir = $(GEDIT_PLUGINS_DATA_DIR)/pythonconsole/ui +uidir = $(PLUMA_PLUGINS_DATA_DIR)/pythonconsole/ui ui_DATA = config.ui EXTRA_DIST = $(ui_DATA) diff --git a/plugins/pythonconsole/pythonconsole/__init__.py b/plugins/pythonconsole/pythonconsole/__init__.py index 60f70e9..699225f 100755 --- a/plugins/pythonconsole/pythonconsole/__init__.py +++ b/plugins/pythonconsole/pythonconsole/__init__.py @@ -21,11 +21,11 @@ # Parts from "Interactive Python-GTK Console" (stolen from epiphany's console.py) # Copyright (C), 1998 James Henstridge # Copyright (C), 2005 Adam Hooper -# Bits from gedit Python Console Plugin +# Bits from pluma Python Console Plugin # Copyrignt (C), 2005 Raphaël Slinckx import gtk -import gedit +import pluma from console import PythonConsole from config import PythonConsoleConfigDialog @@ -33,14 +33,14 @@ from config import PythonConsoleConfig PYTHON_ICON = 'mate-mime-text-x-python' -class PythonConsolePlugin(gedit.Plugin): +class PythonConsolePlugin(pluma.Plugin): def __init__(self): - gedit.Plugin.__init__(self) + pluma.Plugin.__init__(self) self.dlg = None def activate(self, window): console = PythonConsole(namespace = {'__builtins__' : __builtins__, - 'gedit' : gedit, + 'pluma' : pluma, 'window' : window}) console.eval('print "You can access the main window through ' \ '\'window\' :\\n%s" % window', False) @@ -63,14 +63,14 @@ def create_configure_dialog(self): self.dlg = PythonConsoleConfigDialog(self.get_data_dir()) dialog = self.dlg.dialog() - window = gedit.app_get_default().get_active_window() + window = pluma.app_get_default().get_active_window() if window: dialog.set_transient_for(window) return dialog # Here we dynamically insert create_configure_dialog based on if configuration -# is enabled. This has to be done like this because gedit checks if a plugin +# is enabled. This has to be done like this because pluma checks if a plugin # is configurable solely on the fact that it has this member defined or not if PythonConsoleConfig.enabled(): PythonConsolePlugin.create_configure_dialog = create_configure_dialog diff --git a/plugins/pythonconsole/pythonconsole/config.py b/plugins/pythonconsole/pythonconsole/config.py index fed4699..ac0e599 100755 --- a/plugins/pythonconsole/pythonconsole/config.py +++ b/plugins/pythonconsole/pythonconsole/config.py @@ -21,7 +21,7 @@ # Parts from "Interactive Python-GTK Console" (stolen from epiphany's console.py) # Copyright (C), 1998 James Henstridge # Copyright (C), 2005 Adam Hooper -# Bits from gedit Python Console Plugin +# Bits from pluma Python Console Plugin # Copyrignt (C), 2005 Raphaël Slinckx import os @@ -29,7 +29,7 @@ import gtk __all__ = ('PythonConsoleConfig', 'PythonConsoleConfigDialog') -MATECONF_KEY_BASE = '/apps/gedit-2/plugins/pythonconsole' +MATECONF_KEY_BASE = '/apps/pluma-2/plugins/pythonconsole' MATECONF_KEY_COMMAND_COLOR = MATECONF_KEY_BASE + '/command-color' MATECONF_KEY_ERROR_COLOR = MATECONF_KEY_BASE + '/error-color' diff --git a/plugins/pythonconsole/pythonconsole/console.py b/plugins/pythonconsole/pythonconsole/console.py index e9d7a33..5e81872 100755 --- a/plugins/pythonconsole/pythonconsole/console.py +++ b/plugins/pythonconsole/pythonconsole/console.py @@ -21,7 +21,7 @@ # Parts from "Interactive Python-GTK Console" (stolen from epiphany's console.py) # Copyright (C), 1998 James Henstridge # Copyright (C), 2005 Adam Hooper -# Bits from gedit Python Console Plugin +# Bits from pluma Python Console Plugin # Copyrignt (C), 2005 Raphaël Slinckx import string diff --git a/plugins/quickopen/Makefile.am b/plugins/quickopen/Makefile.am index 4b5faf0..74cc89a 100755 --- a/plugins/quickopen/Makefile.am +++ b/plugins/quickopen/Makefile.am @@ -1,11 +1,11 @@ # Quick Open Plugin SUBDIRS = quickopen -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -plugin_in_files = quickopen.gedit-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +plugin_in_files = quickopen.pluma-plugin.desktop.in +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(plugin_in_files) diff --git a/plugins/quickopen/quickopen.gedit-plugin.desktop.in b/plugins/quickopen/quickopen.pluma-plugin.desktop.in similarity index 82% rename from plugins/quickopen/quickopen.gedit-plugin.desktop.in rename to plugins/quickopen/quickopen.pluma-plugin.desktop.in index 40f7f04..8f0f4b9 100755 --- a/plugins/quickopen/quickopen.gedit-plugin.desktop.in +++ b/plugins/quickopen/quickopen.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Loader=python Module=quickopen IAge=2 @@ -7,4 +7,4 @@ _Description=Quickly open files Icon=gtk-open Authors=Jesse van den Kieboom Copyright=Copyright © 2009 Jesse van den Kieboom -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/quickopen/quickopen/Makefile.am b/plugins/quickopen/quickopen/Makefile.am index 88882fd..7d4fa06 100755 --- a/plugins/quickopen/quickopen/Makefile.am +++ b/plugins/quickopen/quickopen/Makefile.am @@ -1,6 +1,6 @@ # Quick Open Plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR)/quickopen +plugindir = $(PLUMA_PLUGINS_LIBS_DIR)/quickopen plugin_PYTHON = \ __init__.py \ popup.py \ diff --git a/plugins/quickopen/quickopen/__init__.py b/plugins/quickopen/quickopen/__init__.py index a41c940..75623a3 100755 --- a/plugins/quickopen/quickopen/__init__.py +++ b/plugins/quickopen/quickopen/__init__.py @@ -17,12 +17,12 @@ # Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307, USA. -import gedit +import pluma from windowhelper import WindowHelper -class QuickOpenPlugin(gedit.Plugin): +class QuickOpenPlugin(pluma.Plugin): def __init__(self): - gedit.Plugin.__init__(self) + pluma.Plugin.__init__(self) self._popup_size = (450, 300) self._helpers = {} diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py index a80caf3..5aa8372 100755 --- a/plugins/quickopen/quickopen/popup.py +++ b/plugins/quickopen/quickopen/popup.py @@ -25,7 +25,7 @@ import gio import pango import glib import fnmatch -import gedit +import pluma import xml.sax.saxutils from virtualdirs import VirtualDirectory @@ -418,7 +418,7 @@ class Popup(gtk.Dialog): uri = self._entry.get_text() gfile = None - if gedit.utils.uri_is_valid(uri): + if pluma.utils.uri_is_valid(uri): gfile = gio.File(uri) elif os.path.isabs(uri): f = gio.File(uri) diff --git a/plugins/quickopen/quickopen/virtualdirs.py b/plugins/quickopen/quickopen/virtualdirs.py index ef0b8dc..13c5c3a 100755 --- a/plugins/quickopen/quickopen/virtualdirs.py +++ b/plugins/quickopen/quickopen/virtualdirs.py @@ -65,7 +65,7 @@ class RecentDocumentsDirectory(VirtualDirectory): added = 0 for item in items: - if item.has_group('gedit'): + if item.has_group('pluma'): self.append(gio.File(item.get_uri())) added += 1 diff --git a/plugins/quickopen/quickopen/windowhelper.py b/plugins/quickopen/quickopen/windowhelper.py index 70ea26f..0d87550 100755 --- a/plugins/quickopen/quickopen/windowhelper.py +++ b/plugins/quickopen/quickopen/windowhelper.py @@ -17,11 +17,11 @@ # Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307, USA. -import gedit +import pluma import gtk from popup import Popup import os -import gedit.commands +import pluma.commands import gio import glib from virtualdirs import RecentDocumentsDirectory @@ -64,7 +64,7 @@ class WindowHelper: def _install_menu(self): manager = self._window.get_ui_manager() - self._action_group = gtk.ActionGroup("GeditQuickOpenPluginActions") + self._action_group = gtk.ActionGroup("PlumaQuickOpenPluginActions") self._action_group.add_actions([ ("QuickOpen", gtk.STOCK_OPEN, _("Quick open"), 'O', _("Quickly open documents"), @@ -88,7 +88,7 @@ class WindowHelper: paths.append(gfile.get_parent()) # File browser root directory - if gedit.version[0] > 2 or (gedit.version[0] == 2 and (gedit.version[1] > 26 or (gedit.version[1] == 26 and gedit.version[2] >= 2))): + if pluma.version[0] > 2 or (pluma.version[0] == 2 and (pluma.version[1] > 26 or (pluma.version[1] == 26 and pluma.version[2] >= 2))): bus = self._window.get_message_bus() try: @@ -192,7 +192,7 @@ class WindowHelper: self._popup = None def on_activated(self, gfile): - gedit.commands.load_uri(self._window, gfile.get_uri(), None, -1) + pluma.commands.load_uri(self._window, gfile.get_uri(), None, -1) return True # ex:ts=8:et: diff --git a/plugins/snippets/Makefile.am b/plugins/snippets/Makefile.am index 06f0009..7d536d2 100755 --- a/plugins/snippets/Makefile.am +++ b/plugins/snippets/Makefile.am @@ -1,11 +1,11 @@ # Python snippets plugin SUBDIRS = snippets data -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -plugin_in_files = snippets.gedit-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +plugin_in_files = snippets.pluma-plugin.desktop.in +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(plugin_in_files) diff --git a/plugins/snippets/data/Makefile.am b/plugins/snippets/data/Makefile.am index 8ec4041..0859f60 100755 --- a/plugins/snippets/data/Makefile.am +++ b/plugins/snippets/data/Makefile.am @@ -26,7 +26,7 @@ snippets_DATA = \ xml.xml \ xslt.xml -snippetsdir = $(GEDIT_PLUGINS_DATA_DIR)/snippets +snippetsdir = $(PLUMA_PLUGINS_DATA_DIR)/snippets EXTRA_DIST = $(snippets_DATA) diff --git a/plugins/snippets/data/c.xml b/plugins/snippets/data/c.xml index 61171cb..60188bd 100755 --- a/plugins/snippets/data/c.xml +++ b/plugins/snippets/data/c.xml @@ -2,7 +2,7 @@ ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: @@ -34,7 +34,7 @@ $0]]> ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: diff --git a/plugins/snippets/data/chdr.xml b/plugins/snippets/data/chdr.xml index f71ea90..b88f227 100755 --- a/plugins/snippets/data/chdr.xml +++ b/plugins/snippets/data/chdr.xml @@ -34,7 +34,7 @@ $0]]> ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: @@ -66,7 +66,7 @@ $0]]> ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: diff --git a/plugins/snippets/data/cpp.xml b/plugins/snippets/data/cpp.xml index 7c7ccab..e514a3e 100755 --- a/plugins/snippets/data/cpp.xml +++ b/plugins/snippets/data/cpp.xml @@ -105,7 +105,7 @@ $0]]> ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: @@ -137,7 +137,7 @@ except KeyError: ]} + * ${1:[$PLUMA_CURRENT_DOCUMENT_NAME,]} * This file is part of ${2:} * * Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4: diff --git a/plugins/snippets/data/docbook.xml b/plugins/snippets/data/docbook.xml index 3159b60..8a96a05 100755 --- a/plugins/snippets/data/docbook.xml +++ b/plugins/snippets/data/docbook.xml @@ -34,13 +34,13 @@ - $GEDIT_SELECTED_TEXT]]> + $PLUMA_SELECTED_TEXT]]> application application tag - $GEDIT_SELECTED_TEXT]]> + $PLUMA_SELECTED_TEXT]]> enclose enclose selected text diff --git a/plugins/snippets/data/html.xml b/plugins/snippets/data/html.xml index d294f93..3c35e59 100755 --- a/plugins/snippets/data/html.xml +++ b/plugins/snippets/data/html.xml @@ -54,14 +54,14 @@ $0]]> Date - ${2:$GEDIT_SELECTED_TEXT} + ${2:$PLUMA_SELECTED_TEXT} ]]> l]]> Wrap Selection as Link ref - $GEDIT_SELECTED_TEXT]]> + $PLUMA_SELECTED_TEXT]]> w]]> Wrap Selection in Open/Close Tag @@ -96,7 +96,7 @@ $0]]> - ${0:$GEDIT_SELECTED_TEXT} + ${0:$PLUMA_SELECTED_TEXT} ]]> Div div @@ -117,7 +117,7 @@ $0]]> form - ${3:$GEDIT_SELECTED_TEXT} + ${3:$PLUMA_SELECTED_TEXT} $0]]> Heading h diff --git a/plugins/snippets/data/java.xml b/plugins/snippets/data/java.xml index 043a5dd..fce3185 100755 --- a/plugins/snippets/data/java.xml +++ b/plugins/snippets/data/java.xml @@ -69,7 +69,7 @@ $0 - + w]]> Wrap Selection in Command diff --git a/plugins/snippets/data/python.xml b/plugins/snippets/data/python.xml index a25617b..3829c3a 100755 --- a/plugins/snippets/data/python.xml +++ b/plugins/snippets/data/python.xml @@ -74,12 +74,12 @@ $0]]> while loop - + 2]]> Inside String: Insert "…" - + apostrophe]]> Inside String: Insert '…' diff --git a/plugins/snippets/data/snippets.xml b/plugins/snippets/data/snippets.xml index ee405e6..2718461 100755 --- a/plugins/snippets/data/snippets.xml +++ b/plugins/snippets/data/snippets.xml @@ -26,73 +26,73 @@ regex - - Gedit Current Document Path Variable + + Pluma Current Document Path Variable $ - - Gedit Current Document Name Variable + + Pluma Current Document Name Variable $ - - Gedit Current Document Uri Variable + + Pluma Current Document Uri Variable $ - - Gedit Current Document Scheme Variable + + Pluma Current Document Scheme Variable $ - - Gedit Current Document Type Variable + + Pluma Current Document Type Variable $ - - Gedit Documents Uri Variable + + Pluma Documents Uri Variable $ - - Gedit Documents Path Variable + + Pluma Documents Path Variable $ - - Gedit Selected Text Variable + + Pluma Selected Text Variable $ - - Gedit Current Word Variable + + Pluma Current Word Variable $ - - Gedit Current Line Variable + + Pluma Current Line Variable $ - - Gedit Current Line Number Variable + + Pluma Current Line Number Variable $ - - Gedit Drop Filename Variable + + Pluma Drop Filename Variable $ - - Gedit Drop Relative Filename Variable + + Pluma Drop Relative Filename Variable $ - - Gedit Drop Mime Type Variable + + Pluma Drop Mime Type Variable $ diff --git a/plugins/snippets/data/xslt.xml b/plugins/snippets/data/xslt.xml index 0ff5cc1..9a470b1 100755 --- a/plugins/snippets/data/xslt.xml +++ b/plugins/snippets/data/xslt.xml @@ -103,13 +103,13 @@ $0]]> attr - ${1:$GEDIT_SELECTED_TEXT} + ${1:$PLUMA_SELECTED_TEXT} ]]> Text text - ${1:$GEDIT_SELECTED_TEXT} + ${1:$PLUMA_SELECTED_TEXT} ]]> Comment comment diff --git a/plugins/snippets/snippets.gedit-plugin.desktop.in b/plugins/snippets/snippets.pluma-plugin.desktop.in similarity index 82% rename from plugins/snippets/snippets.gedit-plugin.desktop.in rename to plugins/snippets/snippets.pluma-plugin.desktop.in index dc3c828..4813fe7 100755 --- a/plugins/snippets/snippets.gedit-plugin.desktop.in +++ b/plugins/snippets/snippets.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Loader=python Module=snippets IAge=2 @@ -6,4 +6,4 @@ _Name=Snippets _Description=Insert often-used pieces of text in a fast way Authors=Jesse van den Kieboom Copyright=Copyright © 2005 Jesse van den Kieboom -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/snippets/snippets/Completion.py b/plugins/snippets/snippets/Completion.py index d83915a..4f24150 100755 --- a/plugins/snippets/snippets/Completion.py +++ b/plugins/snippets/snippets/Completion.py @@ -1,6 +1,6 @@ import gtksourceview2 as gsv import gobject -import gedit +import pluma import gtk from Library import Library @@ -102,7 +102,7 @@ class Provider(gobject.GObject, gsv.CompletionProvider): def do_get_info_widget(self, proposal): if not self.info_widget: - view = gedit.View(gedit.Document()) + view = pluma.View(pluma.Document()) manager = get_language_manager() lang = manager.get_language('snippets') diff --git a/plugins/snippets/snippets/Document.py b/plugins/snippets/snippets/Document.py index da16666..368e0f5 100755 --- a/plugins/snippets/snippets/Document.py +++ b/plugins/snippets/snippets/Document.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -21,7 +21,7 @@ import re import gtk from gtk import gdk import gio -import gedit +import pluma import gtksourceview2 as gsv import gobject @@ -433,7 +433,7 @@ class Document: def env_get_documents_uri(self, buf): toplevel = self.view.get_toplevel() - if isinstance(toplevel, gedit.Window): + if isinstance(toplevel, pluma.Window): documents_uri = [doc.get_location().get_uri() for doc in toplevel.get_documents() if doc.get_location() is not None] @@ -445,14 +445,14 @@ class Document: def env_get_documents_path(self, buf): toplevel = self.view.get_toplevel() - if isinstance(toplevel, gedit.Window): + if isinstance(toplevel, pluma.Window): documents_location = [doc.get_location() for doc in toplevel.get_documents() if doc.get_location() is not None] documents_path = [location.get_path() for location in documents_location - if gedit.utils.uri_has_file_scheme(location.get_uri())] + if pluma.utils.uri_has_file_scheme(location.get_uri())] else: documents_path = [] @@ -461,25 +461,25 @@ class Document: def update_environment(self): buf = self.view.get_buffer() - variables = {'GEDIT_SELECTED_TEXT': self.env_get_selected_text, - 'GEDIT_CURRENT_WORD': self.env_get_current_word, - 'GEDIT_CURRENT_LINE': self.env_get_current_line, - 'GEDIT_CURRENT_LINE_NUMBER': self.env_get_current_line_number, - 'GEDIT_CURRENT_DOCUMENT_URI': self.env_get_document_uri, - 'GEDIT_CURRENT_DOCUMENT_NAME': self.env_get_document_name, - 'GEDIT_CURRENT_DOCUMENT_SCHEME': self.env_get_document_scheme, - 'GEDIT_CURRENT_DOCUMENT_PATH': self.env_get_document_path, - 'GEDIT_CURRENT_DOCUMENT_DIR': self.env_get_document_dir, - 'GEDIT_CURRENT_DOCUMENT_TYPE': self.env_get_document_type, - 'GEDIT_DOCUMENTS_URI': self.env_get_documents_uri, - 'GEDIT_DOCUMENTS_PATH': self.env_get_documents_path, + variables = {'PLUMA_SELECTED_TEXT': self.env_get_selected_text, + 'PLUMA_CURRENT_WORD': self.env_get_current_word, + 'PLUMA_CURRENT_LINE': self.env_get_current_line, + 'PLUMA_CURRENT_LINE_NUMBER': self.env_get_current_line_number, + 'PLUMA_CURRENT_DOCUMENT_URI': self.env_get_document_uri, + 'PLUMA_CURRENT_DOCUMENT_NAME': self.env_get_document_name, + 'PLUMA_CURRENT_DOCUMENT_SCHEME': self.env_get_document_scheme, + 'PLUMA_CURRENT_DOCUMENT_PATH': self.env_get_document_path, + 'PLUMA_CURRENT_DOCUMENT_DIR': self.env_get_document_dir, + 'PLUMA_CURRENT_DOCUMENT_TYPE': self.env_get_document_type, + 'PLUMA_DOCUMENTS_URI': self.env_get_documents_uri, + 'PLUMA_DOCUMENTS_PATH': self.env_get_documents_path, } for var in variables: os.environ[var] = variables[var](buf) def uses_current_word(self, snippet): - matches = re.findall('(\\\\*)\\$GEDIT_CURRENT_WORD', snippet['text']) + matches = re.findall('(\\\\*)\\$PLUMA_CURRENT_WORD', snippet['text']) for match in matches: if len(match) % 2 == 0: @@ -488,7 +488,7 @@ class Document: return False def uses_current_line(self, snippet): - matches = re.findall('(\\\\*)\\$GEDIT_CURRENT_LINE', snippet['text']) + matches = re.findall('(\\\\*)\\$PLUMA_CURRENT_LINE', snippet['text']) for match in matches: if len(match) % 2 == 0: @@ -865,19 +865,19 @@ class Document: dirname = '' ruri = '' - if gedit.utils.uri_has_file_scheme(uri): + if pluma.utils.uri_has_file_scheme(uri): pathname = gfile.get_path() dirname = gfile.get_parent().get_path() name = os.path.basename(uri) scheme = gfile.get_uri_scheme() - os.environ['GEDIT_DROP_DOCUMENT_URI'] = uri - os.environ['GEDIT_DROP_DOCUMENT_NAME'] = name - os.environ['GEDIT_DROP_DOCUMENT_SCHEME'] = scheme - os.environ['GEDIT_DROP_DOCUMENT_PATH'] = pathname - os.environ['GEDIT_DROP_DOCUMENT_DIR'] = dirname - os.environ['GEDIT_DROP_DOCUMENT_TYPE'] = mime + os.environ['PLUMA_DROP_DOCUMENT_URI'] = uri + os.environ['PLUMA_DROP_DOCUMENT_NAME'] = name + os.environ['PLUMA_DROP_DOCUMENT_SCHEME'] = scheme + os.environ['PLUMA_DROP_DOCUMENT_PATH'] = pathname + os.environ['PLUMA_DROP_DOCUMENT_DIR'] = dirname + os.environ['PLUMA_DROP_DOCUMENT_TYPE'] = mime buf = self.view.get_buffer() location = buf.get_location() @@ -886,7 +886,7 @@ class Document: relpath = self.relative_path(ruri, uri, mime) - os.environ['GEDIT_DROP_DOCUMENT_RELATIVE_PATH'] = relpath + os.environ['PLUMA_DROP_DOCUMENT_RELATIVE_PATH'] = relpath mark = buf.get_mark('gtk_drag_target') diff --git a/plugins/snippets/snippets/Helper.py b/plugins/snippets/snippets/Helper.py index de36336..60ae1c7 100755 --- a/plugins/snippets/snippets/Helper.py +++ b/plugins/snippets/snippets/Helper.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -62,7 +62,7 @@ def insert_with_indent(view, piter, text, indentfirst = True, context = None): text = spaces_instead_of_tabs(view, text) lines = text.split('\n') - view.get_buffer().set_data('GeditSnippetsPluginContext', context) + view.get_buffer().set_data('PlumaSnippetsPluginContext', context) if len(lines) == 1: view.get_buffer().insert(piter, text) @@ -79,10 +79,10 @@ def insert_with_indent(view, piter, text, indentfirst = True, context = None): view.get_buffer().insert(piter, text[:-1]) - view.get_buffer().set_data('GeditSnippetsPluginContext', None) + view.get_buffer().set_data('PlumaSnippetsPluginContext', None) def get_buffer_context(buf): - return buf.get_data('GeditSnippetsPluginContext') + return buf.get_data('PlumaSnippetsPluginContext') def snippets_debug(*s): return diff --git a/plugins/snippets/snippets/Library.py b/plugins/snippets/snippets/Library.py index 4717280..792f0f7 100755 --- a/plugins/snippets/snippets/Library.py +++ b/plugins/snippets/snippets/Library.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify diff --git a/plugins/snippets/snippets/Makefile.am b/plugins/snippets/snippets/Makefile.am index 7a05b56..086b596 100755 --- a/plugins/snippets/snippets/Makefile.am +++ b/plugins/snippets/snippets/Makefile.am @@ -1,5 +1,5 @@ # Python snippets plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR)/snippets +plugindir = $(PLUMA_PLUGINS_LIBS_DIR)/snippets plugin_PYTHON = \ __init__.py \ @@ -17,7 +17,7 @@ plugin_PYTHON = \ LanguageManager.py \ Completion.py -uidir = $(GEDIT_PLUGINS_DATA_DIR)/snippets/ui +uidir = $(PLUMA_PLUGINS_DATA_DIR)/snippets/ui ui_DATA = snippets.ui EXTRA_DIST = $(ui_DATA) diff --git a/plugins/snippets/snippets/Manager.py b/plugins/snippets/snippets/Manager.py index 16acbdb..96220c6 100755 --- a/plugins/snippets/snippets/Manager.py +++ b/plugins/snippets/snippets/Manager.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -24,7 +24,7 @@ import gtk from gtk import gdk import gtksourceview2 as gsv import pango -import gedit +import pluma import gio from Snippet import Snippet @@ -95,7 +95,7 @@ class Manager: self.tree_view.expand_row(path, False) def build_model(self, force_reload = False): - window = gedit.app_get_default().get_active_window() + window = pluma.app_get_default().get_active_window() if window: view = window.get_active_view() @@ -116,7 +116,7 @@ class Manager: self.model = gtk.TreeStore(str, str, object) self.model.set_sort_column_id(self.SORT_COLUMN, gtk.SORT_ASCENDING) manager = get_language_manager() - langs = gedit.language_manager_list_languages_sorted(manager, True) + langs = pluma.language_manager_list_languages_sorted(manager, True) piter = self.model.append(None, (_('Global'), '', None)) # Add dummy node @@ -618,7 +618,7 @@ class Manager: def on_dialog_snippets_response(self, dlg, resp): if resp == gtk.RESPONSE_HELP: - gedit.help_display(self.dlg, 'gedit', 'gedit-snippets-plugin') + pluma.help_display(self.dlg, 'pluma', 'pluma-snippets-plugin') return self.dlg.destroy() @@ -765,7 +765,7 @@ class Manager: success = True for filename in filenames: - if not gedit.utils.uri_has_file_scheme(filename): + if not pluma.utils.uri_has_file_scheme(filename): continue # Remove file:// diff --git a/plugins/snippets/snippets/Parser.py b/plugins/snippets/snippets/Parser.py index 3bbaf6e..0c638df 100755 --- a/plugins/snippets/snippets/Parser.py +++ b/plugins/snippets/snippets/Parser.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2006-2007 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify diff --git a/plugins/snippets/snippets/Placeholder.py b/plugins/snippets/snippets/Placeholder.py index c43eeca..45b5b50 100755 --- a/plugins/snippets/snippets/Placeholder.py +++ b/plugins/snippets/snippets/Placeholder.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -524,7 +524,7 @@ class PlaceholderEval(PlaceholderExpand): # SIGALRM is not supported on all platforms (e.g. windows). Timeout # with SIGALRM will not be used on those platforms. This will - # potentially block gedit if you have a placeholder which gets stuck, + # potentially block pluma if you have a placeholder which gets stuck, # but it's better than not supporting them at all. At some point we # might have proper thread support and we can fix this in a better way def timeout_supported(self): @@ -577,9 +577,9 @@ class PlaceholderEval(PlaceholderExpand): if 'process_snippet' in self.namespace: try: # Install a sigalarm signal. This is a HACK to make sure - # gedit doesn't get freezed by someone creating a python + # pluma doesn't get freezed by someone creating a python # placeholder which for instance loops indefinately. Since - # the code is executed synchronously it will hang gedit. With + # the code is executed synchronously it will hang pluma. With # the alarm signal we raise an exception and catch this # (see below). We show an error message and return False. # ___this is a HACK___ and should be fixed properly (I just diff --git a/plugins/snippets/snippets/Snippet.py b/plugins/snippets/snippets/Snippet.py index d7baead..ae81fcf 100755 --- a/plugins/snippets/snippets/Snippet.py +++ b/plugins/snippets/snippets/Snippet.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify diff --git a/plugins/snippets/snippets/SubstitutionParser.py b/plugins/snippets/snippets/SubstitutionParser.py index 6522222..a41f5a6 100755 --- a/plugins/snippets/snippets/SubstitutionParser.py +++ b/plugins/snippets/snippets/SubstitutionParser.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2006-2007 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify diff --git a/plugins/snippets/snippets/WindowHelper.py b/plugins/snippets/snippets/WindowHelper.py index 29bf3a5..a5f238a 100755 --- a/plugins/snippets/snippets/WindowHelper.py +++ b/plugins/snippets/snippets/WindowHelper.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -21,7 +21,7 @@ import gettext import gtk from gtk import gdk -import gedit +import pluma from Document import Document from Library import Library @@ -46,7 +46,7 @@ class WindowHelper: # Add controllers to all the current views for view in self.window.get_views(): - if isinstance(view, gedit.View) and not self.has_controller(view): + if isinstance(view, pluma.View) and not self.has_controller(view): view._snippet_controller = Document(self, view) self.update() @@ -61,7 +61,7 @@ class WindowHelper: # Iterate over all the tabs and remove every controller for view in self.window.get_views(): - if isinstance(view, gedit.View) and self.has_controller(view): + if isinstance(view, pluma.View) and self.has_controller(view): view._snippet_controller.stop() view._snippet_controller = None @@ -72,8 +72,8 @@ class WindowHelper: bus = self.window.get_message_bus() self.messages = { - 'activate': bus.register('/plugins/snippets', 'activate', ('view', 'iter'), trigger=str, view=gedit.View, iter=gtk.TextIter), - 'parse-and-activate': bus.register('/plugins/snippets', 'parse-and-activate', ('view', 'iter'), snippet=str, view=gedit.View, iter=gtk.TextIter) + 'activate': bus.register('/plugins/snippets', 'activate', ('view', 'iter'), trigger=str, view=pluma.View, iter=gtk.TextIter), + 'parse-and-activate': bus.register('/plugins/snippets', 'parse-and-activate', ('view', 'iter'), snippet=str, view=pluma.View, iter=gtk.TextIter) } bus.connect('/plugins/snippets', 'activate', self.on_message_activate) @@ -124,8 +124,8 @@ class WindowHelper: def insert_menu(self): manager = self.window.get_ui_manager() - self.action_group = gtk.ActionGroup("GeditSnippetPluginActions") - self.action_group.set_translation_domain('gedit') + self.action_group = gtk.ActionGroup("PlumaSnippetPluginActions") + self.action_group.set_translation_domain('pluma') self.action_group.add_actions([('ManageSnippets', None, _('Manage _Snippets...'), \ None, _('Manage snippets'), \ @@ -192,10 +192,10 @@ class WindowHelper: # Callbacks def on_tab_added(self, window, tab): - # Create a new controller for this tab if it has a standard gedit view + # Create a new controller for this tab if it has a standard pluma view view = tab.get_view() - if isinstance(view, gedit.View) and not self.has_controller(view): + if isinstance(view, pluma.View) and not self.has_controller(view): view._snippet_controller = Document(self, view) self.update() diff --git a/plugins/snippets/snippets/__init__.py b/plugins/snippets/snippets/__init__.py index b21da50..609e3c0 100755 --- a/plugins/snippets/snippets/__init__.py +++ b/plugins/snippets/snippets/__init__.py @@ -1,4 +1,4 @@ -# Gedit snippets plugin +# Pluma snippets plugin # Copyright (C) 2005-2006 Jesse van den Kieboom # # This program is free software; you can redistribute it and/or modify @@ -21,7 +21,7 @@ import shutil import gtk from gtk import gdk -import gedit +import pluma import platform from WindowHelper import WindowHelper @@ -29,9 +29,9 @@ from Library import Library from Manager import Manager from Snippet import Snippet -class SnippetsPlugin(gedit.Plugin): +class SnippetsPlugin(pluma.Plugin): def __init__(self): - gedit.Plugin.__init__(self) + pluma.Plugin.__init__(self) self.dlg = None @@ -39,13 +39,13 @@ class SnippetsPlugin(gedit.Plugin): library.set_accelerator_callback(self.accelerator_activated) if platform.platform() == 'Windows': - snippetsdir = os.path.expanduser('~/gedit/snippets') + snippetsdir = os.path.expanduser('~/pluma/snippets') else: userdir = os.getenv('MATE22_USER_DIR') if userdir: - snippetsdir = os.path.join(userdir, 'gedit/snippets') + snippetsdir = os.path.join(userdir, 'pluma/snippets') else: - snippetsdir = os.path.expanduser('~/.mate2/gedit/snippets') + snippetsdir = os.path.expanduser('~/.mate2/pluma/snippets') library.set_dirs(snippetsdir, self.system_dirs()) @@ -59,7 +59,7 @@ class SnippetsPlugin(gedit.Plugin): dirs = [] for d in datadirs.split(os.pathsep): - d = os.path.join(d, 'gedit-2', 'plugins', 'snippets') + d = os.path.join(d, 'pluma-2', 'plugins', 'snippets') if os.path.isdir(d): dirs.append(d) @@ -85,7 +85,7 @@ class SnippetsPlugin(gedit.Plugin): else: self.dlg.run() - window = gedit.app_get_default().get_active_window() + window = pluma.app_get_default().get_active_window() if window: self.dlg.dlg.set_transient_for(window) diff --git a/plugins/snippets/snippets/snippets.ui b/plugins/snippets/snippets/snippets.ui index 426df88..b90324c 100755 --- a/plugins/snippets/snippets/snippets.ui +++ b/plugins/snippets/snippets/snippets.ui @@ -32,7 +32,7 @@ - + True @@ -331,7 +331,7 @@ GTK_SHADOW_IN GTK_CORNER_TOP_LEFT - + source_buffer True True diff --git a/plugins/sort/Makefile.am b/plugins/sort/Makefile.am index 8fa3914..5227468 100755 --- a/plugins/sort/Makefile.am +++ b/plugins/sort/Makefile.am @@ -1,29 +1,29 @@ # sort plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) plugin_LTLIBRARIES = libsort.la libsort_la_SOURCES = \ - gedit-sort-plugin.h \ - gedit-sort-plugin.c + pluma-sort-plugin.h \ + pluma-sort-plugin.c libsort_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libsort_la_LIBADD = $(GEDIT_LIBS) +libsort_la_LIBADD = $(PLUMA_LIBS) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/sort +uidir = $(PLUMA_PLUGINS_DATA_DIR)/sort ui_DATA = sort.ui -plugin_in_files = sort.gedit-plugin.desktop.in +plugin_in_files = sort.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(ui_DATA) $(plugin_in_files) diff --git a/plugins/sort/gedit-sort-plugin.h b/plugins/sort/gedit-sort-plugin.h deleted file mode 100755 index c10280b..0000000 --- a/plugins/sort/gedit-sort-plugin.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * gedit-sort-plugin.h - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -#ifndef __GEDIT_SORT_PLUGIN_H__ -#define __GEDIT_SORT_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_SORT_PLUGIN (gedit_sort_plugin_get_type ()) -#define GEDIT_SORT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_SORT_PLUGIN, GeditSortPlugin)) -#define GEDIT_SORT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_SORT_PLUGIN, GeditSortPluginClass)) -#define GEDIT_IS_SORT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_SORT_PLUGIN)) -#define GEDIT_IS_SORT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_SORT_PLUGIN)) -#define GEDIT_SORT_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_SORT_PLUGIN, GeditSortPluginClass)) - -/* Private structure type */ -typedef struct _GeditSortPluginPrivate GeditSortPluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditSortPlugin GeditSortPlugin; - -struct _GeditSortPlugin -{ - GeditPlugin parent_instance; -}; - -/* - * Class definition - */ -typedef struct _GeditSortPluginClass GeditSortPluginClass; - -struct _GeditSortPluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_sort_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_SORT_PLUGIN_H__ */ diff --git a/plugins/sort/gedit-sort-plugin.c b/plugins/sort/pluma-sort-plugin.c similarity index 81% rename from plugins/sort/gedit-sort-plugin.c rename to plugins/sort/pluma-sort-plugin.c index 8fc6c95..e1e5cf5 100755 --- a/plugins/sort/gedit-sort-plugin.c +++ b/plugins/sort/pluma-sort-plugin.c @@ -1,8 +1,8 @@ /* - * gedit-sort-plugin.c + * pluma-sort-plugin.c * * Original author: Carlo Borreo - * Ported to Gedit2 by Lee Mallabone + * Ported to Pluma2 by Lee Mallabone * * 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 @@ -25,25 +25,25 @@ #include #endif -#include "gedit-sort-plugin.h" +#include "pluma-sort-plugin.h" #include #include #include -#include -#include -#include +#include +#include +#include -#define GEDIT_SORT_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_SORT_PLUGIN, GeditSortPluginPrivate)) +#define PLUMA_SORT_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_SORT_PLUGIN, PlumaSortPluginPrivate)) /* Key in case the plugin ever needs any settings. */ -#define SORT_BASE_KEY "/apps/gedit-2/plugins/sort" +#define SORT_BASE_KEY "/apps/pluma-2/plugins/sort" -#define WINDOW_DATA_KEY "GeditSortPluginWindowData" +#define WINDOW_DATA_KEY "PlumaSortPluginWindowData" #define MENU_PATH "/MenuBar/EditMenu/EditOps_6" -GEDIT_PLUGIN_REGISTER_TYPE(GeditSortPlugin, gedit_sort_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaSortPlugin, pluma_sort_plugin) typedef struct { @@ -53,7 +53,7 @@ typedef struct GtkWidget *ignore_case_checkbutton; GtkWidget *remove_dups_checkbutton; - GeditDocument *doc; + PlumaDocument *doc; GtkTextIter start, end; /* selection */ } SortDialog; @@ -66,8 +66,8 @@ typedef struct typedef struct { - GeditPlugin *plugin; - GeditWindow *window; + PlumaPlugin *plugin; + PlumaWindow *window; } ActionData; typedef struct @@ -95,7 +95,7 @@ static void sort_dialog_destroy (GtkObject *obj, gpointer dialog_pointer) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_slice_free (SortDialog, dialog_pointer); } @@ -105,7 +105,7 @@ sort_dialog_response_handler (GtkDialog *widget, gint res_id, SortDialog *dialog) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); switch (res_id) { @@ -115,9 +115,9 @@ sort_dialog_response_handler (GtkDialog *widget, break; case GTK_RESPONSE_HELP: - gedit_help_display (GTK_WINDOW (widget), + pluma_help_display (GTK_WINDOW (widget), NULL, - "gedit-sort-plugin"); + "pluma-sort-plugin"); break; case GTK_RESPONSE_CANCEL: @@ -130,13 +130,13 @@ sort_dialog_response_handler (GtkDialog *widget, * the text field (like the combo box) looses the documnent selection. * Storing the selection ONLY works because the dialog is modal */ static void -get_current_selection (GeditWindow *window, SortDialog *dialog) +get_current_selection (PlumaWindow *window, SortDialog *dialog) { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); if (!gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc), &dialog->start, @@ -158,14 +158,14 @@ get_sort_dialog (ActionData *action_data) gchar *data_dir; gchar *ui_file; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); dialog = g_slice_new (SortDialog); - data_dir = gedit_plugin_get_data_dir (action_data->plugin); + data_dir = pluma_plugin_get_data_dir (action_data->plugin); ui_file = g_build_filename (data_dir, "sort.ui", NULL); g_free (data_dir); - ret = gedit_utils_get_ui_objects (ui_file, + ret = pluma_utils_get_ui_objects (ui_file, NULL, &error_widget, "sort_dialog", &dialog->dialog, @@ -181,7 +181,7 @@ get_sort_dialog (ActionData *action_data) const gchar *err_message; err_message = gtk_label_get_label (GTK_LABEL (error_widget)); - gedit_warning (GTK_WINDOW (action_data->window), + pluma_warning (GTK_WINDOW (action_data->window), "%s", err_message); g_free (dialog); @@ -212,19 +212,19 @@ static void sort_cb (GtkAction *action, ActionData *action_data) { - GeditDocument *doc; + PlumaDocument *doc; GtkWindowGroup *wg; SortDialog *dialog; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - doc = gedit_window_get_active_document (action_data->window); + doc = pluma_window_get_active_document (action_data->window); g_return_if_fail (doc != NULL); dialog = get_sort_dialog (action_data); g_return_if_fail (dialog != NULL); - wg = gedit_window_get_group (action_data->window); + wg = pluma_window_get_group (action_data->window); gtk_window_group_add_window (wg, GTK_WINDOW (dialog->dialog)); @@ -253,7 +253,7 @@ compare_algorithm (gconstpointer s1, gchar *key1, *key2; SortInfo *sort_info; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); sort_info = (SortInfo *) data; g_return_val_if_fail (sort_info != NULL, -1); @@ -350,7 +350,7 @@ get_line_slice (GtkTextBuffer *buf, static void sort_real (SortDialog *dialog) { - GeditDocument *doc; + PlumaDocument *doc; GtkTextIter start, end; gint start_line, end_line; gint i; @@ -359,7 +359,7 @@ sort_real (SortDialog *dialog) gchar **lines; SortInfo *sort_info; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); doc = dialog->doc; g_return_if_fail (doc != NULL); @@ -386,7 +386,7 @@ sort_real (SortDialog *dialog) num_lines = end_line - start_line + 1; lines = g_new0 (gchar *, num_lines + 1); - gedit_debug_message (DEBUG_PLUGINS, "Building list..."); + pluma_debug_message (DEBUG_PLUGINS, "Building list..."); for (i = 0; i < num_lines; i++) { @@ -395,7 +395,7 @@ sort_real (SortDialog *dialog) lines[num_lines] = NULL; - gedit_debug_message (DEBUG_PLUGINS, "Sort list..."); + pluma_debug_message (DEBUG_PLUGINS, "Sort list..."); g_qsort_with_data (lines, num_lines, @@ -403,7 +403,7 @@ sort_real (SortDialog *dialog) compare_algorithm, sort_info); - gedit_debug_message (DEBUG_PLUGINS, "Rebuilding document..."); + pluma_debug_message (DEBUG_PLUGINS, "Rebuilding document..."); gtk_source_buffer_begin_not_undoable_action (GTK_SOURCE_BUFFER (doc)); @@ -435,7 +435,7 @@ sort_real (SortDialog *dialog) g_strfreev (lines); g_free (sort_info); - gedit_debug_message (DEBUG_PLUGINS, "Done."); + pluma_debug_message (DEBUG_PLUGINS, "Done."); } static void @@ -456,14 +456,14 @@ free_action_data (ActionData *data) } static void -update_ui_real (GeditWindow *window, +update_ui_real (PlumaWindow *window, WindowData *data) { - GeditView *view; + PlumaView *view; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = gedit_window_get_active_view (window); + view = pluma_window_get_active_view (window); gtk_action_group_set_sensitive (data->ui_action_group, (view != NULL) && @@ -471,23 +471,23 @@ update_ui_real (GeditWindow *window, } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; ActionData *action_data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_slice_new (WindowData); action_data = g_slice_new (ActionData); action_data->window = window; action_data->plugin = plugin; - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); - data->ui_action_group = gtk_action_group_new ("GeditSortPluginActions"); + data->ui_action_group = gtk_action_group_new ("PlumaSortPluginActions"); gtk_action_group_set_translation_domain (data->ui_action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions_full (data->ui_action_group, @@ -520,15 +520,15 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -545,12 +545,12 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); @@ -561,26 +561,26 @@ impl_update_ui (GeditPlugin *plugin, } static void -gedit_sort_plugin_init (GeditSortPlugin *plugin) +pluma_sort_plugin_init (PlumaSortPlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditSortPlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaSortPlugin initializing"); } static void -gedit_sort_plugin_finalize (GObject *object) +pluma_sort_plugin_finalize (GObject *object) { - gedit_debug_message (DEBUG_PLUGINS, "GeditSortPlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaSortPlugin finalizing"); - G_OBJECT_CLASS (gedit_sort_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_sort_plugin_parent_class)->finalize (object); } static void -gedit_sort_plugin_class_init (GeditSortPluginClass *klass) +pluma_sort_plugin_class_init (PlumaSortPluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_sort_plugin_finalize; + object_class->finalize = pluma_sort_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; diff --git a/plugins/sort/pluma-sort-plugin.h b/plugins/sort/pluma-sort-plugin.h new file mode 100755 index 0000000..f359d4f --- /dev/null +++ b/plugins/sort/pluma-sort-plugin.h @@ -0,0 +1,73 @@ +/* + * pluma-sort-plugin.h + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#ifndef __PLUMA_SORT_PLUGIN_H__ +#define __PLUMA_SORT_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_SORT_PLUGIN (pluma_sort_plugin_get_type ()) +#define PLUMA_SORT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_SORT_PLUGIN, PlumaSortPlugin)) +#define PLUMA_SORT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_SORT_PLUGIN, PlumaSortPluginClass)) +#define PLUMA_IS_SORT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_SORT_PLUGIN)) +#define PLUMA_IS_SORT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_SORT_PLUGIN)) +#define PLUMA_SORT_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_SORT_PLUGIN, PlumaSortPluginClass)) + +/* Private structure type */ +typedef struct _PlumaSortPluginPrivate PlumaSortPluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaSortPlugin PlumaSortPlugin; + +struct _PlumaSortPlugin +{ + PlumaPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _PlumaSortPluginClass PlumaSortPluginClass; + +struct _PlumaSortPluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_sort_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_SORT_PLUGIN_H__ */ diff --git a/plugins/sort/sort.gedit-plugin.desktop.in b/plugins/sort/sort.pluma-plugin.desktop.in similarity index 89% rename from plugins/sort/sort.gedit-plugin.desktop.in rename to plugins/sort/sort.pluma-plugin.desktop.in index 9ee9634..c312cba 100755 --- a/plugins/sort/sort.gedit-plugin.desktop.in +++ b/plugins/sort/sort.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Module=sort IAge=2 _Name=Sort @@ -6,4 +6,4 @@ _Description=Sorts a document or selected text. Icon=gtk-sort-ascending Authors=Carlo Borreo ;Lee Mallabone ;Paolo Maggi ;Jorge Alberto Torres H. Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am index 9d332f9..2429916 100755 --- a/plugins/spell/Makefile.am +++ b/plugins/spell/Makefile.am @@ -1,59 +1,59 @@ # Spell checker plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(ENCHANT_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) BUILT_SOURCES = \ - gedit-spell-marshal.c \ - gedit-spell-marshal.h + pluma-spell-marshal.c \ + pluma-spell-marshal.h plugin_LTLIBRARIES = libspell.la libspell_la_SOURCES = \ - gedit-spell-plugin.c \ - gedit-spell-plugin.h \ - gedit-spell-checker.c \ - gedit-spell-checker.h \ - gedit-spell-checker-dialog.c \ - gedit-spell-checker-dialog.h \ - gedit-spell-checker-language.c \ - gedit-spell-checker-language.h \ - gedit-spell-language-dialog.c \ - gedit-spell-language-dialog.h \ - gedit-automatic-spell-checker.c \ - gedit-automatic-spell-checker.h \ - gedit-spell-utils.c \ - gedit-spell-utils.h \ + pluma-spell-plugin.c \ + pluma-spell-plugin.h \ + pluma-spell-checker.c \ + pluma-spell-checker.h \ + pluma-spell-checker-dialog.c \ + pluma-spell-checker-dialog.h \ + pluma-spell-checker-language.c \ + pluma-spell-checker-language.h \ + pluma-spell-language-dialog.c \ + pluma-spell-language-dialog.h \ + pluma-automatic-spell-checker.c \ + pluma-automatic-spell-checker.h \ + pluma-spell-utils.c \ + pluma-spell-utils.h \ $(BUILT_SOURCES) libspell_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libspell_la_LIBADD = $(GEDIT_LIBS) $(ENCHANT_LIBS) +libspell_la_LIBADD = $(PLUMA_LIBS) $(ENCHANT_LIBS) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/spell +uidir = $(PLUMA_PLUGINS_DATA_DIR)/spell ui_DATA = spell-checker.ui languages-dialog.ui -gedit-spell-marshal.h: gedit-spell-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gedit_marshal > $@ +pluma-spell-marshal.h: pluma-spell-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=pluma_marshal > $@ -gedit-spell-marshal.c: gedit-spell-marshal.list $(GLIB_GENMARSHAL) - $(AM_V_GEN) echo "#include \"gedit-spell-marshal.h\"" > $@ && \ - $(GLIB_GENMARSHAL) $< --body --prefix=gedit_marshal >> $@ +pluma-spell-marshal.c: pluma-spell-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) echo "#include \"pluma-spell-marshal.h\"" > $@ && \ + $(GLIB_GENMARSHAL) $< --body --prefix=pluma_marshal >> $@ -plugin_in_files = spell.gedit-plugin.desktop.in +plugin_in_files = spell.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = \ $(ui_DATA) \ $(plugin_in_files) \ - gedit-spell-marshal.list + pluma-spell-marshal.list CLEANFILES = $(BUILT_SOURCES) $(plugin_DATA) diff --git a/plugins/spell/gedit-automatic-spell-checker.h b/plugins/spell/gedit-automatic-spell-checker.h deleted file mode 100755 index cc63442..0000000 --- a/plugins/spell/gedit-automatic-spell-checker.h +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-automatic-spell-checker.h - * This file is part of gedit - * - * Copyright (C) 2002 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -/* This is a modified version of gtkspell 2.0.2 (gtkspell.sf.net) */ -/* gtkspell - a spell-checking addon for GTK's TextView widget - * Copyright (c) 2002 Evan Martin. - */ - -#ifndef __GEDIT_AUTOMATIC_SPELL_CHECKER_H__ -#define __GEDIT_AUTOMATIC_SPELL_CHECKER_H__ - -#include -#include - -#include "gedit-spell-checker.h" - -typedef struct _GeditAutomaticSpellChecker GeditAutomaticSpellChecker; - -GeditAutomaticSpellChecker *gedit_automatic_spell_checker_new ( - GeditDocument *doc, - GeditSpellChecker *checker); - -GeditAutomaticSpellChecker *gedit_automatic_spell_checker_get_from_document ( - const GeditDocument *doc); - -void gedit_automatic_spell_checker_free ( - GeditAutomaticSpellChecker *spell); - -void gedit_automatic_spell_checker_attach_view ( - GeditAutomaticSpellChecker *spell, - GeditView *view); - -void gedit_automatic_spell_checker_detach_view ( - GeditAutomaticSpellChecker *spell, - GeditView *view); - -void gedit_automatic_spell_checker_recheck_all ( - GeditAutomaticSpellChecker *spell); - -#endif /* __GEDIT_AUTOMATIC_SPELL_CHECKER_H__ */ - diff --git a/plugins/spell/gedit-spell-checker-dialog.h b/plugins/spell/gedit-spell-checker-dialog.h deleted file mode 100755 index 257c2b7..0000000 --- a/plugins/spell/gedit-spell-checker-dialog.h +++ /dev/null @@ -1,92 +0,0 @@ -/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-spell-checker-dialog.h - * This file is part of gedit - * - * Copyright (C) 2002 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_SPELL_CHECKER_DIALOG_H__ -#define __GEDIT_SPELL_CHECKER_DIALOG_H__ - -#include -#include "gedit-spell-checker.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_SPELL_CHECKER_DIALOG (gedit_spell_checker_dialog_get_type ()) -#define GEDIT_SPELL_CHECKER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SPELL_CHECKER_DIALOG, GeditSpellCheckerDialog)) -#define GEDIT_SPELL_CHECKER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_SPELL_CHECKER_DIALOG, GeditSpellCheckerDialog)) -#define GEDIT_IS_SPELL_CHECKER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_SPELL_CHECKER_DIALOG)) -#define GEDIT_IS_SPELL_CHECKER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SPELL_CHECKER_DIALOG)) -#define GEDIT_SPELL_CHECKER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_SPELL_CHECKER_DIALOG, GeditSpellCheckerDialog)) - - -typedef struct _GeditSpellCheckerDialog GeditSpellCheckerDialog; - -typedef struct _GeditSpellCheckerDialogClass GeditSpellCheckerDialogClass; - -struct _GeditSpellCheckerDialogClass -{ - GtkWindowClass parent_class; - - /* Signals */ - void (*ignore) (GeditSpellCheckerDialog *dlg, - const gchar *word); - void (*ignore_all) (GeditSpellCheckerDialog *dlg, - const gchar *word); - void (*change) (GeditSpellCheckerDialog *dlg, - const gchar *word, - const gchar *change_to); - void (*change_all) (GeditSpellCheckerDialog *dlg, - const gchar *word, - const gchar *change_to); - void (*add_word_to_personal) (GeditSpellCheckerDialog *dlg, - const gchar *word); - -}; - -GType gedit_spell_checker_dialog_get_type (void) G_GNUC_CONST; - -/* Constructors */ -GtkWidget *gedit_spell_checker_dialog_new (const gchar *data_dir); -GtkWidget *gedit_spell_checker_dialog_new_from_spell_checker - (GeditSpellChecker *spell, - const gchar *data_dir); - -void gedit_spell_checker_dialog_set_spell_checker - (GeditSpellCheckerDialog *dlg, - GeditSpellChecker *spell); -void gedit_spell_checker_dialog_set_misspelled_word - (GeditSpellCheckerDialog *dlg, - const gchar* word, - gint len); - -void gedit_spell_checker_dialog_set_completed - (GeditSpellCheckerDialog *dlg); - -G_END_DECLS - -#endif /* __GEDIT_SPELL_CHECKER_DIALOG_H__ */ - diff --git a/plugins/spell/gedit-spell-checker.h b/plugins/spell/gedit-spell-checker.h deleted file mode 100755 index 0cc69d3..0000000 --- a/plugins/spell/gedit-spell-checker.h +++ /dev/null @@ -1,109 +0,0 @@ -/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-spell-checker.h - * This file is part of gedit - * - * Copyright (C) 2002-2006 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_SPELL_CHECKER_H__ -#define __GEDIT_SPELL_CHECKER_H__ - -#include -#include - -#include "gedit-spell-checker-language.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_SPELL_CHECKER (gedit_spell_checker_get_type ()) -#define GEDIT_SPELL_CHECKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SPELL_CHECKER, GeditSpellChecker)) -#define GEDIT_SPELL_CHECKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_SPELL_CHECKER, GeditSpellChecker)) -#define GEDIT_IS_SPELL_CHECKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_SPELL_CHECKER)) -#define GEDIT_IS_SPELL_CHECKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SPELL_CHECKER)) -#define GEDIT_SPELL_CHECKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_SPELL_CHECKER, GeditSpellChecker)) - -typedef struct _GeditSpellChecker GeditSpellChecker; - -typedef struct _GeditSpellCheckerClass GeditSpellCheckerClass; - -struct _GeditSpellCheckerClass -{ - GObjectClass parent_class; - - /* Signals */ - void (*add_word_to_personal) (GeditSpellChecker *spell, - const gchar *word, - gint len); - - void (*add_word_to_session) (GeditSpellChecker *spell, - const gchar *word, - gint len); - - void (*set_language) (GeditSpellChecker *spell, - const GeditSpellCheckerLanguage *lang); - - void (*clear_session) (GeditSpellChecker *spell); -}; - - -GType gedit_spell_checker_get_type (void) G_GNUC_CONST; - -/* Constructors */ -GeditSpellChecker *gedit_spell_checker_new (void); - -gboolean gedit_spell_checker_set_language (GeditSpellChecker *spell, - const GeditSpellCheckerLanguage *lang); -const GeditSpellCheckerLanguage - *gedit_spell_checker_get_language (GeditSpellChecker *spell); - -gboolean gedit_spell_checker_check_word (GeditSpellChecker *spell, - const gchar *word, - gssize len); - -GSList *gedit_spell_checker_get_suggestions (GeditSpellChecker *spell, - const gchar *word, - gssize len); - -gboolean gedit_spell_checker_add_word_to_personal - (GeditSpellChecker *spell, - const gchar *word, - gssize len); - -gboolean gedit_spell_checker_add_word_to_session - (GeditSpellChecker *spell, - const gchar *word, - gssize len); - -gboolean gedit_spell_checker_clear_session (GeditSpellChecker *spell); - -gboolean gedit_spell_checker_set_correction (GeditSpellChecker *spell, - const gchar *word, - gssize w_len, - const gchar *replacement, - gssize r_len); -G_END_DECLS - -#endif /* __GEDIT_SPELL_CHECKER_H__ */ - diff --git a/plugins/spell/gedit-spell-language-dialog.h b/plugins/spell/gedit-spell-language-dialog.h deleted file mode 100755 index 4ae9c97..0000000 --- a/plugins/spell/gedit-spell-language-dialog.h +++ /dev/null @@ -1,67 +0,0 @@ -/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * gedit-spell-language-dialog.h - * This file is part of gedit - * - * Copyright (C) 2002 Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - */ - -#ifndef __GEDIT_SPELL_LANGUAGE_DIALOG_H__ -#define __GEDIT_SPELL_LANGUAGE_DIALOG_H__ - -#include -#include "gedit-spell-checker-language.h" - -G_BEGIN_DECLS - -#define GEDIT_TYPE_SPELL_LANGUAGE_DIALOG (gedit_spell_language_dialog_get_type()) -#define GEDIT_SPELL_LANGUAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_SPELL_LANGUAGE_DIALOG, GeditSpellLanguageDialog)) -#define GEDIT_SPELL_LANGUAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_SPELL_LANGUAGE_DIALOG, GeditSpellLanguageDialogClass)) -#define GEDIT_IS_SPELL_LANGUAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_SPELL_LANGUAGE_DIALOG)) -#define GEDIT_IS_SPELL_LANGUAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SPELL_LANGUAGE_DIALOG)) -#define GEDIT_SPELL_LANGUAGE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_SPELL_LANGUAGE_DIALOG, GeditSpellLanguageDialogClass)) - - -typedef struct _GeditSpellLanguageDialog GeditSpellLanguageDialog; - -typedef struct _GeditSpellLanguageDialogClass GeditSpellLanguageDialogClass; - -struct _GeditSpellLanguageDialogClass -{ - GtkDialogClass parent_class; -}; - -GType gedit_spell_language_dialog_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_spell_language_dialog_new (GtkWindow *parent, - const GeditSpellCheckerLanguage *cur_lang, - const gchar *data_dir); - -const GeditSpellCheckerLanguage * - gedit_spell_language_get_selected_language (GeditSpellLanguageDialog *dlg); - -G_END_DECLS - -#endif /* __GEDIT_SPELL_LANGUAGE_DIALOG_H__ */ - diff --git a/plugins/spell/gedit-spell-plugin.h b/plugins/spell/gedit-spell-plugin.h deleted file mode 100755 index 7de5807..0000000 --- a/plugins/spell/gedit-spell-plugin.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * gedit-spell-plugin.h - * - * Copyright (C) 2002-2005 Paolo Maggi - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -#ifndef __GEDIT_SPELL_PLUGIN_H__ -#define __GEDIT_SPELL_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_SPELL_PLUGIN (gedit_spell_plugin_get_type ()) -#define GEDIT_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_SPELL_PLUGIN, GeditSpellPlugin)) -#define GEDIT_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_SPELL_PLUGIN, GeditSpellPluginClass)) -#define GEDIT_IS_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_SPELL_PLUGIN)) -#define GEDIT_IS_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_SPELL_PLUGIN)) -#define GEDIT_SPELL_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_SPELL_PLUGIN, GeditSpellPluginClass)) - -/* Private structure type */ -typedef struct _GeditSpellPluginPrivate GeditSpellPluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditSpellPlugin GeditSpellPlugin; - -struct _GeditSpellPlugin -{ - GeditPlugin parent_instance; -}; - -/* - * Class definition - */ -typedef struct _GeditSpellPluginClass GeditSpellPluginClass; - -struct _GeditSpellPluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_spell_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_SPELL_PLUGIN_H__ */ diff --git a/plugins/spell/gedit-automatic-spell-checker.c b/plugins/spell/pluma-automatic-spell-checker.c similarity index 84% rename from plugins/spell/gedit-automatic-spell-checker.c rename to plugins/spell/pluma-automatic-spell-checker.c index 96b2fae..8839337 100755 --- a/plugins/spell/gedit-automatic-spell-checker.c +++ b/plugins/spell/pluma-automatic-spell-checker.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-automatic-spell-checker.c - * This file is part of gedit + * pluma-automatic-spell-checker.c + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -40,11 +40,11 @@ #include -#include "gedit-automatic-spell-checker.h" -#include "gedit-spell-utils.h" +#include "pluma-automatic-spell-checker.h" +#include "pluma-spell-utils.h" -struct _GeditAutomaticSpellChecker { - GeditDocument *doc; +struct _PlumaAutomaticSpellChecker { + PlumaDocument *doc; GSList *views; GtkTextMark *mark_insert_start; @@ -54,22 +54,22 @@ struct _GeditAutomaticSpellChecker { GtkTextTag *tag_highlight; GtkTextMark *mark_click; - GeditSpellChecker *spell_checker; + PlumaSpellChecker *spell_checker; }; static GQuark automatic_spell_checker_id = 0; static GQuark suggestion_id = 0; -static void gedit_automatic_spell_checker_free_internal (GeditAutomaticSpellChecker *spell); +static void pluma_automatic_spell_checker_free_internal (PlumaAutomaticSpellChecker *spell); static void -view_destroy (GeditView *view, GeditAutomaticSpellChecker *spell) +view_destroy (PlumaView *view, PlumaAutomaticSpellChecker *spell) { - gedit_automatic_spell_checker_detach_view (spell, view); + pluma_automatic_spell_checker_detach_view (spell, view); } static void -check_word (GeditAutomaticSpellChecker *spell, GtkTextIter *start, GtkTextIter *end) +check_word (PlumaAutomaticSpellChecker *spell, GtkTextIter *start, GtkTextIter *end) { gchar *word; @@ -80,7 +80,7 @@ check_word (GeditAutomaticSpellChecker *spell, GtkTextIter *start, GtkTextIter * gtk_text_iter_get_offset (end)); */ - if (!gedit_spell_checker_check_word (spell->spell_checker, word, -1)) + if (!pluma_spell_checker_check_word (spell->spell_checker, word, -1)) { /* g_print ("Apply tag: [%d - %d]\n", gtk_text_iter_get_offset (start), @@ -96,7 +96,7 @@ check_word (GeditAutomaticSpellChecker *spell, GtkTextIter *start, GtkTextIter * } static void -check_range (GeditAutomaticSpellChecker *spell, +check_range (PlumaAutomaticSpellChecker *spell, GtkTextIter start, GtkTextIter end, gboolean force_all) @@ -164,7 +164,7 @@ check_range (GeditAutomaticSpellChecker *spell, wstart = start; - while (gedit_spell_utils_skip_no_spell_check (&wstart, &end) && + while (pluma_spell_utils_skip_no_spell_check (&wstart, &end) && gtk_text_iter_compare (&wstart, &end) < 0) { gboolean inword; @@ -208,7 +208,7 @@ check_range (GeditAutomaticSpellChecker *spell, } static void -check_deferred_range (GeditAutomaticSpellChecker *spell, +check_deferred_range (PlumaAutomaticSpellChecker *spell, gboolean force_all) { GtkTextIter start, end; @@ -232,14 +232,14 @@ check_deferred_range (GeditAutomaticSpellChecker *spell, static void insert_text_before (GtkTextBuffer *buffer, GtkTextIter *iter, - gchar *text, gint len, GeditAutomaticSpellChecker *spell) + gchar *text, gint len, PlumaAutomaticSpellChecker *spell) { gtk_text_buffer_move_mark (buffer, spell->mark_insert_start, iter); } static void insert_text_after (GtkTextBuffer *buffer, GtkTextIter *iter, - gchar *text, gint len, GeditAutomaticSpellChecker *spell) + gchar *text, gint len, PlumaAutomaticSpellChecker *spell) { GtkTextIter start; @@ -260,7 +260,7 @@ insert_text_after (GtkTextBuffer *buffer, GtkTextIter *iter, static void delete_range_after (GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { check_range (spell, *start, *end, FALSE); } @@ -269,7 +269,7 @@ static void mark_set (GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextMark *mark, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { /* if the cursor has moved and there is a deferred check so handle it now */ if ((mark == gtk_text_buffer_get_insert (buffer)) && spell->deferred_check) @@ -294,7 +294,7 @@ get_word_extents_from_mark (GtkTextBuffer *buffer, } static void -remove_tag_to_word (GeditAutomaticSpellChecker *spell, const gchar *word) +remove_tag_to_word (PlumaAutomaticSpellChecker *spell, const gchar *word) { GtkTextIter iter; GtkTextIter match_start, match_end; @@ -331,7 +331,7 @@ remove_tag_to_word (GeditAutomaticSpellChecker *spell, const gchar *word) } static void -add_to_dictionary (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) +add_to_dictionary (GtkWidget *menuitem, PlumaAutomaticSpellChecker *spell) { gchar *word; @@ -344,13 +344,13 @@ add_to_dictionary (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) &end, FALSE); - gedit_spell_checker_add_word_to_personal (spell->spell_checker, word, -1); + pluma_spell_checker_add_word_to_personal (spell->spell_checker, word, -1); g_free (word); } static void -ignore_all (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) +ignore_all (GtkWidget *menuitem, PlumaAutomaticSpellChecker *spell) { gchar *word; @@ -363,13 +363,13 @@ ignore_all (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) &end, FALSE); - gedit_spell_checker_add_word_to_session (spell->spell_checker, word, -1); + pluma_spell_checker_add_word_to_session (spell->spell_checker, word, -1); g_free (word); } static void -replace_word (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) +replace_word (GtkWidget *menuitem, PlumaAutomaticSpellChecker *spell) { gchar *oldword; const gchar *newword; @@ -390,7 +390,7 @@ replace_word (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) gtk_text_buffer_end_user_action (GTK_TEXT_BUFFER (spell->doc)); - gedit_spell_checker_set_correction (spell->spell_checker, + pluma_spell_checker_set_correction (spell->spell_checker, oldword, strlen (oldword), newword, strlen (newword)); @@ -398,7 +398,7 @@ replace_word (GtkWidget *menuitem, GeditAutomaticSpellChecker *spell) } static GtkWidget * -build_suggestion_menu (GeditAutomaticSpellChecker *spell, const gchar *word) +build_suggestion_menu (PlumaAutomaticSpellChecker *spell, const gchar *word) { GtkWidget *topmenu, *menu; GtkWidget *mi; @@ -408,7 +408,7 @@ build_suggestion_menu (GeditAutomaticSpellChecker *spell, const gchar *word) topmenu = menu = gtk_menu_new(); - suggestions = gedit_spell_checker_get_suggestions (spell->spell_checker, word, -1); + suggestions = pluma_spell_checker_get_suggestions (spell->spell_checker, word, -1); list = suggestions; @@ -529,7 +529,7 @@ build_suggestion_menu (GeditAutomaticSpellChecker *spell, const gchar *word) } static void -populate_popup (GtkTextView *textview, GtkMenu *menu, GeditAutomaticSpellChecker *spell) +populate_popup (GtkTextView *textview, GtkMenu *menu, PlumaAutomaticSpellChecker *spell) { GtkWidget *img, *mi; GtkTextIter start, end; @@ -563,7 +563,7 @@ populate_popup (GtkTextView *textview, GtkMenu *menu, GeditAutomaticSpellChecker } void -gedit_automatic_spell_checker_recheck_all (GeditAutomaticSpellChecker *spell) +pluma_automatic_spell_checker_recheck_all (PlumaAutomaticSpellChecker *spell) { GtkTextIter start, end; @@ -575,10 +575,10 @@ gedit_automatic_spell_checker_recheck_all (GeditAutomaticSpellChecker *spell) } static void -add_word_signal_cb (GeditSpellChecker *checker, +add_word_signal_cb (PlumaSpellChecker *checker, const gchar *word, gint len, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { gchar *w; @@ -593,18 +593,18 @@ add_word_signal_cb (GeditSpellChecker *checker, } static void -set_language_cb (GeditSpellChecker *checker, - const GeditSpellCheckerLanguage *lang, - GeditAutomaticSpellChecker *spell) +set_language_cb (PlumaSpellChecker *checker, + const PlumaSpellCheckerLanguage *lang, + PlumaAutomaticSpellChecker *spell) { - gedit_automatic_spell_checker_recheck_all (spell); + pluma_automatic_spell_checker_recheck_all (spell); } static void -clear_session_cb (GeditSpellChecker *checker, - GeditAutomaticSpellChecker *spell) +clear_session_cb (PlumaSpellChecker *checker, + PlumaAutomaticSpellChecker *spell) { - gedit_automatic_spell_checker_recheck_all (spell); + pluma_automatic_spell_checker_recheck_all (spell); } /* When the user right-clicks on a word, they want to check that word. @@ -614,7 +614,7 @@ clear_session_cb (GeditSpellChecker *checker, static gboolean button_press_event (GtkTextView *view, GdkEventButton *event, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { if (event->button == 3) { @@ -645,7 +645,7 @@ button_press_event (GtkTextView *view, * will contain the wrong set of suggestions. */ static gboolean -popup_menu_event (GtkTextView *view, GeditAutomaticSpellChecker *spell) +popup_menu_event (GtkTextView *view, PlumaAutomaticSpellChecker *spell) { GtkTextIter iter; GtkTextBuffer *buffer; @@ -665,7 +665,7 @@ popup_menu_event (GtkTextView *view, GeditAutomaticSpellChecker *spell) static void tag_table_changed (GtkTextTagTable *table, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { g_return_if_fail (spell->tag_highlight != NULL); @@ -676,7 +676,7 @@ tag_table_changed (GtkTextTagTable *table, static void tag_added_or_removed (GtkTextTagTable *table, GtkTextTag *tag, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { tag_table_changed (table, spell); } @@ -685,7 +685,7 @@ static void tag_changed (GtkTextTagTable *table, GtkTextTag *tag, gboolean size_changed, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { tag_table_changed (table, spell); } @@ -694,33 +694,33 @@ static void highlight_updated (GtkSourceBuffer *buffer, GtkTextIter *start, GtkTextIter *end, - GeditAutomaticSpellChecker *spell) + PlumaAutomaticSpellChecker *spell) { check_range (spell, *start, *end, FALSE); } static void -spell_tag_destroyed (GeditAutomaticSpellChecker *spell, +spell_tag_destroyed (PlumaAutomaticSpellChecker *spell, GObject *where_the_object_was) { spell->tag_highlight = NULL; } -GeditAutomaticSpellChecker * -gedit_automatic_spell_checker_new (GeditDocument *doc, - GeditSpellChecker *checker) +PlumaAutomaticSpellChecker * +pluma_automatic_spell_checker_new (PlumaDocument *doc, + PlumaSpellChecker *checker) { - GeditAutomaticSpellChecker *spell; + PlumaAutomaticSpellChecker *spell; GtkTextTagTable *tag_table; GtkTextIter start, end; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (checker), NULL); - g_return_val_if_fail ((spell = gedit_automatic_spell_checker_get_from_document (doc)) == NULL, + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (checker), NULL); + g_return_val_if_fail ((spell = pluma_automatic_spell_checker_get_from_document (doc)) == NULL, spell); /* attach to the widget */ - spell = g_new0 (GeditAutomaticSpellChecker, 1); + spell = g_new0 (PlumaAutomaticSpellChecker, 1); spell->doc = doc; spell->spell_checker = g_object_ref (checker); @@ -728,17 +728,17 @@ gedit_automatic_spell_checker_new (GeditDocument *doc, if (automatic_spell_checker_id == 0) { automatic_spell_checker_id = - g_quark_from_string ("GeditAutomaticSpellCheckerID"); + g_quark_from_string ("PlumaAutomaticSpellCheckerID"); } if (suggestion_id == 0) { - suggestion_id = g_quark_from_string ("GeditAutoSuggestionID"); + suggestion_id = g_quark_from_string ("PlumaAutoSuggestionID"); } g_object_set_qdata_full (G_OBJECT (doc), automatic_spell_checker_id, spell, - (GDestroyNotify)gedit_automatic_spell_checker_free_internal); + (GDestroyNotify)pluma_automatic_spell_checker_free_internal); g_signal_connect (doc, "insert-text", @@ -812,13 +812,13 @@ gedit_automatic_spell_checker_new (GeditDocument *doc, gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (doc), &start, &end); spell->mark_insert_start = gtk_text_buffer_get_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-insert-start"); + "pluma-automatic-spell-checker-insert-start"); if (spell->mark_insert_start == NULL) { spell->mark_insert_start = gtk_text_buffer_create_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-insert-start", + "pluma-automatic-spell-checker-insert-start", &start, TRUE); } @@ -830,13 +830,13 @@ gedit_automatic_spell_checker_new (GeditDocument *doc, } spell->mark_insert_end = gtk_text_buffer_get_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-insert-end"); + "pluma-automatic-spell-checker-insert-end"); if (spell->mark_insert_end == NULL) { spell->mark_insert_end = gtk_text_buffer_create_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-insert-end", + "pluma-automatic-spell-checker-insert-end", &start, TRUE); } @@ -848,13 +848,13 @@ gedit_automatic_spell_checker_new (GeditDocument *doc, } spell->mark_click = gtk_text_buffer_get_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-click"); + "pluma-automatic-spell-checker-click"); if (spell->mark_click == NULL) { spell->mark_click = gtk_text_buffer_create_mark (GTK_TEXT_BUFFER (doc), - "gedit-automatic-spell-checker-click", + "pluma-automatic-spell-checker-click", &start, TRUE); } @@ -870,10 +870,10 @@ gedit_automatic_spell_checker_new (GeditDocument *doc, return spell; } -GeditAutomaticSpellChecker * -gedit_automatic_spell_checker_get_from_document (const GeditDocument *doc) +PlumaAutomaticSpellChecker * +pluma_automatic_spell_checker_get_from_document (const PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); if (automatic_spell_checker_id == 0) return NULL; @@ -882,10 +882,10 @@ gedit_automatic_spell_checker_get_from_document (const GeditDocument *doc) } void -gedit_automatic_spell_checker_free (GeditAutomaticSpellChecker *spell) +pluma_automatic_spell_checker_free (PlumaAutomaticSpellChecker *spell) { g_return_if_fail (spell != NULL); - g_return_if_fail (gedit_automatic_spell_checker_get_from_document (spell->doc) == spell); + g_return_if_fail (pluma_automatic_spell_checker_get_from_document (spell->doc) == spell); if (automatic_spell_checker_id == 0) return; @@ -894,7 +894,7 @@ gedit_automatic_spell_checker_free (GeditAutomaticSpellChecker *spell) } static void -gedit_automatic_spell_checker_free_internal (GeditAutomaticSpellChecker *spell) +pluma_automatic_spell_checker_free_internal (PlumaAutomaticSpellChecker *spell) { GtkTextTagTable *table; GtkTextIter start, end; @@ -937,7 +937,7 @@ gedit_automatic_spell_checker_free_internal (GeditAutomaticSpellChecker *spell) list = spell->views; while (list != NULL) { - GeditView *view = GEDIT_VIEW (list->data); + PlumaView *view = PLUMA_VIEW (list->data); g_signal_handlers_disconnect_matched (G_OBJECT (view), G_SIGNAL_MATCH_DATA, @@ -958,12 +958,12 @@ gedit_automatic_spell_checker_free_internal (GeditAutomaticSpellChecker *spell) } void -gedit_automatic_spell_checker_attach_view ( - GeditAutomaticSpellChecker *spell, - GeditView *view) +pluma_automatic_spell_checker_attach_view ( + PlumaAutomaticSpellChecker *spell, + PlumaView *view) { g_return_if_fail (spell != NULL); - g_return_if_fail (GEDIT_IS_VIEW (view)); + g_return_if_fail (PLUMA_IS_VIEW (view)); g_return_if_fail (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)) == GTK_TEXT_BUFFER (spell->doc)); @@ -989,12 +989,12 @@ gedit_automatic_spell_checker_attach_view ( } void -gedit_automatic_spell_checker_detach_view ( - GeditAutomaticSpellChecker *spell, - GeditView *view) +pluma_automatic_spell_checker_detach_view ( + PlumaAutomaticSpellChecker *spell, + PlumaView *view) { g_return_if_fail (spell != NULL); - g_return_if_fail (GEDIT_IS_VIEW (view)); + g_return_if_fail (PLUMA_IS_VIEW (view)); g_return_if_fail (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)) == GTK_TEXT_BUFFER (spell->doc)); diff --git a/plugins/spell/pluma-automatic-spell-checker.h b/plugins/spell/pluma-automatic-spell-checker.h new file mode 100755 index 0000000..3a5f248 --- /dev/null +++ b/plugins/spell/pluma-automatic-spell-checker.h @@ -0,0 +1,67 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-automatic-spell-checker.h + * This file is part of pluma + * + * Copyright (C) 2002 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +/* This is a modified version of gtkspell 2.0.2 (gtkspell.sf.net) */ +/* gtkspell - a spell-checking addon for GTK's TextView widget + * Copyright (c) 2002 Evan Martin. + */ + +#ifndef __PLUMA_AUTOMATIC_SPELL_CHECKER_H__ +#define __PLUMA_AUTOMATIC_SPELL_CHECKER_H__ + +#include +#include + +#include "pluma-spell-checker.h" + +typedef struct _PlumaAutomaticSpellChecker PlumaAutomaticSpellChecker; + +PlumaAutomaticSpellChecker *pluma_automatic_spell_checker_new ( + PlumaDocument *doc, + PlumaSpellChecker *checker); + +PlumaAutomaticSpellChecker *pluma_automatic_spell_checker_get_from_document ( + const PlumaDocument *doc); + +void pluma_automatic_spell_checker_free ( + PlumaAutomaticSpellChecker *spell); + +void pluma_automatic_spell_checker_attach_view ( + PlumaAutomaticSpellChecker *spell, + PlumaView *view); + +void pluma_automatic_spell_checker_detach_view ( + PlumaAutomaticSpellChecker *spell, + PlumaView *view); + +void pluma_automatic_spell_checker_recheck_all ( + PlumaAutomaticSpellChecker *spell); + +#endif /* __PLUMA_AUTOMATIC_SPELL_CHECKER_H__ */ + diff --git a/plugins/spell/gedit-spell-checker-dialog.c b/plugins/spell/pluma-spell-checker-dialog.c similarity index 77% rename from plugins/spell/gedit-spell-checker-dialog.c rename to plugins/spell/pluma-spell-checker-dialog.c index 0488d16..067e79e 100755 --- a/plugins/spell/gedit-spell-checker-dialog.c +++ b/plugins/spell/pluma-spell-checker-dialog.c @@ -1,7 +1,7 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-spell-checker-dialog.c - * This file is part of gedit + * pluma-spell-checker-dialog.c + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -34,15 +34,15 @@ #include #include #include -#include -#include "gedit-spell-checker-dialog.h" -#include "gedit-spell-marshal.h" +#include +#include "pluma-spell-checker-dialog.h" +#include "pluma-spell-marshal.h" -struct _GeditSpellCheckerDialog +struct _PlumaSpellCheckerDialog { GtkWindow parent_instance; - GeditSpellChecker *spell_checker; + PlumaSpellChecker *spell_checker; gchar *misspelled_word; @@ -77,41 +77,41 @@ enum NUM_COLUMNS }; -static void update_suggestions_list_model (GeditSpellCheckerDialog *dlg, +static void update_suggestions_list_model (PlumaSpellCheckerDialog *dlg, GSList *suggestions); static void word_entry_changed_handler (GtkEditable *editable, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void close_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void suggestions_list_selection_changed_handler (GtkTreeSelection *selection, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void check_word_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void add_word_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void ignore_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void ignore_all_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void change_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void change_all_button_clicked_handler (GtkButton *button, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static void suggestions_list_row_activated_handler (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *column, - GeditSpellCheckerDialog *dlg); + PlumaSpellCheckerDialog *dlg); static guint signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE(GeditSpellCheckerDialog, gedit_spell_checker_dialog, GTK_TYPE_WINDOW) +G_DEFINE_TYPE(PlumaSpellCheckerDialog, pluma_spell_checker_dialog, GTK_TYPE_WINDOW) static void -gedit_spell_checker_dialog_destroy (GtkObject *object) +pluma_spell_checker_dialog_destroy (GtkObject *object) { - GeditSpellCheckerDialog *dlg = GEDIT_SPELL_CHECKER_DIALOG (object); + PlumaSpellCheckerDialog *dlg = PLUMA_SPELL_CHECKER_DIALOG (object); if (dlg->spell_checker != NULL) { @@ -125,25 +125,25 @@ gedit_spell_checker_dialog_destroy (GtkObject *object) dlg->misspelled_word = NULL; } - GTK_OBJECT_CLASS (gedit_spell_checker_dialog_parent_class)->destroy (object); + GTK_OBJECT_CLASS (pluma_spell_checker_dialog_parent_class)->destroy (object); } static void -gedit_spell_checker_dialog_class_init (GeditSpellCheckerDialogClass * klass) +pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) { GObjectClass *object_class; object_class = G_OBJECT_CLASS (klass); - GTK_OBJECT_CLASS (object_class)->destroy = gedit_spell_checker_dialog_destroy; + GTK_OBJECT_CLASS (object_class)->destroy = pluma_spell_checker_dialog_destroy; signals[IGNORE] = g_signal_new ("ignore", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerDialogClass, ignore), + G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, ignore), NULL, NULL, - gedit_marshal_VOID__STRING, + pluma_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -152,9 +152,9 @@ gedit_spell_checker_dialog_class_init (GeditSpellCheckerDialogClass * klass) g_signal_new ("ignore_all", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerDialogClass, ignore_all), + G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, ignore_all), NULL, NULL, - gedit_marshal_VOID__STRING, + pluma_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -163,9 +163,9 @@ gedit_spell_checker_dialog_class_init (GeditSpellCheckerDialogClass * klass) g_signal_new ("change", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerDialogClass, change), + G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, change), NULL, NULL, - gedit_marshal_VOID__STRING_STRING, + pluma_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -175,9 +175,9 @@ gedit_spell_checker_dialog_class_init (GeditSpellCheckerDialogClass * klass) g_signal_new ("change_all", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerDialogClass, change_all), + G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, change_all), NULL, NULL, - gedit_marshal_VOID__STRING_STRING, + pluma_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -187,16 +187,16 @@ gedit_spell_checker_dialog_class_init (GeditSpellCheckerDialogClass * klass) g_signal_new ("add_word_to_personal", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerDialogClass, add_word_to_personal), + G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, add_word_to_personal), NULL, NULL, - gedit_marshal_VOID__STRING, + pluma_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); } static void -create_dialog (GeditSpellCheckerDialog *dlg, +create_dialog (PlumaSpellCheckerDialog *dlg, const gchar *data_dir) { GtkWidget *error_widget; @@ -223,7 +223,7 @@ create_dialog (GeditSpellCheckerDialog *dlg, dlg->misspelled_word = NULL; ui_file = g_build_filename (data_dir, "spell-checker.ui", NULL); - ret = gedit_utils_get_ui_objects (ui_file, + ret = pluma_utils_get_ui_objects (ui_file, root_objects, &error_widget, @@ -321,17 +321,17 @@ create_dialog (GeditSpellCheckerDialog *dlg, } static void -gedit_spell_checker_dialog_init (GeditSpellCheckerDialog *dlg) +pluma_spell_checker_dialog_init (PlumaSpellCheckerDialog *dlg) { } GtkWidget * -gedit_spell_checker_dialog_new (const gchar *data_dir) +pluma_spell_checker_dialog_new (const gchar *data_dir) { - GeditSpellCheckerDialog *dlg; + PlumaSpellCheckerDialog *dlg; - dlg = GEDIT_SPELL_CHECKER_DIALOG ( - g_object_new (GEDIT_TYPE_SPELL_CHECKER_DIALOG, NULL)); + dlg = PLUMA_SPELL_CHECKER_DIALOG ( + g_object_new (PLUMA_TYPE_SPELL_CHECKER_DIALOG, NULL)); g_return_val_if_fail (dlg != NULL, NULL); @@ -341,33 +341,33 @@ gedit_spell_checker_dialog_new (const gchar *data_dir) } GtkWidget * -gedit_spell_checker_dialog_new_from_spell_checker (GeditSpellChecker *spell, +pluma_spell_checker_dialog_new_from_spell_checker (PlumaSpellChecker *spell, const gchar *data_dir) { - GeditSpellCheckerDialog *dlg; + PlumaSpellCheckerDialog *dlg; g_return_val_if_fail (spell != NULL, NULL); - dlg = GEDIT_SPELL_CHECKER_DIALOG ( - g_object_new (GEDIT_TYPE_SPELL_CHECKER_DIALOG, NULL)); + dlg = PLUMA_SPELL_CHECKER_DIALOG ( + g_object_new (PLUMA_TYPE_SPELL_CHECKER_DIALOG, NULL)); g_return_val_if_fail (dlg != NULL, NULL); create_dialog (dlg, data_dir); - gedit_spell_checker_dialog_set_spell_checker (dlg, spell); + pluma_spell_checker_dialog_set_spell_checker (dlg, spell); return GTK_WIDGET (dlg); } void -gedit_spell_checker_dialog_set_spell_checker (GeditSpellCheckerDialog *dlg, GeditSpellChecker *spell) +pluma_spell_checker_dialog_set_spell_checker (PlumaSpellCheckerDialog *dlg, PlumaSpellChecker *spell) { - const GeditSpellCheckerLanguage* language; + const PlumaSpellCheckerLanguage* language; const gchar *lang; gchar *tmp; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (spell != NULL); if (dlg->spell_checker != NULL) @@ -376,16 +376,16 @@ gedit_spell_checker_dialog_set_spell_checker (GeditSpellCheckerDialog *dlg, Gedi dlg->spell_checker = spell; g_object_ref (dlg->spell_checker); - language = gedit_spell_checker_get_language (dlg->spell_checker); + language = pluma_spell_checker_get_language (dlg->spell_checker); - lang = gedit_spell_checker_language_to_string (language); + lang = pluma_spell_checker_language_to_string (language); tmp = g_strdup_printf("%s", lang); gtk_label_set_label (GTK_LABEL (dlg->language_label), tmp); g_free (tmp); if (dlg->misspelled_word != NULL) - gedit_spell_checker_dialog_set_misspelled_word (dlg, dlg->misspelled_word, -1); + pluma_spell_checker_dialog_set_misspelled_word (dlg, dlg->misspelled_word, -1); else gtk_list_store_clear (GTK_LIST_STORE (dlg->suggestions_list_model)); @@ -393,18 +393,18 @@ gedit_spell_checker_dialog_set_spell_checker (GeditSpellCheckerDialog *dlg, Gedi } void -gedit_spell_checker_dialog_set_misspelled_word (GeditSpellCheckerDialog *dlg, +pluma_spell_checker_dialog_set_misspelled_word (PlumaSpellCheckerDialog *dlg, const gchar *word, gint len) { gchar *tmp; GSList *sug; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (word != NULL); g_return_if_fail (dlg->spell_checker != NULL); - g_return_if_fail (!gedit_spell_checker_check_word (dlg->spell_checker, word, -1)); + g_return_if_fail (!pluma_spell_checker_check_word (dlg->spell_checker, word, -1)); /* build_suggestions_list */ if (dlg->misspelled_word != NULL) @@ -416,7 +416,7 @@ gedit_spell_checker_dialog_set_misspelled_word (GeditSpellCheckerDialog *dlg, gtk_label_set_label (GTK_LABEL (dlg->misspelled_word_label), tmp); g_free (tmp); - sug = gedit_spell_checker_get_suggestions (dlg->spell_checker, + sug = pluma_spell_checker_get_suggestions (dlg->spell_checker, dlg->misspelled_word, -1); @@ -432,13 +432,13 @@ gedit_spell_checker_dialog_set_misspelled_word (GeditSpellCheckerDialog *dlg, } static void -update_suggestions_list_model (GeditSpellCheckerDialog *dlg, GSList *suggestions) +update_suggestions_list_model (PlumaSpellCheckerDialog *dlg, GSList *suggestions) { GtkListStore *store; GtkTreeIter iter; GtkTreeSelection *sel; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (GTK_IS_LIST_STORE (dlg->suggestions_list_model)); store = GTK_LIST_STORE (dlg->suggestions_list_model); @@ -482,11 +482,11 @@ update_suggestions_list_model (GeditSpellCheckerDialog *dlg, GSList *suggestions } static void -word_entry_changed_handler (GtkEditable *editable, GeditSpellCheckerDialog *dlg) +word_entry_changed_handler (GtkEditable *editable, PlumaSpellCheckerDialog *dlg) { const gchar *text; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); text = gtk_entry_get_text (GTK_ENTRY (dlg->word_entry)); @@ -505,22 +505,22 @@ word_entry_changed_handler (GtkEditable *editable, GeditSpellCheckerDialog *dlg) } static void -close_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +close_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); gtk_widget_destroy (GTK_WIDGET (dlg)); } static void suggestions_list_selection_changed_handler (GtkTreeSelection *selection, - GeditSpellCheckerDialog *dlg) + PlumaSpellCheckerDialog *dlg) { GtkTreeIter iter; GValue value = {0, }; const gchar *text; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); if (! gtk_tree_selection_get_selected (selection, NULL, &iter)) return; @@ -537,18 +537,18 @@ suggestions_list_selection_changed_handler (GtkTreeSelection *selection, } static void -check_word_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +check_word_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { const gchar *word; gssize len; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); word = gtk_entry_get_text (GTK_ENTRY (dlg->word_entry)); len = strlen (word); g_return_if_fail (len > 0); - if (gedit_spell_checker_check_word (dlg->spell_checker, word, len)) + if (pluma_spell_checker_check_word (dlg->spell_checker, word, len)) { GtkListStore *store; GtkTreeIter iter; @@ -568,7 +568,7 @@ check_word_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *d { GSList *sug; - sug = gedit_spell_checker_get_suggestions (dlg->spell_checker, + sug = pluma_spell_checker_get_suggestions (dlg->spell_checker, word, len); @@ -581,14 +581,14 @@ check_word_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *d } static void -add_word_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +add_word_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { gchar *word; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (dlg->misspelled_word != NULL); - gedit_spell_checker_add_word_to_personal (dlg->spell_checker, + pluma_spell_checker_add_word_to_personal (dlg->spell_checker, dlg->misspelled_word, -1); @@ -600,11 +600,11 @@ add_word_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg } static void -ignore_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +ignore_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { gchar *word; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (dlg->misspelled_word != NULL); word = g_strdup (dlg->misspelled_word); @@ -615,14 +615,14 @@ ignore_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) } static void -ignore_all_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +ignore_all_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { gchar *word; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (dlg->misspelled_word != NULL); - gedit_spell_checker_add_word_to_session (dlg->spell_checker, + pluma_spell_checker_add_word_to_session (dlg->spell_checker, dlg->misspelled_word, -1); @@ -634,19 +634,19 @@ ignore_all_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *d } static void -change_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +change_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { gchar *word; gchar *change; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (dlg->misspelled_word != NULL); change = g_strdup (gtk_entry_get_text (GTK_ENTRY (dlg->word_entry))); g_return_if_fail (change != NULL); g_return_if_fail (*change != '\0'); - gedit_spell_checker_set_correction (dlg->spell_checker, + pluma_spell_checker_set_correction (dlg->spell_checker, dlg->misspelled_word, -1, change, -1); @@ -663,27 +663,27 @@ static void suggestions_list_row_activated_handler (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *column, - GeditSpellCheckerDialog *dlg) + PlumaSpellCheckerDialog *dlg) { - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); change_button_clicked_handler (GTK_BUTTON (dlg->change_button), dlg); } static void -change_all_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *dlg) +change_all_button_clicked_handler (GtkButton *button, PlumaSpellCheckerDialog *dlg) { gchar *word; gchar *change; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); g_return_if_fail (dlg->misspelled_word != NULL); change = g_strdup (gtk_entry_get_text (GTK_ENTRY (dlg->word_entry))); g_return_if_fail (change != NULL); g_return_if_fail (*change != '\0'); - gedit_spell_checker_set_correction (dlg->spell_checker, + pluma_spell_checker_set_correction (dlg->spell_checker, dlg->misspelled_word, -1, change, -1); @@ -696,11 +696,11 @@ change_all_button_clicked_handler (GtkButton *button, GeditSpellCheckerDialog *d } void -gedit_spell_checker_dialog_set_completed (GeditSpellCheckerDialog *dlg) +pluma_spell_checker_dialog_set_completed (PlumaSpellCheckerDialog *dlg) { gchar *tmp; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER_DIALOG (dlg)); tmp = g_strdup_printf("%s", _("Completed spell checking")); gtk_label_set_label (GTK_LABEL (dlg->misspelled_word_label), diff --git a/plugins/spell/pluma-spell-checker-dialog.h b/plugins/spell/pluma-spell-checker-dialog.h new file mode 100755 index 0000000..5a4082e --- /dev/null +++ b/plugins/spell/pluma-spell-checker-dialog.h @@ -0,0 +1,92 @@ +/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-spell-checker-dialog.h + * This file is part of pluma + * + * Copyright (C) 2002 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef __PLUMA_SPELL_CHECKER_DIALOG_H__ +#define __PLUMA_SPELL_CHECKER_DIALOG_H__ + +#include +#include "pluma-spell-checker.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_SPELL_CHECKER_DIALOG (pluma_spell_checker_dialog_get_type ()) +#define PLUMA_SPELL_CHECKER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_SPELL_CHECKER_DIALOG, PlumaSpellCheckerDialog)) +#define PLUMA_SPELL_CHECKER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_SPELL_CHECKER_DIALOG, PlumaSpellCheckerDialog)) +#define PLUMA_IS_SPELL_CHECKER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_SPELL_CHECKER_DIALOG)) +#define PLUMA_IS_SPELL_CHECKER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_SPELL_CHECKER_DIALOG)) +#define PLUMA_SPELL_CHECKER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_SPELL_CHECKER_DIALOG, PlumaSpellCheckerDialog)) + + +typedef struct _PlumaSpellCheckerDialog PlumaSpellCheckerDialog; + +typedef struct _PlumaSpellCheckerDialogClass PlumaSpellCheckerDialogClass; + +struct _PlumaSpellCheckerDialogClass +{ + GtkWindowClass parent_class; + + /* Signals */ + void (*ignore) (PlumaSpellCheckerDialog *dlg, + const gchar *word); + void (*ignore_all) (PlumaSpellCheckerDialog *dlg, + const gchar *word); + void (*change) (PlumaSpellCheckerDialog *dlg, + const gchar *word, + const gchar *change_to); + void (*change_all) (PlumaSpellCheckerDialog *dlg, + const gchar *word, + const gchar *change_to); + void (*add_word_to_personal) (PlumaSpellCheckerDialog *dlg, + const gchar *word); + +}; + +GType pluma_spell_checker_dialog_get_type (void) G_GNUC_CONST; + +/* Constructors */ +GtkWidget *pluma_spell_checker_dialog_new (const gchar *data_dir); +GtkWidget *pluma_spell_checker_dialog_new_from_spell_checker + (PlumaSpellChecker *spell, + const gchar *data_dir); + +void pluma_spell_checker_dialog_set_spell_checker + (PlumaSpellCheckerDialog *dlg, + PlumaSpellChecker *spell); +void pluma_spell_checker_dialog_set_misspelled_word + (PlumaSpellCheckerDialog *dlg, + const gchar* word, + gint len); + +void pluma_spell_checker_dialog_set_completed + (PlumaSpellCheckerDialog *dlg); + +G_END_DECLS + +#endif /* __PLUMA_SPELL_CHECKER_DIALOG_H__ */ + diff --git a/plugins/spell/gedit-spell-checker-language.c b/plugins/spell/pluma-spell-checker-language.c similarity index 91% rename from plugins/spell/gedit-spell-checker-language.c rename to plugins/spell/pluma-spell-checker-language.c index ae7e242..042e770 100755 --- a/plugins/spell/gedit-spell-checker-language.c +++ b/plugins/spell/pluma-spell-checker-language.c @@ -1,7 +1,7 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-spell-checker-language.c - * This file is part of gedit + * pluma-spell-checker-language.c + * This file is part of pluma * * Copyright (C) 2006 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -43,16 +43,16 @@ #include #include -#include "gedit-spell-checker-language.h" +#include "pluma-spell-checker-language.h" -#include +#include #define ISO_639_DOMAIN "iso_639" #define ISO_3166_DOMAIN "iso_3166" #define ISOCODESLOCALEDIR ISO_CODES_PREFIX "/share/locale" -struct _GeditSpellCheckerLanguage +struct _PlumaSpellCheckerLanguage { gchar *abrev; gchar *name; @@ -154,7 +154,7 @@ load_iso_entries (int iso, char *filename; int ret = -1; - gedit_debug_message (DEBUG_PLUGINS, "Loading ISO-%d codes", iso); + pluma_debug_message (DEBUG_PLUGINS, "Loading ISO-%d codes", iso); filename = g_strdup_printf (ISO_CODES_PREFIX "/share/xml/iso-codes/iso_%d.xml", iso); reader = xmlNewTextReaderFilename (filename); @@ -331,8 +331,8 @@ key_cmp (gconstpointer a, gconstpointer b, gpointer user_data) } static gint -lang_cmp (const GeditSpellCheckerLanguage *a, - const GeditSpellCheckerLanguage *b) +lang_cmp (const PlumaSpellCheckerLanguage *a, + const PlumaSpellCheckerLanguage *b) { return g_utf8_collate (a->name, b->name); } @@ -342,7 +342,7 @@ build_langs_list (const gchar *key, const gchar *value, gpointer data) { - GeditSpellCheckerLanguage *lang = g_new (GeditSpellCheckerLanguage, 1); + PlumaSpellCheckerLanguage *lang = g_new (PlumaSpellCheckerLanguage, 1); lang->abrev = g_strdup (key); lang->name = g_strdup (value); @@ -355,7 +355,7 @@ build_langs_list (const gchar *key, } const GSList * -gedit_spell_checker_get_available_languages (void) +pluma_spell_checker_get_available_languages (void) { EnchantBroker *broker; GTree *dicts; @@ -397,7 +397,7 @@ gedit_spell_checker_get_available_languages (void) } const gchar * -gedit_spell_checker_language_to_string (const GeditSpellCheckerLanguage *lang) +pluma_spell_checker_language_to_string (const PlumaSpellCheckerLanguage *lang) { if (lang == NULL) /* Translators: this refers the Default language used by the @@ -409,25 +409,25 @@ gedit_spell_checker_language_to_string (const GeditSpellCheckerLanguage *lang) } const gchar * -gedit_spell_checker_language_to_key (const GeditSpellCheckerLanguage *lang) +pluma_spell_checker_language_to_key (const PlumaSpellCheckerLanguage *lang) { g_return_val_if_fail (lang != NULL, NULL); return lang->abrev; } -const GeditSpellCheckerLanguage * -gedit_spell_checker_language_from_key (const gchar *key) +const PlumaSpellCheckerLanguage * +pluma_spell_checker_language_from_key (const gchar *key) { const GSList *langs; g_return_val_if_fail (key != NULL, NULL); - langs = gedit_spell_checker_get_available_languages (); + langs = pluma_spell_checker_get_available_languages (); while (langs != NULL) { - const GeditSpellCheckerLanguage *l = (const GeditSpellCheckerLanguage *)langs->data; + const PlumaSpellCheckerLanguage *l = (const PlumaSpellCheckerLanguage *)langs->data; if (g_ascii_strcasecmp (key, l->abrev) == 0) return l; diff --git a/plugins/spell/gedit-spell-checker-language.h b/plugins/spell/pluma-spell-checker-language.h similarity index 59% rename from plugins/spell/gedit-spell-checker-language.h rename to plugins/spell/pluma-spell-checker-language.h index 7e62de6..8bae47a 100755 --- a/plugins/spell/gedit-spell-checker-language.h +++ b/plugins/spell/pluma-spell-checker-language.h @@ -1,7 +1,7 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-spell-checker-language.h - * This file is part of gedit + * pluma-spell-checker-language.h + * This file is part of pluma * * Copyright (C) 2006 Paolo Maggi * @@ -22,30 +22,30 @@ */ /* - * Modified by the gedit Team, 2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ -#ifndef __GEDIT_SPELL_CHECKER_LANGUAGE_H__ -#define __GEDIT_SPELL_CHECKER_LANGUAGE_H__ +#ifndef __PLUMA_SPELL_CHECKER_LANGUAGE_H__ +#define __PLUMA_SPELL_CHECKER_LANGUAGE_H__ #include G_BEGIN_DECLS -typedef struct _GeditSpellCheckerLanguage GeditSpellCheckerLanguage; +typedef struct _PlumaSpellCheckerLanguage PlumaSpellCheckerLanguage; -const gchar *gedit_spell_checker_language_to_string (const GeditSpellCheckerLanguage *lang); +const gchar *pluma_spell_checker_language_to_string (const PlumaSpellCheckerLanguage *lang); -const gchar *gedit_spell_checker_language_to_key (const GeditSpellCheckerLanguage *lang); +const gchar *pluma_spell_checker_language_to_key (const PlumaSpellCheckerLanguage *lang); -const GeditSpellCheckerLanguage *gedit_spell_checker_language_from_key (const gchar *key); +const PlumaSpellCheckerLanguage *pluma_spell_checker_language_from_key (const gchar *key); -/* GSList contains "GeditSpellCheckerLanguage*" items */ -const GSList *gedit_spell_checker_get_available_languages +/* GSList contains "PlumaSpellCheckerLanguage*" items */ +const GSList *pluma_spell_checker_get_available_languages (void); G_END_DECLS -#endif /* __GEDIT_SPELL_CHECKER_LANGUAGE_H__ */ +#endif /* __PLUMA_SPELL_CHECKER_LANGUAGE_H__ */ diff --git a/plugins/spell/gedit-spell-checker.c b/plugins/spell/pluma-spell-checker.c similarity index 71% rename from plugins/spell/gedit-spell-checker.c rename to plugins/spell/pluma-spell-checker.c index 51b8d8a..24cfcdd 100755 --- a/plugins/spell/gedit-spell-checker.c +++ b/plugins/spell/pluma-spell-checker.c @@ -1,7 +1,7 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-spell-checker.c - * This file is part of gedit + * pluma-spell-checker.c + * This file is part of pluma * * Copyright (C) 2002-2006 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -38,17 +38,17 @@ #include #include -#include "gedit-spell-checker.h" -#include "gedit-spell-utils.h" -#include "gedit-spell-marshal.h" +#include "pluma-spell-checker.h" +#include "pluma-spell-utils.h" +#include "pluma-spell-marshal.h" -struct _GeditSpellChecker +struct _PlumaSpellChecker { GObject parent_instance; EnchantDict *dict; EnchantBroker *broker; - const GeditSpellCheckerLanguage *active_lang; + const PlumaSpellCheckerLanguage *active_lang; }; /* GObject properties */ @@ -69,16 +69,16 @@ enum { static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE(GeditSpellChecker, gedit_spell_checker, G_TYPE_OBJECT) +G_DEFINE_TYPE(PlumaSpellChecker, pluma_spell_checker, G_TYPE_OBJECT) static void -gedit_spell_checker_set_property (GObject *object, +pluma_spell_checker_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { /* - GeditSpellChecker *spell = GEDIT_SPELL_CHECKER (object); + PlumaSpellChecker *spell = PLUMA_SPELL_CHECKER (object); */ switch (prop_id) @@ -92,13 +92,13 @@ gedit_spell_checker_set_property (GObject *object, } static void -gedit_spell_checker_get_property (GObject *object, +pluma_spell_checker_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { /* - GeditSpellChecker *spell = GEDIT_SPELL_CHECKER (object); + PlumaSpellChecker *spell = PLUMA_SPELL_CHECKER (object); */ switch (prop_id) @@ -111,13 +111,13 @@ gedit_spell_checker_get_property (GObject *object, } static void -gedit_spell_checker_finalize (GObject *object) +pluma_spell_checker_finalize (GObject *object) { - GeditSpellChecker *spell_checker; + PlumaSpellChecker *spell_checker; - g_return_if_fail (GEDIT_IS_SPELL_CHECKER (object)); + g_return_if_fail (PLUMA_IS_SPELL_CHECKER (object)); - spell_checker = GEDIT_SPELL_CHECKER (object); + spell_checker = PLUMA_SPELL_CHECKER (object); if (spell_checker->dict != NULL) enchant_broker_free_dict (spell_checker->broker, spell_checker->dict); @@ -125,20 +125,20 @@ gedit_spell_checker_finalize (GObject *object) if (spell_checker->broker != NULL) enchant_broker_free (spell_checker->broker); - G_OBJECT_CLASS (gedit_spell_checker_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_spell_checker_parent_class)->finalize (object); } static void -gedit_spell_checker_class_init (GeditSpellCheckerClass * klass) +pluma_spell_checker_class_init (PlumaSpellCheckerClass * klass) { GObjectClass *object_class; object_class = G_OBJECT_CLASS (klass); - object_class->set_property = gedit_spell_checker_set_property; - object_class->get_property = gedit_spell_checker_get_property; + object_class->set_property = pluma_spell_checker_set_property; + object_class->get_property = pluma_spell_checker_get_property; - object_class->finalize = gedit_spell_checker_finalize; + object_class->finalize = pluma_spell_checker_finalize; g_object_class_install_property (object_class, PROP_LANGUAGE, @@ -151,9 +151,9 @@ gedit_spell_checker_class_init (GeditSpellCheckerClass * klass) g_signal_new ("add_word_to_personal", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerClass, add_word_to_personal), + G_STRUCT_OFFSET (PlumaSpellCheckerClass, add_word_to_personal), NULL, NULL, - gedit_marshal_VOID__STRING_INT, + pluma_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -163,9 +163,9 @@ gedit_spell_checker_class_init (GeditSpellCheckerClass * klass) g_signal_new ("add_word_to_session", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerClass, add_word_to_session), + G_STRUCT_OFFSET (PlumaSpellCheckerClass, add_word_to_session), NULL, NULL, - gedit_marshal_VOID__STRING_INT, + pluma_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -175,9 +175,9 @@ gedit_spell_checker_class_init (GeditSpellCheckerClass * klass) g_signal_new ("set_language", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerClass, set_language), + G_STRUCT_OFFSET (PlumaSpellCheckerClass, set_language), NULL, NULL, - gedit_marshal_VOID__POINTER, + pluma_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); @@ -186,28 +186,28 @@ gedit_spell_checker_class_init (GeditSpellCheckerClass * klass) g_signal_new ("clear_session", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditSpellCheckerClass, clear_session), + G_STRUCT_OFFSET (PlumaSpellCheckerClass, clear_session), NULL, NULL, - gedit_marshal_VOID__VOID, + pluma_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void -gedit_spell_checker_init (GeditSpellChecker *spell_checker) +pluma_spell_checker_init (PlumaSpellChecker *spell_checker) { spell_checker->broker = enchant_broker_init (); spell_checker->dict = NULL; spell_checker->active_lang = NULL; } -GeditSpellChecker * -gedit_spell_checker_new (void) +PlumaSpellChecker * +pluma_spell_checker_new (void) { - GeditSpellChecker *spell; + PlumaSpellChecker *spell; - spell = GEDIT_SPELL_CHECKER ( - g_object_new (GEDIT_TYPE_SPELL_CHECKER, NULL)); + spell = PLUMA_SPELL_CHECKER ( + g_object_new (PLUMA_TYPE_SPELL_CHECKER, NULL)); g_return_val_if_fail (spell != NULL, NULL); @@ -215,8 +215,8 @@ gedit_spell_checker_new (void) } static gboolean -lazy_init (GeditSpellChecker *spell, - const GeditSpellCheckerLanguage *language) +lazy_init (PlumaSpellChecker *spell, + const PlumaSpellCheckerLanguage *language) { if (spell->dict != NULL) return TRUE; @@ -232,13 +232,13 @@ lazy_init (GeditSpellChecker *spell, else { /* First try to get a default language */ - const GeditSpellCheckerLanguage *l; + const PlumaSpellCheckerLanguage *l; gint i = 0; const gchar * const *lang_tags = g_get_language_names (); while (lang_tags [i]) { - l = gedit_spell_checker_language_from_key (lang_tags [i]); + l = pluma_spell_checker_language_from_key (lang_tags [i]); if (l != NULL) { @@ -252,22 +252,22 @@ lazy_init (GeditSpellChecker *spell, /* Second try to get a default language */ if (spell->active_lang == NULL) - spell->active_lang = gedit_spell_checker_language_from_key ("en_US"); + spell->active_lang = pluma_spell_checker_language_from_key ("en_US"); /* Last try to get a default language */ if (spell->active_lang == NULL) { const GSList *langs; - langs = gedit_spell_checker_get_available_languages (); + langs = pluma_spell_checker_get_available_languages (); if (langs != NULL) - spell->active_lang = (const GeditSpellCheckerLanguage *)langs->data; + spell->active_lang = (const PlumaSpellCheckerLanguage *)langs->data; } if (spell->active_lang != NULL) { const gchar *key; - key = gedit_spell_checker_language_to_key (spell->active_lang); + key = pluma_spell_checker_language_to_key (spell->active_lang); spell->dict = enchant_broker_request_dict (spell->broker, key); @@ -287,12 +287,12 @@ lazy_init (GeditSpellChecker *spell, } gboolean -gedit_spell_checker_set_language (GeditSpellChecker *spell, - const GeditSpellCheckerLanguage *language) +pluma_spell_checker_set_language (PlumaSpellChecker *spell, + const PlumaSpellCheckerLanguage *language) { gboolean ret; - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); if (spell->dict != NULL) { @@ -306,15 +306,15 @@ gedit_spell_checker_set_language (GeditSpellChecker *spell, g_signal_emit (G_OBJECT (spell), signals[SET_LANGUAGE], 0, language); else g_warning ("Spell checker plugin: cannot use language %s.", - gedit_spell_checker_language_to_string (language)); + pluma_spell_checker_language_to_string (language)); return ret; } -const GeditSpellCheckerLanguage * -gedit_spell_checker_get_language (GeditSpellChecker *spell) +const PlumaSpellCheckerLanguage * +pluma_spell_checker_get_language (PlumaSpellChecker *spell) { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), NULL); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), NULL); if (!lazy_init (spell, spell->active_lang)) return NULL; @@ -323,14 +323,14 @@ gedit_spell_checker_get_language (GeditSpellChecker *spell) } gboolean -gedit_spell_checker_check_word (GeditSpellChecker *spell, +pluma_spell_checker_check_word (PlumaSpellChecker *spell, const gchar *word, gssize len) { gint enchant_result; gboolean res = FALSE; - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); g_return_val_if_fail (word != NULL, FALSE); if (!lazy_init (spell, spell->active_lang)) @@ -339,10 +339,10 @@ gedit_spell_checker_check_word (GeditSpellChecker *spell, if (len < 0) len = strlen (word); - if (strcmp (word, "gedit") == 0) + if (strcmp (word, "pluma") == 0) return TRUE; - if (gedit_spell_utils_is_digit (word, len)) + if (pluma_spell_utils_is_digit (word, len)) return TRUE; g_return_val_if_fail (spell->dict != NULL, FALSE); @@ -376,7 +376,7 @@ gedit_spell_checker_check_word (GeditSpellChecker *spell, /* return NULL on error or if no suggestions are found */ GSList * -gedit_spell_checker_get_suggestions (GeditSpellChecker *spell, +pluma_spell_checker_get_suggestions (PlumaSpellChecker *spell, const gchar *word, gssize len) { @@ -385,7 +385,7 @@ gedit_spell_checker_get_suggestions (GeditSpellChecker *spell, GSList *suggestions_list = NULL; gint i; - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), NULL); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), NULL); g_return_val_if_fail (word != NULL, NULL); if (!lazy_init (spell, spell->active_lang)) @@ -418,11 +418,11 @@ gedit_spell_checker_get_suggestions (GeditSpellChecker *spell, } gboolean -gedit_spell_checker_add_word_to_personal (GeditSpellChecker *spell, +pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell, const gchar *word, gssize len) { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); g_return_val_if_fail (word != NULL, FALSE); if (!lazy_init (spell, spell->active_lang)) @@ -441,11 +441,11 @@ gedit_spell_checker_add_word_to_personal (GeditSpellChecker *spell, } gboolean -gedit_spell_checker_add_word_to_session (GeditSpellChecker *spell, +pluma_spell_checker_add_word_to_session (PlumaSpellChecker *spell, const gchar *word, gssize len) { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); g_return_val_if_fail (word != NULL, FALSE); if (!lazy_init (spell, spell->active_lang)) @@ -464,9 +464,9 @@ gedit_spell_checker_add_word_to_session (GeditSpellChecker *spell, } gboolean -gedit_spell_checker_clear_session (GeditSpellChecker *spell) +pluma_spell_checker_clear_session (PlumaSpellChecker *spell) { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); /* free and re-request dictionary */ if (spell->dict != NULL) @@ -488,13 +488,13 @@ gedit_spell_checker_clear_session (GeditSpellChecker *spell) * 'replacement' */ gboolean -gedit_spell_checker_set_correction (GeditSpellChecker *spell, +pluma_spell_checker_set_correction (PlumaSpellChecker *spell, const gchar *word, gssize w_len, const gchar *replacement, gssize r_len) { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (spell), FALSE); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (spell), FALSE); g_return_val_if_fail (word != NULL, FALSE); g_return_val_if_fail (replacement != NULL, FALSE); diff --git a/plugins/spell/pluma-spell-checker.h b/plugins/spell/pluma-spell-checker.h new file mode 100755 index 0000000..ed8c175 --- /dev/null +++ b/plugins/spell/pluma-spell-checker.h @@ -0,0 +1,109 @@ +/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-spell-checker.h + * This file is part of pluma + * + * Copyright (C) 2002-2006 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef __PLUMA_SPELL_CHECKER_H__ +#define __PLUMA_SPELL_CHECKER_H__ + +#include +#include + +#include "pluma-spell-checker-language.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_SPELL_CHECKER (pluma_spell_checker_get_type ()) +#define PLUMA_SPELL_CHECKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_SPELL_CHECKER, PlumaSpellChecker)) +#define PLUMA_SPELL_CHECKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_SPELL_CHECKER, PlumaSpellChecker)) +#define PLUMA_IS_SPELL_CHECKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_SPELL_CHECKER)) +#define PLUMA_IS_SPELL_CHECKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_SPELL_CHECKER)) +#define PLUMA_SPELL_CHECKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_SPELL_CHECKER, PlumaSpellChecker)) + +typedef struct _PlumaSpellChecker PlumaSpellChecker; + +typedef struct _PlumaSpellCheckerClass PlumaSpellCheckerClass; + +struct _PlumaSpellCheckerClass +{ + GObjectClass parent_class; + + /* Signals */ + void (*add_word_to_personal) (PlumaSpellChecker *spell, + const gchar *word, + gint len); + + void (*add_word_to_session) (PlumaSpellChecker *spell, + const gchar *word, + gint len); + + void (*set_language) (PlumaSpellChecker *spell, + const PlumaSpellCheckerLanguage *lang); + + void (*clear_session) (PlumaSpellChecker *spell); +}; + + +GType pluma_spell_checker_get_type (void) G_GNUC_CONST; + +/* Constructors */ +PlumaSpellChecker *pluma_spell_checker_new (void); + +gboolean pluma_spell_checker_set_language (PlumaSpellChecker *spell, + const PlumaSpellCheckerLanguage *lang); +const PlumaSpellCheckerLanguage + *pluma_spell_checker_get_language (PlumaSpellChecker *spell); + +gboolean pluma_spell_checker_check_word (PlumaSpellChecker *spell, + const gchar *word, + gssize len); + +GSList *pluma_spell_checker_get_suggestions (PlumaSpellChecker *spell, + const gchar *word, + gssize len); + +gboolean pluma_spell_checker_add_word_to_personal + (PlumaSpellChecker *spell, + const gchar *word, + gssize len); + +gboolean pluma_spell_checker_add_word_to_session + (PlumaSpellChecker *spell, + const gchar *word, + gssize len); + +gboolean pluma_spell_checker_clear_session (PlumaSpellChecker *spell); + +gboolean pluma_spell_checker_set_correction (PlumaSpellChecker *spell, + const gchar *word, + gssize w_len, + const gchar *replacement, + gssize r_len); +G_END_DECLS + +#endif /* __PLUMA_SPELL_CHECKER_H__ */ + diff --git a/plugins/spell/gedit-spell-language-dialog.c b/plugins/spell/pluma-spell-language-dialog.c similarity index 82% rename from plugins/spell/gedit-spell-language-dialog.c rename to plugins/spell/pluma-spell-language-dialog.c index 1abba17..22a1437 100755 --- a/plugins/spell/gedit-spell-language-dialog.c +++ b/plugins/spell/pluma-spell-language-dialog.c @@ -1,7 +1,7 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-spell-language-dialog.c - * This file is part of gedit + * pluma-spell-language-dialog.c + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -33,10 +33,10 @@ #include #include -#include -#include -#include "gedit-spell-language-dialog.h" -#include "gedit-spell-checker-language.h" +#include +#include +#include "pluma-spell-language-dialog.h" +#include "pluma-spell-checker-language.h" enum @@ -47,7 +47,7 @@ enum }; -struct _GeditSpellLanguageDialog +struct _PlumaSpellLanguageDialog { GtkDialog dialog; @@ -55,11 +55,11 @@ struct _GeditSpellLanguageDialog GtkTreeModel *model; }; -G_DEFINE_TYPE(GeditSpellLanguageDialog, gedit_spell_language_dialog, GTK_TYPE_DIALOG) +G_DEFINE_TYPE(PlumaSpellLanguageDialog, pluma_spell_language_dialog, GTK_TYPE_DIALOG) static void -gedit_spell_language_dialog_class_init (GeditSpellLanguageDialogClass *klass) +pluma_spell_language_dialog_class_init (PlumaSpellLanguageDialogClass *klass) { /* GObjectClass *object_class = G_OBJECT_CLASS (klass); */ } @@ -70,9 +70,9 @@ dialog_response_handler (GtkDialog *dlg, { if (res_id == GTK_RESPONSE_HELP) { - gedit_help_display (GTK_WINDOW (dlg), + pluma_help_display (GTK_WINDOW (dlg), NULL, - "gedit-spell-checker-plugin"); + "pluma-spell-checker-plugin"); g_signal_stop_emission_by_name (dlg, "response"); } @@ -109,13 +109,13 @@ static void language_row_activated (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, - GeditSpellLanguageDialog *dialog) + PlumaSpellLanguageDialog *dialog) { gtk_dialog_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); } static void -create_dialog (GeditSpellLanguageDialog *dlg, +create_dialog (PlumaSpellLanguageDialog *dlg, const gchar *data_dir) { GtkWidget *error_widget; @@ -158,7 +158,7 @@ create_dialog (GeditSpellLanguageDialog *dlg, NULL); ui_file = g_build_filename (data_dir, "languages-dialog.ui", NULL); - ret = gedit_utils_get_ui_objects (ui_file, + ret = pluma_utils_get_ui_objects (ui_file, root_objects, &error_widget, "content", &content, @@ -216,14 +216,14 @@ create_dialog (GeditSpellLanguageDialog *dlg, } static void -gedit_spell_language_dialog_init (GeditSpellLanguageDialog *dlg) +pluma_spell_language_dialog_init (PlumaSpellLanguageDialog *dlg) { } static void -populate_language_list (GeditSpellLanguageDialog *dlg, - const GeditSpellCheckerLanguage *cur_lang) +populate_language_list (PlumaSpellLanguageDialog *dlg, + const PlumaSpellCheckerLanguage *cur_lang) { GtkListStore *store; GtkTreeIter iter; @@ -233,13 +233,13 @@ populate_language_list (GeditSpellLanguageDialog *dlg, /* create list store */ store = GTK_LIST_STORE (dlg->model); - langs = gedit_spell_checker_get_available_languages (); + langs = pluma_spell_checker_get_available_languages (); while (langs) { const gchar *name; - name = gedit_spell_checker_language_to_string ((const GeditSpellCheckerLanguage*)langs->data); + name = pluma_spell_checker_language_to_string ((const PlumaSpellCheckerLanguage*)langs->data); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, @@ -262,15 +262,15 @@ populate_language_list (GeditSpellLanguageDialog *dlg, } GtkWidget * -gedit_spell_language_dialog_new (GtkWindow *parent, - const GeditSpellCheckerLanguage *cur_lang, +pluma_spell_language_dialog_new (GtkWindow *parent, + const PlumaSpellCheckerLanguage *cur_lang, const gchar *data_dir) { - GeditSpellLanguageDialog *dlg; + PlumaSpellLanguageDialog *dlg; g_return_val_if_fail (GTK_IS_WINDOW (parent), NULL); - dlg = g_object_new (GEDIT_TYPE_SPELL_LANGUAGE_DIALOG, NULL); + dlg = g_object_new (PLUMA_TYPE_SPELL_LANGUAGE_DIALOG, NULL); create_dialog (dlg, data_dir); @@ -282,11 +282,11 @@ gedit_spell_language_dialog_new (GtkWindow *parent, return GTK_WIDGET (dlg); } -const GeditSpellCheckerLanguage * -gedit_spell_language_get_selected_language (GeditSpellLanguageDialog *dlg) +const PlumaSpellCheckerLanguage * +pluma_spell_language_get_selected_language (PlumaSpellLanguageDialog *dlg) { GValue value = {0, }; - const GeditSpellCheckerLanguage* lang; + const PlumaSpellCheckerLanguage* lang; GtkTreeIter iter; GtkTreeSelection *selection; @@ -302,7 +302,7 @@ gedit_spell_language_get_selected_language (GeditSpellLanguageDialog *dlg) COLUMN_LANGUAGE_POINTER, &value); - lang = (const GeditSpellCheckerLanguage* ) g_value_get_pointer (&value); + lang = (const PlumaSpellCheckerLanguage* ) g_value_get_pointer (&value); return lang; } diff --git a/plugins/spell/pluma-spell-language-dialog.h b/plugins/spell/pluma-spell-language-dialog.h new file mode 100755 index 0000000..3fc32a0 --- /dev/null +++ b/plugins/spell/pluma-spell-language-dialog.h @@ -0,0 +1,67 @@ +/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-spell-language-dialog.h + * This file is part of pluma + * + * Copyright (C) 2002 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef __PLUMA_SPELL_LANGUAGE_DIALOG_H__ +#define __PLUMA_SPELL_LANGUAGE_DIALOG_H__ + +#include +#include "pluma-spell-checker-language.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_SPELL_LANGUAGE_DIALOG (pluma_spell_language_dialog_get_type()) +#define PLUMA_SPELL_LANGUAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_SPELL_LANGUAGE_DIALOG, PlumaSpellLanguageDialog)) +#define PLUMA_SPELL_LANGUAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_SPELL_LANGUAGE_DIALOG, PlumaSpellLanguageDialogClass)) +#define PLUMA_IS_SPELL_LANGUAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_SPELL_LANGUAGE_DIALOG)) +#define PLUMA_IS_SPELL_LANGUAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_SPELL_LANGUAGE_DIALOG)) +#define PLUMA_SPELL_LANGUAGE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_SPELL_LANGUAGE_DIALOG, PlumaSpellLanguageDialogClass)) + + +typedef struct _PlumaSpellLanguageDialog PlumaSpellLanguageDialog; + +typedef struct _PlumaSpellLanguageDialogClass PlumaSpellLanguageDialogClass; + +struct _PlumaSpellLanguageDialogClass +{ + GtkDialogClass parent_class; +}; + +GType pluma_spell_language_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_spell_language_dialog_new (GtkWindow *parent, + const PlumaSpellCheckerLanguage *cur_lang, + const gchar *data_dir); + +const PlumaSpellCheckerLanguage * + pluma_spell_language_get_selected_language (PlumaSpellLanguageDialog *dlg); + +G_END_DECLS + +#endif /* __PLUMA_SPELL_LANGUAGE_DIALOG_H__ */ + diff --git a/plugins/spell/gedit-spell-marshal.list b/plugins/spell/pluma-spell-marshal.list similarity index 100% rename from plugins/spell/gedit-spell-marshal.list rename to plugins/spell/pluma-spell-marshal.list diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/pluma-spell-plugin.c similarity index 70% rename from plugins/spell/gedit-spell-plugin.c rename to plugins/spell/pluma-spell-plugin.c index 6ef78e7..e7dab44 100755 --- a/plugins/spell/gedit-spell-plugin.c +++ b/plugins/spell/pluma-spell-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-spell-plugin.c + * pluma-spell-plugin.c * * Copyright (C) 2002-2005 Paolo Maggi * @@ -24,40 +24,40 @@ #include #endif -#include "gedit-spell-plugin.h" -#include "gedit-spell-utils.h" +#include "pluma-spell-plugin.h" +#include "pluma-spell-utils.h" #include /* For strlen */ #include #include -#include -#include -#include +#include +#include +#include -#include "gedit-spell-checker.h" -#include "gedit-spell-checker-dialog.h" -#include "gedit-spell-language-dialog.h" -#include "gedit-automatic-spell-checker.h" +#include "pluma-spell-checker.h" +#include "pluma-spell-checker-dialog.h" +#include "pluma-spell-language-dialog.h" +#include "pluma-automatic-spell-checker.h" #ifdef G_OS_WIN32 -#include -#define GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE "spell-language" -#define GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED "spell-enabled" +#include +#define PLUMA_METADATA_ATTRIBUTE_SPELL_LANGUAGE "spell-language" +#define PLUMA_METADATA_ATTRIBUTE_SPELL_ENABLED "spell-enabled" #else -#define GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE "metadata::gedit-spell-language" -#define GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED "metadata::gedit-spell-enabled" +#define PLUMA_METADATA_ATTRIBUTE_SPELL_LANGUAGE "metadata::pluma-spell-language" +#define PLUMA_METADATA_ATTRIBUTE_SPELL_ENABLED "metadata::pluma-spell-enabled" #endif -#define WINDOW_DATA_KEY "GeditSpellPluginWindowData" +#define WINDOW_DATA_KEY "PlumaSpellPluginWindowData" #define MENU_PATH "/MenuBar/ToolsMenu/ToolsOps_1" -#define GEDIT_SPELL_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_SPELL_PLUGIN, \ - GeditSpellPluginPrivate)) +#define PLUMA_SPELL_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_SPELL_PLUGIN, \ + PlumaSpellPluginPrivate)) -GEDIT_PLUGIN_REGISTER_TYPE(GeditSpellPlugin, gedit_spell_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaSpellPlugin, pluma_spell_plugin) typedef struct { @@ -70,13 +70,13 @@ typedef struct typedef struct { - GeditPlugin *plugin; - GeditWindow *window; + PlumaPlugin *plugin; + PlumaWindow *window; } ActionData; static void spell_cb (GtkAction *action, ActionData *action_data); static void set_language_cb (GtkAction *action, ActionData *action_data); -static void auto_spell_cb (GtkAction *action, GeditWindow *window); +static void auto_spell_cb (GtkAction *action, PlumaWindow *window); /* UI actions. */ static const GtkActionEntry action_entries[] = @@ -127,66 +127,66 @@ static GQuark spell_checker_id = 0; static GQuark check_range_id = 0; static void -gedit_spell_plugin_init (GeditSpellPlugin *plugin) +pluma_spell_plugin_init (PlumaSpellPlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditSpellPlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaSpellPlugin initializing"); } static void -gedit_spell_plugin_finalize (GObject *object) +pluma_spell_plugin_finalize (GObject *object) { - gedit_debug_message (DEBUG_PLUGINS, "GeditSpellPlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaSpellPlugin finalizing"); - G_OBJECT_CLASS (gedit_spell_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_spell_plugin_parent_class)->finalize (object); } static void -set_spell_language_cb (GeditSpellChecker *spell, - const GeditSpellCheckerLanguage *lang, - GeditDocument *doc) +set_spell_language_cb (PlumaSpellChecker *spell, + const PlumaSpellCheckerLanguage *lang, + PlumaDocument *doc) { const gchar *key; - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (lang != NULL); - key = gedit_spell_checker_language_to_key (lang); + key = pluma_spell_checker_language_to_key (lang); g_return_if_fail (key != NULL); - gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE, + pluma_document_set_metadata (doc, PLUMA_METADATA_ATTRIBUTE_SPELL_LANGUAGE, key, NULL); } static void -set_language_from_metadata (GeditSpellChecker *spell, - GeditDocument *doc) +set_language_from_metadata (PlumaSpellChecker *spell, + PlumaDocument *doc) { - const GeditSpellCheckerLanguage *lang = NULL; + const PlumaSpellCheckerLanguage *lang = NULL; gchar *value = NULL; - value = gedit_document_get_metadata (doc, GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE); + value = pluma_document_get_metadata (doc, PLUMA_METADATA_ATTRIBUTE_SPELL_LANGUAGE); if (value != NULL) { - lang = gedit_spell_checker_language_from_key (value); + lang = pluma_spell_checker_language_from_key (value); g_free (value); } if (lang != NULL) { g_signal_handlers_block_by_func (spell, set_spell_language_cb, doc); - gedit_spell_checker_set_language (spell, lang); + pluma_spell_checker_set_language (spell, lang); g_signal_handlers_unblock_by_func (spell, set_spell_language_cb, doc); } } -static GeditSpellChecker * -get_spell_checker_from_document (GeditDocument *doc) +static PlumaSpellChecker * +get_spell_checker_from_document (PlumaDocument *doc) { - GeditSpellChecker *spell; + PlumaSpellChecker *spell; gpointer data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (doc != NULL, NULL); @@ -194,7 +194,7 @@ get_spell_checker_from_document (GeditDocument *doc) if (data == NULL) { - spell = gedit_spell_checker_new (); + spell = pluma_spell_checker_new (); set_language_from_metadata (spell, doc); @@ -210,19 +210,19 @@ get_spell_checker_from_document (GeditDocument *doc) } else { - g_return_val_if_fail (GEDIT_IS_SPELL_CHECKER (data), NULL); - spell = GEDIT_SPELL_CHECKER (data); + g_return_val_if_fail (PLUMA_IS_SPELL_CHECKER (data), NULL); + spell = PLUMA_SPELL_CHECKER (data); } return spell; } static CheckRange * -get_check_range (GeditDocument *doc) +get_check_range (PlumaDocument *doc) { CheckRange *range; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (doc != NULL, NULL); @@ -232,14 +232,14 @@ get_check_range (GeditDocument *doc) } static void -update_current (GeditDocument *doc, +update_current (PlumaDocument *doc, gint current) { CheckRange *range; GtkTextIter iter; GtkTextIter end_iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (doc != NULL); g_return_if_fail (current >= 0); @@ -286,20 +286,20 @@ update_current (GeditDocument *doc, } static void -set_check_range (GeditDocument *doc, +set_check_range (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end) { CheckRange *range; GtkTextIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); range = get_check_range (doc); if (range == NULL) { - gedit_debug_message (DEBUG_PLUGINS, "There was not a previous check range"); + pluma_debug_message (DEBUG_PLUGINS, "There was not a previous check range"); gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (doc), &iter); @@ -320,7 +320,7 @@ set_check_range (GeditDocument *doc, (GDestroyNotify)g_free); } - if (gedit_spell_utils_skip_no_spell_check (start, end)) + if (pluma_spell_utils_skip_no_spell_check (start, end)) { if (!gtk_text_iter_inside_word (end)) { @@ -359,14 +359,14 @@ set_check_range (GeditDocument *doc, } static gchar * -get_current_word (GeditDocument *doc, gint *start, gint *end) +get_current_word (PlumaDocument *doc, gint *start, gint *end) { const CheckRange *range; GtkTextIter end_iter; GtkTextIter current_iter; gint range_end; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (doc != NULL, NULL); g_return_val_if_fail (start != NULL, NULL); @@ -387,7 +387,7 @@ get_current_word (GeditDocument *doc, gint *start, gint *end) if (!gtk_text_iter_is_end (&end_iter)) { - gedit_debug_message (DEBUG_PLUGINS, "Current is not end"); + pluma_debug_message (DEBUG_PLUGINS, "Current is not end"); gtk_text_iter_forward_word_end (&end_iter); } @@ -395,7 +395,7 @@ get_current_word (GeditDocument *doc, gint *start, gint *end) *start = gtk_text_iter_get_offset (¤t_iter); *end = MIN (gtk_text_iter_get_offset (&end_iter), range_end); - gedit_debug_message (DEBUG_PLUGINS, "Current word extends [%d, %d]", *start, *end); + pluma_debug_message (DEBUG_PLUGINS, "Current word extends [%d, %d]", *start, *end); if (!(*start < *end)) return NULL; @@ -407,14 +407,14 @@ get_current_word (GeditDocument *doc, gint *start, gint *end) } static gboolean -goto_next_word (GeditDocument *doc) +goto_next_word (PlumaDocument *doc) { CheckRange *range; GtkTextIter current_iter; GtkTextIter old_current_iter; GtkTextIter end_iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (doc != NULL, FALSE); @@ -431,7 +431,7 @@ goto_next_word (GeditDocument *doc) gtk_text_iter_forward_word_ends (¤t_iter, 2); gtk_text_iter_backward_word_start (¤t_iter); - if (gedit_spell_utils_skip_no_spell_check (¤t_iter, &end_iter) && + if (pluma_spell_utils_skip_no_spell_check (¤t_iter, &end_iter) && (gtk_text_iter_compare (&old_current_iter, ¤t_iter) < 0) && (gtk_text_iter_compare (¤t_iter, &end_iter) < 0)) { @@ -443,17 +443,17 @@ goto_next_word (GeditDocument *doc) } static gchar * -get_next_misspelled_word (GeditView *view) +get_next_misspelled_word (PlumaView *view) { - GeditDocument *doc; + PlumaDocument *doc; CheckRange *range; gint start, end; gchar *word; - GeditSpellChecker *spell; + PlumaSpellChecker *spell; g_return_val_if_fail (view != NULL, NULL); - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); g_return_val_if_fail (doc != NULL, NULL); range = get_check_range (doc); @@ -466,9 +466,9 @@ get_next_misspelled_word (GeditView *view) if (word == NULL) return NULL; - gedit_debug_message (DEBUG_PLUGINS, "Word to check: %s", word); + pluma_debug_message (DEBUG_PLUGINS, "Word to check: %s", word); - while (gedit_spell_checker_check_word (spell, word, -1)) + while (pluma_spell_checker_check_word (spell, word, -1)) { g_free (word); @@ -480,7 +480,7 @@ get_next_misspelled_word (GeditView *view) if (word == NULL) return NULL; - gedit_debug_message (DEBUG_PLUGINS, "Word to check: %s", word); + pluma_debug_message (DEBUG_PLUGINS, "Word to check: %s", word); } if (!goto_next_word (doc)) @@ -493,14 +493,14 @@ get_next_misspelled_word (GeditView *view) range->mw_start = start; range->mw_end = end; - gedit_debug_message (DEBUG_PLUGINS, "Select [%d, %d]", start, end); + pluma_debug_message (DEBUG_PLUGINS, "Select [%d, %d]", start, end); gtk_text_buffer_get_iter_at_offset (GTK_TEXT_BUFFER (doc), &s, start); gtk_text_buffer_get_iter_at_offset (GTK_TEXT_BUFFER (doc), &e, end); gtk_text_buffer_select_range (GTK_TEXT_BUFFER (doc), &s, &e); - gedit_view_scroll_to_cursor (view); + pluma_view_scroll_to_cursor (view); } else { @@ -512,13 +512,13 @@ get_next_misspelled_word (GeditView *view) } static void -ignore_cb (GeditSpellCheckerDialog *dlg, +ignore_cb (PlumaSpellCheckerDialog *dlg, const gchar *w, - GeditView *view) + PlumaView *view) { gchar *word = NULL; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (w != NULL); g_return_if_fail (view != NULL); @@ -526,12 +526,12 @@ ignore_cb (GeditSpellCheckerDialog *dlg, word = get_next_misspelled_word (view); if (word == NULL) { - gedit_spell_checker_dialog_set_completed (dlg); + pluma_spell_checker_dialog_set_completed (dlg); return; } - gedit_spell_checker_dialog_set_misspelled_word (GEDIT_SPELL_CHECKER_DIALOG (dlg), + pluma_spell_checker_dialog_set_misspelled_word (PLUMA_SPELL_CHECKER_DIALOG (dlg), word, -1); @@ -539,23 +539,23 @@ ignore_cb (GeditSpellCheckerDialog *dlg, } static void -change_cb (GeditSpellCheckerDialog *dlg, +change_cb (PlumaSpellCheckerDialog *dlg, const gchar *word, const gchar *change, - GeditView *view) + PlumaView *view) { - GeditDocument *doc; + PlumaDocument *doc; CheckRange *range; gchar *w = NULL; GtkTextIter start, end; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (view != NULL); g_return_if_fail (word != NULL); g_return_if_fail (change != NULL); - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); g_return_if_fail (doc != NULL); range = get_check_range (doc); @@ -592,24 +592,24 @@ change_cb (GeditSpellCheckerDialog *dlg, } static void -change_all_cb (GeditSpellCheckerDialog *dlg, +change_all_cb (PlumaSpellCheckerDialog *dlg, const gchar *word, const gchar *change, - GeditView *view) + PlumaView *view) { - GeditDocument *doc; + PlumaDocument *doc; CheckRange *range; gchar *w = NULL; GtkTextIter start, end; gint flags = 0; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (view != NULL); g_return_if_fail (word != NULL); g_return_if_fail (change != NULL); - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); g_return_if_fail (doc != NULL); range = get_check_range (doc); @@ -632,11 +632,11 @@ change_all_cb (GeditSpellCheckerDialog *dlg, g_free (w); - GEDIT_SEARCH_SET_CASE_SENSITIVE (flags, TRUE); - GEDIT_SEARCH_SET_ENTIRE_WORD (flags, TRUE); + PLUMA_SEARCH_SET_CASE_SENSITIVE (flags, TRUE); + PLUMA_SEARCH_SET_ENTIRE_WORD (flags, TRUE); /* CHECK: currently this function does escaping etc */ - gedit_document_replace_all (doc, word, change, flags); + pluma_document_replace_all (doc, word, change, flags); update_current (doc, range->mw_start + g_utf8_strlen (change, -1)); @@ -645,9 +645,9 @@ change_all_cb (GeditSpellCheckerDialog *dlg, } static void -add_word_cb (GeditSpellCheckerDialog *dlg, +add_word_cb (PlumaSpellCheckerDialog *dlg, const gchar *word, - GeditView *view) + PlumaView *view) { g_return_if_fail (view != NULL); g_return_if_fail (word != NULL); @@ -659,15 +659,15 @@ add_word_cb (GeditSpellCheckerDialog *dlg, static void language_dialog_response (GtkDialog *dlg, gint res_id, - GeditSpellChecker *spell) + PlumaSpellChecker *spell) { if (res_id == GTK_RESPONSE_OK) { - const GeditSpellCheckerLanguage *lang; + const PlumaSpellCheckerLanguage *lang; - lang = gedit_spell_language_get_selected_language (GEDIT_SPELL_LANGUAGE_DIALOG (dlg)); + lang = pluma_spell_language_get_selected_language (PLUMA_SPELL_LANGUAGE_DIALOG (dlg)); if (lang != NULL) - gedit_spell_checker_set_language (spell, lang); + pluma_spell_checker_set_language (spell, lang); } gtk_widget_destroy (GTK_WIDGET (dlg)); @@ -677,30 +677,30 @@ static void set_language_cb (GtkAction *action, ActionData *action_data) { - GeditDocument *doc; - GeditSpellChecker *spell; - const GeditSpellCheckerLanguage *lang; + PlumaDocument *doc; + PlumaSpellChecker *spell; + const PlumaSpellCheckerLanguage *lang; GtkWidget *dlg; GtkWindowGroup *wg; gchar *data_dir; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - doc = gedit_window_get_active_document (action_data->window); + doc = pluma_window_get_active_document (action_data->window); g_return_if_fail (doc != NULL); spell = get_spell_checker_from_document (doc); g_return_if_fail (spell != NULL); - lang = gedit_spell_checker_get_language (spell); + lang = pluma_spell_checker_get_language (spell); - data_dir = gedit_plugin_get_data_dir (action_data->plugin); - dlg = gedit_spell_language_dialog_new (GTK_WINDOW (action_data->window), + data_dir = pluma_plugin_get_data_dir (action_data->plugin); + dlg = pluma_spell_language_dialog_new (GTK_WINDOW (action_data->window), lang, data_dir); g_free (data_dir); - wg = gedit_window_get_group (action_data->window); + wg = pluma_window_get_group (action_data->window); gtk_window_group_add_window (wg, GTK_WINDOW (dlg)); @@ -718,20 +718,20 @@ static void spell_cb (GtkAction *action, ActionData *action_data) { - GeditView *view; - GeditDocument *doc; - GeditSpellChecker *spell; + PlumaView *view; + PlumaDocument *doc; + PlumaSpellChecker *spell; GtkWidget *dlg; GtkTextIter start, end; gchar *word; gchar *data_dir; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = gedit_window_get_active_view (action_data->window); + view = pluma_window_get_active_view (action_data->window); g_return_if_fail (view != NULL); - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); g_return_if_fail (doc != NULL); spell = get_spell_checker_from_document (doc); @@ -746,8 +746,8 @@ spell_cb (GtkAction *action, WINDOW_DATA_KEY); g_return_if_fail (data != NULL); - statusbar = gedit_window_get_statusbar (action_data->window); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (statusbar), + statusbar = pluma_window_get_statusbar (action_data->window); + pluma_statusbar_flash_message (PLUMA_STATUSBAR (statusbar), data->message_cid, _("The document is empty.")); @@ -776,16 +776,16 @@ spell_cb (GtkAction *action, WINDOW_DATA_KEY); g_return_if_fail (data != NULL); - statusbar = gedit_window_get_statusbar (action_data->window); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (statusbar), + statusbar = pluma_window_get_statusbar (action_data->window); + pluma_statusbar_flash_message (PLUMA_STATUSBAR (statusbar), data->message_cid, _("No misspelled words")); return; } - data_dir = gedit_plugin_get_data_dir (action_data->plugin); - dlg = gedit_spell_checker_dialog_new_from_spell_checker (spell, data_dir); + data_dir = pluma_plugin_get_data_dir (action_data->plugin); + dlg = pluma_spell_checker_dialog_new_from_spell_checker (spell, data_dir); g_free (data_dir); gtk_window_set_modal (GTK_WINDOW (dlg), TRUE); gtk_window_set_transient_for (GTK_WINDOW (dlg), @@ -799,7 +799,7 @@ spell_cb (GtkAction *action, g_signal_connect (dlg, "add_word_to_personal", G_CALLBACK (add_word_cb), view); - gedit_spell_checker_dialog_set_misspelled_word (GEDIT_SPELL_CHECKER_DIALOG (dlg), + pluma_spell_checker_dialog_set_misspelled_word (PLUMA_SPELL_CHECKER_DIALOG (dlg), word, -1); @@ -809,59 +809,59 @@ spell_cb (GtkAction *action, } static void -set_auto_spell (GeditWindow *window, - GeditDocument *doc, +set_auto_spell (PlumaWindow *window, + PlumaDocument *doc, gboolean active) { - GeditAutomaticSpellChecker *autospell; - GeditSpellChecker *spell; + PlumaAutomaticSpellChecker *autospell; + PlumaSpellChecker *spell; spell = get_spell_checker_from_document (doc); g_return_if_fail (spell != NULL); - autospell = gedit_automatic_spell_checker_get_from_document (doc); + autospell = pluma_automatic_spell_checker_get_from_document (doc); if (active) { if (autospell == NULL) { - GeditView *active_view; + PlumaView *active_view; - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view != NULL); - autospell = gedit_automatic_spell_checker_new (doc, spell); - gedit_automatic_spell_checker_attach_view (autospell, active_view); - gedit_automatic_spell_checker_recheck_all (autospell); + autospell = pluma_automatic_spell_checker_new (doc, spell); + pluma_automatic_spell_checker_attach_view (autospell, active_view); + pluma_automatic_spell_checker_recheck_all (autospell); } } else { if (autospell != NULL) - gedit_automatic_spell_checker_free (autospell); + pluma_automatic_spell_checker_free (autospell); } } static void auto_spell_cb (GtkAction *action, - GeditWindow *window) + PlumaWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; gboolean active; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); - gedit_debug_message (DEBUG_PLUGINS, active ? "Auto Spell activated" : "Auto Spell deactivated"); + pluma_debug_message (DEBUG_PLUGINS, active ? "Auto Spell activated" : "Auto Spell deactivated"); - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); if (doc == NULL) return; - gedit_document_set_metadata (doc, - GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED, + pluma_document_set_metadata (doc, + PLUMA_METADATA_ATTRIBUTE_SPELL_ENABLED, active ? "1" : NULL, NULL); set_auto_spell (window, doc, active); @@ -885,33 +885,33 @@ free_action_data (gpointer data) } static void -update_ui_real (GeditWindow *window, +update_ui_real (PlumaWindow *window, WindowData *data) { - GeditDocument *doc; - GeditView *view; + PlumaDocument *doc; + PlumaView *view; gboolean autospell; GtkAction *action; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - doc = gedit_window_get_active_document (window); - view = gedit_window_get_active_view (window); + doc = pluma_window_get_active_document (window); + view = pluma_window_get_active_view (window); autospell = (doc != NULL && - gedit_automatic_spell_checker_get_from_document (doc) != NULL); + pluma_automatic_spell_checker_get_from_document (doc) != NULL); if (doc != NULL) { - GeditTab *tab; - GeditTabState state; + PlumaTab *tab; + PlumaTabState state; - tab = gedit_window_get_active_tab (window); - state = gedit_tab_get_state (tab); + tab = pluma_window_get_active_tab (window); + state = pluma_tab_get_state (tab); /* If the document is loading we can't get the metadata so we endup with an useless speller */ - if (state == GEDIT_TAB_STATE_NORMAL) + if (state == PLUMA_TAB_STATE_NORMAL) { action = gtk_action_group_get_action (data->action_group, "AutoSpell"); @@ -932,16 +932,16 @@ update_ui_real (GeditWindow *window, } static void -set_auto_spell_from_metadata (GeditWindow *window, - GeditDocument *doc, +set_auto_spell_from_metadata (PlumaWindow *window, + PlumaDocument *doc, GtkActionGroup *action_group) { gboolean active = FALSE; gchar *active_str; - GeditDocument *active_doc; + PlumaDocument *active_doc; - active_str = gedit_document_get_metadata (doc, - GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED); + active_str = pluma_document_get_metadata (doc, + PLUMA_METADATA_ATTRIBUTE_SPELL_ENABLED); if (active_str) { @@ -953,7 +953,7 @@ set_auto_spell_from_metadata (GeditWindow *window, set_auto_spell (window, doc, active); /* In case that the doc is the active one we mark the spell action */ - active_doc = gedit_window_get_active_document (window); + active_doc = pluma_window_get_active_document (window); if (active_doc == doc && action_group != NULL) { @@ -972,16 +972,16 @@ set_auto_spell_from_metadata (GeditWindow *window, } static void -on_document_loaded (GeditDocument *doc, +on_document_loaded (PlumaDocument *doc, const GError *error, - GeditWindow *window) + PlumaWindow *window) { if (error == NULL) { WindowData *data; - GeditSpellChecker *spell; + PlumaSpellChecker *spell; - spell = GEDIT_SPELL_CHECKER (g_object_get_qdata (G_OBJECT (doc), + spell = PLUMA_SPELL_CHECKER (g_object_get_qdata (G_OBJECT (doc), spell_checker_id)); if (spell != NULL) { @@ -996,12 +996,12 @@ on_document_loaded (GeditDocument *doc, } static void -on_document_saved (GeditDocument *doc, +on_document_saved (PlumaDocument *doc, const GError *error, - GeditWindow *window) + PlumaWindow *window) { - GeditAutomaticSpellChecker *autospell; - GeditSpellChecker *spell; + PlumaAutomaticSpellChecker *autospell; + PlumaSpellChecker *spell; const gchar *key; if (error != NULL) @@ -1010,36 +1010,36 @@ on_document_saved (GeditDocument *doc, } /* Make sure to save the metadata here too */ - autospell = gedit_automatic_spell_checker_get_from_document (doc); - spell = GEDIT_SPELL_CHECKER (g_object_get_qdata (G_OBJECT (doc), spell_checker_id)); + autospell = pluma_automatic_spell_checker_get_from_document (doc); + spell = PLUMA_SPELL_CHECKER (g_object_get_qdata (G_OBJECT (doc), spell_checker_id)); if (spell != NULL) { - key = gedit_spell_checker_language_to_key (gedit_spell_checker_get_language (spell)); + key = pluma_spell_checker_language_to_key (pluma_spell_checker_get_language (spell)); } else { key = NULL; } - gedit_document_set_metadata (doc, - GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED, + pluma_document_set_metadata (doc, + PLUMA_METADATA_ATTRIBUTE_SPELL_ENABLED, autospell != NULL ? "1" : NULL, - GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE, + PLUMA_METADATA_ATTRIBUTE_SPELL_LANGUAGE, key, NULL); } static void -tab_added_cb (GeditWindow *window, - GeditTab *tab, +tab_added_cb (PlumaWindow *window, + PlumaTab *tab, gpointer useless) { - GeditDocument *doc; - GeditView *view; + PlumaDocument *doc; + PlumaView *view; - doc = gedit_tab_get_document (tab); - view = gedit_tab_get_view (tab); + doc = pluma_tab_get_document (tab); + view = pluma_tab_get_view (tab); g_signal_connect (doc, "loaded", G_CALLBACK (on_document_loaded), @@ -1051,39 +1051,39 @@ tab_added_cb (GeditWindow *window, } static void -tab_removed_cb (GeditWindow *window, - GeditTab *tab, +tab_removed_cb (PlumaWindow *window, + PlumaTab *tab, gpointer useless) { - GeditDocument *doc; - GeditView *view; + PlumaDocument *doc; + PlumaView *view; - doc = gedit_tab_get_document (tab); - view = gedit_tab_get_view (tab); + doc = pluma_tab_get_document (tab); + view = pluma_tab_get_view (tab); g_signal_handlers_disconnect_by_func (doc, on_document_loaded, window); g_signal_handlers_disconnect_by_func (doc, on_document_saved, window); } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; ActionData *action_data; GList *docs, *l; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_slice_new (WindowData); action_data = g_slice_new (ActionData); action_data->plugin = plugin; action_data->window = window; - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); - data->action_group = gtk_action_group_new ("GeditSpellPluginActions"); + data->action_group = gtk_action_group_new ("PlumaSpellPluginActions"); gtk_action_group_set_translation_domain (data->action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions_full (data->action_group, @@ -1101,7 +1101,7 @@ impl_activate (GeditPlugin *plugin, data->ui_id = gtk_ui_manager_new_merge_id (manager); data->message_cid = gtk_statusbar_get_context_id - (GTK_STATUSBAR (gedit_window_get_statusbar (window)), + (GTK_STATUSBAR (pluma_window_get_statusbar (window)), "spell_plugin_message"); g_object_set_data_full (G_OBJECT (window), @@ -1135,10 +1135,10 @@ impl_activate (GeditPlugin *plugin, update_ui_real (window, data); - docs = gedit_window_get_documents (window); + docs = pluma_window_get_documents (window); for (l = docs; l != NULL; l = g_list_next (l)) { - GeditDocument *doc = GEDIT_DOCUMENT (l->data); + PlumaDocument *doc = PLUMA_DOCUMENT (l->data); set_auto_spell_from_metadata (window, doc, data->action_group); @@ -1161,15 +1161,15 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -1184,12 +1184,12 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -1198,19 +1198,19 @@ impl_update_ui (GeditPlugin *plugin, } static void -gedit_spell_plugin_class_init (GeditSpellPluginClass *klass) +pluma_spell_plugin_class_init (PlumaSpellPluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_spell_plugin_finalize; + object_class->finalize = pluma_spell_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; plugin_class->update_ui = impl_update_ui; if (spell_checker_id == 0) - spell_checker_id = g_quark_from_string ("GeditSpellCheckerID"); + spell_checker_id = g_quark_from_string ("PlumaSpellCheckerID"); if (check_range_id == 0) check_range_id = g_quark_from_string ("CheckRangeID"); diff --git a/plugins/spell/pluma-spell-plugin.h b/plugins/spell/pluma-spell-plugin.h new file mode 100755 index 0000000..44e70a6 --- /dev/null +++ b/plugins/spell/pluma-spell-plugin.h @@ -0,0 +1,75 @@ +/* + * pluma-spell-plugin.h + * + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#ifndef __PLUMA_SPELL_PLUGIN_H__ +#define __PLUMA_SPELL_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_SPELL_PLUGIN (pluma_spell_plugin_get_type ()) +#define PLUMA_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_SPELL_PLUGIN, PlumaSpellPlugin)) +#define PLUMA_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_SPELL_PLUGIN, PlumaSpellPluginClass)) +#define PLUMA_IS_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_SPELL_PLUGIN)) +#define PLUMA_IS_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_SPELL_PLUGIN)) +#define PLUMA_SPELL_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_SPELL_PLUGIN, PlumaSpellPluginClass)) + +/* Private structure type */ +typedef struct _PlumaSpellPluginPrivate PlumaSpellPluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaSpellPlugin PlumaSpellPlugin; + +struct _PlumaSpellPlugin +{ + PlumaPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _PlumaSpellPluginClass PlumaSpellPluginClass; + +struct _PlumaSpellPluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_spell_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_SPELL_PLUGIN_H__ */ diff --git a/plugins/spell/gedit-spell-utils.c b/plugins/spell/pluma-spell-utils.c similarity index 90% rename from plugins/spell/gedit-spell-utils.c rename to plugins/spell/pluma-spell-utils.c index 0782d37..504cf04 100755 --- a/plugins/spell/gedit-spell-utils.c +++ b/plugins/spell/pluma-spell-utils.c @@ -1,6 +1,6 @@ /* - * gedit-spell-utils.c - * This file is part of gedit + * pluma-spell-utils.c + * This file is part of pluma * * Copyright (C) 2010 - Jesse van den Kieboom * @@ -22,11 +22,11 @@ #include -#include "gedit-spell-utils.h" +#include "pluma-spell-utils.h" #include gboolean -gedit_spell_utils_is_digit (const char *text, gssize length) +pluma_spell_utils_is_digit (const char *text, gssize length) { gunichar c; const gchar *p; @@ -56,7 +56,7 @@ gedit_spell_utils_is_digit (const char *text, gssize length) } gboolean -gedit_spell_utils_skip_no_spell_check (GtkTextIter *start, +pluma_spell_utils_skip_no_spell_check (GtkTextIter *start, GtkTextIter *end) { GtkSourceBuffer *buffer = GTK_SOURCE_BUFFER (gtk_text_iter_get_buffer (start)); diff --git a/plugins/spell/gedit-spell-utils.h b/plugins/spell/pluma-spell-utils.h similarity index 75% rename from plugins/spell/gedit-spell-utils.h rename to plugins/spell/pluma-spell-utils.h index fbfe4b1..a9d2eaf 100755 --- a/plugins/spell/gedit-spell-utils.h +++ b/plugins/spell/pluma-spell-utils.h @@ -1,6 +1,6 @@ /* - * gedit-spell-utils.h - * This file is part of gedit + * pluma-spell-utils.h + * This file is part of pluma * * Copyright (C) 2010 - Jesse van den Kieboom * @@ -20,18 +20,18 @@ * Boston, MA 02110-1301 USA */ -#ifndef __GEDIT_SPELL_UTILS_H__ -#define __GEDIT_SPELL_UTILS_H__ +#ifndef __PLUMA_SPELL_UTILS_H__ +#define __PLUMA_SPELL_UTILS_H__ #include G_BEGIN_DECLS -gboolean gedit_spell_utils_is_digit (const char *text, gssize length); +gboolean pluma_spell_utils_is_digit (const char *text, gssize length); -gboolean gedit_spell_utils_skip_no_spell_check (GtkTextIter *start, GtkTextIter *end); +gboolean pluma_spell_utils_skip_no_spell_check (GtkTextIter *start, GtkTextIter *end); G_END_DECLS -#endif /* __GEDIT_SPELL_UTILS_H__ */ +#endif /* __PLUMA_SPELL_UTILS_H__ */ diff --git a/plugins/spell/spell.gedit-plugin.desktop.in b/plugins/spell/spell.pluma-plugin.desktop.in similarity index 82% rename from plugins/spell/spell.gedit-plugin.desktop.in rename to plugins/spell/spell.pluma-plugin.desktop.in index c75c9ee..c4400dc 100755 --- a/plugins/spell/spell.gedit-plugin.desktop.in +++ b/plugins/spell/spell.pluma-plugin.desktop.in @@ -1,4 +1,4 @@ -[Gedit Plugin] +[Pluma Plugin] Module=spell IAge=2 _Name=Spell Checker @@ -6,4 +6,4 @@ _Description=Checks the spelling of the current document. Icon=gtk-spell-check Authors=Paolo Maggi Copyright=Copyright © 2002-2005 Paolo Maggi -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/taglist/HTML.tags.xml.in b/plugins/taglist/HTML.tags.xml.in index 116cc24..5eedb25 100755 --- a/plugins/taglist/HTML.tags.xml.in +++ b/plugins/taglist/HTML.tags.xml.in @@ -1,5 +1,5 @@ - + diff --git a/plugins/taglist/Latex.tags.xml.in b/plugins/taglist/Latex.tags.xml.in index 5ac71c0..78242fe 100755 --- a/plugins/taglist/Latex.tags.xml.in +++ b/plugins/taglist/Latex.tags.xml.in @@ -1,5 +1,5 @@ - + \cite{ diff --git a/plugins/taglist/Makefile.am b/plugins/taglist/Makefile.am index b04f458..dd3306f 100755 --- a/plugins/taglist/Makefile.am +++ b/plugins/taglist/Makefile.am @@ -1,7 +1,7 @@ # Tag list plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -taglistdir = $(GEDIT_PLUGINS_DATA_DIR)/taglist +taglistdir = $(PLUMA_PLUGINS_DATA_DIR)/taglist taglist_in_files = \ HTML.tags.xml.in \ @@ -13,26 +13,26 @@ taglist_DATA = $(taglist_in_files:.tags.xml.in=.tags.gz) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) plugin_LTLIBRARIES = libtaglist.la libtaglist_la_SOURCES = \ - gedit-taglist-plugin-parser.c \ - gedit-taglist-plugin-parser.h \ - gedit-taglist-plugin-panel.c \ - gedit-taglist-plugin-panel.h \ - gedit-taglist-plugin.c \ - gedit-taglist-plugin.h + pluma-taglist-plugin-parser.c \ + pluma-taglist-plugin-parser.h \ + pluma-taglist-plugin-panel.c \ + pluma-taglist-plugin-panel.h \ + pluma-taglist-plugin.c \ + pluma-taglist-plugin.h libtaglist_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libtaglist_la_LIBADD = $(GEDIT_LIBS) +libtaglist_la_LIBADD = $(PLUMA_LIBS) -plugin_in_files = taglist.gedit-plugin.desktop.in +plugin_in_files = taglist.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache GZIP_ENV = -9 @@ -41,7 +41,7 @@ GZIP_ENV = -9 LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache GZIP=$(GZIP_ENV) gzip -f $(@:.gz=) -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = \ $(taglist_in_files) $(taglist_DATA) \ diff --git a/plugins/taglist/XSLT.tags.xml.in b/plugins/taglist/XSLT.tags.xml.in index f9591a2..e625f6c 100755 --- a/plugins/taglist/XSLT.tags.xml.in +++ b/plugins/taglist/XSLT.tags.xml.in @@ -1,9 +1,9 @@ - + <xsl:apply-imports> diff --git a/plugins/taglist/XUL.tags.xml.in b/plugins/taglist/XUL.tags.xml.in index fc4c26a..3d5d3c8 100755 --- a/plugins/taglist/XUL.tags.xml.in +++ b/plugins/taglist/XUL.tags.xml.in @@ -1,5 +1,5 @@ - + diff --git a/plugins/taglist/gedit-taglist-plugin-panel.h b/plugins/taglist/gedit-taglist-plugin-panel.h deleted file mode 100755 index 3f8e82d..0000000 --- a/plugins/taglist/gedit-taglist-plugin-panel.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * gedit-taglist-plugin-panel.h - * This file is part of gedit - * - * Copyright (C) 2005 - Paolo Maggi - * - * 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., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_TAGLIST_PLUGIN_PANEL_H__ -#define __GEDIT_TAGLIST_PLUGIN_PANEL_H__ - -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_TAGLIST_PLUGIN_PANEL (gedit_taglist_plugin_panel_get_type()) -#define GEDIT_TAGLIST_PLUGIN_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, GeditTaglistPluginPanel)) -#define GEDIT_TAGLIST_PLUGIN_PANEL_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, GeditTaglistPluginPanel const)) -#define GEDIT_TAGLIST_PLUGIN_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, GeditTaglistPluginPanelClass)) -#define GEDIT_IS_TAGLIST_PLUGIN_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL)) -#define GEDIT_IS_TAGLIST_PLUGIN_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL)) -#define GEDIT_TAGLIST_PLUGIN_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, GeditTaglistPluginPanelClass)) - -/* Private structure type */ -typedef struct _GeditTaglistPluginPanelPrivate GeditTaglistPluginPanelPrivate; - -/* - * Main object structure - */ -typedef struct _GeditTaglistPluginPanel GeditTaglistPluginPanel; - -struct _GeditTaglistPluginPanel -{ - GtkVBox vbox; - - /*< private > */ - GeditTaglistPluginPanelPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditTaglistPluginPanelClass GeditTaglistPluginPanelClass; - -struct _GeditTaglistPluginPanelClass -{ - GtkVBoxClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_taglist_plugin_panel_register_type (GTypeModule *module); - -GType gedit_taglist_plugin_panel_get_type (void) G_GNUC_CONST; - -GtkWidget *gedit_taglist_plugin_panel_new (GeditWindow *window, - const gchar *data_dir); - -G_END_DECLS - -#endif /* __GEDIT_TAGLIST_PLUGIN_PANEL_H__ */ diff --git a/plugins/taglist/gedit-taglist-plugin.h b/plugins/taglist/gedit-taglist-plugin.h deleted file mode 100755 index d0444e7..0000000 --- a/plugins/taglist/gedit-taglist-plugin.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * gedit-taglist-plugin.h - * - * Copyright (C) 2002-2005 - Paolo Maggi - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - */ - -/* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. - * See the ChangeLog files for a list of changes. - * - * $Id$ - */ - -#ifndef __GEDIT_TAGLIST_PLUGIN_H__ -#define __GEDIT_TAGLIST_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_TAGLIST_PLUGIN (gedit_taglist_plugin_get_type ()) -#define GEDIT_TAGLIST_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_TAGLIST_PLUGIN, GeditTaglistPlugin)) -#define GEDIT_TAGLIST_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_TAGLIST_PLUGIN, GeditTaglistPluginClass)) -#define GEDIT_IS_TAGLIST_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_TAGLIST_PLUGIN)) -#define GEDIT_IS_TAGLIST_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_TAGLIST_PLUGIN)) -#define GEDIT_TAGLIST_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_TAGLIST_PLUGIN, GeditTaglistPluginClass)) - -/* Private structure type */ -typedef struct _GeditTaglistPluginPrivate GeditTaglistPluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditTaglistPlugin GeditTaglistPlugin; - -struct _GeditTaglistPlugin -{ - GeditPlugin parent_instance; - - /*< private >*/ - GeditTaglistPluginPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditTaglistPluginClass GeditTaglistPluginClass; - -struct _GeditTaglistPluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_taglist_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_TAGLIST_PLUGIN_H__ */ diff --git a/plugins/taglist/gedit-taglist-plugin-panel.c b/plugins/taglist/pluma-taglist-plugin-panel.c similarity index 80% rename from plugins/taglist/gedit-taglist-plugin-panel.c rename to plugins/taglist/pluma-taglist-plugin-panel.c index d66acc0..513bf07 100755 --- a/plugins/taglist/gedit-taglist-plugin-panel.c +++ b/plugins/taglist/pluma-taglist-plugin-panel.c @@ -1,6 +1,6 @@ /* - * gedit-taglist-plugin-panel.c - * This file is part of gedit + * pluma-taglist-plugin-panel.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -34,19 +34,19 @@ #include -#include "gedit-taglist-plugin-panel.h" -#include "gedit-taglist-plugin-parser.h" +#include "pluma-taglist-plugin-panel.h" +#include "pluma-taglist-plugin-parser.h" -#include -#include -#include +#include +#include +#include #include #include -#define GEDIT_TAGLIST_PLUGIN_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, \ - GeditTaglistPluginPanelPrivate)) +#define PLUMA_TAGLIST_PLUGIN_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, \ + PlumaTaglistPluginPanelPrivate)) enum { @@ -55,9 +55,9 @@ enum NUM_COLUMNS }; -struct _GeditTaglistPluginPanelPrivate +struct _PlumaTaglistPluginPanelPrivate { - GeditWindow *window; + PlumaWindow *window; GtkWidget *tag_groups_combo; GtkWidget *tags_list; @@ -68,7 +68,7 @@ struct _GeditTaglistPluginPanelPrivate gchar *data_dir; }; -GEDIT_PLUGIN_DEFINE_TYPE (GeditTaglistPluginPanel, gedit_taglist_plugin_panel, GTK_TYPE_VBOX) +PLUMA_PLUGIN_DEFINE_TYPE (PlumaTaglistPluginPanel, pluma_taglist_plugin_panel, GTK_TYPE_VBOX) enum { @@ -77,11 +77,11 @@ enum }; static void -set_window (GeditTaglistPluginPanel *panel, - GeditWindow *window) +set_window (PlumaTaglistPluginPanel *panel, + PlumaWindow *window) { g_return_if_fail (panel->priv->window == NULL); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); panel->priv->window = window; @@ -89,12 +89,12 @@ set_window (GeditTaglistPluginPanel *panel, } static void -gedit_taglist_plugin_panel_set_property (GObject *object, +pluma_taglist_plugin_panel_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditTaglistPluginPanel *panel = GEDIT_TAGLIST_PLUGIN_PANEL (object); + PlumaTaglistPluginPanel *panel = PLUMA_TAGLIST_PLUGIN_PANEL (object); switch (prop_id) { @@ -109,18 +109,18 @@ gedit_taglist_plugin_panel_set_property (GObject *object, } static void -gedit_taglist_plugin_panel_get_property (GObject *object, +pluma_taglist_plugin_panel_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditTaglistPluginPanel *panel = GEDIT_TAGLIST_PLUGIN_PANEL (object); + PlumaTaglistPluginPanel *panel = PLUMA_TAGLIST_PLUGIN_PANEL (object); switch (prop_id) { case PROP_WINDOW: g_value_set_object (value, - GEDIT_TAGLIST_PLUGIN_PANEL_GET_PRIVATE (panel)->window); + PLUMA_TAGLIST_PLUGIN_PANEL_GET_PRIVATE (panel)->window); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -129,50 +129,50 @@ gedit_taglist_plugin_panel_get_property (GObject *object, } static void -gedit_taglist_plugin_panel_finalize (GObject *object) +pluma_taglist_plugin_panel_finalize (GObject *object) { - GeditTaglistPluginPanel *panel = GEDIT_TAGLIST_PLUGIN_PANEL (object); + PlumaTaglistPluginPanel *panel = PLUMA_TAGLIST_PLUGIN_PANEL (object); g_free (panel->priv->data_dir); - G_OBJECT_CLASS (gedit_taglist_plugin_panel_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_taglist_plugin_panel_parent_class)->finalize (object); } static void -gedit_taglist_plugin_panel_class_init (GeditTaglistPluginPanelClass *klass) +pluma_taglist_plugin_panel_class_init (PlumaTaglistPluginPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_taglist_plugin_panel_finalize; - object_class->get_property = gedit_taglist_plugin_panel_get_property; - object_class->set_property = gedit_taglist_plugin_panel_set_property; + object_class->finalize = pluma_taglist_plugin_panel_finalize; + object_class->get_property = pluma_taglist_plugin_panel_get_property; + object_class->set_property = pluma_taglist_plugin_panel_set_property; g_object_class_install_property (object_class, PROP_WINDOW, g_param_spec_object ("window", "Window", - "The GeditWindow this GeditTaglistPluginPanel is associated with", - GEDIT_TYPE_WINDOW, + "The PlumaWindow this PlumaTaglistPluginPanel is associated with", + PLUMA_TYPE_WINDOW, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); - g_type_class_add_private (object_class, sizeof(GeditTaglistPluginPanelPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaTaglistPluginPanelPrivate)); } static void -insert_tag (GeditTaglistPluginPanel *panel, +insert_tag (PlumaTaglistPluginPanel *panel, Tag *tag, gboolean grab_focus) { - GeditView *view; + PlumaView *view; GtkTextBuffer *buffer; GtkTextIter start, end; GtkTextIter cursor; gboolean sel = FALSE; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = gedit_window_get_active_view (panel->priv->window); + view = pluma_window_get_active_view (panel->priv->window); g_return_if_fail (view != NULL); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); @@ -242,13 +242,13 @@ static void tag_list_row_activated_cb (GtkTreeView *tag_list, GtkTreePath *path, GtkTreeViewColumn *column, - GeditTaglistPluginPanel *panel) + PlumaTaglistPluginPanel *panel) { GtkTreeIter iter; GtkTreeModel *model; gint index; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (tag_list); @@ -257,7 +257,7 @@ tag_list_row_activated_cb (GtkTreeView *tag_list, gtk_tree_model_get (model, &iter, COLUMN_TAG_INDEX_IN_GROUP, &index, -1); - gedit_debug_message (DEBUG_PLUGINS, "Index: %d", index); + pluma_debug_message (DEBUG_PLUGINS, "Index: %d", index); insert_tag (panel, (Tag*)g_list_nth_data (panel->priv->selected_tag_group->tags, index), @@ -267,7 +267,7 @@ tag_list_row_activated_cb (GtkTreeView *tag_list, static gboolean tag_list_key_press_event_cb (GtkTreeView *tag_list, GdkEventKey *event, - GeditTaglistPluginPanel *panel) + PlumaTaglistPluginPanel *panel) { gboolean grab_focus; @@ -280,7 +280,7 @@ tag_list_key_press_event_cb (GtkTreeView *tag_list, GtkTreeIter iter; gint index; - gedit_debug_message (DEBUG_PLUGINS, "RETURN Pressed"); + pluma_debug_message (DEBUG_PLUGINS, "RETURN Pressed"); model = gtk_tree_view_get_model (tag_list); @@ -290,7 +290,7 @@ tag_list_key_press_event_cb (GtkTreeView *tag_list, { gtk_tree_model_get (model, &iter, COLUMN_TAG_INDEX_IN_GROUP, &index, -1); - gedit_debug_message (DEBUG_PLUGINS, "Index: %d", index); + pluma_debug_message (DEBUG_PLUGINS, "Index: %d", index); insert_tag (panel, (Tag*)g_list_nth_data (panel->priv->selected_tag_group->tags, index), @@ -304,14 +304,14 @@ tag_list_key_press_event_cb (GtkTreeView *tag_list, } static GtkTreeModel* -create_model (GeditTaglistPluginPanel *panel) +create_model (PlumaTaglistPluginPanel *panel) { gint i = 0; GtkListStore *store; GtkTreeIter iter; GList *list; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); /* create list store */ store = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_INT); @@ -325,7 +325,7 @@ create_model (GeditTaglistPluginPanel *panel) tag_name = (gchar *)((Tag*)list->data)->name; - gedit_debug_message (DEBUG_PLUGINS, "%d : %s", i, tag_name); + pluma_debug_message (DEBUG_PLUGINS, "%d : %s", i, tag_name); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, @@ -337,18 +337,18 @@ create_model (GeditTaglistPluginPanel *panel) list = g_list_next (list); } - gedit_debug_message (DEBUG_PLUGINS, "Rows: %d ", + pluma_debug_message (DEBUG_PLUGINS, "Rows: %d ", gtk_tree_model_iter_n_children (GTK_TREE_MODEL (store), NULL)); return GTK_TREE_MODEL (store); } static void -populate_tags_list (GeditTaglistPluginPanel *panel) +populate_tags_list (PlumaTaglistPluginPanel *panel) { GtkTreeModel* model; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (taglist != NULL); @@ -363,7 +363,7 @@ find_tag_group (const gchar *name) { GList *l; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (taglist != NULL, NULL); @@ -377,12 +377,12 @@ find_tag_group (const gchar *name) } static void -populate_tag_groups_combo (GeditTaglistPluginPanel *panel) +populate_tag_groups_combo (PlumaTaglistPluginPanel *panel) { GList *l; GtkComboBox *combo; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); combo = GTK_COMBO_BOX (panel->priv->tag_groups_combo); @@ -402,11 +402,11 @@ populate_tag_groups_combo (GeditTaglistPluginPanel *panel) static void selected_group_changed (GtkComboBox *combo, - GeditTaglistPluginPanel *panel) + PlumaTaglistPluginPanel *panel) { gchar* group_name; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); group_name = gtk_combo_box_get_active_text (combo); @@ -422,7 +422,7 @@ selected_group_changed (GtkComboBox *combo, panel->priv->selected_tag_group = find_tag_group (group_name); g_return_if_fail (panel->priv->selected_tag_group != NULL); - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "New selected group: %s", panel->priv->selected_tag_group->name); @@ -467,7 +467,7 @@ create_preview_string (Tag *tag) } static void -update_preview (GeditTaglistPluginPanel *panel, +update_preview (PlumaTaglistPluginPanel *panel, Tag *tag) { gchar *str; @@ -489,7 +489,7 @@ tag_list_cursor_changed_cb (GtkTreeView *tag_list, GtkTreeIter iter; gint index; - GeditTaglistPluginPanel *panel = (GeditTaglistPluginPanel *)data; + PlumaTaglistPluginPanel *panel = (PlumaTaglistPluginPanel *)data; model = gtk_tree_view_get_model (tag_list); @@ -499,7 +499,7 @@ tag_list_cursor_changed_cb (GtkTreeView *tag_list, { gtk_tree_model_get (model, &iter, COLUMN_TAG_INDEX_IN_GROUP, &index, -1); - gedit_debug_message (DEBUG_PLUGINS, "Index: %d", index); + pluma_debug_message (DEBUG_PLUGINS, "Index: %d", index); update_preview (panel, (Tag*)g_list_nth_data (panel->priv->selected_tag_group->tags, index)); @@ -512,7 +512,7 @@ tags_list_query_tooltip_cb (GtkWidget *widget, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, - GeditTaglistPluginPanel *panel) + PlumaTaglistPluginPanel *panel) { GtkTreeIter iter; GtkTreeModel *model; @@ -578,16 +578,16 @@ expose_event_cb (GtkWidget *panel, GdkEventExpose *event, gpointer user_data) { - GeditTaglistPluginPanel *ppanel = GEDIT_TAGLIST_PLUGIN_PANEL (panel); + PlumaTaglistPluginPanel *ppanel = PLUMA_TAGLIST_PLUGIN_PANEL (panel); - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); /* If needed load taglists from files at the first expose */ if (taglist == NULL) create_taglist (ppanel->priv->data_dir); /* And populate combo box */ - populate_tag_groups_combo (GEDIT_TAGLIST_PLUGIN_PANEL (panel)); + populate_tag_groups_combo (PLUMA_TAGLIST_PLUGIN_PANEL (panel)); /* We need to manage only the first expose event -> disconnect */ g_signal_handlers_disconnect_by_func (panel, expose_event_cb, NULL); @@ -616,7 +616,7 @@ realize_tag_groups_combo (GtkWidget *combo, } static void -add_preview_widget (GeditTaglistPluginPanel *panel) +add_preview_widget (PlumaTaglistPluginPanel *panel) { GtkWidget *expander; GtkWidget *frame; @@ -650,16 +650,16 @@ add_preview_widget (GeditTaglistPluginPanel *panel) } static void -gedit_taglist_plugin_panel_init (GeditTaglistPluginPanel *panel) +pluma_taglist_plugin_panel_init (PlumaTaglistPluginPanel *panel) { GtkWidget *sw; GtkTreeViewColumn *column; GtkCellRenderer *cell; GList *focus_chain = NULL; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - panel->priv = GEDIT_TAGLIST_PLUGIN_PANEL_GET_PRIVATE (panel); + panel->priv = PLUMA_TAGLIST_PLUGIN_PANEL_GET_PRIVATE (panel); panel->priv->data_dir = NULL; /* Build the window content */ @@ -687,16 +687,16 @@ gedit_taglist_plugin_panel_init (GeditTaglistPluginPanel *panel) /* Create tree view */ panel->priv->tags_list = gtk_tree_view_new (); - gedit_utils_set_atk_name_description (panel->priv->tag_groups_combo, + pluma_utils_set_atk_name_description (panel->priv->tag_groups_combo, _("Available Tag Lists"), NULL); - gedit_utils_set_atk_name_description (panel->priv->tags_list, + pluma_utils_set_atk_name_description (panel->priv->tags_list, _("Tags"), NULL); - gedit_utils_set_atk_relation (panel->priv->tag_groups_combo, + pluma_utils_set_atk_relation (panel->priv->tag_groups_combo, panel->priv->tags_list, ATK_RELATION_CONTROLLER_FOR); - gedit_utils_set_atk_relation (panel->priv->tags_list, + pluma_utils_set_atk_relation (panel->priv->tags_list, panel->priv->tag_groups_combo, ATK_RELATION_CONTROLLED_BY); @@ -759,14 +759,14 @@ gedit_taglist_plugin_panel_init (GeditTaglistPluginPanel *panel) } GtkWidget * -gedit_taglist_plugin_panel_new (GeditWindow *window, +pluma_taglist_plugin_panel_new (PlumaWindow *window, const gchar *data_dir) { - GeditTaglistPluginPanel *panel; + PlumaTaglistPluginPanel *panel; - g_return_val_if_fail (GEDIT_IS_WINDOW (window), NULL); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), NULL); - panel = g_object_new (GEDIT_TYPE_TAGLIST_PLUGIN_PANEL, + panel = g_object_new (PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, "window", window, NULL); diff --git a/plugins/taglist/pluma-taglist-plugin-panel.h b/plugins/taglist/pluma-taglist-plugin-panel.h new file mode 100755 index 0000000..cfeddfd --- /dev/null +++ b/plugins/taglist/pluma-taglist-plugin-panel.h @@ -0,0 +1,89 @@ +/* + * pluma-taglist-plugin-panel.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_TAGLIST_PLUGIN_PANEL_H__ +#define __PLUMA_TAGLIST_PLUGIN_PANEL_H__ + +#include + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_TAGLIST_PLUGIN_PANEL (pluma_taglist_plugin_panel_get_type()) +#define PLUMA_TAGLIST_PLUGIN_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, PlumaTaglistPluginPanel)) +#define PLUMA_TAGLIST_PLUGIN_PANEL_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, PlumaTaglistPluginPanel const)) +#define PLUMA_TAGLIST_PLUGIN_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, PlumaTaglistPluginPanelClass)) +#define PLUMA_IS_TAGLIST_PLUGIN_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL)) +#define PLUMA_IS_TAGLIST_PLUGIN_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL)) +#define PLUMA_TAGLIST_PLUGIN_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_TAGLIST_PLUGIN_PANEL, PlumaTaglistPluginPanelClass)) + +/* Private structure type */ +typedef struct _PlumaTaglistPluginPanelPrivate PlumaTaglistPluginPanelPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaTaglistPluginPanel PlumaTaglistPluginPanel; + +struct _PlumaTaglistPluginPanel +{ + GtkVBox vbox; + + /*< private > */ + PlumaTaglistPluginPanelPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaTaglistPluginPanelClass PlumaTaglistPluginPanelClass; + +struct _PlumaTaglistPluginPanelClass +{ + GtkVBoxClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_taglist_plugin_panel_register_type (GTypeModule *module); + +GType pluma_taglist_plugin_panel_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_taglist_plugin_panel_new (PlumaWindow *window, + const gchar *data_dir); + +G_END_DECLS + +#endif /* __PLUMA_TAGLIST_PLUGIN_PANEL_H__ */ diff --git a/plugins/taglist/gedit-taglist-plugin-parser.c b/plugins/taglist/pluma-taglist-plugin-parser.c similarity index 87% rename from plugins/taglist/gedit-taglist-plugin-parser.c rename to plugins/taglist/pluma-taglist-plugin-parser.c index e09c0e2..bc7767d 100755 --- a/plugins/taglist/gedit-taglist-plugin-parser.c +++ b/plugins/taglist/pluma-taglist-plugin-parser.c @@ -1,6 +1,6 @@ /* - * gedit-taglist-plugin-parser.c - * This file is part of gedit + * pluma-taglist-plugin-parser.c + * This file is part of pluma * * Copyright (C) 2002-2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -39,13 +39,13 @@ #include #include -#include +#include -#include "gedit-taglist-plugin-parser.h" +#include "pluma-taglist-plugin-parser.h" /* we screwed up so we still look here for compatibility */ -#define USER_GEDIT_TAGLIST_PLUGIN_LOCATION_LEGACY ".gedit-2/plugins/taglist/" -#define USER_GEDIT_TAGLIST_PLUGIN_LOCATION "gedit/taglist/" +#define USER_PLUMA_TAGLIST_PLUGIN_LOCATION_LEGACY ".pluma-2/plugins/taglist/" +#define USER_PLUMA_TAGLIST_PLUGIN_LOCATION "pluma/taglist/" TagList *taglist = NULL; static gint taglist_ref_count = 0; @@ -68,7 +68,7 @@ static gboolean parse_tag (Tag *tag, xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { /* - gedit_debug_message (DEBUG_PLUGINS, " Tag name: %s", tag->name); + pluma_debug_message (DEBUG_PLUGINS, " Tag name: %s", tag->name); */ /* We don't care what the top level element name is */ cur = cur->xmlChildrenNode; @@ -80,7 +80,7 @@ parse_tag (Tag *tag, xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { tag->begin = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1); /* - gedit_debug_message (DEBUG_PLUGINS, " - Begin: %s", tag->begin); + pluma_debug_message (DEBUG_PLUGINS, " - Begin: %s", tag->begin); */ } @@ -89,7 +89,7 @@ parse_tag (Tag *tag, xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { tag->end = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1); /* - gedit_debug_message (DEBUG_PLUGINS, " - End: %s", tag->end); + pluma_debug_message (DEBUG_PLUGINS, " - End: %s", tag->end); */ } @@ -115,7 +115,7 @@ static gboolean parse_tag_group (TagGroup *tg, const gchar* fn, xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, gboolean sort) { - gedit_debug_message (DEBUG_PLUGINS, "Parse TagGroup: %s", tg->name); + pluma_debug_message (DEBUG_PLUGINS, "Parse TagGroup: %s", tg->name); /* We don't care what the top level element name is */ cur = cur->xmlChildrenNode; @@ -227,7 +227,7 @@ get_tag_group (const gchar* filename, xmlDocPtr doc, if (strcmp (tgn, (gchar*)tag_group->name) == 0) { - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Tag group '%s' already exists.", tgn); exists = TRUE; @@ -271,15 +271,15 @@ groups_cmp (gconstpointer a, gconstpointer b) /* * tags file is localized by intltool-merge below. * - * - * - * - * - * - * + * + * + * + * + * + * * ..... - * - * + * + * * ..... * Therefore need to pick up the best lang on the current locale. */ @@ -419,7 +419,7 @@ parse_taglist_file (const gchar* filename) xmlNsPtr ns; xmlNodePtr cur; - gedit_debug_message (DEBUG_PLUGINS, "Parse file: %s", filename); + pluma_debug_message (DEBUG_PLUGINS, "Parse file: %s", filename); xmlKeepBlanksDefault (0); @@ -448,12 +448,12 @@ parse_taglist_file (const gchar* filename) } ns = xmlSearchNsByHref (doc, cur, - (const xmlChar *) "http://gedit.sourceforge.net/some-location"); + (const xmlChar *) "http://pluma.sourceforge.net/some-location"); if (ns == NULL) { g_warning ("The tag list file '%s' is of the wrong type, " - "gedit namespace not found.", filename); + "pluma namespace not found.", filename); xmlFreeDoc (doc); return taglist; @@ -479,7 +479,7 @@ parse_taglist_file (const gchar* filename) xmlFreeDoc (doc); - gedit_debug_message (DEBUG_PLUGINS, "END"); + pluma_debug_message (DEBUG_PLUGINS, "END"); return taglist; } @@ -488,7 +488,7 @@ static void free_tag (Tag *tag) { /* - gedit_debug_message (DEBUG_PLUGINS, "Tag: %s", tag->name); + pluma_debug_message (DEBUG_PLUGINS, "Tag: %s", tag->name); */ g_return_if_fail (tag != NULL); @@ -508,7 +508,7 @@ free_tag_group (TagGroup *tag_group) { GList *l; - gedit_debug_message (DEBUG_PLUGINS, "Tag group: %s", tag_group->name); + pluma_debug_message (DEBUG_PLUGINS, "Tag group: %s", tag_group->name); g_return_if_fail (tag_group != NULL); @@ -522,7 +522,7 @@ free_tag_group (TagGroup *tag_group) g_list_free (tag_group->tags); g_free (tag_group); - gedit_debug_message (DEBUG_PLUGINS, "END"); + pluma_debug_message (DEBUG_PLUGINS, "END"); } void @@ -530,7 +530,7 @@ free_taglist (void) { GList *l; - gedit_debug_message (DEBUG_PLUGINS, "ref_count: %d", taglist_ref_count); + pluma_debug_message (DEBUG_PLUGINS, "ref_count: %d", taglist_ref_count); if (taglist == NULL) return; @@ -550,7 +550,7 @@ free_taglist (void) g_free (taglist); taglist = NULL; - gedit_debug_message (DEBUG_PLUGINS, "Really freed"); + pluma_debug_message (DEBUG_PLUGINS, "Really freed"); } static TagList * @@ -560,12 +560,12 @@ parse_taglist_dir (const gchar *dir) GDir *d; const gchar *dirent; - gedit_debug_message (DEBUG_PLUGINS, "DIR: %s", dir); + pluma_debug_message (DEBUG_PLUGINS, "DIR: %s", dir); d = g_dir_open (dir, 0, &error); if (!d) { - gedit_debug_message (DEBUG_PLUGINS, "%s", error->message); + pluma_debug_message (DEBUG_PLUGINS, "%s", error->message); g_error_free (error); return taglist; } @@ -590,7 +590,7 @@ TagList* create_taglist (const gchar *data_dir) { gchar *pdir; - gedit_debug_message (DEBUG_PLUGINS, "ref_count: %d", taglist_ref_count); + pluma_debug_message (DEBUG_PLUGINS, "ref_count: %d", taglist_ref_count); if (taglist_ref_count > 0) { @@ -610,7 +610,7 @@ TagList* create_taglist (const gchar *data_dir) if (home != NULL) { pdir = g_build_filename (home, - USER_GEDIT_TAGLIST_PLUGIN_LOCATION_LEGACY, + USER_PLUMA_TAGLIST_PLUGIN_LOCATION_LEGACY, NULL); parse_taglist_dir (pdir); g_free (pdir); @@ -621,7 +621,7 @@ TagList* create_taglist (const gchar *data_dir) if (envvar != NULL) { pdir = g_build_filename (envvar, - USER_GEDIT_TAGLIST_PLUGIN_LOCATION, + USER_PLUMA_TAGLIST_PLUGIN_LOCATION, NULL); parse_taglist_dir (pdir); g_free (pdir); @@ -630,7 +630,7 @@ TagList* create_taglist (const gchar *data_dir) { pdir = g_build_filename (home, ".mate2", - USER_GEDIT_TAGLIST_PLUGIN_LOCATION, + USER_PLUMA_TAGLIST_PLUGIN_LOCATION, NULL); parse_taglist_dir (pdir); g_free (pdir); @@ -638,7 +638,7 @@ TagList* create_taglist (const gchar *data_dir) #else pdir = g_build_filename (g_get_user_config_dir (), - "gedit", + "pluma", "taglist", NULL); parse_taglist_dir (pdir); diff --git a/plugins/taglist/gedit-taglist-plugin-parser.h b/plugins/taglist/pluma-taglist-plugin-parser.h similarity index 81% rename from plugins/taglist/gedit-taglist-plugin-parser.h rename to plugins/taglist/pluma-taglist-plugin-parser.h index d008836..42a8d3f 100755 --- a/plugins/taglist/gedit-taglist-plugin-parser.h +++ b/plugins/taglist/pluma-taglist-plugin-parser.h @@ -1,6 +1,6 @@ /* - * gedit-taglist-plugin-parser.h - * This file is part of gedit + * pluma-taglist-plugin-parser.h + * This file is part of pluma * * Copyright (C) 2002-2005 - Paolo Maggi * @@ -21,15 +21,15 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_TAGLIST_PLUGIN_PARSER_H__ -#define __GEDIT_TAGLIST_PLUGIN_PARSER_H__ +#ifndef __PLUMA_TAGLIST_PLUGIN_PARSER_H__ +#define __PLUMA_TAGLIST_PLUGIN_PARSER_H__ #include #include @@ -64,5 +64,5 @@ TagList* create_taglist (const gchar *data_dir); void free_taglist (void); -#endif /* __GEDIT_TAGLIST_PLUGIN_PARSER_H__ */ +#endif /* __PLUMA_TAGLIST_PLUGIN_PARSER_H__ */ diff --git a/plugins/taglist/gedit-taglist-plugin.c b/plugins/taglist/pluma-taglist-plugin.c similarity index 51% rename from plugins/taglist/gedit-taglist-plugin.c rename to plugins/taglist/pluma-taglist-plugin.c index 081fefc..202ab12 100755 --- a/plugins/taglist/gedit-taglist-plugin.c +++ b/plugins/taglist/pluma-taglist-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-taglist-plugin.h + * pluma-taglist-plugin.h * * Copyright (C) 2002-2005 - Paolo Maggi * @@ -20,8 +20,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -31,69 +31,69 @@ #include #endif -#include "gedit-taglist-plugin.h" -#include "gedit-taglist-plugin-panel.h" -#include "gedit-taglist-plugin-parser.h" +#include "pluma-taglist-plugin.h" +#include "pluma-taglist-plugin-panel.h" +#include "pluma-taglist-plugin-parser.h" #include #include -#include -#include +#include +#include -#define WINDOW_DATA_KEY "GeditTaglistPluginWindowData" +#define WINDOW_DATA_KEY "PlumaTaglistPluginWindowData" -#define GEDIT_TAGLIST_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_TAGLIST_PLUGIN, GeditTaglistPluginPrivate)) +#define PLUMA_TAGLIST_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_TAGLIST_PLUGIN, PlumaTaglistPluginPrivate)) -struct _GeditTaglistPluginPrivate +struct _PlumaTaglistPluginPrivate { gpointer dummy; }; -GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE (GeditTaglistPlugin, gedit_taglist_plugin, - gedit_taglist_plugin_panel_register_type (module); +PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE (PlumaTaglistPlugin, pluma_taglist_plugin, + pluma_taglist_plugin_panel_register_type (module); ) static void -gedit_taglist_plugin_init (GeditTaglistPlugin *plugin) +pluma_taglist_plugin_init (PlumaTaglistPlugin *plugin) { - plugin->priv = GEDIT_TAGLIST_PLUGIN_GET_PRIVATE (plugin); + plugin->priv = PLUMA_TAGLIST_PLUGIN_GET_PRIVATE (plugin); - gedit_debug_message (DEBUG_PLUGINS, "GeditTaglistPlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaTaglistPlugin initializing"); } static void -gedit_taglist_plugin_finalize (GObject *object) +pluma_taglist_plugin_finalize (GObject *object) { /* - GeditTaglistPlugin *plugin = GEDIT_TAGLIST_PLUGIN (object); + PlumaTaglistPlugin *plugin = PLUMA_TAGLIST_PLUGIN (object); */ - gedit_debug_message (DEBUG_PLUGINS, "GeditTaglistPlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaTaglistPlugin finalizing"); free_taglist (); - G_OBJECT_CLASS (gedit_taglist_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_taglist_plugin_parent_class)->finalize (object); } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { - GeditPanel *side_panel; + PlumaPanel *side_panel; GtkWidget *taglist_panel; gchar *data_dir; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY) == NULL); - side_panel = gedit_window_get_side_panel (window); + side_panel = pluma_window_get_side_panel (window); - data_dir = gedit_plugin_get_data_dir (plugin); - taglist_panel = gedit_taglist_plugin_panel_new (window, data_dir); + data_dir = pluma_plugin_get_data_dir (plugin); + taglist_panel = pluma_taglist_plugin_panel_new (window, data_dir); g_free (data_dir); - gedit_panel_add_item_with_stock_icon (side_panel, + pluma_panel_add_item_with_stock_icon (side_panel, taglist_panel, _("Tags"), GTK_STOCK_ADD); @@ -104,20 +104,20 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { - GeditPanel *side_panel; + PlumaPanel *side_panel; gpointer data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); - side_panel = gedit_window_get_side_panel (window); + side_panel = pluma_window_get_side_panel (window); - gedit_panel_remove_item (side_panel, + pluma_panel_remove_item (side_panel, GTK_WIDGET (data)); g_object_set_data (G_OBJECT (window), @@ -126,18 +126,18 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { gpointer data; - GeditView *view; + PlumaView *view; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); - view = gedit_window_get_active_view (window); + view = pluma_window_get_active_view (window); gtk_widget_set_sensitive (GTK_WIDGET (data), (view != NULL) && @@ -145,16 +145,16 @@ impl_update_ui (GeditPlugin *plugin, } static void -gedit_taglist_plugin_class_init (GeditTaglistPluginClass *klass) +pluma_taglist_plugin_class_init (PlumaTaglistPluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_taglist_plugin_finalize; + object_class->finalize = pluma_taglist_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; plugin_class->update_ui = impl_update_ui; - g_type_class_add_private (object_class, sizeof (GeditTaglistPluginPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaTaglistPluginPrivate)); } diff --git a/plugins/taglist/pluma-taglist-plugin.h b/plugins/taglist/pluma-taglist-plugin.h new file mode 100755 index 0000000..3ec8e08 --- /dev/null +++ b/plugins/taglist/pluma-taglist-plugin.h @@ -0,0 +1,85 @@ +/* + * pluma-taglist-plugin.h + * + * Copyright (C) 2002-2005 - Paolo Maggi + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +/* + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_TAGLIST_PLUGIN_H__ +#define __PLUMA_TAGLIST_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_TAGLIST_PLUGIN (pluma_taglist_plugin_get_type ()) +#define PLUMA_TAGLIST_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_TAGLIST_PLUGIN, PlumaTaglistPlugin)) +#define PLUMA_TAGLIST_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_TAGLIST_PLUGIN, PlumaTaglistPluginClass)) +#define PLUMA_IS_TAGLIST_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_TAGLIST_PLUGIN)) +#define PLUMA_IS_TAGLIST_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_TAGLIST_PLUGIN)) +#define PLUMA_TAGLIST_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_TAGLIST_PLUGIN, PlumaTaglistPluginClass)) + +/* Private structure type */ +typedef struct _PlumaTaglistPluginPrivate PlumaTaglistPluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaTaglistPlugin PlumaTaglistPlugin; + +struct _PlumaTaglistPlugin +{ + PlumaPlugin parent_instance; + + /*< private >*/ + PlumaTaglistPluginPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaTaglistPluginClass PlumaTaglistPluginClass; + +struct _PlumaTaglistPluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_taglist_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_TAGLIST_PLUGIN_H__ */ diff --git a/plugins/taglist/taglist.gedit-plugin.desktop.in b/plugins/taglist/taglist.pluma-plugin.desktop.in similarity index 84% rename from plugins/taglist/taglist.gedit-plugin.desktop.in rename to plugins/taglist/taglist.pluma-plugin.desktop.in index 09d0f2d..7337358 100755 --- a/plugins/taglist/taglist.gedit-plugin.desktop.in +++ b/plugins/taglist/taglist.pluma-plugin.desktop.in @@ -1,8 +1,8 @@ -[Gedit Plugin] +[Pluma Plugin] Module=taglist IAge=2 _Name=Tag list _Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them. Authors=Paolo Maggi Copyright=Copyright © 2002-2005 Paolo Maggi -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am index c532f7d..bfb442b 100755 --- a/plugins/time/Makefile.am +++ b/plugins/time/Makefile.am @@ -1,31 +1,31 @@ # time plugin -plugindir = $(GEDIT_PLUGINS_LIBS_DIR) +plugindir = $(PLUMA_PLUGINS_LIBS_DIR) INCLUDES = \ -I$(top_srcdir) \ - $(GEDIT_CFLAGS) \ + $(PLUMA_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) plugin_LTLIBRARIES = libtime.la libtime_la_SOURCES = \ - gedit-time-plugin.h \ - gedit-time-plugin.c + pluma-time-plugin.h \ + pluma-time-plugin.c libtime_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libtime_la_LIBADD = $(GEDIT_LIBS) +libtime_la_LIBADD = $(PLUMA_LIBS) -uidir = $(GEDIT_PLUGINS_DATA_DIR)/time +uidir = $(PLUMA_PLUGINS_DATA_DIR)/time ui_DATA = \ - gedit-time-dialog.ui \ - gedit-time-setup-dialog.ui + pluma-time-dialog.ui \ + pluma-time-setup-dialog.ui -plugin_in_files = time.gedit-plugin.desktop.in +plugin_in_files = time.pluma-plugin.desktop.in -%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin) +plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) EXTRA_DIST = $(ui_DATA) $(plugin_in_files) diff --git a/plugins/time/gedit-time-plugin.h b/plugins/time/gedit-time-plugin.h deleted file mode 100755 index 6d59826..0000000 --- a/plugins/time/gedit-time-plugin.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * gedit-time-plugin.h - * - * Copyright (C) 2002-2005 - Paolo Maggi - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -#ifndef __GEDIT_TIME_PLUGIN_H__ -#define __GEDIT_TIME_PLUGIN_H__ - -#include -#include -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define GEDIT_TYPE_TIME_PLUGIN (gedit_time_plugin_get_type ()) -#define GEDIT_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_TIME_PLUGIN, GeditTimePlugin)) -#define GEDIT_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_TIME_PLUGIN, GeditTimePluginClass)) -#define GEDIT_IS_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_TIME_PLUGIN)) -#define GEDIT_IS_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_TIME_PLUGIN)) -#define GEDIT_TIME_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_TIME_PLUGIN, GeditTimePluginClass)) - -/* Private structure type */ -typedef struct _GeditTimePluginPrivate GeditTimePluginPrivate; - -/* - * Main object structure - */ -typedef struct _GeditTimePlugin GeditTimePlugin; - -struct _GeditTimePlugin -{ - GeditPlugin parent_instance; - - /*< private >*/ - GeditTimePluginPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _GeditTimePluginClass GeditTimePluginClass; - -struct _GeditTimePluginClass -{ - GeditPluginClass parent_class; -}; - -/* - * Public methods - */ -GType gedit_time_plugin_get_type (void) G_GNUC_CONST; - -/* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module); - -G_END_DECLS - -#endif /* __GEDIT_TIME_PLUGIN_H__ */ diff --git a/plugins/time/gedit-time-dialog.ui b/plugins/time/pluma-time-dialog.ui similarity index 100% rename from plugins/time/gedit-time-dialog.ui rename to plugins/time/pluma-time-dialog.ui diff --git a/plugins/time/gedit-time-plugin.c b/plugins/time/pluma-time-plugin.c similarity index 85% rename from plugins/time/gedit-time-plugin.c rename to plugins/time/pluma-time-plugin.c index 42bf6cb..d504bdf 100755 --- a/plugins/time/gedit-time-plugin.c +++ b/plugins/time/pluma-time-plugin.c @@ -1,5 +1,5 @@ /* - * gedit-time-plugin.c + * pluma-time-plugin.c * * Copyright (C) 2002-2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -35,25 +35,25 @@ #include -#include "gedit-time-plugin.h" -#include +#include "pluma-time-plugin.h" +#include #include #include #include -#include -#include +#include +#include -#define GEDIT_TIME_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_TIME_PLUGIN, \ - GeditTimePluginPrivate)) +#define PLUMA_TIME_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_TIME_PLUGIN, \ + PlumaTimePluginPrivate)) -#define WINDOW_DATA_KEY "GeditTimePluginWindowData" +#define WINDOW_DATA_KEY "PlumaTimePluginWindowData" #define MENU_PATH "/MenuBar/EditMenu/EditOps_4" /* mateconf keys */ -#define TIME_BASE_KEY "/apps/gedit-2/plugins/time" +#define TIME_BASE_KEY "/apps/pluma-2/plugins/time" #define PROMPT_TYPE_KEY TIME_BASE_KEY "/prompt_type" #define SELECTED_FORMAT_KEY TIME_BASE_KEY "/selected_format" #define CUSTOM_FORMAT_KEY TIME_BASE_KEY "/custom_format" @@ -122,7 +122,7 @@ struct _TimeConfigureDialog GtkWidget *custom_format_example; /* Info needed for the response handler */ - GeditTimePlugin *plugin; + PlumaTimePlugin *plugin; }; typedef struct _ChooseFormatDialog ChooseFormatDialog; @@ -142,7 +142,7 @@ struct _ChooseFormatDialog /* Info needed for the response handler */ GtkTextBuffer *buffer; - GeditTimePlugin *plugin; + PlumaTimePlugin *plugin; }; typedef enum @@ -151,14 +151,14 @@ typedef enum PROMPT_CUSTOM_FORMAT, /* Popup dialog with entry preselected */ USE_SELECTED_FORMAT, /* Use selected format directly */ USE_CUSTOM_FORMAT /* Use custom format directly */ -} GeditTimePluginPromptType; +} PlumaTimePluginPromptType; -struct _GeditTimePluginPrivate +struct _PlumaTimePluginPrivate { MateConfClient *mateconf_client; }; -GEDIT_PLUGIN_REGISTER_TYPE(GeditTimePlugin, gedit_time_plugin) +PLUMA_PLUGIN_REGISTER_TYPE(PlumaTimePlugin, pluma_time_plugin) typedef struct { @@ -168,8 +168,8 @@ typedef struct typedef struct { - GeditWindow *window; - GeditTimePlugin *plugin; + PlumaWindow *window; + PlumaTimePlugin *plugin; } ActionData; static void time_cb (GtkAction *action, ActionData *data); @@ -187,11 +187,11 @@ static const GtkActionEntry action_entries[] = }; static void -gedit_time_plugin_init (GeditTimePlugin *plugin) +pluma_time_plugin_init (PlumaTimePlugin *plugin) { - gedit_debug_message (DEBUG_PLUGINS, "GeditTimePlugin initializing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaTimePlugin initializing"); - plugin->priv = GEDIT_TIME_PLUGIN_GET_PRIVATE (plugin); + plugin->priv = PLUMA_TIME_PLUGIN_GET_PRIVATE (plugin); plugin->priv->mateconf_client = mateconf_client_get_default (); @@ -202,17 +202,17 @@ gedit_time_plugin_init (GeditTimePlugin *plugin) } static void -gedit_time_plugin_finalize (GObject *object) +pluma_time_plugin_finalize (GObject *object) { - GeditTimePlugin *plugin = GEDIT_TIME_PLUGIN (object); + PlumaTimePlugin *plugin = PLUMA_TIME_PLUGIN (object); - gedit_debug_message (DEBUG_PLUGINS, "GeditTimePlugin finalizing"); + pluma_debug_message (DEBUG_PLUGINS, "PlumaTimePlugin finalizing"); mateconf_client_suggest_sync (plugin->priv->mateconf_client, NULL); g_object_unref (G_OBJECT (plugin->priv->mateconf_client)); - G_OBJECT_CLASS (gedit_time_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_time_plugin_parent_class)->finalize (object); } static void @@ -225,17 +225,17 @@ free_window_data (WindowData *data) } static void -update_ui_real (GeditWindow *window, +update_ui_real (PlumaWindow *window, WindowData *data) { - GeditView *view; + PlumaView *view; GtkAction *action; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - view = gedit_window_get_active_view (window); + view = pluma_window_get_active_view (window); - gedit_debug_message (DEBUG_PLUGINS, "View: %p", view); + pluma_debug_message (DEBUG_PLUGINS, "View: %p", view); action = gtk_action_group_get_action (data->action_group, "InsertDateAndTime"); @@ -245,24 +245,24 @@ update_ui_real (GeditWindow *window, } static void -impl_activate (GeditPlugin *plugin, - GeditWindow *window) +impl_activate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; ActionData *action_data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = g_new (WindowData, 1); action_data = g_new (ActionData, 1); - action_data->plugin = GEDIT_TIME_PLUGIN (plugin); + action_data->plugin = PLUMA_TIME_PLUGIN (plugin); action_data->window = window; - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); - data->action_group = gtk_action_group_new ("GeditTimePluginActions"); + data->action_group = gtk_action_group_new ("PlumaTimePluginActions"); gtk_action_group_set_translation_domain (data->action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions_full (data->action_group, @@ -292,15 +292,15 @@ impl_activate (GeditPlugin *plugin, } static void -impl_deactivate (GeditPlugin *plugin, - GeditWindow *window) +impl_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { GtkUIManager *manager; WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - manager = gedit_window_get_ui_manager (window); + manager = pluma_window_get_ui_manager (window); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -312,12 +312,12 @@ impl_deactivate (GeditPlugin *plugin, } static void -impl_update_ui (GeditPlugin *plugin, - GeditWindow *window) +impl_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { WindowData *data; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); g_return_if_fail (data != NULL); @@ -326,11 +326,11 @@ impl_update_ui (GeditPlugin *plugin, } /* whether we should prompt the user or use the specified format */ -static GeditTimePluginPromptType -get_prompt_type (GeditTimePlugin *plugin) +static PlumaTimePluginPromptType +get_prompt_type (PlumaTimePlugin *plugin) { gchar *prompt_type; - GeditTimePluginPromptType res; + PlumaTimePluginPromptType res; prompt_type = mateconf_client_get_string (plugin->priv->mateconf_client, PROMPT_TYPE_KEY, @@ -354,8 +354,8 @@ get_prompt_type (GeditTimePlugin *plugin) } static void -set_prompt_type (GeditTimePlugin *plugin, - GeditTimePluginPromptType prompt_type) +set_prompt_type (PlumaTimePlugin *plugin, + PlumaTimePluginPromptType prompt_type) { const gchar * str; @@ -389,7 +389,7 @@ set_prompt_type (GeditTimePlugin *plugin, /* The selected format in the list */ static gchar * -get_selected_format (GeditTimePlugin *plugin) +get_selected_format (PlumaTimePlugin *plugin) { gchar *sel_format; @@ -401,7 +401,7 @@ get_selected_format (GeditTimePlugin *plugin) } static void -set_selected_format (GeditTimePlugin *plugin, +set_selected_format (PlumaTimePlugin *plugin, const gchar *format) { g_return_if_fail (format != NULL); @@ -421,7 +421,7 @@ set_selected_format (GeditTimePlugin *plugin, /* the custom format in the entry */ static gchar * -get_custom_format (GeditTimePlugin *plugin) +get_custom_format (PlumaTimePlugin *plugin) { gchar *format; @@ -433,7 +433,7 @@ get_custom_format (GeditTimePlugin *plugin) } static void -set_custom_format (GeditTimePlugin *plugin, +set_custom_format (PlumaTimePlugin *plugin, const gchar *format) { g_return_if_fail (format != NULL); @@ -459,7 +459,7 @@ get_time (const gchar* format) size_t out_length = 0; gchar *locale_format; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (format != NULL, NULL); @@ -501,24 +501,24 @@ get_time (const gchar* format) static void dialog_destroyed (GtkObject *obj, gpointer dialog_pointer) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_free (dialog_pointer); - gedit_debug_message (DEBUG_PLUGINS, "END"); + pluma_debug_message (DEBUG_PLUGINS, "END"); } static GtkTreeModel * create_model (GtkWidget *listview, const gchar *sel_format, - GeditTimePlugin *plugin) + PlumaTimePlugin *plugin) { gint i = 0; GtkListStore *store; GtkTreeSelection *selection; GtkTreeIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); /* create list store */ store = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_INT); @@ -541,7 +541,7 @@ create_model (GtkWidget *listview, str = get_time (formats[i]); - gedit_debug_message (DEBUG_PLUGINS, "%d : %s", i, str); + pluma_debug_message (DEBUG_PLUGINS, "%d : %s", i, str); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, COLUMN_FORMATS, str, @@ -572,7 +572,7 @@ scroll_to_selected (GtkTreeView *tree_view) GtkTreeSelection *selection; GtkTreeIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (tree_view); g_return_if_fail (model != NULL); @@ -597,12 +597,12 @@ scroll_to_selected (GtkTreeView *tree_view) static void create_formats_list (GtkWidget *listview, const gchar *sel_format, - GeditTimePlugin *plugin) + PlumaTimePlugin *plugin) { GtkTreeViewColumn *column; GtkCellRenderer *cell; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (listview != NULL); g_return_if_fail (sel_format != NULL); @@ -636,7 +636,7 @@ updated_custom_format_example (GtkEntry *format_entry, gchar *str; gchar *escaped_time; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (GTK_IS_ENTRY (format_entry)); g_return_if_fail (GTK_IS_LABEL (format_example)); @@ -659,7 +659,7 @@ static void choose_format_dialog_button_toggled (GtkToggleButton *button, ChooseFormatDialog *dialog) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->custom))) { @@ -683,7 +683,7 @@ choose_format_dialog_button_toggled (GtkToggleButton *button, static void configure_dialog_button_toggled (GtkToggleButton *button, TimeConfigureDialog *dialog) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->custom))) { @@ -720,7 +720,7 @@ get_format_from_list (GtkWidget *listview) GtkTreeSelection *selection; GtkTreeIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (GTK_TREE_VIEW (listview)); g_return_val_if_fail (model != NULL, 0); @@ -734,7 +734,7 @@ get_format_from_list (GtkWidget *listview) gtk_tree_model_get (model, &iter, COLUMN_INDEX, &selected_value, -1); - gedit_debug_message (DEBUG_PLUGINS, "Sel value: %d", selected_value); + pluma_debug_message (DEBUG_PLUGINS, "Sel value: %d", selected_value); return selected_value; } @@ -743,14 +743,14 @@ get_format_from_list (GtkWidget *listview) } static TimeConfigureDialog * -get_configure_dialog (GeditTimePlugin *plugin) +get_configure_dialog (PlumaTimePlugin *plugin) { TimeConfigureDialog *dialog = NULL; gchar *data_dir; gchar *ui_file; GtkWidget *content; GtkWidget *viewport; - GeditTimePluginPromptType prompt_type; + PlumaTimePluginPromptType prompt_type; gchar *sf, *cf; GtkWidget *error_widget; gboolean ret; @@ -759,7 +759,7 @@ get_configure_dialog (GeditTimePlugin *plugin) NULL }; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); dialog = g_new0 (TimeConfigureDialog, 1); @@ -784,9 +784,9 @@ get_configure_dialog (GeditTimePlugin *plugin) g_return_val_if_fail (dialog->dialog != NULL, NULL); - data_dir = gedit_plugin_get_data_dir (GEDIT_PLUGIN (plugin)); - ui_file = g_build_filename (data_dir, "gedit-time-setup-dialog.ui", NULL); - ret = gedit_utils_get_ui_objects (ui_file, + data_dir = pluma_plugin_get_data_dir (PLUMA_PLUGIN (plugin)); + ui_file = g_build_filename (data_dir, "pluma-time-setup-dialog.ui", NULL); + ret = pluma_utils_get_ui_objects (ui_file, root_objects, &error_widget, "time_dialog_content", &content, @@ -894,7 +894,7 @@ static void real_insert_time (GtkTextBuffer *buffer, const gchar *the_time) { - gedit_debug_message (DEBUG_PLUGINS, "Insert: %s", the_time); + pluma_debug_message (DEBUG_PLUGINS, "Insert: %s", the_time); gtk_text_buffer_begin_user_action (buffer); @@ -928,8 +928,8 @@ choose_format_dialog_row_activated (GtkTreeView *list, static ChooseFormatDialog * get_choose_format_dialog (GtkWindow *parent, - GeditTimePluginPromptType prompt_type, - GeditTimePlugin *plugin) + PlumaTimePluginPromptType prompt_type, + PlumaTimePlugin *plugin) { ChooseFormatDialog *dialog; gchar *data_dir; @@ -944,9 +944,9 @@ get_choose_format_dialog (GtkWindow *parent, dialog = g_new0 (ChooseFormatDialog, 1); - data_dir = gedit_plugin_get_data_dir (GEDIT_PLUGIN (plugin)); - ui_file = g_build_filename (data_dir, "gedit-time-dialog.ui", NULL); - ret = gedit_utils_get_ui_objects (ui_file, + data_dir = pluma_plugin_get_data_dir (PLUMA_PLUGIN (plugin)); + ui_file = g_build_filename (data_dir, "pluma-time-dialog.ui", NULL); + ret = pluma_utils_get_ui_objects (ui_file, NULL, &error_widget, "choose_format_dialog", &dialog->dialog, @@ -1068,17 +1068,17 @@ choose_format_dialog_response_cb (GtkWidget *widget, { case GTK_RESPONSE_HELP: { - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_HELP"); - gedit_help_display (GTK_WINDOW (widget), + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_HELP"); + pluma_help_display (GTK_WINDOW (widget), NULL, - "gedit-insert-date-time-plugin"); + "pluma-insert-date-time-plugin"); break; } case GTK_RESPONSE_OK: { gchar *the_time; - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); /* Get the user's chosen format */ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->use_list))) @@ -1111,7 +1111,7 @@ choose_format_dialog_response_cb (GtkWidget *widget, break; } case GTK_RESPONSE_CANCEL: - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CANCEL"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CANCEL"); gtk_widget_destroy (dialog->dialog); } } @@ -1122,11 +1122,11 @@ time_cb (GtkAction *action, { GtkTextBuffer *buffer; gchar *the_time = NULL; - GeditTimePluginPromptType prompt_type; + PlumaTimePluginPromptType prompt_type; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - buffer = GTK_TEXT_BUFFER (gedit_window_get_active_document (data->window)); + buffer = GTK_TEXT_BUFFER (pluma_window_get_active_document (data->window)); g_return_if_fail (buffer != NULL); prompt_type = get_prompt_type (data->plugin); @@ -1179,7 +1179,7 @@ ok_button_pressed (TimeConfigureDialog *dialog) gint sel_format; const gchar *custom_format; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); sel_format = get_format_from_list (dialog->list); @@ -1201,7 +1201,7 @@ ok_button_pressed (TimeConfigureDialog *dialog) set_prompt_type (dialog->plugin, PROMPT_SELECTED_FORMAT); } - gedit_debug_message (DEBUG_PLUGINS, "Sel: %d", sel_format); + pluma_debug_message (DEBUG_PLUGINS, "Sel: %d", sel_format); } static void @@ -1213,16 +1213,16 @@ configure_dialog_response_cb (GtkWidget *widget, { case GTK_RESPONSE_HELP: { - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_HELP"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_HELP"); - gedit_help_display (GTK_WINDOW (dialog), + pluma_help_display (GTK_WINDOW (dialog), NULL, - "gedit-date-time-configure"); + "pluma-date-time-configure"); break; } case GTK_RESPONSE_OK: { - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK"); ok_button_pressed (dialog); @@ -1231,20 +1231,20 @@ configure_dialog_response_cb (GtkWidget *widget, } case GTK_RESPONSE_CANCEL: { - gedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CANCEL"); + pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CANCEL"); gtk_widget_destroy (dialog->dialog); } } } static GtkWidget * -impl_create_configure_dialog (GeditPlugin *plugin) +impl_create_configure_dialog (PlumaPlugin *plugin) { TimeConfigureDialog *dialog; - dialog = get_configure_dialog (GEDIT_TIME_PLUGIN (plugin)); + dialog = get_configure_dialog (PLUMA_TIME_PLUGIN (plugin)); - dialog->plugin = GEDIT_TIME_PLUGIN (plugin); + dialog->plugin = PLUMA_TIME_PLUGIN (plugin); g_signal_connect (dialog->dialog, "response", @@ -1255,12 +1255,12 @@ impl_create_configure_dialog (GeditPlugin *plugin) } static void -gedit_time_plugin_class_init (GeditTimePluginClass *klass) +pluma_time_plugin_class_init (PlumaTimePluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditPluginClass *plugin_class = GEDIT_PLUGIN_CLASS (klass); + PlumaPluginClass *plugin_class = PLUMA_PLUGIN_CLASS (klass); - object_class->finalize = gedit_time_plugin_finalize; + object_class->finalize = pluma_time_plugin_finalize; plugin_class->activate = impl_activate; plugin_class->deactivate = impl_deactivate; @@ -1268,5 +1268,5 @@ gedit_time_plugin_class_init (GeditTimePluginClass *klass) plugin_class->create_configure_dialog = impl_create_configure_dialog; - g_type_class_add_private (object_class, sizeof (GeditTimePluginPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaTimePluginPrivate)); } diff --git a/plugins/time/pluma-time-plugin.h b/plugins/time/pluma-time-plugin.h new file mode 100755 index 0000000..e7b6690 --- /dev/null +++ b/plugins/time/pluma-time-plugin.h @@ -0,0 +1,78 @@ +/* + * pluma-time-plugin.h + * + * Copyright (C) 2002-2005 - Paolo Maggi + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#ifndef __PLUMA_TIME_PLUGIN_H__ +#define __PLUMA_TIME_PLUGIN_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_TIME_PLUGIN (pluma_time_plugin_get_type ()) +#define PLUMA_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_TIME_PLUGIN, PlumaTimePlugin)) +#define PLUMA_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_TIME_PLUGIN, PlumaTimePluginClass)) +#define PLUMA_IS_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_TIME_PLUGIN)) +#define PLUMA_IS_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_TIME_PLUGIN)) +#define PLUMA_TIME_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_TIME_PLUGIN, PlumaTimePluginClass)) + +/* Private structure type */ +typedef struct _PlumaTimePluginPrivate PlumaTimePluginPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaTimePlugin PlumaTimePlugin; + +struct _PlumaTimePlugin +{ + PlumaPlugin parent_instance; + + /*< private >*/ + PlumaTimePluginPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaTimePluginClass PlumaTimePluginClass; + +struct _PlumaTimePluginClass +{ + PlumaPluginClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_time_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __PLUMA_TIME_PLUGIN_H__ */ diff --git a/plugins/time/gedit-time-setup-dialog.ui b/plugins/time/pluma-time-setup-dialog.ui similarity index 100% rename from plugins/time/gedit-time-setup-dialog.ui rename to plugins/time/pluma-time-setup-dialog.ui diff --git a/plugins/time/time.gedit-plugin.desktop.in b/plugins/time/time.pluma-plugin.desktop.in similarity index 84% rename from plugins/time/time.gedit-plugin.desktop.in rename to plugins/time/time.pluma-plugin.desktop.in index ba06854..a6dbc79 100755 --- a/plugins/time/time.gedit-plugin.desktop.in +++ b/plugins/time/time.pluma-plugin.desktop.in @@ -1,8 +1,8 @@ -[Gedit Plugin] +[Pluma Plugin] Module=time IAge=2 _Name=Insert Date/Time _Description=Inserts current date and time at the cursor position. Authors=Paolo Maggi ;Lee Mallabone Copyright=Copyright © 2002-2005 Paolo Maggi -Website=http://www.gedit.org +Website=http://www.pluma.org diff --git a/pluma/Makefile.am b/pluma/Makefile.am new file mode 100755 index 0000000..746a010 --- /dev/null +++ b/pluma/Makefile.am @@ -0,0 +1,254 @@ +## Process this file with automake to produce Makefile.in +SUBDIRS = dialogs smclient + +if OS_OSX +SUBDIRS += osx +endif + +bin_PROGRAMS = pluma + +noinst_LTLIBRARIES = libpluma.la + +INCLUDES = \ + -I$(top_srcdir) \ + -I$(srcdir) \ + -I$(srcdir)/smclient \ + $(PLUMA_CFLAGS) \ + $(IGE_MAC_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED_CFLAGS) \ + -DDATADIR=\""$(datadir)"\" \ + -DLIBDIR=\""$(libdir)"\" + +pluma_SOURCES = \ + pluma.c + +pluma_LDADD = libpluma.la $(PLUMA_LIBS) $(IGE_MAC_LIBS) $(EGG_SMCLIENT_LIBS) + +if PLATFORM_WIN32 +pluma_LDFLAGS = -Wl,--export-all-symbols -Wl,--out-implib,libpluma-$(PLUMA_API_VERSION).a +if OS_WIN32 +pluma_LDFLAGS += -mwindows +endif +else +pluma_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" +endif + +libpluma_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" + +libpluma_la_LIBADD = \ + dialogs/libdialogs.la \ + smclient/libeggsmclient.la + +# PLUMA_LIBS must be the last to ensure correct order on some platforms +libpluma_la_LIBADD += $(PLUMA_LIBS) + +if OS_OSX +pluma_LDFLAGS += -framework Carbon + +libpluma_la_LIBADD += osx/libosx.la +endif + +BUILT_SOURCES = \ + pluma-enum-types.c \ + pluma-enum-types.h \ + pluma-marshal.c \ + pluma-marshal.h + +if OS_WIN32 +pluma-res.o: pluma.rc + $(WINDRES) -i pluma.rc --input-format=rc -o pluma-res.o -O coff + +pluma_LDADD += pluma-res.o +endif + +NOINST_H_FILES = \ + pluma-close-button.h \ + pluma-dirs.h \ + pluma-document-input-stream.h \ + pluma-document-loader.h \ + pluma-document-output-stream.h \ + pluma-document-saver.h \ + pluma-documents-panel.h \ + pluma-gio-document-loader.h \ + pluma-gio-document-saver.h \ + pluma-history-entry.h \ + pluma-io-error-message-area.h \ + pluma-language-manager.h \ + pluma-object-module.h \ + pluma-plugin-info.h \ + pluma-plugin-info-priv.h \ + pluma-plugin-loader.h \ + pluma-plugin-manager.h \ + pluma-plugins-engine.h \ + pluma-prefs-manager-private.h \ + pluma-print-job.h \ + pluma-print-preview.h \ + pluma-session.h \ + pluma-smart-charset-converter.h \ + pluma-style-scheme-manager.h \ + pluma-tab-label.h \ + plumatextregion.h \ + pluma-ui.h \ + pluma-window-private.h + +INST_H_FILES = \ + pluma-app.h \ + pluma-commands.h \ + pluma-debug.h \ + pluma-document.h \ + pluma-encodings.h \ + pluma-encodings-combo-box.h \ + pluma-file-chooser-dialog.h \ + pluma-help.h \ + pluma-message-bus.h \ + pluma-message-type.h \ + pluma-message.h \ + pluma-notebook.h \ + pluma-panel.h \ + pluma-plugin.h \ + pluma-prefs-manager-app.h \ + pluma-prefs-manager.h \ + pluma-progress-message-area.h \ + pluma-statusbar.h \ + pluma-status-combo-box.h \ + pluma-tab.h \ + pluma-utils.h \ + pluma-view.h \ + pluma-window.h + +if !ENABLE_GVFS_METADATA +INST_H_FILES += pluma-metadata-manager.h +endif + +headerdir = $(prefix)/include/pluma-@PLUMA_API_VERSION@/pluma + +header_DATA = \ + $(INST_H_FILES) + + +libpluma_la_SOURCES = \ + $(BUILT_SOURCES) \ + $(BACON_FILES) \ + $(POSIXIO_FILES) \ + pluma-app.c \ + pluma-close-button.c \ + pluma-commands-documents.c \ + pluma-commands-edit.c \ + pluma-commands-file.c \ + pluma-commands-file-print.c \ + pluma-commands-help.c \ + pluma-commands-search.c \ + pluma-commands-view.c \ + pluma-debug.c \ + pluma-dirs.c \ + pluma-document.c \ + pluma-document-input-stream.c \ + pluma-document-loader.c \ + pluma-document-output-stream.c \ + pluma-gio-document-loader.c \ + pluma-document-saver.c \ + pluma-gio-document-saver.c \ + pluma-documents-panel.c \ + pluma-encodings.c \ + pluma-encodings-combo-box.c \ + pluma-file-chooser-dialog.c \ + pluma-help.c \ + pluma-history-entry.c \ + pluma-io-error-message-area.c \ + pluma-language-manager.c \ + pluma-message-bus.c \ + pluma-message-type.c \ + pluma-message.c \ + pluma-object-module.c \ + pluma-notebook.c \ + pluma-panel.c \ + pluma-plugin-info.c \ + pluma-plugin.c \ + pluma-plugin-loader.c \ + pluma-plugin-manager.c \ + pluma-plugins-engine.c \ + pluma-prefs-manager-app.c \ + pluma-prefs-manager.c \ + pluma-prefs-manager-private.h \ + pluma-print-job.c \ + pluma-print-preview.c \ + pluma-progress-message-area.c \ + pluma-session.c \ + pluma-smart-charset-converter.c \ + pluma-statusbar.c \ + pluma-status-combo-box.c \ + pluma-style-scheme-manager.c \ + pluma-tab.c \ + pluma-tab-label.c \ + pluma-utils.c \ + pluma-view.c \ + pluma-window.c \ + plumatextregion.c \ + $(NOINST_H_FILES) \ + $(INST_H_FILES) + +if !ENABLE_GVFS_METADATA +libpluma_la_SOURCES += pluma-metadata-manager.c +endif + +pluma-enum-types.h: pluma-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS) + $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template pluma-enum-types.h.template $(INST_H_FILES)) > $@ + +pluma-enum-types.c: pluma-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS) + $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template pluma-enum-types.c.template $(INST_H_FILES)) > $@ + +pluma-marshal.h: pluma-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=pluma_marshal > $@ + +pluma-marshal.c: pluma-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN) echo "#include \"pluma-marshal.h\"" > $@ && \ + $(GLIB_GENMARSHAL) $< --body --prefix=pluma_marshal >> $@ + +uidir = $(datadir)/pluma-2/ui/ +ui_DATA = \ + pluma-ui.xml \ + pluma-print-preferences.ui + +EXTRA_DIST = \ + $(ui_DATA) \ + pluma-enum-types.h.template \ + pluma-enum-types.c.template \ + pluma-marshal.list \ + pluma.rc + +CLEANFILES = $(BUILT_SOURCES) + +dist-hook: + cd $(distdir); rm -f $(BUILT_SOURCES) + +install-exec-hook: +if PLATFORM_WIN32 + $(mkinstalldirs) "$(DESTDIR)$(libdir)" + $(INSTALL_DATA) libpluma-$(PLUMA_API_VERSION).a "$(DESTDIR)$(libdir)" +else + rm -f $(DESTDIR)$(bindir)/mate-text-editor + ln -s pluma $(DESTDIR)$(bindir)/mate-text-editor +endif + +if !OS_WIN32 +BACON_DIR=$(srcdir)/../../libbacon/src/ +BACON_FILES=bacon-message-connection.h bacon-message-connection.c + +regenerate-built-sources: + BACONFILES="$(BACON_FILES)" BACONDIR="$(BACON_DIR)" $(top_srcdir)/pluma/update-from-bacon.sh +else +BACON_DIR= +endif + +if BUILD_MESSAGE_AREA +libpluma_la_SOURCES += pluma-message-area.c +INST_H_FILES += pluma-message-area.h +endif + +if BUILD_SPINNER +libpluma_la_SOURCES += pluma-spinner.c +NOINST_H_FILES += pluma-spinner.h +endif + +-include $(top_srcdir)/git.mk diff --git a/gedit/bacon-message-connection.c b/pluma/bacon-message-connection.c similarity index 100% rename from gedit/bacon-message-connection.c rename to pluma/bacon-message-connection.c diff --git a/gedit/bacon-message-connection.h b/pluma/bacon-message-connection.h similarity index 100% rename from gedit/bacon-message-connection.h rename to pluma/bacon-message-connection.h diff --git a/pluma/dialogs/Makefile.am b/pluma/dialogs/Makefile.am new file mode 100755 index 0000000..c8a822c --- /dev/null +++ b/pluma/dialogs/Makefile.am @@ -0,0 +1,31 @@ +uidir = $(datadir)/pluma-2/ui/ + +INCLUDES = \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + -I$(top_srcdir)/pluma \ + -I$(top_builddir)/pluma \ + $(PLUMA_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED_CFLAGS) + +noinst_LTLIBRARIES = libdialogs.la + +libdialogs_la_SOURCES = \ + pluma-preferences-dialog.h \ + pluma-preferences-dialog.c \ + pluma-close-confirmation-dialog.c \ + pluma-close-confirmation-dialog.h \ + pluma-encodings-dialog.c \ + pluma-encodings-dialog.h \ + pluma-search-dialog.h \ + pluma-search-dialog.c + +ui_DATA = \ + pluma-encodings-dialog.ui \ + pluma-preferences-dialog.ui \ + pluma-search-dialog.ui + +EXTRA_DIST = $(ui_DATA) + +-include $(top_srcdir)/git.mk diff --git a/gedit/dialogs/gedit-close-confirmation-dialog.c b/pluma/dialogs/pluma-close-confirmation-dialog.c similarity index 84% rename from gedit/dialogs/gedit-close-confirmation-dialog.c rename to pluma/dialogs/pluma-close-confirmation-dialog.c index 36cbf11..6bb2bd0 100755 --- a/gedit/dialogs/gedit-close-confirmation-dialog.c +++ b/pluma/dialogs/pluma-close-confirmation-dialog.c @@ -1,6 +1,6 @@ /* - * gedit-close-confirmation-dialog.c - * This file is part of gedit + * pluma-close-confirmation-dialog.c + * This file is part of pluma * * Copyright (C) 2004-2005 MATE Foundation * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2004-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2004-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -34,10 +34,10 @@ #include -#include "gedit-close-confirmation-dialog.h" -#include -#include -#include +#include "pluma-close-confirmation-dialog.h" +#include +#include +#include /* Properties */ @@ -64,7 +64,7 @@ enum N_COLUMNS }; -struct _GeditCloseConfirmationDialogPrivate +struct _PlumaCloseConfirmationDialogPrivate { gboolean logout_mode; @@ -77,17 +77,17 @@ struct _GeditCloseConfirmationDialogPrivate gboolean disable_save_to_disk; }; -#define GEDIT_CLOSE_CONFIRMATION_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \ - GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, \ - GeditCloseConfirmationDialogPrivate)) +#define PLUMA_CLOSE_CONFIRMATION_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \ + PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG, \ + PlumaCloseConfirmationDialogPrivate)) #define GET_MODE(priv) (((priv->unsaved_documents != NULL) && \ (priv->unsaved_documents->next == NULL)) ? \ SINGLE_DOC_MODE : MULTIPLE_DOCS_MODE) -G_DEFINE_TYPE(GeditCloseConfirmationDialog, gedit_close_confirmation_dialog, GTK_TYPE_DIALOG) +G_DEFINE_TYPE(PlumaCloseConfirmationDialog, pluma_close_confirmation_dialog, GTK_TYPE_DIALOG) -static void set_unsaved_document (GeditCloseConfirmationDialog *dlg, +static void set_unsaved_document (PlumaCloseConfirmationDialog *dlg, const GList *list); static GList *get_selected_docs (GtkTreeModel *store); @@ -96,13 +96,13 @@ static GList *get_selected_docs (GtkTreeModel *store); * before the user ones */ static void -response_cb (GeditCloseConfirmationDialog *dlg, +response_cb (PlumaCloseConfirmationDialog *dlg, gint response_id, gpointer data) { - GeditCloseConfirmationDialogPrivate *priv; + PlumaCloseConfirmationDialogPrivate *priv; - g_return_if_fail (GEDIT_IS_CLOSE_CONFIRMATION_DIALOG (dlg)); + g_return_if_fail (PLUMA_IS_CLOSE_CONFIRMATION_DIALOG (dlg)); priv = dlg->priv; @@ -129,7 +129,7 @@ response_cb (GeditCloseConfirmationDialog *dlg, } static void -set_logout_mode (GeditCloseConfirmationDialog *dlg, +set_logout_mode (PlumaCloseConfirmationDialog *dlg, gboolean logout_mode) { dlg->priv->logout_mode = logout_mode; @@ -140,7 +140,7 @@ set_logout_mode (GeditCloseConfirmationDialog *dlg, _("Log Out _without Saving"), GTK_RESPONSE_NO); - gedit_dialog_add_button (GTK_DIALOG (dlg), + pluma_dialog_add_button (GTK_DIALOG (dlg), _("_Cancel Logout"), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); @@ -166,12 +166,12 @@ set_logout_mode (GeditCloseConfirmationDialog *dlg, if (GET_MODE (dlg->priv) == SINGLE_DOC_MODE) { - GeditDocument *doc; + PlumaDocument *doc; - doc = GEDIT_DOCUMENT (dlg->priv->unsaved_documents->data); + doc = PLUMA_DOCUMENT (dlg->priv->unsaved_documents->data); - if (gedit_document_get_readonly (doc) || - gedit_document_is_untitled (doc)) + if (pluma_document_get_readonly (doc) || + pluma_document_is_untitled (doc)) stock_id = GTK_STOCK_SAVE_AS; } @@ -185,15 +185,15 @@ set_logout_mode (GeditCloseConfirmationDialog *dlg, } static void -gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg) +pluma_close_confirmation_dialog_init (PlumaCloseConfirmationDialog *dlg) { AtkObject *atk_obj; - dlg->priv = GEDIT_CLOSE_CONFIRMATION_DIALOG_GET_PRIVATE (dlg); + dlg->priv = PLUMA_CLOSE_CONFIRMATION_DIALOG_GET_PRIVATE (dlg); dlg->priv->disable_save_to_disk = - gedit_app_get_lockdown (gedit_app_get_default ()) - & GEDIT_LOCKDOWN_SAVE_TO_DISK; + pluma_app_get_lockdown (pluma_app_get_default ()) + & PLUMA_LOCKDOWN_SAVE_TO_DISK; gtk_container_set_border_width (GTK_CONTAINER (dlg), 5); gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), @@ -218,11 +218,11 @@ gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg) } static void -gedit_close_confirmation_dialog_finalize (GObject *object) +pluma_close_confirmation_dialog_finalize (GObject *object) { - GeditCloseConfirmationDialogPrivate *priv; + PlumaCloseConfirmationDialogPrivate *priv; - priv = GEDIT_CLOSE_CONFIRMATION_DIALOG (object)->priv; + priv = PLUMA_CLOSE_CONFIRMATION_DIALOG (object)->priv; if (priv->unsaved_documents != NULL) g_list_free (priv->unsaved_documents); @@ -231,18 +231,18 @@ gedit_close_confirmation_dialog_finalize (GObject *object) g_list_free (priv->selected_documents); /* Call the parent's destructor */ - G_OBJECT_CLASS (gedit_close_confirmation_dialog_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_close_confirmation_dialog_parent_class)->finalize (object); } static void -gedit_close_confirmation_dialog_set_property (GObject *object, +pluma_close_confirmation_dialog_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditCloseConfirmationDialog *dlg; + PlumaCloseConfirmationDialog *dlg; - dlg = GEDIT_CLOSE_CONFIRMATION_DIALOG (object); + dlg = PLUMA_CLOSE_CONFIRMATION_DIALOG (object); switch (prop_id) { @@ -261,14 +261,14 @@ gedit_close_confirmation_dialog_set_property (GObject *object, } static void -gedit_close_confirmation_dialog_get_property (GObject *object, +pluma_close_confirmation_dialog_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditCloseConfirmationDialogPrivate *priv; + PlumaCloseConfirmationDialogPrivate *priv; - priv = GEDIT_CLOSE_CONFIRMATION_DIALOG (object)->priv; + priv = PLUMA_CLOSE_CONFIRMATION_DIALOG (object)->priv; switch( prop_id ) { @@ -287,15 +287,15 @@ gedit_close_confirmation_dialog_get_property (GObject *object, } static void -gedit_close_confirmation_dialog_class_init (GeditCloseConfirmationDialogClass *klass) +pluma_close_confirmation_dialog_class_init (PlumaCloseConfirmationDialogClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - gobject_class->set_property = gedit_close_confirmation_dialog_set_property; - gobject_class->get_property = gedit_close_confirmation_dialog_get_property; - gobject_class->finalize = gedit_close_confirmation_dialog_finalize; + gobject_class->set_property = pluma_close_confirmation_dialog_set_property; + gobject_class->get_property = pluma_close_confirmation_dialog_get_property; + gobject_class->finalize = pluma_close_confirmation_dialog_finalize; - g_type_class_add_private (klass, sizeof (GeditCloseConfirmationDialogPrivate)); + g_type_class_add_private (klass, sizeof (PlumaCloseConfirmationDialogPrivate)); g_object_class_install_property (gobject_class, PROP_UNSAVED_DOCUMENTS, @@ -328,7 +328,7 @@ get_selected_docs (GtkTreeModel *store) while (valid) { gboolean to_save; - GeditDocument *doc; + PlumaDocument *doc; gtk_tree_model_get (store, &iter, SAVE_COLUMN, &to_save, @@ -346,22 +346,22 @@ get_selected_docs (GtkTreeModel *store) } GList * -gedit_close_confirmation_dialog_get_selected_documents (GeditCloseConfirmationDialog *dlg) +pluma_close_confirmation_dialog_get_selected_documents (PlumaCloseConfirmationDialog *dlg) { - g_return_val_if_fail (GEDIT_IS_CLOSE_CONFIRMATION_DIALOG (dlg), NULL); + g_return_val_if_fail (PLUMA_IS_CLOSE_CONFIRMATION_DIALOG (dlg), NULL); return g_list_copy (dlg->priv->selected_documents); } GtkWidget * -gedit_close_confirmation_dialog_new (GtkWindow *parent, +pluma_close_confirmation_dialog_new (GtkWindow *parent, GList *unsaved_documents, gboolean logout_mode) { GtkWidget *dlg; g_return_val_if_fail (unsaved_documents != NULL, NULL); - dlg = GTK_WIDGET (g_object_new (GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, + dlg = GTK_WIDGET (g_object_new (PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG, "unsaved_documents", unsaved_documents, "logout_mode", logout_mode, NULL)); @@ -369,7 +369,7 @@ gedit_close_confirmation_dialog_new (GtkWindow *parent, if (parent != NULL) { - gtk_window_group_add_window (gedit_window_get_group (GEDIT_WINDOW (parent)), + gtk_window_group_add_window (pluma_window_get_group (PLUMA_WINDOW (parent)), GTK_WINDOW (dlg)); gtk_window_set_transient_for (GTK_WINDOW (dlg), parent); @@ -379,8 +379,8 @@ gedit_close_confirmation_dialog_new (GtkWindow *parent, } GtkWidget * -gedit_close_confirmation_dialog_new_single (GtkWindow *parent, - GeditDocument *doc, +pluma_close_confirmation_dialog_new_single (GtkWindow *parent, + PlumaDocument *doc, gboolean logout_mode) { GtkWidget *dlg; @@ -389,7 +389,7 @@ gedit_close_confirmation_dialog_new_single (GtkWindow *parent, unsaved_documents = g_list_prepend (NULL, doc); - dlg = gedit_close_confirmation_dialog_new (parent, + dlg = pluma_close_confirmation_dialog_new (parent, unsaved_documents, logout_mode); @@ -399,12 +399,12 @@ gedit_close_confirmation_dialog_new_single (GtkWindow *parent, } static gchar * -get_text_secondary_label (GeditDocument *doc) +get_text_secondary_label (PlumaDocument *doc) { glong seconds; gchar *secondary_msg; - seconds = MAX (1, _gedit_document_get_seconds_since_last_save_or_load (doc)); + seconds = MAX (1, _pluma_document_get_seconds_since_last_save_or_load (doc)); if (seconds < 55) { @@ -482,20 +482,20 @@ get_text_secondary_label (GeditDocument *doc) } static void -build_single_doc_dialog (GeditCloseConfirmationDialog *dlg) +build_single_doc_dialog (PlumaCloseConfirmationDialog *dlg) { GtkWidget *hbox; GtkWidget *vbox; GtkWidget *primary_label; GtkWidget *secondary_label; GtkWidget *image; - GeditDocument *doc; + PlumaDocument *doc; gchar *doc_name; gchar *str; gchar *markup_str; g_return_if_fail (dlg->priv->unsaved_documents->data != NULL); - doc = GEDIT_DOCUMENT (dlg->priv->unsaved_documents->data); + doc = PLUMA_DOCUMENT (dlg->priv->unsaved_documents->data); /* Image */ image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, @@ -509,7 +509,7 @@ build_single_doc_dialog (GeditCloseConfirmationDialog *dlg) gtk_misc_set_alignment (GTK_MISC (primary_label), 0.0, 0.5); gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE); - doc_name = gedit_document_get_short_name_for_display (doc); + doc_name = pluma_document_get_short_name_for_display (doc); if (dlg->priv->disable_save_to_disk) { @@ -570,12 +570,12 @@ populate_model (GtkTreeModel *store, GList *docs) while (docs != NULL) { - GeditDocument *doc; + PlumaDocument *doc; gchar *name; - doc = GEDIT_DOCUMENT (docs->data); + doc = PLUMA_DOCUMENT (docs->data); - name = gedit_document_get_short_name_for_display (doc); + name = pluma_document_get_short_name_for_display (doc); gtk_list_store_append (GTK_LIST_STORE (store), &iter); gtk_list_store_set (GTK_LIST_STORE (store), &iter, @@ -609,7 +609,7 @@ save_toggled (GtkCellRendererToggle *renderer, gchar *path_str, GtkTreeModel *st } static GtkWidget * -create_treeview (GeditCloseConfirmationDialogPrivate *priv) +create_treeview (PlumaCloseConfirmationDialogPrivate *priv) { GtkListStore *store; GtkWidget *treeview; @@ -658,9 +658,9 @@ create_treeview (GeditCloseConfirmationDialogPrivate *priv) } static void -build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg) +build_multiple_docs_dialog (PlumaCloseConfirmationDialog *dlg) { - GeditCloseConfirmationDialogPrivate *priv; + PlumaCloseConfirmationDialogPrivate *priv; GtkWidget *hbox; GtkWidget *image; GtkWidget *vbox; @@ -759,10 +759,10 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg) } static void -set_unsaved_document (GeditCloseConfirmationDialog *dlg, +set_unsaved_document (PlumaCloseConfirmationDialog *dlg, const GList *list) { - GeditCloseConfirmationDialogPrivate *priv; + PlumaCloseConfirmationDialogPrivate *priv; g_return_if_fail (list != NULL); @@ -782,9 +782,9 @@ set_unsaved_document (GeditCloseConfirmationDialog *dlg, } const GList * -gedit_close_confirmation_dialog_get_unsaved_documents (GeditCloseConfirmationDialog *dlg) +pluma_close_confirmation_dialog_get_unsaved_documents (PlumaCloseConfirmationDialog *dlg) { - g_return_val_if_fail (GEDIT_IS_CLOSE_CONFIRMATION_DIALOG (dlg), NULL); + g_return_val_if_fail (PLUMA_IS_CLOSE_CONFIRMATION_DIALOG (dlg), NULL); return dlg->priv->unsaved_documents; } diff --git a/pluma/dialogs/pluma-close-confirmation-dialog.h b/pluma/dialogs/pluma-close-confirmation-dialog.h new file mode 100755 index 0000000..dfc027f --- /dev/null +++ b/pluma/dialogs/pluma-close-confirmation-dialog.h @@ -0,0 +1,75 @@ +/* + * pluma-close-confirmation-dialog.h + * This file is part of pluma + * + * Copyright (C) 2004-2005 MATE Foundation + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2004-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef __PLUMA_CLOSE_CONFIRMATION_DIALOG_H__ +#define __PLUMA_CLOSE_CONFIRMATION_DIALOG_H__ + +#include +#include + +#include + +#define PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG (pluma_close_confirmation_dialog_get_type ()) +#define PLUMA_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG, PlumaCloseConfirmationDialog)) +#define PLUMA_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG, PlumaCloseConfirmationDialogClass)) +#define PLUMA_IS_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG)) +#define PLUMA_IS_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG)) +#define PLUMA_CLOSE_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),PLUMA_TYPE_CLOSE_CONFIRMATION_DIALOG, PlumaCloseConfirmationDialogClass)) + +typedef struct _PlumaCloseConfirmationDialog PlumaCloseConfirmationDialog; +typedef struct _PlumaCloseConfirmationDialogClass PlumaCloseConfirmationDialogClass; +typedef struct _PlumaCloseConfirmationDialogPrivate PlumaCloseConfirmationDialogPrivate; + +struct _PlumaCloseConfirmationDialog +{ + GtkDialog parent; + + /*< private > */ + PlumaCloseConfirmationDialogPrivate *priv; +}; + +struct _PlumaCloseConfirmationDialogClass +{ + GtkDialogClass parent_class; +}; + +GType pluma_close_confirmation_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_close_confirmation_dialog_new (GtkWindow *parent, + GList *unsaved_documents, + gboolean logout_mode); +GtkWidget *pluma_close_confirmation_dialog_new_single (GtkWindow *parent, + PlumaDocument *doc, + gboolean logout_mode); + +const GList *pluma_close_confirmation_dialog_get_unsaved_documents (PlumaCloseConfirmationDialog *dlg); + +GList *pluma_close_confirmation_dialog_get_selected_documents (PlumaCloseConfirmationDialog *dlg); + +#endif /* __PLUMA_CLOSE_CONFIRMATION_DIALOG_H__ */ + diff --git a/gedit/dialogs/gedit-encodings-dialog.c b/pluma/dialogs/pluma-encodings-dialog.c similarity index 82% rename from gedit/dialogs/gedit-encodings-dialog.c rename to pluma/dialogs/pluma-encodings-dialog.c index b480080..b64fe1d 100755 --- a/gedit/dialogs/gedit-encodings-dialog.c +++ b/pluma/dialogs/pluma-encodings-dialog.c @@ -1,6 +1,6 @@ /* - * gedit-encodings-dialog.c - * This file is part of gedit + * pluma-encodings-dialog.c + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -38,19 +38,19 @@ #include #include -#include "gedit-encodings-dialog.h" -#include "gedit-encodings.h" -#include "gedit-prefs-manager.h" -#include "gedit-utils.h" -#include "gedit-debug.h" -#include "gedit-help.h" -#include "gedit-dirs.h" +#include "pluma-encodings-dialog.h" +#include "pluma-encodings.h" +#include "pluma-prefs-manager.h" +#include "pluma-utils.h" +#include "pluma-debug.h" +#include "pluma-help.h" +#include "pluma-dirs.h" -#define GEDIT_ENCODINGS_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_ENCODINGS_DIALOG, \ - GeditEncodingsDialogPrivate)) +#define PLUMA_ENCODINGS_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_ENCODINGS_DIALOG, \ + PlumaEncodingsDialogPrivate)) -struct _GeditEncodingsDialogPrivate +struct _PlumaEncodingsDialogPrivate { GtkListStore *available_liststore; GtkListStore *displayed_liststore; @@ -62,26 +62,26 @@ struct _GeditEncodingsDialogPrivate GSList *show_in_menu_list; }; -G_DEFINE_TYPE(GeditEncodingsDialog, gedit_encodings_dialog, GTK_TYPE_DIALOG) +G_DEFINE_TYPE(PlumaEncodingsDialog, pluma_encodings_dialog, GTK_TYPE_DIALOG) static void -gedit_encodings_dialog_finalize (GObject *object) +pluma_encodings_dialog_finalize (GObject *object) { - GeditEncodingsDialogPrivate *priv = GEDIT_ENCODINGS_DIALOG (object)->priv; + PlumaEncodingsDialogPrivate *priv = PLUMA_ENCODINGS_DIALOG (object)->priv; g_slist_free (priv->show_in_menu_list); - G_OBJECT_CLASS (gedit_encodings_dialog_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_encodings_dialog_parent_class)->finalize (object); } static void -gedit_encodings_dialog_class_init (GeditEncodingsDialogClass *klass) +pluma_encodings_dialog_class_init (PlumaEncodingsDialogClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_encodings_dialog_finalize; + object_class->finalize = pluma_encodings_dialog_finalize; - g_type_class_add_private (object_class, sizeof (GeditEncodingsDialogPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaEncodingsDialogPrivate)); } enum { @@ -103,7 +103,7 @@ count_selected_items_func (GtkTreeModel *model, static void available_selection_changed_callback (GtkTreeSelection *selection, - GeditEncodingsDialog *dialogs) + PlumaEncodingsDialog *dialogs) { int count; @@ -117,7 +117,7 @@ available_selection_changed_callback (GtkTreeSelection *selection, static void displayed_selection_changed_callback (GtkTreeSelection *selection, - GeditEncodingsDialog *dialogs) + PlumaEncodingsDialog *dialogs) { int count; @@ -137,12 +137,12 @@ get_selected_encodings_func (GtkTreeModel *model, { GSList **list = data; gchar *charset; - const GeditEncoding *enc; + const PlumaEncoding *enc; charset = NULL; gtk_tree_model_get (model, iter, COLUMN_CHARSET, &charset, -1); - enc = gedit_encoding_get_from_charset (charset); + enc = pluma_encoding_get_from_charset (charset); g_free (charset); *list = g_slist_prepend (*list, (gpointer)enc); @@ -158,16 +158,16 @@ update_shown_in_menu_tree_model (GtkListStore *store, while (list != NULL) { - const GeditEncoding *enc; + const PlumaEncoding *enc; - enc = (const GeditEncoding*) list->data; + enc = (const PlumaEncoding*) list->data; gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, COLUMN_CHARSET, - gedit_encoding_get_charset (enc), + pluma_encoding_get_charset (enc), COLUMN_NAME, - gedit_encoding_get_name (enc), -1); + pluma_encoding_get_name (enc), -1); list = g_slist_next (list); } @@ -175,7 +175,7 @@ update_shown_in_menu_tree_model (GtkListStore *store, static void add_button_clicked_callback (GtkWidget *button, - GeditEncodingsDialog *dialog) + PlumaEncodingsDialog *dialog) { GtkTreeSelection *selection; GSList *encodings; @@ -206,7 +206,7 @@ add_button_clicked_callback (GtkWidget *button, static void remove_button_clicked_callback (GtkWidget *button, - GeditEncodingsDialog *dialog) + PlumaEncodingsDialog *dialog) { GtkTreeSelection *selection; GSList *encodings; @@ -235,21 +235,21 @@ remove_button_clicked_callback (GtkWidget *button, } static void -init_shown_in_menu_tree_model (GeditEncodingsDialog *dialog) +init_shown_in_menu_tree_model (PlumaEncodingsDialog *dialog) { GtkTreeIter iter; GSList *list, *tmp; /* add data to the list store */ - list = gedit_prefs_manager_get_shown_in_menu_encodings (); + list = pluma_prefs_manager_get_shown_in_menu_encodings (); tmp = list; while (tmp != NULL) { - const GeditEncoding *enc; + const PlumaEncoding *enc; - enc = (const GeditEncoding *) tmp->data; + enc = (const PlumaEncoding *) tmp->data; dialog->priv->show_in_menu_list = g_slist_prepend (dialog->priv->show_in_menu_list, tmp->data); @@ -259,9 +259,9 @@ init_shown_in_menu_tree_model (GeditEncodingsDialog *dialog) gtk_list_store_set (dialog->priv->displayed_liststore, &iter, COLUMN_CHARSET, - gedit_encoding_get_charset (enc), + pluma_encoding_get_charset (enc), COLUMN_NAME, - gedit_encoding_get_name (enc), -1); + pluma_encoding_get_name (enc), -1); tmp = g_slist_next (tmp); } @@ -272,24 +272,24 @@ init_shown_in_menu_tree_model (GeditEncodingsDialog *dialog) static void response_handler (GtkDialog *dialog, gint response_id, - GeditEncodingsDialog *dlg) + PlumaEncodingsDialog *dlg) { if (response_id == GTK_RESPONSE_HELP) { - gedit_help_display (GTK_WINDOW (dialog), "gedit", NULL); + pluma_help_display (GTK_WINDOW (dialog), "pluma", NULL); g_signal_stop_emission_by_name (dialog, "response"); return; } if (response_id == GTK_RESPONSE_OK) { - g_return_if_fail (gedit_prefs_manager_shown_in_menu_encodings_can_set ()); - gedit_prefs_manager_set_shown_in_menu_encodings (dlg->priv->show_in_menu_list); + g_return_if_fail (pluma_prefs_manager_shown_in_menu_encodings_can_set ()); + pluma_prefs_manager_set_shown_in_menu_encodings (dlg->priv->show_in_menu_list); } } static void -gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) +pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg) { GtkWidget *content; GtkCellRenderer *cell_renderer; @@ -297,7 +297,7 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) GtkTreeViewColumn *column; GtkTreeIter parent_iter; GtkTreeSelection *selection; - const GeditEncoding *enc; + const PlumaEncoding *enc; GtkWidget *error_widget; int i; gboolean ret; @@ -307,7 +307,7 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) NULL }; - dlg->priv = GEDIT_ENCODINGS_DIALOG_GET_PRIVATE (dlg); + dlg->priv = PLUMA_ENCODINGS_DIALOG_GET_PRIVATE (dlg); gtk_dialog_add_buttons (GTK_DIALOG (dlg), GTK_STOCK_CANCEL, @@ -338,8 +338,8 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) G_CALLBACK (response_handler), dlg); - file = gedit_dirs_get_ui_file ("gedit-encodings-dialog.ui"); - ret = gedit_utils_get_ui_objects (file, + file = pluma_dirs_get_ui_file ("pluma-encodings-dialog.ui"); + ret = pluma_utils_get_ui_objects (file, root_objects, &error_widget, "encodings-dialog-contents", &content, @@ -402,16 +402,16 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) /* Add the data */ i = 0; - while ((enc = gedit_encoding_get_from_index (i)) != NULL) + while ((enc = pluma_encoding_get_from_index (i)) != NULL) { gtk_list_store_append (dlg->priv->available_liststore, &parent_iter); gtk_list_store_set (dlg->priv->available_liststore, &parent_iter, COLUMN_CHARSET, - gedit_encoding_get_charset (enc), + pluma_encoding_get_charset (enc), COLUMN_NAME, - gedit_encoding_get_name (enc), -1); + pluma_encoding_get_name (enc), -1); ++i; } @@ -488,11 +488,11 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg) } GtkWidget * -gedit_encodings_dialog_new (void) +pluma_encodings_dialog_new (void) { GtkWidget *dlg; - dlg = GTK_WIDGET (g_object_new (GEDIT_TYPE_ENCODINGS_DIALOG, NULL)); + dlg = GTK_WIDGET (g_object_new (PLUMA_TYPE_ENCODINGS_DIALOG, NULL)); return dlg; } diff --git a/pluma/dialogs/pluma-encodings-dialog.h b/pluma/dialogs/pluma-encodings-dialog.h new file mode 100755 index 0000000..a9aeed6 --- /dev/null +++ b/pluma/dialogs/pluma-encodings-dialog.h @@ -0,0 +1,86 @@ +/* + * pluma-encodings-dialog.h + * This file is part of pluma + * + * Copyright (C) 2003-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2003-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_ENCODINGS_DIALOG_H__ +#define __PLUMA_ENCODINGS_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_ENCODINGS_DIALOG (pluma_encodings_dialog_get_type()) +#define PLUMA_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_ENCODINGS_DIALOG, PlumaEncodingsDialog)) +#define PLUMA_ENCODINGS_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_ENCODINGS_DIALOG, PlumaEncodingsDialog const)) +#define PLUMA_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_ENCODINGS_DIALOG, PlumaEncodingsDialogClass)) +#define PLUMA_IS_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_ENCODINGS_DIALOG)) +#define PLUMA_IS_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_ENCODINGS_DIALOG)) +#define PLUMA_ENCODINGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_ENCODINGS_DIALOG, PlumaEncodingsDialogClass)) + + +/* Private structure type */ +typedef struct _PlumaEncodingsDialogPrivate PlumaEncodingsDialogPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaEncodingsDialog PlumaEncodingsDialog; + +struct _PlumaEncodingsDialog +{ + GtkDialog dialog; + + /*< private > */ + PlumaEncodingsDialogPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaEncodingsDialogClass PlumaEncodingsDialogClass; + +struct _PlumaEncodingsDialogClass +{ + GtkDialogClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_encodings_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_encodings_dialog_new (void); + +G_END_DECLS + +#endif /* __PLUMA_ENCODINGS_DIALOG_H__ */ + diff --git a/gedit/dialogs/gedit-encodings-dialog.ui b/pluma/dialogs/pluma-encodings-dialog.ui similarity index 100% rename from gedit/dialogs/gedit-encodings-dialog.ui rename to pluma/dialogs/pluma-encodings-dialog.ui diff --git a/gedit/dialogs/gedit-preferences-dialog.c b/pluma/dialogs/pluma-preferences-dialog.c similarity index 80% rename from gedit/dialogs/gedit-preferences-dialog.c rename to pluma/dialogs/pluma-preferences-dialog.c index 52f180f..e14cb83 100755 --- a/gedit/dialogs/gedit-preferences-dialog.c +++ b/pluma/dialogs/pluma-preferences-dialog.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-preferences-dialog.c - * This file is part of gedit + * pluma-preferences-dialog.c + * This file is part of pluma * * Copyright (C) 2001-2005 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2001-2003. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2001-2003. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -39,22 +39,22 @@ #include #include -#include +#include -#include "gedit-preferences-dialog.h" -#include "gedit-utils.h" -#include "gedit-debug.h" -#include "gedit-document.h" -#include "gedit-style-scheme-manager.h" -#include "gedit-plugin-manager.h" -#include "gedit-help.h" -#include "gedit-dirs.h" +#include "pluma-preferences-dialog.h" +#include "pluma-utils.h" +#include "pluma-debug.h" +#include "pluma-document.h" +#include "pluma-style-scheme-manager.h" +#include "pluma-plugin-manager.h" +#include "pluma-help.h" +#include "pluma-dirs.h" /* - * gedit-preferences dialog is a singleton since we don't + * pluma-preferences dialog is a singleton since we don't * want two dialogs showing an inconsistent state of the * preferences. - * When gedit_show_preferences_dialog is called and there + * When pluma_show_preferences_dialog is called and there * is already a prefs dialog dialog open, it is reparented * and shown. */ @@ -71,11 +71,11 @@ enum }; -#define GEDIT_PREFERENCES_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_PREFERENCES_DIALOG, \ - GeditPreferencesDialogPrivate)) +#define PLUMA_PREFERENCES_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_PREFERENCES_DIALOG, \ + PlumaPreferencesDialogPrivate)) -struct _GeditPreferencesDialogPrivate +struct _PlumaPreferencesDialogPrivate { GtkWidget *notebook; @@ -132,29 +132,29 @@ struct _GeditPreferencesDialogPrivate }; -G_DEFINE_TYPE(GeditPreferencesDialog, gedit_preferences_dialog, GTK_TYPE_DIALOG) +G_DEFINE_TYPE(PlumaPreferencesDialog, pluma_preferences_dialog, GTK_TYPE_DIALOG) static void -gedit_preferences_dialog_class_init (GeditPreferencesDialogClass *klass) +pluma_preferences_dialog_class_init (PlumaPreferencesDialogClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - g_type_class_add_private (object_class, sizeof (GeditPreferencesDialogPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaPreferencesDialogPrivate)); } static void dialog_response_handler (GtkDialog *dlg, gint res_id) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); switch (res_id) { case GTK_RESPONSE_HELP: - gedit_help_display (GTK_WINDOW (dlg), + pluma_help_display (GTK_WINDOW (dlg), NULL, - "gedit-prefs"); + "pluma-prefs"); g_signal_stop_emission_by_name (dlg, "response"); @@ -167,103 +167,103 @@ dialog_response_handler (GtkDialog *dlg, static void tabs_width_spinbutton_value_changed (GtkSpinButton *spin_button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (spin_button == GTK_SPIN_BUTTON (dlg->priv->tabs_width_spinbutton)); - gedit_prefs_manager_set_tabs_size (gtk_spin_button_get_value_as_int (spin_button)); + pluma_prefs_manager_set_tabs_size (gtk_spin_button_get_value_as_int (spin_button)); } static void insert_spaces_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->insert_spaces_checkbutton)); - gedit_prefs_manager_set_insert_spaces (gtk_toggle_button_get_active (button)); + pluma_prefs_manager_set_insert_spaces (gtk_toggle_button_get_active (button)); } static void auto_indent_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->auto_indent_checkbutton)); - gedit_prefs_manager_set_auto_indent (gtk_toggle_button_get_active (button)); + pluma_prefs_manager_set_auto_indent (gtk_toggle_button_get_active (button)); } static void auto_save_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->auto_save_checkbutton)); if (gtk_toggle_button_get_active (button)) { gtk_widget_set_sensitive (dlg->priv->auto_save_spinbutton, - gedit_prefs_manager_auto_save_interval_can_set()); + pluma_prefs_manager_auto_save_interval_can_set()); - gedit_prefs_manager_set_auto_save (TRUE); + pluma_prefs_manager_set_auto_save (TRUE); } else { gtk_widget_set_sensitive (dlg->priv->auto_save_spinbutton, FALSE); - gedit_prefs_manager_set_auto_save (FALSE); + pluma_prefs_manager_set_auto_save (FALSE); } } static void backup_copy_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->backup_copy_checkbutton)); - gedit_prefs_manager_set_create_backup_copy (gtk_toggle_button_get_active (button)); + pluma_prefs_manager_set_create_backup_copy (gtk_toggle_button_get_active (button)); } static void auto_save_spinbutton_value_changed (GtkSpinButton *spin_button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { g_return_if_fail (spin_button == GTK_SPIN_BUTTON (dlg->priv->auto_save_spinbutton)); - gedit_prefs_manager_set_auto_save_interval ( + pluma_prefs_manager_set_auto_save_interval ( MAX (1, gtk_spin_button_get_value_as_int (spin_button))); } static void -setup_editor_page (GeditPreferencesDialog *dlg) +setup_editor_page (PlumaPreferencesDialog *dlg) { gboolean auto_save; gint auto_save_interval; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); /* Set initial state */ gtk_spin_button_set_value (GTK_SPIN_BUTTON (dlg->priv->tabs_width_spinbutton), - (guint) gedit_prefs_manager_get_tabs_size ()); + (guint) pluma_prefs_manager_get_tabs_size ()); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->insert_spaces_checkbutton), - gedit_prefs_manager_get_insert_spaces ()); + pluma_prefs_manager_get_insert_spaces ()); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->auto_indent_checkbutton), - gedit_prefs_manager_get_auto_indent ()); + pluma_prefs_manager_get_auto_indent ()); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->backup_copy_checkbutton), - gedit_prefs_manager_get_create_backup_copy ()); + pluma_prefs_manager_get_create_backup_copy ()); - auto_save = gedit_prefs_manager_get_auto_save (); + auto_save = pluma_prefs_manager_get_auto_save (); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->auto_save_checkbutton), auto_save); - auto_save_interval = gedit_prefs_manager_get_auto_save_interval (); + auto_save_interval = pluma_prefs_manager_get_auto_save_interval (); if (auto_save_interval <= 0) auto_save_interval = GPM_DEFAULT_AUTO_SAVE_INTERVAL; @@ -272,18 +272,18 @@ setup_editor_page (GeditPreferencesDialog *dlg) /* Set widget sensitivity */ gtk_widget_set_sensitive (dlg->priv->tabs_width_hbox, - gedit_prefs_manager_tabs_size_can_set ()); + pluma_prefs_manager_tabs_size_can_set ()); gtk_widget_set_sensitive (dlg->priv->insert_spaces_checkbutton, - gedit_prefs_manager_insert_spaces_can_set ()); + pluma_prefs_manager_insert_spaces_can_set ()); gtk_widget_set_sensitive (dlg->priv->auto_indent_checkbutton, - gedit_prefs_manager_auto_indent_can_set ()); + pluma_prefs_manager_auto_indent_can_set ()); gtk_widget_set_sensitive (dlg->priv->backup_copy_checkbutton, - gedit_prefs_manager_create_backup_copy_can_set ()); + pluma_prefs_manager_create_backup_copy_can_set ()); gtk_widget_set_sensitive (dlg->priv->autosave_hbox, - gedit_prefs_manager_auto_save_can_set ()); + pluma_prefs_manager_auto_save_can_set ()); gtk_widget_set_sensitive (dlg->priv->auto_save_spinbutton, auto_save && - gedit_prefs_manager_auto_save_interval_can_set ()); + pluma_prefs_manager_auto_save_interval_can_set ()); /* Connect signal */ g_signal_connect (dlg->priv->tabs_width_spinbutton, @@ -314,32 +314,32 @@ setup_editor_page (GeditPreferencesDialog *dlg) static void display_line_numbers_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->display_line_numbers_checkbutton)); - gedit_prefs_manager_set_display_line_numbers (gtk_toggle_button_get_active (button)); + pluma_prefs_manager_set_display_line_numbers (gtk_toggle_button_get_active (button)); } static void highlight_current_line_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->highlight_current_line_checkbutton)); - gedit_prefs_manager_set_highlight_current_line (gtk_toggle_button_get_active (button)); + pluma_prefs_manager_set_highlight_current_line (gtk_toggle_button_get_active (button)); } static void bracket_matching_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->bracket_matching_checkbutton)); - gedit_prefs_manager_set_bracket_matching ( + pluma_prefs_manager_set_bracket_matching ( gtk_toggle_button_get_active (button)); } @@ -347,11 +347,11 @@ static gboolean split_button_state = TRUE; static void wrap_mode_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dlg->priv->wrap_text_checkbutton))) { - gedit_prefs_manager_set_wrap_mode (GTK_WRAP_NONE); + pluma_prefs_manager_set_wrap_mode (GTK_WRAP_NONE); gtk_widget_set_sensitive (dlg->priv->split_checkbutton, FALSE); @@ -371,20 +371,20 @@ wrap_mode_checkbutton_toggled (GtkToggleButton *button, { split_button_state = TRUE; - gedit_prefs_manager_set_wrap_mode (GTK_WRAP_WORD); + pluma_prefs_manager_set_wrap_mode (GTK_WRAP_WORD); } else { split_button_state = FALSE; - gedit_prefs_manager_set_wrap_mode (GTK_WRAP_CHAR); + pluma_prefs_manager_set_wrap_mode (GTK_WRAP_CHAR); } } } static void right_margin_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { gboolean active; @@ -392,16 +392,16 @@ right_margin_checkbutton_toggled (GtkToggleButton *button, active = gtk_toggle_button_get_active (button); - gedit_prefs_manager_set_display_right_margin (active); + pluma_prefs_manager_set_display_right_margin (active); gtk_widget_set_sensitive (dlg->priv->right_margin_position_hbox, active && - gedit_prefs_manager_right_margin_position_can_set ()); + pluma_prefs_manager_right_margin_position_can_set ()); } static void right_margin_position_spinbutton_value_changed (GtkSpinButton *spin_button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { gint value; @@ -409,29 +409,29 @@ right_margin_position_spinbutton_value_changed (GtkSpinButton *spin_but value = CLAMP (gtk_spin_button_get_value_as_int (spin_button), 1, 160); - gedit_prefs_manager_set_right_margin_position (value); + pluma_prefs_manager_set_right_margin_position (value); } static void -setup_view_page (GeditPreferencesDialog *dlg) +setup_view_page (PlumaPreferencesDialog *dlg) { GtkWrapMode wrap_mode; gboolean display_right_margin; gboolean wrap_mode_can_set; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); /* Set initial state */ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->display_line_numbers_checkbutton), - gedit_prefs_manager_get_display_line_numbers ()); + pluma_prefs_manager_get_display_line_numbers ()); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->highlight_current_line_checkbutton), - gedit_prefs_manager_get_highlight_current_line ()); + pluma_prefs_manager_get_highlight_current_line ()); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->bracket_matching_checkbutton), - gedit_prefs_manager_get_bracket_matching ()); + pluma_prefs_manager_get_bracket_matching ()); - wrap_mode = gedit_prefs_manager_get_wrap_mode (); + wrap_mode = pluma_prefs_manager_get_wrap_mode (); switch (wrap_mode ) { case GTK_WRAP_WORD: @@ -456,7 +456,7 @@ setup_view_page (GeditPreferencesDialog *dlg) } - display_right_margin = gedit_prefs_manager_get_display_right_margin (); + display_right_margin = pluma_prefs_manager_get_display_right_margin (); gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON (dlg->priv->right_margin_checkbutton), @@ -464,26 +464,26 @@ setup_view_page (GeditPreferencesDialog *dlg) gtk_spin_button_set_value ( GTK_SPIN_BUTTON (dlg->priv->right_margin_position_spinbutton), - (guint)CLAMP (gedit_prefs_manager_get_right_margin_position (), 1, 160)); + (guint)CLAMP (pluma_prefs_manager_get_right_margin_position (), 1, 160)); /* Set widgets sensitivity */ gtk_widget_set_sensitive (dlg->priv->display_line_numbers_checkbutton, - gedit_prefs_manager_display_line_numbers_can_set ()); + pluma_prefs_manager_display_line_numbers_can_set ()); gtk_widget_set_sensitive (dlg->priv->highlight_current_line_checkbutton, - gedit_prefs_manager_highlight_current_line_can_set ()); + pluma_prefs_manager_highlight_current_line_can_set ()); gtk_widget_set_sensitive (dlg->priv->bracket_matching_checkbutton, - gedit_prefs_manager_bracket_matching_can_set ()); - wrap_mode_can_set = gedit_prefs_manager_wrap_mode_can_set (); + pluma_prefs_manager_bracket_matching_can_set ()); + wrap_mode_can_set = pluma_prefs_manager_wrap_mode_can_set (); gtk_widget_set_sensitive (dlg->priv->wrap_text_checkbutton, wrap_mode_can_set); gtk_widget_set_sensitive (dlg->priv->split_checkbutton, wrap_mode_can_set && (wrap_mode != GTK_WRAP_NONE)); gtk_widget_set_sensitive (dlg->priv->right_margin_checkbutton, - gedit_prefs_manager_display_right_margin_can_set ()); + pluma_prefs_manager_display_right_margin_can_set ()); gtk_widget_set_sensitive (dlg->priv->right_margin_position_hbox, display_right_margin && - gedit_prefs_manager_right_margin_position_can_set ()); + pluma_prefs_manager_right_margin_position_can_set ()); /* Connect signals */ g_signal_connect (dlg->priv->display_line_numbers_checkbutton, @@ -518,32 +518,32 @@ setup_view_page (GeditPreferencesDialog *dlg) static void default_font_font_checkbutton_toggled (GtkToggleButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->priv->default_font_checkbutton)); if (gtk_toggle_button_get_active (button)) { gtk_widget_set_sensitive (dlg->priv->font_hbox, FALSE); - gedit_prefs_manager_set_use_default_font (TRUE); + pluma_prefs_manager_set_use_default_font (TRUE); } else { gtk_widget_set_sensitive (dlg->priv->font_hbox, - gedit_prefs_manager_editor_font_can_set ()); - gedit_prefs_manager_set_use_default_font (FALSE); + pluma_prefs_manager_editor_font_can_set ()); + pluma_prefs_manager_set_use_default_font (FALSE); } } static void editor_font_button_font_set (GtkFontButton *font_button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { const gchar *font_name; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (font_button == GTK_FONT_BUTTON (dlg->priv->font_button)); @@ -555,29 +555,29 @@ editor_font_button_font_set (GtkFontButton *font_button, return; } - gedit_prefs_manager_set_editor_font (font_name); + pluma_prefs_manager_set_editor_font (font_name); } static void -setup_font_colors_page_font_section (GeditPreferencesDialog *dlg) +setup_font_colors_page_font_section (PlumaPreferencesDialog *dlg) { gboolean use_default_font; gchar *editor_font = NULL; gchar *label; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); gtk_widget_set_tooltip_text (dlg->priv->font_button, _("Click on this button to select the font to be used by the editor")); - gedit_utils_set_atk_relation (dlg->priv->font_button, + pluma_utils_set_atk_relation (dlg->priv->font_button, dlg->priv->default_font_checkbutton, ATK_RELATION_CONTROLLED_BY); - gedit_utils_set_atk_relation (dlg->priv->default_font_checkbutton, + pluma_utils_set_atk_relation (dlg->priv->default_font_checkbutton, dlg->priv->font_button, ATK_RELATION_CONTROLLER_FOR); - editor_font = gedit_prefs_manager_get_system_font (); + editor_font = pluma_prefs_manager_get_system_font (); label = g_strdup_printf(_("_Use the system fixed width font (%s)"), editor_font); gtk_button_set_label (GTK_BUTTON (dlg->priv->default_font_checkbutton), @@ -586,11 +586,11 @@ setup_font_colors_page_font_section (GeditPreferencesDialog *dlg) g_free (label); /* read current config and setup initial state */ - use_default_font = gedit_prefs_manager_get_use_default_font (); + use_default_font = pluma_prefs_manager_get_use_default_font (); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->priv->default_font_checkbutton), use_default_font); - editor_font = gedit_prefs_manager_get_editor_font (); + editor_font = pluma_prefs_manager_get_editor_font (); if (editor_font != NULL) { gtk_font_button_set_font_name (GTK_FONT_BUTTON (dlg->priv->font_button), @@ -610,24 +610,24 @@ setup_font_colors_page_font_section (GeditPreferencesDialog *dlg) /* Set initial widget sensitivity */ gtk_widget_set_sensitive (dlg->priv->default_font_checkbutton, - gedit_prefs_manager_use_default_font_can_set ()); + pluma_prefs_manager_use_default_font_can_set ()); if (use_default_font) gtk_widget_set_sensitive (dlg->priv->font_hbox, FALSE); else gtk_widget_set_sensitive (dlg->priv->font_hbox, - gedit_prefs_manager_editor_font_can_set ()); + pluma_prefs_manager_editor_font_can_set ()); } static void -set_buttons_sensisitivity_according_to_scheme (GeditPreferencesDialog *dlg, +set_buttons_sensisitivity_according_to_scheme (PlumaPreferencesDialog *dlg, const gchar *scheme_id) { gboolean editable; editable = (scheme_id != NULL) && - _gedit_style_scheme_manager_scheme_is_gedit_user_scheme ( - gedit_get_style_scheme_manager (), + _pluma_style_scheme_manager_scheme_is_pluma_user_scheme ( + pluma_get_style_scheme_manager (), scheme_id); gtk_widget_set_sensitive (dlg->priv->uninstall_scheme_button, @@ -636,7 +636,7 @@ set_buttons_sensisitivity_according_to_scheme (GeditPreferencesDialog *dlg, static void style_scheme_changed (GtkWidget *treeview, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { GtkTreePath *path; GtkTreeIter iter; @@ -649,7 +649,7 @@ style_scheme_changed (GtkWidget *treeview, gtk_tree_model_get (GTK_TREE_MODEL (dlg->priv->schemes_treeview_model), &iter, ID_COLUMN, &id, -1); - gedit_prefs_manager_set_source_style_scheme (id); + pluma_prefs_manager_set_source_style_scheme (id); set_buttons_sensisitivity_according_to_scheme (dlg, id); @@ -660,13 +660,13 @@ static const gchar * ensure_color_scheme_id (const gchar *id) { GtkSourceStyleScheme *scheme = NULL; - GtkSourceStyleSchemeManager *manager = gedit_get_style_scheme_manager (); + GtkSourceStyleSchemeManager *manager = pluma_get_style_scheme_manager (); if (id == NULL) { gchar *pref_id; - pref_id = gedit_prefs_manager_get_source_style_scheme (); + pref_id = pluma_prefs_manager_get_source_style_scheme (); scheme = gtk_source_style_scheme_manager_get_scheme (manager, pref_id); g_free (pref_id); @@ -694,10 +694,10 @@ ensure_color_scheme_id (const gchar *id) } /* If def_id is NULL, use the default scheme as returned by - * gedit_style_scheme_manager_get_default_scheme. If this one returns NULL + * pluma_style_scheme_manager_get_default_scheme. If this one returns NULL * use the first available scheme as default */ static const gchar * -populate_color_scheme_list (GeditPreferencesDialog *dlg, const gchar *def_id) +populate_color_scheme_list (PlumaPreferencesDialog *dlg, const gchar *def_id) { GSList *schemes; GSList *l; @@ -712,7 +712,7 @@ populate_color_scheme_list (GeditPreferencesDialog *dlg, const gchar *def_id) return NULL; } - schemes = gedit_style_scheme_manager_list_schemes_sorted (gedit_get_style_scheme_manager ()); + schemes = pluma_style_scheme_manager_list_schemes_sorted (pluma_get_style_scheme_manager ()); l = schemes; while (l != NULL) { @@ -756,7 +756,7 @@ populate_color_scheme_list (GeditPreferencesDialog *dlg, const gchar *def_id) static void add_scheme_chooser_response_cb (GtkDialog *chooser, gint res_id, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { gchar* filename; const gchar *scheme_id; @@ -773,20 +773,20 @@ add_scheme_chooser_response_cb (GtkDialog *chooser, gtk_widget_hide (GTK_WIDGET (chooser)); - scheme_id = _gedit_style_scheme_manager_install_scheme ( - gedit_get_style_scheme_manager (), + scheme_id = _pluma_style_scheme_manager_install_scheme ( + pluma_get_style_scheme_manager (), filename); g_free (filename); if (scheme_id == NULL) { - gedit_warning (GTK_WINDOW (dlg), + pluma_warning (GTK_WINDOW (dlg), _("The selected color scheme cannot be installed.")); return; } - gedit_prefs_manager_set_source_style_scheme (scheme_id); + pluma_prefs_manager_set_source_style_scheme (scheme_id); scheme_id = populate_color_scheme_list (dlg, scheme_id); @@ -795,7 +795,7 @@ add_scheme_chooser_response_cb (GtkDialog *chooser, static void install_scheme_clicked (GtkButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { GtkWidget *chooser; GtkFileFilter *filter; @@ -812,7 +812,7 @@ install_scheme_clicked (GtkButton *button, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); - gedit_dialog_add_button (GTK_DIALOG (chooser), + pluma_dialog_add_button (GTK_DIALOG (chooser), _("A_dd Scheme"), GTK_STOCK_ADD, GTK_RESPONSE_ACCEPT); @@ -849,7 +849,7 @@ install_scheme_clicked (GtkButton *button, static void uninstall_scheme_clicked (GtkButton *button, - GeditPreferencesDialog *dlg) + PlumaPreferencesDialog *dlg) { GtkTreeSelection *selection; GtkTreeModel *model; @@ -870,9 +870,9 @@ uninstall_scheme_clicked (GtkButton *button, NAME_COLUMN, &name, -1); - if (!_gedit_style_scheme_manager_uninstall_scheme (gedit_get_style_scheme_manager (), id)) + if (!_pluma_style_scheme_manager_uninstall_scheme (pluma_get_style_scheme_manager (), id)) { - gedit_warning (GTK_WINDOW (dlg), + pluma_warning (GTK_WINDOW (dlg), _("Could not remove color scheme \"%s\"."), name); } @@ -925,7 +925,7 @@ uninstall_scheme_clicked (GtkButton *button, set_buttons_sensisitivity_according_to_scheme (dlg, real_new_id); if (real_new_id != NULL) - gedit_prefs_manager_set_source_style_scheme (real_new_id); + pluma_prefs_manager_set_source_style_scheme (real_new_id); } g_free (id); @@ -973,14 +973,14 @@ scheme_description_cell_data_func (GtkTreeViewColumn *column, } static void -setup_font_colors_page_style_scheme_section (GeditPreferencesDialog *dlg) +setup_font_colors_page_style_scheme_section (PlumaPreferencesDialog *dlg) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; GtkTreeSelection *selection; const gchar *def_id; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); /* Create GtkListStore for styles & setup treeview. */ dlg->priv->schemes_treeview_model = gtk_list_store_new (NUM_COLUMNS, @@ -1033,20 +1033,20 @@ setup_font_colors_page_style_scheme_section (GeditPreferencesDialog *dlg) } static void -setup_font_colors_page (GeditPreferencesDialog *dlg) +setup_font_colors_page (PlumaPreferencesDialog *dlg) { setup_font_colors_page_font_section (dlg); setup_font_colors_page_style_scheme_section (dlg); } static void -setup_plugins_page (GeditPreferencesDialog *dlg) +setup_plugins_page (PlumaPreferencesDialog *dlg) { GtkWidget *page_content; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - page_content = gedit_plugin_manager_new (); + page_content = pluma_plugin_manager_new (); g_return_if_fail (page_content != NULL); gtk_box_pack_start (GTK_BOX (dlg->priv->plugin_manager_place_holder), @@ -1059,7 +1059,7 @@ setup_plugins_page (GeditPreferencesDialog *dlg) } static void -gedit_preferences_dialog_init (GeditPreferencesDialog *dlg) +pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg) { GtkWidget *error_widget; gboolean ret; @@ -1073,9 +1073,9 @@ gedit_preferences_dialog_init (GeditPreferencesDialog *dlg) NULL }; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - dlg->priv = GEDIT_PREFERENCES_DIALOG_GET_PRIVATE (dlg); + dlg->priv = PLUMA_PREFERENCES_DIALOG_GET_PRIVATE (dlg); gtk_dialog_add_buttons (GTK_DIALOG (dlg), GTK_STOCK_CLOSE, @@ -1084,7 +1084,7 @@ gedit_preferences_dialog_init (GeditPreferencesDialog *dlg) GTK_RESPONSE_HELP, NULL); - gtk_window_set_title (GTK_WINDOW (dlg), _("gedit Preferences")); + gtk_window_set_title (GTK_WINDOW (dlg), _("pluma Preferences")); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE); @@ -1100,8 +1100,8 @@ gedit_preferences_dialog_init (GeditPreferencesDialog *dlg) G_CALLBACK (dialog_response_handler), NULL); - file = gedit_dirs_get_ui_file ("gedit-preferences-dialog.ui"); - ret = gedit_utils_get_ui_objects (file, + file = pluma_dirs_get_ui_file ("pluma-preferences-dialog.ui"); + ret = pluma_utils_get_ui_objects (file, root_objects, &error_widget, @@ -1164,15 +1164,15 @@ gedit_preferences_dialog_init (GeditPreferencesDialog *dlg) } void -gedit_show_preferences_dialog (GeditWindow *parent) +pluma_show_preferences_dialog (PlumaWindow *parent) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_if_fail (GEDIT_IS_WINDOW (parent)); + g_return_if_fail (PLUMA_IS_WINDOW (parent)); if (preferences_dialog == NULL) { - preferences_dialog = GTK_WIDGET (g_object_new (GEDIT_TYPE_PREFERENCES_DIALOG, NULL)); + preferences_dialog = GTK_WIDGET (g_object_new (PLUMA_TYPE_PREFERENCES_DIALOG, NULL)); g_signal_connect (preferences_dialog, "destroy", G_CALLBACK (gtk_widget_destroyed), diff --git a/pluma/dialogs/pluma-preferences-dialog.h b/pluma/dialogs/pluma-preferences-dialog.h new file mode 100755 index 0000000..d66a79d --- /dev/null +++ b/pluma/dialogs/pluma-preferences-dialog.h @@ -0,0 +1,87 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-preferences-dialog.c + * This file is part of pluma + * + * Copyright (C) 2001-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2003. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PREFERENCES_DIALOG_H__ +#define __PLUMA_PREFERENCES_DIALOG_H__ + +#include "pluma-window.h" + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PREFERENCES_DIALOG (pluma_preferences_dialog_get_type()) +#define PLUMA_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PREFERENCES_DIALOG, PlumaPreferencesDialog)) +#define PLUMA_PREFERENCES_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PREFERENCES_DIALOG, PlumaPreferencesDialog const)) +#define PLUMA_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PREFERENCES_DIALOG, PlumaPreferencesDialogClass)) +#define PLUMA_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PREFERENCES_DIALOG)) +#define PLUMA_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PREFERENCES_DIALOG)) +#define PLUMA_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PREFERENCES_DIALOG, PlumaPreferencesDialogClass)) + + +/* Private structure type */ +typedef struct _PlumaPreferencesDialogPrivate PlumaPreferencesDialogPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaPreferencesDialog PlumaPreferencesDialog; + +struct _PlumaPreferencesDialog +{ + GtkDialog dialog; + + /*< private > */ + PlumaPreferencesDialogPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaPreferencesDialogClass PlumaPreferencesDialogClass; + +struct _PlumaPreferencesDialogClass +{ + GtkDialogClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_preferences_dialog_get_type (void) G_GNUC_CONST; + +void pluma_show_preferences_dialog (PlumaWindow *parent); + +G_END_DECLS + +#endif /* __PLUMA_PREFERENCES_DIALOG_H__ */ + diff --git a/gedit/dialogs/gedit-preferences-dialog.ui b/pluma/dialogs/pluma-preferences-dialog.ui similarity index 100% rename from gedit/dialogs/gedit-preferences-dialog.ui rename to pluma/dialogs/pluma-preferences-dialog.ui diff --git a/gedit/dialogs/gedit-search-dialog.c b/pluma/dialogs/pluma-search-dialog.c similarity index 69% rename from gedit/dialogs/gedit-search-dialog.c rename to pluma/dialogs/pluma-search-dialog.c index 5a05993..af1b379 100755 --- a/gedit/dialogs/gedit-search-dialog.c +++ b/pluma/dialogs/pluma-search-dialog.c @@ -1,6 +1,6 @@ /* - * gedit-search-dialog.c - * This file is part of gedit + * pluma-search-dialog.c + * This file is part of pluma * * Copyright (C) 2005 Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,15 +36,15 @@ #include #include -#include "gedit-search-dialog.h" -#include "gedit-history-entry.h" -#include "gedit-utils.h" -#include "gedit-marshal.h" -#include "gedit-dirs.h" +#include "pluma-search-dialog.h" +#include "pluma-history-entry.h" +#include "pluma-utils.h" +#include "pluma-marshal.h" +#include "pluma-dirs.h" -#define GEDIT_SEARCH_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_SEARCH_DIALOG, \ - GeditSearchDialogPrivate)) +#define PLUMA_SEARCH_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_SEARCH_DIALOG, \ + PlumaSearchDialogPrivate)) /* Signals */ enum @@ -55,7 +55,7 @@ enum static guint dialog_signals [LAST_SIGNAL] = { 0 }; -struct _GeditSearchDialogPrivate +struct _PlumaSearchDialogPrivate { gboolean show_replace; @@ -77,7 +77,7 @@ struct _GeditSearchDialogPrivate gboolean ui_error; }; -G_DEFINE_TYPE(GeditSearchDialog, gedit_search_dialog, GTK_TYPE_DIALOG) +G_DEFINE_TYPE(PlumaSearchDialog, pluma_search_dialog, GTK_TYPE_DIALOG) enum { @@ -86,17 +86,17 @@ enum }; static void -gedit_search_dialog_set_property (GObject *object, +pluma_search_dialog_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditSearchDialog *dlg = GEDIT_SEARCH_DIALOG (object); + PlumaSearchDialog *dlg = PLUMA_SEARCH_DIALOG (object); switch (prop_id) { case PROP_SHOW_REPLACE: - gedit_search_dialog_set_show_replace (dlg, + pluma_search_dialog_set_show_replace (dlg, g_value_get_boolean (value)); break; default: @@ -106,12 +106,12 @@ gedit_search_dialog_set_property (GObject *object, } static void -gedit_search_dialog_get_property (GObject *object, +pluma_search_dialog_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditSearchDialog *dlg = GEDIT_SEARCH_DIALOG (object); + PlumaSearchDialog *dlg = PLUMA_SEARCH_DIALOG (object); switch (prop_id) { @@ -125,10 +125,10 @@ gedit_search_dialog_get_property (GObject *object, } void -gedit_search_dialog_present_with_time (GeditSearchDialog *dialog, +pluma_search_dialog_present_with_time (PlumaSearchDialog *dialog, guint32 timestamp) { - g_return_if_fail (GEDIT_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_SEARCH_DIALOG (dialog)); gtk_window_present_with_time (GTK_WINDOW (dialog), timestamp); @@ -136,21 +136,21 @@ gedit_search_dialog_present_with_time (GeditSearchDialog *dialog, } static gboolean -show_replace (GeditSearchDialog *dlg) +show_replace (PlumaSearchDialog *dlg) { - gedit_search_dialog_set_show_replace (dlg, TRUE); + pluma_search_dialog_set_show_replace (dlg, TRUE); return TRUE; } static void -gedit_search_dialog_class_init (GeditSearchDialogClass *klass) +pluma_search_dialog_class_init (PlumaSearchDialogClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkBindingSet *binding_set; - object_class->set_property = gedit_search_dialog_set_property; - object_class->get_property = gedit_search_dialog_get_property; + object_class->set_property = pluma_search_dialog_set_property; + object_class->get_property = pluma_search_dialog_get_property; klass->show_replace = show_replace; @@ -158,9 +158,9 @@ gedit_search_dialog_class_init (GeditSearchDialogClass *klass) g_signal_new ("show_replace", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (GeditSearchDialogClass, show_replace), + G_STRUCT_OFFSET (PlumaSearchDialogClass, show_replace), NULL, NULL, - gedit_marshal_BOOLEAN__NONE, + pluma_marshal_BOOLEAN__NONE, G_TYPE_BOOLEAN, 0); g_object_class_install_property (object_class, PROP_SHOW_REPLACE, @@ -170,7 +170,7 @@ gedit_search_dialog_class_init (GeditSearchDialogClass *klass) FALSE, G_PARAM_READWRITE)); - g_type_class_add_private (object_class, sizeof (GeditSearchDialogPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaSearchDialogPrivate)); binding_set = gtk_binding_set_by_class (klass); @@ -196,7 +196,7 @@ insert_text_handler (GtkEditable *editable, if (insert_text) return; - escaped_text = gedit_utils_escape_search_text (text); + escaped_text = pluma_utils_escape_search_text (text); new_len = strlen (escaped_text); @@ -219,7 +219,7 @@ insert_text_handler (GtkEditable *editable, static void search_text_entry_changed (GtkEditable *editable, - GeditSearchDialog *dialog) + PlumaSearchDialog *dialog) { const gchar *search_string; @@ -229,23 +229,23 @@ search_text_entry_changed (GtkEditable *editable, if (*search_string != '\0') { gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_FIND_RESPONSE, TRUE); + PLUMA_SEARCH_DIALOG_FIND_RESPONSE, TRUE); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, TRUE); + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, TRUE); } else { gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_FIND_RESPONSE, FALSE); + PLUMA_SEARCH_DIALOG_FIND_RESPONSE, FALSE); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE, FALSE); + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE, FALSE); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, FALSE); + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, FALSE); } } static void -response_handler (GeditSearchDialog *dialog, +response_handler (PlumaSearchDialog *dialog, gint response_id, gpointer data) { @@ -253,30 +253,30 @@ response_handler (GeditSearchDialog *dialog, switch (response_id) { - case GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE: - case GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE: + case PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE: + case PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE: str = gtk_entry_get_text (GTK_ENTRY (dialog->priv->replace_text_entry)); if (*str != '\0') { gchar *text; - text = gedit_utils_unescape_search_text (str); - gedit_history_entry_prepend_text - (GEDIT_HISTORY_ENTRY (dialog->priv->replace_entry), + text = pluma_utils_unescape_search_text (str); + pluma_history_entry_prepend_text + (PLUMA_HISTORY_ENTRY (dialog->priv->replace_entry), text); g_free (text); } /* fall through, so that we also save the find entry */ - case GEDIT_SEARCH_DIALOG_FIND_RESPONSE: + case PLUMA_SEARCH_DIALOG_FIND_RESPONSE: str = gtk_entry_get_text (GTK_ENTRY (dialog->priv->search_text_entry)); if (*str != '\0') { gchar *text; - text = gedit_utils_unescape_search_text (str); - gedit_history_entry_prepend_text - (GEDIT_HISTORY_ENTRY (dialog->priv->search_entry), + text = pluma_utils_unescape_search_text (str); + pluma_history_entry_prepend_text + (PLUMA_HISTORY_ENTRY (dialog->priv->search_entry), text); g_free (text); @@ -285,7 +285,7 @@ response_handler (GeditSearchDialog *dialog, } static void -show_replace_widgets (GeditSearchDialog *dlg, +show_replace_widgets (PlumaSearchDialog *dlg, gboolean show_replace) { if (show_replace) @@ -315,7 +315,7 @@ show_replace_widgets (GeditSearchDialog *dlg, } static void -gedit_search_dialog_init (GeditSearchDialog *dlg) +pluma_search_dialog_init (PlumaSearchDialog *dlg) { GtkWidget *content; GtkWidget *error_widget; @@ -326,7 +326,7 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) NULL }; - dlg->priv = GEDIT_SEARCH_DIALOG_GET_PRIVATE (dlg); + dlg->priv = PLUMA_SEARCH_DIALOG_GET_PRIVATE (dlg); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); @@ -345,8 +345,8 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 6); - file = gedit_dirs_get_ui_file ("gedit-search-dialog.ui"); - ret = gedit_utils_get_ui_objects (file, + file = pluma_dirs_get_ui_file ("pluma-search-dialog.ui"); + ret = pluma_utils_get_ui_objects (file, root_objects, &error_widget, "search_dialog_content", &content, @@ -375,15 +375,15 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) return; } - dlg->priv->search_entry = gedit_history_entry_new ("gedit2_search_for_entry", + dlg->priv->search_entry = pluma_history_entry_new ("pluma2_search_for_entry", TRUE); gtk_widget_set_size_request (dlg->priv->search_entry, 300, -1); - gedit_history_entry_set_escape_func - (GEDIT_HISTORY_ENTRY (dlg->priv->search_entry), - (GeditHistoryEntryEscapeFunc) gedit_utils_escape_search_text); + pluma_history_entry_set_escape_func + (PLUMA_HISTORY_ENTRY (dlg->priv->search_entry), + (PlumaHistoryEntryEscapeFunc) pluma_utils_escape_search_text); - dlg->priv->search_text_entry = gedit_history_entry_get_entry - (GEDIT_HISTORY_ENTRY (dlg->priv->search_entry)); + dlg->priv->search_text_entry = pluma_history_entry_get_entry + (PLUMA_HISTORY_ENTRY (dlg->priv->search_entry)); gtk_entry_set_activates_default (GTK_ENTRY (dlg->priv->search_text_entry), TRUE); gtk_widget_show (dlg->priv->search_entry); @@ -391,14 +391,14 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) dlg->priv->search_entry, 1, 2, 0, 1); - dlg->priv->replace_entry = gedit_history_entry_new ("gedit2_replace_with_entry", + dlg->priv->replace_entry = pluma_history_entry_new ("pluma2_replace_with_entry", TRUE); - gedit_history_entry_set_escape_func - (GEDIT_HISTORY_ENTRY (dlg->priv->replace_entry), - (GeditHistoryEntryEscapeFunc) gedit_utils_escape_search_text); + pluma_history_entry_set_escape_func + (PLUMA_HISTORY_ENTRY (dlg->priv->replace_entry), + (PlumaHistoryEntryEscapeFunc) pluma_utils_escape_search_text); - dlg->priv->replace_text_entry = gedit_history_entry_get_entry - (GEDIT_HISTORY_ENTRY (dlg->priv->replace_entry)); + dlg->priv->replace_text_entry = pluma_history_entry_get_entry + (PLUMA_HISTORY_ENTRY (dlg->priv->replace_entry)); gtk_entry_set_activates_default (GTK_ENTRY (dlg->priv->replace_text_entry), TRUE); gtk_widget_show (dlg->priv->replace_entry); @@ -413,34 +413,34 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) dlg->priv->find_button = gtk_button_new_from_stock (GTK_STOCK_FIND); dlg->priv->replace_all_button = gtk_button_new_with_mnemonic (_("Replace _All")); - dlg->priv->replace_button = gedit_gtk_button_new_with_stock_icon (_("_Replace"), + dlg->priv->replace_button = pluma_gtk_button_new_with_stock_icon (_("_Replace"), GTK_STOCK_FIND_AND_REPLACE); gtk_dialog_add_action_widget (GTK_DIALOG (dlg), dlg->priv->replace_all_button, - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE); + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE); gtk_dialog_add_action_widget (GTK_DIALOG (dlg), dlg->priv->replace_button, - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE); + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE); gtk_dialog_add_action_widget (GTK_DIALOG (dlg), dlg->priv->find_button, - GEDIT_SEARCH_DIALOG_FIND_RESPONSE); + PLUMA_SEARCH_DIALOG_FIND_RESPONSE); g_object_set (G_OBJECT (dlg->priv->find_button), "can-default", TRUE, NULL); gtk_dialog_set_default_response (GTK_DIALOG (dlg), - GEDIT_SEARCH_DIALOG_FIND_RESPONSE); + PLUMA_SEARCH_DIALOG_FIND_RESPONSE); /* insensitive by default */ gtk_dialog_set_response_sensitive (GTK_DIALOG (dlg), - GEDIT_SEARCH_DIALOG_FIND_RESPONSE, + PLUMA_SEARCH_DIALOG_FIND_RESPONSE, FALSE); gtk_dialog_set_response_sensitive (GTK_DIALOG (dlg), - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE, FALSE); gtk_dialog_set_response_sensitive (GTK_DIALOG (dlg), - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, FALSE); gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), @@ -468,12 +468,12 @@ gedit_search_dialog_init (GeditSearchDialog *dlg) } GtkWidget * -gedit_search_dialog_new (GtkWindow *parent, +pluma_search_dialog_new (GtkWindow *parent, gboolean show_replace) { - GeditSearchDialog *dlg; + PlumaSearchDialog *dlg; - dlg = g_object_new (GEDIT_TYPE_SEARCH_DIALOG, + dlg = g_object_new (PLUMA_TYPE_SEARCH_DIALOG, "show-replace", show_replace, NULL); @@ -490,18 +490,18 @@ gedit_search_dialog_new (GtkWindow *parent, } gboolean -gedit_search_dialog_get_show_replace (GeditSearchDialog *dialog) +pluma_search_dialog_get_show_replace (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), FALSE); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), FALSE); return dialog->priv->show_replace; } void -gedit_search_dialog_set_show_replace (GeditSearchDialog *dialog, +pluma_search_dialog_set_show_replace (PlumaSearchDialog *dialog, gboolean show_replace) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); if (dialog->priv->ui_error) return; @@ -513,21 +513,21 @@ gedit_search_dialog_set_show_replace (GeditSearchDialog *dialog, } void -gedit_search_dialog_set_search_text (GeditSearchDialog *dialog, +pluma_search_dialog_set_search_text (PlumaSearchDialog *dialog, const gchar *text) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); g_return_if_fail (text != NULL); gtk_entry_set_text (GTK_ENTRY (dialog->priv->search_text_entry), text); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_FIND_RESPONSE, + PLUMA_SEARCH_DIALOG_FIND_RESPONSE, (text != '\0')); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE, (text != '\0')); } @@ -535,18 +535,18 @@ gedit_search_dialog_set_search_text (GeditSearchDialog *dialog, * The text must be unescaped before searching. */ const gchar * -gedit_search_dialog_get_search_text (GeditSearchDialog *dialog) +pluma_search_dialog_get_search_text (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), NULL); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), NULL); return gtk_entry_get_text (GTK_ENTRY (dialog->priv->search_text_entry)); } void -gedit_search_dialog_set_replace_text (GeditSearchDialog *dialog, +pluma_search_dialog_set_replace_text (PlumaSearchDialog *dialog, const gchar *text) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); g_return_if_fail (text != NULL); gtk_entry_set_text (GTK_ENTRY (dialog->priv->replace_text_entry), @@ -554,81 +554,81 @@ gedit_search_dialog_set_replace_text (GeditSearchDialog *dialog, } const gchar * -gedit_search_dialog_get_replace_text (GeditSearchDialog *dialog) +pluma_search_dialog_get_replace_text (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), NULL); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), NULL); return gtk_entry_get_text (GTK_ENTRY (dialog->priv->replace_text_entry)); } void -gedit_search_dialog_set_match_case (GeditSearchDialog *dialog, +pluma_search_dialog_set_match_case (PlumaSearchDialog *dialog, gboolean match_case) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->match_case_checkbutton), match_case); } gboolean -gedit_search_dialog_get_match_case (GeditSearchDialog *dialog) +pluma_search_dialog_get_match_case (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), FALSE); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), FALSE); return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->match_case_checkbutton)); } void -gedit_search_dialog_set_entire_word (GeditSearchDialog *dialog, +pluma_search_dialog_set_entire_word (PlumaSearchDialog *dialog, gboolean entire_word) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->entire_word_checkbutton), entire_word); } gboolean -gedit_search_dialog_get_entire_word (GeditSearchDialog *dialog) +pluma_search_dialog_get_entire_word (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), FALSE); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), FALSE); return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->entire_word_checkbutton)); } void -gedit_search_dialog_set_backwards (GeditSearchDialog *dialog, +pluma_search_dialog_set_backwards (PlumaSearchDialog *dialog, gboolean backwards) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->backwards_checkbutton), backwards); } gboolean -gedit_search_dialog_get_backwards (GeditSearchDialog *dialog) +pluma_search_dialog_get_backwards (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), FALSE); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), FALSE); return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->backwards_checkbutton)); } void -gedit_search_dialog_set_wrap_around (GeditSearchDialog *dialog, +pluma_search_dialog_set_wrap_around (PlumaSearchDialog *dialog, gboolean wrap_around) { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->wrap_around_checkbutton), wrap_around); } gboolean -gedit_search_dialog_get_wrap_around (GeditSearchDialog *dialog) +pluma_search_dialog_get_wrap_around (PlumaSearchDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_SEARCH_DIALOG (dialog), FALSE); + g_return_val_if_fail (PLUMA_IS_SEARCH_DIALOG (dialog), FALSE); return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->wrap_around_checkbutton)); } diff --git a/pluma/dialogs/pluma-search-dialog.h b/pluma/dialogs/pluma-search-dialog.h new file mode 100755 index 0000000..f45672a --- /dev/null +++ b/pluma/dialogs/pluma-search-dialog.h @@ -0,0 +1,128 @@ +/* + * pluma-search-dialog.h + * This file is part of pluma + * + * Copyright (C) 2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_SEARCH_DIALOG_H__ +#define __PLUMA_SEARCH_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_SEARCH_DIALOG (pluma_search_dialog_get_type()) +#define PLUMA_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_SEARCH_DIALOG, PlumaSearchDialog)) +#define PLUMA_SEARCH_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_SEARCH_DIALOG, PlumaSearchDialog const)) +#define PLUMA_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_SEARCH_DIALOG, PlumaSearchDialogClass)) +#define PLUMA_IS_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_SEARCH_DIALOG)) +#define PLUMA_IS_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_SEARCH_DIALOG)) +#define PLUMA_SEARCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_SEARCH_DIALOG, PlumaSearchDialogClass)) + +/* Private structure type */ +typedef struct _PlumaSearchDialogPrivate PlumaSearchDialogPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaSearchDialog PlumaSearchDialog; + +struct _PlumaSearchDialog +{ + GtkDialog dialog; + + /*< private > */ + PlumaSearchDialogPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaSearchDialogClass PlumaSearchDialogClass; + +struct _PlumaSearchDialogClass +{ + GtkDialogClass parent_class; + + /* Key bindings */ + gboolean (* show_replace) (PlumaSearchDialog *dlg); +}; + +enum +{ + PLUMA_SEARCH_DIALOG_FIND_RESPONSE = 100, + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE +}; + +/* + * Public methods + */ +GType pluma_search_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_search_dialog_new (GtkWindow *parent, + gboolean show_replace); + +void pluma_search_dialog_present_with_time (PlumaSearchDialog *dialog, + guint32 timestamp); + +gboolean pluma_search_dialog_get_show_replace (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_show_replace (PlumaSearchDialog *dialog, + gboolean show_replace); + + +void pluma_search_dialog_set_search_text (PlumaSearchDialog *dialog, + const gchar *text); +const gchar *pluma_search_dialog_get_search_text (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_replace_text (PlumaSearchDialog *dialog, + const gchar *text); +const gchar *pluma_search_dialog_get_replace_text (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_match_case (PlumaSearchDialog *dialog, + gboolean match_case); +gboolean pluma_search_dialog_get_match_case (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_entire_word (PlumaSearchDialog *dialog, + gboolean entire_word); +gboolean pluma_search_dialog_get_entire_word (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_backwards (PlumaSearchDialog *dialog, + gboolean backwards); +gboolean pluma_search_dialog_get_backwards (PlumaSearchDialog *dialog); + +void pluma_search_dialog_set_wrap_around (PlumaSearchDialog *dialog, + gboolean wrap_around); +gboolean pluma_search_dialog_get_wrap_around (PlumaSearchDialog *dialog); + +G_END_DECLS + +#endif /* __PLUMA_SEARCH_DIALOG_H__ */ diff --git a/gedit/dialogs/gedit-search-dialog.ui b/pluma/dialogs/pluma-search-dialog.ui similarity index 100% rename from gedit/dialogs/gedit-search-dialog.ui rename to pluma/dialogs/pluma-search-dialog.ui diff --git a/gedit/osx/Makefile.am b/pluma/osx/Makefile.am similarity index 69% rename from gedit/osx/Makefile.am rename to pluma/osx/Makefile.am index 4d73416..994b9ff 100755 --- a/gedit/osx/Makefile.am +++ b/pluma/osx/Makefile.am @@ -1,9 +1,9 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_builddir) \ - -I$(top_srcdir)/gedit \ - -I$(top_builddir)/gedit \ - $(GEDIT_CFLAGS) \ + -I$(top_srcdir)/pluma \ + -I$(top_builddir)/pluma \ + $(PLUMA_CFLAGS) \ $(IGE_MAC_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) @@ -15,9 +15,9 @@ libosx_la_LIBADD = -lobjc libosx_la_CFLAGS = -xobjective-c libosx_la_SOURCES = \ - gedit-osx.c \ - gedit-osx.h \ - gedit-osx-delegate.m \ - gedit-osx-delegate.h + pluma-osx.c \ + pluma-osx.h \ + pluma-osx-delegate.m \ + pluma-osx-delegate.h -include $(top_srcdir)/git.mk diff --git a/gedit/osx/gedit-osx-delegate.h b/pluma/osx/pluma-osx-delegate.h similarity index 55% rename from gedit/osx/gedit-osx-delegate.h rename to pluma/osx/pluma-osx-delegate.h index 0b4411e..f6eb2ae 100755 --- a/gedit/osx/gedit-osx-delegate.h +++ b/pluma/osx/pluma-osx-delegate.h @@ -1,9 +1,9 @@ -#ifndef GEDIT_OSX_DELEGATE_H_ -#define GEDIT_OSX_DELEGATE_H_ +#ifndef PLUMA_OSX_DELEGATE_H_ +#define PLUMA_OSX_DELEGATE_H_ #import -@interface GeditOSXDelegate : NSObject +@interface PlumaOSXDelegate : NSObject { } @@ -13,4 +13,4 @@ @end -#endif /* GEDIT_OSX_DELEGATE_H_ */ +#endif /* PLUMA_OSX_DELEGATE_H_ */ diff --git a/gedit/osx/gedit-osx-delegate.m b/pluma/osx/pluma-osx-delegate.m similarity index 80% rename from gedit/osx/gedit-osx-delegate.m rename to pluma/osx/pluma-osx-delegate.m index 41b0b26..15ecf81 100755 --- a/gedit/osx/gedit-osx-delegate.m +++ b/pluma/osx/pluma-osx-delegate.m @@ -1,12 +1,12 @@ -#import "gedit-osx-delegate.h" +#import "pluma-osx-delegate.h" #import #import #import #include -#include -#include +#include +#include -@implementation GeditOSXDelegate +@implementation PlumaOSXDelegate -(id)init { if ((self = [super init])) @@ -22,11 +22,11 @@ return self; } -static GeditWindow * +static PlumaWindow * get_window(NSAppleEventDescriptor *event) { - GeditApp *app = gedit_app_get_default (); - return gedit_app_get_active_window (app); + PlumaApp *app = pluma_app_get_default (); + return pluma_app_get_active_window (app); } - (void)openFiles:(NSAppleEventDescriptor*)event @@ -73,8 +73,8 @@ get_window(NSAppleEventDescriptor *event) if (uris != NULL) { - GeditWindow *window = get_window (event); - gedit_commands_load_uris (window, uris, NULL, 0); + PlumaWindow *window = get_window (event); + pluma_commands_load_uris (window, uris, NULL, 0); g_slist_foreach (uris, (GFunc)g_free, NULL); g_slist_free (uris); diff --git a/gedit/osx/gedit-osx.c b/pluma/osx/pluma-osx.c similarity index 57% rename from gedit/osx/gedit-osx.c rename to pluma/osx/pluma-osx.c index e7a18d4..b9e23c9 100755 --- a/gedit/osx/gedit-osx.c +++ b/pluma/osx/pluma-osx.c @@ -1,17 +1,17 @@ -#include "gedit-osx.h" +#include "pluma-osx.h" #include #include -#import "gedit-osx-delegate.h" +#import "pluma-osx-delegate.h" void -gedit_osx_set_window_title (GeditWindow *window, +pluma_osx_set_window_title (PlumaWindow *window, gchar const *title, - GeditDocument *document) + PlumaDocument *document) { NSWindow *native; - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); if (GTK_WIDGET (window)->window == NULL) { @@ -24,19 +24,19 @@ gedit_osx_set_window_title (GeditWindow *window, { bool ismodified; - if (gedit_document_is_untitled (document)) + if (pluma_document_is_untitled (document)) { [native setRepresentedURL:nil]; } else { - const gchar *uri = gedit_document_get_uri (document); + const gchar *uri = pluma_document_get_uri (document); NSURL *nsurl = [NSURL URLWithString:[NSString stringWithUTF8String:uri]]; [native setRepresentedURL:nsurl]; } - ismodified = !gedit_document_is_untouched (document); + ismodified = !pluma_document_is_untouched (document); [native setDocumentEdited:ismodified]; } else @@ -49,46 +49,46 @@ gedit_osx_set_window_title (GeditWindow *window, } gboolean -gedit_osx_show_url (const gchar *url) +pluma_osx_show_url (const gchar *url) { return [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[NSString stringWithUTF8String:url]]]; } gboolean -gedit_osx_show_help (const gchar *link_id) +pluma_osx_show_help (const gchar *link_id) { gchar *link; gboolean ret; if (link_id) { - link = g_strdup_printf ("http://library.mate.org/users/gedit/stable/%s", + link = g_strdup_printf ("http://library.gnome.org/users/pluma/stable/%s", link_id); } else { - link = g_strdup ("http://library.mate.org/users/gedit/stable/"); + link = g_strdup ("http://library.gnome.org/users/pluma/stable/"); } - ret = gedit_osx_show_url (link); + ret = pluma_osx_show_url (link); g_free (link); return ret; } static void -destroy_delegate (GeditOSXDelegate *delegate) +destroy_delegate (PlumaOSXDelegate *delegate) { [delegate dealloc]; } void -gedit_osx_init(GeditApp *app) +pluma_osx_init(PlumaApp *app) { - GeditOSXDelegate *delegate = [[GeditOSXDelegate alloc] init]; + PlumaOSXDelegate *delegate = [[PlumaOSXDelegate alloc] init]; g_object_set_data_full (G_OBJECT (app), - "GeditOSXDelegate", + "PlumaOSXDelegate", delegate, (GDestroyNotify)destroy_delegate); } \ No newline at end of file diff --git a/pluma/osx/pluma-osx.h b/pluma/osx/pluma-osx.h new file mode 100755 index 0000000..df06865 --- /dev/null +++ b/pluma/osx/pluma-osx.h @@ -0,0 +1,17 @@ +#ifndef __PLUMA_OSX_H__ +#define __PLUMA_OSX_H__ + +#include +#include +#include + +void pluma_osx_init (PlumaApp *app); + +void pluma_osx_set_window_title (PlumaWindow *window, + gchar const *title, + PlumaDocument *document); + +gboolean pluma_osx_show_url (const gchar *url); +gboolean pluma_osx_show_help (const gchar *link_id); + +#endif /* __PLUMA_OSX_H__ */ diff --git a/gedit/gedit-app.c b/pluma/pluma-app.c similarity index 66% rename from gedit/gedit-app.c rename to pluma/pluma-app.c index 14148fe..090cb7a 100755 --- a/gedit/gedit-app.c +++ b/pluma/pluma-app.c @@ -1,6 +1,6 @@ /* - * gedit-app.c - * This file is part of gedit + * pluma-app.c + * This file is part of pluma * * Copyright (C) 2005-2006 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,23 +37,23 @@ #include -#include "gedit-app.h" -#include "gedit-prefs-manager-app.h" -#include "gedit-commands.h" -#include "gedit-notebook.h" -#include "gedit-debug.h" -#include "gedit-utils.h" -#include "gedit-enum-types.h" -#include "gedit-dirs.h" +#include "pluma-app.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-commands.h" +#include "pluma-notebook.h" +#include "pluma-debug.h" +#include "pluma-utils.h" +#include "pluma-enum-types.h" +#include "pluma-dirs.h" #ifdef OS_OSX #include #endif -#define GEDIT_PAGE_SETUP_FILE "gedit-page-setup" -#define GEDIT_PRINT_SETTINGS_FILE "gedit-print-settings" +#define PLUMA_PAGE_SETUP_FILE "pluma-page-setup" +#define PLUMA_PRINT_SETTINGS_FILE "pluma-print-settings" -#define GEDIT_APP_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_APP, GeditAppPrivate)) +#define PLUMA_APP_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_APP, PlumaAppPrivate)) /* Properties */ enum @@ -62,23 +62,23 @@ enum PROP_LOCKDOWN }; -struct _GeditAppPrivate +struct _PlumaAppPrivate { GList *windows; - GeditWindow *active_window; + PlumaWindow *active_window; - GeditLockdownMask lockdown; + PlumaLockdownMask lockdown; GtkPageSetup *page_setup; GtkPrintSettings *print_settings; }; -G_DEFINE_TYPE(GeditApp, gedit_app, G_TYPE_OBJECT) +G_DEFINE_TYPE(PlumaApp, pluma_app, G_TYPE_OBJECT) static void -gedit_app_finalize (GObject *object) +pluma_app_finalize (GObject *object) { - GeditApp *app = GEDIT_APP (object); + PlumaApp *app = PLUMA_APP (object); g_list_free (app->priv->windows); @@ -87,21 +87,21 @@ gedit_app_finalize (GObject *object) if (app->priv->print_settings) g_object_unref (app->priv->print_settings); - G_OBJECT_CLASS (gedit_app_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_app_parent_class)->finalize (object); } static void -gedit_app_get_property (GObject *object, +pluma_app_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditApp *app = GEDIT_APP (object); + PlumaApp *app = PLUMA_APP (object); switch (prop_id) { case PROP_LOCKDOWN: - g_value_set_flags (value, gedit_app_get_lockdown (app)); + g_value_set_flags (value, pluma_app_get_lockdown (app)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -110,24 +110,24 @@ gedit_app_get_property (GObject *object, } static void -gedit_app_class_init (GeditAppClass *klass) +pluma_app_class_init (PlumaAppClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_app_finalize; - object_class->get_property = gedit_app_get_property; + object_class->finalize = pluma_app_finalize; + object_class->get_property = pluma_app_get_property; g_object_class_install_property (object_class, PROP_LOCKDOWN, g_param_spec_flags ("lockdown", "Lockdown", "The lockdown mask", - GEDIT_TYPE_LOCKDOWN_MASK, + PLUMA_TYPE_LOCKDOWN_MASK, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (object_class, sizeof(GeditAppPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaAppPrivate)); } static gboolean @@ -137,7 +137,7 @@ ensure_user_config_dir (void) gboolean ret = TRUE; gint res; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir == NULL) { g_warning ("Could not get config directory\n"); @@ -161,10 +161,10 @@ load_accels (void) { gchar *filename; - filename = gedit_dirs_get_user_accels_file (); + filename = pluma_dirs_get_user_accels_file (); if (filename != NULL) { - gedit_debug_message (DEBUG_APP, "Loading keybindings from %s\n", filename); + pluma_debug_message (DEBUG_APP, "Loading keybindings from %s\n", filename); gtk_accel_map_load (filename); g_free (filename); } @@ -175,10 +175,10 @@ save_accels (void) { gchar *filename; - filename = gedit_dirs_get_user_accels_file (); + filename = pluma_dirs_get_user_accels_file (); if (filename != NULL) { - gedit_debug_message (DEBUG_APP, "Saving keybindings in %s\n", filename); + pluma_debug_message (DEBUG_APP, "Saving keybindings in %s\n", filename); gtk_accel_map_save (filename); g_free (filename); } @@ -190,12 +190,12 @@ get_page_setup_file (void) gchar *config_dir; gchar *setup = NULL; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir != NULL) { setup = g_build_filename (config_dir, - GEDIT_PAGE_SETUP_FILE, + PLUMA_PAGE_SETUP_FILE, NULL); g_free (config_dir); } @@ -204,7 +204,7 @@ get_page_setup_file (void) } static void -load_page_setup (GeditApp *app) +load_page_setup (PlumaApp *app) { gchar *filename; GError *error = NULL; @@ -235,7 +235,7 @@ load_page_setup (GeditApp *app) } static void -save_page_setup (GeditApp *app) +save_page_setup (PlumaApp *app) { gchar *filename; GError *error = NULL; @@ -263,12 +263,12 @@ get_print_settings_file (void) gchar *config_dir; gchar *settings = NULL; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir != NULL) { settings = g_build_filename (config_dir, - GEDIT_PRINT_SETTINGS_FILE, + PLUMA_PRINT_SETTINGS_FILE, NULL); g_free (config_dir); } @@ -277,7 +277,7 @@ get_print_settings_file (void) } static void -load_print_settings (GeditApp *app) +load_print_settings (PlumaApp *app) { gchar *filename; GError *error = NULL; @@ -308,7 +308,7 @@ load_print_settings (GeditApp *app) } static void -save_print_settings (GeditApp *app) +save_print_settings (PlumaApp *app) { gchar *filename; GError *error = NULL; @@ -331,14 +331,14 @@ save_print_settings (GeditApp *app) } static void -gedit_app_init (GeditApp *app) +pluma_app_init (PlumaApp *app) { - app->priv = GEDIT_APP_GET_PRIVATE (app); + app->priv = PLUMA_APP_GET_PRIVATE (app); load_accels (); /* initial lockdown state */ - app->priv->lockdown = gedit_prefs_manager_get_lockdown (); + app->priv->lockdown = pluma_prefs_manager_get_lockdown (); } static void @@ -349,22 +349,22 @@ app_weak_notify (gpointer data, } /** - * gedit_app_get_default: + * pluma_app_get_default: * - * Returns the #GeditApp object. This object is a singleton and - * represents the running gedit instance. + * Returns the #PlumaApp object. This object is a singleton and + * represents the running pluma instance. * - * Return value: the #GeditApp pointer + * Return value: the #PlumaApp pointer */ -GeditApp * -gedit_app_get_default (void) +PlumaApp * +pluma_app_get_default (void) { - static GeditApp *app = NULL; + static PlumaApp *app = NULL; if (app != NULL) return app; - app = GEDIT_APP (g_object_new (GEDIT_TYPE_APP, NULL)); + app = PLUMA_APP (g_object_new (PLUMA_TYPE_APP, NULL)); g_object_add_weak_pointer (G_OBJECT (app), (gpointer) &app); @@ -376,19 +376,19 @@ gedit_app_get_default (void) } static void -set_active_window (GeditApp *app, - GeditWindow *window) +set_active_window (PlumaApp *app, + PlumaWindow *window) { app->priv->active_window = window; } static gboolean -window_focus_in_event (GeditWindow *window, +window_focus_in_event (PlumaWindow *window, GdkEventFocus *event, - GeditApp *app) + PlumaApp *app) { /* updates active_view and active_child when a new toplevel receives focus */ - g_return_val_if_fail (GEDIT_IS_WINDOW (window), FALSE); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), FALSE); set_active_window (app, window); @@ -396,29 +396,29 @@ window_focus_in_event (GeditWindow *window, } static gboolean -window_delete_event (GeditWindow *window, +window_delete_event (PlumaWindow *window, GdkEvent *event, - GeditApp *app) + PlumaApp *app) { - GeditWindowState ws; + PlumaWindowState ws; - ws = gedit_window_get_state (window); + ws = pluma_window_get_state (window); if (ws & - (GEDIT_WINDOW_STATE_SAVING | - GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION)) + (PLUMA_WINDOW_STATE_SAVING | + PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION)) return TRUE; - _gedit_cmd_file_quit (NULL, window); + _pluma_cmd_file_quit (NULL, window); /* Do not destroy the window */ return TRUE; } static void -window_destroy (GeditWindow *window, - GeditApp *app) +window_destroy (PlumaWindow *window, + PlumaApp *app) { app->priv->windows = g_list_remove (app->priv->windows, window); @@ -441,10 +441,10 @@ window_destroy (GeditWindow *window, if (app->priv->windows == NULL) { #ifdef OS_OSX - if (!GPOINTER_TO_INT (g_object_get_data (G_OBJECT (window), "gedit-is-quitting-all"))) + if (!GPOINTER_TO_INT (g_object_get_data (G_OBJECT (window), "pluma-is-quitting-all"))) { /* Create hidden proxy window on OS X to handle the menu */ - gedit_app_create_window (app, NULL); + pluma_app_create_window (app, NULL); return; } #endif @@ -468,42 +468,42 @@ gen_role (void) g_get_current_time (&result); - return g_strdup_printf ("gedit-window-%ld-%ld-%d-%s", + return g_strdup_printf ("pluma-window-%ld-%ld-%d-%s", result.tv_sec, result.tv_usec, serial++, g_get_host_name ()); } -static GeditWindow * -gedit_app_create_window_real (GeditApp *app, +static PlumaWindow * +pluma_app_create_window_real (PlumaApp *app, gboolean set_geometry, const gchar *role) { - GeditWindow *window; + PlumaWindow *window; - gedit_debug (DEBUG_APP); + pluma_debug (DEBUG_APP); /* * We need to be careful here, there is a race condition: - * when another gedit is launched it checks active_window, + * when another pluma is launched it checks active_window, * so we must do our best to ensure that active_window * is never NULL when at least a window exists. */ if (app->priv->windows == NULL) { - window = g_object_new (GEDIT_TYPE_WINDOW, NULL); + window = g_object_new (PLUMA_TYPE_WINDOW, NULL); set_active_window (app, window); } else { - window = g_object_new (GEDIT_TYPE_WINDOW, NULL); + window = g_object_new (PLUMA_TYPE_WINDOW, NULL); } app->priv->windows = g_list_prepend (app->priv->windows, window); - gedit_debug_message (DEBUG_APP, "Window created"); + pluma_debug_message (DEBUG_APP, "Window created"); if (role != NULL) { @@ -523,17 +523,17 @@ gedit_app_create_window_real (GeditApp *app, GdkWindowState state; gint w, h; - state = gedit_prefs_manager_get_window_state (); + state = pluma_prefs_manager_get_window_state (); if ((state & GDK_WINDOW_STATE_MAXIMIZED) != 0) { - gedit_prefs_manager_get_default_window_size (&w, &h); + pluma_prefs_manager_get_default_window_size (&w, &h); gtk_window_set_default_size (GTK_WINDOW (window), w, h); gtk_window_maximize (GTK_WINDOW (window)); } else { - gedit_prefs_manager_get_window_size (&w, &h); + pluma_prefs_manager_get_window_size (&w, &h); gtk_window_set_default_size (GTK_WINDOW (window), w, h); gtk_window_unmaximize (GTK_WINDOW (window)); } @@ -561,20 +561,20 @@ gedit_app_create_window_real (GeditApp *app, } /** - * gedit_app_create_window: - * @app: the #GeditApp + * pluma_app_create_window: + * @app: the #PlumaApp * - * Create a new #GeditWindow part of @app. + * Create a new #PlumaWindow part of @app. * - * Return value: the new #GeditWindow + * Return value: the new #PlumaWindow */ -GeditWindow * -gedit_app_create_window (GeditApp *app, +PlumaWindow * +pluma_app_create_window (PlumaApp *app, GdkScreen *screen) { - GeditWindow *window; + PlumaWindow *window; - window = gedit_app_create_window_real (app, TRUE, NULL); + window = pluma_app_create_window_real (app, TRUE, NULL); if (screen != NULL) gtk_window_set_screen (GTK_WINDOW (window), screen); @@ -586,49 +586,49 @@ gedit_app_create_window (GeditApp *app, * Same as _create_window, but doesn't set the geometry. * The session manager takes care of it. Used in mate-session. */ -GeditWindow * -_gedit_app_restore_window (GeditApp *app, +PlumaWindow * +_pluma_app_restore_window (PlumaApp *app, const gchar *role) { - GeditWindow *window; + PlumaWindow *window; - window = gedit_app_create_window_real (app, FALSE, role); + window = pluma_app_create_window_real (app, FALSE, role); return window; } /** - * gedit_app_get_windows: - * @app: the #GeditApp + * pluma_app_get_windows: + * @app: the #PlumaApp * - * Returns all the windows currently present in #GeditApp. + * Returns all the windows currently present in #PlumaApp. * - * Return value: the list of #GeditWindows objects. The list + * Return value: the list of #PlumaWindows objects. The list * should not be freed */ const GList * -gedit_app_get_windows (GeditApp *app) +pluma_app_get_windows (PlumaApp *app) { - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); return app->priv->windows; } /** - * gedit_app_get_active_window: - * @app: the #GeditApp + * pluma_app_get_active_window: + * @app: the #PlumaApp * - * Retrives the #GeditWindow currently active. + * Retrives the #PlumaWindow currently active. * - * Return value: the active #GeditWindow + * Return value: the active #PlumaWindow */ -GeditWindow * -gedit_app_get_active_window (GeditApp *app) +PlumaWindow * +pluma_app_get_active_window (PlumaApp *app) { - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); /* make sure our active window is always realized: - * this is needed on startup if we launch two gedit fast + * this is needed on startup if we launch two pluma fast * enough that the second instance comes up before the * first one shows its window. */ @@ -639,7 +639,7 @@ gedit_app_get_active_window (GeditApp *app) } static gboolean -is_in_viewport (GeditWindow *window, +is_in_viewport (PlumaWindow *window, GdkScreen *screen, gint workspace, gint viewport_x, @@ -671,8 +671,8 @@ is_in_viewport (GeditWindow *window, return FALSE; /* Check for workspace match */ - ws = gedit_utils_get_window_workspace (GTK_WINDOW (window)); - if (ws != workspace && ws != GEDIT_ALL_WORKSPACES) + ws = pluma_utils_get_window_workspace (GTK_WINDOW (window)); + if (ws != workspace && ws != PLUMA_ALL_WORKSPACES) return FALSE; /* Check for viewport match */ @@ -686,7 +686,7 @@ is_in_viewport (GeditWindow *window, gdk_drawable_get_size(gdkwindow, &width, &height); #endif - gedit_utils_get_current_viewport (screen, &vp_x, &vp_y); + pluma_utils_get_current_viewport (screen, &vp_x, &vp_y); x += vp_x; y += vp_y; @@ -700,36 +700,36 @@ is_in_viewport (GeditWindow *window, } /** - * _gedit_app_get_window_in_viewport - * @app: the #GeditApp + * _pluma_app_get_window_in_viewport + * @app: the #PlumaApp * @screen: the #GdkScreen * @workspace: the workspace number * @viewport_x: the viewport horizontal origin * @viewport_y: the viewport vertical origin * * Since a workspace can be larger than the screen, it is divided into several - * equal parts called viewports. This function retrives the #GeditWindow in + * equal parts called viewports. This function retrives the #PlumaWindow in * the given viewport of the given workspace. * - * Return value: the #GeditWindow in the given viewport of the given workspace. + * Return value: the #PlumaWindow in the given viewport of the given workspace. */ -GeditWindow * -_gedit_app_get_window_in_viewport (GeditApp *app, +PlumaWindow * +_pluma_app_get_window_in_viewport (PlumaApp *app, GdkScreen *screen, gint workspace, gint viewport_x, gint viewport_y) { - GeditWindow *window; + PlumaWindow *window; GList *l; - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); /* first try if the active window */ window = app->priv->active_window; - g_return_val_if_fail (GEDIT_IS_WINDOW (window), NULL); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), NULL); if (is_in_viewport (window, screen, workspace, viewport_x, viewport_y)) return window; @@ -744,31 +744,31 @@ _gedit_app_get_window_in_viewport (GeditApp *app, } /* no window on this workspace... create a new one */ - return gedit_app_create_window (app, screen); + return pluma_app_create_window (app, screen); } /** - * gedit_app_get_documents: - * @app: the #GeditApp + * pluma_app_get_documents: + * @app: the #PlumaApp * - * Returns all the documents currently open in #GeditApp. + * Returns all the documents currently open in #PlumaApp. * - * Return value: a newly allocated list of #GeditDocument objects + * Return value: a newly allocated list of #PlumaDocument objects */ GList * -gedit_app_get_documents (GeditApp *app) +pluma_app_get_documents (PlumaApp *app) { GList *res = NULL; GList *windows; - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); windows = app->priv->windows; while (windows != NULL) { res = g_list_concat (res, - gedit_window_get_documents (GEDIT_WINDOW (windows->data))); + pluma_window_get_documents (PLUMA_WINDOW (windows->data))); windows = g_list_next (windows); } @@ -777,27 +777,27 @@ gedit_app_get_documents (GeditApp *app) } /** - * gedit_app_get_views: - * @app: the #GeditApp + * pluma_app_get_views: + * @app: the #PlumaApp * - * Returns all the views currently present in #GeditApp. + * Returns all the views currently present in #PlumaApp. * - * Return value: a newly allocated list of #GeditView objects + * Return value: a newly allocated list of #PlumaView objects */ GList * -gedit_app_get_views (GeditApp *app) +pluma_app_get_views (PlumaApp *app) { GList *res = NULL; GList *windows; - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); windows = app->priv->windows; while (windows != NULL) { res = g_list_concat (res, - gedit_window_get_views (GEDIT_WINDOW (windows->data))); + pluma_window_get_views (PLUMA_WINDOW (windows->data))); windows = g_list_next (windows); } @@ -806,38 +806,38 @@ gedit_app_get_views (GeditApp *app) } /** - * gedit_app_get_lockdown: - * @app: a #GeditApp + * pluma_app_get_lockdown: + * @app: a #PlumaApp * - * Gets the lockdown mask (see #GeditLockdownMask) for the application. + * Gets the lockdown mask (see #PlumaLockdownMask) for the application. * The lockdown mask determines which functions are locked down using * the MATE-wise lockdown MateConf keys. **/ -GeditLockdownMask -gedit_app_get_lockdown (GeditApp *app) +PlumaLockdownMask +pluma_app_get_lockdown (PlumaApp *app) { - g_return_val_if_fail (GEDIT_IS_APP (app), GEDIT_LOCKDOWN_ALL); + g_return_val_if_fail (PLUMA_IS_APP (app), PLUMA_LOCKDOWN_ALL); return app->priv->lockdown; } static void -app_lockdown_changed (GeditApp *app) +app_lockdown_changed (PlumaApp *app) { GList *l; for (l = app->priv->windows; l != NULL; l = l->next) - _gedit_window_set_lockdown (GEDIT_WINDOW (l->data), + _pluma_window_set_lockdown (PLUMA_WINDOW (l->data), app->priv->lockdown); g_object_notify (G_OBJECT (app), "lockdown"); } void -_gedit_app_set_lockdown (GeditApp *app, - GeditLockdownMask lockdown) +_pluma_app_set_lockdown (PlumaApp *app, + PlumaLockdownMask lockdown) { - g_return_if_fail (GEDIT_IS_APP (app)); + g_return_if_fail (PLUMA_IS_APP (app)); app->priv->lockdown = lockdown; @@ -845,11 +845,11 @@ _gedit_app_set_lockdown (GeditApp *app, } void -_gedit_app_set_lockdown_bit (GeditApp *app, - GeditLockdownMask bit, +_pluma_app_set_lockdown_bit (PlumaApp *app, + PlumaLockdownMask bit, gboolean value) { - g_return_if_fail (GEDIT_IS_APP (app)); + g_return_if_fail (PLUMA_IS_APP (app)); if (value) app->priv->lockdown |= bit; @@ -861,9 +861,9 @@ _gedit_app_set_lockdown_bit (GeditApp *app, /* Returns a copy */ GtkPageSetup * -_gedit_app_get_default_page_setup (GeditApp *app) +_pluma_app_get_default_page_setup (PlumaApp *app) { - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); if (app->priv->page_setup == NULL) load_page_setup (app); @@ -872,10 +872,10 @@ _gedit_app_get_default_page_setup (GeditApp *app) } void -_gedit_app_set_default_page_setup (GeditApp *app, +_pluma_app_set_default_page_setup (PlumaApp *app, GtkPageSetup *page_setup) { - g_return_if_fail (GEDIT_IS_APP (app)); + g_return_if_fail (PLUMA_IS_APP (app)); g_return_if_fail (GTK_IS_PAGE_SETUP (page_setup)); if (app->priv->page_setup != NULL) @@ -886,9 +886,9 @@ _gedit_app_set_default_page_setup (GeditApp *app, /* Returns a copy */ GtkPrintSettings * -_gedit_app_get_default_print_settings (GeditApp *app) +_pluma_app_get_default_print_settings (PlumaApp *app) { - g_return_val_if_fail (GEDIT_IS_APP (app), NULL); + g_return_val_if_fail (PLUMA_IS_APP (app), NULL); if (app->priv->print_settings == NULL) load_print_settings (app); @@ -897,10 +897,10 @@ _gedit_app_get_default_print_settings (GeditApp *app) } void -_gedit_app_set_default_print_settings (GeditApp *app, +_pluma_app_set_default_print_settings (PlumaApp *app, GtkPrintSettings *settings) { - g_return_if_fail (GEDIT_IS_APP (app)); + g_return_if_fail (PLUMA_IS_APP (app)); g_return_if_fail (GTK_IS_PRINT_SETTINGS (settings)); if (app->priv->print_settings != NULL) diff --git a/pluma/pluma-app.h b/pluma/pluma-app.h new file mode 100755 index 0000000..ad5b680 --- /dev/null +++ b/pluma/pluma-app.h @@ -0,0 +1,142 @@ +/* + * pluma-app.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_APP_H__ +#define __PLUMA_APP_H__ + +#include + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_APP (pluma_app_get_type()) +#define PLUMA_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_APP, PlumaApp)) +#define PLUMA_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_APP, PlumaAppClass)) +#define PLUMA_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_APP)) +#define PLUMA_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_APP)) +#define PLUMA_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_APP, PlumaAppClass)) + +/* Private structure type */ +typedef struct _PlumaAppPrivate PlumaAppPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaApp PlumaApp; + +struct _PlumaApp +{ + GObject object; + + /*< private > */ + PlumaAppPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaAppClass PlumaAppClass; + +struct _PlumaAppClass +{ + GObjectClass parent_class; +}; + +/* + * Lockdown mask definition + */ +typedef enum +{ + PLUMA_LOCKDOWN_COMMAND_LINE = 1 << 0, + PLUMA_LOCKDOWN_PRINTING = 1 << 1, + PLUMA_LOCKDOWN_PRINT_SETUP = 1 << 2, + PLUMA_LOCKDOWN_SAVE_TO_DISK = 1 << 3, + PLUMA_LOCKDOWN_ALL = 0xF +} PlumaLockdownMask; + +/* + * Public methods + */ +GType pluma_app_get_type (void) G_GNUC_CONST; + +PlumaApp *pluma_app_get_default (void); + +PlumaWindow *pluma_app_create_window (PlumaApp *app, + GdkScreen *screen); + +const GList *pluma_app_get_windows (PlumaApp *app); +PlumaWindow *pluma_app_get_active_window (PlumaApp *app); + +/* Returns a newly allocated list with all the documents */ +GList *pluma_app_get_documents (PlumaApp *app); + +/* Returns a newly allocated list with all the views */ +GList *pluma_app_get_views (PlumaApp *app); + +/* Lockdown state */ +PlumaLockdownMask pluma_app_get_lockdown (PlumaApp *app); + +/* + * Non exported functions + */ +PlumaWindow *_pluma_app_restore_window (PlumaApp *app, + const gchar *role); +PlumaWindow *_pluma_app_get_window_in_viewport (PlumaApp *app, + GdkScreen *screen, + gint workspace, + gint viewport_x, + gint viewport_y); +void _pluma_app_set_lockdown (PlumaApp *app, + PlumaLockdownMask lockdown); +void _pluma_app_set_lockdown_bit (PlumaApp *app, + PlumaLockdownMask bit, + gboolean value); +/* + * This one is a pluma-window function, but we declare it here to avoid + * #include headaches since it needs the PlumaLockdownMask declaration. + */ +void _pluma_window_set_lockdown (PlumaWindow *window, + PlumaLockdownMask lockdown); + +/* global print config */ +GtkPageSetup *_pluma_app_get_default_page_setup (PlumaApp *app); +void _pluma_app_set_default_page_setup (PlumaApp *app, + GtkPageSetup *page_setup); +GtkPrintSettings *_pluma_app_get_default_print_settings (PlumaApp *app); +void _pluma_app_set_default_print_settings (PlumaApp *app, + GtkPrintSettings *settings); + +G_END_DECLS + +#endif /* __PLUMA_APP_H__ */ diff --git a/gedit/gedit-close-button.c b/pluma/pluma-close-button.c similarity index 75% rename from gedit/gedit-close-button.c rename to pluma/pluma-close-button.c index 0e9f157..0213d4d 100755 --- a/gedit/gedit-close-button.c +++ b/pluma/pluma-close-button.c @@ -1,6 +1,6 @@ /* - * gedit-close-button.c - * This file is part of gedit + * pluma-close-button.c + * This file is part of pluma * * Copyright (C) 2010 - Paolo Borelli * @@ -20,12 +20,12 @@ * Boston, MA 02111-1307, USA. */ -#include "gedit-close-button.h" +#include "pluma-close-button.h" -G_DEFINE_TYPE (GeditCloseButton, gedit_close_button, GTK_TYPE_BUTTON) +G_DEFINE_TYPE (PlumaCloseButton, pluma_close_button, GTK_TYPE_BUTTON) static void -gedit_close_button_style_set (GtkWidget *button, +pluma_close_button_style_set (GtkWidget *button, GtkStyle *previous_style) { gint h, w; @@ -35,19 +35,19 @@ gedit_close_button_style_set (GtkWidget *button, gtk_widget_set_size_request (button, w + 2, h + 2); - GTK_WIDGET_CLASS (gedit_close_button_parent_class)->style_set (button, previous_style); + GTK_WIDGET_CLASS (pluma_close_button_parent_class)->style_set (button, previous_style); } static void -gedit_close_button_class_init (GeditCloseButtonClass *klass) +pluma_close_button_class_init (PlumaCloseButtonClass *klass) { GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); - widget_class->style_set = gedit_close_button_style_set; + widget_class->style_set = pluma_close_button_style_set; } static void -gedit_close_button_init (GeditCloseButton *button) +pluma_close_button_init (PlumaCloseButton *button) { GtkRcStyle *rcstyle; GtkWidget *image; @@ -66,11 +66,11 @@ gedit_close_button_init (GeditCloseButton *button) } GtkWidget * -gedit_close_button_new () +pluma_close_button_new () { - GeditCloseButton *button; + PlumaCloseButton *button; - button = g_object_new (GEDIT_TYPE_CLOSE_BUTTON, + button = g_object_new (PLUMA_TYPE_CLOSE_BUTTON, "relief", GTK_RELIEF_NONE, "focus-on-click", FALSE, NULL); diff --git a/pluma/pluma-close-button.h b/pluma/pluma-close-button.h new file mode 100755 index 0000000..27996d7 --- /dev/null +++ b/pluma/pluma-close-button.h @@ -0,0 +1,56 @@ +/* + * pluma-close-button.h + * This file is part of pluma + * + * Copyright (C) 2010 - Paolo Borelli + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_CLOSE_BUTTON_H__ +#define __PLUMA_CLOSE_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_CLOSE_BUTTON (pluma_close_button_get_type ()) +#define PLUMA_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_CLOSE_BUTTON, PlumaCloseButton)) +#define PLUMA_CLOSE_BUTTON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_CLOSE_BUTTON, PlumaCloseButton const)) +#define PLUMA_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_CLOSE_BUTTON, PlumaCloseButtonClass)) +#define PLUMA_IS_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_CLOSE_BUTTON)) +#define PLUMA_IS_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_CLOSE_BUTTON)) +#define PLUMA_CLOSE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_CLOSE_BUTTON, PlumaCloseButtonClass)) + +typedef struct _PlumaCloseButton PlumaCloseButton; +typedef struct _PlumaCloseButtonClass PlumaCloseButtonClass; +typedef struct _PlumaCloseButtonPrivate PlumaCloseButtonPrivate; + +struct _PlumaCloseButton { + GtkButton parent; +}; + +struct _PlumaCloseButtonClass { + GtkButtonClass parent_class; +}; + +GType pluma_close_button_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_close_button_new (void); + +G_END_DECLS + +#endif /* __PLUMA_CLOSE_BUTTON_H__ */ diff --git a/gedit/gedit-commands-documents.c b/pluma/pluma-commands-documents.c similarity index 57% rename from gedit/gedit-commands-documents.c rename to pluma/pluma-commands-documents.c index 016ebbe..62f8b9a 100755 --- a/gedit/gedit-commands-documents.c +++ b/pluma/pluma-commands-documents.c @@ -1,6 +1,6 @@ /* - * gedit-documents-commands.c - * This file is part of gedit + * pluma-documents-commands.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,52 +36,52 @@ #include -#include "gedit-commands.h" -#include "gedit-window.h" -#include "gedit-notebook.h" -#include "gedit-debug.h" +#include "pluma-commands.h" +#include "pluma-window.h" +#include "pluma-notebook.h" +#include "pluma-debug.h" void -_gedit_cmd_documents_previous_document (GtkAction *action, - GeditWindow *window) +_pluma_cmd_documents_previous_document (GtkAction *action, + PlumaWindow *window) { GtkNotebook *notebook; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - notebook = GTK_NOTEBOOK (_gedit_window_get_notebook (window)); + notebook = GTK_NOTEBOOK (_pluma_window_get_notebook (window)); gtk_notebook_prev_page (notebook); } void -_gedit_cmd_documents_next_document (GtkAction *action, - GeditWindow *window) +_pluma_cmd_documents_next_document (GtkAction *action, + PlumaWindow *window) { GtkNotebook *notebook; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - notebook = GTK_NOTEBOOK (_gedit_window_get_notebook (window)); + notebook = GTK_NOTEBOOK (_pluma_window_get_notebook (window)); gtk_notebook_next_page (notebook); } void -_gedit_cmd_documents_move_to_new_window (GtkAction *action, - GeditWindow *window) +_pluma_cmd_documents_move_to_new_window (GtkAction *action, + PlumaWindow *window) { - GeditNotebook *old_notebook; - GeditTab *tab; + PlumaNotebook *old_notebook; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; - old_notebook = GEDIT_NOTEBOOK (_gedit_window_get_notebook (window)); + old_notebook = PLUMA_NOTEBOOK (_pluma_window_get_notebook (window)); g_return_if_fail (gtk_notebook_get_n_pages (GTK_NOTEBOOK (old_notebook)) > 1); - _gedit_window_move_tab_to_new_window (window, tab); + _pluma_window_move_tab_to_new_window (window, tab); } diff --git a/gedit/gedit-commands-edit.c b/pluma/pluma-commands-edit.c similarity index 50% rename from gedit/gedit-commands-edit.c rename to pluma/pluma-commands-edit.c index e2cedeb..94189f3 100755 --- a/gedit/gedit-commands-edit.c +++ b/pluma/pluma-commands-edit.c @@ -1,6 +1,6 @@ /* - * gedit-commands-edit.c - * This file is part of gedit + * pluma-commands-edit.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,139 +36,139 @@ #include -#include "gedit-commands.h" -#include "gedit-window.h" -#include "gedit-debug.h" -#include "gedit-view.h" -#include "dialogs/gedit-preferences-dialog.h" +#include "pluma-commands.h" +#include "pluma-window.h" +#include "pluma-debug.h" +#include "pluma-view.h" +#include "dialogs/pluma-preferences-dialog.h" void -_gedit_cmd_edit_undo (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_undo (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; GtkSourceBuffer *active_document; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); active_document = GTK_SOURCE_BUFFER (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); gtk_source_buffer_undo (active_document); - gedit_view_scroll_to_cursor (active_view); + pluma_view_scroll_to_cursor (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_redo (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_redo (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; GtkSourceBuffer *active_document; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); active_document = GTK_SOURCE_BUFFER (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); gtk_source_buffer_redo (active_document); - gedit_view_scroll_to_cursor (active_view); + pluma_view_scroll_to_cursor (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_cut (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_cut (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); - gedit_view_cut_clipboard (active_view); + pluma_view_cut_clipboard (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_copy (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_copy (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); - gedit_view_copy_clipboard (active_view); + pluma_view_copy_clipboard (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_paste (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_paste (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); - gedit_view_paste_clipboard (active_view); + pluma_view_paste_clipboard (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_delete (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_delete (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); - gedit_view_delete_selection (active_view); + pluma_view_delete_selection (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_select_all (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_select_all (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view); - gedit_view_select_all (active_view); + pluma_view_select_all (active_view); gtk_widget_grab_focus (GTK_WIDGET (active_view)); } void -_gedit_cmd_edit_preferences (GtkAction *action, - GeditWindow *window) +_pluma_cmd_edit_preferences (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - gedit_show_preferences_dialog (window); + pluma_show_preferences_dialog (window); } diff --git a/gedit/gedit-commands-file-print.c b/pluma/pluma-commands-file-print.c similarity index 58% rename from gedit/gedit-commands-file-print.c rename to pluma/pluma-commands-file-print.c index 455e2e2..4a976ec 100755 --- a/gedit/gedit-commands-file-print.c +++ b/pluma/pluma-commands-file-print.c @@ -1,6 +1,6 @@ /* - * gedit-commands-file-print.c - * This file is part of gedit + * pluma-commands-file-print.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,55 +37,55 @@ #include #include -#include "gedit-commands.h" -#include "gedit-window.h" -#include "gedit-tab.h" -#include "gedit-debug.h" +#include "pluma-commands.h" +#include "pluma-window.h" +#include "pluma-tab.h" +#include "pluma-debug.h" #if !GTK_CHECK_VERSION (2, 17, 4) void -_gedit_cmd_file_page_setup (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_page_setup (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; - _gedit_tab_page_setup (tab); + _pluma_tab_page_setup (tab); } #endif void -_gedit_cmd_file_print_preview (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_print_preview (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; - _gedit_tab_print_preview (tab); + _pluma_tab_print_preview (tab); } void -_gedit_cmd_file_print (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_print (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; - _gedit_tab_print (tab); + _pluma_tab_print (tab); } diff --git a/gedit/gedit-commands-file.c b/pluma/pluma-commands-file.c similarity index 62% rename from gedit/gedit-commands-file.c rename to pluma/pluma-commands-file.c index 985b041..3e32a49 100755 --- a/gedit/gedit-commands-file.c +++ b/pluma/pluma-commands-file.c @@ -1,6 +1,6 @@ /* - * gedit-commands-file.c - * This file is part of gedit + * pluma-commands-file.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -40,56 +40,56 @@ #include #include -#include "gedit-commands.h" -#include "gedit-window.h" -#include "gedit-window-private.h" -#include "gedit-statusbar.h" -#include "gedit-debug.h" -#include "gedit-utils.h" -#include "gedit-file-chooser-dialog.h" -#include "dialogs/gedit-close-confirmation-dialog.h" +#include "pluma-commands.h" +#include "pluma-window.h" +#include "pluma-window-private.h" +#include "pluma-statusbar.h" +#include "pluma-debug.h" +#include "pluma-utils.h" +#include "pluma-file-chooser-dialog.h" +#include "dialogs/pluma-close-confirmation-dialog.h" /* Defined constants */ -#define GEDIT_OPEN_DIALOG_KEY "gedit-open-dialog-key" -#define GEDIT_TAB_TO_SAVE_AS "gedit-tab-to-save-as" -#define GEDIT_LIST_OF_TABS_TO_SAVE_AS "gedit-list-of-tabs-to-save-as" -#define GEDIT_IS_CLOSING_ALL "gedit-is-closing-all" -#define GEDIT_IS_QUITTING "gedit-is-quitting" -#define GEDIT_IS_CLOSING_TAB "gedit-is-closing-tab" -#define GEDIT_IS_QUITTING_ALL "gedit-is-quitting-all" +#define PLUMA_OPEN_DIALOG_KEY "pluma-open-dialog-key" +#define PLUMA_TAB_TO_SAVE_AS "pluma-tab-to-save-as" +#define PLUMA_LIST_OF_TABS_TO_SAVE_AS "pluma-list-of-tabs-to-save-as" +#define PLUMA_IS_CLOSING_ALL "pluma-is-closing-all" +#define PLUMA_IS_QUITTING "pluma-is-quitting" +#define PLUMA_IS_CLOSING_TAB "pluma-is-closing-tab" +#define PLUMA_IS_QUITTING_ALL "pluma-is-quitting-all" -static void tab_state_changed_while_saving (GeditTab *tab, +static void tab_state_changed_while_saving (PlumaTab *tab, GParamSpec *pspec, - GeditWindow *window); + PlumaWindow *window); void -_gedit_cmd_file_new (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_new (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - gedit_window_create_tab (window, TRUE); + pluma_window_create_tab (window, TRUE); } -static GeditTab * +static PlumaTab * get_tab_from_file (GList *docs, GFile *file) { - GeditTab *tab = NULL; + PlumaTab *tab = NULL; while (docs != NULL) { - GeditDocument *d; + PlumaDocument *d; GFile *l; - d = GEDIT_DOCUMENT (docs->data); + d = PLUMA_DOCUMENT (docs->data); - l = gedit_document_get_location (d); + l = pluma_document_get_location (d); if (l != NULL) { if (g_file_equal (l, file)) { - tab = gedit_tab_get_from_document (d); + tab = pluma_tab_get_from_document (d); g_object_unref (l); break; } @@ -119,22 +119,22 @@ is_duplicated_file (GSList *files, GFile *file) /* File loading */ static gint -load_file_list (GeditWindow *window, +load_file_list (PlumaWindow *window, GSList *files, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { - GeditTab *tab; + PlumaTab *tab; gint loaded_files = 0; /* Number of files to load */ gboolean jump_to = TRUE; /* Whether to jump to the new tab */ GList *win_docs; GSList *files_to_load = NULL; GSList *l; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - win_docs = gedit_window_get_documents (window); + win_docs = pluma_window_get_documents (window); /* Remove the uris corresponding to documents already open * in "window" and remove duplicates from "uris" list */ @@ -147,20 +147,20 @@ load_file_list (GeditWindow *window, { if (l == files) { - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); jump_to = FALSE; if (line_pos > 0) { - GeditDocument *doc; - GeditView *view; + PlumaDocument *doc; + PlumaView *view; - doc = gedit_tab_get_document (tab); - view = gedit_tab_get_view (tab); + doc = pluma_tab_get_document (tab); + view = pluma_tab_get_view (tab); /* document counts lines starting from 0 */ - gedit_document_goto_line (doc, line_pos - 1); - gedit_view_scroll_to_cursor (view); + pluma_document_goto_line (doc, line_pos - 1); + pluma_view_scroll_to_cursor (view); } } @@ -182,21 +182,21 @@ load_file_list (GeditWindow *window, files_to_load = g_slist_reverse (files_to_load); l = files_to_load; - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab != NULL) { - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - if (gedit_document_is_untouched (doc) && - (gedit_tab_get_state (tab) == GEDIT_TAB_STATE_NORMAL)) + if (pluma_document_is_untouched (doc) && + (pluma_tab_get_state (tab) == PLUMA_TAB_STATE_NORMAL)) { gchar *uri; // FIXME: pass the GFile to tab when api is there uri = g_file_get_uri (l->data); - _gedit_tab_load (tab, + _pluma_tab_load (tab, uri, encoding, line_pos, @@ -218,7 +218,7 @@ load_file_list (GeditWindow *window, // FIXME: pass the GFile to tab when api is there uri = g_file_get_uri (l->data); - tab = gedit_window_create_tab_from_uri (window, + tab = pluma_window_create_tab_from_uri (window, uri, encoding, line_pos, @@ -237,15 +237,15 @@ load_file_list (GeditWindow *window, if (loaded_files == 1) { - GeditDocument *doc; + PlumaDocument *doc; gchar *uri_for_display; g_return_val_if_fail (tab != NULL, loaded_files); - doc = gedit_tab_get_document (tab); - uri_for_display = gedit_document_get_uri_for_display (doc); + doc = pluma_tab_get_document (tab); + uri_for_display = pluma_document_get_uri_for_display (doc); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, _("Loading file '%s'\342\200\246"), uri_for_display); @@ -254,7 +254,7 @@ load_file_list (GeditWindow *window, } else { - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, ngettext("Loading %d file\342\200\246", "Loading %d files\342\200\246", @@ -273,9 +273,9 @@ load_file_list (GeditWindow *window, // variants backward compat wrappers static gint -load_uri_list (GeditWindow *window, +load_uri_list (PlumaWindow *window, const GSList *uris, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { @@ -287,7 +287,7 @@ load_uri_list (GeditWindow *window, { gchar *uri = u->data; - if (gedit_utils_is_valid_uri (uri)) + if (pluma_utils_is_valid_uri (uri)) files = g_slist_prepend (files, g_file_new_for_uri (uri)); else g_warning ("invalid uri: %s", uri); @@ -303,23 +303,23 @@ load_uri_list (GeditWindow *window, } /** - * gedit_commands_load_uri: + * pluma_commands_load_uri: * * Do nothing if URI does not exist */ void -gedit_commands_load_uri (GeditWindow *window, +pluma_commands_load_uri (PlumaWindow *window, const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos) { GSList *uris = NULL; - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); g_return_if_fail (uri != NULL); - g_return_if_fail (gedit_utils_is_valid_uri (uri)); + g_return_if_fail (pluma_utils_is_valid_uri (uri)); - gedit_debug_message (DEBUG_COMMANDS, "Loading URI '%s'", uri); + pluma_debug_message (DEBUG_COMMANDS, "Loading URI '%s'", uri); uris = g_slist_prepend (uris, (gchar *)uri); @@ -329,20 +329,20 @@ gedit_commands_load_uri (GeditWindow *window, } /** - * gedit_commands_load_uris: + * pluma_commands_load_uris: * * Ignore non-existing URIs */ gint -gedit_commands_load_uris (GeditWindow *window, +pluma_commands_load_uris (PlumaWindow *window, const GSList *uris, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos) { - g_return_val_if_fail (GEDIT_IS_WINDOW (window), 0); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), 0); g_return_val_if_fail ((uris != NULL) && (uris->data != NULL), 0); - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); return load_uri_list (window, uris, encoding, line_pos, FALSE); } @@ -351,15 +351,15 @@ gedit_commands_load_uris (GeditWindow *window, * This should become public once we convert all api to GFile: */ static gint -gedit_commands_load_files (GeditWindow *window, +pluma_commands_load_files (PlumaWindow *window, GSList *files, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos) { - g_return_val_if_fail (GEDIT_IS_WINDOW (window), 0); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), 0); g_return_val_if_fail ((files != NULL) && (files->data != NULL), 0); - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); return load_file_list (window, files, encoding, line_pos, FALSE); } @@ -370,36 +370,36 @@ gedit_commands_load_files (GeditWindow *window, * titled document. */ gint -_gedit_cmd_load_files_from_prompt (GeditWindow *window, +_pluma_cmd_load_files_from_prompt (PlumaWindow *window, GSList *files, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); return load_file_list (window, files, encoding, line_pos, TRUE); } static void -open_dialog_destroyed (GeditWindow *window, - GeditFileChooserDialog *dialog) +open_dialog_destroyed (PlumaWindow *window, + PlumaFileChooserDialog *dialog) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); g_object_set_data (G_OBJECT (window), - GEDIT_OPEN_DIALOG_KEY, + PLUMA_OPEN_DIALOG_KEY, NULL); } static void -open_dialog_response_cb (GeditFileChooserDialog *dialog, +open_dialog_response_cb (PlumaFileChooserDialog *dialog, gint response_id, - GeditWindow *window) + PlumaWindow *window) { GSList *files; - const GeditEncoding *encoding; + const PlumaEncoding *encoding; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); if (response_id != GTK_RESPONSE_OK) { @@ -411,14 +411,14 @@ open_dialog_response_cb (GeditFileChooserDialog *dialog, files = gtk_file_chooser_get_files (GTK_FILE_CHOOSER (dialog)); g_return_if_fail (files != NULL); - encoding = gedit_file_chooser_dialog_get_encoding (dialog); + encoding = pluma_file_chooser_dialog_get_encoding (dialog); gtk_widget_destroy (GTK_WIDGET (dialog)); /* Remember the folder we navigated to */ - _gedit_window_set_default_location (window, files->data); + _pluma_window_set_default_location (window, files->data); - gedit_commands_load_files (window, + pluma_commands_load_files (window, files, encoding, 0); @@ -428,21 +428,21 @@ open_dialog_response_cb (GeditFileChooserDialog *dialog, } void -_gedit_cmd_file_open (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_open (GtkAction *action, + PlumaWindow *window) { GtkWidget *open_dialog; gpointer data; - GeditDocument *doc; + PlumaDocument *doc; GFile *default_path = NULL; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - data = g_object_get_data (G_OBJECT (window), GEDIT_OPEN_DIALOG_KEY); + data = g_object_get_data (G_OBJECT (window), PLUMA_OPEN_DIALOG_KEY); if (data != NULL) { - g_return_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (data)); + g_return_if_fail (PLUMA_IS_FILE_CHOOSER_DIALOG (data)); gtk_window_present (GTK_WINDOW (data)); @@ -450,7 +450,7 @@ _gedit_cmd_file_open (GtkAction *action, } /* Translators: "Open Files" is the title of the file chooser window */ - open_dialog = gedit_file_chooser_dialog_new (_("Open Files"), + open_dialog = pluma_file_chooser_dialog_new (_("Open Files"), GTK_WINDOW (window), GTK_FILE_CHOOSER_ACTION_OPEN, NULL, @@ -459,7 +459,7 @@ _gedit_cmd_file_open (GtkAction *action, NULL); g_object_set_data (G_OBJECT (window), - GEDIT_OPEN_DIALOG_KEY, + PLUMA_OPEN_DIALOG_KEY, open_dialog); g_object_weak_ref (G_OBJECT (open_dialog), @@ -467,12 +467,12 @@ _gedit_cmd_file_open (GtkAction *action, window); /* Set the curret folder uri */ - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); if (doc != NULL) { GFile *file; - file = gedit_document_get_location (doc); + file = pluma_document_get_location (doc); if (file != NULL) { @@ -482,7 +482,7 @@ _gedit_cmd_file_open (GtkAction *action, } if (default_path == NULL) - default_path = _gedit_window_get_default_location (window); + default_path = _pluma_window_get_default_location (window); if (default_path != NULL) { @@ -505,7 +505,7 @@ _gedit_cmd_file_open (GtkAction *action, } /* File saving */ -static void file_save_as (GeditTab *tab, GeditWindow *window); +static void file_save_as (PlumaTab *tab, PlumaWindow *window); static gboolean is_read_only (GFile *location) @@ -513,7 +513,7 @@ is_read_only (GFile *location) gboolean ret = TRUE; /* default to read only */ GFileInfo *info; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); info = g_file_query_info (location, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE, @@ -546,7 +546,7 @@ replace_read_only_file (GtkWindow *parent, GFile *file) gchar *parse_name; gchar *name_for_display; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); parse_name = g_file_get_parse_name (file); @@ -554,7 +554,7 @@ replace_read_only_file (GtkWindow *parent, GFile *file) * though the dialog uses wrapped text, if the name doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - name_for_display = gedit_utils_str_middle_truncate (parse_name, 50); + name_for_display = pluma_utils_str_middle_truncate (parse_name, 50); g_free (parse_name); dialog = gtk_message_dialog_new (parent, @@ -573,7 +573,7 @@ replace_read_only_file (GtkWindow *parent, GFile *file) GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - gedit_dialog_add_button (GTK_DIALOG (dialog), + pluma_dialog_add_button (GTK_DIALOG (dialog), _("_Replace"), GTK_STOCK_SAVE_AS, GTK_RESPONSE_YES); @@ -591,21 +591,21 @@ replace_read_only_file (GtkWindow *parent, GFile *file) } static void -save_dialog_response_cb (GeditFileChooserDialog *dialog, +save_dialog_response_cb (PlumaFileChooserDialog *dialog, gint response_id, - GeditWindow *window) + PlumaWindow *window) { GFile *file; - const GeditEncoding *encoding; - GeditTab *tab; + const PlumaEncoding *encoding; + PlumaTab *tab; gpointer data; GSList *tabs_to_save_as; - GeditDocumentNewlineType newline_type; + PlumaDocumentNewlineType newline_type; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = GEDIT_TAB (g_object_get_data (G_OBJECT (dialog), - GEDIT_TAB_TO_SAVE_AS)); + tab = PLUMA_TAB (g_object_get_data (G_OBJECT (dialog), + PLUMA_TAB_TO_SAVE_AS)); if (response_id != GTK_RESPONSE_OK) { @@ -617,23 +617,23 @@ save_dialog_response_cb (GeditFileChooserDialog *dialog, file = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (dialog)); g_return_if_fail (file != NULL); - encoding = gedit_file_chooser_dialog_get_encoding (dialog); - newline_type = gedit_file_chooser_dialog_get_newline_type (dialog); + encoding = pluma_file_chooser_dialog_get_encoding (dialog); + newline_type = pluma_file_chooser_dialog_get_newline_type (dialog); gtk_widget_destroy (GTK_WIDGET (dialog)); if (tab != NULL) { - GeditDocument *doc; + PlumaDocument *doc; gchar *parse_name; gchar *uri; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); parse_name = g_file_get_parse_name (file); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, _("Saving file '%s'\342\200\246"), parse_name); @@ -642,11 +642,11 @@ save_dialog_response_cb (GeditFileChooserDialog *dialog, /* let's remember the dir we navigated too, * even if the saving fails... */ - _gedit_window_set_default_location (window, file); + _pluma_window_set_default_location (window, file); // FIXME: pass the GFile to tab when api is there uri = g_file_get_uri (file); - _gedit_tab_save_as (tab, uri, encoding, newline_type); + _pluma_tab_save_as (tab, uri, encoding, newline_type); g_free (uri); } @@ -655,31 +655,31 @@ save_dialog_response_cb (GeditFileChooserDialog *dialog, save_next_tab: data = g_object_get_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS); + PLUMA_LIST_OF_TABS_TO_SAVE_AS); if (data == NULL) return; /* Save As the next tab of the list (we are Saving All files) */ tabs_to_save_as = (GSList *)data; - g_return_if_fail (tab == GEDIT_TAB (tabs_to_save_as->data)); + g_return_if_fail (tab == PLUMA_TAB (tabs_to_save_as->data)); /* Remove the first item of the list */ tabs_to_save_as = g_slist_delete_link (tabs_to_save_as, tabs_to_save_as); g_object_set_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS, + PLUMA_LIST_OF_TABS_TO_SAVE_AS, tabs_to_save_as); if (tabs_to_save_as != NULL) { - tab = GEDIT_TAB (tabs_to_save_as->data); + tab = PLUMA_TAB (tabs_to_save_as->data); if (GPOINTER_TO_BOOLEAN (g_object_get_data (G_OBJECT (tab), - GEDIT_IS_CLOSING_TAB)) == TRUE) + PLUMA_IS_CLOSING_TAB)) == TRUE) { g_object_set_data (G_OBJECT (tab), - GEDIT_IS_CLOSING_TAB, + PLUMA_IS_CLOSING_TAB, NULL); /* Trace tab state changes */ @@ -689,7 +689,7 @@ save_next_tab: window); } - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); file_save_as (tab, window); } } @@ -702,7 +702,7 @@ confirm_overwrite_callback (GtkFileChooser *dialog, GFile *file; GtkFileChooserConfirmation res; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); uri = gtk_file_chooser_get_uri (dialog); file = g_file_new_for_uri (uri); @@ -727,23 +727,23 @@ confirm_overwrite_callback (GtkFileChooser *dialog, } static void -file_save_as (GeditTab *tab, - GeditWindow *window) +file_save_as (PlumaTab *tab, + PlumaWindow *window) { GtkWidget *save_dialog; GtkWindowGroup *wg; - GeditDocument *doc; + PlumaDocument *doc; GFile *file; gboolean uri_set = FALSE; - const GeditEncoding *encoding; - GeditDocumentNewlineType newline_type; + const PlumaEncoding *encoding; + PlumaDocumentNewlineType newline_type; - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - save_dialog = gedit_file_chooser_dialog_new (_("Save As\342\200\246"), + save_dialog = pluma_file_chooser_dialog_new (_("Save As\342\200\246"), GTK_WINDOW (window), GTK_FILE_CHOOSER_ACTION_SAVE, NULL, @@ -758,7 +758,7 @@ file_save_as (GeditTab *tab, G_CALLBACK (confirm_overwrite_callback), NULL); - wg = gedit_window_get_group (window); + wg = pluma_window_get_group (window); gtk_window_group_add_window (wg, GTK_WINDOW (save_dialog)); @@ -767,8 +767,8 @@ file_save_as (GeditTab *tab, gtk_window_set_modal (GTK_WINDOW (save_dialog), TRUE); /* Set the suggested file name */ - doc = gedit_tab_get_document (tab); - file = gedit_document_get_location (doc); + doc = pluma_tab_get_document (tab); + file = pluma_document_get_location (doc); if (file != NULL) { @@ -785,8 +785,8 @@ file_save_as (GeditTab *tab, GFile *default_path; gchar *docname; - default_path = _gedit_window_get_default_location (window); - docname = gedit_document_get_short_name_for_display (doc); + default_path = _pluma_window_get_default_location (window); + docname = pluma_document_get_short_name_for_display (doc); if (default_path != NULL) { @@ -807,19 +807,19 @@ file_save_as (GeditTab *tab, } /* Set suggested encoding */ - encoding = gedit_document_get_encoding (doc); + encoding = pluma_document_get_encoding (doc); g_return_if_fail (encoding != NULL); - newline_type = gedit_document_get_newline_type (doc); + newline_type = pluma_document_get_newline_type (doc); - gedit_file_chooser_dialog_set_encoding (GEDIT_FILE_CHOOSER_DIALOG (save_dialog), + pluma_file_chooser_dialog_set_encoding (PLUMA_FILE_CHOOSER_DIALOG (save_dialog), encoding); - gedit_file_chooser_dialog_set_newline_type (GEDIT_FILE_CHOOSER_DIALOG (save_dialog), + pluma_file_chooser_dialog_set_newline_type (PLUMA_FILE_CHOOSER_DIALOG (save_dialog), newline_type); g_object_set_data (G_OBJECT (save_dialog), - GEDIT_TAB_TO_SAVE_AS, + PLUMA_TAB_TO_SAVE_AS, tab); g_signal_connect (save_dialog, @@ -831,50 +831,50 @@ file_save_as (GeditTab *tab, } static void -file_save (GeditTab *tab, - GeditWindow *window) +file_save (PlumaTab *tab, + PlumaWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; gchar *uri_for_display; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); - if (gedit_document_is_untitled (doc) || - gedit_document_get_readonly (doc)) + if (pluma_document_is_untitled (doc) || + pluma_document_get_readonly (doc)) { - gedit_debug_message (DEBUG_COMMANDS, "Untitled or Readonly"); + pluma_debug_message (DEBUG_COMMANDS, "Untitled or Readonly"); file_save_as (tab, window); return; } - uri_for_display = gedit_document_get_uri_for_display (doc); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + uri_for_display = pluma_document_get_uri_for_display (doc); + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, _("Saving file '%s'\342\200\246"), uri_for_display); g_free (uri_for_display); - _gedit_tab_save (tab); + _pluma_tab_save (tab); } void -_gedit_cmd_file_save (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_save (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; @@ -882,14 +882,14 @@ _gedit_cmd_file_save (GtkAction *action, } void -_gedit_cmd_file_save_as (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_save_as (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; @@ -897,60 +897,60 @@ _gedit_cmd_file_save_as (GtkAction *action, } static gboolean -document_needs_saving (GeditDocument *doc) +document_needs_saving (PlumaDocument *doc) { if (gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc))) return TRUE; /* we check if it was deleted only for local files * since for remote files it may hang */ - if (gedit_document_is_local (doc) && gedit_document_get_deleted (doc)) + if (pluma_document_is_local (doc) && pluma_document_get_deleted (doc)) return TRUE; return FALSE; } /* - * The docs in the list must belong to the same GeditWindow. + * The docs in the list must belong to the same PlumaWindow. */ void -_gedit_cmd_file_save_documents_list (GeditWindow *window, +_pluma_cmd_file_save_documents_list (PlumaWindow *window, GList *docs) { GList *l; GSList *tabs_to_save_as = NULL; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_if_fail (!(gedit_window_get_state (window) & - (GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION))); + g_return_if_fail (!(pluma_window_get_state (window) & + (PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION))); l = docs; while (l != NULL) { - GeditDocument *doc; - GeditTab *t; - GeditTabState state; + PlumaDocument *doc; + PlumaTab *t; + PlumaTabState state; - g_return_if_fail (GEDIT_IS_DOCUMENT (l->data)); + g_return_if_fail (PLUMA_IS_DOCUMENT (l->data)); - doc = GEDIT_DOCUMENT (l->data); - t = gedit_tab_get_from_document (doc); - state = gedit_tab_get_state (t); + doc = PLUMA_DOCUMENT (l->data); + t = pluma_tab_get_from_document (doc); + state = pluma_tab_get_state (t); - g_return_if_fail (state != GEDIT_TAB_STATE_PRINTING); - g_return_if_fail (state != GEDIT_TAB_STATE_PRINT_PREVIEWING); - g_return_if_fail (state != GEDIT_TAB_STATE_CLOSING); + g_return_if_fail (state != PLUMA_TAB_STATE_PRINTING); + g_return_if_fail (state != PLUMA_TAB_STATE_PRINT_PREVIEWING); + g_return_if_fail (state != PLUMA_TAB_STATE_CLOSING); - if ((state == GEDIT_TAB_STATE_NORMAL) || - (state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) || - (state == GEDIT_TAB_STATE_GENERIC_NOT_EDITABLE)) + if ((state == PLUMA_TAB_STATE_NORMAL) || + (state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) || + (state == PLUMA_TAB_STATE_GENERIC_NOT_EDITABLE)) { /* FIXME: manage the case of local readonly files owned by the - user is running gedit - Paolo (Dec. 8, 2005) */ - if (gedit_document_is_untitled (doc) || - gedit_document_get_readonly (doc)) + user is running pluma - Paolo (Dec. 8, 2005) */ + if (pluma_document_is_untitled (doc) || + pluma_document_get_readonly (doc)) { if (document_needs_saving (doc)) { @@ -966,30 +966,30 @@ _gedit_cmd_file_save_documents_list (GeditWindow *window, else { /* If the state is: - - GEDIT_TAB_STATE_LOADING: we do not save since we are sure the file is unmodified - - GEDIT_TAB_STATE_REVERTING: we do not save since the user wants + - PLUMA_TAB_STATE_LOADING: we do not save since we are sure the file is unmodified + - PLUMA_TAB_STATE_REVERTING: we do not save since the user wants to return back to the version of the file she previously saved - - GEDIT_TAB_STATE_SAVING: well, we are already saving (no need to save again) - - GEDIT_TAB_STATE_PRINTING, GEDIT_TAB_STATE_PRINT_PREVIEWING: there is not a + - PLUMA_TAB_STATE_SAVING: well, we are already saving (no need to save again) + - PLUMA_TAB_STATE_PRINTING, PLUMA_TAB_STATE_PRINT_PREVIEWING: there is not a real reason for not saving in this case, we do not save to avoid to run two operations using the message area at the same time (may be we can remove this limitation in the future). Note that SaveAll, ClosAll and Quit are unsensitive if the window state is PRINTING. - - GEDIT_TAB_STATE_GENERIC_ERROR: we do not save since the document contains + - PLUMA_TAB_STATE_GENERIC_ERROR: we do not save since the document contains errors (I don't think this is a very frequent case, we should probably remove this state) - - GEDIT_TAB_STATE_LOADING_ERROR: there is nothing to save - - GEDIT_TAB_STATE_REVERTING_ERROR: there is nothing to save and saving the current + - PLUMA_TAB_STATE_LOADING_ERROR: there is nothing to save + - PLUMA_TAB_STATE_REVERTING_ERROR: there is nothing to save and saving the current document will overwrite the copy of the file the user wants to go back to - - GEDIT_TAB_STATE_SAVING_ERROR: we do not save since we just failed to save, so there is + - PLUMA_TAB_STATE_SAVING_ERROR: we do not save since we just failed to save, so there is no reason to automatically retry... we wait for user intervention - - GEDIT_TAB_STATE_CLOSING: this state is invalid in this case + - PLUMA_TAB_STATE_CLOSING: this state is invalid in this case */ gchar *uri_for_display; - uri_for_display = gedit_document_get_uri_for_display (doc); - gedit_debug_message (DEBUG_COMMANDS, + uri_for_display = pluma_document_get_uri_for_display (doc); + pluma_debug_message (DEBUG_COMMANDS, "File '%s' not saved. State: %d", uri_for_display, state); @@ -1001,98 +1001,98 @@ _gedit_cmd_file_save_documents_list (GeditWindow *window, if (tabs_to_save_as != NULL) { - GeditTab *tab; + PlumaTab *tab; tabs_to_save_as = g_slist_reverse (tabs_to_save_as ); g_return_if_fail (g_object_get_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS) == NULL); + PLUMA_LIST_OF_TABS_TO_SAVE_AS) == NULL); g_object_set_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS, + PLUMA_LIST_OF_TABS_TO_SAVE_AS, tabs_to_save_as); - tab = GEDIT_TAB (tabs_to_save_as->data); + tab = PLUMA_TAB (tabs_to_save_as->data); - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); file_save_as (tab, window); } } void -gedit_commands_save_all_documents (GeditWindow *window) +pluma_commands_save_all_documents (PlumaWindow *window) { GList *docs; - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - docs = gedit_window_get_documents (window); + docs = pluma_window_get_documents (window); - _gedit_cmd_file_save_documents_list (window, docs); + _pluma_cmd_file_save_documents_list (window, docs); g_list_free (docs); } void -_gedit_cmd_file_save_all (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_save_all (GtkAction *action, + PlumaWindow *window) { - gedit_commands_save_all_documents (window); + pluma_commands_save_all_documents (window); } void -gedit_commands_save_document (GeditWindow *window, - GeditDocument *document) +pluma_commands_save_document (PlumaWindow *window, + PlumaDocument *document) { - GeditTab *tab; + PlumaTab *tab; - g_return_if_fail (GEDIT_IS_WINDOW (window)); - g_return_if_fail (GEDIT_IS_DOCUMENT (document)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_DOCUMENT (document)); - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_tab_get_from_document (document); + tab = pluma_tab_get_from_document (document); file_save (tab, window); } /* File revert */ static void -do_revert (GeditWindow *window, - GeditTab *tab) +do_revert (PlumaWindow *window, + PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; gchar *docname; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - doc = gedit_tab_get_document (tab); - docname = gedit_document_get_short_name_for_display (doc); + doc = pluma_tab_get_document (tab); + docname = pluma_document_get_short_name_for_display (doc); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, _("Reverting the document '%s'\342\200\246"), docname); g_free (docname); - _gedit_tab_revert (tab); + _pluma_tab_revert (tab); } static void revert_dialog_response_cb (GtkDialog *dialog, gint response_id, - GeditWindow *window) + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); /* FIXME: we are relying on the fact that the dialog is modal so the active tab can't be changed... not very nice - Paolo (Oct 11, 2005) */ - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); if (tab == NULL) return; @@ -1105,8 +1105,8 @@ revert_dialog_response_cb (GtkDialog *dialog, } static GtkWidget * -revert_dialog (GeditWindow *window, - GeditDocument *doc) +revert_dialog (PlumaWindow *window, + PlumaDocument *doc) { GtkWidget *dialog; gchar *docname; @@ -1114,14 +1114,14 @@ revert_dialog (GeditWindow *window, gchar *secondary_msg; glong seconds; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - docname = gedit_document_get_short_name_for_display (doc); + docname = pluma_document_get_short_name_for_display (doc); primary_msg = g_strdup_printf (_("Revert unsaved changes to document '%s'?"), docname); g_free (docname); - seconds = MAX (1, _gedit_document_get_seconds_since_last_save_or_load (doc)); + seconds = MAX (1, _pluma_document_get_seconds_since_last_save_or_load (doc)); if (seconds < 55) { @@ -1212,7 +1212,7 @@ revert_dialog (GeditWindow *window, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - gedit_dialog_add_button (GTK_DIALOG (dialog), + pluma_dialog_add_button (GTK_DIALOG (dialog), _("_Revert"), GTK_STOCK_REVERT_TO_SAVED, GTK_RESPONSE_OK); @@ -1224,35 +1224,35 @@ revert_dialog (GeditWindow *window, } void -_gedit_cmd_file_revert (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_revert (GtkAction *action, + PlumaWindow *window) { - GeditTab *tab; - GeditDocument *doc; + PlumaTab *tab; + PlumaDocument *doc; GtkWidget *dialog; GtkWindowGroup *wg; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_window_get_active_tab (window); + tab = pluma_window_get_active_tab (window); g_return_if_fail (tab != NULL); /* If we are already displaying a notification * reverting will drop local modifications, do * not bug the user further */ - if (gedit_tab_get_state (tab) == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) + if (pluma_tab_get_state (tab) == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) { do_revert (window, tab); return; } - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); g_return_if_fail (doc != NULL); - g_return_if_fail (!gedit_document_is_untitled (doc)); + g_return_if_fail (!pluma_document_is_untitled (doc)); dialog = revert_dialog (window, doc); - wg = gedit_window_get_group (window); + wg = pluma_window_get_group (window); gtk_window_group_add_window (wg, GTK_WINDOW (dialog)); @@ -1268,29 +1268,29 @@ _gedit_cmd_file_revert (GtkAction *action, /* Close tab */ static gboolean -really_close_tab (GeditTab *tab) +really_close_tab (PlumaTab *tab) { GtkWidget *toplevel; - GeditWindow *window; + PlumaWindow *window; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_val_if_fail (gedit_tab_get_state (tab) == GEDIT_TAB_STATE_CLOSING, + g_return_val_if_fail (pluma_tab_get_state (tab) == PLUMA_TAB_STATE_CLOSING, FALSE); toplevel = gtk_widget_get_toplevel (GTK_WIDGET (tab)); - g_return_val_if_fail (GEDIT_IS_WINDOW (toplevel), FALSE); + g_return_val_if_fail (PLUMA_IS_WINDOW (toplevel), FALSE); - window = GEDIT_WINDOW (toplevel); + window = PLUMA_WINDOW (toplevel); - gedit_window_close_tab (window, tab); + pluma_window_close_tab (window, tab); - if (gedit_window_get_active_tab (window) == NULL) + if (pluma_window_get_active_tab (window) == NULL) { gboolean is_quitting; is_quitting = GPOINTER_TO_BOOLEAN (g_object_get_data (G_OBJECT (window), - GEDIT_IS_QUITTING)); + PLUMA_IS_QUITTING)); if (is_quitting) gtk_widget_destroy (GTK_WIDGET (window)); @@ -1300,27 +1300,27 @@ really_close_tab (GeditTab *tab) } static void -tab_state_changed_while_saving (GeditTab *tab, +tab_state_changed_while_saving (PlumaTab *tab, GParamSpec *pspec, - GeditWindow *window) + PlumaWindow *window) { - GeditTabState ts; + PlumaTabState ts; - ts = gedit_tab_get_state (tab); + ts = pluma_tab_get_state (tab); - gedit_debug_message (DEBUG_COMMANDS, "State while saving: %d\n", ts); + pluma_debug_message (DEBUG_COMMANDS, "State while saving: %d\n", ts); /* When the state become NORMAL, it means the saving operation is finished */ - if (ts == GEDIT_TAB_STATE_NORMAL) + if (ts == PLUMA_TAB_STATE_NORMAL) { - GeditDocument *doc; + PlumaDocument *doc; g_signal_handlers_disconnect_by_func (tab, G_CALLBACK (tab_state_changed_while_saving), window); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); g_return_if_fail (doc != NULL); /* If the saving operation failed or was interrupted, then the @@ -1331,7 +1331,7 @@ tab_state_changed_while_saving (GeditTab *tab, /* Close the document only if it has been succesfully saved. Tab state is set to CLOSING (it is a state without exiting transitions) and the tab is closed in a idle handler */ - _gedit_tab_mark_for_closing (tab); + _pluma_tab_mark_for_closing (tab); g_idle_add_full (G_PRIORITY_HIGH_IDLE, (GSourceFunc)really_close_tab, @@ -1341,10 +1341,10 @@ tab_state_changed_while_saving (GeditTab *tab, } static void -save_and_close (GeditTab *tab, - GeditWindow *window) +save_and_close (PlumaTab *tab, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); /* Trace tab state changes */ g_signal_connect (tab, @@ -1356,13 +1356,13 @@ save_and_close (GeditTab *tab, } static void -save_as_and_close (GeditTab *tab, - GeditWindow *window) +save_as_and_close (PlumaTab *tab, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); g_object_set_data (G_OBJECT (tab), - GEDIT_IS_CLOSING_TAB, + PLUMA_IS_CLOSING_TAB, NULL); /* Trace tab state changes */ @@ -1371,13 +1371,13 @@ save_as_and_close (GeditTab *tab, G_CALLBACK (tab_state_changed_while_saving), window); - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); file_save_as (tab, window); } static void save_and_close_all_documents (const GList *docs, - GeditWindow *window) + PlumaWindow *window) { GList *tabs; GList *l; @@ -1386,12 +1386,12 @@ save_and_close_all_documents (const GList *docs, GSList *tabs_to_save_and_close; GList *tabs_to_close; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_if_fail (!(gedit_window_get_state (window) & GEDIT_WINDOW_STATE_PRINTING)); + g_return_if_fail (!(pluma_window_get_state (window) & PLUMA_WINDOW_STATE_PRINTING)); tabs = gtk_container_get_children ( - GTK_CONTAINER (_gedit_window_get_notebook (window))); + GTK_CONTAINER (_pluma_window_get_notebook (window))); tabs_to_save_as = NULL; tabs_to_save_and_close = NULL; @@ -1400,63 +1400,63 @@ save_and_close_all_documents (const GList *docs, l = tabs; while (l != NULL) { - GeditTab *t; - GeditTabState state; - GeditDocument *doc; + PlumaTab *t; + PlumaTabState state; + PlumaDocument *doc; - t = GEDIT_TAB (l->data); + t = PLUMA_TAB (l->data); - state = gedit_tab_get_state (t); - doc = gedit_tab_get_document (t); + state = pluma_tab_get_state (t); + doc = pluma_tab_get_document (t); /* If the state is: ([*] invalid states) - - GEDIT_TAB_STATE_NORMAL: close (and if needed save) - - GEDIT_TAB_STATE_LOADING: close, we are sure the file is unmodified - - GEDIT_TAB_STATE_REVERTING: since the user wants + - PLUMA_TAB_STATE_NORMAL: close (and if needed save) + - PLUMA_TAB_STATE_LOADING: close, we are sure the file is unmodified + - PLUMA_TAB_STATE_REVERTING: since the user wants to return back to the version of the file she previously saved, we can close without saving (CHECK: are we sure this is the right behavior, suppose the case the original file has been deleted) - - [*] GEDIT_TAB_STATE_SAVING: invalid, ClosAll + - [*] PLUMA_TAB_STATE_SAVING: invalid, ClosAll and Quit are unsensitive if the window state is SAVING. - - [*] GEDIT_TAB_STATE_PRINTING, GEDIT_TAB_STATE_PRINT_PREVIEWING: there is not a + - [*] PLUMA_TAB_STATE_PRINTING, PLUMA_TAB_STATE_PRINT_PREVIEWING: there is not a real reason for not closing in this case, we do not save to avoid to run two operations using the message area at the same time (may be we can remove this limitation in the future). Note that ClosAll and Quit are unsensitive if the window state is PRINTING. - - GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW: close (and if needed save) - - GEDIT_TAB_STATE_LOADING_ERROR: close without saving (if the state is LOADING_ERROR then the + - PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW: close (and if needed save) + - PLUMA_TAB_STATE_LOADING_ERROR: close without saving (if the state is LOADING_ERROR then the document is not modified) - - GEDIT_TAB_STATE_REVERTING_ERROR: we do not close since the document contains errors - - GEDIT_TAB_STATE_SAVING_ERROR: we do not close since the document contains errors - - GEDIT_TAB_STATE_GENERIC_ERROR: we do not close since the document contains + - PLUMA_TAB_STATE_REVERTING_ERROR: we do not close since the document contains errors + - PLUMA_TAB_STATE_SAVING_ERROR: we do not close since the document contains errors + - PLUMA_TAB_STATE_GENERIC_ERROR: we do not close since the document contains errors (CHECK: we should problably remove this state) - - [*] GEDIT_TAB_STATE_CLOSING: this state is invalid in this case + - [*] PLUMA_TAB_STATE_CLOSING: this state is invalid in this case */ - g_return_if_fail (state != GEDIT_TAB_STATE_PRINTING); - g_return_if_fail (state != GEDIT_TAB_STATE_PRINT_PREVIEWING); - g_return_if_fail (state != GEDIT_TAB_STATE_CLOSING); - g_return_if_fail (state != GEDIT_TAB_STATE_SAVING); + g_return_if_fail (state != PLUMA_TAB_STATE_PRINTING); + g_return_if_fail (state != PLUMA_TAB_STATE_PRINT_PREVIEWING); + g_return_if_fail (state != PLUMA_TAB_STATE_CLOSING); + g_return_if_fail (state != PLUMA_TAB_STATE_SAVING); - if ((state != GEDIT_TAB_STATE_SAVING_ERROR) && - (state != GEDIT_TAB_STATE_GENERIC_ERROR) && - (state != GEDIT_TAB_STATE_REVERTING_ERROR)) + if ((state != PLUMA_TAB_STATE_SAVING_ERROR) && + (state != PLUMA_TAB_STATE_GENERIC_ERROR) && + (state != PLUMA_TAB_STATE_REVERTING_ERROR)) { if ((g_list_index ((GList *)docs, doc) >= 0) && - (state != GEDIT_TAB_STATE_LOADING) && - (state != GEDIT_TAB_STATE_LOADING_ERROR) && - (state != GEDIT_TAB_STATE_REVERTING)) /* CHECK: is this the right behavior with REVERTING ?*/ + (state != PLUMA_TAB_STATE_LOADING) && + (state != PLUMA_TAB_STATE_LOADING_ERROR) && + (state != PLUMA_TAB_STATE_REVERTING)) /* CHECK: is this the right behavior with REVERTING ?*/ { /* The document must be saved before closing */ g_return_if_fail (document_needs_saving (doc)); /* FIXME: manage the case of local readonly files owned by the - user is running gedit - Paolo (Dec. 8, 2005) */ - if (gedit_document_is_untitled (doc) || - gedit_document_get_readonly (doc)) + user is running pluma - Paolo (Dec. 8, 2005) */ + if (pluma_document_is_untitled (doc) || + pluma_document_get_readonly (doc)) { g_object_set_data (G_OBJECT (t), - GEDIT_IS_CLOSING_TAB, + PLUMA_IS_CLOSING_TAB, GBOOLEAN_TO_POINTER (TRUE)); tabs_to_save_as = g_slist_prepend (tabs_to_save_as, @@ -1482,14 +1482,14 @@ save_and_close_all_documents (const GList *docs, g_list_free (tabs); /* Close all tabs to close (in a sync way) */ - gedit_window_close_tabs (window, tabs_to_close); + pluma_window_close_tabs (window, tabs_to_close); g_list_free (tabs_to_close); /* Save and close all the files in tabs_to_save_and_close */ sl = tabs_to_save_and_close; while (sl != NULL) { - save_and_close (GEDIT_TAB (sl->data), + save_and_close (PLUMA_TAB (sl->data), window); sl = g_slist_next (sl); } @@ -1498,18 +1498,18 @@ save_and_close_all_documents (const GList *docs, /* Save As and close all the files in tabs_to_save_as */ if (tabs_to_save_as != NULL) { - GeditTab *tab; + PlumaTab *tab; tabs_to_save_as = g_slist_reverse (tabs_to_save_as ); g_return_if_fail (g_object_get_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS) == NULL); + PLUMA_LIST_OF_TABS_TO_SAVE_AS) == NULL); g_object_set_data (G_OBJECT (window), - GEDIT_LIST_OF_TABS_TO_SAVE_AS, + PLUMA_LIST_OF_TABS_TO_SAVE_AS, tabs_to_save_as); - tab = GEDIT_TAB (tabs_to_save_as->data); + tab = PLUMA_TAB (tabs_to_save_as->data); save_as_and_close (tab, window); } @@ -1517,32 +1517,32 @@ save_and_close_all_documents (const GList *docs, static void save_and_close_document (const GList *docs, - GeditWindow *window) + PlumaWindow *window) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); g_return_if_fail (docs->next == NULL); - tab = gedit_tab_get_from_document (GEDIT_DOCUMENT (docs->data)); + tab = pluma_tab_get_from_document (PLUMA_DOCUMENT (docs->data)); g_return_if_fail (tab != NULL); save_and_close (tab, window); } static void -close_all_tabs (GeditWindow *window) +close_all_tabs (PlumaWindow *window) { gboolean is_quitting; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); /* There is no document to save -> close all tabs */ - gedit_window_close_all_tabs (window); + pluma_window_close_all_tabs (window); is_quitting = GPOINTER_TO_BOOLEAN (g_object_get_data (G_OBJECT (window), - GEDIT_IS_QUITTING)); + PLUMA_IS_QUITTING)); if (is_quitting) gtk_widget_destroy (GTK_WIDGET (window)); @@ -1551,45 +1551,45 @@ close_all_tabs (GeditWindow *window) } static void -close_document (GeditWindow *window, - GeditDocument *doc) +close_document (PlumaWindow *window, + PlumaDocument *doc) { - GeditTab *tab; + PlumaTab *tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - tab = gedit_tab_get_from_document (doc); + tab = pluma_tab_get_from_document (doc); g_return_if_fail (tab != NULL); - gedit_window_close_tab (window, tab); + pluma_window_close_tab (window, tab); } static void -close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, +close_confirmation_dialog_response_handler (PlumaCloseConfirmationDialog *dlg, gint response_id, - GeditWindow *window) + PlumaWindow *window) { GList *selected_documents; gboolean is_closing_all; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); is_closing_all = GPOINTER_TO_BOOLEAN (g_object_get_data (G_OBJECT (window), - GEDIT_IS_CLOSING_ALL)); + PLUMA_IS_CLOSING_ALL)); gtk_widget_hide (GTK_WIDGET (dlg)); switch (response_id) { case GTK_RESPONSE_YES: /* Save and Close */ - selected_documents = gedit_close_confirmation_dialog_get_selected_documents (dlg); + selected_documents = pluma_close_confirmation_dialog_get_selected_documents (dlg); if (selected_documents == NULL) { if (is_closing_all) { /* There is no document to save -> close all tabs */ /* We call gtk_widget_destroy before close_all_tabs - * because close_all_tabs could destroy the gedit window */ + * because close_all_tabs could destroy the pluma window */ gtk_widget_destroy (GTK_WIDGET (dlg)); close_all_tabs (window); @@ -1621,7 +1621,7 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, if (is_closing_all) { /* We call gtk_widget_destroy before close_all_tabs - * because close_all_tabs could destroy the gedit window */ + * because close_all_tabs could destroy the pluma window */ gtk_widget_destroy (GTK_WIDGET (dlg)); close_all_tabs (window); @@ -1632,11 +1632,11 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, { const GList *unsaved_documents; - unsaved_documents = gedit_close_confirmation_dialog_get_unsaved_documents (dlg); + unsaved_documents = pluma_close_confirmation_dialog_get_unsaved_documents (dlg); g_return_if_fail (unsaved_documents->next == NULL); close_document (window, - GEDIT_DOCUMENT (unsaved_documents->data)); + PLUMA_DOCUMENT (unsaved_documents->data)); } break; @@ -1644,12 +1644,12 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, /* Reset is_quitting flag */ g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING, + PLUMA_IS_QUITTING, GBOOLEAN_TO_POINTER (FALSE)); #ifdef OS_OSX g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING_ALL, + PLUMA_IS_QUITTING_ALL, GINT_TO_POINTER (FALSE)); #endif break; @@ -1660,20 +1660,20 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, /* Returns TRUE if the tab can be immediately closed */ static gboolean -tab_can_close (GeditTab *tab, +tab_can_close (PlumaTab *tab, GtkWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - if (!_gedit_tab_can_close (tab)) + if (!_pluma_tab_can_close (tab)) { GtkWidget *dlg; - dlg = gedit_close_confirmation_dialog_new_single ( + dlg = pluma_close_confirmation_dialog_new_single ( window, doc, FALSE); @@ -1693,44 +1693,44 @@ tab_can_close (GeditTab *tab, /* CHECK: we probably need this one public for plugins... * maybe even a _list variant. Or maybe it's better make - * gedit_window_close_tab always run the confirm dialog? + * pluma_window_close_tab always run the confirm dialog? * we should not allow closing a tab without resetting the - * GEDIT_IS_CLOSING_ALL flag! + * PLUMA_IS_CLOSING_ALL flag! */ void -_gedit_cmd_file_close_tab (GeditTab *tab, - GeditWindow *window) +_pluma_cmd_file_close_tab (PlumaTab *tab, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); g_return_if_fail (GTK_WIDGET (window) == gtk_widget_get_toplevel (GTK_WIDGET (tab))); g_object_set_data (G_OBJECT (window), - GEDIT_IS_CLOSING_ALL, + PLUMA_IS_CLOSING_ALL, GBOOLEAN_TO_POINTER (FALSE)); g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING, + PLUMA_IS_QUITTING, GBOOLEAN_TO_POINTER (FALSE)); g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING_ALL, + PLUMA_IS_QUITTING_ALL, GINT_TO_POINTER (FALSE)); if (tab_can_close (tab, GTK_WINDOW (window))) - gedit_window_close_tab (window, tab); + pluma_window_close_tab (window, tab); } void -_gedit_cmd_file_close (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_close (GtkAction *action, + PlumaWindow *window) { - GeditTab *active_tab; + PlumaTab *active_tab; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_tab = gedit_window_get_active_tab (window); + active_tab = pluma_window_get_active_tab (window); if (active_tab == NULL) { @@ -1741,38 +1741,38 @@ _gedit_cmd_file_close (GtkAction *action, return; } - _gedit_cmd_file_close_tab (active_tab, window); + _pluma_cmd_file_close_tab (active_tab, window); } /* Close all tabs */ static void -file_close_all (GeditWindow *window, +file_close_all (PlumaWindow *window, gboolean is_quitting) { GList *unsaved_docs; GtkWidget *dlg; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_if_fail (!(gedit_window_get_state (window) & - (GEDIT_WINDOW_STATE_SAVING | - GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION))); + g_return_if_fail (!(pluma_window_get_state (window) & + (PLUMA_WINDOW_STATE_SAVING | + PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION))); g_object_set_data (G_OBJECT (window), - GEDIT_IS_CLOSING_ALL, + PLUMA_IS_CLOSING_ALL, GBOOLEAN_TO_POINTER (TRUE)); g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING, + PLUMA_IS_QUITTING, GBOOLEAN_TO_POINTER (is_quitting)); - unsaved_docs = gedit_window_get_unsaved_documents (window); + unsaved_docs = pluma_window_get_unsaved_documents (window); if (unsaved_docs == NULL) { /* There is no document to save -> close all tabs */ - gedit_window_close_all_tabs (window); + pluma_window_close_all_tabs (window); if (is_quitting) gtk_widget_destroy (GTK_WIDGET (window)); @@ -1783,24 +1783,24 @@ file_close_all (GeditWindow *window, if (unsaved_docs->next == NULL) { /* There is only one unsaved document */ - GeditTab *tab; - GeditDocument *doc; + PlumaTab *tab; + PlumaDocument *doc; - doc = GEDIT_DOCUMENT (unsaved_docs->data); + doc = PLUMA_DOCUMENT (unsaved_docs->data); - tab = gedit_tab_get_from_document (doc); + tab = pluma_tab_get_from_document (doc); g_return_if_fail (tab != NULL); - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); - dlg = gedit_close_confirmation_dialog_new_single ( + dlg = pluma_close_confirmation_dialog_new_single ( GTK_WINDOW (window), doc, FALSE); } else { - dlg = gedit_close_confirmation_dialog_new (GTK_WINDOW (window), + dlg = pluma_close_confirmation_dialog_new (GTK_WINDOW (window), unsaved_docs, FALSE); } @@ -1816,15 +1816,15 @@ file_close_all (GeditWindow *window, } void -_gedit_cmd_file_close_all (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_close_all (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - g_return_if_fail (!(gedit_window_get_state (window) & - (GEDIT_WINDOW_STATE_SAVING | - GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION))); + g_return_if_fail (!(pluma_window_get_state (window) & + (PLUMA_WINDOW_STATE_SAVING | + PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION))); file_close_all (window, FALSE); } @@ -1836,23 +1836,23 @@ quit_all () { GList *windows; GList *item; - GeditApp *app; + PlumaApp *app; - app = gedit_app_get_default (); - windows = g_list_copy ((GList *)gedit_app_get_windows (app)); + app = pluma_app_get_default (); + windows = g_list_copy ((GList *)pluma_app_get_windows (app)); for (item = windows; item; item = g_list_next (item)) { - GeditWindow *window = GEDIT_WINDOW (item->data); + PlumaWindow *window = PLUMA_WINDOW (item->data); g_object_set_data (G_OBJECT (window), - GEDIT_IS_QUITTING_ALL, + PLUMA_IS_QUITTING_ALL, GINT_TO_POINTER (TRUE)); - if (!(gedit_window_get_state (window) & - (GEDIT_WINDOW_STATE_SAVING | - GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION))) + if (!(pluma_window_get_state (window) & + (PLUMA_WINDOW_STATE_SAVING | + PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION))) { file_close_all (window, TRUE); } @@ -1863,10 +1863,10 @@ quit_all () #endif void -_gedit_cmd_file_quit (GtkAction *action, - GeditWindow *window) +_pluma_cmd_file_quit (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); #ifdef OS_OSX if (action != NULL) @@ -1876,10 +1876,10 @@ _gedit_cmd_file_quit (GtkAction *action, } #endif - g_return_if_fail (!(gedit_window_get_state (window) & - (GEDIT_WINDOW_STATE_SAVING | - GEDIT_WINDOW_STATE_PRINTING | - GEDIT_WINDOW_STATE_SAVING_SESSION))); + g_return_if_fail (!(pluma_window_get_state (window) & + (PLUMA_WINDOW_STATE_SAVING | + PLUMA_WINDOW_STATE_PRINTING | + PLUMA_WINDOW_STATE_SAVING_SESSION))); file_close_all (window, TRUE); } diff --git a/gedit/gedit-commands-help.c b/pluma/pluma-commands-help.c similarity index 74% rename from gedit/gedit-commands-help.c rename to pluma/pluma-commands-help.c index 3b71106..66835bd 100755 --- a/gedit/gedit-commands-help.c +++ b/pluma/pluma-commands-help.c @@ -1,6 +1,6 @@ /* - * gedit-help-commands.c - * This file is part of gedit + * pluma-help-commands.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,23 +37,23 @@ #include #include -#include "gedit-commands.h" -#include "gedit-debug.h" -#include "gedit-help.h" -#include "gedit-dirs.h" +#include "pluma-commands.h" +#include "pluma-debug.h" +#include "pluma-help.h" +#include "pluma-dirs.h" void -_gedit_cmd_help_contents (GtkAction *action, - GeditWindow *window) +_pluma_cmd_help_contents (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - gedit_help_display (GTK_WINDOW (window), NULL, NULL); + pluma_help_display (GTK_WINDOW (window), NULL, NULL); } void -_gedit_cmd_help_about (GtkAction *action, - GeditWindow *window) +_pluma_cmd_help_about (GtkAction *action, + PlumaWindow *window) { static const gchar * const authors[] = { "Paolo Maggi ", @@ -77,29 +77,30 @@ _gedit_cmd_help_about (GtkAction *action, "Copyright \xc2\xa9 1998-2000 Evan Lawrence, Alex Robert\n" "Copyright \xc2\xa9 2000-2002 Chema Celorio, Paolo Maggi\n" "Copyright \xc2\xa9 2003-2006 Paolo Maggi\n" - "Copyright \xc2\xa9 2004-2010 Paolo Borelli, Jesse van den Kieboom\nSteve Fr\303\251cinaux, Ignacio Casal Quinteiro"; + "Copyright \xc2\xa9 2004-2010 Paolo Borelli, Jesse van den Kieboom\nSteve Fr\303\251cinaux, Ignacio Casal Quinteiro" + "Copyright \xc2\xa9 2011 Perberos"; static const gchar comments[] = \ - N_("gedit is a small and lightweight text editor for the " + N_("pluma is a small and lightweight text editor for the " "MATE Desktop"); GdkPixbuf *logo; gchar *data_dir; gchar *logo_file; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - data_dir = gedit_dirs_get_gedit_data_dir (); + data_dir = pluma_dirs_get_pluma_data_dir (); logo_file = g_build_filename (data_dir, "logo", - "gedit-logo.png", + "pluma.png", NULL); g_free (data_dir); logo = gdk_pixbuf_new_from_file (logo_file, NULL); g_free (logo_file); gtk_show_about_dialog (GTK_WINDOW (window), - "program-name", "gedit", + "program-name", "Pluma", "authors", authors, "comments", _(comments), "copyright", copyright, @@ -107,7 +108,7 @@ _gedit_cmd_help_about (GtkAction *action, "logo", logo, "translator-credits", _("translator-credits"), "version", VERSION, - "website", "http://www.gedit.org", + "website", "http://matsusoft.com.ar/projects/mate/", NULL); if (logo) diff --git a/gedit/gedit-commands-search.c b/pluma/pluma-commands-search.c similarity index 62% rename from gedit/gedit-commands-search.c rename to pluma/pluma-commands-search.c index 3a44a21..5bdcd92 100755 --- a/gedit/gedit-commands-search.c +++ b/pluma/pluma-commands-search.c @@ -1,6 +1,6 @@ /* - * gedit-search-commands.c - * This file is part of gedit + * pluma-search-commands.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -38,16 +38,16 @@ #include #include -#include "gedit-commands.h" -#include "gedit-debug.h" -#include "gedit-statusbar.h" -#include "gedit-window.h" -#include "gedit-window-private.h" -#include "gedit-utils.h" -#include "dialogs/gedit-search-dialog.h" +#include "pluma-commands.h" +#include "pluma-debug.h" +#include "pluma-statusbar.h" +#include "pluma-window.h" +#include "pluma-window-private.h" +#include "pluma-utils.h" +#include "dialogs/pluma-search-dialog.h" -#define GEDIT_SEARCH_DIALOG_KEY "gedit-search-dialog-key" -#define GEDIT_LAST_SEARCH_DATA_KEY "gedit-last-search-data-key" +#define PLUMA_SEARCH_DIALOG_KEY "pluma-search-dialog-key" +#define PLUMA_LAST_SEARCH_DATA_KEY "pluma-last-search-data-key" typedef struct _LastSearchData LastSearchData; struct _LastSearchData @@ -63,11 +63,11 @@ last_search_data_free (LastSearchData *data) } static void -last_search_data_restore_position (GeditSearchDialog *dlg) +last_search_data_restore_position (PlumaSearchDialog *dlg) { LastSearchData *data; - data = g_object_get_data (G_OBJECT (dlg), GEDIT_LAST_SEARCH_DATA_KEY); + data = g_object_get_data (G_OBJECT (dlg), PLUMA_LAST_SEARCH_DATA_KEY); if (data != NULL) { @@ -78,18 +78,18 @@ last_search_data_restore_position (GeditSearchDialog *dlg) } static void -last_search_data_store_position (GeditSearchDialog *dlg) +last_search_data_store_position (PlumaSearchDialog *dlg) { LastSearchData *data; - data = g_object_get_data (G_OBJECT (dlg), GEDIT_LAST_SEARCH_DATA_KEY); + data = g_object_get_data (G_OBJECT (dlg), PLUMA_LAST_SEARCH_DATA_KEY); if (data == NULL) { data = g_slice_new (LastSearchData); g_object_set_data_full (G_OBJECT (dlg), - GEDIT_LAST_SEARCH_DATA_KEY, + PLUMA_LAST_SEARCH_DATA_KEY, data, (GDestroyNotify) last_search_data_free); } @@ -101,12 +101,12 @@ last_search_data_store_position (GeditSearchDialog *dlg) /* Use occurences only for Replace All */ static void -text_found (GeditWindow *window, +text_found (PlumaWindow *window, gint occurrences) { if (occurrences > 1) { - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, ngettext("Found and replaced %d occurrence", "Found and replaced %d occurrences", @@ -116,11 +116,11 @@ text_found (GeditWindow *window, else { if (occurrences == 1) - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, _("Found and replaced one occurrence")); else - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, " "); } @@ -128,14 +128,14 @@ text_found (GeditWindow *window, #define MAX_MSG_LENGTH 40 static void -text_not_found (GeditWindow *window, +text_not_found (PlumaWindow *window, const gchar *text) { gchar *searched; - searched = gedit_utils_str_end_truncate (text, MAX_MSG_LENGTH); + searched = pluma_utils_str_end_truncate (text, MAX_MSG_LENGTH); - gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar), + pluma_statusbar_flash_message (PLUMA_STATUSBAR (window->priv->statusbar), window->priv->generic_message_cid, /* Translators: %s is replaced by the text entered by the user in the search box */ @@ -144,17 +144,17 @@ text_not_found (GeditWindow *window, } static gboolean -run_search (GeditView *view, +run_search (PlumaView *view, gboolean wrap_around, gboolean search_backwards) { - GeditDocument *doc; + PlumaDocument *doc; GtkTextIter start_iter; GtkTextIter match_start; GtkTextIter match_end; gboolean found = FALSE; - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); if (!search_backwards) { @@ -162,7 +162,7 @@ run_search (GeditView *view, NULL, &start_iter); - found = gedit_document_search_forward (doc, + found = pluma_document_search_forward (doc, &start_iter, NULL, &match_start, @@ -174,7 +174,7 @@ run_search (GeditView *view, &start_iter, NULL); - found = gedit_document_search_backward (doc, + found = pluma_document_search_backward (doc, NULL, &start_iter, &match_start, @@ -184,13 +184,13 @@ run_search (GeditView *view, if (!found && wrap_around) { if (!search_backwards) - found = gedit_document_search_forward (doc, + found = pluma_document_search_forward (doc, NULL, NULL, /* FIXME: set the end_inter */ &match_start, &match_end); else - found = gedit_document_search_backward (doc, + found = pluma_document_search_backward (doc, NULL, /* FIXME: set the start_inter */ NULL, &match_start, @@ -206,7 +206,7 @@ run_search (GeditView *view, "selection_bound", &match_end); - gedit_view_scroll_to_cursor (view); + pluma_view_scroll_to_cursor (view); } else { @@ -218,11 +218,11 @@ run_search (GeditView *view, } static void -do_find (GeditSearchDialog *dialog, - GeditWindow *window) +do_find (PlumaSearchDialog *dialog, + PlumaWindow *window) { - GeditView *active_view; - GeditDocument *doc; + PlumaView *active_view; + PlumaDocument *doc; gchar *search_text; const gchar *entry_text; gboolean match_case; @@ -235,29 +235,29 @@ do_find (GeditSearchDialog *dialog, /* TODO: make the dialog insensitive when all the tabs are closed * and assert here that the view is not NULL */ - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); if (active_view == NULL) return; - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); - entry_text = gedit_search_dialog_get_search_text (dialog); + entry_text = pluma_search_dialog_get_search_text (dialog); - match_case = gedit_search_dialog_get_match_case (dialog); - entire_word = gedit_search_dialog_get_entire_word (dialog); - search_backwards = gedit_search_dialog_get_backwards (dialog); - wrap_around = gedit_search_dialog_get_wrap_around (dialog); + match_case = pluma_search_dialog_get_match_case (dialog); + entire_word = pluma_search_dialog_get_entire_word (dialog); + search_backwards = pluma_search_dialog_get_backwards (dialog); + wrap_around = pluma_search_dialog_get_wrap_around (dialog); - GEDIT_SEARCH_SET_CASE_SENSITIVE (flags, match_case); - GEDIT_SEARCH_SET_ENTIRE_WORD (flags, entire_word); + PLUMA_SEARCH_SET_CASE_SENSITIVE (flags, match_case); + PLUMA_SEARCH_SET_ENTIRE_WORD (flags, entire_word); - search_text = gedit_document_get_search_text (doc, &old_flags); + search_text = pluma_document_get_search_text (doc, &old_flags); if ((search_text == NULL) || (strcmp (search_text, entry_text) != 0) || (flags != old_flags)) { - gedit_document_set_search_text (doc, entry_text, flags); + pluma_document_set_search_text (doc, entry_text, flags); } g_free (search_text); @@ -272,11 +272,11 @@ do_find (GeditSearchDialog *dialog, text_not_found (window, entry_text); gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE, found); } -/* FIXME: move in gedit-document.c and share it with gedit-view */ +/* FIXME: move in pluma-document.c and share it with pluma-view */ static gboolean get_selected_text (GtkTextBuffer *doc, gchar **selected_text, @@ -320,10 +320,10 @@ replace_selected_text (GtkTextBuffer *buffer, } static void -do_replace (GeditSearchDialog *dialog, - GeditWindow *window) +do_replace (PlumaSearchDialog *dialog, + PlumaWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; const gchar *search_entry_text; const gchar *replace_entry_text; gchar *unescaped_search_text; @@ -331,25 +331,25 @@ do_replace (GeditSearchDialog *dialog, gchar *selected_text = NULL; gboolean match_case; - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); if (doc == NULL) return; - search_entry_text = gedit_search_dialog_get_search_text (dialog); + search_entry_text = pluma_search_dialog_get_search_text (dialog); g_return_if_fail ((search_entry_text) != NULL); g_return_if_fail ((*search_entry_text) != '\0'); /* replace text may be "", we just delete */ - replace_entry_text = gedit_search_dialog_get_replace_text (dialog); + replace_entry_text = pluma_search_dialog_get_replace_text (dialog); g_return_if_fail ((replace_entry_text) != NULL); - unescaped_search_text = gedit_utils_unescape_search_text (search_entry_text); + unescaped_search_text = pluma_utils_unescape_search_text (search_entry_text); get_selected_text (GTK_TEXT_BUFFER (doc), &selected_text, NULL); - match_case = gedit_search_dialog_get_match_case (dialog); + match_case = pluma_search_dialog_get_match_case (dialog); if ((selected_text == NULL) || (match_case && (strcmp (selected_text, unescaped_search_text) != 0)) || @@ -365,7 +365,7 @@ do_replace (GeditSearchDialog *dialog, return; } - unescaped_replace_text = gedit_utils_unescape_search_text (replace_entry_text); + unescaped_replace_text = pluma_utils_unescape_search_text (replace_entry_text); replace_selected_text (GTK_TEXT_BUFFER (doc), unescaped_replace_text); g_free (unescaped_search_text); @@ -376,11 +376,11 @@ do_replace (GeditSearchDialog *dialog, } static void -do_replace_all (GeditSearchDialog *dialog, - GeditWindow *window) +do_replace_all (PlumaSearchDialog *dialog, + PlumaWindow *window) { - GeditView *active_view; - GeditDocument *doc; + PlumaView *active_view; + PlumaDocument *doc; const gchar *search_entry_text; const gchar *replace_entry_text; gboolean match_case; @@ -388,27 +388,27 @@ do_replace_all (GeditSearchDialog *dialog, guint flags = 0; gint count; - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); if (active_view == NULL) return; - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); + doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (active_view))); - search_entry_text = gedit_search_dialog_get_search_text (dialog); + search_entry_text = pluma_search_dialog_get_search_text (dialog); g_return_if_fail ((search_entry_text) != NULL); g_return_if_fail ((*search_entry_text) != '\0'); /* replace text may be "", we just delete all occurrencies */ - replace_entry_text = gedit_search_dialog_get_replace_text (dialog); + replace_entry_text = pluma_search_dialog_get_replace_text (dialog); g_return_if_fail ((replace_entry_text) != NULL); - match_case = gedit_search_dialog_get_match_case (dialog); - entire_word = gedit_search_dialog_get_entire_word (dialog); + match_case = pluma_search_dialog_get_match_case (dialog); + entire_word = pluma_search_dialog_get_entire_word (dialog); - GEDIT_SEARCH_SET_CASE_SENSITIVE (flags, match_case); - GEDIT_SEARCH_SET_ENTIRE_WORD (flags, entire_word); + PLUMA_SEARCH_SET_CASE_SENSITIVE (flags, match_case); + PLUMA_SEARCH_SET_ENTIRE_WORD (flags, entire_word); - count = gedit_document_replace_all (doc, + count = pluma_document_replace_all (doc, search_entry_text, replace_entry_text, flags); @@ -423,26 +423,26 @@ do_replace_all (GeditSearchDialog *dialog, } gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), - GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE, + PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE, FALSE); } static void -search_dialog_response_cb (GeditSearchDialog *dialog, +search_dialog_response_cb (PlumaSearchDialog *dialog, gint response_id, - GeditWindow *window) + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); switch (response_id) { - case GEDIT_SEARCH_DIALOG_FIND_RESPONSE: + case PLUMA_SEARCH_DIALOG_FIND_RESPONSE: do_find (dialog, window); break; - case GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE: + case PLUMA_SEARCH_DIALOG_REPLACE_RESPONSE: do_replace (dialog, window); break; - case GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE: + case PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE: do_replace_all (dialog, window); break; default: @@ -456,32 +456,32 @@ search_dialog_delete_event_cb (GtkWidget *widget, GdkEventAny *event, gpointer user_data) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); /* prevent destruction */ return TRUE; } static void -search_dialog_destroyed (GeditWindow *window, - GeditSearchDialog *dialog) +search_dialog_destroyed (PlumaWindow *window, + PlumaSearchDialog *dialog) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); g_object_set_data (G_OBJECT (window), - GEDIT_SEARCH_DIALOG_KEY, + PLUMA_SEARCH_DIALOG_KEY, NULL); g_object_set_data (G_OBJECT (dialog), - GEDIT_LAST_SEARCH_DATA_KEY, + PLUMA_LAST_SEARCH_DATA_KEY, NULL); } static GtkWidget * -create_dialog (GeditWindow *window, gboolean show_replace) +create_dialog (PlumaWindow *window, gboolean show_replace) { GtkWidget *dialog; - dialog = gedit_search_dialog_new (GTK_WINDOW (window), show_replace); + dialog = pluma_search_dialog_new (GTK_WINDOW (window), show_replace); g_signal_connect (dialog, "response", @@ -493,7 +493,7 @@ create_dialog (GeditWindow *window, gboolean show_replace) NULL); g_object_set_data (G_OBJECT (window), - GEDIT_SEARCH_DIALOG_KEY, + PLUMA_SEARCH_DIALOG_KEY, dialog); g_object_weak_ref (G_OBJECT (dialog), @@ -504,19 +504,19 @@ create_dialog (GeditWindow *window, gboolean show_replace) } void -_gedit_cmd_search_find (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_find (GtkAction *action, + PlumaWindow *window) { gpointer data; GtkWidget *search_dialog; - GeditDocument *doc; + PlumaDocument *doc; gboolean selection_exists; gchar *find_text = NULL; gint sel_len; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - data = g_object_get_data (G_OBJECT (window), GEDIT_SEARCH_DIALOG_KEY); + data = g_object_get_data (G_OBJECT (window), PLUMA_SEARCH_DIALOG_KEY); if (data == NULL) { @@ -524,17 +524,17 @@ _gedit_cmd_search_find (GtkAction *action, } else { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (data)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (data)); search_dialog = GTK_WIDGET (data); /* turn the dialog into a find dialog if needed */ - if (gedit_search_dialog_get_show_replace (GEDIT_SEARCH_DIALOG (search_dialog))) - gedit_search_dialog_set_show_replace (GEDIT_SEARCH_DIALOG (search_dialog), + if (pluma_search_dialog_get_show_replace (PLUMA_SEARCH_DIALOG (search_dialog))) + pluma_search_dialog_set_show_replace (PLUMA_SEARCH_DIALOG (search_dialog), FALSE); } - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); g_return_if_fail (doc != NULL); selection_exists = get_selected_text (GTK_TEXT_BUFFER (doc), @@ -543,7 +543,7 @@ _gedit_cmd_search_find (GtkAction *action, if (selection_exists && find_text != NULL && sel_len < 80) { - gedit_search_dialog_set_search_text (GEDIT_SEARCH_DIALOG (search_dialog), + pluma_search_dialog_set_search_text (PLUMA_SEARCH_DIALOG (search_dialog), find_text); g_free (find_text); } @@ -553,25 +553,25 @@ _gedit_cmd_search_find (GtkAction *action, } gtk_widget_show (search_dialog); - last_search_data_restore_position (GEDIT_SEARCH_DIALOG (search_dialog)); - gedit_search_dialog_present_with_time (GEDIT_SEARCH_DIALOG (search_dialog), + last_search_data_restore_position (PLUMA_SEARCH_DIALOG (search_dialog)); + pluma_search_dialog_present_with_time (PLUMA_SEARCH_DIALOG (search_dialog), GDK_CURRENT_TIME); } void -_gedit_cmd_search_replace (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_replace (GtkAction *action, + PlumaWindow *window) { gpointer data; GtkWidget *replace_dialog; - GeditDocument *doc; + PlumaDocument *doc; gboolean selection_exists; gchar *find_text = NULL; gint sel_len; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - data = g_object_get_data (G_OBJECT (window), GEDIT_SEARCH_DIALOG_KEY); + data = g_object_get_data (G_OBJECT (window), PLUMA_SEARCH_DIALOG_KEY); if (data == NULL) { @@ -579,17 +579,17 @@ _gedit_cmd_search_replace (GtkAction *action, } else { - g_return_if_fail (GEDIT_IS_SEARCH_DIALOG (data)); + g_return_if_fail (PLUMA_IS_SEARCH_DIALOG (data)); replace_dialog = GTK_WIDGET (data); /* turn the dialog into a find dialog if needed */ - if (!gedit_search_dialog_get_show_replace (GEDIT_SEARCH_DIALOG (replace_dialog))) - gedit_search_dialog_set_show_replace (GEDIT_SEARCH_DIALOG (replace_dialog), + if (!pluma_search_dialog_get_show_replace (PLUMA_SEARCH_DIALOG (replace_dialog))) + pluma_search_dialog_set_show_replace (PLUMA_SEARCH_DIALOG (replace_dialog), TRUE); } - doc = gedit_window_get_active_document (window); + doc = pluma_window_get_active_document (window); g_return_if_fail (doc != NULL); selection_exists = get_selected_text (GTK_TEXT_BUFFER (doc), @@ -598,7 +598,7 @@ _gedit_cmd_search_replace (GtkAction *action, if (selection_exists && find_text != NULL && sel_len < 80) { - gedit_search_dialog_set_search_text (GEDIT_SEARCH_DIALOG (replace_dialog), + pluma_search_dialog_set_search_text (PLUMA_SEARCH_DIALOG (replace_dialog), find_text); g_free (find_text); } @@ -608,26 +608,26 @@ _gedit_cmd_search_replace (GtkAction *action, } gtk_widget_show (replace_dialog); - last_search_data_restore_position (GEDIT_SEARCH_DIALOG (replace_dialog)); - gedit_search_dialog_present_with_time (GEDIT_SEARCH_DIALOG (replace_dialog), + last_search_data_restore_position (PLUMA_SEARCH_DIALOG (replace_dialog)); + pluma_search_dialog_present_with_time (PLUMA_SEARCH_DIALOG (replace_dialog), GDK_CURRENT_TIME); } static void -do_find_again (GeditWindow *window, +do_find_again (PlumaWindow *window, gboolean backward) { - GeditView *active_view; + PlumaView *active_view; gboolean wrap_around = TRUE; gpointer data; - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); g_return_if_fail (active_view != NULL); - data = g_object_get_data (G_OBJECT (window), GEDIT_SEARCH_DIALOG_KEY); + data = g_object_get_data (G_OBJECT (window), PLUMA_SEARCH_DIALOG_KEY); if (data != NULL) - wrap_around = gedit_search_dialog_get_wrap_around (GEDIT_SEARCH_DIALOG (data)); + wrap_around = pluma_search_dialog_get_wrap_around (PLUMA_SEARCH_DIALOG (data)); run_search (active_view, wrap_around, @@ -635,46 +635,46 @@ do_find_again (GeditWindow *window, } void -_gedit_cmd_search_find_next (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_find_next (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); do_find_again (window, FALSE); } void -_gedit_cmd_search_find_prev (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_find_prev (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); do_find_again (window, TRUE); } void -_gedit_cmd_search_clear_highlight (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_clear_highlight (GtkAction *action, + PlumaWindow *window) { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - doc = gedit_window_get_active_document (window); - gedit_document_set_search_text (GEDIT_DOCUMENT (doc), + doc = pluma_window_get_active_document (window); + pluma_document_set_search_text (PLUMA_DOCUMENT (doc), "", - GEDIT_SEARCH_DONT_SET_FLAGS); + PLUMA_SEARCH_DONT_SET_FLAGS); } void -_gedit_cmd_search_goto_line (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_goto_line (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); if (active_view == NULL) return; @@ -683,7 +683,7 @@ _gedit_cmd_search_goto_line (GtkAction *action, gtk_widget_grab_focus (GTK_WIDGET (active_view)); - /* goto line is builtin in GeditView, just activate + /* goto line is builtin in PlumaView, just activate * the corrisponding binding. */ gtk_bindings_activate (GTK_OBJECT (active_view), @@ -692,14 +692,14 @@ _gedit_cmd_search_goto_line (GtkAction *action, } void -_gedit_cmd_search_incremental_search (GtkAction *action, - GeditWindow *window) +_pluma_cmd_search_incremental_search (GtkAction *action, + PlumaWindow *window) { - GeditView *active_view; + PlumaView *active_view; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - active_view = gedit_window_get_active_view (window); + active_view = pluma_window_get_active_view (window); if (active_view == NULL) return; @@ -707,7 +707,7 @@ _gedit_cmd_search_incremental_search (GtkAction *action, activating the binding for incremental search has no effect */ gtk_widget_grab_focus (GTK_WIDGET (active_view)); - /* incremental search is builtin in GeditView, just activate + /* incremental search is builtin in PlumaView, just activate * the corrisponding binding. */ gtk_bindings_activate (GTK_OBJECT (active_view), diff --git a/gedit/gedit-commands-view.c b/pluma/pluma-commands-view.c similarity index 63% rename from gedit/gedit-commands-view.c rename to pluma/pluma-commands-view.c index 2366e49..2e5cfd6 100755 --- a/gedit/gedit-commands-view.c +++ b/pluma/pluma-commands-view.c @@ -1,6 +1,6 @@ /* - * gedit-view-commands.c - * This file is part of gedit + * pluma-view-commands.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,19 +36,19 @@ #include -#include "gedit-commands.h" -#include "gedit-debug.h" -#include "gedit-window.h" -#include "gedit-window-private.h" +#include "pluma-commands.h" +#include "pluma-debug.h" +#include "pluma-window.h" +#include "pluma-window-private.h" void -_gedit_cmd_view_show_toolbar (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_show_toolbar (GtkAction *action, + PlumaWindow *window) { gboolean visible; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); visible = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); @@ -59,12 +59,12 @@ _gedit_cmd_view_show_toolbar (GtkAction *action, } void -_gedit_cmd_view_show_statusbar (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_show_statusbar (GtkAction *action, + PlumaWindow *window) { gboolean visible; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); visible = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); @@ -75,17 +75,17 @@ _gedit_cmd_view_show_statusbar (GtkAction *action, } void -_gedit_cmd_view_show_side_pane (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_show_side_pane (GtkAction *action, + PlumaWindow *window) { gboolean visible; - GeditPanel *panel; + PlumaPanel *panel; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); visible = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); - panel = gedit_window_get_side_panel (window); + panel = pluma_window_get_side_panel (window); if (visible) { @@ -99,17 +99,17 @@ _gedit_cmd_view_show_side_pane (GtkAction *action, } void -_gedit_cmd_view_show_bottom_pane (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_show_bottom_pane (GtkAction *action, + PlumaWindow *window) { gboolean visible; - GeditPanel *panel; + PlumaPanel *panel; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); visible = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); - panel = gedit_window_get_bottom_panel (window); + panel = pluma_window_get_bottom_panel (window); if (visible) { @@ -123,32 +123,32 @@ _gedit_cmd_view_show_bottom_pane (GtkAction *action, } void -_gedit_cmd_view_toggle_fullscreen_mode (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_toggle_fullscreen_mode (GtkAction *action, + PlumaWindow *window) { - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); - if (_gedit_window_is_fullscreen (window)) - _gedit_window_unfullscreen (window); + if (_pluma_window_is_fullscreen (window)) + _pluma_window_unfullscreen (window); else - _gedit_window_fullscreen (window); + _pluma_window_fullscreen (window); } void -_gedit_cmd_view_leave_fullscreen_mode (GtkAction *action, - GeditWindow *window) +_pluma_cmd_view_leave_fullscreen_mode (GtkAction *action, + PlumaWindow *window) { GtkAction *view_action; view_action = gtk_action_group_get_action (window->priv->always_sensitive_action_group, "ViewFullscreen"); g_signal_handlers_block_by_func - (view_action, G_CALLBACK (_gedit_cmd_view_toggle_fullscreen_mode), + (view_action, G_CALLBACK (_pluma_cmd_view_toggle_fullscreen_mode), window); gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (view_action), FALSE); - _gedit_window_unfullscreen (window); + _pluma_window_unfullscreen (window); g_signal_handlers_unblock_by_func - (view_action, G_CALLBACK (_gedit_cmd_view_toggle_fullscreen_mode), + (view_action, G_CALLBACK (_pluma_cmd_view_toggle_fullscreen_mode), window); } diff --git a/pluma/pluma-commands.h b/pluma/pluma-commands.h new file mode 100755 index 0000000..92552b2 --- /dev/null +++ b/pluma/pluma-commands.h @@ -0,0 +1,166 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-commands.h + * This file is part of pluma + * + * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence + * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_COMMANDS_H__ +#define __PLUMA_COMMANDS_H__ + +#include +#include + +G_BEGIN_DECLS + +/* Do nothing if URI does not exist */ +void pluma_commands_load_uri (PlumaWindow *window, + const gchar *uri, + const PlumaEncoding *encoding, + gint line_pos); + +/* Ignore non-existing URIs */ +gint pluma_commands_load_uris (PlumaWindow *window, + const GSList *uris, + const PlumaEncoding *encoding, + gint line_pos); + +void pluma_commands_save_document (PlumaWindow *window, + PlumaDocument *document); + +void pluma_commands_save_all_documents (PlumaWindow *window); + +/* + * Non-exported functions + */ + +/* Create titled documens for non-existing URIs */ +gint _pluma_cmd_load_files_from_prompt (PlumaWindow *window, + GSList *files, + const PlumaEncoding *encoding, + gint line_pos); + +void _pluma_cmd_file_new (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_open (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_save (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_save_as (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_save_all (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_revert (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_open_uri (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_print_preview (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_print (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_close (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_close_all (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_file_quit (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_edit_undo (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_redo (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_cut (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_copy (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_paste (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_delete (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_select_all (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_edit_preferences (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_view_show_toolbar (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_view_show_statusbar (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_view_show_side_pane (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_view_show_bottom_pane (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_view_toggle_fullscreen_mode (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_view_leave_fullscreen_mode (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_search_find (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_find_next (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_find_prev (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_replace (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_clear_highlight (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_goto_line (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_search_incremental_search (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_documents_previous_document (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_documents_next_document (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_documents_move_to_new_window (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_help_contents (GtkAction *action, + PlumaWindow *window); +void _pluma_cmd_help_about (GtkAction *action, + PlumaWindow *window); + +void _pluma_cmd_file_close_tab (PlumaTab *tab, + PlumaWindow *window); + +void _pluma_cmd_file_save_documents_list (PlumaWindow *window, + GList *docs); + + +#if !GTK_CHECK_VERSION (2, 17, 4) +void _pluma_cmd_file_page_setup (GtkAction *action, + PlumaWindow *window); +#endif + + +G_END_DECLS + +#endif /* __PLUMA_COMMANDS_H__ */ diff --git a/gedit/gedit-debug.c b/pluma/pluma-debug.c similarity index 59% rename from gedit/gedit-debug.c rename to pluma/pluma-debug.c index 163a5a5..ecb9d75 100755 --- a/gedit/gedit-debug.c +++ b/pluma/pluma-debug.c @@ -1,6 +1,6 @@ /* - * gedit-debug.c - * This file is part of gedit + * pluma-debug.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -35,7 +35,7 @@ #endif #include -#include "gedit-debug.h" +#include "pluma-debug.h" #define ENABLE_PROFILING @@ -44,60 +44,60 @@ static GTimer *timer = NULL; static gdouble last = 0.0; #endif -static GeditDebugSection debug = GEDIT_NO_DEBUG; +static PlumaDebugSection debug = PLUMA_NO_DEBUG; void -gedit_debug_init (void) +pluma_debug_init (void) { - if (g_getenv ("GEDIT_DEBUG") != NULL) + if (g_getenv ("PLUMA_DEBUG") != NULL) { /* enable all debugging */ - debug = ~GEDIT_NO_DEBUG; + debug = ~PLUMA_NO_DEBUG; goto out; } - if (g_getenv ("GEDIT_DEBUG_VIEW") != NULL) - debug = debug | GEDIT_DEBUG_VIEW; - if (g_getenv ("GEDIT_DEBUG_SEARCH") != NULL) - debug = debug | GEDIT_DEBUG_SEARCH; - if (g_getenv ("GEDIT_DEBUG_PREFS") != NULL) - debug = debug | GEDIT_DEBUG_PREFS; - if (g_getenv ("GEDIT_DEBUG_PRINT") != NULL) - debug = debug | GEDIT_DEBUG_PRINT; - if (g_getenv ("GEDIT_DEBUG_PLUGINS") != NULL) - debug = debug | GEDIT_DEBUG_PLUGINS; - if (g_getenv ("GEDIT_DEBUG_TAB") != NULL) - debug = debug | GEDIT_DEBUG_TAB; - if (g_getenv ("GEDIT_DEBUG_DOCUMENT") != NULL) - debug = debug | GEDIT_DEBUG_DOCUMENT; - if (g_getenv ("GEDIT_DEBUG_COMMANDS") != NULL) - debug = debug | GEDIT_DEBUG_COMMANDS; - if (g_getenv ("GEDIT_DEBUG_APP") != NULL) - debug = debug | GEDIT_DEBUG_APP; - if (g_getenv ("GEDIT_DEBUG_SESSION") != NULL) - debug = debug | GEDIT_DEBUG_SESSION; - if (g_getenv ("GEDIT_DEBUG_UTILS") != NULL) - debug = debug | GEDIT_DEBUG_UTILS; - if (g_getenv ("GEDIT_DEBUG_METADATA") != NULL) - debug = debug | GEDIT_DEBUG_METADATA; - if (g_getenv ("GEDIT_DEBUG_WINDOW") != NULL) - debug = debug | GEDIT_DEBUG_WINDOW; - if (g_getenv ("GEDIT_DEBUG_LOADER") != NULL) - debug = debug | GEDIT_DEBUG_LOADER; - if (g_getenv ("GEDIT_DEBUG_SAVER") != NULL) - debug = debug | GEDIT_DEBUG_SAVER; + if (g_getenv ("PLUMA_DEBUG_VIEW") != NULL) + debug = debug | PLUMA_DEBUG_VIEW; + if (g_getenv ("PLUMA_DEBUG_SEARCH") != NULL) + debug = debug | PLUMA_DEBUG_SEARCH; + if (g_getenv ("PLUMA_DEBUG_PREFS") != NULL) + debug = debug | PLUMA_DEBUG_PREFS; + if (g_getenv ("PLUMA_DEBUG_PRINT") != NULL) + debug = debug | PLUMA_DEBUG_PRINT; + if (g_getenv ("PLUMA_DEBUG_PLUGINS") != NULL) + debug = debug | PLUMA_DEBUG_PLUGINS; + if (g_getenv ("PLUMA_DEBUG_TAB") != NULL) + debug = debug | PLUMA_DEBUG_TAB; + if (g_getenv ("PLUMA_DEBUG_DOCUMENT") != NULL) + debug = debug | PLUMA_DEBUG_DOCUMENT; + if (g_getenv ("PLUMA_DEBUG_COMMANDS") != NULL) + debug = debug | PLUMA_DEBUG_COMMANDS; + if (g_getenv ("PLUMA_DEBUG_APP") != NULL) + debug = debug | PLUMA_DEBUG_APP; + if (g_getenv ("PLUMA_DEBUG_SESSION") != NULL) + debug = debug | PLUMA_DEBUG_SESSION; + if (g_getenv ("PLUMA_DEBUG_UTILS") != NULL) + debug = debug | PLUMA_DEBUG_UTILS; + if (g_getenv ("PLUMA_DEBUG_METADATA") != NULL) + debug = debug | PLUMA_DEBUG_METADATA; + if (g_getenv ("PLUMA_DEBUG_WINDOW") != NULL) + debug = debug | PLUMA_DEBUG_WINDOW; + if (g_getenv ("PLUMA_DEBUG_LOADER") != NULL) + debug = debug | PLUMA_DEBUG_LOADER; + if (g_getenv ("PLUMA_DEBUG_SAVER") != NULL) + debug = debug | PLUMA_DEBUG_SAVER; out: #ifdef ENABLE_PROFILING - if (debug != GEDIT_NO_DEBUG) + if (debug != PLUMA_NO_DEBUG) timer = g_timer_new (); #endif return; } void -gedit_debug_message (GeditDebugSection section, +pluma_debug_message (PlumaDebugSection section, const gchar *file, gint line, const gchar *function, @@ -135,7 +135,7 @@ gedit_debug_message (GeditDebugSection section, } } -void gedit_debug (GeditDebugSection section, +void pluma_debug (PlumaDebugSection section, const gchar *file, gint line, const gchar *function) diff --git a/pluma/pluma-debug.h b/pluma/pluma-debug.h new file mode 100755 index 0000000..d86432d --- /dev/null +++ b/pluma/pluma-debug.h @@ -0,0 +1,93 @@ +/* + * pluma-debug.h + * This file is part of pluma + * + * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence + * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi + * Copyright (C) 2002 - 2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_DEBUG_H__ +#define __PLUMA_DEBUG_H__ + +#include + +/* + * Set an environmental var of the same name to turn on + * debugging output. Setting PLUMA_DEBUG will turn on all + * sections. + */ +typedef enum { + PLUMA_NO_DEBUG = 0, + PLUMA_DEBUG_VIEW = 1 << 0, + PLUMA_DEBUG_SEARCH = 1 << 1, + PLUMA_DEBUG_PRINT = 1 << 2, + PLUMA_DEBUG_PREFS = 1 << 3, + PLUMA_DEBUG_PLUGINS = 1 << 4, + PLUMA_DEBUG_TAB = 1 << 5, + PLUMA_DEBUG_DOCUMENT = 1 << 6, + PLUMA_DEBUG_COMMANDS = 1 << 7, + PLUMA_DEBUG_APP = 1 << 8, + PLUMA_DEBUG_SESSION = 1 << 9, + PLUMA_DEBUG_UTILS = 1 << 10, + PLUMA_DEBUG_METADATA = 1 << 11, + PLUMA_DEBUG_WINDOW = 1 << 12, + PLUMA_DEBUG_LOADER = 1 << 13, + PLUMA_DEBUG_SAVER = 1 << 14 +} PlumaDebugSection; + + +#define DEBUG_VIEW PLUMA_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_SEARCH PLUMA_DEBUG_SEARCH, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_PRINT PLUMA_DEBUG_PRINT, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_PREFS PLUMA_DEBUG_PREFS, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_PLUGINS PLUMA_DEBUG_PLUGINS, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_TAB PLUMA_DEBUG_TAB, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_DOCUMENT PLUMA_DEBUG_DOCUMENT,__FILE__, __LINE__, G_STRFUNC +#define DEBUG_COMMANDS PLUMA_DEBUG_COMMANDS,__FILE__, __LINE__, G_STRFUNC +#define DEBUG_APP PLUMA_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_SESSION PLUMA_DEBUG_SESSION, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_UTILS PLUMA_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_METADATA PLUMA_DEBUG_METADATA,__FILE__, __LINE__, G_STRFUNC +#define DEBUG_WINDOW PLUMA_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_LOADER PLUMA_DEBUG_LOADER, __FILE__, __LINE__, G_STRFUNC +#define DEBUG_SAVER PLUMA_DEBUG_SAVER, __FILE__, __LINE__, G_STRFUNC + +void pluma_debug_init (void); + +void pluma_debug (PlumaDebugSection section, + const gchar *file, + gint line, + const gchar *function); + +void pluma_debug_message (PlumaDebugSection section, + const gchar *file, + gint line, + const gchar *function, + const gchar *format, ...) G_GNUC_PRINTF(5, 6); + + +#endif /* __PLUMA_DEBUG_H__ */ diff --git a/gedit/gedit-dirs.c b/pluma/pluma-dirs.c similarity index 82% rename from gedit/gedit-dirs.c rename to pluma/pluma-dirs.c index a1467f6..643b26d 100755 --- a/gedit/gedit-dirs.c +++ b/pluma/pluma-dirs.c @@ -1,6 +1,6 @@ /* - * gedit-dirs.c - * This file is part of gedit + * pluma-dirs.c + * This file is part of pluma * * Copyright (C) 2008 Ignacio Casal Quinteiro * @@ -24,14 +24,14 @@ #include #endif -#include "gedit-dirs.h" +#include "pluma-dirs.h" #ifdef OS_OSX #include #endif gchar * -gedit_dirs_get_user_config_dir (void) +pluma_dirs_get_user_config_dir (void) { gchar *config_dir = NULL; @@ -44,7 +44,7 @@ gedit_dirs_get_user_config_dir (void) if (envvar != NULL) { config_dir = g_build_filename (envvar, - "gedit", + "pluma", NULL); } @@ -56,13 +56,13 @@ gedit_dirs_get_user_config_dir (void) { config_dir = g_build_filename (home, ".mate2", - "gedit", + "pluma", NULL); } } #else config_dir = g_build_filename (g_get_user_config_dir (), - "gedit", + "pluma", NULL); #endif @@ -70,24 +70,24 @@ gedit_dirs_get_user_config_dir (void) } gchar * -gedit_dirs_get_user_cache_dir (void) +pluma_dirs_get_user_cache_dir (void) { const gchar *cache_dir; cache_dir = g_get_user_cache_dir (); return g_build_filename (cache_dir, - "gedit", + "pluma", NULL); } gchar * -gedit_dirs_get_user_plugins_dir (void) +pluma_dirs_get_user_plugins_dir (void) { gchar *config_dir; gchar *plugin_dir; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); plugin_dir = g_build_filename (config_dir, "plugins", @@ -98,7 +98,7 @@ gedit_dirs_get_user_plugins_dir (void) } gchar * -gedit_dirs_get_user_accels_file (void) +pluma_dirs_get_user_accels_file (void) { gchar *accels = NULL; @@ -116,7 +116,7 @@ gedit_dirs_get_user_accels_file (void) { accels = g_build_filename (envvar, "accels", - "gedit", + "pluma", NULL); } else @@ -128,7 +128,7 @@ gedit_dirs_get_user_accels_file (void) accels = g_build_filename (home, ".mate2", "accels", - "gedit", + "pluma", NULL); } } @@ -136,10 +136,10 @@ gedit_dirs_get_user_accels_file (void) { gchar *config_dir = NULL; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); accels = g_build_filename (config_dir, "accels", - "gedit", + "pluma", NULL); g_free (config_dir); @@ -150,7 +150,7 @@ gedit_dirs_get_user_accels_file (void) } gchar * -gedit_dirs_get_gedit_data_dir (void) +pluma_dirs_get_pluma_data_dir (void) { gchar *data_dir; @@ -161,7 +161,7 @@ gedit_dirs_get_gedit_data_dir (void) data_dir = g_build_filename (win32_dir, "share", - "gedit-2", + "pluma-2", NULL); g_free (win32_dir); @@ -173,16 +173,16 @@ gedit_dirs_get_gedit_data_dir (void) const gchar *bundle_data_dir = ige_mac_bundle_get_datadir (bundle); data_dir = g_build_filename (bundle_data_dir, - "gedit-2", + "pluma-2", NULL); } else { - data_dir = g_build_filename (DATADIR, "gedit-2", NULL); + data_dir = g_build_filename (DATADIR, "pluma-2", NULL); } #else data_dir = g_build_filename (DATADIR, - "gedit-2", + "pluma-2", NULL); #endif @@ -190,7 +190,7 @@ gedit_dirs_get_gedit_data_dir (void) } gchar * -gedit_dirs_get_gedit_locale_dir (void) +pluma_dirs_get_pluma_locale_dir (void) { gchar *locale_dir; @@ -228,7 +228,7 @@ gedit_dirs_get_gedit_locale_dir (void) } gchar * -gedit_dirs_get_gedit_lib_dir (void) +pluma_dirs_get_pluma_lib_dir (void) { gchar *lib_dir; @@ -239,7 +239,7 @@ gedit_dirs_get_gedit_lib_dir (void) lib_dir = g_build_filename (win32_dir, "lib", - "gedit-2", + "pluma-2", NULL); g_free (win32_dir); @@ -251,18 +251,18 @@ gedit_dirs_get_gedit_lib_dir (void) const gchar *path = ige_mac_bundle_get_resourcesdir (bundle); lib_dir = g_build_filename (path, "lib", - "gedit-2", + "pluma-2", NULL); } else { lib_dir = g_build_filename (LIBDIR, - "gedit-2", + "pluma-2", NULL); } #else lib_dir = g_build_filename (LIBDIR, - "gedit-2", + "pluma-2", NULL); #endif @@ -270,12 +270,12 @@ gedit_dirs_get_gedit_lib_dir (void) } gchar * -gedit_dirs_get_gedit_plugins_dir (void) +pluma_dirs_get_pluma_plugins_dir (void) { gchar *lib_dir; gchar *plugin_dir; - lib_dir = gedit_dirs_get_gedit_lib_dir (); + lib_dir = pluma_dirs_get_pluma_lib_dir (); plugin_dir = g_build_filename (lib_dir, "plugins", @@ -286,12 +286,12 @@ gedit_dirs_get_gedit_plugins_dir (void) } gchar * -gedit_dirs_get_gedit_plugin_loaders_dir (void) +pluma_dirs_get_pluma_plugin_loaders_dir (void) { gchar *lib_dir; gchar *loader_dir; - lib_dir = gedit_dirs_get_gedit_lib_dir (); + lib_dir = pluma_dirs_get_pluma_lib_dir (); loader_dir = g_build_filename (lib_dir, "plugin-loaders", @@ -302,14 +302,14 @@ gedit_dirs_get_gedit_plugin_loaders_dir (void) } gchar * -gedit_dirs_get_ui_file (const gchar *file) +pluma_dirs_get_ui_file (const gchar *file) { gchar *datadir; gchar *ui_file; g_return_val_if_fail (file != NULL, NULL); - datadir = gedit_dirs_get_gedit_data_dir (); + datadir = pluma_dirs_get_pluma_data_dir (); ui_file = g_build_filename (datadir, "ui", file, diff --git a/gedit/gedit-dirs.h b/pluma/pluma-dirs.h similarity index 58% rename from gedit/gedit-dirs.h rename to pluma/pluma-dirs.h index eddd00d..909931f 100755 --- a/gedit/gedit-dirs.h +++ b/pluma/pluma-dirs.h @@ -1,6 +1,6 @@ /* - * gedit-dirs.h - * This file is part of gedit + * pluma-dirs.h + * This file is part of pluma * * Copyright (C) 2008 Ignacio Casal Quinteiro * @@ -21,34 +21,34 @@ */ -#ifndef __GEDIT_DIRS_H__ -#define __GEDIT_DIRS_H__ +#ifndef __PLUMA_DIRS_H__ +#define __PLUMA_DIRS_H__ #include G_BEGIN_DECLS -gchar *gedit_dirs_get_user_config_dir (void); +gchar *pluma_dirs_get_user_config_dir (void); -gchar *gedit_dirs_get_user_cache_dir (void); +gchar *pluma_dirs_get_user_cache_dir (void); -gchar *gedit_dirs_get_user_plugins_dir (void); +gchar *pluma_dirs_get_user_plugins_dir (void); -gchar *gedit_dirs_get_user_accels_file (void); +gchar *pluma_dirs_get_user_accels_file (void); -gchar *gedit_dirs_get_gedit_data_dir (void); +gchar *pluma_dirs_get_pluma_data_dir (void); -gchar *gedit_dirs_get_gedit_locale_dir (void); +gchar *pluma_dirs_get_pluma_locale_dir (void); -gchar *gedit_dirs_get_gedit_lib_dir (void); +gchar *pluma_dirs_get_pluma_lib_dir (void); -gchar *gedit_dirs_get_gedit_plugins_dir (void); +gchar *pluma_dirs_get_pluma_plugins_dir (void); -gchar *gedit_dirs_get_gedit_plugin_loaders_dir +gchar *pluma_dirs_get_pluma_plugin_loaders_dir (void); -gchar *gedit_dirs_get_ui_file (const gchar *file); +gchar *pluma_dirs_get_ui_file (const gchar *file); G_END_DECLS -#endif /* __GEDIT_DIRS_H__ */ +#endif /* __PLUMA_DIRS_H__ */ diff --git a/gedit/gedit-document-input-stream.c b/pluma/pluma-document-input-stream.c similarity index 77% rename from gedit/gedit-document-input-stream.c rename to pluma/pluma-document-input-stream.c index 5a1f961..947386c 100755 --- a/gedit/gedit-document-input-stream.c +++ b/pluma/pluma-document-input-stream.c @@ -1,21 +1,21 @@ /* - * gedit-document-input-stream.c - * This file is part of gedit + * pluma-document-input-stream.c + * This file is part of pluma * * Copyright (C) 2010 - Ignacio Casal Quinteiro * - * gedit is free software; you can redistribute it and/or modify + * pluma 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. * - * gedit is distributed in the hope that it will be useful, + * pluma 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 gedit; if not, write to the Free Software + * along with pluma; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ @@ -25,8 +25,8 @@ #include #include #include -#include "gedit-document-input-stream.h" -#include "gedit-enum-types.h" +#include "pluma-document-input-stream.h" +#include "pluma-enum-types.h" /* NOTE: never use async methods on this stream, the stream is just * a wrapper around GtkTextBuffer api so that we can use GIO Stream @@ -35,15 +35,15 @@ * thread */ -G_DEFINE_TYPE (GeditDocumentInputStream, gedit_document_input_stream, G_TYPE_INPUT_STREAM); +G_DEFINE_TYPE (PlumaDocumentInputStream, pluma_document_input_stream, G_TYPE_INPUT_STREAM); -struct _GeditDocumentInputStreamPrivate +struct _PlumaDocumentInputStreamPrivate { GtkTextBuffer *buffer; GtkTextMark *pos; gint bytes_partial; - GeditDocumentNewlineType newline_type; + PlumaDocumentNewlineType newline_type; guint newline_added : 1; guint is_initialized : 1; @@ -56,22 +56,22 @@ enum PROP_NEWLINE_TYPE }; -static gssize gedit_document_input_stream_read (GInputStream *stream, +static gssize pluma_document_input_stream_read (GInputStream *stream, void *buffer, gsize count, GCancellable *cancellable, GError **error); -static gboolean gedit_document_input_stream_close (GInputStream *stream, +static gboolean pluma_document_input_stream_close (GInputStream *stream, GCancellable *cancellable, GError **error); static void -gedit_document_input_stream_set_property (GObject *object, +pluma_document_input_stream_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocumentInputStream *stream = GEDIT_DOCUMENT_INPUT_STREAM (object); + PlumaDocumentInputStream *stream = PLUMA_DOCUMENT_INPUT_STREAM (object); switch (prop_id) { @@ -90,12 +90,12 @@ gedit_document_input_stream_set_property (GObject *object, } static void -gedit_document_input_stream_get_property (GObject *object, +pluma_document_input_stream_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocumentInputStream *stream = GEDIT_DOCUMENT_INPUT_STREAM (object); + PlumaDocumentInputStream *stream = PLUMA_DOCUMENT_INPUT_STREAM (object); switch (prop_id) { @@ -114,18 +114,18 @@ gedit_document_input_stream_get_property (GObject *object, } static void -gedit_document_input_stream_class_init (GeditDocumentInputStreamClass *klass) +pluma_document_input_stream_class_init (PlumaDocumentInputStreamClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GInputStreamClass *stream_class = G_INPUT_STREAM_CLASS (klass); - g_type_class_add_private (klass, sizeof (GeditDocumentInputStreamPrivate)); + g_type_class_add_private (klass, sizeof (PlumaDocumentInputStreamPrivate)); - gobject_class->get_property = gedit_document_input_stream_get_property; - gobject_class->set_property = gedit_document_input_stream_set_property; + gobject_class->get_property = pluma_document_input_stream_get_property; + gobject_class->set_property = pluma_document_input_stream_set_property; - stream_class->read_fn = gedit_document_input_stream_read; - stream_class->close_fn = gedit_document_input_stream_close; + stream_class->read_fn = pluma_document_input_stream_read; + stream_class->close_fn = pluma_document_input_stream_close; g_object_class_install_property (gobject_class, PROP_BUFFER, @@ -137,7 +137,7 @@ gedit_document_input_stream_class_init (GeditDocumentInputStreamClass *klass) G_PARAM_CONSTRUCT_ONLY)); /** - * GeditDocumentInputStream:newline-type: + * PlumaDocumentInputStream:newline-type: * * The :newline-type property determines what is considered * as a line ending when reading complete lines from the stream. @@ -147,8 +147,8 @@ gedit_document_input_stream_class_init (GeditDocumentInputStreamClass *klass) g_param_spec_enum ("newline-type", "Newline type", "The accepted types of line ending", - GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE, - GEDIT_DOCUMENT_NEWLINE_TYPE_LF, + PLUMA_TYPE_DOCUMENT_NEWLINE_TYPE, + PLUMA_DOCUMENT_NEWLINE_TYPE_LF, G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | @@ -156,26 +156,26 @@ gedit_document_input_stream_class_init (GeditDocumentInputStreamClass *klass) } static void -gedit_document_input_stream_init (GeditDocumentInputStream *stream) +pluma_document_input_stream_init (PlumaDocumentInputStream *stream) { stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream, - GEDIT_TYPE_DOCUMENT_INPUT_STREAM, - GeditDocumentInputStreamPrivate); + PLUMA_TYPE_DOCUMENT_INPUT_STREAM, + PlumaDocumentInputStreamPrivate); } static gsize -get_new_line_size (GeditDocumentInputStream *stream) +get_new_line_size (PlumaDocumentInputStream *stream) { gsize ret; switch (stream->priv->newline_type) { - case GEDIT_DOCUMENT_NEWLINE_TYPE_CR: - case GEDIT_DOCUMENT_NEWLINE_TYPE_LF: + case PLUMA_DOCUMENT_NEWLINE_TYPE_CR: + case PLUMA_DOCUMENT_NEWLINE_TYPE_LF: ret = 1; break; - case GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF: + case PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF: ret = 2; break; @@ -189,7 +189,7 @@ get_new_line_size (GeditDocumentInputStream *stream) } /** - * gedit_document_input_stream_new: + * pluma_document_input_stream_new: * @buffer: a #GtkTextBuffer * * Reads the data from @buffer. @@ -197,14 +197,14 @@ get_new_line_size (GeditDocumentInputStream *stream) * Returns: a new #GInputStream to read @buffer */ GInputStream * -gedit_document_input_stream_new (GtkTextBuffer *buffer, - GeditDocumentNewlineType type) +pluma_document_input_stream_new (GtkTextBuffer *buffer, + PlumaDocumentNewlineType type) { - GeditDocumentInputStream *stream; + PlumaDocumentInputStream *stream; g_return_val_if_fail (GTK_IS_TEXT_BUFFER (buffer), NULL); - stream = g_object_new (GEDIT_TYPE_DOCUMENT_INPUT_STREAM, + stream = g_object_new (PLUMA_TYPE_DOCUMENT_INPUT_STREAM, "buffer", buffer, "newline-type", type, NULL); @@ -213,17 +213,17 @@ gedit_document_input_stream_new (GtkTextBuffer *buffer, } gsize -gedit_document_input_stream_get_total_size (GeditDocumentInputStream *stream) +pluma_document_input_stream_get_total_size (PlumaDocumentInputStream *stream) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_INPUT_STREAM (stream), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_INPUT_STREAM (stream), 0); return gtk_text_buffer_get_char_count (stream->priv->buffer); } gsize -gedit_document_input_stream_tell (GeditDocumentInputStream *stream) +pluma_document_input_stream_tell (PlumaDocumentInputStream *stream) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_INPUT_STREAM (stream), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_INPUT_STREAM (stream), 0); /* FIXME: is this potentially inefficient? If yes, we could keep track of the offset internally, assuming the mark doesn't move @@ -244,21 +244,21 @@ gedit_document_input_stream_tell (GeditDocumentInputStream *stream) } static const gchar * -get_new_line (GeditDocumentInputStream *stream) +get_new_line (PlumaDocumentInputStream *stream) { const gchar *ret; switch (stream->priv->newline_type) { - case GEDIT_DOCUMENT_NEWLINE_TYPE_CR: + case PLUMA_DOCUMENT_NEWLINE_TYPE_CR: ret = "\r"; break; - case GEDIT_DOCUMENT_NEWLINE_TYPE_LF: + case PLUMA_DOCUMENT_NEWLINE_TYPE_LF: ret = "\n"; break; - case GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF: + case PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF: ret = "\r\n"; break; @@ -272,7 +272,7 @@ get_new_line (GeditDocumentInputStream *stream) } static gsize -read_line (GeditDocumentInputStream *stream, +read_line (PlumaDocumentInputStream *stream, gchar *outbuf, gsize space_left) { @@ -387,17 +387,17 @@ read_line (GeditDocumentInputStream *stream, } static gssize -gedit_document_input_stream_read (GInputStream *stream, +pluma_document_input_stream_read (GInputStream *stream, void *buffer, gsize count, GCancellable *cancellable, GError **error) { - GeditDocumentInputStream *dstream; + PlumaDocumentInputStream *dstream; GtkTextIter iter; gssize space_left, read, n; - dstream = GEDIT_DOCUMENT_INPUT_STREAM (stream); + dstream = PLUMA_DOCUMENT_INPUT_STREAM (stream); if (count < 6) { @@ -462,11 +462,11 @@ gedit_document_input_stream_read (GInputStream *stream, } static gboolean -gedit_document_input_stream_close (GInputStream *stream, +pluma_document_input_stream_close (GInputStream *stream, GCancellable *cancellable, GError **error) { - GeditDocumentInputStream *dstream = GEDIT_DOCUMENT_INPUT_STREAM (stream); + PlumaDocumentInputStream *dstream = PLUMA_DOCUMENT_INPUT_STREAM (stream); dstream->priv->newline_added = FALSE; diff --git a/pluma/pluma-document-input-stream.h b/pluma/pluma-document-input-stream.h new file mode 100755 index 0000000..0297c48 --- /dev/null +++ b/pluma/pluma-document-input-stream.h @@ -0,0 +1,68 @@ +/* + * pluma-document-input-stream.h + * This file is part of pluma + * + * Copyright (C) 2010 - Ignacio Casal Quinteiro + * + * pluma 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. + * + * pluma 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 pluma; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef __PLUMA_DOCUMENT_INPUT_STREAM_H__ +#define __PLUMA_DOCUMENT_INPUT_STREAM_H__ + +#include +#include + +#include "pluma-document.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_DOCUMENT_INPUT_STREAM (pluma_document_input_stream_get_type ()) +#define PLUMA_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_DOCUMENT_INPUT_STREAM, PlumaDocumentInputStream)) +#define PLUMA_DOCUMENT_INPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_DOCUMENT_INPUT_STREAM, PlumaDocumentInputStream const)) +#define PLUMA_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_DOCUMENT_INPUT_STREAM, PlumaDocumentInputStreamClass)) +#define PLUMA_IS_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_DOCUMENT_INPUT_STREAM)) +#define PLUMA_IS_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENT_INPUT_STREAM)) +#define PLUMA_DOCUMENT_INPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_DOCUMENT_INPUT_STREAM, PlumaDocumentInputStreamClass)) + +typedef struct _PlumaDocumentInputStream PlumaDocumentInputStream; +typedef struct _PlumaDocumentInputStreamClass PlumaDocumentInputStreamClass; +typedef struct _PlumaDocumentInputStreamPrivate PlumaDocumentInputStreamPrivate; + +struct _PlumaDocumentInputStream +{ + GInputStream parent; + + PlumaDocumentInputStreamPrivate *priv; +}; + +struct _PlumaDocumentInputStreamClass +{ + GInputStreamClass parent_class; +}; + +GType pluma_document_input_stream_get_type (void) G_GNUC_CONST; + +GInputStream *pluma_document_input_stream_new (GtkTextBuffer *buffer, + PlumaDocumentNewlineType type); + +gsize pluma_document_input_stream_get_total_size (PlumaDocumentInputStream *stream); + +gsize pluma_document_input_stream_tell (PlumaDocumentInputStream *stream); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENT_INPUT_STREAM_H__ */ diff --git a/gedit/gedit-document-loader.c b/pluma/pluma-document-loader.c similarity index 59% rename from gedit/gedit-document-loader.c rename to pluma/pluma-document-loader.c index 05368c8..3c062c6 100755 --- a/gedit/gedit-document-loader.c +++ b/pluma/pluma-document-loader.c @@ -1,6 +1,6 @@ /* - * gedit-document-loader.c - * This file is part of gedit + * pluma-document-loader.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2005-2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005-2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -35,17 +35,17 @@ #include -#include "gedit-document-loader.h" -#include "gedit-debug.h" -#include "gedit-metadata-manager.h" -#include "gedit-utils.h" -#include "gedit-marshal.h" -#include "gedit-enum-types.h" +#include "pluma-document-loader.h" +#include "pluma-debug.h" +#include "pluma-metadata-manager.h" +#include "pluma-utils.h" +#include "pluma-marshal.h" +#include "pluma-enum-types.h" -/* Those are for the the gedit_document_loader_new() factory */ -#include "gedit-gio-document-loader.h" +/* Those are for the the pluma_document_loader_new() factory */ +#include "pluma-gio-document-loader.h" -G_DEFINE_ABSTRACT_TYPE(GeditDocumentLoader, gedit_document_loader, G_TYPE_OBJECT) +G_DEFINE_ABSTRACT_TYPE(PlumaDocumentLoader, pluma_document_loader, G_TYPE_OBJECT) /* Signals */ @@ -68,12 +68,12 @@ enum }; static void -gedit_document_loader_set_property (GObject *object, +pluma_document_loader_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocumentLoader *loader = GEDIT_DOCUMENT_LOADER (object); + PlumaDocumentLoader *loader = PLUMA_DOCUMENT_LOADER (object); switch (prop_id) { @@ -99,12 +99,12 @@ gedit_document_loader_set_property (GObject *object, } static void -gedit_document_loader_get_property (GObject *object, +pluma_document_loader_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocumentLoader *loader = GEDIT_DOCUMENT_LOADER (object); + PlumaDocumentLoader *loader = PLUMA_DOCUMENT_LOADER (object); switch (prop_id) { @@ -115,7 +115,7 @@ gedit_document_loader_get_property (GObject *object, g_value_set_string (value, loader->uri); break; case PROP_ENCODING: - g_value_set_boxed (value, gedit_document_loader_get_encoding (loader)); + g_value_set_boxed (value, pluma_document_loader_get_encoding (loader)); break; case PROP_NEWLINE_TYPE: g_value_set_enum (value, loader->auto_detected_newline_type); @@ -127,22 +127,22 @@ gedit_document_loader_get_property (GObject *object, } static void -gedit_document_loader_finalize (GObject *object) +pluma_document_loader_finalize (GObject *object) { - GeditDocumentLoader *loader = GEDIT_DOCUMENT_LOADER (object); + PlumaDocumentLoader *loader = PLUMA_DOCUMENT_LOADER (object); g_free (loader->uri); if (loader->info) g_object_unref (loader->info); - G_OBJECT_CLASS (gedit_document_loader_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_document_loader_parent_class)->finalize (object); } static void -gedit_document_loader_dispose (GObject *object) +pluma_document_loader_dispose (GObject *object) { - GeditDocumentLoader *loader = GEDIT_DOCUMENT_LOADER (object); + PlumaDocumentLoader *loader = PLUMA_DOCUMENT_LOADER (object); if (loader->info != NULL) { @@ -150,25 +150,25 @@ gedit_document_loader_dispose (GObject *object) loader->info = NULL; } - G_OBJECT_CLASS (gedit_document_loader_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_document_loader_parent_class)->dispose (object); } static void -gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) +pluma_document_loader_class_init (PlumaDocumentLoaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_document_loader_finalize; - object_class->dispose = gedit_document_loader_dispose; - object_class->get_property = gedit_document_loader_get_property; - object_class->set_property = gedit_document_loader_set_property; + object_class->finalize = pluma_document_loader_finalize; + object_class->dispose = pluma_document_loader_dispose; + object_class->get_property = pluma_document_loader_get_property; + object_class->set_property = pluma_document_loader_set_property; g_object_class_install_property (object_class, PROP_DOCUMENT, g_param_spec_object ("document", "Document", - "The GeditDocument this GeditDocumentLoader is associated with", - GEDIT_TYPE_DOCUMENT, + "The PlumaDocument this PlumaDocumentLoader is associated with", + PLUMA_TYPE_DOCUMENT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); @@ -177,7 +177,7 @@ gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) PROP_URI, g_param_spec_string ("uri", "URI", - "The URI this GeditDocumentLoader loads the document from", + "The URI this PlumaDocumentLoader loads the document from", "", G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); @@ -187,7 +187,7 @@ gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) g_param_spec_boxed ("encoding", "Encoding", "The encoding of the saved file", - GEDIT_TYPE_ENCODING, + PLUMA_TYPE_ENCODING, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); @@ -196,8 +196,8 @@ gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) g_param_spec_enum ("newline-type", "Newline type", "The accepted types of line ending", - GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE, - GEDIT_DOCUMENT_NEWLINE_TYPE_LF, + PLUMA_TYPE_DOCUMENT_NEWLINE_TYPE, + PLUMA_DOCUMENT_NEWLINE_TYPE_LF, G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)); @@ -206,9 +206,9 @@ gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) g_signal_new ("loading", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentLoaderClass, loading), + G_STRUCT_OFFSET (PlumaDocumentLoaderClass, loading), NULL, NULL, - gedit_marshal_VOID__BOOLEAN_POINTER, + pluma_marshal_VOID__BOOLEAN_POINTER, G_TYPE_NONE, 2, G_TYPE_BOOLEAN, @@ -216,14 +216,14 @@ gedit_document_loader_class_init (GeditDocumentLoaderClass *klass) } static void -gedit_document_loader_init (GeditDocumentLoader *loader) +pluma_document_loader_init (PlumaDocumentLoader *loader) { loader->used = FALSE; - loader->auto_detected_newline_type = GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT; + loader->auto_detected_newline_type = PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT; } void -gedit_document_loader_loading (GeditDocumentLoader *loader, +pluma_document_loader_loading (PlumaDocumentLoader *loader, gboolean completed, GError *error) { @@ -240,9 +240,9 @@ gedit_document_loader_loading (GeditDocumentLoader *loader, if (completed) { if (error == NULL) - gedit_debug_message (DEBUG_LOADER, "load completed"); + pluma_debug_message (DEBUG_LOADER, "load completed"); else - gedit_debug_message (DEBUG_LOADER, "load failed"); + pluma_debug_message (DEBUG_LOADER, "load failed"); g_object_unref (loader); } @@ -251,22 +251,22 @@ gedit_document_loader_loading (GeditDocumentLoader *loader, /* This is a factory method that returns an appopriate loader * for the given uri. */ -GeditDocumentLoader * -gedit_document_loader_new (GeditDocument *doc, +PlumaDocumentLoader * +pluma_document_loader_new (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding) + const PlumaEncoding *encoding) { - GeditDocumentLoader *loader; + PlumaDocumentLoader *loader; GType loader_type; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); /* At the moment we just use gio loader in all cases... * In the future it would be great to have a PolicyKit * loader to get permission to save systen files etc */ - loader_type = GEDIT_TYPE_GIO_DOCUMENT_LOADER; + loader_type = PLUMA_TYPE_GIO_DOCUMENT_LOADER; - loader = GEDIT_DOCUMENT_LOADER (g_object_new (loader_type, + loader = PLUMA_DOCUMENT_LOADER (g_object_new (loader_type, "document", doc, "uri", uri, "encoding", encoding, @@ -277,81 +277,81 @@ gedit_document_loader_new (GeditDocument *doc, /* If enconding == NULL, the encoding will be autodetected */ void -gedit_document_loader_load (GeditDocumentLoader *loader) +pluma_document_loader_load (PlumaDocumentLoader *loader) { - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); - g_return_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader)); + g_return_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader)); /* the loader can be used just once, then it must be thrown away */ g_return_if_fail (loader->used == FALSE); loader->used = TRUE; - GEDIT_DOCUMENT_LOADER_GET_CLASS (loader)->load (loader); + PLUMA_DOCUMENT_LOADER_GET_CLASS (loader)->load (loader); } gboolean -gedit_document_loader_cancel (GeditDocumentLoader *loader) +pluma_document_loader_cancel (PlumaDocumentLoader *loader) { - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), FALSE); - return GEDIT_DOCUMENT_LOADER_GET_CLASS (loader)->cancel (loader); + return PLUMA_DOCUMENT_LOADER_GET_CLASS (loader)->cancel (loader); } -GeditDocument * -gedit_document_loader_get_document (GeditDocumentLoader *loader) +PlumaDocument * +pluma_document_loader_get_document (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), NULL); return loader->document; } /* Returns STDIN_URI if loading from stdin */ const gchar * -gedit_document_loader_get_uri (GeditDocumentLoader *loader) +pluma_document_loader_get_uri (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), NULL); return loader->uri; } goffset -gedit_document_loader_get_bytes_read (GeditDocumentLoader *loader) +pluma_document_loader_get_bytes_read (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), 0); - return GEDIT_DOCUMENT_LOADER_GET_CLASS (loader)->get_bytes_read (loader); + return PLUMA_DOCUMENT_LOADER_GET_CLASS (loader)->get_bytes_read (loader); } -const GeditEncoding * -gedit_document_loader_get_encoding (GeditDocumentLoader *loader) +const PlumaEncoding * +pluma_document_loader_get_encoding (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), NULL); if (loader->encoding != NULL) return loader->encoding; g_return_val_if_fail (loader->auto_detected_encoding != NULL, - gedit_encoding_get_current ()); + pluma_encoding_get_current ()); return loader->auto_detected_encoding; } -GeditDocumentNewlineType -gedit_document_loader_get_newline_type (GeditDocumentLoader *loader) +PlumaDocumentNewlineType +pluma_document_loader_get_newline_type (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), - GEDIT_DOCUMENT_NEWLINE_TYPE_LF); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), + PLUMA_DOCUMENT_NEWLINE_TYPE_LF); return loader->auto_detected_newline_type; } GFileInfo * -gedit_document_loader_get_info (GeditDocumentLoader *loader) +pluma_document_loader_get_info (PlumaDocumentLoader *loader) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_LOADER (loader), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_LOADER (loader), NULL); return loader->info; } diff --git a/pluma/pluma-document-loader.h b/pluma/pluma-document-loader.h new file mode 100755 index 0000000..74e2b7e --- /dev/null +++ b/pluma/pluma-document-loader.h @@ -0,0 +1,130 @@ +/* + * pluma-document-loader.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005-2007. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_DOCUMENT_LOADER_H__ +#define __PLUMA_DOCUMENT_LOADER_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_DOCUMENT_LOADER (pluma_document_loader_get_type()) +#define PLUMA_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_DOCUMENT_LOADER, PlumaDocumentLoader)) +#define PLUMA_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_DOCUMENT_LOADER, PlumaDocumentLoaderClass)) +#define PLUMA_IS_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_DOCUMENT_LOADER)) +#define PLUMA_IS_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENT_LOADER)) +#define PLUMA_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_DOCUMENT_LOADER, PlumaDocumentLoaderClass)) + +/* Private structure type */ +typedef struct _PlumaDocumentLoaderPrivate PlumaDocumentLoaderPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaDocumentLoader PlumaDocumentLoader; + +struct _PlumaDocumentLoader +{ + GObject object; + + PlumaDocument *document; + gboolean used; + + /* Info on the current file */ + GFileInfo *info; + gchar *uri; + const PlumaEncoding *encoding; + const PlumaEncoding *auto_detected_encoding; + PlumaDocumentNewlineType auto_detected_newline_type; +}; + +/* + * Class definition + */ +typedef struct _PlumaDocumentLoaderClass PlumaDocumentLoaderClass; + +struct _PlumaDocumentLoaderClass +{ + GObjectClass parent_class; + + /* Signals */ + void (* loading) (PlumaDocumentLoader *loader, + gboolean completed, + const GError *error); + + /* VTable */ + void (* load) (PlumaDocumentLoader *loader); + gboolean (* cancel) (PlumaDocumentLoader *loader); + goffset (* get_bytes_read) (PlumaDocumentLoader *loader); +}; + +/* + * Public methods + */ +GType pluma_document_loader_get_type (void) G_GNUC_CONST; + +/* If enconding == NULL, the encoding will be autodetected */ +PlumaDocumentLoader *pluma_document_loader_new (PlumaDocument *doc, + const gchar *uri, + const PlumaEncoding *encoding); + +void pluma_document_loader_loading (PlumaDocumentLoader *loader, + gboolean completed, + GError *error); + +void pluma_document_loader_load (PlumaDocumentLoader *loader); +#if 0 +gboolean pluma_document_loader_load_from_stdin (PlumaDocumentLoader *loader); +#endif +gboolean pluma_document_loader_cancel (PlumaDocumentLoader *loader); + +PlumaDocument *pluma_document_loader_get_document (PlumaDocumentLoader *loader); + +/* Returns STDIN_URI if loading from stdin */ +#define STDIN_URI "stdin:" +const gchar *pluma_document_loader_get_uri (PlumaDocumentLoader *loader); + +const PlumaEncoding *pluma_document_loader_get_encoding (PlumaDocumentLoader *loader); + +PlumaDocumentNewlineType pluma_document_loader_get_newline_type (PlumaDocumentLoader *loader); + +goffset pluma_document_loader_get_bytes_read (PlumaDocumentLoader *loader); + +/* You can get from the info: content_type, time_modified, standard_size, access_can_write + and also the metadata*/ +GFileInfo *pluma_document_loader_get_info (PlumaDocumentLoader *loader); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENT_LOADER_H__ */ diff --git a/gedit/gedit-document-output-stream.c b/pluma/pluma-document-output-stream.c similarity index 71% rename from gedit/gedit-document-output-stream.c rename to pluma/pluma-document-output-stream.c index e1ef5af..06aa728 100755 --- a/gedit/gedit-document-output-stream.c +++ b/pluma/pluma-document-output-stream.c @@ -1,21 +1,21 @@ /* - * gedit-document-output-stream.c - * This file is part of gedit + * pluma-document-output-stream.c + * This file is part of pluma * * Copyright (C) 2010 - Ignacio Casal Quinteiro * - * gedit is free software; you can redistribute it and/or modify + * pluma 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. * - * gedit is distributed in the hope that it will be useful, + * pluma 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 gedit; if not, write to the Free Software + * along with pluma; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ @@ -26,7 +26,7 @@ #include #include #include -#include "gedit-document-output-stream.h" +#include "pluma-document-output-stream.h" /* NOTE: never use async methods on this stream, the stream is just * a wrapper around GtkTextBuffer api so that we can use GIO Stream @@ -34,15 +34,15 @@ * there is no I/O involved and should be accessed only by the main * thread */ -#define GEDIT_DOCUMENT_OUTPUT_STREAM_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object),\ - GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM,\ - GeditDocumentOutputStreamPrivate)) +#define PLUMA_DOCUMENT_OUTPUT_STREAM_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object),\ + PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM,\ + PlumaDocumentOutputStreamPrivate)) #define MAX_UNICHAR_LEN 6 -struct _GeditDocumentOutputStreamPrivate +struct _PlumaDocumentOutputStreamPrivate { - GeditDocument *doc; + PlumaDocument *doc; GtkTextIter pos; gchar *buffer; @@ -58,30 +58,30 @@ enum PROP_DOCUMENT }; -G_DEFINE_TYPE (GeditDocumentOutputStream, gedit_document_output_stream, G_TYPE_OUTPUT_STREAM) +G_DEFINE_TYPE (PlumaDocumentOutputStream, pluma_document_output_stream, G_TYPE_OUTPUT_STREAM) -static gssize gedit_document_output_stream_write (GOutputStream *stream, +static gssize pluma_document_output_stream_write (GOutputStream *stream, const void *buffer, gsize count, GCancellable *cancellable, GError **error); -static gboolean gedit_document_output_stream_close (GOutputStream *stream, +static gboolean pluma_document_output_stream_close (GOutputStream *stream, GCancellable *cancellable, GError **error); static void -gedit_document_output_stream_set_property (GObject *object, +pluma_document_output_stream_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocumentOutputStream *stream = GEDIT_DOCUMENT_OUTPUT_STREAM (object); + PlumaDocumentOutputStream *stream = PLUMA_DOCUMENT_OUTPUT_STREAM (object); switch (prop_id) { case PROP_DOCUMENT: - stream->priv->doc = GEDIT_DOCUMENT (g_value_get_object (value)); + stream->priv->doc = PLUMA_DOCUMENT (g_value_get_object (value)); break; default: @@ -91,12 +91,12 @@ gedit_document_output_stream_set_property (GObject *object, } static void -gedit_document_output_stream_get_property (GObject *object, +pluma_document_output_stream_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocumentOutputStream *stream = GEDIT_DOCUMENT_OUTPUT_STREAM (object); + PlumaDocumentOutputStream *stream = PLUMA_DOCUMENT_OUTPUT_STREAM (object); switch (prop_id) { @@ -111,19 +111,19 @@ gedit_document_output_stream_get_property (GObject *object, } static void -gedit_document_output_stream_finalize (GObject *object) +pluma_document_output_stream_finalize (GObject *object) { - GeditDocumentOutputStream *stream = GEDIT_DOCUMENT_OUTPUT_STREAM (object); + PlumaDocumentOutputStream *stream = PLUMA_DOCUMENT_OUTPUT_STREAM (object); g_free (stream->priv->buffer); - G_OBJECT_CLASS (gedit_document_output_stream_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_document_output_stream_parent_class)->finalize (object); } static void -gedit_document_output_stream_constructed (GObject *object) +pluma_document_output_stream_constructed (GObject *object) { - GeditDocumentOutputStream *stream = GEDIT_DOCUMENT_OUTPUT_STREAM (object); + PlumaDocumentOutputStream *stream = PLUMA_DOCUMENT_OUTPUT_STREAM (object); if (!stream->priv->doc) { @@ -143,35 +143,35 @@ gedit_document_output_stream_constructed (GObject *object) } static void -gedit_document_output_stream_class_init (GeditDocumentOutputStreamClass *klass) +pluma_document_output_stream_class_init (PlumaDocumentOutputStreamClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GOutputStreamClass *stream_class = G_OUTPUT_STREAM_CLASS (klass); - object_class->get_property = gedit_document_output_stream_get_property; - object_class->set_property = gedit_document_output_stream_set_property; - object_class->finalize = gedit_document_output_stream_finalize; - object_class->constructed = gedit_document_output_stream_constructed; + object_class->get_property = pluma_document_output_stream_get_property; + object_class->set_property = pluma_document_output_stream_set_property; + object_class->finalize = pluma_document_output_stream_finalize; + object_class->constructed = pluma_document_output_stream_constructed; - stream_class->write_fn = gedit_document_output_stream_write; - stream_class->close_fn = gedit_document_output_stream_close; + stream_class->write_fn = pluma_document_output_stream_write; + stream_class->close_fn = pluma_document_output_stream_close; g_object_class_install_property (object_class, PROP_DOCUMENT, g_param_spec_object ("document", "Document", "The document which is written", - GEDIT_TYPE_DOCUMENT, + PLUMA_TYPE_DOCUMENT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); - g_type_class_add_private (object_class, sizeof (GeditDocumentOutputStreamPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaDocumentOutputStreamPrivate)); } static void -gedit_document_output_stream_init (GeditDocumentOutputStream *stream) +pluma_document_output_stream_init (PlumaDocumentOutputStream *stream) { - stream->priv = GEDIT_DOCUMENT_OUTPUT_STREAM_GET_PRIVATE (stream); + stream->priv = PLUMA_DOCUMENT_OUTPUT_STREAM_GET_PRIVATE (stream); stream->priv->buffer = NULL; stream->priv->buflen = 0; @@ -180,10 +180,10 @@ gedit_document_output_stream_init (GeditDocumentOutputStream *stream) stream->priv->is_closed = FALSE; } -static GeditDocumentNewlineType +static PlumaDocumentNewlineType get_newline_type (GtkTextIter *end) { - GeditDocumentNewlineType res; + PlumaDocumentNewlineType res; GtkTextIter copy; gunichar c; @@ -195,38 +195,38 @@ get_newline_type (GtkTextIter *end) if (gtk_text_iter_forward_char (©) && g_unichar_break_type (gtk_text_iter_get_char (©)) == G_UNICODE_BREAK_LINE_FEED) { - res = GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF; + res = PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF; } else { - res = GEDIT_DOCUMENT_NEWLINE_TYPE_CR; + res = PLUMA_DOCUMENT_NEWLINE_TYPE_CR; } } else { - res = GEDIT_DOCUMENT_NEWLINE_TYPE_LF; + res = PLUMA_DOCUMENT_NEWLINE_TYPE_LF; } return res; } GOutputStream * -gedit_document_output_stream_new (GeditDocument *doc) +pluma_document_output_stream_new (PlumaDocument *doc) { - return G_OUTPUT_STREAM (g_object_new (GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, + return G_OUTPUT_STREAM (g_object_new (PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM, "document", doc, NULL)); } -GeditDocumentNewlineType -gedit_document_output_stream_detect_newline_type (GeditDocumentOutputStream *stream) +PlumaDocumentNewlineType +pluma_document_output_stream_detect_newline_type (PlumaDocumentOutputStream *stream) { - GeditDocumentNewlineType type; + PlumaDocumentNewlineType type; GtkTextIter iter; - g_return_val_if_fail (GEDIT_IS_DOCUMENT_OUTPUT_STREAM (stream), - GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_OUTPUT_STREAM (stream), + PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT); - type = GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT; + type = PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT; gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (stream->priv->doc), &iter); @@ -242,7 +242,7 @@ gedit_document_output_stream_detect_newline_type (GeditDocumentOutputStream *str /* If the last char is a newline, remove it from the buffer (otherwise GtkTextView shows it as an empty line). See bug #324942. */ static void -remove_ending_newline (GeditDocumentOutputStream *stream) +remove_ending_newline (PlumaDocumentOutputStream *stream) { GtkTextIter end; GtkTextIter start; @@ -268,7 +268,7 @@ remove_ending_newline (GeditDocumentOutputStream *stream) } static void -end_append_text_to_document (GeditDocumentOutputStream *stream) +end_append_text_to_document (PlumaDocumentOutputStream *stream) { remove_ending_newline (stream); @@ -279,13 +279,13 @@ end_append_text_to_document (GeditDocumentOutputStream *stream) } static gssize -gedit_document_output_stream_write (GOutputStream *stream, +pluma_document_output_stream_write (GOutputStream *stream, const void *buffer, gsize count, GCancellable *cancellable, GError **error) { - GeditDocumentOutputStream *ostream; + PlumaDocumentOutputStream *ostream; gchar *text; gsize len; gboolean freetext = FALSE; @@ -296,7 +296,7 @@ gedit_document_output_stream_write (GOutputStream *stream, if (g_cancellable_set_error_if_cancelled (cancellable, error)) return -1; - ostream = GEDIT_DOCUMENT_OUTPUT_STREAM (stream); + ostream = PLUMA_DOCUMENT_OUTPUT_STREAM (stream); if (!ostream->priv->is_initialized) { @@ -368,11 +368,11 @@ gedit_document_output_stream_write (GOutputStream *stream, } static gboolean -gedit_document_output_stream_close (GOutputStream *stream, +pluma_document_output_stream_close (GOutputStream *stream, GCancellable *cancellable, GError **error) { - GeditDocumentOutputStream *ostream = GEDIT_DOCUMENT_OUTPUT_STREAM (stream); + PlumaDocumentOutputStream *ostream = PLUMA_DOCUMENT_OUTPUT_STREAM (stream); if (!ostream->priv->is_closed && ostream->priv->is_initialized) { diff --git a/pluma/pluma-document-output-stream.h b/pluma/pluma-document-output-stream.h new file mode 100755 index 0000000..04071a9 --- /dev/null +++ b/pluma/pluma-document-output-stream.h @@ -0,0 +1,64 @@ +/* + * pluma-document-output-stream.h + * This file is part of pluma + * + * Copyright (C) 2010 - Ignacio Casal Quinteiro + * + * pluma 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. + * + * pluma 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 pluma; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + + +#ifndef __PLUMA_DOCUMENT_OUTPUT_STREAM_H__ +#define __PLUMA_DOCUMENT_OUTPUT_STREAM_H__ + +#include +#include "pluma-document.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM (pluma_document_output_stream_get_type ()) +#define PLUMA_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM, PlumaDocumentOutputStream)) +#define PLUMA_DOCUMENT_OUTPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM, PlumaDocumentOutputStream const)) +#define PLUMA_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM, PlumaDocumentOutputStreamClass)) +#define PLUMA_IS_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM)) +#define PLUMA_IS_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM)) +#define PLUMA_DOCUMENT_OUTPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_DOCUMENT_OUTPUT_STREAM, PlumaDocumentOutputStreamClass)) + +typedef struct _PlumaDocumentOutputStream PlumaDocumentOutputStream; +typedef struct _PlumaDocumentOutputStreamClass PlumaDocumentOutputStreamClass; +typedef struct _PlumaDocumentOutputStreamPrivate PlumaDocumentOutputStreamPrivate; + +struct _PlumaDocumentOutputStream +{ + GOutputStream parent; + + PlumaDocumentOutputStreamPrivate *priv; +}; + +struct _PlumaDocumentOutputStreamClass +{ + GOutputStreamClass parent_class; +}; + +GType pluma_document_output_stream_get_type (void) G_GNUC_CONST; + +GOutputStream *pluma_document_output_stream_new (PlumaDocument *doc); + +PlumaDocumentNewlineType pluma_document_output_stream_detect_newline_type (PlumaDocumentOutputStream *stream); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENT_OUTPUT_STREAM_H__ */ diff --git a/gedit/gedit-document-saver.c b/pluma/pluma-document-saver.c similarity index 62% rename from gedit/gedit-document-saver.c rename to pluma/pluma-document-saver.c index 1a064da..8c0eebc 100755 --- a/gedit/gedit-document-saver.c +++ b/pluma/pluma-document-saver.c @@ -1,6 +1,6 @@ /* - * gedit-document-saver.c - * This file is part of gedit + * pluma-document-saver.c + * This file is part of pluma * * Copyright (C) 2005-2006 - Paolo Borelli and Paolo Maggi * Copyright (C) 2007 - Paolo Borelli, Paolo Maggi, Steve Frécinaux @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2005-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -37,15 +37,15 @@ #include -#include "gedit-document-saver.h" -#include "gedit-debug.h" -#include "gedit-prefs-manager.h" -#include "gedit-marshal.h" -#include "gedit-utils.h" -#include "gedit-enum-types.h" -#include "gedit-gio-document-saver.h" +#include "pluma-document-saver.h" +#include "pluma-debug.h" +#include "pluma-prefs-manager.h" +#include "pluma-marshal.h" +#include "pluma-utils.h" +#include "pluma-enum-types.h" +#include "pluma-gio-document-saver.h" -G_DEFINE_ABSTRACT_TYPE(GeditDocumentSaver, gedit_document_saver, G_TYPE_OBJECT) +G_DEFINE_ABSTRACT_TYPE(PlumaDocumentSaver, pluma_document_saver, G_TYPE_OBJECT) /* Signals */ @@ -68,12 +68,12 @@ enum { }; static void -gedit_document_saver_set_property (GObject *object, +pluma_document_saver_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocumentSaver *saver = GEDIT_DOCUMENT_SAVER (object); + PlumaDocumentSaver *saver = PLUMA_DOCUMENT_SAVER (object); switch (prop_id) { @@ -102,12 +102,12 @@ gedit_document_saver_set_property (GObject *object, } static void -gedit_document_saver_get_property (GObject *object, +pluma_document_saver_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocumentSaver *saver = GEDIT_DOCUMENT_SAVER (object); + PlumaDocumentSaver *saver = PLUMA_DOCUMENT_SAVER (object); switch (prop_id) { @@ -133,19 +133,19 @@ gedit_document_saver_get_property (GObject *object, } static void -gedit_document_saver_finalize (GObject *object) +pluma_document_saver_finalize (GObject *object) { - GeditDocumentSaver *saver = GEDIT_DOCUMENT_SAVER (object); + PlumaDocumentSaver *saver = PLUMA_DOCUMENT_SAVER (object); g_free (saver->uri); - G_OBJECT_CLASS (gedit_document_saver_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_document_saver_parent_class)->finalize (object); } static void -gedit_document_saver_dispose (GObject *object) +pluma_document_saver_dispose (GObject *object) { - GeditDocumentSaver *saver = GEDIT_DOCUMENT_SAVER (object); + PlumaDocumentSaver *saver = PLUMA_DOCUMENT_SAVER (object); if (saver->info != NULL) { @@ -153,25 +153,25 @@ gedit_document_saver_dispose (GObject *object) saver->info = NULL; } - G_OBJECT_CLASS (gedit_document_saver_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_document_saver_parent_class)->dispose (object); } static void -gedit_document_saver_class_init (GeditDocumentSaverClass *klass) +pluma_document_saver_class_init (PlumaDocumentSaverClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_document_saver_finalize; - object_class->dispose = gedit_document_saver_dispose; - object_class->set_property = gedit_document_saver_set_property; - object_class->get_property = gedit_document_saver_get_property; + object_class->finalize = pluma_document_saver_finalize; + object_class->dispose = pluma_document_saver_dispose; + object_class->set_property = pluma_document_saver_set_property; + object_class->get_property = pluma_document_saver_get_property; g_object_class_install_property (object_class, PROP_DOCUMENT, g_param_spec_object ("document", "Document", - "The GeditDocument this GeditDocumentSaver is associated with", - GEDIT_TYPE_DOCUMENT, + "The PlumaDocument this PlumaDocumentSaver is associated with", + PLUMA_TYPE_DOCUMENT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); @@ -180,7 +180,7 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) PROP_URI, g_param_spec_string ("uri", "URI", - "The URI this GeditDocumentSaver saves the document to", + "The URI this PlumaDocumentSaver saves the document to", "", G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | @@ -191,7 +191,7 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) g_param_spec_boxed ("encoding", "URI", "The encoding of the saved file", - GEDIT_TYPE_ENCODING, + PLUMA_TYPE_ENCODING, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); @@ -201,8 +201,8 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) g_param_spec_enum ("newline-type", "Newline type", "The accepted types of line ending", - GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE, - GEDIT_DOCUMENT_NEWLINE_TYPE_LF, + PLUMA_TYPE_DOCUMENT_NEWLINE_TYPE, + PLUMA_DOCUMENT_NEWLINE_TYPE_LF, G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | @@ -213,7 +213,7 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) g_param_spec_flags ("flags", "Flags", "The flags for the saving operation", - GEDIT_TYPE_DOCUMENT_SAVE_FLAGS, + PLUMA_TYPE_DOCUMENT_SAVE_FLAGS, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); @@ -222,9 +222,9 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) g_signal_new ("saving", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentSaverClass, saving), + G_STRUCT_OFFSET (PlumaDocumentSaverClass, saving), NULL, NULL, - gedit_marshal_VOID__BOOLEAN_POINTER, + pluma_marshal_VOID__BOOLEAN_POINTER, G_TYPE_NONE, 2, G_TYPE_BOOLEAN, @@ -232,29 +232,29 @@ gedit_document_saver_class_init (GeditDocumentSaverClass *klass) } static void -gedit_document_saver_init (GeditDocumentSaver *saver) +pluma_document_saver_init (PlumaDocumentSaver *saver) { saver->used = FALSE; } -GeditDocumentSaver * -gedit_document_saver_new (GeditDocument *doc, +PlumaDocumentSaver * +pluma_document_saver_new (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentNewlineType newline_type, - GeditDocumentSaveFlags flags) + const PlumaEncoding *encoding, + PlumaDocumentNewlineType newline_type, + PlumaDocumentSaveFlags flags) { - GeditDocumentSaver *saver; + PlumaDocumentSaver *saver; GType saver_type; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); - saver_type = GEDIT_TYPE_GIO_DOCUMENT_SAVER; + saver_type = PLUMA_TYPE_GIO_DOCUMENT_SAVER; if (encoding == NULL) - encoding = gedit_encoding_get_utf8 (); + encoding = pluma_encoding_get_utf8 (); - saver = GEDIT_DOCUMENT_SAVER (g_object_new (saver_type, + saver = PLUMA_DOCUMENT_SAVER (g_object_new (saver_type, "document", doc, "uri", uri, "encoding", encoding, @@ -266,7 +266,7 @@ gedit_document_saver_new (GeditDocument *doc, } void -gedit_document_saver_saving (GeditDocumentSaver *saver, +pluma_document_saver_saving (PlumaDocumentSaver *saver, gboolean completed, GError *error) { @@ -283,21 +283,21 @@ gedit_document_saver_saving (GeditDocumentSaver *saver, if (completed) { if (error == NULL) - gedit_debug_message (DEBUG_SAVER, "save completed"); + pluma_debug_message (DEBUG_SAVER, "save completed"); else - gedit_debug_message (DEBUG_SAVER, "save failed"); + pluma_debug_message (DEBUG_SAVER, "save failed"); g_object_unref (saver); } } void -gedit_document_saver_save (GeditDocumentSaver *saver, +pluma_document_saver_save (PlumaDocumentSaver *saver, GTimeVal *old_mtime) { - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); - g_return_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver)); + g_return_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver)); g_return_if_fail (saver->uri != NULL && strlen (saver->uri) > 0); g_return_if_fail (saver->used == FALSE); @@ -309,51 +309,51 @@ gedit_document_saver_save (GeditDocumentSaver *saver, // async is extra work here, sync is special casing in the caller /* never keep backup of autosaves */ - if ((saver->flags & GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP) != 0) + if ((saver->flags & PLUMA_DOCUMENT_SAVE_PRESERVE_BACKUP) != 0) saver->keep_backup = FALSE; else - saver->keep_backup = gedit_prefs_manager_get_create_backup_copy (); + saver->keep_backup = pluma_prefs_manager_get_create_backup_copy (); - GEDIT_DOCUMENT_SAVER_GET_CLASS (saver)->save (saver, old_mtime); + PLUMA_DOCUMENT_SAVER_GET_CLASS (saver)->save (saver, old_mtime); } -GeditDocument * -gedit_document_saver_get_document (GeditDocumentSaver *saver) +PlumaDocument * +pluma_document_saver_get_document (PlumaDocumentSaver *saver) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver), NULL); return saver->document; } const gchar * -gedit_document_saver_get_uri (GeditDocumentSaver *saver) +pluma_document_saver_get_uri (PlumaDocumentSaver *saver) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver), NULL); return saver->uri; } /* Returns 0 if file size is unknown */ goffset -gedit_document_saver_get_file_size (GeditDocumentSaver *saver) +pluma_document_saver_get_file_size (PlumaDocumentSaver *saver) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver), 0); - return GEDIT_DOCUMENT_SAVER_GET_CLASS (saver)->get_file_size (saver); + return PLUMA_DOCUMENT_SAVER_GET_CLASS (saver)->get_file_size (saver); } goffset -gedit_document_saver_get_bytes_written (GeditDocumentSaver *saver) +pluma_document_saver_get_bytes_written (PlumaDocumentSaver *saver) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver), 0); - return GEDIT_DOCUMENT_SAVER_GET_CLASS (saver)->get_bytes_written (saver); + return PLUMA_DOCUMENT_SAVER_GET_CLASS (saver)->get_bytes_written (saver); } GFileInfo * -gedit_document_saver_get_info (GeditDocumentSaver *saver) +pluma_document_saver_get_info (PlumaDocumentSaver *saver) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT_SAVER (saver), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT_SAVER (saver), NULL); return saver->info; } diff --git a/pluma/pluma-document-saver.h b/pluma/pluma-document-saver.h new file mode 100755 index 0000000..c9d9f54 --- /dev/null +++ b/pluma/pluma-document-saver.h @@ -0,0 +1,133 @@ +/* + * pluma-document-saver.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_DOCUMENT_SAVER_H__ +#define __PLUMA_DOCUMENT_SAVER_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_DOCUMENT_SAVER (pluma_document_saver_get_type()) +#define PLUMA_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_DOCUMENT_SAVER, PlumaDocumentSaver)) +#define PLUMA_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_DOCUMENT_SAVER, PlumaDocumentSaverClass)) +#define PLUMA_IS_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_DOCUMENT_SAVER)) +#define PLUMA_IS_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENT_SAVER)) +#define PLUMA_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_DOCUMENT_SAVER, PlumaDocumentSaverClass)) + +/* + * Main object structure + */ +typedef struct _PlumaDocumentSaver PlumaDocumentSaver; + +struct _PlumaDocumentSaver +{ + GObject object; + + /*< private >*/ + GFileInfo *info; + PlumaDocument *document; + gboolean used; + + gchar *uri; + const PlumaEncoding *encoding; + PlumaDocumentNewlineType newline_type; + + PlumaDocumentSaveFlags flags; + + gboolean keep_backup; +}; + +/* + * Class definition + */ +typedef struct _PlumaDocumentSaverClass PlumaDocumentSaverClass; + +struct _PlumaDocumentSaverClass +{ + GObjectClass parent_class; + + /* Signals */ + void (* saving) (PlumaDocumentSaver *saver, + gboolean completed, + const GError *error); + + /* VTable */ + void (* save) (PlumaDocumentSaver *saver, + GTimeVal *old_mtime); + goffset (* get_file_size) (PlumaDocumentSaver *saver); + goffset (* get_bytes_written) (PlumaDocumentSaver *saver); +}; + +/* + * Public methods + */ +GType pluma_document_saver_get_type (void) G_GNUC_CONST; + +/* If enconding == NULL, the encoding will be autodetected */ +PlumaDocumentSaver *pluma_document_saver_new (PlumaDocument *doc, + const gchar *uri, + const PlumaEncoding *encoding, + PlumaDocumentNewlineType newline_type, + PlumaDocumentSaveFlags flags); + +void pluma_document_saver_saving (PlumaDocumentSaver *saver, + gboolean completed, + GError *error); +void pluma_document_saver_save (PlumaDocumentSaver *saver, + GTimeVal *old_mtime); + +#if 0 +void pluma_document_saver_cancel (PlumaDocumentSaver *saver); +#endif + +PlumaDocument *pluma_document_saver_get_document (PlumaDocumentSaver *saver); + +const gchar *pluma_document_saver_get_uri (PlumaDocumentSaver *saver); + +/* If backup_uri is NULL no backup will be made */ +const gchar *pluma_document_saver_get_backup_uri (PlumaDocumentSaver *saver); +void *pluma_document_saver_set_backup_uri (PlumaDocumentSaver *saver, + const gchar *backup_uri); + +/* Returns 0 if file size is unknown */ +goffset pluma_document_saver_get_file_size (PlumaDocumentSaver *saver); + +goffset pluma_document_saver_get_bytes_written (PlumaDocumentSaver *saver); + +GFileInfo *pluma_document_saver_get_info (PlumaDocumentSaver *saver); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENT_SAVER_H__ */ diff --git a/gedit/gedit-document.c b/pluma/pluma-document.c similarity index 73% rename from gedit/gedit-document.c rename to pluma/pluma-document.c index d961226..2a57b59 100755 --- a/gedit/gedit-document.c +++ b/pluma/pluma-document.c @@ -1,6 +1,6 @@ /* - * gedit-document.c - * This file is part of gedit + * pluma-document.c + * This file is part of pluma * * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -40,20 +40,20 @@ #include #include -#include "gedit-prefs-manager-app.h" -#include "gedit-document.h" -#include "gedit-debug.h" -#include "gedit-utils.h" -#include "gedit-language-manager.h" -#include "gedit-style-scheme-manager.h" -#include "gedit-document-loader.h" -#include "gedit-document-saver.h" -#include "gedit-marshal.h" -#include "gedit-enum-types.h" -#include "gedittextregion.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-document.h" +#include "pluma-debug.h" +#include "pluma-utils.h" +#include "pluma-language-manager.h" +#include "pluma-style-scheme-manager.h" +#include "pluma-document-loader.h" +#include "pluma-document-saver.h" +#include "pluma-marshal.h" +#include "pluma-enum-types.h" +#include "plumatextregion.h" #ifndef ENABLE_GVFS_METADATA -#include "gedit-metadata-manager.h" +#include "pluma-metadata-manager.h" #else #define METADATA_QUERY "metadata::*" #endif @@ -69,37 +69,37 @@ PROFILE (static GTimer *timer = NULL) #ifdef MAXPATHLEN -#define GEDIT_MAX_PATH_LEN MAXPATHLEN +#define PLUMA_MAX_PATH_LEN MAXPATHLEN #elif defined (PATH_MAX) -#define GEDIT_MAX_PATH_LEN PATH_MAX +#define PLUMA_MAX_PATH_LEN PATH_MAX #else -#define GEDIT_MAX_PATH_LEN 2048 +#define PLUMA_MAX_PATH_LEN 2048 #endif -#define GEDIT_DOCUMENT_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_DOCUMENT, GeditDocumentPrivate)) +#define PLUMA_DOCUMENT_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_DOCUMENT, PlumaDocumentPrivate)) -static void gedit_document_load_real (GeditDocument *doc, +static void pluma_document_load_real (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create); -static void gedit_document_save_real (GeditDocument *doc, +static void pluma_document_save_real (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentSaveFlags flags); -static void to_search_region_range (GeditDocument *doc, + const PlumaEncoding *encoding, + PlumaDocumentSaveFlags flags); +static void to_search_region_range (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end); -static void insert_text_cb (GeditDocument *doc, +static void insert_text_cb (PlumaDocument *doc, GtkTextIter *pos, const gchar *text, gint length); -static void delete_range_cb (GeditDocument *doc, +static void delete_range_cb (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end); -struct _GeditDocumentPrivate +struct _PlumaDocumentPrivate { gchar *uri; gint untitled_number; @@ -107,7 +107,7 @@ struct _GeditDocumentPrivate GFileInfo *metadata_info; - const GeditEncoding *encoding; + const PlumaEncoding *encoding; gchar *content_type; @@ -118,24 +118,24 @@ struct _GeditDocumentPrivate gchar *search_text; gint num_of_lines_search_text; - GeditDocumentNewlineType newline_type; + PlumaDocumentNewlineType newline_type; /* Temp data while loading */ - GeditDocumentLoader *loader; + PlumaDocumentLoader *loader; gboolean create; /* Create file if uri points * to a non existing file */ - const GeditEncoding *requested_encoding; + const PlumaEncoding *requested_encoding; gint requested_line_pos; /* Saving stuff */ - GeditDocumentSaver *saver; + PlumaDocumentSaver *saver; /* Search highlighting support variables */ - GeditTextRegion *to_search_region; + PlumaTextRegion *to_search_region; GtkTextTag *found_tag; /* Mount operation factory */ - GeditMountOperationFactory mount_operation_factory; + PlumaMountOperationFactory mount_operation_factory; gpointer mount_operation_userdata; gint readonly : 1; @@ -173,15 +173,15 @@ enum { static guint document_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE(GeditDocument, gedit_document, GTK_TYPE_SOURCE_BUFFER) +G_DEFINE_TYPE(PlumaDocument, pluma_document, GTK_TYPE_SOURCE_BUFFER) GQuark -gedit_document_error_quark (void) +pluma_document_error_quark (void) { static GQuark quark = 0; if (G_UNLIKELY (quark == 0)) - quark = g_quark_from_static_string ("gedit_io_load_error"); + quark = g_quark_from_static_string ("pluma_io_load_error"); return quark; } @@ -222,11 +222,11 @@ release_untitled_number (gint n) } static void -gedit_document_dispose (GObject *object) +pluma_document_dispose (GObject *object) { - GeditDocument *doc = GEDIT_DOCUMENT (object); + PlumaDocument *doc = PLUMA_DOCUMENT (object); - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); /* Metadata must be saved here and not in finalize * because the language is gone by the time finalize runs. @@ -242,7 +242,7 @@ gedit_document_dispose (GObject *object) { GtkSourceLanguage *lang; - lang = gedit_document_get_language (doc); + lang = pluma_document_get_language (doc); if (lang == NULL) language = "_NORMAL_"; @@ -259,11 +259,11 @@ gedit_document_dispose (GObject *object) gtk_text_iter_get_offset (&iter)); if (language == NULL) - gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_POSITION, + pluma_document_set_metadata (doc, PLUMA_METADATA_ATTRIBUTE_POSITION, position, NULL); else - gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_POSITION, - position, GEDIT_METADATA_ATTRIBUTE_LANGUAGE, + pluma_document_set_metadata (doc, PLUMA_METADATA_ATTRIBUTE_POSITION, + position, PLUMA_METADATA_ATTRIBUTE_LANGUAGE, language, NULL); g_free (position); } @@ -282,15 +282,15 @@ gedit_document_dispose (GObject *object) doc->priv->dispose_has_run = TRUE; - G_OBJECT_CLASS (gedit_document_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_document_parent_class)->dispose (object); } static void -gedit_document_finalize (GObject *object) +pluma_document_finalize (GObject *object) { - GeditDocument *doc = GEDIT_DOCUMENT (object); + PlumaDocument *doc = PLUMA_DOCUMENT (object); - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (doc->priv->untitled_number > 0) { @@ -305,19 +305,19 @@ gedit_document_finalize (GObject *object) if (doc->priv->to_search_region != NULL) { /* we can't delete marks if we're finalizing the buffer */ - gedit_text_region_destroy (doc->priv->to_search_region, FALSE); + pluma_text_region_destroy (doc->priv->to_search_region, FALSE); } - G_OBJECT_CLASS (gedit_document_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_document_parent_class)->finalize (object); } static void -gedit_document_get_property (GObject *object, +pluma_document_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocument *doc = GEDIT_DOCUMENT (object); + PlumaDocument *doc = PLUMA_DOCUMENT (object); switch (prop_id) { @@ -325,13 +325,13 @@ gedit_document_get_property (GObject *object, g_value_set_string (value, doc->priv->uri); break; case PROP_SHORTNAME: - g_value_take_string (value, gedit_document_get_short_name_for_display (doc)); + g_value_take_string (value, pluma_document_get_short_name_for_display (doc)); break; case PROP_CONTENT_TYPE: - g_value_take_string (value, gedit_document_get_content_type (doc)); + g_value_take_string (value, pluma_document_get_content_type (doc)); break; case PROP_MIME_TYPE: - g_value_take_string (value, gedit_document_get_mime_type (doc)); + g_value_take_string (value, pluma_document_get_mime_type (doc)); break; case PROP_READ_ONLY: g_value_set_boolean (value, doc->priv->readonly); @@ -340,10 +340,10 @@ gedit_document_get_property (GObject *object, g_value_set_boxed (value, doc->priv->encoding); break; case PROP_CAN_SEARCH_AGAIN: - g_value_set_boolean (value, gedit_document_get_can_search_again (doc)); + g_value_set_boolean (value, pluma_document_get_can_search_again (doc)); break; case PROP_ENABLE_SEARCH_HIGHLIGHTING: - g_value_set_boolean (value, gedit_document_get_enable_search_highlighting (doc)); + g_value_set_boolean (value, pluma_document_get_enable_search_highlighting (doc)); break; case PROP_NEWLINE_TYPE: g_value_set_enum (value, doc->priv->newline_type); @@ -355,29 +355,29 @@ gedit_document_get_property (GObject *object, } static void -gedit_document_set_property (GObject *object, +pluma_document_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocument *doc = GEDIT_DOCUMENT (object); + PlumaDocument *doc = PLUMA_DOCUMENT (object); switch (prop_id) { case PROP_ENABLE_SEARCH_HIGHLIGHTING: - gedit_document_set_enable_search_highlighting (doc, + pluma_document_set_enable_search_highlighting (doc, g_value_get_boolean (value)); break; case PROP_NEWLINE_TYPE: - gedit_document_set_newline_type (doc, + pluma_document_set_newline_type (doc, g_value_get_enum (value)); break; case PROP_SHORTNAME: - gedit_document_set_short_name_for_display (doc, + pluma_document_set_short_name_for_display (doc, g_value_get_string (value)); break; case PROP_CONTENT_TYPE: - gedit_document_set_content_type (doc, + pluma_document_set_content_type (doc, g_value_get_string (value)); break; default: @@ -387,7 +387,7 @@ gedit_document_set_property (GObject *object, } static void -emit_cursor_moved (GeditDocument *doc) +emit_cursor_moved (PlumaDocument *doc) { if (!doc->priv->stop_cursor_moved_emission) { @@ -398,14 +398,14 @@ emit_cursor_moved (GeditDocument *doc) } static void -gedit_document_mark_set (GtkTextBuffer *buffer, +pluma_document_mark_set (GtkTextBuffer *buffer, const GtkTextIter *iter, GtkTextMark *mark) { - GeditDocument *doc = GEDIT_DOCUMENT (buffer); + PlumaDocument *doc = PLUMA_DOCUMENT (buffer); - if (GTK_TEXT_BUFFER_CLASS (gedit_document_parent_class)->mark_set) - GTK_TEXT_BUFFER_CLASS (gedit_document_parent_class)->mark_set (buffer, + if (GTK_TEXT_BUFFER_CLASS (pluma_document_parent_class)->mark_set) + GTK_TEXT_BUFFER_CLASS (pluma_document_parent_class)->mark_set (buffer, iter, mark); @@ -416,29 +416,29 @@ gedit_document_mark_set (GtkTextBuffer *buffer, } static void -gedit_document_changed (GtkTextBuffer *buffer) +pluma_document_changed (GtkTextBuffer *buffer) { - emit_cursor_moved (GEDIT_DOCUMENT (buffer)); + emit_cursor_moved (PLUMA_DOCUMENT (buffer)); - GTK_TEXT_BUFFER_CLASS (gedit_document_parent_class)->changed (buffer); + GTK_TEXT_BUFFER_CLASS (pluma_document_parent_class)->changed (buffer); } static void -gedit_document_class_init (GeditDocumentClass *klass) +pluma_document_class_init (PlumaDocumentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkTextBufferClass *buf_class = GTK_TEXT_BUFFER_CLASS (klass); - object_class->dispose = gedit_document_dispose; - object_class->finalize = gedit_document_finalize; - object_class->get_property = gedit_document_get_property; - object_class->set_property = gedit_document_set_property; + object_class->dispose = pluma_document_dispose; + object_class->finalize = pluma_document_finalize; + object_class->get_property = pluma_document_get_property; + object_class->set_property = pluma_document_set_property; - buf_class->mark_set = gedit_document_mark_set; - buf_class->changed = gedit_document_changed; + buf_class->mark_set = pluma_document_mark_set; + buf_class->changed = pluma_document_changed; - klass->load = gedit_document_load_real; - klass->save = gedit_document_save_real; + klass->load = pluma_document_load_real; + klass->save = pluma_document_save_real; g_object_class_install_property (object_class, PROP_URI, g_param_spec_string ("uri", @@ -483,8 +483,8 @@ gedit_document_class_init (GeditDocumentClass *klass) g_object_class_install_property (object_class, PROP_ENCODING, g_param_spec_boxed ("encoding", "Encoding", - "The GeditEncoding used for the document", - GEDIT_TYPE_ENCODING, + "The PlumaEncoding used for the document", + PLUMA_TYPE_ENCODING, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -505,7 +505,7 @@ gedit_document_class_init (GeditDocumentClass *klass) G_PARAM_STATIC_STRINGS)); /** - * GeditDocument:newline-type: + * PlumaDocument:newline-type: * * The :newline-type property determines what is considered * as a line ending when saving the document @@ -514,8 +514,8 @@ gedit_document_class_init (GeditDocumentClass *klass) g_param_spec_enum ("newline-type", "Newline type", "The accepted types of line ending", - GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE, - GEDIT_DOCUMENT_NEWLINE_TYPE_LF, + PLUMA_TYPE_DOCUMENT_NEWLINE_TYPE, + PLUMA_DOCUMENT_NEWLINE_TYPE_LF, G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)); @@ -530,17 +530,17 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("cursor-moved", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, cursor_moved), + G_STRUCT_OFFSET (PlumaDocumentClass, cursor_moved), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); /** - * GeditDocument::load: - * @document: the #GeditDocument. + * PlumaDocument::load: + * @document: the #PlumaDocument. * @uri: the uri where to load the document from. - * @encoding: the #GeditEncoding to encode the document. + * @encoding: the #PlumaEncoding to encode the document. * @line_pos: the line to show. * @create: whether the document should be created if it doesn't exist. * @@ -552,15 +552,15 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("load", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, load), + G_STRUCT_OFFSET (PlumaDocumentClass, load), NULL, NULL, - gedit_marshal_VOID__STRING_BOXED_INT_BOOLEAN, + pluma_marshal_VOID__STRING_BOXED_INT_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, - /* we rely on the fact that the GeditEncoding pointer stays + /* we rely on the fact that the PlumaEncoding pointer stays * the same forever */ - GEDIT_TYPE_ENCODING | G_SIGNAL_TYPE_STATIC_SCOPE, + PLUMA_TYPE_ENCODING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_INT, G_TYPE_BOOLEAN); @@ -569,9 +569,9 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("loading", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, loading), + G_STRUCT_OFFSET (PlumaDocumentClass, loading), NULL, NULL, - gedit_marshal_VOID__UINT64_UINT64, + pluma_marshal_VOID__UINT64_UINT64, G_TYPE_NONE, 2, G_TYPE_UINT64, @@ -581,7 +581,7 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("loaded", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, loaded), + G_STRUCT_OFFSET (PlumaDocumentClass, loaded), NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, @@ -589,11 +589,11 @@ gedit_document_class_init (GeditDocumentClass *klass) G_TYPE_POINTER); /** - * GeditDocument::save: - * @document: the #GeditDocument. + * PlumaDocument::save: + * @document: the #PlumaDocument. * @uri: the uri where the document is about to be saved. - * @encoding: the #GeditEncoding used to save the document. - * @flags: the #GeditDocumentSaveFlags for the save operation. + * @encoding: the #PlumaEncoding used to save the document. + * @flags: the #PlumaDocumentSaveFlags for the save operation. * * The "save" signal is emitted when the document is saved. * @@ -603,24 +603,24 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("save", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, save), + G_STRUCT_OFFSET (PlumaDocumentClass, save), NULL, NULL, - gedit_marshal_VOID__STRING_BOXED_FLAGS, + pluma_marshal_VOID__STRING_BOXED_FLAGS, G_TYPE_NONE, 3, G_TYPE_STRING, - /* we rely on the fact that the GeditEncoding pointer stays + /* we rely on the fact that the PlumaEncoding pointer stays * the same forever */ - GEDIT_TYPE_ENCODING | G_SIGNAL_TYPE_STATIC_SCOPE, - GEDIT_TYPE_DOCUMENT_SAVE_FLAGS); + PLUMA_TYPE_ENCODING | G_SIGNAL_TYPE_STATIC_SCOPE, + PLUMA_TYPE_DOCUMENT_SAVE_FLAGS); document_signals[SAVING] = g_signal_new ("saving", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, saving), + G_STRUCT_OFFSET (PlumaDocumentClass, saving), NULL, NULL, - gedit_marshal_VOID__UINT64_UINT64, + pluma_marshal_VOID__UINT64_UINT64, G_TYPE_NONE, 2, G_TYPE_UINT64, @@ -630,7 +630,7 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("saved", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, saved), + G_STRUCT_OFFSET (PlumaDocumentClass, saved), NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, @@ -641,25 +641,25 @@ gedit_document_class_init (GeditDocumentClass *klass) g_signal_new ("search_highlight_updated", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditDocumentClass, search_highlight_updated), + G_STRUCT_OFFSET (PlumaDocumentClass, search_highlight_updated), NULL, NULL, - gedit_marshal_VOID__BOXED_BOXED, + pluma_marshal_VOID__BOXED_BOXED, G_TYPE_NONE, 2, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE); - g_type_class_add_private (object_class, sizeof(GeditDocumentPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaDocumentPrivate)); } static void -set_language (GeditDocument *doc, +set_language (PlumaDocument *doc, GtkSourceLanguage *lang, gboolean set_by_user) { GtkSourceLanguage *old_lang; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); old_lang = gtk_source_buffer_get_language (GTK_SOURCE_BUFFER (doc)); @@ -670,14 +670,14 @@ set_language (GeditDocument *doc, if (lang != NULL) gtk_source_buffer_set_highlight_syntax (GTK_SOURCE_BUFFER (doc), - gedit_prefs_manager_get_enable_syntax_highlighting ()); + pluma_prefs_manager_get_enable_syntax_highlighting ()); else gtk_source_buffer_set_highlight_syntax (GTK_SOURCE_BUFFER (doc), FALSE); if (set_by_user && (doc->priv->uri != NULL)) { - gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_LANGUAGE, + pluma_document_set_metadata (doc, PLUMA_METADATA_ATTRIBUTE_LANGUAGE, (lang == NULL) ? "_NORMAL_" : gtk_source_language_get_id (lang), NULL); } @@ -686,13 +686,13 @@ set_language (GeditDocument *doc, } static void -set_encoding (GeditDocument *doc, - const GeditEncoding *encoding, +set_encoding (PlumaDocument *doc, + const PlumaEncoding *encoding, gboolean set_by_user) { g_return_if_fail (encoding != NULL); - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (doc->priv->encoding == encoding) return; @@ -703,9 +703,9 @@ set_encoding (GeditDocument *doc, { const gchar *charset; - charset = gedit_encoding_get_charset (encoding); + charset = pluma_encoding_get_charset (encoding); - gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_ENCODING, + pluma_document_set_metadata (doc, PLUMA_METADATA_ATTRIBUTE_ENCODING, charset, NULL); } @@ -719,8 +719,8 @@ get_default_style_scheme (void) GtkSourceStyleScheme *def_style; GtkSourceStyleSchemeManager *manager; - manager = gedit_get_style_scheme_manager (); - scheme_id = gedit_prefs_manager_get_source_style_scheme (); + manager = pluma_get_style_scheme_manager (); + scheme_id = pluma_prefs_manager_get_source_style_scheme (); def_style = gtk_source_style_scheme_manager_get_scheme (manager, scheme_id); @@ -741,14 +741,14 @@ get_default_style_scheme (void) } static void -on_uri_changed (GeditDocument *doc, +on_uri_changed (PlumaDocument *doc, GParamSpec *pspec, gpointer useless) { #ifdef ENABLE_GVFS_METADATA GFile *location; - location = gedit_document_get_location (doc); + location = pluma_document_get_location (doc); /* load metadata for this uri: we load sync since metadata is * always local so it should be fast and we need the information @@ -785,22 +785,22 @@ on_uri_changed (GeditDocument *doc, } static GtkSourceLanguage * -guess_language (GeditDocument *doc, +guess_language (PlumaDocument *doc, const gchar *content_type) { gchar *data; GtkSourceLanguage *language = NULL; - data = gedit_document_get_metadata (doc, GEDIT_METADATA_ATTRIBUTE_LANGUAGE); + data = pluma_document_get_metadata (doc, PLUMA_METADATA_ATTRIBUTE_LANGUAGE); if (data != NULL) { - gedit_debug_message (DEBUG_DOCUMENT, "Language from metadata: %s", data); + pluma_debug_message (DEBUG_DOCUMENT, "Language from metadata: %s", data); if (strcmp (data, "_NORMAL_") != 0) { language = gtk_source_language_manager_get_language ( - gedit_get_language_manager (), + pluma_get_language_manager (), data); } @@ -811,8 +811,8 @@ guess_language (GeditDocument *doc, GFile *file; gchar *basename = NULL; - file = gedit_document_get_location (doc); - gedit_debug_message (DEBUG_DOCUMENT, "Sniffing Language"); + file = pluma_document_get_location (doc); + pluma_debug_message (DEBUG_DOCUMENT, "Sniffing Language"); if (file) { @@ -824,7 +824,7 @@ guess_language (GeditDocument *doc, } language = gtk_source_language_manager_guess_language ( - gedit_get_language_manager (), + pluma_get_language_manager (), basename, content_type); @@ -840,7 +840,7 @@ guess_language (GeditDocument *doc, } static void -on_content_type_changed (GeditDocument *doc, +on_content_type_changed (PlumaDocument *doc, GParamSpec *pspec, gpointer useless) { @@ -850,7 +850,7 @@ on_content_type_changed (GeditDocument *doc, language = guess_language (doc, doc->priv->content_type); - gedit_debug_message (DEBUG_DOCUMENT, "Language: %s", + pluma_debug_message (DEBUG_DOCUMENT, "Language: %s", language != NULL ? gtk_source_language_get_name (language) : "None"); set_language (doc, language, FALSE); @@ -864,13 +864,13 @@ get_default_content_type (void) } static void -gedit_document_init (GeditDocument *doc) +pluma_document_init (PlumaDocument *doc) { GtkSourceStyleScheme *style_scheme; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - doc->priv = GEDIT_DOCUMENT_GET_PRIVATE (doc); + doc->priv = PLUMA_DOCUMENT_GET_PRIVATE (doc); doc->priv->uri = NULL; doc->priv->untitled_number = get_untitled_number (); @@ -893,18 +893,18 @@ gedit_document_init (GeditDocument *doc) g_get_current_time (&doc->priv->time_of_last_save_or_load); - doc->priv->encoding = gedit_encoding_get_utf8 (); + doc->priv->encoding = pluma_encoding_get_utf8 (); - doc->priv->newline_type = GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT; + doc->priv->newline_type = PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT; gtk_source_buffer_set_max_undo_levels (GTK_SOURCE_BUFFER (doc), - gedit_prefs_manager_get_undo_actions_limit ()); + pluma_prefs_manager_get_undo_actions_limit ()); gtk_source_buffer_set_highlight_matching_brackets (GTK_SOURCE_BUFFER (doc), - gedit_prefs_manager_get_bracket_matching ()); + pluma_prefs_manager_get_bracket_matching ()); - gedit_document_set_enable_search_highlighting (doc, - gedit_prefs_manager_get_enable_search_highlighting ()); + pluma_document_set_enable_search_highlighting (doc, + pluma_prefs_manager_get_enable_search_highlighting ()); style_scheme = get_default_style_scheme (); if (style_scheme != NULL) @@ -932,19 +932,19 @@ gedit_document_init (GeditDocument *doc) NULL); } -GeditDocument * -gedit_document_new (void) +PlumaDocument * +pluma_document_new (void) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - return GEDIT_DOCUMENT (g_object_new (GEDIT_TYPE_DOCUMENT, NULL)); + return PLUMA_DOCUMENT (g_object_new (PLUMA_TYPE_DOCUMENT, NULL)); } static void -set_content_type_no_guess (GeditDocument *doc, +set_content_type_no_guess (PlumaDocument *doc, const gchar *content_type) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (doc->priv->content_type != NULL && content_type != NULL && (0 == strcmp (doc->priv->content_type, content_type))) @@ -961,10 +961,10 @@ set_content_type_no_guess (GeditDocument *doc, } static void -set_content_type (GeditDocument *doc, +set_content_type (PlumaDocument *doc, const gchar *content_type) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (content_type == NULL) { @@ -972,7 +972,7 @@ set_content_type (GeditDocument *doc, gchar *guessed_type = NULL; /* If content type is null, we guess from the filename */ - file = gedit_document_get_location (doc); + file = pluma_document_get_location (doc); if (file != NULL) { gchar *basename; @@ -995,21 +995,21 @@ set_content_type (GeditDocument *doc, } void -gedit_document_set_content_type (GeditDocument *doc, +pluma_document_set_content_type (PlumaDocument *doc, const gchar *content_type) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); set_content_type (doc, content_type); } static void -set_uri (GeditDocument *doc, +set_uri (PlumaDocument *doc, const gchar *uri) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - g_return_if_fail ((uri == NULL) || gedit_utils_is_valid_uri (uri)); + g_return_if_fail ((uri == NULL) || pluma_utils_is_valid_uri (uri)); if (uri != NULL) { @@ -1035,26 +1035,26 @@ set_uri (GeditDocument *doc, } GFile * -gedit_document_get_location (GeditDocument *doc) +pluma_document_get_location (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); return doc->priv->uri == NULL ? NULL : g_file_new_for_uri (doc->priv->uri); } gchar * -gedit_document_get_uri (GeditDocument *doc) +pluma_document_get_uri (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); return g_strdup (doc->priv->uri); } void -gedit_document_set_uri (GeditDocument *doc, +pluma_document_set_uri (PlumaDocument *doc, const gchar *uri) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (uri != NULL); set_uri (doc, uri); @@ -1063,22 +1063,22 @@ gedit_document_set_uri (GeditDocument *doc, /* Never returns NULL */ gchar * -gedit_document_get_uri_for_display (GeditDocument *doc) +pluma_document_get_uri_for_display (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), g_strdup ("")); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), g_strdup ("")); if (doc->priv->uri == NULL) return g_strdup_printf (_("Unsaved Document %d"), doc->priv->untitled_number); else - return gedit_utils_uri_for_display (doc->priv->uri); + return pluma_utils_uri_for_display (doc->priv->uri); } /* Never returns NULL */ gchar * -gedit_document_get_short_name_for_display (GeditDocument *doc) +pluma_document_get_short_name_for_display (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), g_strdup ("")); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), g_strdup ("")); if (doc->priv->short_name != NULL) return g_strdup (doc->priv->short_name); @@ -1086,14 +1086,14 @@ gedit_document_get_short_name_for_display (GeditDocument *doc) return g_strdup_printf (_("Unsaved Document %d"), doc->priv->untitled_number); else - return gedit_utils_basename_for_display (doc->priv->uri); + return pluma_utils_basename_for_display (doc->priv->uri); } void -gedit_document_set_short_name_for_display (GeditDocument *doc, +pluma_document_set_short_name_for_display (PlumaDocument *doc, const gchar *short_name) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_free (doc->priv->short_name); doc->priv->short_name = g_strdup (short_name); @@ -1102,20 +1102,20 @@ gedit_document_set_short_name_for_display (GeditDocument *doc, } gchar * -gedit_document_get_content_type (GeditDocument *doc) +pluma_document_get_content_type (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); return g_strdup (doc->priv->content_type); } /* Never returns NULL */ gchar * -gedit_document_get_mime_type (GeditDocument *doc) +pluma_document_get_mime_type (PlumaDocument *doc) { gchar *mime_type = NULL; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), g_strdup ("text/plain")); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), g_strdup ("text/plain")); if ((doc->priv->content_type != NULL) && (!g_content_type_is_unknown (doc->priv->content_type))) @@ -1128,10 +1128,10 @@ gedit_document_get_mime_type (GeditDocument *doc) /* Note: do not emit the notify::read-only signal */ static gboolean -set_readonly (GeditDocument *doc, +set_readonly (PlumaDocument *doc, gboolean readonly) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); readonly = (readonly != FALSE); @@ -1144,19 +1144,19 @@ set_readonly (GeditDocument *doc, } /** - * gedit_document_set_readonly: - * @doc: a #GeditDocument + * pluma_document_set_readonly: + * @doc: a #PlumaDocument * @readonly: %TRUE to se the document as read-only * * If @readonly is %TRUE sets @doc as read-only. */ void -_gedit_document_set_readonly (GeditDocument *doc, +_pluma_document_set_readonly (PlumaDocument *doc, gboolean readonly) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); if (set_readonly (doc, readonly)) { @@ -1165,20 +1165,20 @@ _gedit_document_set_readonly (GeditDocument *doc, } gboolean -gedit_document_get_readonly (GeditDocument *doc) +pluma_document_get_readonly (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), TRUE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), TRUE); return doc->priv->readonly; } gboolean -_gedit_document_check_externally_modified (GeditDocument *doc) +_pluma_document_check_externally_modified (PlumaDocument *doc) { GFile *gfile; GFileInfo *info; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); if (doc->priv->uri == NULL) { @@ -1203,7 +1203,7 @@ _gedit_document_check_externally_modified (GeditDocument *doc) read_only = !g_file_info_get_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE); - _gedit_document_set_readonly (doc, read_only); + _pluma_document_set_readonly (doc, read_only); } if (g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_TIME_MODIFIED)) @@ -1223,7 +1223,7 @@ _gedit_document_check_externally_modified (GeditDocument *doc) } static void -reset_temp_loading_data (GeditDocument *doc) +reset_temp_loading_data (PlumaDocument *doc) { /* the loader has been used, throw it away */ g_object_unref (doc->priv->loader); @@ -1234,14 +1234,14 @@ reset_temp_loading_data (GeditDocument *doc) } static void -document_loader_loaded (GeditDocumentLoader *loader, +document_loader_loaded (PlumaDocumentLoader *loader, const GError *error, - GeditDocument *doc) + PlumaDocument *doc) { /* load was successful */ if (error == NULL || - (error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK)) + (error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK)) { GtkTextIter iter; GFileInfo *info; @@ -1249,7 +1249,7 @@ document_loader_loaded (GeditDocumentLoader *loader, gboolean read_only = FALSE; GTimeVal mtime = {0, 0}; - info = gedit_document_loader_get_info (loader); + info = pluma_document_loader_get_info (loader); if (info) { @@ -1272,13 +1272,13 @@ document_loader_loaded (GeditDocumentLoader *loader, g_get_current_time (&doc->priv->time_of_last_save_or_load); set_encoding (doc, - gedit_document_loader_get_encoding (loader), + pluma_document_loader_get_encoding (loader), (doc->priv->requested_encoding != NULL)); set_content_type (doc, content_type); - gedit_document_set_newline_type (doc, - gedit_document_loader_get_newline_type (loader)); + pluma_document_set_newline_type (doc, + pluma_document_loader_get_newline_type (loader)); /* move the cursor at the requested line if any */ if (doc->priv->requested_line_pos > 0) @@ -1289,12 +1289,12 @@ document_loader_loaded (GeditDocumentLoader *loader, doc->priv->requested_line_pos - 1); } /* else, if enabled, to the position stored in the metadata */ - else if (gedit_prefs_manager_get_restore_cursor_position ()) + else if (pluma_prefs_manager_get_restore_cursor_position ()) { gchar *pos; gint offset; - pos = gedit_document_get_metadata (doc, GEDIT_METADATA_ATTRIBUTE_POSITION); + pos = pluma_document_get_metadata (doc, PLUMA_METADATA_ATTRIBUTE_POSITION); offset = pos ? atoi (pos) : 0; g_free (pos); @@ -1325,7 +1325,7 @@ document_loader_loaded (GeditDocumentLoader *loader, /* special case creating a named new doc */ else if (doc->priv->create && (error->domain == G_IO_ERROR && error->code == G_IO_ERROR_NOT_FOUND) && - (gedit_utils_uri_has_file_scheme (doc->priv->uri))) + (pluma_utils_uri_has_file_scheme (doc->priv->uri))) { reset_temp_loading_data (doc); @@ -1346,10 +1346,10 @@ document_loader_loaded (GeditDocumentLoader *loader, } static void -document_loader_loading (GeditDocumentLoader *loader, +document_loader_loading (PlumaDocumentLoader *loader, gboolean completed, const GError *error, - GeditDocument *doc) + PlumaDocument *doc) { if (completed) { @@ -1361,13 +1361,13 @@ document_loader_loading (GeditDocumentLoader *loader, goffset read; GFileInfo *info; - info = gedit_document_loader_get_info (loader); + info = pluma_document_loader_get_info (loader); if (info && g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_STANDARD_SIZE)) size = g_file_info_get_attribute_uint64 (info, G_FILE_ATTRIBUTE_STANDARD_SIZE); - read = gedit_document_loader_get_bytes_read (loader); + read = pluma_document_loader_get_bytes_read (loader); g_signal_emit (doc, document_signals[LOADING], @@ -1378,18 +1378,18 @@ document_loader_loading (GeditDocumentLoader *loader, } static void -gedit_document_load_real (GeditDocument *doc, +pluma_document_load_real (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { g_return_if_fail (doc->priv->loader == NULL); - gedit_debug_message (DEBUG_DOCUMENT, "load_real: uri = %s", uri); + pluma_debug_message (DEBUG_DOCUMENT, "load_real: uri = %s", uri); /* create a loader. It will be destroyed when loading is completed */ - doc->priv->loader = gedit_document_loader_new (doc, uri, encoding); + doc->priv->loader = pluma_document_loader_new (doc, uri, encoding); g_signal_connect (doc->priv->loader, "loading", @@ -1403,57 +1403,57 @@ gedit_document_load_real (GeditDocument *doc, set_uri (doc, uri); set_content_type (doc, NULL); - gedit_document_loader_load (doc->priv->loader); + pluma_document_loader_load (doc->priv->loader); } /** - * gedit_document_load: - * @doc: the #GeditDocument. + * pluma_document_load: + * @doc: the #PlumaDocument. * @uri: the uri where to load the document from. - * @encoding: the #GeditEncoding to encode the document. + * @encoding: the #PlumaEncoding to encode the document. * @line_pos: the line to show. * @create: whether the document should be created if it doesn't exist. * * Load a document. This results in the "load" signal to be emitted. */ void -gedit_document_load (GeditDocument *doc, +pluma_document_load (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (uri != NULL); - g_return_if_fail (gedit_utils_is_valid_uri (uri)); + g_return_if_fail (pluma_utils_is_valid_uri (uri)); g_signal_emit (doc, document_signals[LOAD], 0, uri, encoding, line_pos, create); } /** - * gedit_document_load_cancel: - * @doc: the #GeditDocument. + * pluma_document_load_cancel: + * @doc: the #PlumaDocument. * * Cancel load of a document. */ gboolean -gedit_document_load_cancel (GeditDocument *doc) +pluma_document_load_cancel (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); if (doc->priv->loader == NULL) return FALSE; - return gedit_document_loader_cancel (doc->priv->loader); + return pluma_document_loader_cancel (doc->priv->loader); } static void -document_saver_saving (GeditDocumentSaver *saver, +document_saver_saving (PlumaDocumentSaver *saver, gboolean completed, const GError *error, - GeditDocument *doc) + PlumaDocument *doc) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (completed) { @@ -1465,10 +1465,10 @@ document_saver_saving (GeditDocumentSaver *saver, GTimeVal mtime = {0, 0}; GFileInfo *info; - uri = gedit_document_saver_get_uri (saver); + uri = pluma_document_saver_get_uri (saver); set_uri (doc, uri); - info = gedit_document_saver_get_info (saver); + info = pluma_document_saver_get_info (saver); if (info != NULL) { @@ -1485,7 +1485,7 @@ document_saver_saving (GeditDocumentSaver *saver, g_get_current_time (&doc->priv->time_of_last_save_or_load); - _gedit_document_set_readonly (doc, FALSE); + _pluma_document_set_readonly (doc, FALSE); gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (doc), FALSE); @@ -1509,10 +1509,10 @@ document_saver_saving (GeditDocumentSaver *saver, goffset size = 0; goffset written = 0; - size = gedit_document_saver_get_file_size (saver); - written = gedit_document_saver_get_bytes_written (saver); + size = pluma_document_saver_get_file_size (saver); + written = pluma_document_saver_get_bytes_written (saver); - gedit_debug_message (DEBUG_DOCUMENT, "save progress: %" G_GINT64_FORMAT " of %" G_GINT64_FORMAT, written, size); + pluma_debug_message (DEBUG_DOCUMENT, "save progress: %" G_GINT64_FORMAT " of %" G_GINT64_FORMAT, written, size); g_signal_emit (doc, document_signals[SAVING], @@ -1523,15 +1523,15 @@ document_saver_saving (GeditDocumentSaver *saver, } static void -gedit_document_save_real (GeditDocument *doc, +pluma_document_save_real (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentSaveFlags flags) + const PlumaEncoding *encoding, + PlumaDocumentSaveFlags flags) { g_return_if_fail (doc->priv->saver == NULL); /* create a saver, it will be destroyed once saving is complete */ - doc->priv->saver = gedit_document_saver_new (doc, uri, encoding, + doc->priv->saver = pluma_document_saver_new (doc, uri, encoding, doc->priv->newline_type, flags); @@ -1542,23 +1542,23 @@ gedit_document_save_real (GeditDocument *doc, doc->priv->requested_encoding = encoding; - gedit_document_saver_save (doc->priv->saver, + pluma_document_saver_save (doc->priv->saver, &doc->priv->mtime); } /** - * gedit_document_save: - * @doc: the #GeditDocument. - * @flags: optionnal #GeditDocumentSaveFlags. + * pluma_document_save: + * @doc: the #PlumaDocument. + * @flags: optionnal #PlumaDocumentSaveFlags. * * Save the document to its previous location. This results in the "save" * signal to be emitted. */ void -gedit_document_save (GeditDocument *doc, - GeditDocumentSaveFlags flags) +pluma_document_save (PlumaDocument *doc, + PlumaDocumentSaveFlags flags) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (doc->priv->uri != NULL); g_signal_emit (doc, @@ -1570,22 +1570,22 @@ gedit_document_save (GeditDocument *doc, } /** - * gedit_document_save_as: - * @doc: the #GeditDocument. + * pluma_document_save_as: + * @doc: the #PlumaDocument. * @uri: the uri where to save the document. - * @encoding: the #GeditEncoding to encode the document. - * @flags: optionnal #GeditDocumentSaveFlags. + * @encoding: the #PlumaEncoding to encode the document. + * @flags: optionnal #PlumaDocumentSaveFlags. * * Save the document to a new location. This results in the "save" signal * to be emitted. */ void -gedit_document_save_as (GeditDocument *doc, +pluma_document_save_as (PlumaDocument *doc, const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentSaveFlags flags) + const PlumaEncoding *encoding, + PlumaDocumentSaveFlags flags) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (uri != NULL); g_return_if_fail (encoding != NULL); @@ -1596,16 +1596,16 @@ gedit_document_save_as (GeditDocument *doc, 0, uri, encoding, - flags | GEDIT_DOCUMENT_SAVE_IGNORE_MTIME); + flags | PLUMA_DOCUMENT_SAVE_IGNORE_MTIME); } gboolean -gedit_document_insert_file (GeditDocument *doc, +pluma_document_insert_file (PlumaDocument *doc, GtkTextIter *iter, const gchar *uri, - const GeditEncoding *encoding) + const PlumaEncoding *encoding) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); g_return_val_if_fail (iter != NULL, FALSE); g_return_val_if_fail (gtk_text_iter_get_buffer (iter) == GTK_TEXT_BUFFER (doc), FALSE); @@ -1616,41 +1616,41 @@ gedit_document_insert_file (GeditDocument *doc, } gboolean -gedit_document_is_untouched (GeditDocument *doc) +pluma_document_is_untouched (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), TRUE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), TRUE); return (doc->priv->uri == NULL) && (!gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc))); } gboolean -gedit_document_is_untitled (GeditDocument *doc) +pluma_document_is_untitled (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), TRUE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), TRUE); return (doc->priv->uri == NULL); } gboolean -gedit_document_is_local (GeditDocument *doc) +pluma_document_is_local (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); if (doc->priv->uri == NULL) { return FALSE; } - return gedit_utils_uri_has_file_scheme (doc->priv->uri); + return pluma_utils_uri_has_file_scheme (doc->priv->uri); } gboolean -gedit_document_get_deleted (GeditDocument *doc) +pluma_document_get_deleted (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); - return doc->priv->uri && !gedit_utils_uri_exists (doc->priv->uri); + return doc->priv->uri && !pluma_utils_uri_exists (doc->priv->uri); } /* @@ -1658,16 +1658,16 @@ gedit_document_get_deleted (GeditDocument *doc) * to the last line and FALSE is returned. */ gboolean -gedit_document_goto_line (GeditDocument *doc, +pluma_document_goto_line (PlumaDocument *doc, gint line) { gboolean ret = TRUE; guint line_count; GtkTextIter iter; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); g_return_val_if_fail (line >= -1, FALSE); line_count = gtk_text_buffer_get_line_count (GTK_TEXT_BUFFER (doc)); @@ -1691,7 +1691,7 @@ gedit_document_goto_line (GeditDocument *doc, } gboolean -gedit_document_goto_line_offset (GeditDocument *doc, +pluma_document_goto_line_offset (PlumaDocument *doc, gint line, gint line_offset) { @@ -1699,7 +1699,7 @@ gedit_document_goto_line_offset (GeditDocument *doc, guint offset_count; GtkTextIter iter; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); g_return_val_if_fail (line >= -1, FALSE); g_return_val_if_fail (line_offset >= -1, FALSE); @@ -1752,7 +1752,7 @@ compute_num_of_lines (const gchar *text) } void -gedit_document_set_search_text (GeditDocument *doc, +pluma_document_set_search_text (PlumaDocument *doc, const gchar *text, guint flags) { @@ -1760,23 +1760,23 @@ gedit_document_set_search_text (GeditDocument *doc, gboolean notify = FALSE; gboolean update_to_search_region = FALSE; - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail ((text == NULL) || (doc->priv->search_text != text)); g_return_if_fail ((text == NULL) || g_utf8_validate (text, -1, NULL)); - gedit_debug_message (DEBUG_DOCUMENT, "text = %s", text); + pluma_debug_message (DEBUG_DOCUMENT, "text = %s", text); if (text != NULL) { if (*text != '\0') { - converted_text = gedit_utils_unescape_search_text (text); - notify = !gedit_document_get_can_search_again (doc); + converted_text = pluma_utils_unescape_search_text (text); + notify = !pluma_document_get_can_search_again (doc); } else { converted_text = g_strdup(""); - notify = gedit_document_get_can_search_again (doc); + notify = pluma_document_get_can_search_again (doc); } g_free (doc->priv->search_text); @@ -1786,7 +1786,7 @@ gedit_document_set_search_text (GeditDocument *doc, update_to_search_region = TRUE; } - if (!GEDIT_SEARCH_IS_DONT_SET_FLAGS (flags)) + if (!PLUMA_SEARCH_IS_DONT_SET_FLAGS (flags)) { if (doc->priv->search_flags != flags) update_to_search_region = TRUE; @@ -1814,28 +1814,28 @@ gedit_document_set_search_text (GeditDocument *doc, } gchar * -gedit_document_get_search_text (GeditDocument *doc, +pluma_document_get_search_text (PlumaDocument *doc, guint *flags) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); if (flags != NULL) *flags = doc->priv->search_flags; - return gedit_utils_escape_search_text (doc->priv->search_text); + return pluma_utils_escape_search_text (doc->priv->search_text); } gboolean -gedit_document_get_can_search_again (GeditDocument *doc) +pluma_document_get_can_search_again (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); return ((doc->priv->search_text != NULL) && (*doc->priv->search_text != '\0')); } gboolean -gedit_document_search_forward (GeditDocument *doc, +pluma_document_search_forward (PlumaDocument *doc, const GtkTextIter *start, const GtkTextIter *end, GtkTextIter *match_start, @@ -1847,7 +1847,7 @@ gedit_document_search_forward (GeditDocument *doc, GtkTextIter m_start; GtkTextIter m_end; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); g_return_val_if_fail ((start == NULL) || (gtk_text_iter_get_buffer (start) == GTK_TEXT_BUFFER (doc)), FALSE); g_return_val_if_fail ((end == NULL) || @@ -1855,11 +1855,11 @@ gedit_document_search_forward (GeditDocument *doc, if (doc->priv->search_text == NULL) { - gedit_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == NULL\n"); + pluma_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == NULL\n"); return FALSE; } else - gedit_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == \"%s\"\n", doc->priv->search_text); + pluma_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == \"%s\"\n", doc->priv->search_text); if (start == NULL) gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (doc), &iter); @@ -1868,7 +1868,7 @@ gedit_document_search_forward (GeditDocument *doc, search_flags = GTK_SOURCE_SEARCH_VISIBLE_ONLY | GTK_SOURCE_SEARCH_TEXT_ONLY; - if (!GEDIT_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) + if (!PLUMA_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) { search_flags = search_flags | GTK_SOURCE_SEARCH_CASE_INSENSITIVE; } @@ -1882,7 +1882,7 @@ gedit_document_search_forward (GeditDocument *doc, &m_end, end); - if (found && GEDIT_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) + if (found && PLUMA_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) { found = gtk_text_iter_starts_word (&m_start) && gtk_text_iter_ends_word (&m_end); @@ -1904,7 +1904,7 @@ gedit_document_search_forward (GeditDocument *doc, } gboolean -gedit_document_search_backward (GeditDocument *doc, +pluma_document_search_backward (PlumaDocument *doc, const GtkTextIter *start, const GtkTextIter *end, GtkTextIter *match_start, @@ -1916,7 +1916,7 @@ gedit_document_search_backward (GeditDocument *doc, GtkTextIter m_start; GtkTextIter m_end; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); g_return_val_if_fail ((start == NULL) || (gtk_text_iter_get_buffer (start) == GTK_TEXT_BUFFER (doc)), FALSE); g_return_val_if_fail ((end == NULL) || @@ -1924,11 +1924,11 @@ gedit_document_search_backward (GeditDocument *doc, if (doc->priv->search_text == NULL) { - gedit_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == NULL\n"); + pluma_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == NULL\n"); return FALSE; } else - gedit_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == \"%s\"\n", doc->priv->search_text); + pluma_debug_message (DEBUG_DOCUMENT, "doc->priv->search_text == \"%s\"\n", doc->priv->search_text); if (end == NULL) gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (doc), &iter); @@ -1937,7 +1937,7 @@ gedit_document_search_backward (GeditDocument *doc, search_flags = GTK_SOURCE_SEARCH_VISIBLE_ONLY | GTK_SOURCE_SEARCH_TEXT_ONLY; - if (!GEDIT_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) + if (!PLUMA_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) { search_flags = search_flags | GTK_SOURCE_SEARCH_CASE_INSENSITIVE; } @@ -1951,7 +1951,7 @@ gedit_document_search_backward (GeditDocument *doc, &m_end, start); - if (found && GEDIT_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) + if (found && PLUMA_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) { found = gtk_text_iter_starts_word (&m_start) && gtk_text_iter_ends_word (&m_end); @@ -1973,7 +1973,7 @@ gedit_document_search_backward (GeditDocument *doc, } gint -gedit_document_replace_all (GeditDocument *doc, +pluma_document_replace_all (PlumaDocument *doc, const gchar *find, const gchar *replace, guint flags) @@ -1991,7 +1991,7 @@ gedit_document_replace_all (GeditDocument *doc, gboolean brackets_highlighting; gboolean search_highliting; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), 0); g_return_val_if_fail (replace != NULL, 0); g_return_val_if_fail ((find != NULL) || (doc->priv->search_text != NULL), 0); @@ -2000,15 +2000,15 @@ gedit_document_replace_all (GeditDocument *doc, if (find == NULL) search_text = g_strdup (doc->priv->search_text); else - search_text = gedit_utils_unescape_search_text (find); + search_text = pluma_utils_unescape_search_text (find); - replace_text = gedit_utils_unescape_search_text (replace); + replace_text = pluma_utils_unescape_search_text (replace); gtk_text_buffer_get_start_iter (buffer, &iter); search_flags = GTK_SOURCE_SEARCH_VISIBLE_ONLY | GTK_SOURCE_SEARCH_TEXT_ONLY; - if (!GEDIT_SEARCH_IS_CASE_SENSITIVE (flags)) + if (!PLUMA_SEARCH_IS_CASE_SENSITIVE (flags)) { search_flags = search_flags | GTK_SOURCE_SEARCH_CASE_INSENSITIVE; } @@ -2026,8 +2026,8 @@ gedit_document_replace_all (GeditDocument *doc, gtk_source_buffer_set_highlight_matching_brackets (GTK_SOURCE_BUFFER (buffer), FALSE); /* and do search highliting later */ - search_highliting = gedit_document_get_enable_search_highlighting (doc); - gedit_document_set_enable_search_highlighting (doc, FALSE); + search_highliting = pluma_document_get_enable_search_highlighting (doc); + pluma_document_set_enable_search_highlighting (doc, FALSE); gtk_text_buffer_begin_user_action (buffer); @@ -2040,7 +2040,7 @@ gedit_document_replace_all (GeditDocument *doc, &m_end, NULL); - if (found && GEDIT_SEARCH_IS_ENTIRE_WORD (flags)) + if (found && PLUMA_SEARCH_IS_ENTIRE_WORD (flags)) { gboolean word; @@ -2081,7 +2081,7 @@ gedit_document_replace_all (GeditDocument *doc, gtk_source_buffer_set_highlight_matching_brackets (GTK_SOURCE_BUFFER (buffer), brackets_highlighting); - gedit_document_set_enable_search_highlighting (doc, search_highliting); + pluma_document_set_enable_search_highlighting (doc, search_highliting); g_free (search_text); g_free (replace_text); @@ -2090,38 +2090,38 @@ gedit_document_replace_all (GeditDocument *doc, } void -gedit_document_set_language (GeditDocument *doc, +pluma_document_set_language (PlumaDocument *doc, GtkSourceLanguage *lang) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); set_language (doc, lang, TRUE); } GtkSourceLanguage * -gedit_document_get_language (GeditDocument *doc) +pluma_document_get_language (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); return gtk_source_buffer_get_language (GTK_SOURCE_BUFFER (doc)); } -const GeditEncoding * -gedit_document_get_encoding (GeditDocument *doc) +const PlumaEncoding * +pluma_document_get_encoding (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); return doc->priv->encoding; } glong -_gedit_document_get_seconds_since_last_save_or_load (GeditDocument *doc) +_pluma_document_get_seconds_since_last_save_or_load (PlumaDocument *doc) { GTimeVal current_time; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), -1); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), -1); g_get_current_time (¤t_time); @@ -2129,7 +2129,7 @@ _gedit_document_get_seconds_since_last_save_or_load (GeditDocument *doc) } static void -get_search_match_colors (GeditDocument *doc, +get_search_match_colors (PlumaDocument *doc, gboolean *foreground_set, GdkColor *foreground, gboolean *background_set, @@ -2180,7 +2180,7 @@ get_search_match_colors (GeditDocument *doc, return; fallback: - gedit_debug_message (DEBUG_DOCUMENT, + pluma_debug_message (DEBUG_DOCUMENT, "Falling back to hard-coded colors " "for the \"found\" text tag."); @@ -2192,7 +2192,7 @@ get_search_match_colors (GeditDocument *doc, } static void -sync_found_tag (GeditDocument *doc, +sync_found_tag (PlumaDocument *doc, GParamSpec *pspec, gpointer data) { @@ -2201,7 +2201,7 @@ sync_found_tag (GeditDocument *doc, gboolean fg_set; gboolean bg_set; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); g_return_if_fail (GTK_TEXT_TAG (doc->priv->found_tag)); @@ -2230,7 +2230,7 @@ text_tag_set_highest_priority (GtkTextTag *tag, } static void -search_region (GeditDocument *doc, +search_region (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end) { @@ -2242,7 +2242,7 @@ search_region (GeditDocument *doc, GtkTextBuffer *buffer; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); buffer = GTK_TEXT_BUFFER (doc); @@ -2299,7 +2299,7 @@ search_region (GeditDocument *doc, search_flags = GTK_SOURCE_SEARCH_VISIBLE_ONLY | GTK_SOURCE_SEARCH_TEXT_ONLY; - if (!GEDIT_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) + if (!PLUMA_SEARCH_IS_CASE_SENSITIVE (doc->priv->search_flags)) { search_flags = search_flags | GTK_SOURCE_SEARCH_CASE_INSENSITIVE; } @@ -2318,7 +2318,7 @@ search_region (GeditDocument *doc, iter = m_end; - if (found && GEDIT_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) + if (found && PLUMA_SEARCH_IS_ENTIRE_WORD (doc->priv->search_flags)) { gboolean word; @@ -2341,11 +2341,11 @@ search_region (GeditDocument *doc, } static void -to_search_region_range (GeditDocument *doc, +to_search_region_range (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end) { - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); if (doc->priv->to_search_region == NULL) return; @@ -2359,7 +2359,7 @@ to_search_region_range (GeditDocument *doc, */ /* Add the region to the refresh region */ - gedit_text_region_add (doc->priv->to_search_region, start, end); + pluma_text_region_add (doc->priv->to_search_region, start, end); /* Notify views of the updated highlight region */ gtk_text_iter_backward_lines (start, doc->priv->num_of_lines_search_text); @@ -2369,15 +2369,15 @@ to_search_region_range (GeditDocument *doc, } void -_gedit_document_search_region (GeditDocument *doc, +_pluma_document_search_region (PlumaDocument *doc, const GtkTextIter *start, const GtkTextIter *end) { - GeditTextRegion *region; + PlumaTextRegion *region; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (start != NULL); g_return_if_fail (end != NULL); @@ -2390,7 +2390,7 @@ _gedit_document_search_region (GeditDocument *doc, */ /* get the subregions not yet highlighted */ - region = gedit_text_region_intersect (doc->priv->to_search_region, + region = pluma_text_region_intersect (doc->priv->to_search_region, start, end); if (region) @@ -2399,32 +2399,32 @@ _gedit_document_search_region (GeditDocument *doc, GtkTextIter start_search; GtkTextIter end_search; - i = gedit_text_region_subregions (region); - gedit_text_region_nth_subregion (region, + i = pluma_text_region_subregions (region); + pluma_text_region_nth_subregion (region, 0, &start_search, NULL); - gedit_text_region_nth_subregion (region, + pluma_text_region_nth_subregion (region, i - 1, NULL, &end_search); - gedit_text_region_destroy (region, TRUE); + pluma_text_region_destroy (region, TRUE); gtk_text_iter_order (&start_search, &end_search); search_region (doc, &start_search, &end_search); /* remove the just highlighted region */ - gedit_text_region_subtract (doc->priv->to_search_region, + pluma_text_region_subtract (doc->priv->to_search_region, start, end); } } static void -insert_text_cb (GeditDocument *doc, +insert_text_cb (PlumaDocument *doc, GtkTextIter *pos, const gchar *text, gint length) @@ -2432,7 +2432,7 @@ insert_text_cb (GeditDocument *doc, GtkTextIter start; GtkTextIter end; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); start = end = *pos; @@ -2449,14 +2449,14 @@ insert_text_cb (GeditDocument *doc, } static void -delete_range_cb (GeditDocument *doc, +delete_range_cb (PlumaDocument *doc, GtkTextIter *start, GtkTextIter *end) { GtkTextIter d_start; GtkTextIter d_end; - gedit_debug (DEBUG_DOCUMENT); + pluma_debug (DEBUG_DOCUMENT); d_start = *start; d_end = *end; @@ -2465,10 +2465,10 @@ delete_range_cb (GeditDocument *doc, } void -gedit_document_set_enable_search_highlighting (GeditDocument *doc, +pluma_document_set_enable_search_highlighting (PlumaDocument *doc, gboolean enable) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); enable = enable != FALSE; @@ -2494,14 +2494,14 @@ gedit_document_set_enable_search_highlighting (GeditDocument *doc, &end); } - gedit_text_region_destroy (doc->priv->to_search_region, + pluma_text_region_destroy (doc->priv->to_search_region, TRUE); doc->priv->to_search_region = NULL; } else { - doc->priv->to_search_region = gedit_text_region_new (GTK_TEXT_BUFFER (doc)); - if (gedit_document_get_can_search_again (doc)) + doc->priv->to_search_region = pluma_text_region_new (GTK_TEXT_BUFFER (doc)); + if (pluma_document_get_can_search_again (doc)) { /* If search_text is not empty, highligth all its occurrences */ GtkTextIter begin; @@ -2519,18 +2519,18 @@ gedit_document_set_enable_search_highlighting (GeditDocument *doc, } gboolean -gedit_document_get_enable_search_highlighting (GeditDocument *doc) +pluma_document_get_enable_search_highlighting (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), FALSE); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), FALSE); return (doc->priv->to_search_region != NULL); } void -gedit_document_set_newline_type (GeditDocument *doc, - GeditDocumentNewlineType newline_type) +pluma_document_set_newline_type (PlumaDocument *doc, + PlumaDocumentNewlineType newline_type) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); if (doc->priv->newline_type != newline_type) { @@ -2540,29 +2540,29 @@ gedit_document_set_newline_type (GeditDocument *doc, } } -GeditDocumentNewlineType -gedit_document_get_newline_type (GeditDocument *doc) +PlumaDocumentNewlineType +pluma_document_get_newline_type (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), 0); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), 0); return doc->priv->newline_type; } void -_gedit_document_set_mount_operation_factory (GeditDocument *doc, - GeditMountOperationFactory callback, +_pluma_document_set_mount_operation_factory (PlumaDocument *doc, + PlumaMountOperationFactory callback, gpointer userdata) { - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); doc->priv->mount_operation_factory = callback; doc->priv->mount_operation_userdata = userdata; } GMountOperation * -_gedit_document_create_mount_operation (GeditDocument *doc) +_pluma_document_create_mount_operation (PlumaDocument *doc) { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); if (doc->priv->mount_operation_factory == NULL) return g_mount_operation_new (); @@ -2573,24 +2573,24 @@ _gedit_document_create_mount_operation (GeditDocument *doc) #ifndef ENABLE_GVFS_METADATA gchar * -gedit_document_get_metadata (GeditDocument *doc, +pluma_document_get_metadata (PlumaDocument *doc, const gchar *key) { gchar *value = NULL; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); g_return_val_if_fail (key != NULL, NULL); - if (!gedit_document_is_untitled (doc)) + if (!pluma_document_is_untitled (doc)) { - value = gedit_metadata_manager_get (doc->priv->uri, key); + value = pluma_metadata_manager_get (doc->priv->uri, key); } return value; } void -gedit_document_set_metadata (GeditDocument *doc, +pluma_document_set_metadata (PlumaDocument *doc, const gchar *first_key, ...) { @@ -2598,10 +2598,10 @@ gedit_document_set_metadata (GeditDocument *doc, const gchar *value; va_list var_args; - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (first_key != NULL); - if (gedit_document_is_untitled (doc)) + if (pluma_document_is_untitled (doc)) { /* Can't set metadata for untitled documents */ return; @@ -2613,7 +2613,7 @@ gedit_document_set_metadata (GeditDocument *doc, { value = va_arg (var_args, const gchar *); - gedit_metadata_manager_set (doc->priv->uri, + pluma_metadata_manager_set (doc->priv->uri, key, value); } @@ -2624,8 +2624,8 @@ gedit_document_set_metadata (GeditDocument *doc, #else /** - * gedit_document_get_metadata: - * @doc: a #GeditDocument + * pluma_document_get_metadata: + * @doc: a #PlumaDocument * @key: name of the key * * Gets the metadata assigned to @key. @@ -2633,12 +2633,12 @@ gedit_document_set_metadata (GeditDocument *doc, * Returns: the value assigned to @key. */ gchar * -gedit_document_get_metadata (GeditDocument *doc, +pluma_document_get_metadata (PlumaDocument *doc, const gchar *key) { gchar *value = NULL; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); g_return_val_if_fail (key != NULL, NULL); if (doc->priv->metadata_info && g_file_info_has_attribute (doc->priv->metadata_info, @@ -2663,8 +2663,8 @@ set_attributes_cb (GObject *source, } /** - * gedit_document_set_metadata: - * @doc: a #GeditDocument + * pluma_document_set_metadata: + * @doc: a #PlumaDocument * @first_key: name of the first key to set * @...: value for the first key, followed optionally by more key/value pairs, * followed by %NULL. @@ -2672,7 +2672,7 @@ set_attributes_cb (GObject *source, * Sets metadata on a document. */ void -gedit_document_set_metadata (GeditDocument *doc, +pluma_document_set_metadata (PlumaDocument *doc, const gchar *first_key, ...) { @@ -2682,7 +2682,7 @@ gedit_document_set_metadata (GeditDocument *doc, GFileInfo *info; GFile *location; - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (first_key != NULL); info = g_file_info_new (); @@ -2712,7 +2712,7 @@ gedit_document_set_metadata (GeditDocument *doc, if (doc->priv->metadata_info != NULL) g_file_info_copy_into (info, doc->priv->metadata_info); - location = gedit_document_get_location (doc); + location = pluma_document_get_location (doc); if (location != NULL) { diff --git a/pluma/pluma-document.h b/pluma/pluma-document.h new file mode 100755 index 0000000..a9a87d8 --- /dev/null +++ b/pluma/pluma-document.h @@ -0,0 +1,338 @@ +/* + * pluma-document.h + * This file is part of pluma + * + * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence + * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_DOCUMENT_H__ +#define __PLUMA_DOCUMENT_H__ + +#include +#include +#include + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_DOCUMENT (pluma_document_get_type()) +#define PLUMA_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_DOCUMENT, PlumaDocument)) +#define PLUMA_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_DOCUMENT, PlumaDocumentClass)) +#define PLUMA_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_DOCUMENT)) +#define PLUMA_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENT)) +#define PLUMA_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_DOCUMENT, PlumaDocumentClass)) + +#ifdef G_OS_WIN32 +#define PLUMA_METADATA_ATTRIBUTE_POSITION "position" +#define PLUMA_METADATA_ATTRIBUTE_ENCODING "encoding" +#define PLUMA_METADATA_ATTRIBUTE_LANGUAGE "language" +#else +#define PLUMA_METADATA_ATTRIBUTE_POSITION "metadata::pluma-position" +#define PLUMA_METADATA_ATTRIBUTE_ENCODING "metadata::pluma-encoding" +#define PLUMA_METADATA_ATTRIBUTE_LANGUAGE "metadata::pluma-language" +#endif + +typedef enum +{ + PLUMA_DOCUMENT_NEWLINE_TYPE_LF, + PLUMA_DOCUMENT_NEWLINE_TYPE_CR, + PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF +} PlumaDocumentNewlineType; + +#ifdef G_OS_WIN32 +#define PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF +#else +#define PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT PLUMA_DOCUMENT_NEWLINE_TYPE_LF +#endif + +typedef enum +{ + PLUMA_SEARCH_DONT_SET_FLAGS = 1 << 0, + PLUMA_SEARCH_ENTIRE_WORD = 1 << 1, + PLUMA_SEARCH_CASE_SENSITIVE = 1 << 2 + +} PlumaSearchFlags; + +/** + * PlumaDocumentSaveFlags: + * @PLUMA_DOCUMENT_SAVE_IGNORE_MTIME: save file despite external modifications. + * @PLUMA_DOCUMENT_SAVE_IGNORE_BACKUP: write the file directly without attempting to backup. + * @PLUMA_DOCUMENT_SAVE_PRESERVE_BACKUP: preserve previous backup file, needed to support autosaving. + */ +typedef enum +{ + PLUMA_DOCUMENT_SAVE_IGNORE_MTIME = 1 << 0, + PLUMA_DOCUMENT_SAVE_IGNORE_BACKUP = 1 << 1, + PLUMA_DOCUMENT_SAVE_PRESERVE_BACKUP = 1 << 2 +} PlumaDocumentSaveFlags; + +/* Private structure type */ +typedef struct _PlumaDocumentPrivate PlumaDocumentPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaDocument PlumaDocument; + +struct _PlumaDocument +{ + GtkSourceBuffer buffer; + + /*< private > */ + PlumaDocumentPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaDocumentClass PlumaDocumentClass; + +struct _PlumaDocumentClass +{ + GtkSourceBufferClass parent_class; + + /* Signals */ // CHECK: ancora da rivedere + + void (* cursor_moved) (PlumaDocument *document); + + /* Document load */ + void (* load) (PlumaDocument *document, + const gchar *uri, + const PlumaEncoding *encoding, + gint line_pos, + gboolean create); + + void (* loading) (PlumaDocument *document, + goffset size, + goffset total_size); + + void (* loaded) (PlumaDocument *document, + const GError *error); + + /* Document save */ + void (* save) (PlumaDocument *document, + const gchar *uri, + const PlumaEncoding *encoding, + PlumaDocumentSaveFlags flags); + + void (* saving) (PlumaDocument *document, + goffset size, + goffset total_size); + + void (* saved) (PlumaDocument *document, + const GError *error); + + void (* search_highlight_updated) + (PlumaDocument *document, + GtkTextIter *start, + GtkTextIter *end); +}; + + +#define PLUMA_DOCUMENT_ERROR pluma_document_error_quark () + +enum +{ + PLUMA_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, + PLUMA_DOCUMENT_ERROR_CANT_CREATE_BACKUP, + PLUMA_DOCUMENT_ERROR_TOO_BIG, + PLUMA_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED, + PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK, + PLUMA_DOCUMENT_NUM_ERRORS +}; + +GQuark pluma_document_error_quark (void); + +GType pluma_document_get_type (void) G_GNUC_CONST; + +PlumaDocument *pluma_document_new (void); + +GFile *pluma_document_get_location (PlumaDocument *doc); + +gchar *pluma_document_get_uri (PlumaDocument *doc); +void pluma_document_set_uri (PlumaDocument *doc, + const gchar *uri); + +gchar *pluma_document_get_uri_for_display + (PlumaDocument *doc); +gchar *pluma_document_get_short_name_for_display + (PlumaDocument *doc); + +void pluma_document_set_short_name_for_display + (PlumaDocument *doc, + const gchar *name); + +gchar *pluma_document_get_content_type + (PlumaDocument *doc); + +void pluma_document_set_content_type + (PlumaDocument *doc, + const gchar *content_type); + +gchar *pluma_document_get_mime_type (PlumaDocument *doc); + +gboolean pluma_document_get_readonly (PlumaDocument *doc); + +void pluma_document_load (PlumaDocument *doc, + const gchar *uri, + const PlumaEncoding *encoding, + gint line_pos, + gboolean create); + +gboolean pluma_document_insert_file (PlumaDocument *doc, + GtkTextIter *iter, + const gchar *uri, + const PlumaEncoding *encoding); + +gboolean pluma_document_load_cancel (PlumaDocument *doc); + +void pluma_document_save (PlumaDocument *doc, + PlumaDocumentSaveFlags flags); + +void pluma_document_save_as (PlumaDocument *doc, + const gchar *uri, + const PlumaEncoding *encoding, + PlumaDocumentSaveFlags flags); + +gboolean pluma_document_is_untouched (PlumaDocument *doc); +gboolean pluma_document_is_untitled (PlumaDocument *doc); + +gboolean pluma_document_is_local (PlumaDocument *doc); + +gboolean pluma_document_get_deleted (PlumaDocument *doc); + +gboolean pluma_document_goto_line (PlumaDocument *doc, + gint line); + +gboolean pluma_document_goto_line_offset(PlumaDocument *doc, + gint line, + gint line_offset); + +void pluma_document_set_search_text (PlumaDocument *doc, + const gchar *text, + guint flags); + +gchar *pluma_document_get_search_text (PlumaDocument *doc, + guint *flags); + +gboolean pluma_document_get_can_search_again + (PlumaDocument *doc); + +gboolean pluma_document_search_forward (PlumaDocument *doc, + const GtkTextIter *start, + const GtkTextIter *end, + GtkTextIter *match_start, + GtkTextIter *match_end); + +gboolean pluma_document_search_backward (PlumaDocument *doc, + const GtkTextIter *start, + const GtkTextIter *end, + GtkTextIter *match_start, + GtkTextIter *match_end); + +gint pluma_document_replace_all (PlumaDocument *doc, + const gchar *find, + const gchar *replace, + guint flags); + +void pluma_document_set_language (PlumaDocument *doc, + GtkSourceLanguage *lang); +GtkSourceLanguage + *pluma_document_get_language (PlumaDocument *doc); + +const PlumaEncoding + *pluma_document_get_encoding (PlumaDocument *doc); + +void pluma_document_set_enable_search_highlighting + (PlumaDocument *doc, + gboolean enable); + +gboolean pluma_document_get_enable_search_highlighting + (PlumaDocument *doc); + +void pluma_document_set_newline_type (PlumaDocument *doc, + PlumaDocumentNewlineType newline_type); + +PlumaDocumentNewlineType + pluma_document_get_newline_type (PlumaDocument *doc); + +gchar *pluma_document_get_metadata (PlumaDocument *doc, + const gchar *key); + +void pluma_document_set_metadata (PlumaDocument *doc, + const gchar *first_key, + ...); + +/* + * Non exported functions + */ +void _pluma_document_set_readonly (PlumaDocument *doc, + gboolean readonly); + +glong _pluma_document_get_seconds_since_last_save_or_load + (PlumaDocument *doc); + +/* Note: this is a sync stat: use only on local files */ +gboolean _pluma_document_check_externally_modified + (PlumaDocument *doc); + +void _pluma_document_search_region (PlumaDocument *doc, + const GtkTextIter *start, + const GtkTextIter *end); + +/* Search macros */ +#define PLUMA_SEARCH_IS_DONT_SET_FLAGS(sflags) ((sflags & PLUMA_SEARCH_DONT_SET_FLAGS) != 0) +#define PLUMA_SEARCH_SET_DONT_SET_FLAGS(sflags,state) ((state == TRUE) ? \ +(sflags |= PLUMA_SEARCH_DONT_SET_FLAGS) : (sflags &= ~PLUMA_SEARCH_DONT_SET_FLAGS)) + +#define PLUMA_SEARCH_IS_ENTIRE_WORD(sflags) ((sflags & PLUMA_SEARCH_ENTIRE_WORD) != 0) +#define PLUMA_SEARCH_SET_ENTIRE_WORD(sflags,state) ((state == TRUE) ? \ +(sflags |= PLUMA_SEARCH_ENTIRE_WORD) : (sflags &= ~PLUMA_SEARCH_ENTIRE_WORD)) + +#define PLUMA_SEARCH_IS_CASE_SENSITIVE(sflags) ((sflags & PLUMA_SEARCH_CASE_SENSITIVE) != 0) +#define PLUMA_SEARCH_SET_CASE_SENSITIVE(sflags,state) ((state == TRUE) ? \ +(sflags |= PLUMA_SEARCH_CASE_SENSITIVE) : (sflags &= ~PLUMA_SEARCH_CASE_SENSITIVE)) + +typedef GMountOperation *(*PlumaMountOperationFactory)(PlumaDocument *doc, + gpointer userdata); + +void _pluma_document_set_mount_operation_factory + (PlumaDocument *doc, + PlumaMountOperationFactory callback, + gpointer userdata); +GMountOperation + *_pluma_document_create_mount_operation + (PlumaDocument *doc); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENT_H__ */ diff --git a/gedit/gedit-documents-panel.c b/pluma/pluma-documents-panel.c similarity index 77% rename from gedit/gedit-documents-panel.c rename to pluma/pluma-documents-panel.c index 911654b..7a9e221 100755 --- a/gedit/gedit-documents-panel.c +++ b/pluma/pluma-documents-panel.c @@ -1,6 +1,6 @@ /* - * gedit-documents-panel.c - * This file is part of gedit + * pluma-documents-panel.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -32,19 +32,19 @@ #include #endif -#include "gedit-documents-panel.h" -#include "gedit-utils.h" -#include "gedit-notebook.h" +#include "pluma-documents-panel.h" +#include "pluma-utils.h" +#include "pluma-notebook.h" #include -#define GEDIT_DOCUMENTS_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_DOCUMENTS_PANEL, \ - GeditDocumentsPanelPrivate)) +#define PLUMA_DOCUMENTS_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_DOCUMENTS_PANEL, \ + PlumaDocumentsPanelPrivate)) -struct _GeditDocumentsPanelPrivate +struct _PlumaDocumentsPanelPrivate { - GeditWindow *window; + PlumaWindow *window; GtkWidget *treeview; GtkTreeModel *model; @@ -53,7 +53,7 @@ struct _GeditDocumentsPanelPrivate guint is_reodering : 1; }; -G_DEFINE_TYPE(GeditDocumentsPanel, gedit_documents_panel, GTK_TYPE_VBOX) +G_DEFINE_TYPE(PlumaDocumentsPanel, pluma_documents_panel, GTK_TYPE_VBOX) enum { @@ -72,25 +72,25 @@ enum #define MAX_DOC_NAME_LENGTH 60 static gchar * -tab_get_name (GeditTab *tab) +tab_get_name (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; gchar *name; gchar *docname; gchar *tab_name; - g_return_val_if_fail (GEDIT_IS_TAB (tab), NULL); + g_return_val_if_fail (PLUMA_IS_TAB (tab), NULL); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - name = gedit_document_get_short_name_for_display (doc); + name = pluma_document_get_short_name_for_display (doc); /* Truncate the name so it doesn't get insanely wide. */ - docname = gedit_utils_str_middle_truncate (name, MAX_DOC_NAME_LENGTH); + docname = pluma_utils_str_middle_truncate (name, MAX_DOC_NAME_LENGTH); if (gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc))) { - if (gedit_document_get_readonly (doc)) + if (pluma_document_get_readonly (doc)) { tab_name = g_markup_printf_escaped ("%s [%s]", docname, @@ -104,7 +104,7 @@ tab_get_name (GeditTab *tab) } else { - if (gedit_document_get_readonly (doc)) + if (pluma_document_get_readonly (doc)) { tab_name = g_markup_printf_escaped ("%s [%s]", docname, @@ -123,13 +123,13 @@ tab_get_name (GeditTab *tab) } static void -get_iter_from_tab (GeditDocumentsPanel *panel, GeditTab *tab, GtkTreeIter *iter) +get_iter_from_tab (PlumaDocumentsPanel *panel, PlumaTab *tab, GtkTreeIter *iter) { gint num; GtkWidget *nb; GtkTreePath *path; - nb = _gedit_window_get_notebook (panel->priv->window); + nb = _pluma_window_get_notebook (panel->priv->window); num = gtk_notebook_page_num (GTK_NOTEBOOK (nb), GTK_WIDGET (tab)); @@ -141,13 +141,13 @@ get_iter_from_tab (GeditDocumentsPanel *panel, GeditTab *tab, GtkTreeIter *iter) } static void -window_active_tab_changed (GeditWindow *window, - GeditTab *tab, - GeditDocumentsPanel *panel) +window_active_tab_changed (PlumaWindow *window, + PlumaTab *tab, + PlumaDocumentsPanel *panel) { g_return_if_fail (tab != NULL); - if (!_gedit_window_is_removing_tabs (window)) + if (!_pluma_window_is_removing_tabs (window)) { GtkTreeIter iter; GtkTreeSelection *selection; @@ -166,7 +166,7 @@ window_active_tab_changed (GeditWindow *window, } static void -refresh_list (GeditDocumentsPanel *panel) +refresh_list (PlumaDocumentsPanel *panel) { /* TODO: refresh the list only if the panel is visible */ @@ -174,7 +174,7 @@ refresh_list (GeditDocumentsPanel *panel) GList *l; GtkWidget *nb; GtkListStore *list_store; - GeditTab *active_tab; + PlumaTab *active_tab; /* g_debug ("refresh_list"); */ @@ -182,9 +182,9 @@ refresh_list (GeditDocumentsPanel *panel) gtk_list_store_clear (list_store); - active_tab = gedit_window_get_active_tab (panel->priv->window); + active_tab = pluma_window_get_active_tab (panel->priv->window); - nb = _gedit_window_get_notebook (panel->priv->window); + nb = _pluma_window_get_notebook (panel->priv->window); tabs = gtk_container_get_children (GTK_CONTAINER (nb)); l = tabs; @@ -197,8 +197,8 @@ refresh_list (GeditDocumentsPanel *panel) gchar *name; GtkTreeIter iter; - name = tab_get_name (GEDIT_TAB (l->data)); - pixbuf = _gedit_tab_get_icon (GEDIT_TAB (l->data)); + name = tab_get_name (PLUMA_TAB (l->data)); + pixbuf = _pluma_tab_get_icon (PLUMA_TAB (l->data)); /* Add a new row to the model */ gtk_list_store_append (list_store, &iter); @@ -232,9 +232,9 @@ refresh_list (GeditDocumentsPanel *panel) } static void -sync_name_and_icon (GeditTab *tab, +sync_name_and_icon (PlumaTab *tab, GParamSpec *pspec, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { GdkPixbuf *pixbuf; gchar *name; @@ -243,7 +243,7 @@ sync_name_and_icon (GeditTab *tab, get_iter_from_tab (panel, tab, &iter); name = tab_get_name (tab); - pixbuf = _gedit_tab_get_icon (tab); + pixbuf = _pluma_tab_get_icon (tab); gtk_list_store_set (GTK_LIST_STORE (panel->priv->model), &iter, @@ -258,24 +258,24 @@ sync_name_and_icon (GeditTab *tab, } static void -window_tab_removed (GeditWindow *window, - GeditTab *tab, - GeditDocumentsPanel *panel) +window_tab_removed (PlumaWindow *window, + PlumaTab *tab, + PlumaDocumentsPanel *panel) { g_signal_handlers_disconnect_by_func (tab, G_CALLBACK (sync_name_and_icon), panel); - if (_gedit_window_is_removing_tabs (window)) + if (_pluma_window_is_removing_tabs (window)) gtk_list_store_clear (GTK_LIST_STORE (panel->priv->model)); else refresh_list (panel); } static void -window_tab_added (GeditWindow *window, - GeditTab *tab, - GeditDocumentsPanel *panel) +window_tab_added (PlumaWindow *window, + PlumaTab *tab, + PlumaDocumentsPanel *panel) { GtkTreeIter iter; GtkTreeIter sibling; @@ -305,12 +305,12 @@ window_tab_added (GeditWindow *window, } else { - GeditTab *active_tab; + PlumaTab *active_tab; gtk_list_store_append (GTK_LIST_STORE (panel->priv->model), &iter); - active_tab = gedit_window_get_active_tab (panel->priv->window); + active_tab = pluma_window_get_active_tab (panel->priv->window); if (tab == active_tab) { @@ -324,7 +324,7 @@ window_tab_added (GeditWindow *window, } name = tab_get_name (tab); - pixbuf = _gedit_tab_get_icon (tab); + pixbuf = _pluma_tab_get_icon (tab); gtk_list_store_set (GTK_LIST_STORE (panel->priv->model), &iter, @@ -341,8 +341,8 @@ window_tab_added (GeditWindow *window, } static void -window_tabs_reordered (GeditWindow *window, - GeditDocumentsPanel *panel) +window_tabs_reordered (PlumaWindow *window, + PlumaDocumentsPanel *panel) { if (panel->priv->is_reodering) return; @@ -351,11 +351,11 @@ window_tabs_reordered (GeditWindow *window, } static void -set_window (GeditDocumentsPanel *panel, - GeditWindow *window) +set_window (PlumaDocumentsPanel *panel, + PlumaWindow *window) { g_return_if_fail (panel->priv->window == NULL); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); panel->priv->window = g_object_ref (window); @@ -379,7 +379,7 @@ set_window (GeditDocumentsPanel *panel, static void treeview_cursor_changed (GtkTreeView *view, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { GtkTreeIter iter; GtkTreeSelection *selection; @@ -396,21 +396,21 @@ treeview_cursor_changed (GtkTreeView *view, &tab, -1); - if (gedit_window_get_active_tab (panel->priv->window) != tab) + if (pluma_window_get_active_tab (panel->priv->window) != tab) { - gedit_window_set_active_tab (panel->priv->window, - GEDIT_TAB (tab)); + pluma_window_set_active_tab (panel->priv->window, + PLUMA_TAB (tab)); } } } static void -gedit_documents_panel_set_property (GObject *object, +pluma_documents_panel_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditDocumentsPanel *panel = GEDIT_DOCUMENTS_PANEL (object); + PlumaDocumentsPanel *panel = PLUMA_DOCUMENTS_PANEL (object); switch (prop_id) { @@ -425,18 +425,18 @@ gedit_documents_panel_set_property (GObject *object, } static void -gedit_documents_panel_get_property (GObject *object, +pluma_documents_panel_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditDocumentsPanel *panel = GEDIT_DOCUMENTS_PANEL (object); + PlumaDocumentsPanel *panel = PLUMA_DOCUMENTS_PANEL (object); switch (prop_id) { case PROP_WINDOW: g_value_set_object (value, - GEDIT_DOCUMENTS_PANEL_GET_PRIVATE (panel)->window); + PLUMA_DOCUMENTS_PANEL_GET_PRIVATE (panel)->window); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -445,19 +445,19 @@ gedit_documents_panel_get_property (GObject *object, } static void -gedit_documents_panel_finalize (GObject *object) +pluma_documents_panel_finalize (GObject *object) { - /* GeditDocumentsPanel *tab = GEDIT_DOCUMENTS_PANEL (object); */ + /* PlumaDocumentsPanel *tab = PLUMA_DOCUMENTS_PANEL (object); */ /* TODO: disconnect signal with window */ - G_OBJECT_CLASS (gedit_documents_panel_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_documents_panel_parent_class)->finalize (object); } static void -gedit_documents_panel_dispose (GObject *object) +pluma_documents_panel_dispose (GObject *object) { - GeditDocumentsPanel *panel = GEDIT_DOCUMENTS_PANEL (object); + PlumaDocumentsPanel *panel = PLUMA_DOCUMENTS_PANEL (object); if (panel->priv->window != NULL) { @@ -465,40 +465,40 @@ gedit_documents_panel_dispose (GObject *object) panel->priv->window = NULL; } - G_OBJECT_CLASS (gedit_documents_panel_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_documents_panel_parent_class)->dispose (object); } static void -gedit_documents_panel_class_init (GeditDocumentsPanelClass *klass) +pluma_documents_panel_class_init (PlumaDocumentsPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_documents_panel_finalize; - object_class->dispose = gedit_documents_panel_dispose; - object_class->get_property = gedit_documents_panel_get_property; - object_class->set_property = gedit_documents_panel_set_property; + object_class->finalize = pluma_documents_panel_finalize; + object_class->dispose = pluma_documents_panel_dispose; + object_class->get_property = pluma_documents_panel_get_property; + object_class->set_property = pluma_documents_panel_set_property; g_object_class_install_property (object_class, PROP_WINDOW, g_param_spec_object ("window", "Window", - "The GeditWindow this GeditDocumentsPanel is associated with", - GEDIT_TYPE_WINDOW, + "The PlumaWindow this PlumaDocumentsPanel is associated with", + PLUMA_TYPE_WINDOW, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (object_class, sizeof (GeditDocumentsPanelPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaDocumentsPanelPrivate)); } static GtkTreePath * -get_current_path (GeditDocumentsPanel *panel) +get_current_path (PlumaDocumentsPanel *panel) { gint num; GtkWidget *nb; GtkTreePath *path; - nb = _gedit_window_get_notebook (panel->priv->window); + nb = _pluma_window_get_notebook (panel->priv->window); num = gtk_notebook_get_current_page (GTK_NOTEBOOK (nb)); path = gtk_tree_path_new_from_indices (num, -1); @@ -511,7 +511,7 @@ menu_position (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { GtkTreePath *path; GdkRectangle rect; @@ -553,12 +553,12 @@ menu_position (GtkMenu *menu, } static gboolean -show_popup_menu (GeditDocumentsPanel *panel, +show_popup_menu (PlumaDocumentsPanel *panel, GdkEventButton *event) { GtkWidget *menu; - menu = gtk_ui_manager_get_widget (gedit_window_get_ui_manager (panel->priv->window), + menu = gtk_ui_manager_get_widget (pluma_window_get_ui_manager (panel->priv->window), "/NotebookPopup"); g_return_val_if_fail (menu != NULL, FALSE); @@ -591,7 +591,7 @@ show_popup_menu (GeditDocumentsPanel *panel, static gboolean panel_button_press_event (GtkTreeView *treeview, GdkEventButton *event, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { if ((GDK_BUTTON_PRESS == event->type) && (3 == event->button)) { @@ -627,7 +627,7 @@ panel_button_press_event (GtkTreeView *treeview, static gboolean panel_popup_menu (GtkWidget *treeview, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { /* Only respond if the treeview is the actual focus */ if (gtk_window_get_focus (GTK_WINDOW (panel->priv->window)) == treeview) @@ -686,7 +686,7 @@ treeview_query_tooltip (GtkWidget *widget, &tab, -1); - tip = _gedit_tab_get_tooltips (GEDIT_TAB (tab)); + tip = _pluma_tab_get_tooltips (PLUMA_TAB (tab)); gtk_tooltip_set_markup (tooltip, tip); g_free (tip); @@ -699,9 +699,9 @@ static void treeview_row_inserted (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, - GeditDocumentsPanel *panel) + PlumaDocumentsPanel *panel) { - GeditTab *tab; + PlumaTab *tab; gint *indeces; GtkWidget *nb; gint old_position; @@ -710,7 +710,7 @@ treeview_row_inserted (GtkTreeModel *tree_model, if (panel->priv->adding_tab) return; - tab = gedit_window_get_active_tab (panel->priv->window); + tab = pluma_window_get_active_tab (panel->priv->window); g_return_if_fail (tab != NULL); panel->priv->is_reodering = TRUE; @@ -719,7 +719,7 @@ treeview_row_inserted (GtkTreeModel *tree_model, /* g_debug ("New Index: %d (path: %s)", indeces[0], gtk_tree_path_to_string (path));*/ - nb = _gedit_window_get_notebook (panel->priv->window); + nb = _pluma_window_get_notebook (panel->priv->window); new_position = indeces[0]; old_position = gtk_notebook_page_num (GTK_NOTEBOOK (nb), @@ -727,7 +727,7 @@ treeview_row_inserted (GtkTreeModel *tree_model, if (new_position > old_position) new_position = MAX (0, new_position - 1); - gedit_notebook_reorder_tab (GEDIT_NOTEBOOK (nb), + pluma_notebook_reorder_tab (PLUMA_NOTEBOOK (nb), tab, new_position); @@ -735,14 +735,14 @@ treeview_row_inserted (GtkTreeModel *tree_model, } static void -gedit_documents_panel_init (GeditDocumentsPanel *panel) +pluma_documents_panel_init (PlumaDocumentsPanel *panel) { GtkWidget *sw; GtkTreeViewColumn *column; GtkCellRenderer *cell; GtkTreeSelection *selection; - panel->priv = GEDIT_DOCUMENTS_PANEL_GET_PRIVATE (panel); + panel->priv = PLUMA_DOCUMENTS_PANEL_GET_PRIVATE (panel); panel->priv->adding_tab = FALSE; panel->priv->is_reodering = FALSE; @@ -818,11 +818,11 @@ gedit_documents_panel_init (GeditDocumentsPanel *panel) } GtkWidget * -gedit_documents_panel_new (GeditWindow *window) +pluma_documents_panel_new (PlumaWindow *window) { - g_return_val_if_fail (GEDIT_IS_WINDOW (window), NULL); + g_return_val_if_fail (PLUMA_IS_WINDOW (window), NULL); - return GTK_WIDGET (g_object_new (GEDIT_TYPE_DOCUMENTS_PANEL, + return GTK_WIDGET (g_object_new (PLUMA_TYPE_DOCUMENTS_PANEL, "window", window, NULL)); } diff --git a/pluma/pluma-documents-panel.h b/pluma/pluma-documents-panel.h new file mode 100755 index 0000000..2fda1cf --- /dev/null +++ b/pluma/pluma-documents-panel.h @@ -0,0 +1,85 @@ +/* + * pluma-documents-panel.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_DOCUMENTS_PANEL_H__ +#define __PLUMA_DOCUMENTS_PANEL_H__ + +#include + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_DOCUMENTS_PANEL (pluma_documents_panel_get_type()) +#define PLUMA_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_DOCUMENTS_PANEL, PlumaDocumentsPanel)) +#define PLUMA_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_DOCUMENTS_PANEL, PlumaDocumentsPanelClass)) +#define PLUMA_IS_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_DOCUMENTS_PANEL)) +#define PLUMA_IS_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_DOCUMENTS_PANEL)) +#define PLUMA_DOCUMENTS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_DOCUMENTS_PANEL, PlumaDocumentsPanelClass)) + +/* Private structure type */ +typedef struct _PlumaDocumentsPanelPrivate PlumaDocumentsPanelPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaDocumentsPanel PlumaDocumentsPanel; + +struct _PlumaDocumentsPanel +{ + GtkVBox vbox; + + /*< private > */ + PlumaDocumentsPanelPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaDocumentsPanelClass PlumaDocumentsPanelClass; + +struct _PlumaDocumentsPanelClass +{ + GtkVBoxClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_documents_panel_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_documents_panel_new (PlumaWindow *window); + +G_END_DECLS + +#endif /* __PLUMA_DOCUMENTS_PANEL_H__ */ diff --git a/gedit/gedit-encodings-combo-box.c b/pluma/pluma-encodings-combo-box.c similarity index 74% rename from gedit/gedit-encodings-combo-box.c rename to pluma/pluma-encodings-combo-box.c index 1626bb9..4eb8655 100755 --- a/gedit/gedit-encodings-combo-box.c +++ b/pluma/pluma-encodings-combo-box.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-encodings-combo-box.c - * This file is part of gedit + * pluma-encodings-combo-box.c + * This file is part of pluma * * Copyright (C) 2003-2005 - Paolo Maggi * @@ -22,11 +22,11 @@ */ /* - * Modified by the gedit Team, 2003-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2003-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * - * $Id: gedit-encodings-combo-box.c 6112 2008-01-23 08:26:24Z sfre $ + * $Id: pluma-encodings-combo-box.c 6112 2008-01-23 08:26:24Z sfre $ */ #ifdef HAVE_CONFIG_H @@ -36,17 +36,17 @@ #include #include -#include -#include -#include +#include +#include +#include #define ENCODING_KEY "Enconding" -#define GEDIT_ENCODINGS_COMBO_BOX_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_ENCODINGS_COMBO_BOX, \ - GeditEncodingsComboBoxPrivate)) +#define PLUMA_ENCODINGS_COMBO_BOX_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_ENCODINGS_COMBO_BOX, \ + PlumaEncodingsComboBoxPrivate)) -struct _GeditEncodingsComboBoxPrivate +struct _PlumaEncodingsComboBoxPrivate { GtkListStore *store; glong changed_id; @@ -72,19 +72,19 @@ enum }; -G_DEFINE_TYPE(GeditEncodingsComboBox, gedit_encodings_combo_box, GTK_TYPE_COMBO_BOX) +G_DEFINE_TYPE(PlumaEncodingsComboBox, pluma_encodings_combo_box, GTK_TYPE_COMBO_BOX) -static void update_menu (GeditEncodingsComboBox *combo_box); +static void update_menu (PlumaEncodingsComboBox *combo_box); static void -gedit_encodings_combo_box_set_property (GObject *object, +pluma_encodings_combo_box_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditEncodingsComboBox *combo; + PlumaEncodingsComboBox *combo; - combo = GEDIT_ENCODINGS_COMBO_BOX (object); + combo = PLUMA_ENCODINGS_COMBO_BOX (object); switch (prop_id) { @@ -98,14 +98,14 @@ gedit_encodings_combo_box_set_property (GObject *object, } static void -gedit_encodings_combo_box_get_property (GObject *object, +pluma_encodings_combo_box_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditEncodingsComboBox *combo; + PlumaEncodingsComboBox *combo; - combo = GEDIT_ENCODINGS_COMBO_BOX (object); + combo = PLUMA_ENCODINGS_COMBO_BOX (object); switch (prop_id) { @@ -119,9 +119,9 @@ gedit_encodings_combo_box_get_property (GObject *object, } static void -gedit_encodings_combo_box_dispose (GObject *object) +pluma_encodings_combo_box_dispose (GObject *object) { - GeditEncodingsComboBox *combo = GEDIT_ENCODINGS_COMBO_BOX (object); + PlumaEncodingsComboBox *combo = PLUMA_ENCODINGS_COMBO_BOX (object); if (combo->priv->store != NULL) { @@ -129,17 +129,17 @@ gedit_encodings_combo_box_dispose (GObject *object) combo->priv->store = NULL; } - G_OBJECT_CLASS (gedit_encodings_combo_box_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_encodings_combo_box_parent_class)->dispose (object); } static void -gedit_encodings_combo_box_class_init (GeditEncodingsComboBoxClass *klass) +pluma_encodings_combo_box_class_init (PlumaEncodingsComboBoxClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->set_property = gedit_encodings_combo_box_set_property; - object_class->get_property = gedit_encodings_combo_box_get_property; - object_class->dispose = gedit_encodings_combo_box_dispose; + object_class->set_property = pluma_encodings_combo_box_set_property; + object_class->get_property = pluma_encodings_combo_box_get_property; + object_class->dispose = pluma_encodings_combo_box_dispose; g_object_class_install_property (object_class, PROP_SAVE_MODE, @@ -151,13 +151,13 @@ gedit_encodings_combo_box_class_init (GeditEncodingsComboBoxClass *klass) G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (object_class, sizeof (GeditEncodingsComboBoxPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaEncodingsComboBoxPrivate)); } static void dialog_response_cb (GtkDialog *dialog, gint response_id, - GeditEncodingsComboBox *menu) + PlumaEncodingsComboBox *menu) { if (response_id == GTK_RESPONSE_OK) { @@ -168,7 +168,7 @@ dialog_response_cb (GtkDialog *dialog, } static void -add_or_remove (GeditEncodingsComboBox *menu, +add_or_remove (PlumaEncodingsComboBox *menu, GtkTreeModel *model) { GtkTreeIter iter; @@ -203,7 +203,7 @@ add_or_remove (GeditEncodingsComboBox *menu, menu->priv->activated_item); g_signal_handler_unblock (menu, menu->priv->changed_id); - dialog = gedit_encodings_dialog_new(); + dialog = pluma_encodings_dialog_new(); if (toplevel != NULL) { @@ -249,14 +249,14 @@ separator_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) } static void -update_menu (GeditEncodingsComboBox *menu) +update_menu (PlumaEncodingsComboBox *menu) { GtkListStore *store; GtkTreeIter iter; GSList *encodings, *l; gchar *str; - const GeditEncoding *utf8_encoding; - const GeditEncoding *current_encoding; + const PlumaEncoding *utf8_encoding; + const PlumaEncoding *current_encoding; store = menu->priv->store; @@ -266,8 +266,8 @@ update_menu (GeditEncodingsComboBox *menu) gtk_combo_box_set_model (GTK_COMBO_BOX (menu), NULL); - utf8_encoding = gedit_encoding_get_utf8 (); - current_encoding = gedit_encoding_get_current (); + utf8_encoding = pluma_encoding_get_utf8 (); + current_encoding = pluma_encoding_get_current (); if (!menu->priv->save_mode) { @@ -287,10 +287,10 @@ update_menu (GeditEncodingsComboBox *menu) } if (current_encoding != utf8_encoding) - str = gedit_encoding_to_string (utf8_encoding); + str = pluma_encoding_to_string (utf8_encoding); else str = g_strdup_printf (_("Current Locale (%s)"), - gedit_encoding_get_charset (utf8_encoding)); + pluma_encoding_get_charset (utf8_encoding)); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, @@ -305,7 +305,7 @@ update_menu (GeditEncodingsComboBox *menu) (current_encoding != NULL)) { str = g_strdup_printf (_("Current Locale (%s)"), - gedit_encoding_get_charset (current_encoding)); + pluma_encoding_get_charset (current_encoding)); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, @@ -317,17 +317,17 @@ update_menu (GeditEncodingsComboBox *menu) g_free (str); } - encodings = gedit_prefs_manager_get_shown_in_menu_encodings (); + encodings = pluma_prefs_manager_get_shown_in_menu_encodings (); for (l = encodings; l != NULL; l = g_slist_next (l)) { - const GeditEncoding *enc = (const GeditEncoding *)l->data; + const PlumaEncoding *enc = (const PlumaEncoding *)l->data; if ((enc != current_encoding) && (enc != utf8_encoding) && (enc != NULL)) { - str = gedit_encoding_to_string (enc); + str = pluma_encoding_to_string (enc); gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, @@ -342,7 +342,7 @@ update_menu (GeditEncodingsComboBox *menu) g_slist_free (encodings); - if (gedit_prefs_manager_shown_in_menu_encodings_can_set ()) + if (pluma_prefs_manager_shown_in_menu_encodings_can_set ()) { gtk_list_store_append (store, &iter); /* separator */ @@ -369,11 +369,11 @@ update_menu (GeditEncodingsComboBox *menu) } static void -gedit_encodings_combo_box_init (GeditEncodingsComboBox *menu) +pluma_encodings_combo_box_init (PlumaEncodingsComboBox *menu) { GtkCellRenderer *text_renderer; - menu->priv = GEDIT_ENCODINGS_COMBO_BOX_GET_PRIVATE (menu); + menu->priv = PLUMA_ENCODINGS_COMBO_BOX_GET_PRIVATE (menu); menu->priv->store = gtk_list_store_new (N_COLUMNS, G_TYPE_STRING, @@ -403,23 +403,23 @@ gedit_encodings_combo_box_init (GeditEncodingsComboBox *menu) } GtkWidget * -gedit_encodings_combo_box_new (gboolean save_mode) +pluma_encodings_combo_box_new (gboolean save_mode) { - return g_object_new (GEDIT_TYPE_ENCODINGS_COMBO_BOX, + return g_object_new (PLUMA_TYPE_ENCODINGS_COMBO_BOX, "save_mode", save_mode, NULL); } -const GeditEncoding * -gedit_encodings_combo_box_get_selected_encoding (GeditEncodingsComboBox *menu) +const PlumaEncoding * +pluma_encodings_combo_box_get_selected_encoding (PlumaEncodingsComboBox *menu) { GtkTreeIter iter; - g_return_val_if_fail (GEDIT_IS_ENCODINGS_COMBO_BOX (menu), NULL); + g_return_val_if_fail (PLUMA_IS_ENCODINGS_COMBO_BOX (menu), NULL); if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (menu), &iter)) { - const GeditEncoding *ret; + const PlumaEncoding *ret; GtkTreeModel *model; model = gtk_combo_box_get_model (GTK_COMBO_BOX (menu)); @@ -435,13 +435,13 @@ gedit_encodings_combo_box_get_selected_encoding (GeditEncodingsComboBox *menu) } void -gedit_encodings_combo_box_set_selected_encoding (GeditEncodingsComboBox *menu, - const GeditEncoding *encoding) +pluma_encodings_combo_box_set_selected_encoding (PlumaEncodingsComboBox *menu, + const PlumaEncoding *encoding) { GtkTreeIter iter; GtkTreeModel *model; gboolean b; - g_return_if_fail (GEDIT_IS_ENCODINGS_COMBO_BOX (menu)); + g_return_if_fail (PLUMA_IS_ENCODINGS_COMBO_BOX (menu)); g_return_if_fail (GTK_IS_COMBO_BOX (menu)); model = gtk_combo_box_get_model (GTK_COMBO_BOX (menu)); @@ -449,7 +449,7 @@ gedit_encodings_combo_box_set_selected_encoding (GeditEncodingsComboBox *menu, while (b) { - const GeditEncoding *enc; + const PlumaEncoding *enc; gtk_tree_model_get (model, &iter, ENCODING_COLUMN, &enc, diff --git a/pluma/pluma-encodings-combo-box.h b/pluma/pluma-encodings-combo-box.h new file mode 100755 index 0000000..4051877 --- /dev/null +++ b/pluma/pluma-encodings-combo-box.h @@ -0,0 +1,78 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * pluma-encodings-combo-box.h + * This file is part of pluma + * + * Copyright (C) 2003-2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2003-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id: pluma-encodings-option-menu.h 4429 2005-12-12 17:28:04Z pborelli $ + */ + +#ifndef __PLUMA_ENCODINGS_COMBO_BOX_H__ +#define __PLUMA_ENCODINGS_COMBO_BOX_H__ + +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_ENCODINGS_COMBO_BOX (pluma_encodings_combo_box_get_type ()) +#define PLUMA_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_ENCODINGS_COMBO_BOX, PlumaEncodingsComboBox)) +#define PLUMA_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_ENCODINGS_COMBO_BOX, PlumaEncodingsComboBoxClass)) +#define PLUMA_IS_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_ENCODINGS_COMBO_BOX)) +#define PLUMA_IS_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_ENCODINGS_COMBO_BOX)) +#define PLUMA_ENCODINGS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_ENCODINGS_COMBO_BOX, PlumaEncodingsComboBoxClass)) + + +typedef struct _PlumaEncodingsComboBox PlumaEncodingsComboBox; +typedef struct _PlumaEncodingsComboBoxClass PlumaEncodingsComboBoxClass; + +typedef struct _PlumaEncodingsComboBoxPrivate PlumaEncodingsComboBoxPrivate; + +struct _PlumaEncodingsComboBox +{ + GtkComboBox parent; + + PlumaEncodingsComboBoxPrivate *priv; +}; + +struct _PlumaEncodingsComboBoxClass +{ + GtkComboBoxClass parent_class; +}; + +GType pluma_encodings_combo_box_get_type (void) G_GNUC_CONST; + +/* Constructor */ +GtkWidget *pluma_encodings_combo_box_new (gboolean save_mode); + +const PlumaEncoding *pluma_encodings_combo_box_get_selected_encoding (PlumaEncodingsComboBox *menu); +void pluma_encodings_combo_box_set_selected_encoding (PlumaEncodingsComboBox *menu, + const PlumaEncoding *encoding); + +G_END_DECLS + +#endif /* __PLUMA_ENCODINGS_COMBO_BOX_H__ */ + + diff --git a/gedit/gedit-encodings.c b/pluma/pluma-encodings.c similarity index 52% rename from gedit/gedit-encodings.c rename to pluma/pluma-encodings.c index cf97bf5..9232a61 100755 --- a/gedit/gedit-encodings.c +++ b/pluma/pluma-encodings.c @@ -1,6 +1,6 @@ /* - * gedit-encodings.c - * This file is part of gedit + * pluma-encodings.c + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,10 +36,10 @@ #include -#include "gedit-encodings.h" +#include "pluma-encodings.h" -struct _GeditEncoding +struct _PlumaEncoding { gint index; const gchar *charset; @@ -55,233 +55,233 @@ struct _GeditEncoding typedef enum { - GEDIT_ENCODING_ISO_8859_1, - GEDIT_ENCODING_ISO_8859_2, - GEDIT_ENCODING_ISO_8859_3, - GEDIT_ENCODING_ISO_8859_4, - GEDIT_ENCODING_ISO_8859_5, - GEDIT_ENCODING_ISO_8859_6, - GEDIT_ENCODING_ISO_8859_7, - GEDIT_ENCODING_ISO_8859_8, - GEDIT_ENCODING_ISO_8859_9, - GEDIT_ENCODING_ISO_8859_10, - GEDIT_ENCODING_ISO_8859_13, - GEDIT_ENCODING_ISO_8859_14, - GEDIT_ENCODING_ISO_8859_15, - GEDIT_ENCODING_ISO_8859_16, + PLUMA_ENCODING_ISO_8859_1, + PLUMA_ENCODING_ISO_8859_2, + PLUMA_ENCODING_ISO_8859_3, + PLUMA_ENCODING_ISO_8859_4, + PLUMA_ENCODING_ISO_8859_5, + PLUMA_ENCODING_ISO_8859_6, + PLUMA_ENCODING_ISO_8859_7, + PLUMA_ENCODING_ISO_8859_8, + PLUMA_ENCODING_ISO_8859_9, + PLUMA_ENCODING_ISO_8859_10, + PLUMA_ENCODING_ISO_8859_13, + PLUMA_ENCODING_ISO_8859_14, + PLUMA_ENCODING_ISO_8859_15, + PLUMA_ENCODING_ISO_8859_16, - GEDIT_ENCODING_UTF_7, - GEDIT_ENCODING_UTF_16, - GEDIT_ENCODING_UTF_16_BE, - GEDIT_ENCODING_UTF_16_LE, - GEDIT_ENCODING_UTF_32, - GEDIT_ENCODING_UCS_2, - GEDIT_ENCODING_UCS_4, + PLUMA_ENCODING_UTF_7, + PLUMA_ENCODING_UTF_16, + PLUMA_ENCODING_UTF_16_BE, + PLUMA_ENCODING_UTF_16_LE, + PLUMA_ENCODING_UTF_32, + PLUMA_ENCODING_UCS_2, + PLUMA_ENCODING_UCS_4, - GEDIT_ENCODING_ARMSCII_8, - GEDIT_ENCODING_BIG5, - GEDIT_ENCODING_BIG5_HKSCS, - GEDIT_ENCODING_CP_866, + PLUMA_ENCODING_ARMSCII_8, + PLUMA_ENCODING_BIG5, + PLUMA_ENCODING_BIG5_HKSCS, + PLUMA_ENCODING_CP_866, - GEDIT_ENCODING_EUC_JP, - GEDIT_ENCODING_EUC_JP_MS, - GEDIT_ENCODING_CP932, - GEDIT_ENCODING_EUC_KR, - GEDIT_ENCODING_EUC_TW, + PLUMA_ENCODING_EUC_JP, + PLUMA_ENCODING_EUC_JP_MS, + PLUMA_ENCODING_CP932, + PLUMA_ENCODING_EUC_KR, + PLUMA_ENCODING_EUC_TW, - GEDIT_ENCODING_GB18030, - GEDIT_ENCODING_GB2312, - GEDIT_ENCODING_GBK, - GEDIT_ENCODING_GEOSTD8, + PLUMA_ENCODING_GB18030, + PLUMA_ENCODING_GB2312, + PLUMA_ENCODING_GBK, + PLUMA_ENCODING_GEOSTD8, - GEDIT_ENCODING_IBM_850, - GEDIT_ENCODING_IBM_852, - GEDIT_ENCODING_IBM_855, - GEDIT_ENCODING_IBM_857, - GEDIT_ENCODING_IBM_862, - GEDIT_ENCODING_IBM_864, + PLUMA_ENCODING_IBM_850, + PLUMA_ENCODING_IBM_852, + PLUMA_ENCODING_IBM_855, + PLUMA_ENCODING_IBM_857, + PLUMA_ENCODING_IBM_862, + PLUMA_ENCODING_IBM_864, - GEDIT_ENCODING_ISO_2022_JP, - GEDIT_ENCODING_ISO_2022_KR, - GEDIT_ENCODING_ISO_IR_111, - GEDIT_ENCODING_JOHAB, - GEDIT_ENCODING_KOI8_R, - GEDIT_ENCODING_KOI8__R, - GEDIT_ENCODING_KOI8_U, + PLUMA_ENCODING_ISO_2022_JP, + PLUMA_ENCODING_ISO_2022_KR, + PLUMA_ENCODING_ISO_IR_111, + PLUMA_ENCODING_JOHAB, + PLUMA_ENCODING_KOI8_R, + PLUMA_ENCODING_KOI8__R, + PLUMA_ENCODING_KOI8_U, - GEDIT_ENCODING_SHIFT_JIS, - GEDIT_ENCODING_TCVN, - GEDIT_ENCODING_TIS_620, - GEDIT_ENCODING_UHC, - GEDIT_ENCODING_VISCII, + PLUMA_ENCODING_SHIFT_JIS, + PLUMA_ENCODING_TCVN, + PLUMA_ENCODING_TIS_620, + PLUMA_ENCODING_UHC, + PLUMA_ENCODING_VISCII, - GEDIT_ENCODING_WINDOWS_1250, - GEDIT_ENCODING_WINDOWS_1251, - GEDIT_ENCODING_WINDOWS_1252, - GEDIT_ENCODING_WINDOWS_1253, - GEDIT_ENCODING_WINDOWS_1254, - GEDIT_ENCODING_WINDOWS_1255, - GEDIT_ENCODING_WINDOWS_1256, - GEDIT_ENCODING_WINDOWS_1257, - GEDIT_ENCODING_WINDOWS_1258, + PLUMA_ENCODING_WINDOWS_1250, + PLUMA_ENCODING_WINDOWS_1251, + PLUMA_ENCODING_WINDOWS_1252, + PLUMA_ENCODING_WINDOWS_1253, + PLUMA_ENCODING_WINDOWS_1254, + PLUMA_ENCODING_WINDOWS_1255, + PLUMA_ENCODING_WINDOWS_1256, + PLUMA_ENCODING_WINDOWS_1257, + PLUMA_ENCODING_WINDOWS_1258, - GEDIT_ENCODING_LAST, + PLUMA_ENCODING_LAST, - GEDIT_ENCODING_UTF_8, - GEDIT_ENCODING_UNKNOWN + PLUMA_ENCODING_UTF_8, + PLUMA_ENCODING_UNKNOWN -} GeditEncodingIndex; +} PlumaEncodingIndex; -static const GeditEncoding utf8_encoding = { - GEDIT_ENCODING_UTF_8, +static const PlumaEncoding utf8_encoding = { + PLUMA_ENCODING_UTF_8, "UTF-8", N_("Unicode") }; -/* initialized in gedit_encoding_lazy_init() */ -static GeditEncoding unknown_encoding = { - GEDIT_ENCODING_UNKNOWN, +/* initialized in pluma_encoding_lazy_init() */ +static PlumaEncoding unknown_encoding = { + PLUMA_ENCODING_UNKNOWN, NULL, NULL }; -static const GeditEncoding encodings [] = { +static const PlumaEncoding encodings [] = { - { GEDIT_ENCODING_ISO_8859_1, + { PLUMA_ENCODING_ISO_8859_1, "ISO-8859-1", N_("Western") }, - { GEDIT_ENCODING_ISO_8859_2, + { PLUMA_ENCODING_ISO_8859_2, "ISO-8859-2", N_("Central European") }, - { GEDIT_ENCODING_ISO_8859_3, + { PLUMA_ENCODING_ISO_8859_3, "ISO-8859-3", N_("South European") }, - { GEDIT_ENCODING_ISO_8859_4, + { PLUMA_ENCODING_ISO_8859_4, "ISO-8859-4", N_("Baltic") }, - { GEDIT_ENCODING_ISO_8859_5, + { PLUMA_ENCODING_ISO_8859_5, "ISO-8859-5", N_("Cyrillic") }, - { GEDIT_ENCODING_ISO_8859_6, + { PLUMA_ENCODING_ISO_8859_6, "ISO-8859-6", N_("Arabic") }, - { GEDIT_ENCODING_ISO_8859_7, + { PLUMA_ENCODING_ISO_8859_7, "ISO-8859-7", N_("Greek") }, - { GEDIT_ENCODING_ISO_8859_8, + { PLUMA_ENCODING_ISO_8859_8, "ISO-8859-8", N_("Hebrew Visual") }, - { GEDIT_ENCODING_ISO_8859_9, + { PLUMA_ENCODING_ISO_8859_9, "ISO-8859-9", N_("Turkish") }, - { GEDIT_ENCODING_ISO_8859_10, + { PLUMA_ENCODING_ISO_8859_10, "ISO-8859-10", N_("Nordic") }, - { GEDIT_ENCODING_ISO_8859_13, + { PLUMA_ENCODING_ISO_8859_13, "ISO-8859-13", N_("Baltic") }, - { GEDIT_ENCODING_ISO_8859_14, + { PLUMA_ENCODING_ISO_8859_14, "ISO-8859-14", N_("Celtic") }, - { GEDIT_ENCODING_ISO_8859_15, + { PLUMA_ENCODING_ISO_8859_15, "ISO-8859-15", N_("Western") }, - { GEDIT_ENCODING_ISO_8859_16, + { PLUMA_ENCODING_ISO_8859_16, "ISO-8859-16", N_("Romanian") }, - { GEDIT_ENCODING_UTF_7, + { PLUMA_ENCODING_UTF_7, "UTF-7", N_("Unicode") }, - { GEDIT_ENCODING_UTF_16, + { PLUMA_ENCODING_UTF_16, "UTF-16", N_("Unicode") }, - { GEDIT_ENCODING_UTF_16_BE, + { PLUMA_ENCODING_UTF_16_BE, "UTF-16BE", N_("Unicode") }, - { GEDIT_ENCODING_UTF_16_LE, + { PLUMA_ENCODING_UTF_16_LE, "UTF-16LE", N_("Unicode") }, - { GEDIT_ENCODING_UTF_32, + { PLUMA_ENCODING_UTF_32, "UTF-32", N_("Unicode") }, - { GEDIT_ENCODING_UCS_2, + { PLUMA_ENCODING_UCS_2, "UCS-2", N_("Unicode") }, - { GEDIT_ENCODING_UCS_4, + { PLUMA_ENCODING_UCS_4, "UCS-4", N_("Unicode") }, - { GEDIT_ENCODING_ARMSCII_8, + { PLUMA_ENCODING_ARMSCII_8, "ARMSCII-8", N_("Armenian") }, - { GEDIT_ENCODING_BIG5, + { PLUMA_ENCODING_BIG5, "BIG5", N_("Chinese Traditional") }, - { GEDIT_ENCODING_BIG5_HKSCS, + { PLUMA_ENCODING_BIG5_HKSCS, "BIG5-HKSCS", N_("Chinese Traditional") }, - { GEDIT_ENCODING_CP_866, + { PLUMA_ENCODING_CP_866, "CP866", N_("Cyrillic/Russian") }, - { GEDIT_ENCODING_EUC_JP, + { PLUMA_ENCODING_EUC_JP, "EUC-JP", N_("Japanese") }, - { GEDIT_ENCODING_EUC_JP_MS, + { PLUMA_ENCODING_EUC_JP_MS, "EUC-JP-MS", N_("Japanese") }, - { GEDIT_ENCODING_CP932, + { PLUMA_ENCODING_CP932, "CP932", N_("Japanese") }, - { GEDIT_ENCODING_EUC_KR, + { PLUMA_ENCODING_EUC_KR, "EUC-KR", N_("Korean") }, - { GEDIT_ENCODING_EUC_TW, + { PLUMA_ENCODING_EUC_TW, "EUC-TW", N_("Chinese Traditional") }, - { GEDIT_ENCODING_GB18030, + { PLUMA_ENCODING_GB18030, "GB18030", N_("Chinese Simplified") }, - { GEDIT_ENCODING_GB2312, + { PLUMA_ENCODING_GB2312, "GB2312", N_("Chinese Simplified") }, - { GEDIT_ENCODING_GBK, + { PLUMA_ENCODING_GBK, "GBK", N_("Chinese Simplified") }, - { GEDIT_ENCODING_GEOSTD8, + { PLUMA_ENCODING_GEOSTD8, "GEORGIAN-ACADEMY", N_("Georgian") }, /* FIXME GEOSTD8 ? */ - { GEDIT_ENCODING_IBM_850, + { PLUMA_ENCODING_IBM_850, "IBM850", N_("Western") }, - { GEDIT_ENCODING_IBM_852, + { PLUMA_ENCODING_IBM_852, "IBM852", N_("Central European") }, - { GEDIT_ENCODING_IBM_855, + { PLUMA_ENCODING_IBM_855, "IBM855", N_("Cyrillic") }, - { GEDIT_ENCODING_IBM_857, + { PLUMA_ENCODING_IBM_857, "IBM857", N_("Turkish") }, - { GEDIT_ENCODING_IBM_862, + { PLUMA_ENCODING_IBM_862, "IBM862", N_("Hebrew") }, - { GEDIT_ENCODING_IBM_864, + { PLUMA_ENCODING_IBM_864, "IBM864", N_("Arabic") }, - { GEDIT_ENCODING_ISO_2022_JP, + { PLUMA_ENCODING_ISO_2022_JP, "ISO-2022-JP", N_("Japanese") }, - { GEDIT_ENCODING_ISO_2022_KR, + { PLUMA_ENCODING_ISO_2022_KR, "ISO-2022-KR", N_("Korean") }, - { GEDIT_ENCODING_ISO_IR_111, + { PLUMA_ENCODING_ISO_IR_111, "ISO-IR-111", N_("Cyrillic") }, - { GEDIT_ENCODING_JOHAB, + { PLUMA_ENCODING_JOHAB, "JOHAB", N_("Korean") }, - { GEDIT_ENCODING_KOI8_R, + { PLUMA_ENCODING_KOI8_R, "KOI8R", N_("Cyrillic") }, - { GEDIT_ENCODING_KOI8__R, + { PLUMA_ENCODING_KOI8__R, "KOI8-R", N_("Cyrillic") }, - { GEDIT_ENCODING_KOI8_U, + { PLUMA_ENCODING_KOI8_U, "KOI8U", N_("Cyrillic/Ukrainian") }, - { GEDIT_ENCODING_SHIFT_JIS, + { PLUMA_ENCODING_SHIFT_JIS, "SHIFT_JIS", N_("Japanese") }, - { GEDIT_ENCODING_TCVN, + { PLUMA_ENCODING_TCVN, "TCVN", N_("Vietnamese") }, - { GEDIT_ENCODING_TIS_620, + { PLUMA_ENCODING_TIS_620, "TIS-620", N_("Thai") }, - { GEDIT_ENCODING_UHC, + { PLUMA_ENCODING_UHC, "UHC", N_("Korean") }, - { GEDIT_ENCODING_VISCII, + { PLUMA_ENCODING_VISCII, "VISCII", N_("Vietnamese") }, - { GEDIT_ENCODING_WINDOWS_1250, + { PLUMA_ENCODING_WINDOWS_1250, "WINDOWS-1250", N_("Central European") }, - { GEDIT_ENCODING_WINDOWS_1251, + { PLUMA_ENCODING_WINDOWS_1251, "WINDOWS-1251", N_("Cyrillic") }, - { GEDIT_ENCODING_WINDOWS_1252, + { PLUMA_ENCODING_WINDOWS_1252, "WINDOWS-1252", N_("Western") }, - { GEDIT_ENCODING_WINDOWS_1253, + { PLUMA_ENCODING_WINDOWS_1253, "WINDOWS-1253", N_("Greek") }, - { GEDIT_ENCODING_WINDOWS_1254, + { PLUMA_ENCODING_WINDOWS_1254, "WINDOWS-1254", N_("Turkish") }, - { GEDIT_ENCODING_WINDOWS_1255, + { PLUMA_ENCODING_WINDOWS_1255, "WINDOWS-1255", N_("Hebrew") }, - { GEDIT_ENCODING_WINDOWS_1256, + { PLUMA_ENCODING_WINDOWS_1256, "WINDOWS-1256", N_("Arabic") }, - { GEDIT_ENCODING_WINDOWS_1257, + { PLUMA_ENCODING_WINDOWS_1257, "WINDOWS-1257", N_("Baltic") }, - { GEDIT_ENCODING_WINDOWS_1258, + { PLUMA_ENCODING_WINDOWS_1258, "WINDOWS-1258", N_("Vietnamese") } }; static void -gedit_encoding_lazy_init (void) +pluma_encoding_lazy_init (void) { static gboolean initialized = FALSE; const gchar *locale_charset; @@ -297,23 +297,23 @@ gedit_encoding_lazy_init (void) initialized = TRUE; } -const GeditEncoding * -gedit_encoding_get_from_charset (const gchar *charset) +const PlumaEncoding * +pluma_encoding_get_from_charset (const gchar *charset) { gint i; g_return_val_if_fail (charset != NULL, NULL); - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); if (charset == NULL) return NULL; if (g_ascii_strcasecmp (charset, "UTF-8") == 0) - return gedit_encoding_get_utf8 (); + return pluma_encoding_get_utf8 (); i = 0; - while (i < GEDIT_ENCODING_LAST) + while (i < PLUMA_ENCODING_LAST) { if (g_ascii_strcasecmp (charset, encodings[i].charset) == 0) return &encodings[i]; @@ -330,36 +330,36 @@ gedit_encoding_get_from_charset (const gchar *charset) return NULL; } -const GeditEncoding * -gedit_encoding_get_from_index (gint idx) +const PlumaEncoding * +pluma_encoding_get_from_index (gint idx) { g_return_val_if_fail (idx >= 0, NULL); - if (idx >= GEDIT_ENCODING_LAST) + if (idx >= PLUMA_ENCODING_LAST) return NULL; - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); return &encodings[idx]; } -const GeditEncoding * -gedit_encoding_get_utf8 (void) +const PlumaEncoding * +pluma_encoding_get_utf8 (void) { - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); return &utf8_encoding; } -const GeditEncoding * -gedit_encoding_get_current (void) +const PlumaEncoding * +pluma_encoding_get_current (void) { static gboolean initialized = FALSE; - static const GeditEncoding *locale_encoding = NULL; + static const PlumaEncoding *locale_encoding = NULL; const gchar *locale_charset; - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); if (initialized != FALSE) return locale_encoding; @@ -368,7 +368,7 @@ gedit_encoding_get_current (void) { g_return_val_if_fail (locale_charset != NULL, &utf8_encoding); - locale_encoding = gedit_encoding_get_from_charset (locale_charset); + locale_encoding = pluma_encoding_get_from_charset (locale_charset); } else { @@ -388,11 +388,11 @@ gedit_encoding_get_current (void) } gchar * -gedit_encoding_to_string (const GeditEncoding* enc) +pluma_encoding_to_string (const PlumaEncoding* enc) { g_return_val_if_fail (enc != NULL, NULL); - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); g_return_val_if_fail (enc->charset != NULL, NULL); @@ -410,11 +410,11 @@ gedit_encoding_to_string (const GeditEncoding* enc) } const gchar * -gedit_encoding_get_charset (const GeditEncoding* enc) +pluma_encoding_get_charset (const PlumaEncoding* enc) { g_return_val_if_fail (enc != NULL, NULL); - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); g_return_val_if_fail (enc->charset != NULL, NULL); @@ -422,11 +422,11 @@ gedit_encoding_get_charset (const GeditEncoding* enc) } const gchar * -gedit_encoding_get_name (const GeditEncoding* enc) +pluma_encoding_get_name (const PlumaEncoding* enc) { g_return_val_if_fail (enc != NULL, NULL); - gedit_encoding_lazy_init (); + pluma_encoding_lazy_init (); return (enc->name == NULL) ? _("Unknown") : _(enc->name); } @@ -435,38 +435,38 @@ gedit_encoding_get_name (const GeditEncoding* enc) * const, copy() just returns the same pointer and fres() doesn't * do nothing */ -GeditEncoding * -gedit_encoding_copy (const GeditEncoding *enc) +PlumaEncoding * +pluma_encoding_copy (const PlumaEncoding *enc) { g_return_val_if_fail (enc != NULL, NULL); - return (GeditEncoding *) enc; + return (PlumaEncoding *) enc; } void -gedit_encoding_free (GeditEncoding *enc) +pluma_encoding_free (PlumaEncoding *enc) { g_return_if_fail (enc != NULL); } /** - * gedit_encoding_get_type: + * pluma_encoding_get_type: * * Retrieves the GType object which is associated with the - * #GeditEncoding class. + * #PlumaEncoding class. * - * Return value: the GType associated with #GeditEncoding. + * Return value: the GType associated with #PlumaEncoding. **/ GType -gedit_encoding_get_type (void) +pluma_encoding_get_type (void) { static GType our_type = 0; if (!our_type) our_type = g_boxed_type_register_static ( - "GeditEncoding", - (GBoxedCopyFunc) gedit_encoding_copy, - (GBoxedFreeFunc) gedit_encoding_free); + "PlumaEncoding", + (GBoxedCopyFunc) pluma_encoding_copy, + (GBoxedFreeFunc) pluma_encoding_free); return our_type; } diff --git a/gedit/gedit-encodings.h b/pluma/pluma-encodings.h similarity index 52% rename from gedit/gedit-encodings.h rename to pluma/pluma-encodings.h index 7e0aa8d..32f3db1 100755 --- a/gedit/gedit-encodings.h +++ b/pluma/pluma-encodings.h @@ -1,6 +1,6 @@ /* - * gedit-encodings.h - * This file is part of gedit + * pluma-encodings.h + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -21,42 +21,42 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_ENCODINGS_H__ -#define __GEDIT_ENCODINGS_H__ +#ifndef __PLUMA_ENCODINGS_H__ +#define __PLUMA_ENCODINGS_H__ #include #include G_BEGIN_DECLS -typedef struct _GeditEncoding GeditEncoding; +typedef struct _PlumaEncoding PlumaEncoding; -#define GEDIT_TYPE_ENCODING (gedit_encoding_get_type ()) +#define PLUMA_TYPE_ENCODING (pluma_encoding_get_type ()) -GType gedit_encoding_get_type (void) G_GNUC_CONST; +GType pluma_encoding_get_type (void) G_GNUC_CONST; -const GeditEncoding *gedit_encoding_get_from_charset (const gchar *charset); -const GeditEncoding *gedit_encoding_get_from_index (gint index); +const PlumaEncoding *pluma_encoding_get_from_charset (const gchar *charset); +const PlumaEncoding *pluma_encoding_get_from_index (gint index); -gchar *gedit_encoding_to_string (const GeditEncoding *enc); +gchar *pluma_encoding_to_string (const PlumaEncoding *enc); -const gchar *gedit_encoding_get_name (const GeditEncoding *enc); -const gchar *gedit_encoding_get_charset (const GeditEncoding *enc); +const gchar *pluma_encoding_get_name (const PlumaEncoding *enc); +const gchar *pluma_encoding_get_charset (const PlumaEncoding *enc); -const GeditEncoding *gedit_encoding_get_utf8 (void); -const GeditEncoding *gedit_encoding_get_current (void); +const PlumaEncoding *pluma_encoding_get_utf8 (void); +const PlumaEncoding *pluma_encoding_get_current (void); /* These should not be used, they are just to make python bindings happy */ -GeditEncoding *gedit_encoding_copy (const GeditEncoding *enc); -void gedit_encoding_free (GeditEncoding *enc); +PlumaEncoding *pluma_encoding_copy (const PlumaEncoding *enc); +void pluma_encoding_free (PlumaEncoding *enc); G_END_DECLS -#endif /* __GEDIT_ENCODINGS_H__ */ +#endif /* __PLUMA_ENCODINGS_H__ */ diff --git a/gedit/gedit-enum-types.c.template b/pluma/pluma-enum-types.c.template similarity index 95% rename from gedit/gedit-enum-types.c.template rename to pluma/pluma-enum-types.c.template index 7a67ac7..a737ec4 100755 --- a/gedit/gedit-enum-types.c.template +++ b/pluma/pluma-enum-types.c.template @@ -1,5 +1,5 @@ /*** BEGIN file-header ***/ -#include "gedit-enum-types.h" +#include "pluma-enum-types.h" /*** END file-header ***/ diff --git a/gedit/gedit-enum-types.h.template b/pluma/pluma-enum-types.h.template similarity index 71% rename from gedit/gedit-enum-types.h.template rename to pluma/pluma-enum-types.h.template index 78f39ce..4797ee8 100755 --- a/gedit/gedit-enum-types.h.template +++ b/pluma/pluma-enum-types.h.template @@ -1,6 +1,6 @@ /*** BEGIN file-header ***/ -#ifndef __GEDIT_ENUM_TYPES_H__ -#define __GEDIT_ENUM_TYPES_H__ +#ifndef __PLUMA_ENUM_TYPES_H__ +#define __PLUMA_ENUM_TYPES_H__ #include @@ -14,7 +14,7 @@ G_BEGIN_DECLS /*** END file-production ***/ /*** BEGIN enumeration-production ***/ -#define GEDIT_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) +#define PLUMA_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) GType @enum_name@_get_type (void) G_GNUC_CONST; /*** END enumeration-production ***/ @@ -22,6 +22,6 @@ GType @enum_name@_get_type (void) G_GNUC_CONST; /*** BEGIN file-tail ***/ G_END_DECLS -#endif /* __GEDIT_ENUM_TYPES_H__ */ +#endif /* __PLUMA_ENUM_TYPES_H__ */ /*** END file-tail ***/ diff --git a/gedit/gedit-file-chooser-dialog.c b/pluma/pluma-file-chooser-dialog.c similarity index 75% rename from gedit/gedit-file-chooser-dialog.c rename to pluma/pluma-file-chooser-dialog.c index 9485833..788cd1b 100755 --- a/gedit/gedit-file-chooser-dialog.c +++ b/pluma/pluma-file-chooser-dialog.c @@ -1,6 +1,6 @@ /* - * gedit-file-chooser-dialog.c - * This file is part of gedit + * pluma-file-chooser-dialog.c + * This file is part of pluma * * Copyright (C) 2005-2007 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005-2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005-2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -40,19 +40,19 @@ #include #include -#include "gedit-file-chooser-dialog.h" -#include "gedit-encodings-combo-box.h" -#include "gedit-language-manager.h" -#include "gedit-prefs-manager-app.h" -#include "gedit-debug.h" -#include "gedit-enum-types.h" +#include "pluma-file-chooser-dialog.h" +#include "pluma-encodings-combo-box.h" +#include "pluma-language-manager.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-debug.h" +#include "pluma-enum-types.h" -#define GEDIT_FILE_CHOOSER_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialogPrivate)) +#define PLUMA_FILE_CHOOSER_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_FILE_CHOOSER_DIALOG, PlumaFileChooserDialogPrivate)) #define ALL_FILES _("All Files") #define ALL_TEXT_FILES _("All Text Files") -struct _GeditFileChooserDialogPrivate +struct _PlumaFileChooserDialogPrivate { GtkWidget *option_menu; GtkWidget *extra_widget; @@ -62,18 +62,18 @@ struct _GeditFileChooserDialogPrivate GtkListStore *newline_store; }; -G_DEFINE_TYPE(GeditFileChooserDialog, gedit_file_chooser_dialog, GTK_TYPE_FILE_CHOOSER_DIALOG) +G_DEFINE_TYPE(PlumaFileChooserDialog, pluma_file_chooser_dialog, GTK_TYPE_FILE_CHOOSER_DIALOG) static void -gedit_file_chooser_dialog_class_init (GeditFileChooserDialogClass *klass) +pluma_file_chooser_dialog_class_init (PlumaFileChooserDialogClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - g_type_class_add_private (object_class, sizeof(GeditFileChooserDialogPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaFileChooserDialogPrivate)); } static void -create_option_menu (GeditFileChooserDialog *dialog) +create_option_menu (PlumaFileChooserDialog *dialog) { GtkWidget *label; GtkWidget *menu; @@ -81,7 +81,7 @@ create_option_menu (GeditFileChooserDialog *dialog) label = gtk_label_new_with_mnemonic (_("C_haracter Encoding:")); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); - menu = gedit_encodings_combo_box_new ( + menu = pluma_encodings_combo_box_new ( gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_SAVE); gtk_label_set_mnemonic_widget (GTK_LABEL (label), menu); @@ -105,7 +105,7 @@ create_option_menu (GeditFileChooserDialog *dialog) } static void -update_newline_visibility (GeditFileChooserDialog *dialog) +update_newline_visibility (PlumaFileChooserDialog *dialog) { if (gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_SAVE) { @@ -124,19 +124,19 @@ newline_combo_append (GtkComboBox *combo, GtkListStore *store, GtkTreeIter *iter, const gchar *label, - GeditDocumentNewlineType newline_type) + PlumaDocumentNewlineType newline_type) { gtk_list_store_append (store, iter); gtk_list_store_set (store, iter, 0, label, 1, newline_type, -1); - if (newline_type == GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT) + if (newline_type == PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT) { gtk_combo_box_set_active_iter (combo, iter); } } static void -create_newline_combo (GeditFileChooserDialog *dialog) +create_newline_combo (PlumaFileChooserDialog *dialog) { GtkWidget *label, *combo; GtkListStore *store; @@ -146,7 +146,7 @@ create_newline_combo (GeditFileChooserDialog *dialog) label = gtk_label_new_with_mnemonic (_("L_ine Ending:")); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); - store = gtk_list_store_new (2, G_TYPE_STRING, GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE); + store = gtk_list_store_new (2, G_TYPE_STRING, PLUMA_TYPE_DOCUMENT_NEWLINE_TYPE); combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store)); renderer = gtk_cell_renderer_text_new (); @@ -163,19 +163,19 @@ create_newline_combo (GeditFileChooserDialog *dialog) store, &iter, _("Unix/Linux"), - GEDIT_DOCUMENT_NEWLINE_TYPE_LF); + PLUMA_DOCUMENT_NEWLINE_TYPE_LF); newline_combo_append (GTK_COMBO_BOX (combo), store, &iter, _("Mac OS Classic"), - GEDIT_DOCUMENT_NEWLINE_TYPE_CR); + PLUMA_DOCUMENT_NEWLINE_TYPE_CR); newline_combo_append (GTK_COMBO_BOX (combo), store, &iter, _("Windows"), - GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF); + PLUMA_DOCUMENT_NEWLINE_TYPE_CR_LF); gtk_label_set_mnemonic_widget (GTK_LABEL (label), combo); @@ -199,7 +199,7 @@ create_newline_combo (GeditFileChooserDialog *dialog) } static void -create_extra_widget (GeditFileChooserDialog *dialog) +create_extra_widget (PlumaFileChooserDialog *dialog) { dialog->priv->extra_widget = gtk_hbox_new (FALSE, 6); @@ -214,7 +214,7 @@ create_extra_widget (GeditFileChooserDialog *dialog) } static void -action_changed (GeditFileChooserDialog *dialog, +action_changed (PlumaFileChooserDialog *dialog, GParamSpec *pspec, gpointer data) { @@ -244,13 +244,13 @@ action_changed (GeditFileChooserDialog *dialog, } static void -filter_changed (GeditFileChooserDialog *dialog, +filter_changed (PlumaFileChooserDialog *dialog, GParamSpec *pspec, gpointer data) { GtkFileFilter *filter; - if (!gedit_prefs_manager_active_file_filter_can_set ()) + if (!pluma_prefs_manager_active_file_filter_can_set ()) return; filter = gtk_file_chooser_get_filter (GTK_FILE_CHOOSER (dialog)); @@ -265,9 +265,9 @@ filter_changed (GeditFileChooserDialog *dialog, if (strcmp (name, ALL_TEXT_FILES) == 0) id = 1; - gedit_debug_message (DEBUG_COMMANDS, "Active filter: %s (%d)", name, id); + pluma_debug_message (DEBUG_COMMANDS, "Active filter: %s (%d)", name, id); - gedit_prefs_manager_set_active_file_filter (id); + pluma_prefs_manager_set_active_file_filter (id); } } @@ -284,7 +284,7 @@ all_text_files_filter (const GtkFileFilterInfo *filter_info, GtkSourceLanguageManager *lm; const gchar * const *languages; - lm = gedit_get_language_manager (); + lm = pluma_get_language_manager (); languages = gtk_source_language_manager_get_language_ids (lm); while ((languages != NULL) && (*languages != NULL)) @@ -305,7 +305,7 @@ all_text_files_filter (const GtkFileFilterInfo *filter_info, { if (!g_content_type_is_a (mime_types[i], "text/plain")) { - gedit_debug_message (DEBUG_COMMANDS, + pluma_debug_message (DEBUG_COMMANDS, "Mime-type %s is not related to text/plain", mime_types[i]); @@ -322,7 +322,7 @@ all_text_files_filter (const GtkFileFilterInfo *filter_info, } /* known mime_types contains "text/plain" and then the list of mime-types unrelated to "text/plain" - * that gedit recognizes */ + * that pluma recognizes */ if (filter_info->mime_type == NULL) return FALSE; @@ -350,16 +350,16 @@ all_text_files_filter (const GtkFileFilterInfo *filter_info, } static void -gedit_file_chooser_dialog_init (GeditFileChooserDialog *dialog) +pluma_file_chooser_dialog_init (PlumaFileChooserDialog *dialog) { - dialog->priv = GEDIT_FILE_CHOOSER_DIALOG_GET_PRIVATE (dialog); + dialog->priv = PLUMA_FILE_CHOOSER_DIALOG_GET_PRIVATE (dialog); } static GtkWidget * -gedit_file_chooser_dialog_new_valist (const gchar *title, +pluma_file_chooser_dialog_new_valist (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, const gchar *first_button_text, va_list varargs) { @@ -371,7 +371,7 @@ gedit_file_chooser_dialog_new_valist (const gchar *title, g_return_val_if_fail (parent != NULL, NULL); - result = g_object_new (GEDIT_TYPE_FILE_CHOOSER_DIALOG, + result = g_object_new (PLUMA_TYPE_FILE_CHOOSER_DIALOG, "title", title, "file-system-backend", NULL, "local-only", FALSE, @@ -379,7 +379,7 @@ gedit_file_chooser_dialog_new_valist (const gchar *title, "select-multiple", action == GTK_FILE_CHOOSER_ACTION_OPEN, NULL); - create_extra_widget (GEDIT_FILE_CHOOSER_DIALOG (result)); + create_extra_widget (PLUMA_FILE_CHOOSER_DIALOG (result)); g_signal_connect (result, "notify::action", @@ -387,12 +387,12 @@ gedit_file_chooser_dialog_new_valist (const gchar *title, NULL); if (encoding != NULL) - gedit_encodings_combo_box_set_selected_encoding ( - GEDIT_ENCODINGS_COMBO_BOX (GEDIT_FILE_CHOOSER_DIALOG (result)->priv->option_menu), + pluma_encodings_combo_box_set_selected_encoding ( + PLUMA_ENCODINGS_COMBO_BOX (PLUMA_FILE_CHOOSER_DIALOG (result)->priv->option_menu), encoding); - active_filter = gedit_prefs_manager_get_active_file_filter (); - gedit_debug_message (DEBUG_COMMANDS, "Active filter: %d", active_filter); + active_filter = pluma_prefs_manager_get_active_file_filter (); + pluma_debug_message (DEBUG_COMMANDS, "Active filter: %d", active_filter); /* Filters */ filter = gtk_file_filter_new (); @@ -448,24 +448,24 @@ gedit_file_chooser_dialog_new_valist (const gchar *title, } /** - * gedit_file_chooser_dialog_new: + * pluma_file_chooser_dialog_new: * @title: Title of the dialog, or %NULL * @parent: Transient parent of the dialog, or %NULL * @action: Open or save mode for the dialog * @first_button_text: stock ID or text to go in the first button, or %NULL * @Varargs: response ID for the first button, then additional (button, id) pairs, ending with %NULL * - * Creates a new #GeditFileChooserDialog. This function is analogous to + * Creates a new #PlumaFileChooserDialog. This function is analogous to * gtk_dialog_new_with_buttons(). * - * Return value: a new #GeditFileChooserDialog + * Return value: a new #PlumaFileChooserDialog * **/ GtkWidget * -gedit_file_chooser_dialog_new (const gchar *title, +pluma_file_chooser_dialog_new (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, const gchar *first_button_text, ...) { @@ -473,7 +473,7 @@ gedit_file_chooser_dialog_new (const gchar *title, va_list varargs; va_start (varargs, first_button_text); - result = gedit_file_chooser_dialog_new_valist (title, parent, action, + result = pluma_file_chooser_dialog_new_valist (title, parent, action, encoding, first_button_text, varargs); va_end (varargs); @@ -482,37 +482,37 @@ gedit_file_chooser_dialog_new (const gchar *title, } void -gedit_file_chooser_dialog_set_encoding (GeditFileChooserDialog *dialog, - const GeditEncoding *encoding) +pluma_file_chooser_dialog_set_encoding (PlumaFileChooserDialog *dialog, + const PlumaEncoding *encoding) { - g_return_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (dialog)); - g_return_if_fail (GEDIT_IS_ENCODINGS_COMBO_BOX (dialog->priv->option_menu)); + g_return_if_fail (PLUMA_IS_FILE_CHOOSER_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_ENCODINGS_COMBO_BOX (dialog->priv->option_menu)); - gedit_encodings_combo_box_set_selected_encoding ( - GEDIT_ENCODINGS_COMBO_BOX (dialog->priv->option_menu), + pluma_encodings_combo_box_set_selected_encoding ( + PLUMA_ENCODINGS_COMBO_BOX (dialog->priv->option_menu), encoding); } -const GeditEncoding * -gedit_file_chooser_dialog_get_encoding (GeditFileChooserDialog *dialog) +const PlumaEncoding * +pluma_file_chooser_dialog_get_encoding (PlumaFileChooserDialog *dialog) { - g_return_val_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (dialog), NULL); - g_return_val_if_fail (GEDIT_IS_ENCODINGS_COMBO_BOX (dialog->priv->option_menu), NULL); + g_return_val_if_fail (PLUMA_IS_FILE_CHOOSER_DIALOG (dialog), NULL); + g_return_val_if_fail (PLUMA_IS_ENCODINGS_COMBO_BOX (dialog->priv->option_menu), NULL); g_return_val_if_fail ((gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_OPEN || gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_SAVE), NULL); - return gedit_encodings_combo_box_get_selected_encoding ( - GEDIT_ENCODINGS_COMBO_BOX (dialog->priv->option_menu)); + return pluma_encodings_combo_box_get_selected_encoding ( + PLUMA_ENCODINGS_COMBO_BOX (dialog->priv->option_menu)); } void -gedit_file_chooser_dialog_set_newline_type (GeditFileChooserDialog *dialog, - GeditDocumentNewlineType newline_type) +pluma_file_chooser_dialog_set_newline_type (PlumaFileChooserDialog *dialog, + PlumaDocumentNewlineType newline_type) { GtkTreeIter iter; GtkTreeModel *model; - g_return_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (dialog)); + g_return_if_fail (PLUMA_IS_FILE_CHOOSER_DIALOG (dialog)); g_return_if_fail (gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_SAVE); model = GTK_TREE_MODEL (dialog->priv->newline_store); @@ -524,7 +524,7 @@ gedit_file_chooser_dialog_set_newline_type (GeditFileChooserDialog *dialog, do { - GeditDocumentNewlineType nt; + PlumaDocumentNewlineType nt; gtk_tree_model_get (model, &iter, 1, &nt, -1); @@ -537,15 +537,15 @@ gedit_file_chooser_dialog_set_newline_type (GeditFileChooserDialog *dialog, } while (gtk_tree_model_iter_next (model, &iter)); } -GeditDocumentNewlineType -gedit_file_chooser_dialog_get_newline_type (GeditFileChooserDialog *dialog) +PlumaDocumentNewlineType +pluma_file_chooser_dialog_get_newline_type (PlumaFileChooserDialog *dialog) { GtkTreeIter iter; - GeditDocumentNewlineType newline_type; + PlumaDocumentNewlineType newline_type; - g_return_val_if_fail (GEDIT_IS_FILE_CHOOSER_DIALOG (dialog), GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT); + g_return_val_if_fail (PLUMA_IS_FILE_CHOOSER_DIALOG (dialog), PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT); g_return_val_if_fail (gtk_file_chooser_get_action (GTK_FILE_CHOOSER (dialog)) == GTK_FILE_CHOOSER_ACTION_SAVE, - GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT); + PLUMA_DOCUMENT_NEWLINE_TYPE_DEFAULT); gtk_combo_box_get_active_iter (GTK_COMBO_BOX (dialog->priv->newline_combo), &iter); diff --git a/pluma/pluma-file-chooser-dialog.h b/pluma/pluma-file-chooser-dialog.h new file mode 100755 index 0000000..62285ec --- /dev/null +++ b/pluma/pluma-file-chooser-dialog.h @@ -0,0 +1,89 @@ +/* + * pluma-file-chooser-dialog.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_FILE_CHOOSER_DIALOG_H__ +#define __PLUMA_FILE_CHOOSER_DIALOG_H__ + +#include + +#include +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_FILE_CHOOSER_DIALOG (pluma_file_chooser_dialog_get_type ()) +#define PLUMA_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_FILE_CHOOSER_DIALOG, PlumaFileChooserDialog)) +#define PLUMA_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_FILE_CHOOSER_DIALOG, PlumaFileChooserDialogClass)) +#define PLUMA_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_FILE_CHOOSER_DIALOG)) +#define PLUMA_IS_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_FILE_CHOOSER_DIALOG)) +#define PLUMA_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_FILE_CHOOSER_DIALOG, PlumaFileChooserDialogClass)) + +typedef struct _PlumaFileChooserDialog PlumaFileChooserDialog; +typedef struct _PlumaFileChooserDialogClass PlumaFileChooserDialogClass; + +typedef struct _PlumaFileChooserDialogPrivate PlumaFileChooserDialogPrivate; + +struct _PlumaFileChooserDialogClass +{ + GtkFileChooserDialogClass parent_class; +}; + +struct _PlumaFileChooserDialog +{ + GtkFileChooserDialog parent_instance; + + PlumaFileChooserDialogPrivate *priv; +}; + +GType pluma_file_chooser_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_file_chooser_dialog_new (const gchar *title, + GtkWindow *parent, + GtkFileChooserAction action, + const PlumaEncoding *encoding, + const gchar *first_button_text, + ...); + +void pluma_file_chooser_dialog_set_encoding (PlumaFileChooserDialog *dialog, + const PlumaEncoding *encoding); + +const PlumaEncoding + *pluma_file_chooser_dialog_get_encoding (PlumaFileChooserDialog *dialog); + +void pluma_file_chooser_dialog_set_newline_type (PlumaFileChooserDialog *dialog, + PlumaDocumentNewlineType newline_type); + +PlumaDocumentNewlineType + pluma_file_chooser_dialog_get_newline_type (PlumaFileChooserDialog *dialog); + +G_END_DECLS + +#endif /* __PLUMA_FILE_CHOOSER_DIALOG_H__ */ diff --git a/gedit/gedit-gio-document-loader.c b/pluma/pluma-gio-document-loader.c similarity index 71% rename from gedit/gedit-gio-document-loader.c rename to pluma/pluma-gio-document-loader.c index 73cfe11..d23d752 100755 --- a/gedit/gedit-gio-document-loader.c +++ b/pluma/pluma-gio-document-loader.c @@ -1,6 +1,6 @@ /* - * gedit-gio-document-loader.c - * This file is part of gedit + * pluma-gio-document-loader.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 2005-2008. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005-2008. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -38,20 +38,20 @@ #include #include -#include "gedit-gio-document-loader.h" -#include "gedit-document-output-stream.h" -#include "gedit-smart-charset-converter.h" -#include "gedit-prefs-manager.h" -#include "gedit-debug.h" -#include "gedit-utils.h" +#include "pluma-gio-document-loader.h" +#include "pluma-document-output-stream.h" +#include "pluma-smart-charset-converter.h" +#include "pluma-prefs-manager.h" +#include "pluma-debug.h" +#include "pluma-utils.h" #ifndef ENABLE_GVFS_METADATA -#include "gedit-metadata-manager.h" +#include "pluma-metadata-manager.h" #endif typedef struct { - GeditGioDocumentLoader *loader; + PlumaGioDocumentLoader *loader; GCancellable *cancellable; gssize read; @@ -64,20 +64,20 @@ typedef struct G_FILE_ATTRIBUTE_TIME_MODIFIED "," \ G_FILE_ATTRIBUTE_STANDARD_SIZE "," \ G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE "," \ - GEDIT_METADATA_ATTRIBUTE_ENCODING + PLUMA_METADATA_ATTRIBUTE_ENCODING -#define GEDIT_GIO_DOCUMENT_LOADER_GET_PRIVATE(object) \ +#define PLUMA_GIO_DOCUMENT_LOADER_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_GIO_DOCUMENT_LOADER, \ - GeditGioDocumentLoaderPrivate)) + PLUMA_TYPE_GIO_DOCUMENT_LOADER, \ + PlumaGioDocumentLoaderPrivate)) -static void gedit_gio_document_loader_load (GeditDocumentLoader *loader); -static gboolean gedit_gio_document_loader_cancel (GeditDocumentLoader *loader); -static goffset gedit_gio_document_loader_get_bytes_read (GeditDocumentLoader *loader); +static void pluma_gio_document_loader_load (PlumaDocumentLoader *loader); +static gboolean pluma_gio_document_loader_cancel (PlumaDocumentLoader *loader); +static goffset pluma_gio_document_loader_get_bytes_read (PlumaDocumentLoader *loader); static void open_async_read (AsyncData *async); -struct _GeditGioDocumentLoaderPrivate +struct _PlumaGioDocumentLoaderPrivate { /* Info on the current file */ GFile *gfile; @@ -88,21 +88,21 @@ struct _GeditGioDocumentLoaderPrivate GCancellable *cancellable; GInputStream *stream; GOutputStream *output; - GeditSmartCharsetConverter *converter; + PlumaSmartCharsetConverter *converter; gchar buffer[READ_CHUNK_SIZE]; GError *error; }; -G_DEFINE_TYPE(GeditGioDocumentLoader, gedit_gio_document_loader, GEDIT_TYPE_DOCUMENT_LOADER) +G_DEFINE_TYPE(PlumaGioDocumentLoader, pluma_gio_document_loader, PLUMA_TYPE_DOCUMENT_LOADER) static void -gedit_gio_document_loader_dispose (GObject *object) +pluma_gio_document_loader_dispose (GObject *object) { - GeditGioDocumentLoaderPrivate *priv; + PlumaGioDocumentLoaderPrivate *priv; - priv = GEDIT_GIO_DOCUMENT_LOADER (object)->priv; + priv = PLUMA_GIO_DOCUMENT_LOADER (object)->priv; if (priv->cancellable != NULL) { @@ -141,35 +141,35 @@ gedit_gio_document_loader_dispose (GObject *object) priv->error = NULL; } - G_OBJECT_CLASS (gedit_gio_document_loader_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_gio_document_loader_parent_class)->dispose (object); } static void -gedit_gio_document_loader_class_init (GeditGioDocumentLoaderClass *klass) +pluma_gio_document_loader_class_init (PlumaGioDocumentLoaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditDocumentLoaderClass *loader_class = GEDIT_DOCUMENT_LOADER_CLASS (klass); + PlumaDocumentLoaderClass *loader_class = PLUMA_DOCUMENT_LOADER_CLASS (klass); - object_class->dispose = gedit_gio_document_loader_dispose; + object_class->dispose = pluma_gio_document_loader_dispose; - loader_class->load = gedit_gio_document_loader_load; - loader_class->cancel = gedit_gio_document_loader_cancel; - loader_class->get_bytes_read = gedit_gio_document_loader_get_bytes_read; + loader_class->load = pluma_gio_document_loader_load; + loader_class->cancel = pluma_gio_document_loader_cancel; + loader_class->get_bytes_read = pluma_gio_document_loader_get_bytes_read; - g_type_class_add_private (object_class, sizeof(GeditGioDocumentLoaderPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaGioDocumentLoaderPrivate)); } static void -gedit_gio_document_loader_init (GeditGioDocumentLoader *gvloader) +pluma_gio_document_loader_init (PlumaGioDocumentLoader *gvloader) { - gvloader->priv = GEDIT_GIO_DOCUMENT_LOADER_GET_PRIVATE (gvloader); + gvloader->priv = PLUMA_GIO_DOCUMENT_LOADER_GET_PRIVATE (gvloader); gvloader->priv->converter = NULL; gvloader->priv->error = NULL; } static AsyncData * -async_data_new (GeditGioDocumentLoader *gvloader) +async_data_new (PlumaGioDocumentLoader *gvloader) { AsyncData *async; @@ -188,42 +188,42 @@ async_data_free (AsyncData *async) g_slice_free (AsyncData, async); } -static const GeditEncoding * -get_metadata_encoding (GeditDocumentLoader *loader) +static const PlumaEncoding * +get_metadata_encoding (PlumaDocumentLoader *loader) { - const GeditEncoding *enc = NULL; + const PlumaEncoding *enc = NULL; #ifndef ENABLE_GVFS_METADATA gchar *charset; const gchar *uri; - uri = gedit_document_loader_get_uri (loader); + uri = pluma_document_loader_get_uri (loader); - charset = gedit_metadata_manager_get (uri, "encoding"); + charset = pluma_metadata_manager_get (uri, "encoding"); if (charset == NULL) return NULL; - enc = gedit_encoding_get_from_charset (charset); + enc = pluma_encoding_get_from_charset (charset); g_free (charset); #else GFileInfo *info; - info = gedit_document_loader_get_info (loader); + info = pluma_document_loader_get_info (loader); /* check if the encoding was set in the metadata */ - if (g_file_info_has_attribute (info, GEDIT_METADATA_ATTRIBUTE_ENCODING)) + if (g_file_info_has_attribute (info, PLUMA_METADATA_ATTRIBUTE_ENCODING)) { const gchar *charset; charset = g_file_info_get_attribute_string (info, - GEDIT_METADATA_ATTRIBUTE_ENCODING); + PLUMA_METADATA_ATTRIBUTE_ENCODING); if (charset == NULL) return NULL; - enc = gedit_encoding_get_from_charset (charset); + enc = pluma_encoding_get_from_charset (charset); } #endif @@ -231,9 +231,9 @@ get_metadata_encoding (GeditDocumentLoader *loader) } static void -remote_load_completed_or_failed (GeditGioDocumentLoader *loader, AsyncData *async) +remote_load_completed_or_failed (PlumaGioDocumentLoader *loader, AsyncData *async) { - gedit_document_loader_loading (GEDIT_DOCUMENT_LOADER (loader), + pluma_document_loader_loading (PLUMA_DOCUMENT_LOADER (loader), TRUE, loader->priv->error); @@ -255,7 +255,7 @@ close_input_stream_ready_cb (GInputStream *stream, { GError *error = NULL; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* check cancelled state manually */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -264,17 +264,17 @@ close_input_stream_ready_cb (GInputStream *stream, return; } - gedit_debug_message (DEBUG_SAVER, "Finished closing input stream"); + pluma_debug_message (DEBUG_SAVER, "Finished closing input stream"); if (!g_input_stream_close_finish (stream, res, &error)) { - gedit_debug_message (DEBUG_SAVER, "Closing input stream error: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Closing input stream error: %s", error->message); async_failed (async, error); return; } - gedit_debug_message (DEBUG_SAVER, "Close output stream"); + pluma_debug_message (DEBUG_SAVER, "Close output stream"); if (!g_output_stream_close (async->loader->priv->output, async->cancellable, &error)) { @@ -288,9 +288,9 @@ close_input_stream_ready_cb (GInputStream *stream, static void write_complete (AsyncData *async) { - GeditDocumentLoader *loader; + PlumaDocumentLoader *loader; - loader = GEDIT_DOCUMENT_LOADER (async->loader); + loader = PLUMA_DOCUMENT_LOADER (async->loader); if (async->loader->priv->stream) g_input_stream_close_async (G_INPUT_STREAM (async->loader->priv->stream), @@ -306,7 +306,7 @@ static void read_file_chunk (AsyncData *async); static void write_file_chunk (AsyncData *async) { - GeditGioDocumentLoader *gvloader; + PlumaGioDocumentLoader *gvloader; gssize bytes_written; GError *error = NULL; @@ -320,10 +320,10 @@ write_file_chunk (AsyncData *async) async->cancellable, &error); - gedit_debug_message (DEBUG_SAVER, "Written: %" G_GSSIZE_FORMAT, bytes_written); + pluma_debug_message (DEBUG_SAVER, "Written: %" G_GSSIZE_FORMAT, bytes_written); if (bytes_written == -1) { - gedit_debug_message (DEBUG_SAVER, "Write error: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Write error: %s", error->message); async_failed (async, error); return; } @@ -331,7 +331,7 @@ write_file_chunk (AsyncData *async) /* note that this signal blocks the read... check if it isn't * a performance problem */ - gedit_document_loader_loading (GEDIT_DOCUMENT_LOADER (gvloader), + pluma_document_loader_loading (PLUMA_DOCUMENT_LOADER (gvloader), FALSE, NULL); @@ -343,11 +343,11 @@ async_read_cb (GInputStream *stream, GAsyncResult *res, AsyncData *async) { - gedit_debug (DEBUG_LOADER); - GeditGioDocumentLoader *gvloader; + pluma_debug (DEBUG_LOADER); + PlumaGioDocumentLoader *gvloader; GError *error = NULL; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* manually check cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -371,8 +371,8 @@ async_read_cb (GInputStream *stream, if (gvloader->priv->bytes_read + async->read < gvloader->priv->bytes_read) { g_set_error (&gvloader->priv->error, - GEDIT_DOCUMENT_ERROR, - GEDIT_DOCUMENT_ERROR_TOO_BIG, + PLUMA_DOCUMENT_ERROR, + PLUMA_DOCUMENT_ERROR_TOO_BIG, "File too big"); async_failed (async, gvloader->priv->error); @@ -385,25 +385,25 @@ async_read_cb (GInputStream *stream, /* end of the file, we are done! */ if (async->read == 0) { - GeditDocumentLoader *loader; + PlumaDocumentLoader *loader; - loader = GEDIT_DOCUMENT_LOADER (gvloader); + loader = PLUMA_DOCUMENT_LOADER (gvloader); loader->auto_detected_encoding = - gedit_smart_charset_converter_get_guessed (gvloader->priv->converter); + pluma_smart_charset_converter_get_guessed (gvloader->priv->converter); loader->auto_detected_newline_type = - gedit_document_output_stream_detect_newline_type (GEDIT_DOCUMENT_OUTPUT_STREAM (gvloader->priv->output)); + pluma_document_output_stream_detect_newline_type (PLUMA_DOCUMENT_OUTPUT_STREAM (gvloader->priv->output)); /* Check if we needed some fallback char, if so, check if there was a previous error and if not set a fallback used error */ /* FIXME Uncomment this when we want to manage conversion fallback */ - /*if ((gedit_smart_charset_converter_get_num_fallbacks (gvloader->priv->converter) != 0) && + /*if ((pluma_smart_charset_converter_get_num_fallbacks (gvloader->priv->converter) != 0) && gvloader->priv->error == NULL) { g_set_error_literal (&gvloader->priv->error, - GEDIT_DOCUMENT_ERROR, - GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK, + PLUMA_DOCUMENT_ERROR, + PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK, "There was a conversion error and it was " "needed to use a fallback char"); }*/ @@ -419,7 +419,7 @@ async_read_cb (GInputStream *stream, static void read_file_chunk (AsyncData *async) { - GeditGioDocumentLoader *gvloader; + PlumaGioDocumentLoader *gvloader; gvloader = async->loader; @@ -433,14 +433,14 @@ read_file_chunk (AsyncData *async) } static GSList * -get_candidate_encodings (GeditGioDocumentLoader *gvloader) +get_candidate_encodings (PlumaGioDocumentLoader *gvloader) { - const GeditEncoding *metadata; + const PlumaEncoding *metadata; GSList *encodings = NULL; - encodings = gedit_prefs_manager_get_auto_detected_encodings (); + encodings = pluma_prefs_manager_get_auto_detected_encodings (); - metadata = get_metadata_encoding (GEDIT_DOCUMENT_LOADER (gvloader)); + metadata = get_metadata_encoding (PLUMA_DOCUMENT_LOADER (gvloader)); if (metadata != NULL) { encodings = g_slist_prepend (encodings, (gpointer)metadata); @@ -452,14 +452,14 @@ get_candidate_encodings (GeditGioDocumentLoader *gvloader) static void finish_query_info (AsyncData *async) { - GeditGioDocumentLoader *gvloader; - GeditDocumentLoader *loader; + PlumaGioDocumentLoader *gvloader; + PlumaDocumentLoader *loader; GInputStream *conv_stream; GFileInfo *info; GSList *candidate_encodings; gvloader = async->loader; - loader = GEDIT_DOCUMENT_LOADER (gvloader); + loader = PLUMA_DOCUMENT_LOADER (gvloader); info = loader->info; /* if it's not a regular file, error out... */ @@ -486,7 +486,7 @@ finish_query_info (AsyncData *async) candidate_encodings = g_slist_prepend (NULL, (gpointer) loader->encoding); } - gvloader->priv->converter = gedit_smart_charset_converter_new (candidate_encodings); + gvloader->priv->converter = pluma_smart_charset_converter_new (candidate_encodings); g_slist_free (candidate_encodings); conv_stream = g_converter_input_stream_new (gvloader->priv->stream, @@ -496,7 +496,7 @@ finish_query_info (AsyncData *async) gvloader->priv->stream = conv_stream; /* Output stream */ - gvloader->priv->output = gedit_document_output_stream_new (loader->document); + gvloader->priv->output = pluma_document_output_stream_new (loader->document); /* start reading */ read_file_chunk (async); @@ -507,11 +507,11 @@ query_info_cb (GFile *source, GAsyncResult *res, AsyncData *async) { - GeditGioDocumentLoader *gvloader; + PlumaGioDocumentLoader *gvloader; GFileInfo *info; GError *error = NULL; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* manually check the cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -534,7 +534,7 @@ query_info_cb (GFile *source, return; } - GEDIT_DOCUMENT_LOADER (gvloader)->info = info; + PLUMA_DOCUMENT_LOADER (gvloader)->info = info; finish_query_info (async); } @@ -547,7 +547,7 @@ mount_ready_callback (GFile *file, GError *error = NULL; gboolean mounted; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* manual check for cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -572,13 +572,13 @@ mount_ready_callback (GFile *file, static void recover_not_mounted (AsyncData *async) { - GeditDocument *doc; + PlumaDocument *doc; GMountOperation *mount_operation; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); - doc = gedit_document_loader_get_document (GEDIT_DOCUMENT_LOADER (async->loader)); - mount_operation = _gedit_document_create_mount_operation (doc); + doc = pluma_document_loader_get_document (PLUMA_DOCUMENT_LOADER (async->loader)); + mount_operation = _pluma_document_create_mount_operation (doc); async->tried_mount = TRUE; g_file_mount_enclosing_volume (async->loader->priv->gfile, @@ -597,9 +597,9 @@ async_read_ready_callback (GObject *source, AsyncData *async) { GError *error = NULL; - GeditGioDocumentLoader *gvloader; + PlumaGioDocumentLoader *gvloader; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* manual check for cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -624,7 +624,7 @@ async_read_ready_callback (GObject *source, /* Propagate error */ g_propagate_error (&gvloader->priv->error, error); - gedit_document_loader_loading (GEDIT_DOCUMENT_LOADER (gvloader), + pluma_document_loader_loading (PLUMA_DOCUMENT_LOADER (gvloader), TRUE, gvloader->priv->error); @@ -658,12 +658,12 @@ open_async_read (AsyncData *async) } static void -gedit_gio_document_loader_load (GeditDocumentLoader *loader) +pluma_gio_document_loader_load (PlumaDocumentLoader *loader) { - GeditGioDocumentLoader *gvloader = GEDIT_GIO_DOCUMENT_LOADER (loader); + PlumaGioDocumentLoader *gvloader = PLUMA_GIO_DOCUMENT_LOADER (loader); AsyncData *async; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); /* make sure no load operation is currently running */ g_return_if_fail (gvloader->priv->cancellable == NULL); @@ -671,7 +671,7 @@ gedit_gio_document_loader_load (GeditDocumentLoader *loader) gvloader->priv->gfile = g_file_new_for_uri (loader->uri); /* loading start */ - gedit_document_loader_loading (GEDIT_DOCUMENT_LOADER (gvloader), + pluma_document_loader_loading (PLUMA_DOCUMENT_LOADER (gvloader), FALSE, NULL); @@ -682,15 +682,15 @@ gedit_gio_document_loader_load (GeditDocumentLoader *loader) } static goffset -gedit_gio_document_loader_get_bytes_read (GeditDocumentLoader *loader) +pluma_gio_document_loader_get_bytes_read (PlumaDocumentLoader *loader) { - return GEDIT_GIO_DOCUMENT_LOADER (loader)->priv->bytes_read; + return PLUMA_GIO_DOCUMENT_LOADER (loader)->priv->bytes_read; } static gboolean -gedit_gio_document_loader_cancel (GeditDocumentLoader *loader) +pluma_gio_document_loader_cancel (PlumaDocumentLoader *loader) { - GeditGioDocumentLoader *gvloader = GEDIT_GIO_DOCUMENT_LOADER (loader); + PlumaGioDocumentLoader *gvloader = PLUMA_GIO_DOCUMENT_LOADER (loader); if (gvloader->priv->cancellable == NULL) return FALSE; diff --git a/pluma/pluma-gio-document-loader.h b/pluma/pluma-gio-document-loader.h new file mode 100755 index 0000000..f060daa --- /dev/null +++ b/pluma/pluma-gio-document-loader.h @@ -0,0 +1,79 @@ +/* + * pluma-gio-document-loader.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005-2008. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_GIO_DOCUMENT_LOADER_H__ +#define __PLUMA_GIO_DOCUMENT_LOADER_H__ + +#include +#include "pluma-document-loader.h" + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_GIO_DOCUMENT_LOADER (pluma_gio_document_loader_get_type()) +#define PLUMA_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_GIO_DOCUMENT_LOADER, PlumaGioDocumentLoader)) +#define PLUMA_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_GIO_DOCUMENT_LOADER, PlumaGioDocumentLoaderClass)) +#define PLUMA_IS_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_GIO_DOCUMENT_LOADER)) +#define PLUMA_IS_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_GIO_DOCUMENT_LOADER)) +#define PLUMA_GIO_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_GIO_DOCUMENT_LOADER, PlumaGioDocumentLoaderClass)) + +/* Private structure type */ +typedef struct _PlumaGioDocumentLoaderPrivate PlumaGioDocumentLoaderPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaGioDocumentLoader PlumaGioDocumentLoader; + +struct _PlumaGioDocumentLoader +{ + PlumaDocumentLoader loader; + + /*< private > */ + PlumaGioDocumentLoaderPrivate *priv; +}; + +/* + * Class definition + */ +typedef PlumaDocumentLoaderClass PlumaGioDocumentLoaderClass; + +/* + * Public methods + */ +GType pluma_gio_document_loader_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PLUMA_GIO_DOCUMENT_LOADER_H__ */ diff --git a/gedit/gedit-gio-document-saver.c b/pluma/pluma-gio-document-saver.c similarity index 72% rename from gedit/gedit-gio-document-saver.c rename to pluma/pluma-gio-document-saver.c index f1f63b6..e64e5de 100755 --- a/gedit/gedit-gio-document-saver.c +++ b/pluma/pluma-gio-document-saver.c @@ -1,6 +1,6 @@ /* - * gedit-gio-document-saver.c - * This file is part of gedit + * pluma-gio-document-saver.c + * This file is part of pluma * * Copyright (C) 2005-2006 - Paolo Borelli and Paolo Maggi * Copyright (C) 2007 - Paolo Borelli, Paolo Maggi, Steve Frécinaux @@ -23,8 +23,8 @@ */ /* - * Modified by the gedit Team, 2005-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -37,15 +37,15 @@ #include #include -#include "gedit-gio-document-saver.h" -#include "gedit-document-input-stream.h" -#include "gedit-debug.h" +#include "pluma-gio-document-saver.h" +#include "pluma-document-input-stream.h" +#include "pluma-debug.h" #define WRITE_CHUNK_SIZE 8192 typedef struct { - GeditGioDocumentSaver *saver; + PlumaGioDocumentSaver *saver; gchar buffer[WRITE_CHUNK_SIZE]; GCancellable *cancellable; gboolean tried_mount; @@ -57,19 +57,19 @@ typedef struct #define REMOTE_QUERY_ATTRIBUTES G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "," \ G_FILE_ATTRIBUTE_TIME_MODIFIED -#define GEDIT_GIO_DOCUMENT_SAVER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_GIO_DOCUMENT_SAVER, \ - GeditGioDocumentSaverPrivate)) +#define PLUMA_GIO_DOCUMENT_SAVER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_GIO_DOCUMENT_SAVER, \ + PlumaGioDocumentSaverPrivate)) -static void gedit_gio_document_saver_save (GeditDocumentSaver *saver, +static void pluma_gio_document_saver_save (PlumaDocumentSaver *saver, GTimeVal *old_mtime); -static goffset gedit_gio_document_saver_get_file_size (GeditDocumentSaver *saver); -static goffset gedit_gio_document_saver_get_bytes_written (GeditDocumentSaver *saver); +static goffset pluma_gio_document_saver_get_file_size (PlumaDocumentSaver *saver); +static goffset pluma_gio_document_saver_get_bytes_written (PlumaDocumentSaver *saver); static void check_modified_async (AsyncData *async); -struct _GeditGioDocumentSaverPrivate +struct _PlumaGioDocumentSaverPrivate { GTimeVal old_mtime; @@ -84,12 +84,12 @@ struct _GeditGioDocumentSaverPrivate GError *error; }; -G_DEFINE_TYPE(GeditGioDocumentSaver, gedit_gio_document_saver, GEDIT_TYPE_DOCUMENT_SAVER) +G_DEFINE_TYPE(PlumaGioDocumentSaver, pluma_gio_document_saver, PLUMA_TYPE_DOCUMENT_SAVER) static void -gedit_gio_document_saver_dispose (GObject *object) +pluma_gio_document_saver_dispose (GObject *object) { - GeditGioDocumentSaverPrivate *priv = GEDIT_GIO_DOCUMENT_SAVER (object)->priv; + PlumaGioDocumentSaverPrivate *priv = PLUMA_GIO_DOCUMENT_SAVER (object)->priv; if (priv->cancellable != NULL) { @@ -122,11 +122,11 @@ gedit_gio_document_saver_dispose (GObject *object) priv->input = NULL; } - G_OBJECT_CLASS (gedit_gio_document_saver_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_gio_document_saver_parent_class)->dispose (object); } static AsyncData * -async_data_new (GeditGioDocumentSaver *gvsaver) +async_data_new (PlumaGioDocumentSaver *gvsaver) { AsyncData *async; @@ -157,34 +157,34 @@ async_data_free (AsyncData *async) } static void -gedit_gio_document_saver_class_init (GeditGioDocumentSaverClass *klass) +pluma_gio_document_saver_class_init (PlumaGioDocumentSaverClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - GeditDocumentSaverClass *saver_class = GEDIT_DOCUMENT_SAVER_CLASS (klass); + PlumaDocumentSaverClass *saver_class = PLUMA_DOCUMENT_SAVER_CLASS (klass); - object_class->dispose = gedit_gio_document_saver_dispose; + object_class->dispose = pluma_gio_document_saver_dispose; - saver_class->save = gedit_gio_document_saver_save; - saver_class->get_file_size = gedit_gio_document_saver_get_file_size; - saver_class->get_bytes_written = gedit_gio_document_saver_get_bytes_written; + saver_class->save = pluma_gio_document_saver_save; + saver_class->get_file_size = pluma_gio_document_saver_get_file_size; + saver_class->get_bytes_written = pluma_gio_document_saver_get_bytes_written; - g_type_class_add_private (object_class, sizeof(GeditGioDocumentSaverPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaGioDocumentSaverPrivate)); } static void -gedit_gio_document_saver_init (GeditGioDocumentSaver *gvsaver) +pluma_gio_document_saver_init (PlumaGioDocumentSaver *gvsaver) { - gvsaver->priv = GEDIT_GIO_DOCUMENT_SAVER_GET_PRIVATE (gvsaver); + gvsaver->priv = PLUMA_GIO_DOCUMENT_SAVER_GET_PRIVATE (gvsaver); gvsaver->priv->cancellable = g_cancellable_new (); gvsaver->priv->error = NULL; } static void -remote_save_completed_or_failed (GeditGioDocumentSaver *gvsaver, +remote_save_completed_or_failed (PlumaGioDocumentSaver *gvsaver, AsyncData *async) { - gedit_document_saver_saving (GEDIT_DOCUMENT_SAVER (gvsaver), + pluma_document_saver_saving (PLUMA_DOCUMENT_SAVER (gvsaver), TRUE, gvsaver->priv->error); @@ -215,12 +215,12 @@ async_failed (AsyncData *async, * * Relevant bug reports: * - * Bug 615110 - write file ignore encoding errors (gedit) - * https://bugzilla.mate.org/show_bug.cgi?id=615110 + * Bug 615110 - write file ignore encoding errors (pluma) + * https://bugzilla.gnome.org/show_bug.cgi?id=615110 * * Bug 602412 - g_file_replace does not restore original file when there is * errors while writing (glib/gio) - * https://bugzilla.mate.org/show_bug.cgi?id=602412 + * https://bugzilla.gnome.org/show_bug.cgi?id=602412 */ static void cancel_output_stream_ready_cb (GOutputStream *stream, @@ -249,7 +249,7 @@ cancel_output_stream (AsyncData *async) { GCancellable *cancellable; - gedit_debug_message (DEBUG_SAVER, "Cancel output stream"); + pluma_debug_message (DEBUG_SAVER, "Cancel output stream"); cancellable = g_cancellable_new (); g_cancellable_cancel (cancellable); @@ -268,7 +268,7 @@ cancel_output_stream_and_fail (AsyncData *async, GError *error) { - gedit_debug_message (DEBUG_SAVER, "Cancel output stream and fail"); + pluma_debug_message (DEBUG_SAVER, "Cancel output stream and fail"); g_propagate_error (&async->error, error); cancel_output_stream (async); @@ -283,11 +283,11 @@ remote_get_info_cb (GFile *source, GAsyncResult *res, AsyncData *async) { - GeditGioDocumentSaver *saver; + PlumaGioDocumentSaver *saver; GFileInfo *info; GError *error = NULL; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* check cancelled state manually */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -298,19 +298,19 @@ remote_get_info_cb (GFile *source, saver = async->saver; - gedit_debug_message (DEBUG_SAVER, "Finished query info on file"); + pluma_debug_message (DEBUG_SAVER, "Finished query info on file"); info = g_file_query_info_finish (source, res, &error); if (info != NULL) { - if (GEDIT_DOCUMENT_SAVER (saver)->info != NULL) - g_object_unref (GEDIT_DOCUMENT_SAVER (saver)->info); + if (PLUMA_DOCUMENT_SAVER (saver)->info != NULL) + g_object_unref (PLUMA_DOCUMENT_SAVER (saver)->info); - GEDIT_DOCUMENT_SAVER (saver)->info = info; + PLUMA_DOCUMENT_SAVER (saver)->info = info; } else { - gedit_debug_message (DEBUG_SAVER, "Query info failed: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Query info failed: %s", error->message); g_propagate_error (&saver->priv->error, error); } @@ -324,7 +324,7 @@ close_async_ready_get_info_cb (GOutputStream *stream, { GError *error = NULL; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* check cancelled state manually */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -333,11 +333,11 @@ close_async_ready_get_info_cb (GOutputStream *stream, return; } - gedit_debug_message (DEBUG_SAVER, "Finished closing stream"); + pluma_debug_message (DEBUG_SAVER, "Finished closing stream"); if (!g_output_stream_close_finish (stream, res, &error)) { - gedit_debug_message (DEBUG_SAVER, "Closing stream error: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Closing stream error: %s", error->message); async_failed (async, error); return; @@ -349,7 +349,7 @@ close_async_ready_get_info_cb (GOutputStream *stream, * I'm not sure this is actually necessary, can't we just use * g_content_type_guess (since we have the file name and the data) */ - gedit_debug_message (DEBUG_SAVER, "Query info on file"); + pluma_debug_message (DEBUG_SAVER, "Query info on file"); g_file_query_info_async (async->saver->priv->gfile, REMOTE_QUERY_ATTRIBUTES, G_FILE_QUERY_INFO_NONE, @@ -365,17 +365,17 @@ write_complete (AsyncData *async) GError *error = NULL; /* first we close the input stream */ - gedit_debug_message (DEBUG_SAVER, "Close input stream"); + pluma_debug_message (DEBUG_SAVER, "Close input stream"); if (!g_input_stream_close (async->saver->priv->input, async->cancellable, &error)) { - gedit_debug_message (DEBUG_SAVER, "Closing input stream error: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Closing input stream error: %s", error->message); cancel_output_stream_and_fail (async, error); return; } /* now we close the output stream */ - gedit_debug_message (DEBUG_SAVER, "Close output stream"); + pluma_debug_message (DEBUG_SAVER, "Close output stream"); g_output_stream_close_async (async->saver->priv->stream, G_PRIORITY_HIGH, async->cancellable, @@ -392,11 +392,11 @@ async_write_cb (GOutputStream *stream, GAsyncResult *res, AsyncData *async) { - GeditGioDocumentSaver *gvsaver; + PlumaGioDocumentSaver *gvsaver; gssize bytes_written; GError *error = NULL; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* Check cancelled state manually */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -407,11 +407,11 @@ async_write_cb (GOutputStream *stream, bytes_written = g_output_stream_write_finish (stream, res, &error); - gedit_debug_message (DEBUG_SAVER, "Written: %" G_GSSIZE_FORMAT, bytes_written); + pluma_debug_message (DEBUG_SAVER, "Written: %" G_GSSIZE_FORMAT, bytes_written); if (bytes_written == -1) { - gedit_debug_message (DEBUG_SAVER, "Write error: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Write error: %s", error->message); cancel_output_stream_and_fail (async, error); return; } @@ -429,7 +429,7 @@ async_write_cb (GOutputStream *stream, /* note that this signal blocks the write... check if it isn't * a performance problem */ - gedit_document_saver_saving (GEDIT_DOCUMENT_SAVER (gvsaver), + pluma_document_saver_saving (PLUMA_DOCUMENT_SAVER (gvsaver), FALSE, NULL); @@ -439,9 +439,9 @@ async_write_cb (GOutputStream *stream, static void write_file_chunk (AsyncData *async) { - GeditGioDocumentSaver *gvsaver; + PlumaGioDocumentSaver *gvsaver; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); gvsaver = async->saver; @@ -457,11 +457,11 @@ write_file_chunk (AsyncData *async) static void read_file_chunk (AsyncData *async) { - GeditGioDocumentSaver *gvsaver; - GeditDocumentInputStream *dstream; + PlumaGioDocumentSaver *gvsaver; + PlumaDocumentInputStream *dstream; GError *error = NULL; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); gvsaver = async->saver; async->written = 0; @@ -488,8 +488,8 @@ read_file_chunk (AsyncData *async) } /* Get how many chars have been read */ - dstream = GEDIT_DOCUMENT_INPUT_STREAM (gvsaver->priv->input); - gvsaver->priv->bytes_written = gedit_document_input_stream_tell (dstream); + dstream = PLUMA_DOCUMENT_INPUT_STREAM (gvsaver->priv->input); + gvsaver->priv->bytes_written = pluma_document_input_stream_tell (dstream); write_file_chunk (async); } @@ -499,13 +499,13 @@ async_replace_ready_callback (GFile *source, GAsyncResult *res, AsyncData *async) { - GeditGioDocumentSaver *gvsaver; - GeditDocumentSaver *saver; + PlumaGioDocumentSaver *gvsaver; + PlumaDocumentSaver *saver; GCharsetConverter *converter; GFileOutputStream *file_stream; GError *error = NULL; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* Check cancelled state manually */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -515,24 +515,24 @@ async_replace_ready_callback (GFile *source, } gvsaver = async->saver; - saver = GEDIT_DOCUMENT_SAVER (gvsaver); + saver = PLUMA_DOCUMENT_SAVER (gvsaver); file_stream = g_file_replace_finish (source, res, &error); /* handle any error that might occur */ if (!file_stream) { - gedit_debug_message (DEBUG_SAVER, "Opening file failed: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Opening file failed: %s", error->message); async_failed (async, error); return; } /* FIXME: manage converter error? */ - gedit_debug_message (DEBUG_SAVER, "Encoding charset: %s", - gedit_encoding_get_charset (saver->encoding)); + pluma_debug_message (DEBUG_SAVER, "Encoding charset: %s", + pluma_encoding_get_charset (saver->encoding)); - if (saver->encoding != gedit_encoding_get_utf8 ()) + if (saver->encoding != pluma_encoding_get_utf8 ()) { - converter = g_charset_converter_new (gedit_encoding_get_charset (saver->encoding), + converter = g_charset_converter_new (pluma_encoding_get_charset (saver->encoding), "UTF-8", NULL); gvsaver->priv->stream = g_converter_output_stream_new (G_OUTPUT_STREAM (file_stream), @@ -546,10 +546,10 @@ async_replace_ready_callback (GFile *source, gvsaver->priv->stream = G_OUTPUT_STREAM (file_stream); } - gvsaver->priv->input = gedit_document_input_stream_new (GTK_TEXT_BUFFER (saver->document), + gvsaver->priv->input = pluma_document_input_stream_new (GTK_TEXT_BUFFER (saver->document), saver->newline_type); - gvsaver->priv->size = gedit_document_input_stream_get_total_size (GEDIT_DOCUMENT_INPUT_STREAM (gvsaver->priv->input)); + gvsaver->priv->size = pluma_document_input_stream_get_total_size (PLUMA_DOCUMENT_INPUT_STREAM (gvsaver->priv->input)); read_file_chunk (async); } @@ -557,24 +557,24 @@ async_replace_ready_callback (GFile *source, static void begin_write (AsyncData *async) { - GeditGioDocumentSaver *gvsaver; - GeditDocumentSaver *saver; + PlumaGioDocumentSaver *gvsaver; + PlumaDocumentSaver *saver; gboolean backup; - gedit_debug_message (DEBUG_SAVER, "Start replacing file contents"); + pluma_debug_message (DEBUG_SAVER, "Start replacing file contents"); /* For remote files we simply use g_file_replace_async. There is no * backup as of yet */ gvsaver = async->saver; - saver = GEDIT_DOCUMENT_SAVER (gvsaver); + saver = PLUMA_DOCUMENT_SAVER (gvsaver); /* Do not make backups for remote files so they do not clutter remote systems */ - backup = (saver->keep_backup && gedit_document_is_local (saver->document)); + backup = (saver->keep_backup && pluma_document_is_local (saver->document)); - gedit_debug_message (DEBUG_SAVER, "File contents size: %" G_GINT64_FORMAT, gvsaver->priv->size); - gedit_debug_message (DEBUG_SAVER, "Calling replace_async"); - gedit_debug_message (DEBUG_SAVER, backup ? "Keep backup" : "Discard backup"); + pluma_debug_message (DEBUG_SAVER, "File contents size: %" G_GINT64_FORMAT, gvsaver->priv->size); + pluma_debug_message (DEBUG_SAVER, "Calling replace_async"); + pluma_debug_message (DEBUG_SAVER, backup ? "Keep backup" : "Discard backup"); g_file_replace_async (gvsaver->priv->gfile, NULL, @@ -594,7 +594,7 @@ mount_ready_callback (GFile *file, GError *error = NULL; gboolean mounted; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* manual check for cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -619,13 +619,13 @@ mount_ready_callback (GFile *file, static void recover_not_mounted (AsyncData *async) { - GeditDocument *doc; + PlumaDocument *doc; GMountOperation *mount_operation; - gedit_debug (DEBUG_LOADER); + pluma_debug (DEBUG_LOADER); - doc = gedit_document_saver_get_document (GEDIT_DOCUMENT_SAVER (async->saver)); - mount_operation = _gedit_document_create_mount_operation (doc); + doc = pluma_document_saver_get_document (PLUMA_DOCUMENT_SAVER (async->saver)); + mount_operation = _pluma_document_create_mount_operation (doc); async->tried_mount = TRUE; g_file_mount_enclosing_volume (async->saver->priv->gfile, @@ -643,11 +643,11 @@ check_modification_callback (GFile *source, GAsyncResult *res, AsyncData *async) { - GeditGioDocumentSaver *gvsaver; + PlumaGioDocumentSaver *gvsaver; GError *error = NULL; GFileInfo *info; - gedit_debug (DEBUG_SAVER); + pluma_debug (DEBUG_SAVER); /* manually check cancelled state */ if (g_cancellable_is_cancelled (async->cancellable)) @@ -670,7 +670,7 @@ check_modification_callback (GFile *source, /* it's perfectly fine if the file doesn't exist yet */ if (error->code != G_IO_ERROR_NOT_FOUND) { - gedit_debug_message (DEBUG_SAVER, "Error getting modification: %s", error->message); + pluma_debug_message (DEBUG_SAVER, "Error getting modification: %s", error->message); async_failed (async, error); return; @@ -689,12 +689,12 @@ check_modification_callback (GFile *source, if ((old_mtime.tv_sec > 0 || old_mtime.tv_usec > 0) && (mtime.tv_sec != old_mtime.tv_sec || mtime.tv_usec != old_mtime.tv_usec) && - (GEDIT_DOCUMENT_SAVER (gvsaver)->flags & GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0) + (PLUMA_DOCUMENT_SAVER (gvsaver)->flags & PLUMA_DOCUMENT_SAVE_IGNORE_MTIME) == 0) { - gedit_debug_message (DEBUG_SAVER, "File is externally modified"); + pluma_debug_message (DEBUG_SAVER, "File is externally modified"); g_set_error (&gvsaver->priv->error, - GEDIT_DOCUMENT_ERROR, - GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, + PLUMA_DOCUMENT_ERROR, + PLUMA_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, "Externally modified"); remote_save_completed_or_failed (gvsaver, async); @@ -714,7 +714,7 @@ check_modification_callback (GFile *source, static void check_modified_async (AsyncData *async) { - gedit_debug_message (DEBUG_SAVER, "Check externally modified"); + pluma_debug_message (DEBUG_SAVER, "Check externally modified"); g_file_query_info_async (async->saver->priv->gfile, G_FILE_ATTRIBUTE_TIME_MODIFIED, @@ -726,11 +726,11 @@ check_modified_async (AsyncData *async) } static gboolean -save_remote_file_real (GeditGioDocumentSaver *gvsaver) +save_remote_file_real (PlumaGioDocumentSaver *gvsaver) { AsyncData *async; - gedit_debug_message (DEBUG_SAVER, "Starting gio save"); + pluma_debug_message (DEBUG_SAVER, "Starting gio save"); /* First find out if the file is modified externally. This requires * a stat, but I don't think we can do this any other way @@ -744,16 +744,16 @@ save_remote_file_real (GeditGioDocumentSaver *gvsaver) } static void -gedit_gio_document_saver_save (GeditDocumentSaver *saver, +pluma_gio_document_saver_save (PlumaDocumentSaver *saver, GTimeVal *old_mtime) { - GeditGioDocumentSaver *gvsaver = GEDIT_GIO_DOCUMENT_SAVER (saver); + PlumaGioDocumentSaver *gvsaver = PLUMA_GIO_DOCUMENT_SAVER (saver); gvsaver->priv->old_mtime = *old_mtime; gvsaver->priv->gfile = g_file_new_for_uri (saver->uri); /* saving start */ - gedit_document_saver_saving (saver, FALSE, NULL); + pluma_document_saver_saving (saver, FALSE, NULL); g_timeout_add_full (G_PRIORITY_HIGH, 0, @@ -763,13 +763,13 @@ gedit_gio_document_saver_save (GeditDocumentSaver *saver, } static goffset -gedit_gio_document_saver_get_file_size (GeditDocumentSaver *saver) +pluma_gio_document_saver_get_file_size (PlumaDocumentSaver *saver) { - return GEDIT_GIO_DOCUMENT_SAVER (saver)->priv->size; + return PLUMA_GIO_DOCUMENT_SAVER (saver)->priv->size; } static goffset -gedit_gio_document_saver_get_bytes_written (GeditDocumentSaver *saver) +pluma_gio_document_saver_get_bytes_written (PlumaDocumentSaver *saver) { - return GEDIT_GIO_DOCUMENT_SAVER (saver)->priv->bytes_written; + return PLUMA_GIO_DOCUMENT_SAVER (saver)->priv->bytes_written; } diff --git a/pluma/pluma-gio-document-saver.h b/pluma/pluma-gio-document-saver.h new file mode 100755 index 0000000..5ea16b2 --- /dev/null +++ b/pluma/pluma-gio-document-saver.h @@ -0,0 +1,76 @@ +/* + * pluma-gio-document-saver.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005-2007. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef __PLUMA_GIO_DOCUMENT_SAVER_H__ +#define __PLUMA_GIO_DOCUMENT_SAVER_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_GIO_DOCUMENT_SAVER (pluma_gio_document_saver_get_type()) +#define PLUMA_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_GIO_DOCUMENT_SAVER, PlumaGioDocumentSaver)) +#define PLUMA_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_GIO_DOCUMENT_SAVER, PlumaGioDocumentSaverClass)) +#define PLUMA_IS_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_GIO_DOCUMENT_SAVER)) +#define PLUMA_IS_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_GIO_DOCUMENT_SAVER)) +#define PLUMA_GIO_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_GIO_DOCUMENT_SAVER, PlumaGioDocumentSaverClass)) + +/* Private structure type */ +typedef struct _PlumaGioDocumentSaverPrivate PlumaGioDocumentSaverPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaGioDocumentSaver PlumaGioDocumentSaver; + +struct _PlumaGioDocumentSaver +{ + PlumaDocumentSaver saver; + + /*< private > */ + PlumaGioDocumentSaverPrivate *priv; +}; + +/* + * Class definition + */ +typedef PlumaDocumentSaverClass PlumaGioDocumentSaverClass; + +/* + * Public methods + */ +GType pluma_gio_document_saver_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PLUMA_GIO_DOCUMENT_SAVER_H__ */ diff --git a/gedit/gedit-help.c b/pluma/pluma-help.c similarity index 74% rename from gedit/gedit-help.c rename to pluma/pluma-help.c index 8ddf6a9..239e381 100755 --- a/gedit/gedit-help.c +++ b/pluma/pluma-help.c @@ -1,6 +1,6 @@ /* - * gedit-help.c - * This file is part of gedit + * pluma-help.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -32,19 +32,19 @@ #include #endif -#include "gedit-help.h" +#include "pluma-help.h" #include #include #include #ifdef OS_OSX -#include "osx/gedit-osx.h" +#include "osx/pluma-osx.h" #endif gboolean -gedit_help_display (GtkWindow *parent, - const gchar *name, /* "gedit" if NULL */ +pluma_help_display (GtkWindow *parent, + const gchar *name, /* "pluma" if NULL */ const gchar *link_id) { GError *error = NULL; @@ -54,9 +54,9 @@ gedit_help_display (GtkWindow *parent, g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), FALSE); #ifdef OS_OSX - if (name == NULL || strcmp(name, "gedit.xml") == NULL || strcmp(name, "gedit") == 0) + if (name == NULL || strcmp(name, "pluma.xml") == NULL || strcmp(name, "pluma") == 0) { - return gedit_osx_show_help (link_id); + return pluma_osx_show_help (link_id); } else { @@ -65,12 +65,12 @@ gedit_help_display (GtkWindow *parent, #endif if (name == NULL) - name = "gedit"; - else if (strcmp (name, "gedit.xml") == 0) + name = "pluma"; + else if (strcmp (name, "pluma.xml") == 0) { - g_warning ("%s: Using \"gedit.xml\" for the help name is deprecated, use \"gedit\" or simply NULL instead", G_STRFUNC); + g_warning ("%s: Using \"pluma.xml\" for the help name is deprecated, use \"pluma\" or simply NULL instead", G_STRFUNC); - name = "gedit"; + name = "pluma"; } #ifndef G_OS_WIN32 @@ -80,10 +80,10 @@ gedit_help_display (GtkWindow *parent, link = g_strdup_printf ("ghelp:%s", name); #else if (link_id) - link = g_strdup_printf ("http://library.mate.org/users/gedit/stable/%s", + link = g_strdup_printf ("http://library.gnome.org/users/pluma/stable/%s", link_id); else - link = g_strdup ("http://library.mate.org/users/gedit/stable/"); + link = g_strdup ("http://library.gnome.org/users/pluma/stable/"); #endif ret = gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (parent)), diff --git a/gedit/gedit-help.h b/pluma/pluma-help.h similarity index 73% rename from gedit/gedit-help.h rename to pluma/pluma-help.h index ae59afd..33c3c53 100755 --- a/gedit/gedit-help.h +++ b/pluma/pluma-help.h @@ -1,6 +1,6 @@ /* - * gedit-help.h - * This file is part of gedit + * pluma-help.h + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,24 +21,24 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_HELP_H__ -#define __GEDIT_HELP_H__ +#ifndef __PLUMA_HELP_H__ +#define __PLUMA_HELP_H__ #include G_BEGIN_DECLS -gboolean gedit_help_display (GtkWindow *parent, - const gchar *name, /* "gedit" if NULL */ +gboolean pluma_help_display (GtkWindow *parent, + const gchar *name, /* "pluma" if NULL */ const gchar *link_id); G_END_DECLS -#endif /* __GEDIT_HELP_H__ */ +#endif /* __PLUMA_HELP_H__ */ diff --git a/gedit/gedit-history-entry.c b/pluma/pluma-history-entry.c similarity index 72% rename from gedit/gedit-history-entry.c rename to pluma/pluma-history-entry.c index 999d409..f44d0cc 100755 --- a/gedit/gedit-history-entry.c +++ b/pluma/pluma-history-entry.c @@ -1,6 +1,6 @@ /* - * gedit-history-entry.c - * This file is part of gedit + * pluma-history-entry.c + * This file is part of pluma * * Copyright (C) 2006 - Paolo Borelli * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,7 +37,7 @@ #include #include -#include "gedit-history-entry.h" +#include "pluma-history-entry.h" enum { PROP_0, @@ -47,13 +47,13 @@ enum { #define MIN_ITEM_LEN 3 -#define GEDIT_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT 10 +#define PLUMA_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT 10 -#define GEDIT_HISTORY_ENTRY_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_HISTORY_ENTRY, \ - GeditHistoryEntryPrivate)) +#define PLUMA_HISTORY_ENTRY_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_HISTORY_ENTRY, \ + PlumaHistoryEntryPrivate)) -struct _GeditHistoryEntryPrivate +struct _PlumaHistoryEntryPrivate { gchar *history_id; guint history_length; @@ -63,26 +63,26 @@ struct _GeditHistoryEntryPrivate MateConfClient *mateconf_client; }; -G_DEFINE_TYPE(GeditHistoryEntry, gedit_history_entry, GTK_TYPE_COMBO_BOX_ENTRY) +G_DEFINE_TYPE(PlumaHistoryEntry, pluma_history_entry, GTK_TYPE_COMBO_BOX_ENTRY) static void -gedit_history_entry_set_property (GObject *object, +pluma_history_entry_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *spec) { - GeditHistoryEntry *entry; + PlumaHistoryEntry *entry; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (object)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (object)); - entry = GEDIT_HISTORY_ENTRY (object); + entry = PLUMA_HISTORY_ENTRY (object); switch (prop_id) { case PROP_HISTORY_ID: entry->priv->history_id = g_value_dup_string (value); break; case PROP_HISTORY_LENGTH: - gedit_history_entry_set_history_length (entry, + pluma_history_entry_set_history_length (entry, g_value_get_uint (value)); break; default: @@ -91,16 +91,16 @@ gedit_history_entry_set_property (GObject *object, } static void -gedit_history_entry_get_property (GObject *object, +pluma_history_entry_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *spec) { - GeditHistoryEntryPrivate *priv; + PlumaHistoryEntryPrivate *priv; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (object)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (object)); - priv = GEDIT_HISTORY_ENTRY (object)->priv; + priv = PLUMA_HISTORY_ENTRY (object)->priv; switch (prop_id) { case PROP_HISTORY_ID: @@ -115,20 +115,20 @@ gedit_history_entry_get_property (GObject *object, } static void -gedit_history_entry_destroy (GtkObject *object) +pluma_history_entry_destroy (GtkObject *object) { - gedit_history_entry_set_enable_completion (GEDIT_HISTORY_ENTRY (object), + pluma_history_entry_set_enable_completion (PLUMA_HISTORY_ENTRY (object), FALSE); - GTK_OBJECT_CLASS (gedit_history_entry_parent_class)->destroy (object); + GTK_OBJECT_CLASS (pluma_history_entry_parent_class)->destroy (object); } static void -gedit_history_entry_finalize (GObject *object) +pluma_history_entry_finalize (GObject *object) { - GeditHistoryEntryPrivate *priv; + PlumaHistoryEntryPrivate *priv; - priv = GEDIT_HISTORY_ENTRY (object)->priv; + priv = PLUMA_HISTORY_ENTRY (object)->priv; g_free (priv->history_id); @@ -138,19 +138,19 @@ gedit_history_entry_finalize (GObject *object) priv->mateconf_client = NULL; } - G_OBJECT_CLASS (gedit_history_entry_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_history_entry_parent_class)->finalize (object); } static void -gedit_history_entry_class_init (GeditHistoryEntryClass *klass) +pluma_history_entry_class_init (PlumaHistoryEntryClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtkobject_class = GTK_OBJECT_CLASS (klass); - object_class->set_property = gedit_history_entry_set_property; - object_class->get_property = gedit_history_entry_get_property; - object_class->finalize = gedit_history_entry_finalize; - gtkobject_class->destroy = gedit_history_entry_destroy; + object_class->set_property = pluma_history_entry_set_property; + object_class->get_property = pluma_history_entry_get_property; + object_class->finalize = pluma_history_entry_finalize; + gtkobject_class->destroy = pluma_history_entry_destroy; g_object_class_install_property (object_class, PROP_HISTORY_ID, @@ -168,17 +168,17 @@ gedit_history_entry_class_init (GeditHistoryEntryClass *klass) "Max History Length", 0, G_MAXUINT, - GEDIT_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT, + PLUMA_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /* TODO: Add enable-completion property */ - g_type_class_add_private (object_class, sizeof(GeditHistoryEntryPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaHistoryEntryPrivate)); } static GtkListStore * -get_history_store (GeditHistoryEntry *entry) +get_history_store (PlumaHistoryEntry *entry) { GtkTreeModel *store; @@ -189,7 +189,7 @@ get_history_store (GeditHistoryEntry *entry) } static char * -get_history_key (GeditHistoryEntry *entry) +get_history_key (PlumaHistoryEntry *entry) { gchar *tmp; gchar *key; @@ -197,13 +197,13 @@ get_history_key (GeditHistoryEntry *entry) /* * We store the data under /apps/mate-settings/ * like the old MateEntry did. Maybe we should - * consider moving it to the /gedit MateConf prefix... + * consider moving it to the /pluma MateConf prefix... * Or maybe we should just switch away from MateConf. */ tmp = mateconf_escape_key (entry->priv->history_id, -1); key = g_strconcat ("/apps/mate-settings/", - "gedit", + "pluma", "/history-", tmp, NULL); @@ -213,7 +213,7 @@ get_history_key (GeditHistoryEntry *entry) } static GSList * -get_history_list (GeditHistoryEntry *entry) +get_history_list (PlumaHistoryEntry *entry) { GtkListStore *store; GtkTreeIter iter; @@ -244,12 +244,12 @@ get_history_list (GeditHistoryEntry *entry) } static void -gedit_history_entry_save_history (GeditHistoryEntry *entry) +pluma_history_entry_save_history (PlumaHistoryEntry *entry) { GSList *mateconf_items; gchar *key; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); mateconf_items = get_history_list (entry); key = get_history_key (entry); @@ -324,7 +324,7 @@ clamp_list_store (GtkListStore *store, } static void -insert_history_item (GeditHistoryEntry *entry, +insert_history_item (PlumaHistoryEntry *entry, const gchar *text, gboolean prepend) { @@ -356,31 +356,31 @@ insert_history_item (GeditHistoryEntry *entry, text, -1); - gedit_history_entry_save_history (entry); + pluma_history_entry_save_history (entry); } void -gedit_history_entry_prepend_text (GeditHistoryEntry *entry, +pluma_history_entry_prepend_text (PlumaHistoryEntry *entry, const gchar *text) { - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); g_return_if_fail (text != NULL); insert_history_item (entry, text, TRUE); } void -gedit_history_entry_append_text (GeditHistoryEntry *entry, +pluma_history_entry_append_text (PlumaHistoryEntry *entry, const gchar *text) { - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); g_return_if_fail (text != NULL); insert_history_item (entry, text, FALSE); } static void -gedit_history_entry_load_history (GeditHistoryEntry *entry) +pluma_history_entry_load_history (PlumaHistoryEntry *entry) { GSList *mateconf_items, *l; GtkListStore *store; @@ -388,7 +388,7 @@ gedit_history_entry_load_history (GeditHistoryEntry *entry) gchar *key; guint i; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); store = get_history_store (entry); key = get_history_key (entry); @@ -418,28 +418,28 @@ gedit_history_entry_load_history (GeditHistoryEntry *entry) } void -gedit_history_entry_clear (GeditHistoryEntry *entry) +pluma_history_entry_clear (PlumaHistoryEntry *entry) { GtkListStore *store; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); store = get_history_store (entry); gtk_list_store_clear (store); - gedit_history_entry_save_history (entry); + pluma_history_entry_save_history (entry); } static void -gedit_history_entry_init (GeditHistoryEntry *entry) +pluma_history_entry_init (PlumaHistoryEntry *entry) { - GeditHistoryEntryPrivate *priv; + PlumaHistoryEntryPrivate *priv; - priv = GEDIT_HISTORY_ENTRY_GET_PRIVATE (entry); + priv = PLUMA_HISTORY_ENTRY_GET_PRIVATE (entry); entry->priv = priv; priv->history_id = NULL; - priv->history_length = GEDIT_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT; + priv->history_length = PLUMA_HISTORY_ENTRY_HISTORY_LENGTH_DEFAULT; priv->completion = NULL; @@ -447,10 +447,10 @@ gedit_history_entry_init (GeditHistoryEntry *entry) } void -gedit_history_entry_set_history_length (GeditHistoryEntry *entry, +pluma_history_entry_set_history_length (PlumaHistoryEntry *entry, guint history_length) { - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); g_return_if_fail (history_length > 0); entry->priv->history_length = history_length; @@ -459,26 +459,26 @@ gedit_history_entry_set_history_length (GeditHistoryEntry *entry, } guint -gedit_history_entry_get_history_length (GeditHistoryEntry *entry) +pluma_history_entry_get_history_length (PlumaHistoryEntry *entry) { - g_return_val_if_fail (GEDIT_IS_HISTORY_ENTRY (entry), 0); + g_return_val_if_fail (PLUMA_IS_HISTORY_ENTRY (entry), 0); return entry->priv->history_length; } gchar * -gedit_history_entry_get_history_id (GeditHistoryEntry *entry) +pluma_history_entry_get_history_id (PlumaHistoryEntry *entry) { - g_return_val_if_fail (GEDIT_IS_HISTORY_ENTRY (entry), NULL); + g_return_val_if_fail (PLUMA_IS_HISTORY_ENTRY (entry), NULL); return g_strdup (entry->priv->history_id); } void -gedit_history_entry_set_enable_completion (GeditHistoryEntry *entry, +pluma_history_entry_set_enable_completion (PlumaHistoryEntry *entry, gboolean enable) { - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); if (enable) { @@ -499,7 +499,7 @@ gedit_history_entry_set_enable_completion (GeditHistoryEntry *entry, gtk_entry_completion_set_inline_completion (entry->priv->completion, TRUE); /* Assign the completion to the entry */ - gtk_entry_set_completion (GTK_ENTRY (gedit_history_entry_get_entry(entry)), + gtk_entry_set_completion (GTK_ENTRY (pluma_history_entry_get_entry(entry)), entry->priv->completion); } else @@ -507,7 +507,7 @@ gedit_history_entry_set_enable_completion (GeditHistoryEntry *entry, if (entry->priv->completion == NULL) return; - gtk_entry_set_completion (GTK_ENTRY (gedit_history_entry_get_entry (entry)), + gtk_entry_set_completion (GTK_ENTRY (pluma_history_entry_get_entry (entry)), NULL); g_object_unref (entry->priv->completion); @@ -517,15 +517,15 @@ gedit_history_entry_set_enable_completion (GeditHistoryEntry *entry, } gboolean -gedit_history_entry_get_enable_completion (GeditHistoryEntry *entry) +pluma_history_entry_get_enable_completion (PlumaHistoryEntry *entry) { - g_return_val_if_fail (GEDIT_IS_HISTORY_ENTRY (entry), FALSE); + g_return_val_if_fail (PLUMA_IS_HISTORY_ENTRY (entry), FALSE); return entry->priv->completion != NULL; } GtkWidget * -gedit_history_entry_new (const gchar *history_id, +pluma_history_entry_new (const gchar *history_id, gboolean enable_completion) { GtkWidget *ret; @@ -535,13 +535,13 @@ gedit_history_entry_new (const gchar *history_id, /* Note that we are setting the model, so * user must be careful to always manipulate - * data in the history through gedit_history_entry_ + * data in the history through pluma_history_entry_ * functions. */ store = gtk_list_store_new (1, G_TYPE_STRING); - ret = g_object_new (GEDIT_TYPE_HISTORY_ENTRY, + ret = g_object_new (PLUMA_TYPE_HISTORY_ENTRY, "history-id", history_id, "model", store, "text-column", 0, @@ -560,9 +560,9 @@ gedit_history_entry_new (const gchar *history_id, * This would also ensure that the model cannot be * set explicitely at a later time. */ - gedit_history_entry_load_history (GEDIT_HISTORY_ENTRY (ret)); + pluma_history_entry_load_history (PLUMA_HISTORY_ENTRY (ret)); - gedit_history_entry_set_enable_completion (GEDIT_HISTORY_ENTRY (ret), + pluma_history_entry_set_enable_completion (PLUMA_HISTORY_ENTRY (ret), enable_completion); return ret; @@ -571,15 +571,15 @@ gedit_history_entry_new (const gchar *history_id, /* * Utility function to get the editable text entry internal widget. * I would prefer to not expose this implementation detail and - * simply make the GeditHistoryEntry widget implement the + * simply make the PlumaHistoryEntry widget implement the * GtkEditable interface. Unfortunately both GtkEditable and * GtkComboBox have a "changed" signal and I am not sure how to * handle the conflict. */ GtkWidget * -gedit_history_entry_get_entry (GeditHistoryEntry *entry) +pluma_history_entry_get_entry (PlumaHistoryEntry *entry) { - g_return_val_if_fail (GEDIT_IS_HISTORY_ENTRY (entry), NULL); + g_return_val_if_fail (PLUMA_IS_HISTORY_ENTRY (entry), NULL); return gtk_bin_get_child (GTK_BIN (entry)); } @@ -589,7 +589,7 @@ escape_cell_data_func (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, - GeditHistoryEntryEscapeFunc escape_func) + PlumaHistoryEntryEscapeFunc escape_func) { gchar *str; gchar *escaped; @@ -603,12 +603,12 @@ escape_cell_data_func (GtkTreeViewColumn *col, } void -gedit_history_entry_set_escape_func (GeditHistoryEntry *entry, - GeditHistoryEntryEscapeFunc escape_func) +pluma_history_entry_set_escape_func (PlumaHistoryEntry *entry, + PlumaHistoryEntryEscapeFunc escape_func) { GList *cells; - g_return_if_fail (GEDIT_IS_HISTORY_ENTRY (entry)); + g_return_if_fail (PLUMA_IS_HISTORY_ENTRY (entry)); cells = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (entry)); diff --git a/pluma/pluma-history-entry.h b/pluma/pluma-history-entry.h new file mode 100755 index 0000000..59d1676 --- /dev/null +++ b/pluma/pluma-history-entry.h @@ -0,0 +1,96 @@ +/* + * pluma-history-entry.h + * This file is part of pluma + * + * Copyright (C) 2006 - Paolo Borelli + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2006. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_HISTORY_ENTRY_H__ +#define __PLUMA_HISTORY_ENTRY_H__ + + +G_BEGIN_DECLS + +#define PLUMA_TYPE_HISTORY_ENTRY (pluma_history_entry_get_type ()) +#define PLUMA_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_HISTORY_ENTRY, PlumaHistoryEntry)) +#define PLUMA_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_HISTORY_ENTRY, PlumaHistoryEntryClass)) +#define PLUMA_IS_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_HISTORY_ENTRY)) +#define PLUMA_IS_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_HISTORY_ENTRY)) +#define PLUMA_HISTORY_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_HISTORY_ENTRY, PlumaHistoryEntryClass)) + + +typedef struct _PlumaHistoryEntry PlumaHistoryEntry; +typedef struct _PlumaHistoryEntryClass PlumaHistoryEntryClass; +typedef struct _PlumaHistoryEntryPrivate PlumaHistoryEntryPrivate; + +struct _PlumaHistoryEntryClass +{ + GtkComboBoxEntryClass parent_class; +}; + +struct _PlumaHistoryEntry +{ + GtkComboBoxEntry parent_instance; + + PlumaHistoryEntryPrivate *priv; +}; + +GType pluma_history_entry_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_history_entry_new (const gchar *history_id, + gboolean enable_completion); + +void pluma_history_entry_prepend_text (PlumaHistoryEntry *entry, + const gchar *text); + +void pluma_history_entry_append_text (PlumaHistoryEntry *entry, + const gchar *text); + +void pluma_history_entry_clear (PlumaHistoryEntry *entry); + +void pluma_history_entry_set_history_length (PlumaHistoryEntry *entry, + guint max_saved); + +guint pluma_history_entry_get_history_length (PlumaHistoryEntry *gentry); + +gchar *pluma_history_entry_get_history_id (PlumaHistoryEntry *entry); + +void pluma_history_entry_set_enable_completion + (PlumaHistoryEntry *entry, + gboolean enable); + +gboolean pluma_history_entry_get_enable_completion + (PlumaHistoryEntry *entry); + +GtkWidget *pluma_history_entry_get_entry (PlumaHistoryEntry *entry); + +typedef gchar * (* PlumaHistoryEntryEscapeFunc) (const gchar *str); +void pluma_history_entry_set_escape_func (PlumaHistoryEntry *entry, + PlumaHistoryEntryEscapeFunc escape_func); + +G_END_DECLS + +#endif /* __PLUMA_HISTORY_ENTRY_H__ */ diff --git a/gedit/gedit-io-error-message-area.c b/pluma/pluma-io-error-message-area.c similarity index 87% rename from gedit/gedit-io-error-message-area.c rename to pluma/pluma-io-error-message-area.c index e116a15..4de896f 100755 --- a/gedit/gedit-io-error-message-area.c +++ b/pluma/pluma-io-error-message-area.c @@ -1,6 +1,6 @@ /* - * gedit-io-error-message-area.c - * This file is part of gedit + * pluma-io-error-message-area.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -42,14 +42,14 @@ #include #include -#include "gedit-utils.h" -#include "gedit-document.h" -#include "gedit-io-error-message-area.h" -#include "gedit-prefs-manager.h" -#include +#include "pluma-utils.h" +#include "pluma-document.h" +#include "pluma-io-error-message-area.h" +#include "pluma-prefs-manager.h" +#include #if !GTK_CHECK_VERSION (2, 17, 1) -#include "gedit-message-area.h" +#include "pluma-message-area.h" #endif #define MAX_URI_IN_DIALOG_LENGTH 50 @@ -88,7 +88,7 @@ set_contents (GtkWidget *area, GtkWidget *contents) { #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_contents (GEDIT_MESSAGE_AREA (area), + pluma_message_area_set_contents (PLUMA_MESSAGE_AREA (area), contents); #else GtkWidget *content_area; @@ -173,7 +173,7 @@ create_io_loading_error_message_area (const gchar *primary_text, GtkWidget *message_area; #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new_with_buttons ( + message_area = pluma_message_area_new_with_buttons ( GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); #else @@ -192,7 +192,7 @@ create_io_loading_error_message_area (const gchar *primary_text, if (recoverable_error) { #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (message_area), _("_Retry"), GTK_STOCK_REFRESH, GTK_RESPONSE_OK); @@ -237,13 +237,13 @@ parse_gio_error (gint code, scheme_markup = g_markup_printf_escaped ("%s:", scheme_string); /* Translators: %s is a URI scheme (like for example http:, ftp:, etc.) */ - *message_details = g_strdup_printf (_("gedit cannot handle %s locations."), + *message_details = g_strdup_printf (_("pluma cannot handle %s locations."), scheme_markup); g_free (scheme_markup); } else { - *message_details = g_strdup (_("gedit cannot handle this location.")); + *message_details = g_strdup (_("pluma cannot handle this location.")); } g_free (scheme_string); @@ -281,14 +281,14 @@ parse_gio_error (gint code, { gchar *hn = NULL; - if (gedit_utils_decode_uri (uri, NULL, NULL, &hn, NULL, NULL)) + if (pluma_utils_decode_uri (uri, NULL, NULL, &hn, NULL, NULL)) { if (hn != NULL) { gchar *host_markup; gchar *host_name; - host_name = gedit_utils_make_valid_utf8 (hn); + host_name = pluma_utils_make_valid_utf8 (hn); g_free (hn); host_markup = g_markup_printf_escaped ("%s", host_name); @@ -334,7 +334,7 @@ parse_gio_error (gint code, } static gboolean -parse_gedit_error (gint code, +parse_pluma_error (gint code, gchar **error_message, gchar **message_details, const gchar *uri, @@ -344,7 +344,7 @@ parse_gedit_error (gint code, switch (code) { - case GEDIT_DOCUMENT_ERROR_TOO_BIG: + case PLUMA_DOCUMENT_ERROR_TOO_BIG: *message_details = g_strdup (_("The file is too big.")); break; @@ -373,9 +373,9 @@ parse_error (const GError *error, uri, uri_for_display); } - else if (error->domain == GEDIT_DOCUMENT_ERROR) + else if (error->domain == PLUMA_DOCUMENT_ERROR) { - ret = parse_gedit_error (error->code, + ret = parse_pluma_error (error->code, error_message, message_details, uri, @@ -392,7 +392,7 @@ parse_error (const GError *error, } GtkWidget * -gedit_unrecoverable_reverting_error_message_area_new (const gchar *uri, +pluma_unrecoverable_reverting_error_message_area_new (const gchar *uri, const GError *error) { gchar *error_message = NULL; @@ -404,16 +404,16 @@ gedit_unrecoverable_reverting_error_message_area_new (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); - g_return_val_if_fail ((error->domain == GEDIT_DOCUMENT_ERROR) || + g_return_val_if_fail ((error->domain == PLUMA_DOCUMENT_ERROR) || (error->domain == G_IO_ERROR), NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -422,7 +422,7 @@ gedit_unrecoverable_reverting_error_message_area_new (const gchar *uri, if (is_gio_error (error, G_IO_ERROR_NOT_FOUND)) { - message_details = g_strdup (_("gedit cannot find the file. " + message_details = g_strdup (_("pluma cannot find the file. " "Perhaps it has recently been deleted.")); } else @@ -462,9 +462,9 @@ create_combo_box (GtkWidget *message_area, GtkWidget *vbox) label = gtk_label_new_with_mnemonic (label_markup); g_free (label_markup); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); - menu = gedit_encodings_combo_box_new (TRUE); + menu = pluma_encodings_combo_box_new (TRUE); g_object_set_data (G_OBJECT (message_area), - "gedit-message-area-encoding-menu", + "pluma-message-area-encoding-menu", menu); gtk_label_set_mnemonic_widget (GTK_LABEL (label), menu); @@ -499,25 +499,25 @@ create_conversion_error_message_area (const gchar *primary_text, GtkWidget *secondary_label; #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new (); + message_area = pluma_message_area_new (); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (message_area), _("_Retry"), GTK_STOCK_REDO, GTK_RESPONSE_OK); if (edit_anyway) { - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("Edit Any_way"), GTK_RESPONSE_YES); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("D_on't Edit"), GTK_RESPONSE_NO); } else { - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); } @@ -595,8 +595,8 @@ create_conversion_error_message_area (const gchar *primary_text, } GtkWidget * -gedit_io_loading_error_message_area_new (const gchar *uri, - const GeditEncoding *encoding, +pluma_io_loading_error_message_area_new (const gchar *uri, + const PlumaEncoding *encoding, const GError *error) { gchar *error_message = NULL; @@ -612,16 +612,16 @@ gedit_io_loading_error_message_area_new (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); g_return_val_if_fail ((error->domain == G_CONVERT_ERROR) || - (error->domain == GEDIT_DOCUMENT_ERROR) || + (error->domain == PLUMA_DOCUMENT_ERROR) || (error->domain == G_IO_ERROR), NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -629,7 +629,7 @@ gedit_io_loading_error_message_area_new (const gchar *uri, g_free (temp_uri_for_display); if (encoding != NULL) - encoding_name = gedit_encoding_to_string (encoding); + encoding_name = pluma_encoding_to_string (encoding); else encoding_name = g_strdup ("UTF-8"); @@ -642,17 +642,17 @@ gedit_io_loading_error_message_area_new (const gchar *uri, message_details = g_strdup (_("You do not have the permissions necessary to open the file.")); } else if ((is_gio_error (error, G_IO_ERROR_INVALID_DATA) && encoding == NULL) || - (error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED)) + (error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED)) { - message_details = g_strconcat (_("gedit has not been able to detect " + message_details = g_strconcat (_("pluma has not been able to detect " "the character encoding."), "\n", _("Please check that you are not trying to open a binary file."), "\n", _("Select a character encoding from the menu and try again."), NULL); convert_error = TRUE; } - else if (error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK) + else if (error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK) { error_message = g_strdup_printf (_("There was a problem opening the file %s."), uri_for_display); @@ -706,9 +706,9 @@ gedit_io_loading_error_message_area_new (const gchar *uri, } GtkWidget * -gedit_conversion_error_while_saving_message_area_new ( +pluma_conversion_error_while_saving_message_area_new ( const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, const GError *error) { gchar *error_message = NULL; @@ -725,20 +725,20 @@ gedit_conversion_error_while_saving_message_area_new ( error->domain == G_IO_ERROR, NULL); g_return_val_if_fail (encoding != NULL, NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); uri_for_display = g_markup_printf_escaped ("%s", temp_uri_for_display); g_free (temp_uri_for_display); - encoding_name = gedit_encoding_to_string (encoding); + encoding_name = pluma_encoding_to_string (encoding); error_message = g_strdup_printf (_("Could not save the file %s using the %s character encoding."), uri_for_display, @@ -760,27 +760,27 @@ gedit_conversion_error_while_saving_message_area_new ( return message_area; } -const GeditEncoding * -gedit_conversion_error_message_area_get_encoding (GtkWidget *message_area) +const PlumaEncoding * +pluma_conversion_error_message_area_get_encoding (GtkWidget *message_area) { gpointer menu; #if !GTK_CHECK_VERSION (2, 17, 1) - g_return_val_if_fail (GEDIT_IS_MESSAGE_AREA (message_area), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE_AREA (message_area), NULL); #else g_return_val_if_fail (GTK_IS_INFO_BAR (message_area), NULL); #endif menu = g_object_get_data (G_OBJECT (message_area), - "gedit-message-area-encoding-menu"); + "pluma-message-area-encoding-menu"); g_return_val_if_fail (menu, NULL); - return gedit_encodings_combo_box_get_selected_encoding - (GEDIT_ENCODINGS_COMBO_BOX (menu)); + return pluma_encodings_combo_box_get_selected_encoding + (PLUMA_ENCODINGS_COMBO_BOX (menu)); } GtkWidget * -gedit_file_already_open_warning_message_area_new (const gchar *uri) +pluma_file_already_open_warning_message_area_new (const gchar *uri) { GtkWidget *message_area; GtkWidget *hbox_content; @@ -796,13 +796,13 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri) gchar *uri_for_display; gchar *temp_uri_for_display; - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -810,11 +810,11 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri) g_free (temp_uri_for_display); #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new (); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + message_area = pluma_message_area_new (); + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("Edit Any_way"), GTK_RESPONSE_YES); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("D_on't Edit"), GTK_RESPONSE_CANCEL); #else @@ -842,7 +842,7 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri) vbox = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox_content), vbox, TRUE, TRUE, 0); - primary_text = g_strdup_printf (_("This file (%s) is already open in another gedit window."), uri_for_display); + primary_text = g_strdup_printf (_("This file (%s) is already open in another pluma window."), uri_for_display); g_free (uri_for_display); primary_markup = g_strdup_printf ("%s", primary_text); @@ -856,7 +856,7 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri) GTK_WIDGET_SET_FLAGS (primary_label, GTK_CAN_FOCUS); gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE); - secondary_text = _("gedit opened this instance of the file in a non-editable way. " + secondary_text = _("pluma opened this instance of the file in a non-editable way. " "Do you want to edit it anyway?"); secondary_markup = g_strdup_printf ("%s", secondary_text); @@ -876,7 +876,7 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri) } GtkWidget * -gedit_externally_modified_saving_error_message_area_new ( +pluma_externally_modified_saving_error_message_area_new ( const gchar *uri, const GError *error) { @@ -896,16 +896,16 @@ gedit_externally_modified_saving_error_message_area_new ( g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); - g_return_val_if_fail (error->domain == GEDIT_DOCUMENT_ERROR, NULL); - g_return_val_if_fail (error->code == GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, NULL); + g_return_val_if_fail (error->domain == PLUMA_DOCUMENT_ERROR, NULL); + g_return_val_if_fail (error->code == PLUMA_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -913,12 +913,12 @@ gedit_externally_modified_saving_error_message_area_new ( g_free (temp_uri_for_display); #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new (); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (message_area), + message_area = pluma_message_area_new (); + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (message_area), _("S_ave Anyway"), GTK_STOCK_SAVE, GTK_RESPONSE_YES); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("D_on't Save"), GTK_RESPONSE_CANCEL); #else @@ -981,7 +981,7 @@ gedit_externally_modified_saving_error_message_area_new ( } GtkWidget * -gedit_no_backup_saving_error_message_area_new (const gchar *uri, +pluma_no_backup_saving_error_message_area_new (const gchar *uri, const GError *error) { GtkWidget *message_area; @@ -1000,18 +1000,18 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); - g_return_val_if_fail (((error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_CANT_CREATE_BACKUP) || + g_return_val_if_fail (((error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_CANT_CREATE_BACKUP) || (error->domain == G_IO_ERROR && error->code == G_IO_ERROR_CANT_CREATE_BACKUP)), NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -1019,12 +1019,12 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri, g_free (temp_uri_for_display); #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new (); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (message_area), + message_area = pluma_message_area_new (); + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (message_area), _("S_ave Anyway"), GTK_STOCK_SAVE, GTK_RESPONSE_YES); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), _("D_on't Save"), GTK_RESPONSE_CANCEL); #else @@ -1052,7 +1052,7 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri, // FIXME: review this messages - if (gedit_prefs_manager_get_create_backup_copy ()) + if (pluma_prefs_manager_get_create_backup_copy ()) primary_text = g_strdup_printf (_("Could not create a backup file while saving %s"), uri_for_display); else @@ -1072,7 +1072,7 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri, GTK_WIDGET_SET_FLAGS (primary_label, GTK_CAN_FOCUS); gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE); - secondary_text = _("gedit could not back up the old copy of the file before saving the new one. " + secondary_text = _("pluma could not back up the old copy of the file before saving the new one. " "You can ignore this warning and save the file anyway, but if an error " "occurs while saving, you could lose the old copy of the file. Save anyway?"); secondary_markup = g_strdup_printf ("%s", @@ -1093,7 +1093,7 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri, } GtkWidget * -gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, +pluma_unrecoverable_saving_error_message_area_new (const gchar *uri, const GError *error) { gchar *error_message = NULL; @@ -1107,16 +1107,16 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); - g_return_val_if_fail ((error->domain == GEDIT_DOCUMENT_ERROR) || + g_return_val_if_fail ((error->domain == PLUMA_DOCUMENT_ERROR) || (error->domain == G_IO_ERROR), NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -1132,7 +1132,7 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, scheme_markup = g_markup_printf_escaped ("%s:", scheme_string); /* Translators: %s is a URI scheme (like for example http:, ftp:, etc.) */ - message_details = g_strdup_printf (_("gedit cannot handle %s locations in write mode. " + message_details = g_strdup_printf (_("pluma cannot handle %s locations in write mode. " "Please check that you typed the " "location correctly and try again."), scheme_markup); @@ -1140,7 +1140,7 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, } else { - message_details = g_strdup (_("gedit cannot handle this location in write mode. " + message_details = g_strdup (_("pluma cannot handle this location in write mode. " "Please check that you typed the " "location correctly and try again.")); } @@ -1181,8 +1181,8 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, "a limitation on length of the file names. " "Please use a shorter name.")); } - else if (error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_TOO_BIG) + else if (error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_TOO_BIG) { message_details = g_strdup (_("The disk where you are trying to save the file has " "a limitation on file sizes. Please try saving " @@ -1216,7 +1216,7 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, } GtkWidget * -gedit_externally_modified_message_area_new (const gchar *uri, +pluma_externally_modified_message_area_new (const gchar *uri, gboolean document_modified) { gchar *full_formatted_uri; @@ -1228,13 +1228,13 @@ gedit_externally_modified_message_area_new (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); - full_formatted_uri = gedit_utils_uri_for_display (uri); + full_formatted_uri = pluma_utils_uri_for_display (uri); /* Truncate the URI so it doesn't get insanely wide. Note that even * though the dialog uses wrapped text, if the URI doesn't contain * white space then the text-wrapping code is too stupid to wrap it. */ - temp_uri_for_display = gedit_utils_str_middle_truncate (full_formatted_uri, + temp_uri_for_display = pluma_utils_str_middle_truncate (full_formatted_uri, MAX_URI_IN_DIALOG_LENGTH); g_free (full_formatted_uri); @@ -1254,14 +1254,14 @@ gedit_externally_modified_message_area_new (const gchar *uri, secondary_text = _("Do you want to reload the file?"); #if !GTK_CHECK_VERSION (2, 17, 1) - message_area = gedit_message_area_new (); + message_area = pluma_message_area_new (); - gedit_message_area_add_stock_button_with_text (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_stock_button_with_text (PLUMA_MESSAGE_AREA (message_area), _("_Reload"), GTK_STOCK_REFRESH, GTK_RESPONSE_OK); - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (message_area), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); #else diff --git a/gedit/gedit-io-error-message-area.h b/pluma/pluma-io-error-message-area.h similarity index 58% rename from gedit/gedit-io-error-message-area.h rename to pluma/pluma-io-error-message-area.h index 69a4d90..fbe9142 100755 --- a/gedit/gedit-io-error-message-area.h +++ b/pluma/pluma-io-error-message-area.h @@ -1,6 +1,6 @@ /* - * gedit-io-error-message-area.h - * This file is part of gedit + * pluma-io-error-message-area.h + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,48 +21,48 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_IO_ERROR_MESSAGE_AREA_H__ -#define __GEDIT_IO_ERROR_MESSAGE_AREA_H__ +#ifndef __PLUMA_IO_ERROR_MESSAGE_AREA_H__ +#define __PLUMA_IO_ERROR_MESSAGE_AREA_H__ #include G_BEGIN_DECLS -GtkWidget *gedit_io_loading_error_message_area_new (const gchar *uri, - const GeditEncoding *encoding, +GtkWidget *pluma_io_loading_error_message_area_new (const gchar *uri, + const PlumaEncoding *encoding, const GError *error); -GtkWidget *gedit_unrecoverable_reverting_error_message_area_new (const gchar *uri, +GtkWidget *pluma_unrecoverable_reverting_error_message_area_new (const gchar *uri, const GError *error); -GtkWidget *gedit_conversion_error_while_saving_message_area_new (const gchar *uri, - const GeditEncoding *encoding, +GtkWidget *pluma_conversion_error_while_saving_message_area_new (const gchar *uri, + const PlumaEncoding *encoding, const GError *error); -const GeditEncoding - *gedit_conversion_error_message_area_get_encoding (GtkWidget *message_area); +const PlumaEncoding + *pluma_conversion_error_message_area_get_encoding (GtkWidget *message_area); -GtkWidget *gedit_file_already_open_warning_message_area_new (const gchar *uri); +GtkWidget *pluma_file_already_open_warning_message_area_new (const gchar *uri); -GtkWidget *gedit_externally_modified_saving_error_message_area_new (const gchar *uri, +GtkWidget *pluma_externally_modified_saving_error_message_area_new (const gchar *uri, const GError *error); -GtkWidget *gedit_no_backup_saving_error_message_area_new (const gchar *uri, +GtkWidget *pluma_no_backup_saving_error_message_area_new (const gchar *uri, const GError *error); -GtkWidget *gedit_unrecoverable_saving_error_message_area_new (const gchar *uri, +GtkWidget *pluma_unrecoverable_saving_error_message_area_new (const gchar *uri, const GError *error); -GtkWidget *gedit_externally_modified_message_area_new (const gchar *uri, +GtkWidget *pluma_externally_modified_message_area_new (const gchar *uri, gboolean document_modified); G_END_DECLS -#endif /* __GEDIT_IO_ERROR_MESSAGE_AREA_H__ */ +#endif /* __PLUMA_IO_ERROR_MESSAGE_AREA_H__ */ diff --git a/gedit/gedit-language-manager.c b/pluma/pluma-language-manager.c similarity index 84% rename from gedit/gedit-language-manager.c rename to pluma/pluma-language-manager.c index a402e4a..4398f51 100755 --- a/gedit/gedit-language-manager.c +++ b/pluma/pluma-language-manager.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-languages-manager.c - * This file is part of gedit + * pluma-languages-manager.c + * This file is part of pluma * * Copyright (C) 2003-2006 - Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2003-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2003-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -31,15 +31,15 @@ #include -#include "gedit-language-manager.h" -#include "gedit-prefs-manager.h" -#include "gedit-utils.h" -#include "gedit-debug.h" +#include "pluma-language-manager.h" +#include "pluma-prefs-manager.h" +#include "pluma-utils.h" +#include "pluma-debug.h" static GtkSourceLanguageManager *language_manager = NULL; GtkSourceLanguageManager * -gedit_get_language_manager (void) +pluma_get_language_manager (void) { if (language_manager == NULL) { @@ -61,7 +61,7 @@ language_compare (gconstpointer a, gconstpointer b) } GSList * -gedit_language_manager_list_languages_sorted (GtkSourceLanguageManager *lm, +pluma_language_manager_list_languages_sorted (GtkSourceLanguageManager *lm, gboolean include_hidden) { GSList *languages = NULL; diff --git a/gedit/gedit-language-manager.h b/pluma/pluma-language-manager.h similarity index 73% rename from gedit/gedit-language-manager.h rename to pluma/pluma-language-manager.h index 02438d3..29eddee 100755 --- a/gedit/gedit-language-manager.h +++ b/pluma/pluma-language-manager.h @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-languages-manager.h - * This file is part of gedit + * pluma-languages-manager.h + * This file is part of pluma * * Copyright (C) 2003-2005 - Paolo Maggi * @@ -22,26 +22,26 @@ */ /* - * Modified by the gedit Team, 2003-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2003-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_LANGUAGES_MANAGER_H__ -#define __GEDIT_LANGUAGES_MANAGER_H__ +#ifndef __PLUMA_LANGUAGES_MANAGER_H__ +#define __PLUMA_LANGUAGES_MANAGER_H__ #include G_BEGIN_DECLS -GtkSourceLanguageManager *gedit_get_language_manager (void); +GtkSourceLanguageManager *pluma_get_language_manager (void); -GSList *gedit_language_manager_list_languages_sorted +GSList *pluma_language_manager_list_languages_sorted (GtkSourceLanguageManager *lm, gboolean include_hidden); G_END_DECLS -#endif /* __GEDIT_LANGUAGES_MANAGER_H__ */ +#endif /* __PLUMA_LANGUAGES_MANAGER_H__ */ diff --git a/gedit/gedit-marshal.list b/pluma/pluma-marshal.list similarity index 100% rename from gedit/gedit-marshal.list rename to pluma/pluma-marshal.list diff --git a/gedit/gedit-message-area.c b/pluma/pluma-message-area.c similarity index 74% rename from gedit/gedit-message-area.c rename to pluma/pluma-message-area.c index 0924051..3a19167 100755 --- a/gedit/gedit-message-area.c +++ b/pluma/pluma-message-area.c @@ -1,6 +1,6 @@ /* - * gedit-message-area.c - * This file is part of gedit + * pluma-message-area.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -39,13 +39,13 @@ #include #include -#include "gedit-message-area.h" +#include "pluma-message-area.h" -#define GEDIT_MESSAGE_AREA_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_MESSAGE_AREA, \ - GeditMessageAreaPrivate)) +#define PLUMA_MESSAGE_AREA_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_MESSAGE_AREA, \ + PlumaMessageAreaPrivate)) -struct _GeditMessageAreaPrivate +struct _PlumaMessageAreaPrivate { GtkWidget *main_hbox; @@ -70,17 +70,17 @@ enum { static guint signals[LAST_SIGNAL]; -G_DEFINE_TYPE(GeditMessageArea, gedit_message_area, GTK_TYPE_HBOX) +G_DEFINE_TYPE(PlumaMessageArea, pluma_message_area, GTK_TYPE_HBOX) static void -gedit_message_area_finalize (GObject *object) +pluma_message_area_finalize (GObject *object) { /* - GeditMessageArea *message_area = GEDIT_MESSAGE_AREA (object); + PlumaMessageArea *message_area = PLUMA_MESSAGE_AREA (object); */ - G_OBJECT_CLASS (gedit_message_area_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_message_area_parent_class)->finalize (object); } static ResponseData * @@ -88,14 +88,14 @@ get_response_data (GtkWidget *widget, gboolean create) { ResponseData *ad = g_object_get_data (G_OBJECT (widget), - "gedit-message-area-response-data"); + "pluma-message-area-response-data"); if (ad == NULL && create) { ad = g_new (ResponseData, 1); g_object_set_data_full (G_OBJECT (widget), - "gedit-message-area-response-data", + "pluma-message-area-response-data", ad, g_free); } @@ -104,7 +104,7 @@ get_response_data (GtkWidget *widget, } static GtkWidget * -find_button (GeditMessageArea *message_area, +find_button (PlumaMessageArea *message_area, gint response_id) { GList *children, *tmp_list; @@ -130,13 +130,13 @@ find_button (GeditMessageArea *message_area, } static void -gedit_message_area_close (GeditMessageArea *message_area) +pluma_message_area_close (PlumaMessageArea *message_area) { if (!find_button (message_area, GTK_RESPONSE_CANCEL)) return; /* emit response signal */ - gedit_message_area_response (GEDIT_MESSAGE_AREA (message_area), + pluma_message_area_response (PLUMA_MESSAGE_AREA (message_area), GTK_RESPONSE_CANCEL); } @@ -161,22 +161,22 @@ paint_message_area (GtkWidget *widget, } static void -gedit_message_area_class_init (GeditMessageAreaClass *klass) +pluma_message_area_class_init (PlumaMessageAreaClass *klass) { GObjectClass *object_class; GtkBindingSet *binding_set; object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_message_area_finalize; + object_class->finalize = pluma_message_area_finalize; - klass->close = gedit_message_area_close; + klass->close = pluma_message_area_close; - g_type_class_add_private (object_class, sizeof(GeditMessageAreaPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaMessageAreaPrivate)); signals[RESPONSE] = g_signal_new ("response", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditMessageAreaClass, response), + G_STRUCT_OFFSET (PlumaMessageAreaClass, response), NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, @@ -185,7 +185,7 @@ gedit_message_area_class_init (GeditMessageAreaClass *klass) signals[CLOSE] = g_signal_new ("close", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (GeditMessageAreaClass, close), + G_STRUCT_OFFSET (PlumaMessageAreaClass, close), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); @@ -198,7 +198,7 @@ gedit_message_area_class_init (GeditMessageAreaClass *klass) static void style_set (GtkWidget *widget, GtkStyle *prev_style, - GeditMessageArea *message_area) + PlumaMessageArea *message_area) { GtkWidget *window; GtkStyle *style; @@ -222,9 +222,9 @@ style_set (GtkWidget *widget, } static void -gedit_message_area_init (GeditMessageArea *message_area) +pluma_message_area_init (PlumaMessageArea *message_area) { - message_area->priv = GEDIT_MESSAGE_AREA_GET_PRIVATE (message_area); + message_area->priv = PLUMA_MESSAGE_AREA_GET_PRIVATE (message_area); message_area->priv->main_hbox = gtk_hbox_new (FALSE, 16); /* FIXME: use style properties */ gtk_widget_show (message_area->priv->main_hbox); @@ -263,7 +263,7 @@ gedit_message_area_init (GeditMessageArea *message_area) } static gint -get_response_for_widget (GeditMessageArea *message_area, +get_response_for_widget (PlumaMessageArea *message_area, GtkWidget *widget) { ResponseData *rd; @@ -276,24 +276,24 @@ get_response_for_widget (GeditMessageArea *message_area, } static void -action_widget_activated (GtkWidget *widget, GeditMessageArea *message_area) +action_widget_activated (GtkWidget *widget, PlumaMessageArea *message_area) { gint response_id; response_id = get_response_for_widget (message_area, widget); - gedit_message_area_response (message_area, response_id); + pluma_message_area_response (message_area, response_id); } void -gedit_message_area_add_action_widget (GeditMessageArea *message_area, +pluma_message_area_add_action_widget (PlumaMessageArea *message_area, GtkWidget *child, gint response_id) { ResponseData *ad; guint signal_id; - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); g_return_if_fail (GTK_IS_WIDGET (child)); ad = get_response_data (child, TRUE); @@ -319,7 +319,7 @@ gedit_message_area_add_action_widget (GeditMessageArea *message_area, FALSE); } else - g_warning ("Only 'activatable' widgets can be packed into the action area of a GeditMessageArea"); + g_warning ("Only 'activatable' widgets can be packed into the action area of a PlumaMessageArea"); if (response_id != GTK_RESPONSE_HELP) gtk_box_pack_start (GTK_BOX (message_area->priv->action_area), @@ -336,17 +336,17 @@ gedit_message_area_add_action_widget (GeditMessageArea *message_area, } /** - * gedit_message_area_set_contents: - * @message_area: a #GeditMessageArea + * pluma_message_area_set_contents: + * @message_area: a #PlumaMessageArea * @contents: widget you want to add to the contents area * - * Adds the @contents widget to the contents area of #GeditMessageArea. + * Adds the @contents widget to the contents area of #PlumaMessageArea. */ void -gedit_message_area_set_contents (GeditMessageArea *message_area, +pluma_message_area_set_contents (PlumaMessageArea *message_area, GtkWidget *contents) { - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); g_return_if_fail (GTK_IS_WIDGET (contents)); message_area->priv->contents = contents; @@ -358,8 +358,8 @@ gedit_message_area_set_contents (GeditMessageArea *message_area, } /** - * gedit_message_area_add_button: - * @message_area: a #GeditMessageArea + * pluma_message_area_add_button: + * @message_area: a #PlumaMessageArea * @button_text: text of button, or stock ID * @response_id: response ID for the button * @@ -371,13 +371,13 @@ gedit_message_area_set_contents (GeditMessageArea *message_area, * Returns: the button widget that was added */ GtkWidget* -gedit_message_area_add_button (GeditMessageArea *message_area, +pluma_message_area_add_button (PlumaMessageArea *message_area, const gchar *button_text, gint response_id) { GtkWidget *button; - g_return_val_if_fail (GEDIT_IS_MESSAGE_AREA (message_area), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE_AREA (message_area), NULL); g_return_val_if_fail (button_text != NULL, NULL); button = gtk_button_new_from_stock (button_text); @@ -386,7 +386,7 @@ gedit_message_area_add_button (GeditMessageArea *message_area, gtk_widget_show (button); - gedit_message_area_add_action_widget (message_area, + pluma_message_area_add_action_widget (message_area, button, response_id); @@ -394,14 +394,14 @@ gedit_message_area_add_button (GeditMessageArea *message_area, } static void -add_buttons_valist (GeditMessageArea *message_area, +add_buttons_valist (PlumaMessageArea *message_area, const gchar *first_button_text, va_list args) { const gchar* text; gint response_id; - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); if (first_button_text == NULL) return; @@ -411,7 +411,7 @@ add_buttons_valist (GeditMessageArea *message_area, while (text != NULL) { - gedit_message_area_add_button (message_area, + pluma_message_area_add_button (message_area, text, response_id); @@ -424,17 +424,17 @@ add_buttons_valist (GeditMessageArea *message_area, } /** - * gedit_message_area_add_buttons: - * @message_area: a #GeditMessageArea + * pluma_message_area_add_buttons: + * @message_area: a #PlumaMessageArea * @first_button_text: button text or stock ID * @...: response ID for first button, then more text-response_id pairs * - * Adds more buttons, same as calling gedit_message_area_add_button() repeatedly. + * Adds more buttons, same as calling pluma_message_area_add_button() repeatedly. * The variable argument list should be NULL-terminated as with - * gedit_message_area_new_with_buttons(). Each button must have both text and response ID. + * pluma_message_area_new_with_buttons(). Each button must have both text and response ID. */ void -gedit_message_area_add_buttons (GeditMessageArea *message_area, +pluma_message_area_add_buttons (PlumaMessageArea *message_area, const gchar *first_button_text, ...) { @@ -450,40 +450,40 @@ gedit_message_area_add_buttons (GeditMessageArea *message_area, } /** - * gedit_message_area_new: + * pluma_message_area_new: * - * Creates a new #GeditMessageArea object. + * Creates a new #PlumaMessageArea object. * - * Returns: a new #GeditMessageArea object + * Returns: a new #PlumaMessageArea object */ GtkWidget * -gedit_message_area_new (void) +pluma_message_area_new (void) { - return g_object_new (GEDIT_TYPE_MESSAGE_AREA, NULL); + return g_object_new (PLUMA_TYPE_MESSAGE_AREA, NULL); } /** - * gedit_message_area_new_with_buttons: + * pluma_message_area_new_with_buttons: * @first_button_text: stock ID or text to go in first button, or NULL * @...: response ID for first button, then additional buttons, ending with NULL * - * Creates a new #GeditMessageArea with buttons. Button text/response ID pairs + * Creates a new #PlumaMessageArea with buttons. Button text/response ID pairs * should be listed, with a NULL pointer ending the list. Button text can be either * a stock ID such as GTK_STOCK_OK, or some arbitrary text. A response ID can be any * positive number, or one of the values in the GtkResponseType enumeration. If - * the user clicks one of these dialog buttons, GeditMessageArea will emit the "response" + * the user clicks one of these dialog buttons, PlumaMessageArea will emit the "response" * signal with the corresponding response ID. * - * Returns: a new #GeditMessageArea + * Returns: a new #PlumaMessageArea */ GtkWidget * -gedit_message_area_new_with_buttons (const gchar *first_button_text, +pluma_message_area_new_with_buttons (const gchar *first_button_text, ...) { - GeditMessageArea *message_area; + PlumaMessageArea *message_area; va_list args; - message_area = GEDIT_MESSAGE_AREA (gedit_message_area_new ()); + message_area = PLUMA_MESSAGE_AREA (pluma_message_area_new ()); va_start (args, first_button_text); @@ -497,8 +497,8 @@ gedit_message_area_new_with_buttons (const gchar *first_button_text, } /** - * gedit_message_area_set_response_sensitive: - * @message_area: a #GeditMessageArea + * pluma_message_area_set_response_sensitive: + * @message_area: a #PlumaMessageArea * @response_id: a response ID * @setting: TRUE for sensitive * @@ -507,14 +507,14 @@ gedit_message_area_new_with_buttons (const gchar *first_button_text, * dialog buttons. */ void -gedit_message_area_set_response_sensitive (GeditMessageArea *message_area, +pluma_message_area_set_response_sensitive (PlumaMessageArea *message_area, gint response_id, gboolean setting) { GList *children; GList *tmp_list; - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); children = gtk_container_get_children (GTK_CONTAINER (message_area->priv->action_area)); @@ -534,8 +534,8 @@ gedit_message_area_set_response_sensitive (GeditMessageArea *message_area, } /** - * gedit_message_area_set_default_response: - * @message_area: a #GeditMessageArea + * pluma_message_area_set_default_response: + * @message_area: a #PlumaMessageArea * @response_id: a response ID * * Sets the last widget in the message area's action area with the given response_id @@ -543,13 +543,13 @@ gedit_message_area_set_response_sensitive (GeditMessageArea *message_area, * default widget. */ void -gedit_message_area_set_default_response (GeditMessageArea *message_area, +pluma_message_area_set_default_response (PlumaMessageArea *message_area, gint response_id) { GList *children; GList *tmp_list; - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); children = gtk_container_get_children (GTK_CONTAINER (message_area->priv->action_area)); @@ -569,17 +569,17 @@ gedit_message_area_set_default_response (GeditMessageArea *message_area, } /** - * gedit_message_area_set_default_response: - * @message_area: a #GeditMessageArea + * pluma_message_area_set_default_response: + * @message_area: a #PlumaMessageArea * @response_id: a response ID * * Emits the 'response' signal with the given @response_id. */ void -gedit_message_area_response (GeditMessageArea *message_area, +pluma_message_area_response (PlumaMessageArea *message_area, gint response_id) { - g_return_if_fail (GEDIT_IS_MESSAGE_AREA (message_area)); + g_return_if_fail (PLUMA_IS_MESSAGE_AREA (message_area)); g_signal_emit (message_area, signals[RESPONSE], @@ -588,23 +588,23 @@ gedit_message_area_response (GeditMessageArea *message_area, } /** - * gedit_message_area_add_stock_button_with_text: - * @message_area: a #GeditMessageArea + * pluma_message_area_add_stock_button_with_text: + * @message_area: a #PlumaMessageArea * @text: the text to visualize in the button * @stock_id: the stock ID of the button * @response_id: a response ID * - * Same as gedit_message_area_add_button() but with a specific text. + * Same as pluma_message_area_add_button() but with a specific text. */ GtkWidget * -gedit_message_area_add_stock_button_with_text (GeditMessageArea *message_area, +pluma_message_area_add_stock_button_with_text (PlumaMessageArea *message_area, const gchar *text, const gchar *stock_id, gint response_id) { GtkWidget *button; - g_return_val_if_fail (GEDIT_IS_MESSAGE_AREA (message_area), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE_AREA (message_area), NULL); g_return_val_if_fail (text != NULL, NULL); g_return_val_if_fail (stock_id != NULL, NULL); @@ -617,7 +617,7 @@ gedit_message_area_add_stock_button_with_text (GeditMessageArea *message_area, gtk_widget_show (button); - gedit_message_area_add_action_widget (message_area, + pluma_message_area_add_action_widget (message_area, button, response_id); diff --git a/gedit/gedit-message-area.h b/pluma/pluma-message-area.h similarity index 52% rename from gedit/gedit-message-area.h rename to pluma/pluma-message-area.h index 01dfff0..e011160 100755 --- a/gedit/gedit-message-area.h +++ b/pluma/pluma-message-area.h @@ -1,6 +1,6 @@ /* - * gedit-message-area.h - * This file is part of gedit + * pluma-message-area.h + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,15 +21,15 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_MESSAGE_AREA_H__ -#define __GEDIT_MESSAGE_AREA_H__ +#ifndef __PLUMA_MESSAGE_AREA_H__ +#define __PLUMA_MESSAGE_AREA_H__ #include @@ -38,92 +38,92 @@ G_BEGIN_DECLS /* * Type checking and casting macros */ -#define GEDIT_TYPE_MESSAGE_AREA (gedit_message_area_get_type()) -#define GEDIT_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_MESSAGE_AREA, GeditMessageArea)) -#define GEDIT_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_MESSAGE_AREA, GeditMessageAreaClass)) -#define GEDIT_IS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_MESSAGE_AREA)) -#define GEDIT_IS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_MESSAGE_AREA)) -#define GEDIT_MESSAGE_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_MESSAGE_AREA, GeditMessageAreaClass)) +#define PLUMA_TYPE_MESSAGE_AREA (pluma_message_area_get_type()) +#define PLUMA_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_MESSAGE_AREA, PlumaMessageArea)) +#define PLUMA_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_MESSAGE_AREA, PlumaMessageAreaClass)) +#define PLUMA_IS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_MESSAGE_AREA)) +#define PLUMA_IS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_MESSAGE_AREA)) +#define PLUMA_MESSAGE_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_MESSAGE_AREA, PlumaMessageAreaClass)) /* Private structure type */ -typedef struct _GeditMessageAreaPrivate GeditMessageAreaPrivate; +typedef struct _PlumaMessageAreaPrivate PlumaMessageAreaPrivate; /* * Main object structure */ -typedef struct _GeditMessageArea GeditMessageArea; +typedef struct _PlumaMessageArea PlumaMessageArea; -struct _GeditMessageArea +struct _PlumaMessageArea { GtkHBox parent; /*< private > */ - GeditMessageAreaPrivate *priv; + PlumaMessageAreaPrivate *priv; }; /* * Class definition */ -typedef struct _GeditMessageAreaClass GeditMessageAreaClass; +typedef struct _PlumaMessageAreaClass PlumaMessageAreaClass; -struct _GeditMessageAreaClass +struct _PlumaMessageAreaClass { GtkHBoxClass parent_class; /* Signals */ - void (* response) (GeditMessageArea *message_area, gint response_id); + void (* response) (PlumaMessageArea *message_area, gint response_id); /* Keybinding signals */ - void (* close) (GeditMessageArea *message_area); + void (* close) (PlumaMessageArea *message_area); /* Padding for future expansion */ - void (*_gedit_reserved1) (void); - void (*_gedit_reserved2) (void); + void (*_pluma_reserved1) (void); + void (*_pluma_reserved2) (void); }; /* * Public methods */ -GType gedit_message_area_get_type (void) G_GNUC_CONST; +GType pluma_message_area_get_type (void) G_GNUC_CONST; -GtkWidget *gedit_message_area_new (void); +GtkWidget *pluma_message_area_new (void); -GtkWidget *gedit_message_area_new_with_buttons (const gchar *first_button_text, +GtkWidget *pluma_message_area_new_with_buttons (const gchar *first_button_text, ...); -void gedit_message_area_set_contents (GeditMessageArea *message_area, +void pluma_message_area_set_contents (PlumaMessageArea *message_area, GtkWidget *contents); -void gedit_message_area_add_action_widget (GeditMessageArea *message_area, +void pluma_message_area_add_action_widget (PlumaMessageArea *message_area, GtkWidget *child, gint response_id); -GtkWidget *gedit_message_area_add_button (GeditMessageArea *message_area, +GtkWidget *pluma_message_area_add_button (PlumaMessageArea *message_area, const gchar *button_text, gint response_id); -GtkWidget *gedit_message_area_add_stock_button_with_text - (GeditMessageArea *message_area, +GtkWidget *pluma_message_area_add_stock_button_with_text + (PlumaMessageArea *message_area, const gchar *text, const gchar *stock_id, gint response_id); -void gedit_message_area_add_buttons (GeditMessageArea *message_area, +void pluma_message_area_add_buttons (PlumaMessageArea *message_area, const gchar *first_button_text, ...); -void gedit_message_area_set_response_sensitive - (GeditMessageArea *message_area, +void pluma_message_area_set_response_sensitive + (PlumaMessageArea *message_area, gint response_id, gboolean setting); -void gedit_message_area_set_default_response - (GeditMessageArea *message_area, +void pluma_message_area_set_default_response + (PlumaMessageArea *message_area, gint response_id); /* Emit response signal */ -void gedit_message_area_response (GeditMessageArea *message_area, +void pluma_message_area_response (PlumaMessageArea *message_area, gint response_id); G_END_DECLS -#endif /* __GEDIT_MESSAGE_AREA_H__ */ +#endif /* __PLUMA_MESSAGE_AREA_H__ */ diff --git a/gedit/gedit-message-bus.c b/pluma/pluma-message-bus.c similarity index 65% rename from gedit/gedit-message-bus.c rename to pluma/pluma-message-bus.c index bb6017a..043c4da 100755 --- a/gedit/gedit-message-bus.c +++ b/pluma/pluma-message-bus.c @@ -1,34 +1,34 @@ -#include "gedit-message-bus.h" +#include "pluma-message-bus.h" #include #include #include /** - * GeditMessageCallback: - * @bus: the #GeditMessageBus on which the message was sent - * @message: the #GeditMessage which was sent + * PlumaMessageCallback: + * @bus: the #PlumaMessageBus on which the message was sent + * @message: the #PlumaMessage which was sent * @userdata: the supplied user data when connecting the callback * * Callback signature used for connecting callback functions to be called - * when a message is received (see gedit_message_bus_connect()). + * when a message is received (see pluma_message_bus_connect()). * */ /** - * SECTION:gedit-message-bus + * SECTION:pluma-message-bus * @short_description: internal message communication bus - * @include: gedit/gedit-message-bus.h + * @include: pluma/pluma-message-bus.h * - * gedit has a communication bus very similar to DBus. Its primary use is to + * pluma has a communication bus very similar to DBus. Its primary use is to * allow easy communication between plugins, but it can also be used to expose - * gedit functionality to external applications by providing DBus bindings for - * the internal gedit message bus. + * pluma functionality to external applications by providing DBus bindings for + * the internal pluma message bus. * * There are two different communication busses available. The default bus - * (see gedit_message_bus_get_default()) is an application wide communication - * bus. In addition, each #GeditWindow has a separate, private bus - * (see gedit_window_get_message_bus()). This makes it easier for plugins to + * (see pluma_message_bus_get_default()) is an application wide communication + * bus. In addition, each #PlumaWindow has a separate, private bus + * (see pluma_window_get_message_bus()). This makes it easier for plugins to * communicate to other plugins in the same window. * * The concept of the message bus is very simple. You can register a message @@ -42,11 +42,11 @@ * * Registering a message type * - * GeditMessageBus *bus = gedit_message_bus_get_default (); + * PlumaMessageBus *bus = pluma_message_bus_get_default (); * * // Register 'method' at '/plugins/example' with one required * // string argument 'arg1' - * GeditMessageType *message_type = gedit_message_bus_register ("/plugins/example", "method", + * PlumaMessageType *message_type = pluma_message_bus_register ("/plugins/example", "method", * 0, * "arg1", G_TYPE_STRING, * NULL); @@ -56,20 +56,20 @@ * Connecting a callback * * static void - * example_method_cb (GeditMessageBus *bus, - * GeditMessage *message, + * example_method_cb (PlumaMessageBus *bus, + * PlumaMessage *message, * gpointer userdata) * { * gchar *arg1 = NULL; * - * gedit_message_get (message, "arg1", &arg1, NULL); + * pluma_message_get (message, "arg1", &arg1, NULL); * g_message ("Evoked /plugins/example.method with: %s", arg1); * g_free (arg1); * } * - * GeditMessageBus *bus = gedit_message_bus_get_default (); + * PlumaMessageBus *bus = pluma_message_bus_get_default (); * - * guint id = gedit_message_bus_connect (bus, + * guint id = pluma_message_bus_connect (bus, * "/plugins/example", "method", * example_method_cb, * NULL, @@ -80,9 +80,9 @@ * * Sending a message * - * GeditMessageBus *bus = gedit_message_bus_get_default (); + * PlumaMessageBus *bus = pluma_message_bus_get_default (); * - * gedit_message_bus_send (bus, + * pluma_message_bus_send (bus, * "/plugins/example", "method", * "arg1", "Hello World", * NULL); @@ -93,7 +93,7 @@ * */ -#define GEDIT_MESSAGE_BUS_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBusPrivate)) +#define PLUMA_MESSAGE_BUS_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_MESSAGE_BUS, PlumaMessageBusPrivate)) typedef struct { @@ -109,7 +109,7 @@ typedef struct gboolean blocked; GDestroyNotify destroy_data; - GeditMessageCallback callback; + PlumaMessageCallback callback; gpointer userdata; } Listener; @@ -119,7 +119,7 @@ typedef struct GList *listener; } IdMap; -struct _GeditMessageBusPrivate +struct _PlumaMessageBusPrivate { GHashTable *messages; GHashTable *idmap; @@ -129,7 +129,7 @@ struct _GeditMessageBusPrivate guint next_id; - GHashTable *types; /* mapping from identifier to GeditMessageType */ + GHashTable *types; /* mapping from identifier to PlumaMessageType */ }; /* signals */ @@ -143,10 +143,10 @@ enum static guint message_bus_signals[LAST_SIGNAL]; -static void gedit_message_bus_dispatch_real (GeditMessageBus *bus, - GeditMessage *message); +static void pluma_message_bus_dispatch_real (PlumaMessageBus *bus, + PlumaMessage *message); -G_DEFINE_TYPE(GeditMessageBus, gedit_message_bus, G_TYPE_OBJECT) +G_DEFINE_TYPE(PlumaMessageBus, pluma_message_bus, G_TYPE_OBJECT) static void listener_free (Listener *listener) @@ -177,9 +177,9 @@ message_queue_free (GList *queue) } static void -gedit_message_bus_finalize (GObject *object) +pluma_message_bus_finalize (GObject *object) { - GeditMessageBus *bus = GEDIT_MESSAGE_BUS (object); + PlumaMessageBus *bus = PLUMA_MESSAGE_BUS (object); if (bus->priv->idle_id != 0) g_source_remove (bus->priv->idle_id); @@ -190,22 +190,22 @@ gedit_message_bus_finalize (GObject *object) g_hash_table_destroy (bus->priv->idmap); g_hash_table_destroy (bus->priv->types); - G_OBJECT_CLASS (gedit_message_bus_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_message_bus_parent_class)->finalize (object); } static void -gedit_message_bus_class_init (GeditMessageBusClass *klass) +pluma_message_bus_class_init (PlumaMessageBusClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_message_bus_finalize; + object_class->finalize = pluma_message_bus_finalize; - klass->dispatch = gedit_message_bus_dispatch_real; + klass->dispatch = pluma_message_bus_dispatch_real; /** - * GeditMessageBus::dispatch: - * @bus: a #GeditMessageBus - * @message: the #GeditMessage to dispatch + * PlumaMessageBus::dispatch: + * @bus: a #PlumaMessageBus + * @message: the #PlumaMessage to dispatch * * The "dispatch" signal is emitted when a message is to be dispatched. * The message is dispatched in the default handler of this signal. @@ -217,17 +217,17 @@ gedit_message_bus_class_init (GeditMessageBusClass *klass) g_signal_new ("dispatch", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditMessageBusClass, dispatch), + G_STRUCT_OFFSET (PlumaMessageBusClass, dispatch), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, - GEDIT_TYPE_MESSAGE); + PLUMA_TYPE_MESSAGE); /** - * GeditMessageBus::registered: - * @bus: a #GeditMessageBus - * @message_type: the registered #GeditMessageType + * PlumaMessageBus::registered: + * @bus: a #PlumaMessageBus + * @message_type: the registered #PlumaMessageType * * The "registered" signal is emitted when a message has been registered * on the bus. @@ -237,17 +237,17 @@ gedit_message_bus_class_init (GeditMessageBusClass *klass) g_signal_new ("registered", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditMessageBusClass, registered), + G_STRUCT_OFFSET (PlumaMessageBusClass, registered), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, - GEDIT_TYPE_MESSAGE_TYPE); + PLUMA_TYPE_MESSAGE_TYPE); /** - * GeditMessageBus::unregistered: - * @bus: a #GeditMessageBus - * @message_type: the unregistered #GeditMessageType + * PlumaMessageBus::unregistered: + * @bus: a #PlumaMessageBus + * @message_type: the unregistered #PlumaMessageType * * The "unregistered" signal is emitted when a message has been * unregistered from the bus. @@ -257,18 +257,18 @@ gedit_message_bus_class_init (GeditMessageBusClass *klass) g_signal_new ("unregistered", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditMessageBusClass, unregistered), + G_STRUCT_OFFSET (PlumaMessageBusClass, unregistered), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, - GEDIT_TYPE_MESSAGE_TYPE); + PLUMA_TYPE_MESSAGE_TYPE); - g_type_class_add_private (object_class, sizeof(GeditMessageBusPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaMessageBusPrivate)); } static Message * -message_new (GeditMessageBus *bus, +message_new (PlumaMessageBus *bus, const gchar *object_path, const gchar *method) { @@ -279,13 +279,13 @@ message_new (GeditMessageBus *bus, message->listeners = NULL; g_hash_table_insert (bus->priv->messages, - gedit_message_type_identifier (object_path, method), + pluma_message_type_identifier (object_path, method), message); return message; } static Message * -lookup_message (GeditMessageBus *bus, +lookup_message (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, gboolean create) @@ -293,7 +293,7 @@ lookup_message (GeditMessageBus *bus, gchar *identifier; Message *message; - identifier = gedit_message_type_identifier (object_path, method); + identifier = pluma_message_type_identifier (object_path, method); message = (Message *)g_hash_table_lookup (bus->priv->messages, identifier); g_free (identifier); @@ -307,9 +307,9 @@ lookup_message (GeditMessageBus *bus, } static guint -add_listener (GeditMessageBus *bus, +add_listener (PlumaMessageBus *bus, Message *message, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata, GDestroyNotify destroy_data) { @@ -334,7 +334,7 @@ add_listener (GeditMessageBus *bus, } static void -remove_listener (GeditMessageBus *bus, +remove_listener (PlumaMessageBus *bus, Message *message, GList *listener) { @@ -357,7 +357,7 @@ remove_listener (GeditMessageBus *bus, } static void -block_listener (GeditMessageBus *bus, +block_listener (PlumaMessageBus *bus, Message *message, GList *listener) { @@ -368,7 +368,7 @@ block_listener (GeditMessageBus *bus, } static void -unblock_listener (GeditMessageBus *bus, +unblock_listener (PlumaMessageBus *bus, Message *message, GList *listener) { @@ -379,9 +379,9 @@ unblock_listener (GeditMessageBus *bus, } static void -dispatch_message_real (GeditMessageBus *bus, +dispatch_message_real (PlumaMessageBus *bus, Message *msg, - GeditMessage *message) + PlumaMessage *message) { GList *item; @@ -395,15 +395,15 @@ dispatch_message_real (GeditMessageBus *bus, } static void -gedit_message_bus_dispatch_real (GeditMessageBus *bus, - GeditMessage *message) +pluma_message_bus_dispatch_real (PlumaMessageBus *bus, + PlumaMessage *message) { const gchar *object_path; const gchar *method; Message *msg; - object_path = gedit_message_get_object_path (message); - method = gedit_message_get_method (message); + object_path = pluma_message_get_object_path (message); + method = pluma_message_get_method (message); msg = lookup_message (bus, object_path, method, FALSE); @@ -412,14 +412,14 @@ gedit_message_bus_dispatch_real (GeditMessageBus *bus, } static void -dispatch_message (GeditMessageBus *bus, - GeditMessage *message) +dispatch_message (PlumaMessageBus *bus, + PlumaMessage *message) { g_signal_emit (bus, message_bus_signals[DISPATCH], 0, message); } static gboolean -idle_dispatch (GeditMessageBus *bus) +idle_dispatch (PlumaMessageBus *bus) { GList *list; GList *item; @@ -434,7 +434,7 @@ idle_dispatch (GeditMessageBus *bus) for (item = list; item; item = item->next) { - GeditMessage *msg = GEDIT_MESSAGE (item->data); + PlumaMessage *msg = PLUMA_MESSAGE (item->data); dispatch_message (bus, msg); } @@ -443,10 +443,10 @@ idle_dispatch (GeditMessageBus *bus) return FALSE; } -typedef void (*MatchCallback) (GeditMessageBus *, Message *, GList *); +typedef void (*MatchCallback) (PlumaMessageBus *, Message *, GList *); static void -process_by_id (GeditMessageBus *bus, +process_by_id (PlumaMessageBus *bus, guint id, MatchCallback processor) { @@ -464,10 +464,10 @@ process_by_id (GeditMessageBus *bus, } static void -process_by_match (GeditMessageBus *bus, +process_by_match (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata, MatchCallback processor) { @@ -498,9 +498,9 @@ process_by_match (GeditMessageBus *bus, } static void -gedit_message_bus_init (GeditMessageBus *self) +pluma_message_bus_init (PlumaMessageBus *self) { - self->priv = GEDIT_MESSAGE_BUS_GET_PRIVATE (self); + self->priv = PLUMA_MESSAGE_BUS_GET_PRIVATE (self); self->priv->messages = g_hash_table_new_full (g_str_hash, g_str_equal, @@ -515,25 +515,25 @@ gedit_message_bus_init (GeditMessageBus *self) self->priv->types = g_hash_table_new_full (g_str_hash, g_str_equal, (GDestroyNotify)g_free, - (GDestroyNotify)gedit_message_type_unref); + (GDestroyNotify)pluma_message_type_unref); } /** - * gedit_message_bus_get_default: + * pluma_message_bus_get_default: * - * Get the default application #GeditMessageBus. + * Get the default application #PlumaMessageBus. * - * Return value: the default #GeditMessageBus + * Return value: the default #PlumaMessageBus * */ -GeditMessageBus * -gedit_message_bus_get_default (void) +PlumaMessageBus * +pluma_message_bus_get_default (void) { - static GeditMessageBus *default_bus = NULL; + static PlumaMessageBus *default_bus = NULL; if (G_UNLIKELY (default_bus == NULL)) { - default_bus = g_object_new (GEDIT_TYPE_MESSAGE_BUS, NULL); + default_bus = g_object_new (PLUMA_TYPE_MESSAGE_BUS, NULL); g_object_add_weak_pointer (G_OBJECT (default_bus), (gpointer) &default_bus); } @@ -542,56 +542,56 @@ gedit_message_bus_get_default (void) } /** - * gedit_message_bus_new: + * pluma_message_bus_new: * - * Create a new message bus. Use gedit_message_bus_get_default() to get the + * Create a new message bus. Use pluma_message_bus_get_default() to get the * default, application wide, message bus. Creating a new bus is useful for - * associating a specific bus with for instance a #GeditWindow. + * associating a specific bus with for instance a #PlumaWindow. * - * Return value: a new #GeditMessageBus + * Return value: a new #PlumaMessageBus * */ -GeditMessageBus * -gedit_message_bus_new (void) +PlumaMessageBus * +pluma_message_bus_new (void) { - return GEDIT_MESSAGE_BUS (g_object_new (GEDIT_TYPE_MESSAGE_BUS, NULL)); + return PLUMA_MESSAGE_BUS (g_object_new (PLUMA_TYPE_MESSAGE_BUS, NULL)); } /** - * gedit_message_bus_lookup: - * @bus: a #GeditMessageBus + * pluma_message_bus_lookup: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * - * Get the registered #GeditMessageType for @method at @object_path. The - * returned #GeditMessageType is owned by the bus and should not be unreffed. + * Get the registered #PlumaMessageType for @method at @object_path. The + * returned #PlumaMessageType is owned by the bus and should not be unreffed. * - * Return value: the registered #GeditMessageType or %NULL if no message type + * Return value: the registered #PlumaMessageType or %NULL if no message type * is registered for @method at @object_path * */ -GeditMessageType * -gedit_message_bus_lookup (GeditMessageBus *bus, +PlumaMessageType * +pluma_message_bus_lookup (PlumaMessageBus *bus, const gchar *object_path, const gchar *method) { gchar *identifier; - GeditMessageType *message_type; + PlumaMessageType *message_type; - g_return_val_if_fail (GEDIT_IS_MESSAGE_BUS (bus), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE_BUS (bus), NULL); g_return_val_if_fail (object_path != NULL, NULL); g_return_val_if_fail (method != NULL, NULL); - identifier = gedit_message_type_identifier (object_path, method); - message_type = GEDIT_MESSAGE_TYPE (g_hash_table_lookup (bus->priv->types, identifier)); + identifier = pluma_message_type_identifier (object_path, method); + message_type = PLUMA_MESSAGE_TYPE (g_hash_table_lookup (bus->priv->types, identifier)); g_free (identifier); return message_type; } /** - * gedit_message_bus_register: - * @bus: a #GeditMessageBus + * pluma_message_bus_register: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method to register * @num_optional: the number of optional arguments @@ -604,15 +604,15 @@ gedit_message_bus_lookup (GeditMessageBus *bus, * last @num_optional arguments are registered as optional (and are thus not * required when sending a message). * - * This function emits a #GeditMessageBus::registered signal. + * This function emits a #PlumaMessageBus::registered signal. * - * Return value: the registered #GeditMessageType. The returned reference is + * Return value: the registered #PlumaMessageType. The returned reference is * owned by the bus. If you want to keep it alive after - * unregistering, use gedit_message_type_ref(). + * unregistering, use pluma_message_type_ref(). * */ -GeditMessageType * -gedit_message_bus_register (GeditMessageBus *bus, +PlumaMessageType * +pluma_message_bus_register (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, guint num_optional, @@ -621,22 +621,22 @@ gedit_message_bus_register (GeditMessageBus *bus, gchar *identifier; gpointer data; va_list var_args; - GeditMessageType *message_type; + PlumaMessageType *message_type; - g_return_val_if_fail (GEDIT_IS_MESSAGE_BUS (bus), NULL); - g_return_val_if_fail (gedit_message_type_is_valid_object_path (object_path), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE_BUS (bus), NULL); + g_return_val_if_fail (pluma_message_type_is_valid_object_path (object_path), NULL); - if (gedit_message_bus_is_registered (bus, object_path, method)) + if (pluma_message_bus_is_registered (bus, object_path, method)) { g_warning ("Message type for '%s.%s' is already registered", object_path, method); return NULL; } - identifier = gedit_message_type_identifier (object_path, method); + identifier = pluma_message_type_identifier (object_path, method); data = g_hash_table_lookup (bus->priv->types, identifier); va_start (var_args, num_optional); - message_type = gedit_message_type_new_valist (object_path, + message_type = pluma_message_type_new_valist (object_path, method, num_optional, var_args); @@ -656,61 +656,61 @@ gedit_message_bus_register (GeditMessageBus *bus, } static void -gedit_message_bus_unregister_real (GeditMessageBus *bus, - GeditMessageType *message_type, +pluma_message_bus_unregister_real (PlumaMessageBus *bus, + PlumaMessageType *message_type, gboolean remove_from_store) { gchar *identifier; - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); - identifier = gedit_message_type_identifier (gedit_message_type_get_object_path (message_type), - gedit_message_type_get_method (message_type)); + identifier = pluma_message_type_identifier (pluma_message_type_get_object_path (message_type), + pluma_message_type_get_method (message_type)); /* Keep message type alive for signal emission */ - gedit_message_type_ref (message_type); + pluma_message_type_ref (message_type); if (!remove_from_store || g_hash_table_remove (bus->priv->types, identifier)) g_signal_emit (bus, message_bus_signals[UNREGISTERED], 0, message_type); - gedit_message_type_unref (message_type); + pluma_message_type_unref (message_type); g_free (identifier); } /** - * gedit_message_bus_unregister: - * @bus: a #GeditMessageBus - * @message_type: the #GeditMessageType to unregister + * pluma_message_bus_unregister: + * @bus: a #PlumaMessageBus + * @message_type: the #PlumaMessageType to unregister * * Unregisters a previously registered message type. This is especially useful * for plugins which should unregister message types when they are deactivated. * - * This function emits the #GeditMessageBus::unregistered signal. + * This function emits the #PlumaMessageBus::unregistered signal. * */ void -gedit_message_bus_unregister (GeditMessageBus *bus, - GeditMessageType *message_type) +pluma_message_bus_unregister (PlumaMessageBus *bus, + PlumaMessageType *message_type) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); - gedit_message_bus_unregister_real (bus, message_type, TRUE); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); + pluma_message_bus_unregister_real (bus, message_type, TRUE); } typedef struct { - GeditMessageBus *bus; + PlumaMessageBus *bus; const gchar *object_path; } UnregisterInfo; static gboolean unregister_each (const gchar *identifier, - GeditMessageType *message_type, + PlumaMessageType *message_type, UnregisterInfo *info) { - if (strcmp (gedit_message_type_get_object_path (message_type), + if (strcmp (pluma_message_type_get_object_path (message_type), info->object_path) == 0) { - gedit_message_bus_unregister_real (info->bus, message_type, FALSE); + pluma_message_bus_unregister_real (info->bus, message_type, FALSE); return TRUE; } @@ -718,24 +718,24 @@ unregister_each (const gchar *identifier, } /** - * gedit_message_bus_unregister_all: - * @bus: a #GeditMessageBus + * pluma_message_bus_unregister_all: + * @bus: a #PlumaMessageBus * @object_path: the object path * * Unregisters all message types for @object_path. This is especially useful for * plugins which should unregister message types when they are deactivated. * - * This function emits the #GeditMessageBus::unregistered signal for all + * This function emits the #PlumaMessageBus::unregistered signal for all * unregistered message types. * */ void -gedit_message_bus_unregister_all (GeditMessageBus *bus, +pluma_message_bus_unregister_all (PlumaMessageBus *bus, const gchar *object_path) { UnregisterInfo info = {bus, object_path}; - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); g_return_if_fail (object_path != NULL); g_hash_table_foreach_remove (bus->priv->types, @@ -744,8 +744,8 @@ gedit_message_bus_unregister_all (GeditMessageBus *bus, } /** - * gedit_message_bus_is_registered: - * @bus: a #GeditMessageBus + * pluma_message_bus_is_registered: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @@ -757,18 +757,18 @@ gedit_message_bus_unregister_all (GeditMessageBus *bus, * */ gboolean -gedit_message_bus_is_registered (GeditMessageBus *bus, +pluma_message_bus_is_registered (PlumaMessageBus *bus, const gchar *object_path, const gchar *method) { gchar *identifier; gboolean ret; - g_return_val_if_fail (GEDIT_IS_MESSAGE_BUS (bus), FALSE); + g_return_val_if_fail (PLUMA_IS_MESSAGE_BUS (bus), FALSE); g_return_val_if_fail (object_path != NULL, FALSE); g_return_val_if_fail (method != NULL, FALSE); - identifier = gedit_message_type_identifier (object_path, method); + identifier = pluma_message_type_identifier (object_path, method); ret = g_hash_table_lookup (bus->priv->types, identifier) != NULL; g_free(identifier); @@ -777,23 +777,23 @@ gedit_message_bus_is_registered (GeditMessageBus *bus, typedef struct { - GeditMessageBusForeach func; + PlumaMessageBusForeach func; gpointer userdata; } ForeachInfo; static void foreach_type (const gchar *key, - GeditMessageType *message_type, + PlumaMessageType *message_type, ForeachInfo *info) { - gedit_message_type_ref (message_type); + pluma_message_type_ref (message_type); info->func (message_type, info->userdata); - gedit_message_type_unref (message_type); + pluma_message_type_unref (message_type); } /** - * gedit_message_bus_foreach: - * @bus: the #GeditMessagebus + * pluma_message_bus_foreach: + * @bus: the #PlumaMessagebus * @func: the callback function * @userdata: the user data to supply to the callback function * @@ -801,21 +801,21 @@ foreach_type (const gchar *key, * */ void -gedit_message_bus_foreach (GeditMessageBus *bus, - GeditMessageBusForeach func, +pluma_message_bus_foreach (PlumaMessageBus *bus, + PlumaMessageBusForeach func, gpointer userdata) { ForeachInfo info = {func, userdata}; - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); g_return_if_fail (func != NULL); g_hash_table_foreach (bus->priv->types, (GHFunc)foreach_type, &info); } /** - * gedit_message_bus_connect: - * @bus: a #GeditMessageBus + * pluma_message_bus_connect: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @callback: function to be called when message @method at @object_path is sent @@ -830,16 +830,16 @@ gedit_message_bus_foreach (GeditMessageBus *bus, * */ guint -gedit_message_bus_connect (GeditMessageBus *bus, +pluma_message_bus_connect (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata, GDestroyNotify destroy_data) { Message *message; - g_return_val_if_fail (GEDIT_IS_MESSAGE_BUS (bus), 0); + g_return_val_if_fail (PLUMA_IS_MESSAGE_BUS (bus), 0); g_return_val_if_fail (object_path != NULL, 0); g_return_val_if_fail (method != NULL, 0); g_return_val_if_fail (callback != NULL, 0); @@ -851,25 +851,25 @@ gedit_message_bus_connect (GeditMessageBus *bus, } /** - * gedit_message_bus_disconnect: - * @bus: a #GeditMessageBus - * @id: the callback id as returned by gedit_message_bus_connect() + * pluma_message_bus_disconnect: + * @bus: a #PlumaMessageBus + * @id: the callback id as returned by pluma_message_bus_connect() * * Disconnects a previously connected message callback. * */ void -gedit_message_bus_disconnect (GeditMessageBus *bus, +pluma_message_bus_disconnect (PlumaMessageBus *bus, guint id) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_id (bus, id, remove_listener); } /** - * gedit_message_bus_disconnect_by_func: - * @bus: a #GeditMessageBus + * pluma_message_bus_disconnect_by_func: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @callback: the connected callback @@ -877,83 +877,83 @@ gedit_message_bus_disconnect (GeditMessageBus *bus, * * Disconnects a previously connected message callback by matching the * provided callback function and userdata. See also - * gedit_message_bus_disconnect(). + * pluma_message_bus_disconnect(). * */ void -gedit_message_bus_disconnect_by_func (GeditMessageBus *bus, +pluma_message_bus_disconnect_by_func (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_match (bus, object_path, method, callback, userdata, remove_listener); } /** - * gedit_message_bus_block: - * @bus: a #GeditMessageBus + * pluma_message_bus_block: + * @bus: a #PlumaMessageBus * @id: the callback id * * Blocks evoking the callback specified by @id. Unblock the callback by - * using gedit_message_bus_unblock(). + * using pluma_message_bus_unblock(). * */ void -gedit_message_bus_block (GeditMessageBus *bus, +pluma_message_bus_block (PlumaMessageBus *bus, guint id) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_id (bus, id, block_listener); } /** - * gedit_message_bus_block_by_func: - * @bus: a #GeditMessageBus + * pluma_message_bus_block_by_func: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @callback: the callback to block * @userdata: the userdata with which the callback was connected * * Blocks evoking the callback that matches provided @callback and @userdata. - * Unblock the callback using gedit_message_unblock_by_func(). + * Unblock the callback using pluma_message_unblock_by_func(). * */ void -gedit_message_bus_block_by_func (GeditMessageBus *bus, +pluma_message_bus_block_by_func (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_match (bus, object_path, method, callback, userdata, block_listener); } /** - * gedit_message_bus_unblock: - * @bus: a #GeditMessageBus + * pluma_message_bus_unblock: + * @bus: a #PlumaMessageBus * @id: the callback id * * Unblocks the callback specified by @id. * */ void -gedit_message_bus_unblock (GeditMessageBus *bus, +pluma_message_bus_unblock (PlumaMessageBus *bus, guint id) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_id (bus, id, unblock_listener); } /** - * gedit_message_bus_unblock_by_func: - * @bus: a #GeditMessageBus + * pluma_message_bus_unblock_by_func: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @callback: the callback to block @@ -963,24 +963,24 @@ gedit_message_bus_unblock (GeditMessageBus *bus, * */ void -gedit_message_bus_unblock_by_func (GeditMessageBus *bus, +pluma_message_bus_unblock_by_func (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, - GeditMessageCallback callback, + PlumaMessageCallback callback, gpointer userdata) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); process_by_match (bus, object_path, method, callback, userdata, unblock_listener); } static gboolean -validate_message (GeditMessage *message) +validate_message (PlumaMessage *message) { - if (!gedit_message_validate (message)) + if (!pluma_message_validate (message)) { - g_warning ("Message '%s.%s' is invalid", gedit_message_get_object_path (message), - gedit_message_get_method (message)); + g_warning ("Message '%s.%s' is invalid", pluma_message_get_object_path (message), + pluma_message_get_method (message)); return FALSE; } @@ -988,8 +988,8 @@ validate_message (GeditMessage *message) } static void -send_message_real (GeditMessageBus *bus, - GeditMessage *message) +send_message_real (PlumaMessageBus *bus, + PlumaMessage *message) { if (!validate_message (message)) { @@ -1007,29 +1007,29 @@ send_message_real (GeditMessageBus *bus, } /** - * gedit_message_bus_send_message: - * @bus: a #GeditMessageBus + * pluma_message_bus_send_message: + * @bus: a #PlumaMessageBus * @message: the message to send * * This sends the provided @message asynchronously over the bus. To send - * a message synchronously, use gedit_message_bus_send_message_sync(). The - * convenience function gedit_message_bus_send() can be used to easily send + * a message synchronously, use pluma_message_bus_send_message_sync(). The + * convenience function pluma_message_bus_send() can be used to easily send * a message without constructing the message object explicitly first. * */ void -gedit_message_bus_send_message (GeditMessageBus *bus, - GeditMessage *message) +pluma_message_bus_send_message (PlumaMessageBus *bus, + PlumaMessage *message) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); send_message_real (bus, message); } static void -send_message_sync_real (GeditMessageBus *bus, - GeditMessage *message) +send_message_sync_real (PlumaMessageBus *bus, + PlumaMessage *message) { if (!validate_message (message)) { @@ -1040,35 +1040,35 @@ send_message_sync_real (GeditMessageBus *bus, } /** - * gedit_message_bus_send_message_sync: - * @bus: a #GeditMessageBus + * pluma_message_bus_send_message_sync: + * @bus: a #PlumaMessageBus * @message: the message to send * * This sends the provided @message synchronously over the bus. To send - * a message asynchronously, use gedit_message_bus_send_message(). The - * convenience function gedit_message_bus_send_sync() can be used to easily send + * a message asynchronously, use pluma_message_bus_send_message(). The + * convenience function pluma_message_bus_send_sync() can be used to easily send * a message without constructing the message object explicitly first. * */ void -gedit_message_bus_send_message_sync (GeditMessageBus *bus, - GeditMessage *message) +pluma_message_bus_send_message_sync (PlumaMessageBus *bus, + PlumaMessage *message) { - g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus)); - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE_BUS (bus)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); send_message_sync_real (bus, message); } -static GeditMessage * -create_message (GeditMessageBus *bus, +static PlumaMessage * +create_message (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, va_list var_args) { - GeditMessageType *message_type; + PlumaMessageType *message_type; - message_type = gedit_message_bus_lookup (bus, object_path, method); + message_type = pluma_message_bus_lookup (bus, object_path, method); if (!message_type) { @@ -1076,13 +1076,13 @@ create_message (GeditMessageBus *bus, return NULL; } - return gedit_message_type_instantiate_valist (message_type, + return pluma_message_type_instantiate_valist (message_type, var_args); } /** - * gedit_message_bus_send: - * @bus: a #GeditMessageBus + * pluma_message_bus_send: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @...: NULL terminated list of key/value pairs @@ -1090,17 +1090,17 @@ create_message (GeditMessageBus *bus, * This provides a convenient way to quickly send a message @method at * @object_path asynchronously over the bus. The variable argument list * specifies key (string) value pairs used to construct the message arguments. - * To send a message synchronously use gedit_message_bus_send_sync(). + * To send a message synchronously use pluma_message_bus_send_sync(). * */ void -gedit_message_bus_send (GeditMessageBus *bus, +pluma_message_bus_send (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, ...) { va_list var_args; - GeditMessage *message; + PlumaMessage *message; va_start (var_args, method); @@ -1120,8 +1120,8 @@ gedit_message_bus_send (GeditMessageBus *bus, } /** - * gedit_message_bus_send_sync: - * @bus: a #GeditMessageBus + * pluma_message_bus_send_sync: + * @bus: a #PlumaMessageBus * @object_path: the object path * @method: the method * @...: NULL terminated list of key/value pairs @@ -1129,20 +1129,20 @@ gedit_message_bus_send (GeditMessageBus *bus, * This provides a convenient way to quickly send a message @method at * @object_path synchronously over the bus. The variable argument list * specifies key (string) value pairs used to construct the message - * arguments. To send a message asynchronously use gedit_message_bus_send(). + * arguments. To send a message asynchronously use pluma_message_bus_send(). * - * Return value: the constructed #GeditMessage. The caller owns a reference - * to the #GeditMessage and should call g_object_unref() when + * Return value: the constructed #PlumaMessage. The caller owns a reference + * to the #PlumaMessage and should call g_object_unref() when * it is no longer needed */ -GeditMessage * -gedit_message_bus_send_sync (GeditMessageBus *bus, +PlumaMessage * +pluma_message_bus_send_sync (PlumaMessageBus *bus, const gchar *object_path, const gchar *method, ...) { va_list var_args; - GeditMessage *message; + PlumaMessage *message; va_start (var_args, method); message = create_message (bus, object_path, method, var_args); diff --git a/pluma/pluma-message-bus.h b/pluma/pluma-message-bus.h new file mode 100755 index 0000000..67b3068 --- /dev/null +++ b/pluma/pluma-message-bus.h @@ -0,0 +1,129 @@ +#ifndef __PLUMA_MESSAGE_BUS_H__ +#define __PLUMA_MESSAGE_BUS_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_MESSAGE_BUS (pluma_message_bus_get_type ()) +#define PLUMA_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_MESSAGE_BUS, PlumaMessageBus)) +#define PLUMA_MESSAGE_BUS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_MESSAGE_BUS, PlumaMessageBus const)) +#define PLUMA_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_MESSAGE_BUS, PlumaMessageBusClass)) +#define PLUMA_IS_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_MESSAGE_BUS)) +#define PLUMA_IS_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_MESSAGE_BUS)) +#define PLUMA_MESSAGE_BUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_MESSAGE_BUS, PlumaMessageBusClass)) + +typedef struct _PlumaMessageBus PlumaMessageBus; +typedef struct _PlumaMessageBusClass PlumaMessageBusClass; +typedef struct _PlumaMessageBusPrivate PlumaMessageBusPrivate; + +struct _PlumaMessageBus { + GObject parent; + + PlumaMessageBusPrivate *priv; +}; + +struct _PlumaMessageBusClass { + GObjectClass parent_class; + + void (*dispatch) (PlumaMessageBus *bus, + PlumaMessage *message); + void (*registered) (PlumaMessageBus *bus, + PlumaMessageType *message_type); + void (*unregistered) (PlumaMessageBus *bus, + PlumaMessageType *message_type); +}; + +typedef void (* PlumaMessageCallback) (PlumaMessageBus *bus, + PlumaMessage *message, + gpointer userdata); + +typedef void (* PlumaMessageBusForeach) (PlumaMessageType *message_type, + gpointer userdata); + +GType pluma_message_bus_get_type (void) G_GNUC_CONST; + +PlumaMessageBus *pluma_message_bus_get_default (void); +PlumaMessageBus *pluma_message_bus_new (void); + +/* registering messages */ +PlumaMessageType *pluma_message_bus_lookup (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method); +PlumaMessageType *pluma_message_bus_register (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + guint num_optional, + ...) G_GNUC_NULL_TERMINATED; + +void pluma_message_bus_unregister (PlumaMessageBus *bus, + PlumaMessageType *message_type); + +void pluma_message_bus_unregister_all (PlumaMessageBus *bus, + const gchar *object_path); + +gboolean pluma_message_bus_is_registered (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method); + +void pluma_message_bus_foreach (PlumaMessageBus *bus, + PlumaMessageBusForeach func, + gpointer userdata); + + +/* connecting to message events */ +guint pluma_message_bus_connect (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + PlumaMessageCallback callback, + gpointer userdata, + GDestroyNotify destroy_data); + +void pluma_message_bus_disconnect (PlumaMessageBus *bus, + guint id); + +void pluma_message_bus_disconnect_by_func (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + PlumaMessageCallback callback, + gpointer userdata); + +/* blocking message event callbacks */ +void pluma_message_bus_block (PlumaMessageBus *bus, + guint id); +void pluma_message_bus_block_by_func (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + PlumaMessageCallback callback, + gpointer userdata); + +void pluma_message_bus_unblock (PlumaMessageBus *bus, + guint id); +void pluma_message_bus_unblock_by_func (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + PlumaMessageCallback callback, + gpointer userdata); + +/* sending messages */ +void pluma_message_bus_send_message (PlumaMessageBus *bus, + PlumaMessage *message); +void pluma_message_bus_send_message_sync (PlumaMessageBus *bus, + PlumaMessage *message); + +void pluma_message_bus_send (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + ...) G_GNUC_NULL_TERMINATED; +PlumaMessage *pluma_message_bus_send_sync (PlumaMessageBus *bus, + const gchar *object_path, + const gchar *method, + ...) G_GNUC_NULL_TERMINATED; + +G_END_DECLS + +#endif /* __PLUMA_MESSAGE_BUS_H__ */ + +// ex:ts=8:noet: diff --git a/gedit/gedit-message-type.c b/pluma/pluma-message-type.c similarity index 69% rename from gedit/gedit-message-type.c rename to pluma/pluma-message-type.c index 61e782b..838dc7d 100755 --- a/gedit/gedit-message-type.c +++ b/pluma/pluma-message-type.c @@ -1,34 +1,34 @@ -#include "gedit-message-type.h" +#include "pluma-message-type.h" /** - * SECTION:gedit-message-type + * SECTION:pluma-message-type * @short_description: message type description - * @include: gedit/gedit-message-type.h + * @include: pluma/pluma-message-type.h * - * A message type is a prototype description for a #GeditMessage used to - * transmit messages on a #GeditMessageBus. The message type describes + * A message type is a prototype description for a #PlumaMessage used to + * transmit messages on a #PlumaMessageBus. The message type describes * the Object Path, Method and Arguments of the message. * * A message type can contain any number of required and optional arguments. - * To instantiate a #GeditMessage from a #GeditMessageType, use - * gedit_message_type_instantiate(). + * To instantiate a #PlumaMessage from a #PlumaMessageType, use + * pluma_message_type_instantiate(). * - * Registering a new message type on a #GeditMessageBus with - * gedit_message_bus_register() internally creates a new #GeditMessageType. When - * then using gedit_message_bus_send(), an actual instantiation of the + * Registering a new message type on a #PlumaMessageBus with + * pluma_message_bus_register() internally creates a new #PlumaMessageType. When + * then using pluma_message_bus_send(), an actual instantiation of the * registered type is internally created and send over the bus. * * * * // Defining a new message type - * GeditMessageType *message_type = gedit_message_type_new ("/plugins/example", + * PlumaMessageType *message_type = pluma_message_type_new ("/plugins/example", * "method", * 0, * "arg1", G_TYPE_STRING, * NULL); * * // Instantiating an actual message from the type - * GeditMessage *message = gedit_message_type_instantiate (message_type, + * PlumaMessage *message = pluma_message_type_instantiate (message_type, * "arg1", "Hello World", * NULL); * @@ -43,7 +43,7 @@ typedef struct gboolean required; } ArgumentInfo; -struct _GeditMessageType +struct _PlumaMessageType { gint ref_count; @@ -57,16 +57,16 @@ struct _GeditMessageType }; /** - * gedit_message_type_ref: - * @message_type: the #GeditMessageType + * pluma_message_type_ref: + * @message_type: the #PlumaMessageType * * Increases the reference count on @message_type. * * Return value: @message_type * */ -GeditMessageType * -gedit_message_type_ref (GeditMessageType *message_type) +PlumaMessageType * +pluma_message_type_ref (PlumaMessageType *message_type) { g_return_val_if_fail (message_type != NULL, NULL); g_atomic_int_inc (&message_type->ref_count); @@ -75,15 +75,15 @@ gedit_message_type_ref (GeditMessageType *message_type) } /** - * gedit_message_type_unref: - * @message_type: the #GeditMessageType + * pluma_message_type_unref: + * @message_type: the #PlumaMessageType * * Decreases the reference count on @message_type. When the reference count * drops to 0, @message_type is destroyed. * */ void -gedit_message_type_unref (GeditMessageType *message_type) +pluma_message_type_unref (PlumaMessageType *message_type) { g_return_if_fail (message_type != NULL); @@ -98,29 +98,29 @@ gedit_message_type_unref (GeditMessageType *message_type) } /** - * gedit_message_type_get_type: + * pluma_message_type_get_type: * * Retrieves the GType object which is associated with the - * #GeditMessageType class. + * #PlumaMessageType class. * - * Return value: the GType associated with #GeditMessageType. + * Return value: the GType associated with #PlumaMessageType. **/ GType -gedit_message_type_get_type (void) +pluma_message_type_get_type (void) { static GType our_type = 0; if (!our_type) our_type = g_boxed_type_register_static ( - "GeditMessageType", - (GBoxedCopyFunc) gedit_message_type_ref, - (GBoxedFreeFunc) gedit_message_type_unref); + "PlumaMessageType", + (GBoxedCopyFunc) pluma_message_type_ref, + (GBoxedFreeFunc) pluma_message_type_unref); return our_type; } /** - * gedit_message_type_identifier: + * pluma_message_type_identifier: * @object_path: the object path * @method: the method * @@ -130,14 +130,14 @@ gedit_message_type_get_type (void) * */ gchar * -gedit_message_type_identifier (const gchar *object_path, +pluma_message_type_identifier (const gchar *object_path, const gchar *method) { return g_strconcat (object_path, ".", method, NULL); } /** - * gedit_message_type_is_valid_object_path: + * pluma_message_type_is_valid_object_path: * @object_path: the object path * * Returns whether @object_path is a valid object path @@ -146,7 +146,7 @@ gedit_message_type_identifier (const gchar *object_path, * */ gboolean -gedit_message_type_is_valid_object_path (const gchar *object_path) +pluma_message_type_is_valid_object_path (const gchar *object_path) { if (!object_path) return FALSE; @@ -176,7 +176,7 @@ gedit_message_type_is_valid_object_path (const gchar *object_path) } /** - * gedit_message_type_is_supported: + * pluma_message_type_is_supported: * @type: the #GType * * Returns if @type is #GType supported by the message system. @@ -185,7 +185,7 @@ gedit_message_type_is_valid_object_path (const gchar *object_path) * */ gboolean -gedit_message_type_is_supported (GType type) +pluma_message_type_is_supported (GType type) { gint i = 0; @@ -225,32 +225,32 @@ gedit_message_type_is_supported (GType type) } /** - * gedit_message_type_new_valist: + * pluma_message_type_new_valist: * @object_path: the object path * @method: the method * @num_optional: number of optional arguments * @var_args: key/gtype pair variable argument list * - * Create a new #GeditMessageType for @method at @object_path. Argument names + * Create a new #PlumaMessageType for @method at @object_path. Argument names * and values are supplied by the NULL terminated variable argument list. * The last @num_optional provided arguments are considered optional. * - * Return value: the newly constructed #GeditMessageType + * Return value: the newly constructed #PlumaMessageType * */ -GeditMessageType * -gedit_message_type_new_valist (const gchar *object_path, +PlumaMessageType * +pluma_message_type_new_valist (const gchar *object_path, const gchar *method, guint num_optional, va_list var_args) { - GeditMessageType *message_type; + PlumaMessageType *message_type; g_return_val_if_fail (object_path != NULL, NULL); g_return_val_if_fail (method != NULL, NULL); - g_return_val_if_fail (gedit_message_type_is_valid_object_path (object_path), NULL); + g_return_val_if_fail (pluma_message_type_is_valid_object_path (object_path), NULL); - message_type = g_new0(GeditMessageType, 1); + message_type = g_new0(PlumaMessageType, 1); message_type->ref_count = 1; message_type->object_path = g_strdup(object_path); @@ -261,43 +261,43 @@ gedit_message_type_new_valist (const gchar *object_path, (GDestroyNotify)g_free, (GDestroyNotify)g_free); - gedit_message_type_set_valist (message_type, num_optional, var_args); + pluma_message_type_set_valist (message_type, num_optional, var_args); return message_type; } /** - * gedit_message_type_new: + * pluma_message_type_new: * @object_path: the object path * @method: the method * @num_optional: number of optional arguments * @...: key/gtype pair variable argument list * - * Create a new #GeditMessageType for @method at @object_path. Argument names + * Create a new #PlumaMessageType for @method at @object_path. Argument names * and values are supplied by the NULL terminated variable argument list. * The last @num_optional provided arguments are considered optional. * - * Return value: the newly constructed #GeditMessageType + * Return value: the newly constructed #PlumaMessageType * */ -GeditMessageType * -gedit_message_type_new (const gchar *object_path, +PlumaMessageType * +pluma_message_type_new (const gchar *object_path, const gchar *method, guint num_optional, ...) { - GeditMessageType *message_type; + PlumaMessageType *message_type; va_list var_args; va_start(var_args, num_optional); - message_type = gedit_message_type_new_valist (object_path, method, num_optional, var_args); + message_type = pluma_message_type_new_valist (object_path, method, num_optional, var_args); va_end(var_args); return message_type; } /** - * gedit_message_type_set: - * @message_type: the #GeditMessageType + * pluma_message_type_set: + * @message_type: the #PlumaMessageType * @num_optional: number of optional arguments * @...: key/gtype pair variable argument list * @@ -307,20 +307,20 @@ gedit_message_type_new (const gchar *object_path, * */ void -gedit_message_type_set (GeditMessageType *message_type, +pluma_message_type_set (PlumaMessageType *message_type, guint num_optional, ...) { va_list va_args; va_start (va_args, num_optional); - gedit_message_type_set_valist (message_type, num_optional, va_args); + pluma_message_type_set_valist (message_type, num_optional, va_args); va_end (va_args); } /** - * gedit_message_type_set_valist: - * @message_type: the #GeditMessageType + * pluma_message_type_set_valist: + * @message_type: the #PlumaMessageType * @num_optional: number of optional arguments * @var_args: key/gtype pair variable argument list * @@ -330,7 +330,7 @@ gedit_message_type_set (GeditMessageType *message_type, * */ void -gedit_message_type_set_valist (GeditMessageType *message_type, +pluma_message_type_set_valist (PlumaMessageType *message_type, guint num_optional, va_list var_args) { @@ -346,11 +346,11 @@ gedit_message_type_set_valist (GeditMessageType *message_type, GType gtype = va_arg (var_args, GType); ArgumentInfo *info; - if (!gedit_message_type_is_supported (gtype)) + if (!pluma_message_type_is_supported (gtype)) { g_error ("Message type '%s' is not supported", g_type_name (gtype)); - gedit_message_type_unref (message_type); + pluma_message_type_unref (message_type); g_free (optional); return; @@ -390,8 +390,8 @@ gedit_message_type_set_valist (GeditMessageType *message_type, } /** - * gedit_message_type_instantiate_valist: - * @message_type: the #GeditMessageType + * pluma_message_type_instantiate_valist: + * @message_type: the #PlumaMessageType * @va_args: NULL terminated variable list of key/value pairs * * Instantiate a new message from the message type with specific values @@ -400,23 +400,23 @@ gedit_message_type_set_valist (GeditMessageType *message_type, * Return value: the newly created message * */ -GeditMessage * -gedit_message_type_instantiate_valist (GeditMessageType *message_type, +PlumaMessage * +pluma_message_type_instantiate_valist (PlumaMessageType *message_type, va_list va_args) { - GeditMessage *message; + PlumaMessage *message; g_return_val_if_fail (message_type != NULL, NULL); - message = GEDIT_MESSAGE (g_object_new (GEDIT_TYPE_MESSAGE, "type", message_type, NULL)); - gedit_message_set_valist (message, va_args); + message = PLUMA_MESSAGE (g_object_new (PLUMA_TYPE_MESSAGE, "type", message_type, NULL)); + pluma_message_set_valist (message, va_args); return message; } /** - * gedit_message_type_instantiate: - * @message_type: the #GeditMessageType + * pluma_message_type_instantiate: + * @message_type: the #PlumaMessageType * @...: NULL terminated variable list of key/value pairs * * Instantiate a new message from the message type with specific values @@ -425,23 +425,23 @@ gedit_message_type_instantiate_valist (GeditMessageType *message_type, * Return value: the newly created message * */ -GeditMessage * -gedit_message_type_instantiate (GeditMessageType *message_type, +PlumaMessage * +pluma_message_type_instantiate (PlumaMessageType *message_type, ...) { - GeditMessage *message; + PlumaMessage *message; va_list va_args; va_start (va_args, message_type); - message = gedit_message_type_instantiate_valist (message_type, va_args); + message = pluma_message_type_instantiate_valist (message_type, va_args); va_end (va_args); return message; } /** - * gedit_message_type_get_object_path: - * @message_type: the #GeditMessageType + * pluma_message_type_get_object_path: + * @message_type: the #PlumaMessageType * * Get the message type object path. * @@ -449,14 +449,14 @@ gedit_message_type_instantiate (GeditMessageType *message_type, * */ const gchar * -gedit_message_type_get_object_path (GeditMessageType *message_type) +pluma_message_type_get_object_path (PlumaMessageType *message_type) { return message_type->object_path; } /** - * gedit_message_type_get_method: - * @message_type: the #GeditMessageType + * pluma_message_type_get_method: + * @message_type: the #PlumaMessageType * * Get the message type method. * @@ -464,14 +464,14 @@ gedit_message_type_get_object_path (GeditMessageType *message_type) * */ const gchar * -gedit_message_type_get_method (GeditMessageType *message_type) +pluma_message_type_get_method (PlumaMessageType *message_type) { return message_type->method; } /** - * gedit_message_type_lookup: - * @message_type: the #GeditMessageType + * pluma_message_type_lookup: + * @message_type: the #PlumaMessageType * @key: the argument key * * Get the argument key #GType. @@ -480,7 +480,7 @@ gedit_message_type_get_method (GeditMessageType *message_type) * */ GType -gedit_message_type_lookup (GeditMessageType *message_type, +pluma_message_type_lookup (PlumaMessageType *message_type, const gchar *key) { ArgumentInfo *info = g_hash_table_lookup (message_type->arguments, key); @@ -493,7 +493,7 @@ gedit_message_type_lookup (GeditMessageType *message_type, typedef struct { - GeditMessageTypeForeach func; + PlumaMessageTypeForeach func; gpointer user_data; } ForeachInfo; @@ -506,8 +506,8 @@ foreach_gtype (const gchar *key, } /** - * gedit_message_type_foreach: - * @message_type: the #GeditMessageType + * pluma_message_type_foreach: + * @message_type: the #PlumaMessageType * @func: the callback function * @user_data: user data supplied to the callback function * @@ -515,8 +515,8 @@ foreach_gtype (const gchar *key, * */ void -gedit_message_type_foreach (GeditMessageType *message_type, - GeditMessageTypeForeach func, +pluma_message_type_foreach (PlumaMessageType *message_type, + PlumaMessageTypeForeach func, gpointer user_data) { ForeachInfo info = {func, user_data}; diff --git a/pluma/pluma-message-type.h b/pluma/pluma-message-type.h new file mode 100755 index 0000000..af5d47d --- /dev/null +++ b/pluma/pluma-message-type.h @@ -0,0 +1,67 @@ +#ifndef __PLUMA_MESSAGE_TYPE_H__ +#define __PLUMA_MESSAGE_TYPE_H__ + +#include +#include + +#include "pluma-message.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_MESSAGE_TYPE (pluma_message_type_get_type ()) +#define PLUMA_MESSAGE_TYPE(x) ((PlumaMessageType *)(x)) + +typedef void (*PlumaMessageTypeForeach) (const gchar *key, + GType type, + gboolean required, + gpointer user_data); + +typedef struct _PlumaMessageType PlumaMessageType; + +GType pluma_message_type_get_type (void) G_GNUC_CONST; + +gboolean pluma_message_type_is_supported (GType type); +gchar *pluma_message_type_identifier (const gchar *object_path, + const gchar *method); +gboolean pluma_message_type_is_valid_object_path (const gchar *object_path); + +PlumaMessageType *pluma_message_type_new (const gchar *object_path, + const gchar *method, + guint num_optional, + ...) G_GNUC_NULL_TERMINATED; +PlumaMessageType *pluma_message_type_new_valist (const gchar *object_path, + const gchar *method, + guint num_optional, + va_list va_args); + +void pluma_message_type_set (PlumaMessageType *message_type, + guint num_optional, + ...) G_GNUC_NULL_TERMINATED; +void pluma_message_type_set_valist (PlumaMessageType *message_type, + guint num_optional, + va_list va_args); + +PlumaMessageType *pluma_message_type_ref (PlumaMessageType *message_type); +void pluma_message_type_unref (PlumaMessageType *message_type); + + +PlumaMessage *pluma_message_type_instantiate_valist (PlumaMessageType *message_type, + va_list va_args); +PlumaMessage *pluma_message_type_instantiate (PlumaMessageType *message_type, + ...) G_GNUC_NULL_TERMINATED; + +const gchar *pluma_message_type_get_object_path (PlumaMessageType *message_type); +const gchar *pluma_message_type_get_method (PlumaMessageType *message_type); + +GType pluma_message_type_lookup (PlumaMessageType *message_type, + const gchar *key); + +void pluma_message_type_foreach (PlumaMessageType *message_type, + PlumaMessageTypeForeach func, + gpointer user_data); + +G_END_DECLS + +#endif /* __PLUMA_MESSAGE_TYPE_H__ */ + +// ex:ts=8:noet: diff --git a/gedit/gedit-message.c b/pluma/pluma-message.c similarity index 67% rename from gedit/gedit-message.c rename to pluma/pluma-message.c index f1e12da..2e9ffcc 100755 --- a/gedit/gedit-message.c +++ b/pluma/pluma-message.c @@ -1,17 +1,17 @@ -#include "gedit-message.h" -#include "gedit-message-type.h" +#include "pluma-message.h" +#include "pluma-message-type.h" #include #include /** - * SECTION:gedit-message + * SECTION:pluma-message * @short_description: message bus message object - * @include: gedit/gedit-message.h + * @include: pluma/pluma-message.h * - * Communication on a #GeditMessageBus is done through messages. Messages are + * Communication on a #PlumaMessageBus is done through messages. Messages are * sent over the bus and received by connecting callbacks on the message bus. - * A #GeditMessage is an instantiation of a #GeditMessageType, containing + * A #PlumaMessage is an instantiation of a #PlumaMessageType, containing * values for the arguments as specified in the message type. * * A message can be seen as a method call, or signal emission depending on @@ -21,7 +21,7 @@ * Since: 2.25.3 * */ -#define GEDIT_MESSAGE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_MESSAGE, GeditMessagePrivate)) +#define PLUMA_MESSAGE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_MESSAGE, PlumaMessagePrivate)) enum { PROP_0, @@ -31,42 +31,42 @@ enum { PROP_TYPE }; -struct _GeditMessagePrivate +struct _PlumaMessagePrivate { - GeditMessageType *type; + PlumaMessageType *type; gboolean valid; GHashTable *values; }; -G_DEFINE_TYPE (GeditMessage, gedit_message, G_TYPE_OBJECT) +G_DEFINE_TYPE (PlumaMessage, pluma_message, G_TYPE_OBJECT) static void -gedit_message_finalize (GObject *object) +pluma_message_finalize (GObject *object) { - GeditMessage *message = GEDIT_MESSAGE (object); + PlumaMessage *message = PLUMA_MESSAGE (object); - gedit_message_type_unref (message->priv->type); + pluma_message_type_unref (message->priv->type); g_hash_table_destroy (message->priv->values); - G_OBJECT_CLASS (gedit_message_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_message_parent_class)->finalize (object); } static void -gedit_message_get_property (GObject *object, +pluma_message_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditMessage *msg = GEDIT_MESSAGE (object); + PlumaMessage *msg = PLUMA_MESSAGE (object); switch (prop_id) { case PROP_OBJECT_PATH: - g_value_set_string (value, gedit_message_type_get_object_path (msg->priv->type)); + g_value_set_string (value, pluma_message_type_get_object_path (msg->priv->type)); break; case PROP_METHOD: - g_value_set_string (value, gedit_message_type_get_method (msg->priv->type)); + g_value_set_string (value, pluma_message_type_get_method (msg->priv->type)); break; case PROP_TYPE: g_value_set_boxed (value, msg->priv->type); @@ -78,17 +78,17 @@ gedit_message_get_property (GObject *object, } static void -gedit_message_set_property (GObject *object, +pluma_message_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditMessage *msg = GEDIT_MESSAGE (object); + PlumaMessage *msg = PLUMA_MESSAGE (object); switch (prop_id) { case PROP_TYPE: - msg->priv->type = GEDIT_MESSAGE_TYPE (g_value_dup_boxed (value)); + msg->priv->type = PLUMA_MESSAGE_TYPE (g_value_dup_boxed (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -97,11 +97,11 @@ gedit_message_set_property (GObject *object, } static GValue * -add_value (GeditMessage *message, +add_value (PlumaMessage *message, const gchar *key) { GValue *value; - GType type = gedit_message_type_lookup (message->priv->type, key); + GType type = pluma_message_type_lookup (message->priv->type, key); if (type == G_TYPE_INVALID) return NULL; @@ -116,18 +116,18 @@ add_value (GeditMessage *message, } static void -gedit_message_class_init (GeditMessageClass *klass) +pluma_message_class_init (PlumaMessageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); - object_class->finalize = gedit_message_finalize; - object_class->get_property = gedit_message_get_property; - object_class->set_property = gedit_message_set_property; + object_class->finalize = pluma_message_finalize; + object_class->get_property = pluma_message_get_property; + object_class->set_property = pluma_message_set_property; /** - * GeditMessage:object_path: + * PlumaMessage:object_path: * - * The messages object path (e.g. /gedit/object/path). + * The messages object path (e.g. /pluma/object/path). * */ g_object_class_install_property (object_class, PROP_OBJECT_PATH, @@ -139,7 +139,7 @@ gedit_message_class_init (GeditMessageClass *klass) G_PARAM_STATIC_STRINGS)); /** - * GeditMessage:method: + * PlumaMessage:method: * * The messages method. * @@ -153,7 +153,7 @@ gedit_message_class_init (GeditMessageClass *klass) G_PARAM_STATIC_STRINGS)); /** - * GeditMEssage:type: + * PlumaMEssage:type: * * The message type. * @@ -162,12 +162,12 @@ gedit_message_class_init (GeditMessageClass *klass) g_param_spec_boxed ("type", "TYPE", "The message type", - GEDIT_TYPE_MESSAGE_TYPE, + PLUMA_TYPE_MESSAGE_TYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (object_class, sizeof(GeditMessagePrivate)); + g_type_class_add_private (object_class, sizeof(PlumaMessagePrivate)); } static void @@ -178,9 +178,9 @@ destroy_value (GValue *value) } static void -gedit_message_init (GeditMessage *self) +pluma_message_init (PlumaMessage *self) { - self->priv = GEDIT_MESSAGE_GET_PRIVATE (self); + self->priv = PLUMA_MESSAGE_GET_PRIVATE (self); self->priv->values = g_hash_table_new_full (g_str_hash, g_str_equal, @@ -217,7 +217,7 @@ set_value_real (GValue *to, } inline static GValue * -value_lookup (GeditMessage *message, +value_lookup (PlumaMessage *message, const gchar *key, gboolean create) { @@ -230,8 +230,8 @@ value_lookup (GeditMessage *message, } /** - * gedit_message_get_method: - * @message: the #GeditMessage + * pluma_message_get_method: + * @message: the #PlumaMessage * * Get the message method. * @@ -239,16 +239,16 @@ value_lookup (GeditMessage *message, * */ const gchar * -gedit_message_get_method (GeditMessage *message) +pluma_message_get_method (PlumaMessage *message) { - g_return_val_if_fail (GEDIT_IS_MESSAGE (message), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE (message), NULL); - return gedit_message_type_get_method (message->priv->type); + return pluma_message_type_get_method (message->priv->type); } /** - * gedit_message_get_object_path: - * @message: the #GeditMessage + * pluma_message_get_object_path: + * @message: the #PlumaMessage * * Get the message object path. * @@ -256,16 +256,16 @@ gedit_message_get_method (GeditMessage *message) * */ const gchar * -gedit_message_get_object_path (GeditMessage *message) +pluma_message_get_object_path (PlumaMessage *message) { - g_return_val_if_fail (GEDIT_IS_MESSAGE (message), NULL); + g_return_val_if_fail (PLUMA_IS_MESSAGE (message), NULL); - return gedit_message_type_get_object_path (message->priv->type); + return pluma_message_type_get_object_path (message->priv->type); } /** - * gedit_message_set: - * @message: the #GeditMessage + * pluma_message_set: + * @message: the #PlumaMessage * @...: a NULL terminated variable list of key/value pairs * * Set values of message arguments. The supplied @var_args should contain @@ -273,21 +273,21 @@ gedit_message_get_object_path (GeditMessage *message) * */ void -gedit_message_set (GeditMessage *message, +pluma_message_set (PlumaMessage *message, ...) { va_list ap; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); va_start (ap, message); - gedit_message_set_valist (message, ap); + pluma_message_set_valist (message, ap); va_end (ap); } /** - * gedit_message_set_valist: - * @message: the #GeditMessage + * pluma_message_set_valist: + * @message: the #PlumaMessage * @var_args: a NULL terminated variable list of key/value pairs * * Set values of message arguments. The supplied @var_args should contain @@ -295,12 +295,12 @@ gedit_message_set (GeditMessage *message, * */ void -gedit_message_set_valist (GeditMessage *message, +pluma_message_set_valist (PlumaMessage *message, va_list var_args) { const gchar *key; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); while ((key = va_arg (var_args, const gchar *)) != NULL) { @@ -335,8 +335,8 @@ gedit_message_set_valist (GeditMessage *message, } /** - * gedit_message_set_value: - * @message: the #GeditMessage + * pluma_message_set_value: + * @message: the #PlumaMessage * @key: the argument key * @value: the argument value * @@ -344,12 +344,12 @@ gedit_message_set_valist (GeditMessage *message, * */ void -gedit_message_set_value (GeditMessage *message, +pluma_message_set_value (PlumaMessage *message, const gchar *key, GValue *value) { GValue *container; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); container = value_lookup (message, key, TRUE); @@ -365,8 +365,8 @@ gedit_message_set_value (GeditMessage *message, } /** - * gedit_message_set_valuesv: - * @message: the #GeditMessage + * pluma_message_set_valuesv: + * @message: the #PlumaMessage * @keys: keys to set values for * @values: values to set * @n_values: number of arguments to set values for @@ -375,24 +375,24 @@ gedit_message_set_value (GeditMessage *message, * */ void -gedit_message_set_valuesv (GeditMessage *message, +pluma_message_set_valuesv (PlumaMessage *message, const gchar **keys, GValue *values, gint n_values) { gint i; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); for (i = 0; i < n_values; i++) { - gedit_message_set_value (message, keys[i], &values[i]); + pluma_message_set_value (message, keys[i], &values[i]); } } /** - * gedit_message_get: - * @message: the #GeditMessage + * pluma_message_get: + * @message: the #PlumaMessage * @...: a NULL variable argument list of key/value container pairs * * Get values of message arguments. The supplied @var_args should contain @@ -401,21 +401,21 @@ gedit_message_set_valuesv (GeditMessage *message, * */ void -gedit_message_get (GeditMessage *message, +pluma_message_get (PlumaMessage *message, ...) { va_list ap; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); va_start (ap, message); - gedit_message_get_valist (message, ap); + pluma_message_get_valist (message, ap); va_end (ap); } /** - * gedit_message_get_valist: - * @message: the #GeditMessage + * pluma_message_get_valist: + * @message: the #PlumaMessage * @var_args: a NULL variable argument list of key/value container pairs * * Get values of message arguments. The supplied @var_args should contain @@ -424,12 +424,12 @@ gedit_message_get (GeditMessage *message, * */ void -gedit_message_get_valist (GeditMessage *message, +pluma_message_get_valist (PlumaMessage *message, va_list var_args) { const gchar *key; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); while ((key = va_arg (var_args, const gchar *)) != NULL) { @@ -467,8 +467,8 @@ gedit_message_get_valist (GeditMessage *message, } /** - * gedit_message_get_value: - * @message: the #GeditMessage + * pluma_message_get_value: + * @message: the #PlumaMessage * @key: the argument key * @value: value return container * @@ -477,13 +477,13 @@ gedit_message_get_valist (GeditMessage *message, * */ void -gedit_message_get_value (GeditMessage *message, +pluma_message_get_value (PlumaMessage *message, const gchar *key, GValue *value) { GValue *container; - g_return_if_fail (GEDIT_IS_MESSAGE (message)); + g_return_if_fail (PLUMA_IS_MESSAGE (message)); container = value_lookup (message, key, FALSE); @@ -500,8 +500,8 @@ gedit_message_get_value (GeditMessage *message, } /** - * gedit_message_get_key_type: - * @message: the #GeditMessage + * pluma_message_get_key_type: + * @message: the #PlumaMessage * @key: the argument key * * Get the type of a message argument. @@ -510,18 +510,18 @@ gedit_message_get_value (GeditMessage *message, * */ GType -gedit_message_get_key_type (GeditMessage *message, +pluma_message_get_key_type (PlumaMessage *message, const gchar *key) { - g_return_val_if_fail (GEDIT_IS_MESSAGE (message), G_TYPE_INVALID); + g_return_val_if_fail (PLUMA_IS_MESSAGE (message), G_TYPE_INVALID); g_return_val_if_fail (message->priv->type != NULL, G_TYPE_INVALID); - return gedit_message_type_lookup (message->priv->type, key); + return pluma_message_type_lookup (message->priv->type, key); } /** - * gedit_message_has_key: - * @message: the #GeditMessage + * pluma_message_has_key: + * @message: the #PlumaMessage * @key: the argument key * * Check whether the message has a specific key. @@ -530,17 +530,17 @@ gedit_message_get_key_type (GeditMessage *message, * */ gboolean -gedit_message_has_key (GeditMessage *message, +pluma_message_has_key (PlumaMessage *message, const gchar *key) { - g_return_val_if_fail (GEDIT_IS_MESSAGE (message), FALSE); + g_return_val_if_fail (PLUMA_IS_MESSAGE (message), FALSE); return value_lookup (message, key, FALSE) != NULL; } typedef struct { - GeditMessage *message; + PlumaMessage *message; gboolean valid; } ValidateInfo; @@ -562,8 +562,8 @@ validate_key (const gchar *key, } /** - * gedit_message_validate: - * @message: the #GeditMessage + * pluma_message_validate: + * @message: the #PlumaMessage * * Validates the message arguments according to the message type. * @@ -571,17 +571,17 @@ validate_key (const gchar *key, * */ gboolean -gedit_message_validate (GeditMessage *message) +pluma_message_validate (PlumaMessage *message) { ValidateInfo info = {message, TRUE}; - g_return_val_if_fail (GEDIT_IS_MESSAGE (message), FALSE); + g_return_val_if_fail (PLUMA_IS_MESSAGE (message), FALSE); g_return_val_if_fail (message->priv->type != NULL, FALSE); if (!message->priv->valid) { - gedit_message_type_foreach (message->priv->type, - (GeditMessageTypeForeach)validate_key, + pluma_message_type_foreach (message->priv->type, + (PlumaMessageTypeForeach)validate_key, &info); message->priv->valid = info.valid; diff --git a/pluma/pluma-message.h b/pluma/pluma-message.h new file mode 100755 index 0000000..48d1a81 --- /dev/null +++ b/pluma/pluma-message.h @@ -0,0 +1,71 @@ +#ifndef __PLUMA_MESSAGE_H__ +#define __PLUMA_MESSAGE_H__ + +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_MESSAGE (pluma_message_get_type ()) +#define PLUMA_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_MESSAGE, PlumaMessage)) +#define PLUMA_MESSAGE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_MESSAGE, PlumaMessage const)) +#define PLUMA_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_MESSAGE, PlumaMessageClass)) +#define PLUMA_IS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_MESSAGE)) +#define PLUMA_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_MESSAGE)) +#define PLUMA_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_MESSAGE, PlumaMessageClass)) + +typedef struct _PlumaMessage PlumaMessage; +typedef struct _PlumaMessageClass PlumaMessageClass; +typedef struct _PlumaMessagePrivate PlumaMessagePrivate; + +struct _PlumaMessage { + GObject parent; + + PlumaMessagePrivate *priv; +}; + +struct _PlumaMessageClass { + GObjectClass parent_class; +}; + +GType pluma_message_get_type (void) G_GNUC_CONST; + +struct _PlumaMessageType pluma_message_get_message_type (PlumaMessage *message); + +void pluma_message_get (PlumaMessage *message, + ...) G_GNUC_NULL_TERMINATED; +void pluma_message_get_valist (PlumaMessage *message, + va_list var_args); +void pluma_message_get_value (PlumaMessage *message, + const gchar *key, + GValue *value); + +void pluma_message_set (PlumaMessage *message, + ...) G_GNUC_NULL_TERMINATED; +void pluma_message_set_valist (PlumaMessage *message, + va_list var_args); +void pluma_message_set_value (PlumaMessage *message, + const gchar *key, + GValue *value); +void pluma_message_set_valuesv (PlumaMessage *message, + const gchar **keys, + GValue *values, + gint n_values); + +const gchar *pluma_message_get_object_path (PlumaMessage *message); +const gchar *pluma_message_get_method (PlumaMessage *message); + +gboolean pluma_message_has_key (PlumaMessage *message, + const gchar *key); + +GType pluma_message_get_key_type (PlumaMessage *message, + const gchar *key); + +gboolean pluma_message_validate (PlumaMessage *message); + + +G_END_DECLS + +#endif /* __PLUMA_MESSAGE_H__ */ + +// ex:ts=8:noet: diff --git a/gedit/gedit-metadata-manager.c b/pluma/pluma-metadata-manager.c similarity index 69% rename from gedit/gedit-metadata-manager.c rename to pluma/pluma-metadata-manager.c index bdb00ff..0bce26e 100755 --- a/gedit/gedit-metadata-manager.c +++ b/pluma/pluma-metadata-manager.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-metadata-manager.c - * This file is part of gedit + * pluma-metadata-manager.c + * This file is part of pluma * * Copyright (C) 2003-2007 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2003-2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2003-2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -34,19 +34,19 @@ #include #include #include -#include "gedit-metadata-manager.h" -#include "gedit-debug.h" -#include "gedit-dirs.h" +#include "pluma-metadata-manager.h" +#include "pluma-debug.h" +#include "pluma-dirs.h" /* -#define GEDIT_METADATA_VERBOSE_DEBUG 1 +#define PLUMA_METADATA_VERBOSE_DEBUG 1 */ -#define METADATA_FILE "gedit-metadata.xml" +#define METADATA_FILE "pluma-metadata.xml" #define MAX_ITEMS 50 -typedef struct _GeditMetadataManager GeditMetadataManager; +typedef struct _PlumaMetadataManager PlumaMetadataManager; typedef struct _Item Item; @@ -57,7 +57,7 @@ struct _Item GHashTable *values; }; -struct _GeditMetadataManager +struct _PlumaMetadataManager { gboolean values_loaded; /* It is true if the file has been read */ @@ -67,10 +67,10 @@ struct _GeditMetadataManager GHashTable *items; }; -static gboolean gedit_metadata_manager_save (gpointer data); +static gboolean pluma_metadata_manager_save (gpointer data); -static GeditMetadataManager *gedit_metadata_manager = NULL; +static PlumaMetadataManager *pluma_metadata_manager = NULL; static void item_free (gpointer data) @@ -79,8 +79,8 @@ item_free (gpointer data) g_return_if_fail (data != NULL); -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug (DEBUG_METADATA); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug (DEBUG_METADATA); #endif item = (Item *)data; @@ -92,32 +92,32 @@ item_free (gpointer data) } static void -gedit_metadata_manager_arm_timeout (void) +pluma_metadata_manager_arm_timeout (void) { - if (gedit_metadata_manager->timeout_id == 0) + if (pluma_metadata_manager->timeout_id == 0) { - gedit_metadata_manager->timeout_id = + pluma_metadata_manager->timeout_id = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT_IDLE, 2, - (GSourceFunc)gedit_metadata_manager_save, + (GSourceFunc)pluma_metadata_manager_save, NULL, NULL); } } static gboolean -gedit_metadata_manager_init (void) +pluma_metadata_manager_init (void) { - gedit_debug (DEBUG_METADATA); + pluma_debug (DEBUG_METADATA); - if (gedit_metadata_manager != NULL) + if (pluma_metadata_manager != NULL) return TRUE; - gedit_metadata_manager = g_new0 (GeditMetadataManager, 1); + pluma_metadata_manager = g_new0 (PlumaMetadataManager, 1); - gedit_metadata_manager->values_loaded = FALSE; + pluma_metadata_manager->values_loaded = FALSE; - gedit_metadata_manager->items = + pluma_metadata_manager->items = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, @@ -126,27 +126,27 @@ gedit_metadata_manager_init (void) return TRUE; } -/* This function must be called before exiting gedit */ +/* This function must be called before exiting pluma */ void -gedit_metadata_manager_shutdown (void) +pluma_metadata_manager_shutdown (void) { - gedit_debug (DEBUG_METADATA); + pluma_debug (DEBUG_METADATA); - if (gedit_metadata_manager == NULL) + if (pluma_metadata_manager == NULL) return; - if (gedit_metadata_manager->timeout_id) + if (pluma_metadata_manager->timeout_id) { - g_source_remove (gedit_metadata_manager->timeout_id); - gedit_metadata_manager->timeout_id = 0; - gedit_metadata_manager_save (NULL); + g_source_remove (pluma_metadata_manager->timeout_id); + pluma_metadata_manager->timeout_id = 0; + pluma_metadata_manager_save (NULL); } - if (gedit_metadata_manager->items != NULL) - g_hash_table_destroy (gedit_metadata_manager->items); + if (pluma_metadata_manager->items != NULL) + g_hash_table_destroy (pluma_metadata_manager->items); - g_free (gedit_metadata_manager); - gedit_metadata_manager = NULL; + g_free (pluma_metadata_manager); + pluma_metadata_manager = NULL; } static void @@ -157,8 +157,8 @@ parseItem (xmlDocPtr doc, xmlNodePtr cur) xmlChar *uri; xmlChar *atime; -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug (DEBUG_METADATA); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug (DEBUG_METADATA); #endif if (xmlStrcmp (cur->name, (const xmlChar *)"document") != 0) @@ -210,7 +210,7 @@ parseItem (xmlDocPtr doc, xmlNodePtr cur) cur = cur->next; } - g_hash_table_insert (gedit_metadata_manager->items, + g_hash_table_insert (pluma_metadata_manager->items, g_strdup ((gchar *)uri), item); @@ -224,7 +224,7 @@ get_metadata_filename (void) gchar *cache_dir; gchar *metadata; - cache_dir = gedit_dirs_get_user_cache_dir (); + cache_dir = pluma_dirs_get_user_cache_dir (); metadata = g_build_filename (cache_dir, METADATA_FILE, @@ -242,12 +242,12 @@ load_values (void) xmlNodePtr cur; gchar *file_name; - gedit_debug (DEBUG_METADATA); + pluma_debug (DEBUG_METADATA); - g_return_val_if_fail (gedit_metadata_manager != NULL, FALSE); - g_return_val_if_fail (gedit_metadata_manager->values_loaded == FALSE, FALSE); + g_return_val_if_fail (pluma_metadata_manager != NULL, FALSE); + g_return_val_if_fail (pluma_metadata_manager->values_loaded == FALSE, FALSE); - gedit_metadata_manager->values_loaded = TRUE; + pluma_metadata_manager->values_loaded = TRUE; xmlKeepBlanksDefault (0); @@ -301,7 +301,7 @@ load_values (void) } gchar * -gedit_metadata_manager_get (const gchar *uri, +pluma_metadata_manager_get (const gchar *uri, const gchar *key) { Item *item; @@ -310,11 +310,11 @@ gedit_metadata_manager_get (const gchar *uri, g_return_val_if_fail (uri != NULL, NULL); g_return_val_if_fail (key != NULL, NULL); - gedit_debug_message (DEBUG_METADATA, "URI: %s --- key: %s", uri, key ); + pluma_debug_message (DEBUG_METADATA, "URI: %s --- key: %s", uri, key ); - gedit_metadata_manager_init (); + pluma_metadata_manager_init (); - if (!gedit_metadata_manager->values_loaded) + if (!pluma_metadata_manager->values_loaded) { gboolean res; @@ -324,7 +324,7 @@ gedit_metadata_manager_get (const gchar *uri, return NULL; } - item = (Item *)g_hash_table_lookup (gedit_metadata_manager->items, + item = (Item *)g_hash_table_lookup (pluma_metadata_manager->items, uri); if (item == NULL) @@ -344,7 +344,7 @@ gedit_metadata_manager_get (const gchar *uri, } void -gedit_metadata_manager_set (const gchar *uri, +pluma_metadata_manager_set (const gchar *uri, const gchar *key, const gchar *value) { @@ -353,11 +353,11 @@ gedit_metadata_manager_set (const gchar *uri, g_return_if_fail (uri != NULL); g_return_if_fail (key != NULL); - gedit_debug_message (DEBUG_METADATA, "URI: %s --- key: %s --- value: %s", uri, key, value); + pluma_debug_message (DEBUG_METADATA, "URI: %s --- key: %s --- value: %s", uri, key, value); - gedit_metadata_manager_init (); + pluma_metadata_manager_init (); - if (!gedit_metadata_manager->values_loaded) + if (!pluma_metadata_manager->values_loaded) { gboolean res; @@ -367,14 +367,14 @@ gedit_metadata_manager_set (const gchar *uri, return; } - item = (Item *)g_hash_table_lookup (gedit_metadata_manager->items, + item = (Item *)g_hash_table_lookup (pluma_metadata_manager->items, uri); if (item == NULL) { item = g_new0 (Item, 1); - g_hash_table_insert (gedit_metadata_manager->items, + g_hash_table_insert (pluma_metadata_manager->items, g_strdup (uri), item); } @@ -394,7 +394,7 @@ gedit_metadata_manager_set (const gchar *uri, item->atime = time (NULL); - gedit_metadata_manager_arm_timeout (); + pluma_metadata_manager_arm_timeout (); } static void @@ -402,8 +402,8 @@ save_values (const gchar *key, const gchar *value, xmlNodePtr parent) { xmlNodePtr xml_node; -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug (DEBUG_METADATA); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug (DEBUG_METADATA); #endif g_return_if_fail (key != NULL); @@ -423,8 +423,8 @@ save_values (const gchar *key, const gchar *value, xmlNodePtr parent) (const xmlChar *)"value", (const xmlChar *)value); -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug_message (DEBUG_METADATA, "entry: %s = %s", key, value); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug_message (DEBUG_METADATA, "entry: %s = %s", key, value); #endif } @@ -435,8 +435,8 @@ save_item (const gchar *key, const gpointer *data, xmlNodePtr parent) const Item *item = (const Item *)data; gchar *atime; -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug (DEBUG_METADATA); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug (DEBUG_METADATA); #endif g_return_if_fail (key != NULL); @@ -448,15 +448,15 @@ save_item (const gchar *key, const gpointer *data, xmlNodePtr parent) xmlSetProp (xml_node, (const xmlChar *)"uri", (const xmlChar *)key); -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug_message (DEBUG_METADATA, "uri: %s", key); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug_message (DEBUG_METADATA, "uri: %s", key); #endif atime = g_strdup_printf ("%ld", item->atime); xmlSetProp (xml_node, (const xmlChar *)"atime", (const xmlChar *)atime); -#ifdef GEDIT_METADATA_VERBOSE_DEBUG - gedit_debug_message (DEBUG_METADATA, "atime: %s", atime); +#ifdef PLUMA_METADATA_VERBOSE_DEBUG + pluma_debug_message (DEBUG_METADATA, "atime: %s", atime); #endif g_free (atime); @@ -478,7 +478,7 @@ get_oldest (const gchar *key, const gpointer value, const gchar ** key_to_remove else { const Item *item_to_remove = - g_hash_table_lookup (gedit_metadata_manager->items, + g_hash_table_lookup (pluma_metadata_manager->items, *key_to_remove); g_return_if_fail (item_to_remove != NULL); @@ -493,31 +493,31 @@ get_oldest (const gchar *key, const gpointer value, const gchar ** key_to_remove static void resize_items (void) { - while (g_hash_table_size (gedit_metadata_manager->items) > MAX_ITEMS) + while (g_hash_table_size (pluma_metadata_manager->items) > MAX_ITEMS) { gpointer key_to_remove = NULL; - g_hash_table_foreach (gedit_metadata_manager->items, + g_hash_table_foreach (pluma_metadata_manager->items, (GHFunc)get_oldest, &key_to_remove); g_return_if_fail (key_to_remove != NULL); - g_hash_table_remove (gedit_metadata_manager->items, + g_hash_table_remove (pluma_metadata_manager->items, key_to_remove); } } static gboolean -gedit_metadata_manager_save (gpointer data) +pluma_metadata_manager_save (gpointer data) { xmlDocPtr doc; xmlNodePtr root; gchar *file_name; - gedit_debug (DEBUG_METADATA); + pluma_debug (DEBUG_METADATA); - gedit_metadata_manager->timeout_id = 0; + pluma_metadata_manager->timeout_id = 0; resize_items (); @@ -531,7 +531,7 @@ gedit_metadata_manager_save (gpointer data) root = xmlNewDocNode (doc, NULL, (const xmlChar *)"metadata", NULL); xmlDocSetRootElement (doc, root); - g_hash_table_foreach (gedit_metadata_manager->items, + g_hash_table_foreach (pluma_metadata_manager->items, (GHFunc)save_item, root); @@ -543,7 +543,7 @@ gedit_metadata_manager_save (gpointer data) int res; /* make sure the cache dir exists */ - cache_dir = gedit_dirs_get_user_cache_dir (); + cache_dir = pluma_dirs_get_user_cache_dir (); res = g_mkdir_with_parents (cache_dir, 0755); if (res != -1) { @@ -556,7 +556,7 @@ gedit_metadata_manager_save (gpointer data) xmlFreeDoc (doc); - gedit_debug_message (DEBUG_METADATA, "DONE"); + pluma_debug_message (DEBUG_METADATA, "DONE"); return FALSE; } diff --git a/gedit/gedit-metadata-manager.h b/pluma/pluma-metadata-manager.h similarity index 68% rename from gedit/gedit-metadata-manager.h rename to pluma/pluma-metadata-manager.h index 6ee324f..26280d7 100755 --- a/gedit/gedit-metadata-manager.h +++ b/pluma/pluma-metadata-manager.h @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-metadata-manager.h - * This file is part of gedit + * pluma-metadata-manager.h + * This file is part of pluma * * Copyright (C) 2003 Paolo Maggi * @@ -22,29 +22,29 @@ */ /* - * Modified by the gedit Team, 2003. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2003. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ -#ifndef __GEDIT_METADATA_MANAGER_H__ -#define __GEDIT_METADATA_MANAGER_H__ +#ifndef __PLUMA_METADATA_MANAGER_H__ +#define __PLUMA_METADATA_MANAGER_H__ #include G_BEGIN_DECLS -/* This function must be called before exiting gedit */ -void gedit_metadata_manager_shutdown (void); +/* This function must be called before exiting pluma */ +void pluma_metadata_manager_shutdown (void); -gchar *gedit_metadata_manager_get (const gchar *uri, +gchar *pluma_metadata_manager_get (const gchar *uri, const gchar *key); -void gedit_metadata_manager_set (const gchar *uri, +void pluma_metadata_manager_set (const gchar *uri, const gchar *key, const gchar *value); G_END_DECLS -#endif /* __GEDIT_METADATA_MANAGER_H__ */ +#endif /* __PLUMA_METADATA_MANAGER_H__ */ diff --git a/gedit/gedit-notebook.c b/pluma/pluma-notebook.c similarity index 75% rename from gedit/gedit-notebook.c rename to pluma/pluma-notebook.c index 2578815..85515b3 100755 --- a/gedit/gedit-notebook.c +++ b/pluma/pluma-notebook.c @@ -1,6 +1,6 @@ /* - * gedit-notebook.c - * This file is part of gedit + * pluma-notebook.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -43,22 +43,22 @@ #include #include -#include "gedit-notebook.h" -#include "gedit-tab.h" -#include "gedit-tab-label.h" -#include "gedit-marshal.h" -#include "gedit-window.h" +#include "pluma-notebook.h" +#include "pluma-tab.h" +#include "pluma-tab-label.h" +#include "pluma-marshal.h" +#include "pluma-window.h" #ifdef BUILD_SPINNER -#include "gedit-spinner.h" +#include "pluma-spinner.h" #endif #define AFTER_ALL_TABS -1 #define NOT_IN_APP_WINDOWS -2 -#define GEDIT_NOTEBOOK_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_NOTEBOOK, GeditNotebookPrivate)) +#define PLUMA_NOTEBOOK_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_NOTEBOOK, PlumaNotebookPrivate)) -struct _GeditNotebookPrivate +struct _PlumaNotebookPrivate { GList *focused_pages; gulong motion_notify_handler_id; @@ -71,15 +71,15 @@ struct _GeditNotebookPrivate guint destroy_has_run : 1; }; -G_DEFINE_TYPE(GeditNotebook, gedit_notebook, GTK_TYPE_NOTEBOOK) +G_DEFINE_TYPE(PlumaNotebook, pluma_notebook, GTK_TYPE_NOTEBOOK) -static void gedit_notebook_finalize (GObject *object); +static void pluma_notebook_finalize (GObject *object); -static gboolean gedit_notebook_change_current_page (GtkNotebook *notebook, +static gboolean pluma_notebook_change_current_page (GtkNotebook *notebook, gint offset); -static void move_current_tab_to_another_notebook (GeditNotebook *src, - GeditNotebook *dest, +static void move_current_tab_to_another_notebook (PlumaNotebook *src, + PlumaNotebook *dest, GdkEventMotion *event, gint dest_position); @@ -100,9 +100,9 @@ enum static guint signals[LAST_SIGNAL] = { 0 }; static void -gedit_notebook_destroy (GtkObject *object) +pluma_notebook_destroy (GtkObject *object) { - GeditNotebook *notebook = GEDIT_NOTEBOOK (object); + PlumaNotebook *notebook = PLUMA_NOTEBOOK (object); if (!notebook->priv->destroy_has_run) { @@ -112,64 +112,64 @@ gedit_notebook_destroy (GtkObject *object) for (l = children; l != NULL; l = g_list_next (l)) { - gedit_notebook_remove_tab (notebook, - GEDIT_TAB (l->data)); + pluma_notebook_remove_tab (notebook, + PLUMA_TAB (l->data)); } g_list_free (children); notebook->priv->destroy_has_run = TRUE; } - GTK_OBJECT_CLASS (gedit_notebook_parent_class)->destroy (object); + GTK_OBJECT_CLASS (pluma_notebook_parent_class)->destroy (object); } static void -gedit_notebook_class_init (GeditNotebookClass *klass) +pluma_notebook_class_init (PlumaNotebookClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtkobject_class = GTK_OBJECT_CLASS (klass); GtkNotebookClass *notebook_class = GTK_NOTEBOOK_CLASS (klass); - object_class->finalize = gedit_notebook_finalize; - gtkobject_class->destroy = gedit_notebook_destroy; + object_class->finalize = pluma_notebook_finalize; + gtkobject_class->destroy = pluma_notebook_destroy; - notebook_class->change_current_page = gedit_notebook_change_current_page; + notebook_class->change_current_page = pluma_notebook_change_current_page; signals[TAB_ADDED] = g_signal_new ("tab_added", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditNotebookClass, tab_added), + G_STRUCT_OFFSET (PlumaNotebookClass, tab_added), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, - GEDIT_TYPE_TAB); + PLUMA_TYPE_TAB); signals[TAB_REMOVED] = g_signal_new ("tab_removed", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditNotebookClass, tab_removed), + G_STRUCT_OFFSET (PlumaNotebookClass, tab_removed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, - GEDIT_TYPE_TAB); + PLUMA_TYPE_TAB); signals[TAB_DETACHED] = g_signal_new ("tab_detached", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditNotebookClass, tab_detached), + G_STRUCT_OFFSET (PlumaNotebookClass, tab_detached), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, - GEDIT_TYPE_TAB); + PLUMA_TYPE_TAB); signals[TABS_REORDERED] = g_signal_new ("tabs_reordered", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditNotebookClass, tabs_reordered), + G_STRUCT_OFFSET (PlumaNotebookClass, tabs_reordered), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, @@ -178,17 +178,17 @@ gedit_notebook_class_init (GeditNotebookClass *klass) g_signal_new ("tab-close-request", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditNotebookClass, tab_close_request), + G_STRUCT_OFFSET (PlumaNotebookClass, tab_close_request), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, - GEDIT_TYPE_TAB); + PLUMA_TYPE_TAB); - g_type_class_add_private (object_class, sizeof(GeditNotebookPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaNotebookPrivate)); } -static GeditNotebook * +static PlumaNotebook * find_notebook_at_pointer (gint abs_x, gint abs_y) { GdkWindow *win_at_pointer; @@ -209,12 +209,12 @@ find_notebook_at_pointer (gint abs_x, gint abs_y) /* get the GtkWidget which owns the toplevel GdkWindow */ gdk_window_get_user_data (toplevel_win, &toplevel); - /* toplevel should be an GeditWindow */ + /* toplevel should be an PlumaWindow */ if ((toplevel != NULL) && - GEDIT_IS_WINDOW (toplevel)) + PLUMA_IS_WINDOW (toplevel)) { - return GEDIT_NOTEBOOK (_gedit_window_get_notebook - (GEDIT_WINDOW (toplevel))); + return PLUMA_NOTEBOOK (_pluma_window_get_notebook + (PLUMA_WINDOW (toplevel))); } /* We are outside all windows containing a notebook */ @@ -222,11 +222,11 @@ find_notebook_at_pointer (gint abs_x, gint abs_y) } static gboolean -is_in_notebook_window (GeditNotebook *notebook, +is_in_notebook_window (PlumaNotebook *notebook, gint abs_x, gint abs_y) { - GeditNotebook *nb_at_pointer; + PlumaNotebook *nb_at_pointer; g_return_val_if_fail (notebook != NULL, FALSE); @@ -236,7 +236,7 @@ is_in_notebook_window (GeditNotebook *notebook, } static gint -find_tab_num_at_pos (GeditNotebook *notebook, +find_tab_num_at_pos (PlumaNotebook *notebook, gint abs_x, gint abs_y) { @@ -302,7 +302,7 @@ find_tab_num_at_pos (GeditNotebook *notebook, static gint find_notebook_and_tab_at_pos (gint abs_x, gint abs_y, - GeditNotebook **notebook, + PlumaNotebook **notebook, gint *page_num) { *notebook = find_notebook_at_pointer (abs_x, abs_y); @@ -324,10 +324,10 @@ find_notebook_and_tab_at_pos (gint abs_x, } /** - * gedit_notebook_move_tab: - * @src: a #GeditNotebook - * @dest: a #GeditNotebook - * @tab: a #GeditTab + * pluma_notebook_move_tab: + * @src: a #PlumaNotebook + * @dest: a #PlumaNotebook + * @tab: a #PlumaTab * @dest_position: the position for @tab * * Moves @tab from @src to @dest. @@ -336,27 +336,27 @@ find_notebook_and_tab_at_pos (gint abs_x, * end of the tabs. */ void -gedit_notebook_move_tab (GeditNotebook *src, - GeditNotebook *dest, - GeditTab *tab, +pluma_notebook_move_tab (PlumaNotebook *src, + PlumaNotebook *dest, + PlumaTab *tab, gint dest_position) { - g_return_if_fail (GEDIT_IS_NOTEBOOK (src)); - g_return_if_fail (GEDIT_IS_NOTEBOOK (dest)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (src)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (dest)); g_return_if_fail (src != dest); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); /* make sure the tab isn't destroyed while we move it */ g_object_ref (tab); - gedit_notebook_remove_tab (src, tab); - gedit_notebook_add_tab (dest, tab, dest_position, TRUE); + pluma_notebook_remove_tab (src, tab); + pluma_notebook_add_tab (dest, tab, dest_position, TRUE); g_object_unref (tab); } /** - * gedit_notebook_reorder_tab: - * @src: a #GeditNotebook - * @tab: a #GeditTab + * pluma_notebook_reorder_tab: + * @src: a #PlumaNotebook + * @tab: a #PlumaTab * @dest_position: the position for @tab * * Reorders the page containing @tab, so that it appears in @dest_position position. @@ -365,14 +365,14 @@ gedit_notebook_move_tab (GeditNotebook *src, * end of the tabs. */ void -gedit_notebook_reorder_tab (GeditNotebook *src, - GeditTab *tab, +pluma_notebook_reorder_tab (PlumaNotebook *src, + PlumaTab *tab, gint dest_position) { gint old_position; - g_return_if_fail (GEDIT_IS_NOTEBOOK (src)); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (src)); + g_return_if_fail (PLUMA_IS_TAB (tab)); old_position = gtk_notebook_page_num (GTK_NOTEBOOK (src), GTK_WIDGET (tab)); @@ -393,7 +393,7 @@ gedit_notebook_reorder_tab (GeditNotebook *src, } static void -drag_start (GeditNotebook *notebook, +drag_start (PlumaNotebook *notebook, guint32 time) { notebook->priv->drag_in_progress = TRUE; @@ -419,7 +419,7 @@ drag_start (GeditNotebook *notebook, } static void -drag_stop (GeditNotebook *notebook) +drag_stop (PlumaNotebook *notebook) { if (notebook->priv->drag_in_progress) { @@ -441,7 +441,7 @@ drag_stop (GeditNotebook *notebook) * here, instead we do it on drag_stop */ static void -move_current_tab (GeditNotebook *notebook, +move_current_tab (PlumaNotebook *notebook, gint dest_position) { gint cur_page_num; @@ -455,18 +455,18 @@ move_current_tab (GeditNotebook *notebook, cur_tab = gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), cur_page_num); - gedit_notebook_reorder_tab (GEDIT_NOTEBOOK (notebook), - GEDIT_TAB (cur_tab), + pluma_notebook_reorder_tab (PLUMA_NOTEBOOK (notebook), + PLUMA_TAB (cur_tab), dest_position); } } static gboolean -motion_notify_cb (GeditNotebook *notebook, +motion_notify_cb (PlumaNotebook *notebook, GdkEventMotion *event, gpointer data) { - GeditNotebook *dest; + PlumaNotebook *dest; gint page_num; gint result; @@ -513,12 +513,12 @@ motion_notify_cb (GeditNotebook *notebook, } static void -move_current_tab_to_another_notebook (GeditNotebook *src, - GeditNotebook *dest, +move_current_tab_to_another_notebook (PlumaNotebook *src, + PlumaNotebook *dest, GdkEventMotion *event, gint dest_position) { - GeditTab *tab; + PlumaTab *tab; gint cur_page; /* This is getting tricky, the tab was dragged in a notebook @@ -526,11 +526,11 @@ move_current_tab_to_another_notebook (GeditNotebook *src, * to that new notebook, and let this notebook handle the * drag */ - g_return_if_fail (GEDIT_IS_NOTEBOOK (dest)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (dest)); g_return_if_fail (dest != src); cur_page = gtk_notebook_get_current_page (GTK_NOTEBOOK (src)); - tab = GEDIT_TAB (gtk_notebook_get_nth_page (GTK_NOTEBOOK (src), + tab = PLUMA_TAB (gtk_notebook_get_nth_page (GTK_NOTEBOOK (src), cur_page)); /* stop drag in origin window */ @@ -542,7 +542,7 @@ move_current_tab_to_another_notebook (GeditNotebook *src, } gtk_grab_remove (GTK_WIDGET (src)); - gedit_notebook_move_tab (src, dest, tab, dest_position); + pluma_notebook_move_tab (src, dest, tab, dest_position); /* start drag handling in dest notebook */ dest->priv->motion_notify_handler_id = @@ -555,7 +555,7 @@ move_current_tab_to_another_notebook (GeditNotebook *src, } static gboolean -button_release_cb (GeditNotebook *notebook, +button_release_cb (PlumaNotebook *notebook, GdkEventButton *event, gpointer data) { @@ -594,7 +594,7 @@ button_release_cb (GeditNotebook *notebook, } static gboolean -button_press_cb (GeditNotebook *notebook, +button_press_cb (PlumaNotebook *notebook, GdkEventButton *event, gpointer data) { @@ -644,27 +644,27 @@ button_press_cb (GeditNotebook *notebook, } /** - * gedit_notebook_new: + * pluma_notebook_new: * - * Creates a new #GeditNotebook object. + * Creates a new #PlumaNotebook object. * - * Returns: a new #GeditNotebook + * Returns: a new #PlumaNotebook */ GtkWidget * -gedit_notebook_new (void) +pluma_notebook_new (void) { - return GTK_WIDGET (g_object_new (GEDIT_TYPE_NOTEBOOK, NULL)); + return GTK_WIDGET (g_object_new (PLUMA_TYPE_NOTEBOOK, NULL)); } static void -gedit_notebook_switch_page_cb (GtkNotebook *notebook, +pluma_notebook_switch_page_cb (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data) { - GeditNotebook *nb = GEDIT_NOTEBOOK (notebook); + PlumaNotebook *nb = PLUMA_NOTEBOOK (notebook); GtkWidget *child; - GeditView *view; + PlumaView *view; child = gtk_notebook_get_nth_page (notebook, page_num); @@ -680,7 +680,7 @@ gedit_notebook_switch_page_cb (GtkNotebook *notebook, child); /* give focus to the view */ - view = gedit_tab_get_view (GEDIT_TAB (child)); + view = pluma_tab_get_view (PLUMA_TAB (child)); gtk_widget_grab_focus (GTK_WIDGET (view)); } @@ -689,7 +689,7 @@ gedit_notebook_switch_page_cb (GtkNotebook *notebook, * and the pref is not set. */ static void -update_tabs_visibility (GeditNotebook *nb, +update_tabs_visibility (PlumaNotebook *nb, gboolean before_inserting) { gboolean show_tabs; @@ -705,9 +705,9 @@ update_tabs_visibility (GeditNotebook *nb, } static void -gedit_notebook_init (GeditNotebook *notebook) +pluma_notebook_init (PlumaNotebook *notebook) { - notebook->priv = GEDIT_NOTEBOOK_GET_PRIVATE (notebook); + notebook->priv = PLUMA_NOTEBOOK_GET_PRIVATE (notebook); notebook->priv->close_buttons_sensitive = TRUE; notebook->priv->tab_drag_and_drop_enabled = TRUE; @@ -731,18 +731,18 @@ gedit_notebook_init (GeditNotebook *notebook) g_signal_connect_after (G_OBJECT (notebook), "switch_page", - G_CALLBACK (gedit_notebook_switch_page_cb), + G_CALLBACK (pluma_notebook_switch_page_cb), NULL); } static void -gedit_notebook_finalize (GObject *object) +pluma_notebook_finalize (GObject *object) { - GeditNotebook *notebook = GEDIT_NOTEBOOK (object); + PlumaNotebook *notebook = PLUMA_NOTEBOOK (object); g_list_free (notebook->priv->focused_pages); - G_OBJECT_CLASS (gedit_notebook_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_notebook_parent_class)->finalize (object); } /* @@ -750,7 +750,7 @@ gedit_notebook_finalize (GObject *object) * fullscreen we need to have wrap around too */ static gboolean -gedit_notebook_change_current_page (GtkNotebook *notebook, +pluma_notebook_change_current_page (GtkNotebook *notebook, gint offset) { gboolean wrap_around; @@ -789,21 +789,21 @@ gedit_notebook_change_current_page (GtkNotebook *notebook, } static void -close_button_clicked_cb (GeditTabLabel *tab_label, GeditNotebook *notebook) +close_button_clicked_cb (PlumaTabLabel *tab_label, PlumaNotebook *notebook) { - GeditTab *tab; + PlumaTab *tab; - tab = gedit_tab_label_get_tab (tab_label); + tab = pluma_tab_label_get_tab (tab_label); g_signal_emit (notebook, signals[TAB_CLOSE_REQUEST], 0, tab); } static GtkWidget * -create_tab_label (GeditNotebook *nb, - GeditTab *tab) +create_tab_label (PlumaNotebook *nb, + PlumaTab *tab) { GtkWidget *tab_label; - tab_label = gedit_tab_label_new (tab); + tab_label = pluma_tab_label_new (tab); g_signal_connect (tab_label, "close-clicked", @@ -816,12 +816,12 @@ create_tab_label (GeditNotebook *nb, } static void -remove_tab_label (GeditNotebook *nb, - GeditTab *tab) +remove_tab_label (PlumaNotebook *nb, + PlumaTab *tab) { GtkWidget *tab_label; - tab_label = gedit_tab_label_new (tab); + tab_label = pluma_tab_label_new (tab); g_signal_handlers_disconnect_by_func (tab_label, G_CALLBACK (close_button_clicked_cb), @@ -831,7 +831,7 @@ remove_tab_label (GeditNotebook *nb, } static GtkWidget * -get_tab_label (GeditTab *tab) +get_tab_label (PlumaTab *tab) { GtkWidget *tab_label; @@ -842,17 +842,17 @@ get_tab_label (GeditTab *tab) } /** - * gedit_notebook_set_always_show_tabs: - * @nb: a #GeditNotebook + * pluma_notebook_set_always_show_tabs: + * @nb: a #PlumaNotebook * @show_tabs: %TRUE to always show the tabs * * Sets the visibility of the tabs in the @nb. */ void -gedit_notebook_set_always_show_tabs (GeditNotebook *nb, +pluma_notebook_set_always_show_tabs (PlumaNotebook *nb, gboolean show_tabs) { - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); nb->priv->always_show_tabs = (show_tabs != FALSE); @@ -860,24 +860,24 @@ gedit_notebook_set_always_show_tabs (GeditNotebook *nb, } /** - * gedit_notebook_add_tab: - * @nb: a #GeditNotebook - * @tab: a #GeditTab + * pluma_notebook_add_tab: + * @nb: a #PlumaNotebook + * @tab: a #PlumaTab * @position: the position where the @tab should be added * @jump_to: %TRUE to set the @tab as active * * Adds the specified @tab to the @nb. */ void -gedit_notebook_add_tab (GeditNotebook *nb, - GeditTab *tab, +pluma_notebook_add_tab (PlumaNotebook *nb, + PlumaTab *tab, gint position, gboolean jump_to) { GtkWidget *tab_label; - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_TAB (tab)); tab_label = create_tab_label (nb, tab); gtk_notebook_insert_page (GTK_NOTEBOOK (nb), @@ -894,21 +894,21 @@ gedit_notebook_add_tab (GeditNotebook *nb, if (jump_to) { - GeditView *view; + PlumaView *view; gtk_notebook_set_current_page (GTK_NOTEBOOK (nb), position); g_object_set_data (G_OBJECT (tab), "jump_to", GINT_TO_POINTER (jump_to)); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); gtk_widget_grab_focus (GTK_WIDGET (view)); } } static void -smart_tab_switching_on_closure (GeditNotebook *nb, - GeditTab *tab) +smart_tab_switching_on_closure (PlumaNotebook *nb, + PlumaTab *tab) { gboolean jump_to; @@ -936,8 +936,8 @@ smart_tab_switching_on_closure (GeditNotebook *nb, } static void -remove_tab (GeditTab *tab, - GeditNotebook *nb) +remove_tab (PlumaTab *tab, + PlumaNotebook *nb) { gint position; @@ -958,20 +958,20 @@ remove_tab (GeditTab *tab, } /** - * gedit_notebook_remove_tab: - * @nb: a #GeditNotebook - * @tab: a #GeditTab + * pluma_notebook_remove_tab: + * @nb: a #PlumaNotebook + * @tab: a #PlumaTab * * Removes @tab from @nb. */ void -gedit_notebook_remove_tab (GeditNotebook *nb, - GeditTab *tab) +pluma_notebook_remove_tab (PlumaNotebook *nb, + PlumaTab *tab) { gint position, curr; - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_TAB (tab)); /* Remove the page from the focused pages list */ nb->priv->focused_pages = g_list_remove (nb->priv->focused_pages, @@ -989,15 +989,15 @@ gedit_notebook_remove_tab (GeditNotebook *nb, } /** - * gedit_notebook_remove_all_tabs: - * @nb: a #GeditNotebook + * pluma_notebook_remove_all_tabs: + * @nb: a #PlumaNotebook * - * Removes all #GeditTab from @nb. + * Removes all #PlumaTab from @nb. */ void -gedit_notebook_remove_all_tabs (GeditNotebook *nb) +pluma_notebook_remove_all_tabs (PlumaNotebook *nb) { - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); g_list_free (nb->priv->focused_pages); nb->priv->focused_pages = NULL; @@ -1008,29 +1008,29 @@ gedit_notebook_remove_all_tabs (GeditNotebook *nb) } static void -set_close_buttons_sensitivity (GeditTab *tab, - GeditNotebook *nb) +set_close_buttons_sensitivity (PlumaTab *tab, + PlumaNotebook *nb) { GtkWidget *tab_label; tab_label = get_tab_label (tab); - gedit_tab_label_set_close_button_sensitive (GEDIT_TAB_LABEL (tab_label), + pluma_tab_label_set_close_button_sensitive (PLUMA_TAB_LABEL (tab_label), nb->priv->close_buttons_sensitive); } /** - * gedit_notebook_set_close_buttons_sensitive: - * @nb: a #GeditNotebook + * pluma_notebook_set_close_buttons_sensitive: + * @nb: a #PlumaNotebook * @sensitive: %TRUE to make the buttons sensitive * * Sets whether the close buttons in the tabs of @nb are sensitive. */ void -gedit_notebook_set_close_buttons_sensitive (GeditNotebook *nb, +pluma_notebook_set_close_buttons_sensitive (PlumaNotebook *nb, gboolean sensitive) { - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); sensitive = (sensitive != FALSE); @@ -1045,33 +1045,33 @@ gedit_notebook_set_close_buttons_sensitive (GeditNotebook *nb, } /** - * gedit_notebook_get_close_buttons_sensitive: - * @nb: a #GeditNotebook + * pluma_notebook_get_close_buttons_sensitive: + * @nb: a #PlumaNotebook * * Whether the close buttons are sensitive. * * Returns: %TRUE if the close buttons are sensitive */ gboolean -gedit_notebook_get_close_buttons_sensitive (GeditNotebook *nb) +pluma_notebook_get_close_buttons_sensitive (PlumaNotebook *nb) { - g_return_val_if_fail (GEDIT_IS_NOTEBOOK (nb), TRUE); + g_return_val_if_fail (PLUMA_IS_NOTEBOOK (nb), TRUE); return nb->priv->close_buttons_sensitive; } /** - * gedit_notebook_set_tab_drag_and_drop_enabled: - * @nb: a #GeditNotebook + * pluma_notebook_set_tab_drag_and_drop_enabled: + * @nb: a #PlumaNotebook * @enable: %TRUE to enable the drag and drop * * Sets whether drag and drop of tabs in the @nb is enabled. */ void -gedit_notebook_set_tab_drag_and_drop_enabled (GeditNotebook *nb, +pluma_notebook_set_tab_drag_and_drop_enabled (PlumaNotebook *nb, gboolean enable) { - g_return_if_fail (GEDIT_IS_NOTEBOOK (nb)); + g_return_if_fail (PLUMA_IS_NOTEBOOK (nb)); enable = (enable != FALSE); @@ -1082,17 +1082,17 @@ gedit_notebook_set_tab_drag_and_drop_enabled (GeditNotebook *nb, } /** - * gedit_notebook_get_tab_drag_and_drop_enabled: - * @nb: a #GeditNotebook + * pluma_notebook_get_tab_drag_and_drop_enabled: + * @nb: a #PlumaNotebook * * Whether the drag and drop is enabled in the @nb. * * Returns: %TRUE if the drag and drop is enabled. */ gboolean -gedit_notebook_get_tab_drag_and_drop_enabled (GeditNotebook *nb) +pluma_notebook_get_tab_drag_and_drop_enabled (PlumaNotebook *nb) { - g_return_val_if_fail (GEDIT_IS_NOTEBOOK (nb), TRUE); + g_return_val_if_fail (PLUMA_IS_NOTEBOOK (nb), TRUE); return nb->priv->tab_drag_and_drop_enabled; } diff --git a/pluma/pluma-notebook.h b/pluma/pluma-notebook.h new file mode 100755 index 0000000..e90d1fc --- /dev/null +++ b/pluma/pluma-notebook.h @@ -0,0 +1,143 @@ +/* + * pluma-notebook.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +/* This file is a modified version of the epiphany file ephy-notebook.h + * Here the relevant copyright: + * + * Copyright (C) 2002 Christophe Fergeau + * Copyright (C) 2003 Marco Pesenti Gritti + * Copyright (C) 2003, 2004 Christian Persch + * + */ + +#ifndef PLUMA_NOTEBOOK_H +#define PLUMA_NOTEBOOK_H + +#include + +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_NOTEBOOK (pluma_notebook_get_type ()) +#define PLUMA_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_NOTEBOOK, PlumaNotebook)) +#define PLUMA_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_NOTEBOOK, PlumaNotebookClass)) +#define PLUMA_IS_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_NOTEBOOK)) +#define PLUMA_IS_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_NOTEBOOK)) +#define PLUMA_NOTEBOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_NOTEBOOK, PlumaNotebookClass)) + +/* Private structure type */ +typedef struct _PlumaNotebookPrivate PlumaNotebookPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaNotebook PlumaNotebook; + +struct _PlumaNotebook +{ + GtkNotebook notebook; + + /*< private >*/ + PlumaNotebookPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaNotebookClass PlumaNotebookClass; + +struct _PlumaNotebookClass +{ + GtkNotebookClass parent_class; + + /* Signals */ + void (* tab_added) (PlumaNotebook *notebook, + PlumaTab *tab); + void (* tab_removed) (PlumaNotebook *notebook, + PlumaTab *tab); + void (* tab_detached) (PlumaNotebook *notebook, + PlumaTab *tab); + void (* tabs_reordered) (PlumaNotebook *notebook); + void (* tab_close_request) + (PlumaNotebook *notebook, + PlumaTab *tab); +}; + +/* + * Public methods + */ +GType pluma_notebook_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_notebook_new (void); + +void pluma_notebook_add_tab (PlumaNotebook *nb, + PlumaTab *tab, + gint position, + gboolean jump_to); + +void pluma_notebook_remove_tab (PlumaNotebook *nb, + PlumaTab *tab); + +void pluma_notebook_remove_all_tabs (PlumaNotebook *nb); + +void pluma_notebook_reorder_tab (PlumaNotebook *src, + PlumaTab *tab, + gint dest_position); + +void pluma_notebook_move_tab (PlumaNotebook *src, + PlumaNotebook *dest, + PlumaTab *tab, + gint dest_position); + +/* FIXME: do we really need this function ? */ +void pluma_notebook_set_always_show_tabs + (PlumaNotebook *nb, + gboolean show_tabs); + +void pluma_notebook_set_close_buttons_sensitive + (PlumaNotebook *nb, + gboolean sensitive); + +gboolean pluma_notebook_get_close_buttons_sensitive + (PlumaNotebook *nb); + +void pluma_notebook_set_tab_drag_and_drop_enabled + (PlumaNotebook *nb, + gboolean enable); + +gboolean pluma_notebook_get_tab_drag_and_drop_enabled + (PlumaNotebook *nb); + +G_END_DECLS + +#endif /* PLUMA_NOTEBOOK_H */ diff --git a/gedit/gedit-object-module.c b/pluma/pluma-object-module.c similarity index 69% rename from gedit/gedit-object-module.c rename to pluma/pluma-object-module.c index 3c6f09c..3265de2 100755 --- a/gedit/gedit-object-module.c +++ b/pluma/pluma-object-module.c @@ -1,6 +1,6 @@ /* - * gedit-object-module.c - * This file is part of gedit + * pluma-object-module.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * Copyright (C) 2008 - Jesse van den Kieboom @@ -30,19 +30,19 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * - * $Id: gedit-module.c 6314 2008-06-05 12:57:53Z pborelli $ + * $Id: pluma-module.c 6314 2008-06-05 12:57:53Z pborelli $ */ #include "config.h" -#include "gedit-object-module.h" -#include "gedit-debug.h" +#include "pluma-object-module.h" +#include "pluma-debug.h" -typedef GType (*GeditObjectModuleRegisterFunc) (GTypeModule *); +typedef GType (*PlumaObjectModuleRegisterFunc) (GTypeModule *); enum { PROP_0, @@ -52,7 +52,7 @@ enum { PROP_RESIDENT }; -struct _GeditObjectModulePrivate +struct _PlumaObjectModulePrivate { GModule *library; @@ -64,21 +64,21 @@ struct _GeditObjectModulePrivate gboolean resident; }; -G_DEFINE_TYPE (GeditObjectModule, gedit_object_module, G_TYPE_TYPE_MODULE); +G_DEFINE_TYPE (PlumaObjectModule, pluma_object_module, G_TYPE_TYPE_MODULE); static gboolean -gedit_object_module_load (GTypeModule *gmodule) +pluma_object_module_load (GTypeModule *gmodule) { - GeditObjectModule *module = GEDIT_OBJECT_MODULE (gmodule); - GeditObjectModuleRegisterFunc register_func; + PlumaObjectModule *module = PLUMA_OBJECT_MODULE (gmodule); + PlumaObjectModuleRegisterFunc register_func; gchar *path; - gedit_debug_message (DEBUG_PLUGINS, "Loading %s module from %s", + pluma_debug_message (DEBUG_PLUGINS, "Loading %s module from %s", module->priv->module_name, module->priv->path); path = g_module_build_path (module->priv->path, module->priv->module_name); g_return_val_if_fail (path != NULL, FALSE); - gedit_debug_message (DEBUG_PLUGINS, "Module filename: %s", path); + pluma_debug_message (DEBUG_PLUGINS, "Module filename: %s", path); module->priv->library = g_module_open (path, G_MODULE_BIND_LAZY); @@ -128,11 +128,11 @@ gedit_object_module_load (GTypeModule *gmodule) } static void -gedit_object_module_unload (GTypeModule *gmodule) +pluma_object_module_unload (GTypeModule *gmodule) { - GeditObjectModule *module = GEDIT_OBJECT_MODULE (gmodule); + PlumaObjectModule *module = PLUMA_OBJECT_MODULE (gmodule); - gedit_debug_message (DEBUG_PLUGINS, "Unloading %s", module->priv->path); + pluma_debug_message (DEBUG_PLUGINS, "Unloading %s", module->priv->path); g_module_close (module->priv->library); @@ -141,36 +141,36 @@ gedit_object_module_unload (GTypeModule *gmodule) } static void -gedit_object_module_init (GeditObjectModule *module) +pluma_object_module_init (PlumaObjectModule *module) { - gedit_debug_message (DEBUG_PLUGINS, "GeditObjectModule %p initialising", module); + pluma_debug_message (DEBUG_PLUGINS, "PlumaObjectModule %p initialising", module); module->priv = G_TYPE_INSTANCE_GET_PRIVATE (module, - GEDIT_TYPE_OBJECT_MODULE, - GeditObjectModulePrivate); + PLUMA_TYPE_OBJECT_MODULE, + PlumaObjectModulePrivate); } static void -gedit_object_module_finalize (GObject *object) +pluma_object_module_finalize (GObject *object) { - GeditObjectModule *module = GEDIT_OBJECT_MODULE (object); + PlumaObjectModule *module = PLUMA_OBJECT_MODULE (object); - gedit_debug_message (DEBUG_PLUGINS, "GeditObjectModule %p finalising", module); + pluma_debug_message (DEBUG_PLUGINS, "PlumaObjectModule %p finalising", module); g_free (module->priv->path); g_free (module->priv->module_name); g_free (module->priv->type_registration); - G_OBJECT_CLASS (gedit_object_module_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_object_module_parent_class)->finalize (object); } static void -gedit_object_module_get_property (GObject *object, +pluma_object_module_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditObjectModule *module = GEDIT_OBJECT_MODULE (object); + PlumaObjectModule *module = PLUMA_OBJECT_MODULE (object); switch (prop_id) { @@ -192,12 +192,12 @@ gedit_object_module_get_property (GObject *object, } static void -gedit_object_module_set_property (GObject *object, +pluma_object_module_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditObjectModule *module = GEDIT_OBJECT_MODULE (object); + PlumaObjectModule *module = PLUMA_OBJECT_MODULE (object); switch (prop_id) { @@ -221,17 +221,17 @@ gedit_object_module_set_property (GObject *object, } static void -gedit_object_module_class_init (GeditObjectModuleClass *klass) +pluma_object_module_class_init (PlumaObjectModuleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GTypeModuleClass *module_class = G_TYPE_MODULE_CLASS (klass); - object_class->set_property = gedit_object_module_set_property; - object_class->get_property = gedit_object_module_get_property; - object_class->finalize = gedit_object_module_finalize; + object_class->set_property = pluma_object_module_set_property; + object_class->get_property = pluma_object_module_get_property; + object_class->finalize = pluma_object_module_finalize; - module_class->load = gedit_object_module_load; - module_class->unload = gedit_object_module_unload; + module_class->load = pluma_object_module_load; + module_class->unload = pluma_object_module_unload; g_object_class_install_property (object_class, PROP_MODULE_NAME, @@ -269,16 +269,16 @@ gedit_object_module_class_init (GeditObjectModuleClass *klass) G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); - g_type_class_add_private (klass, sizeof (GeditObjectModulePrivate)); + g_type_class_add_private (klass, sizeof (PlumaObjectModulePrivate)); } -GeditObjectModule * -gedit_object_module_new (const gchar *module_name, +PlumaObjectModule * +pluma_object_module_new (const gchar *module_name, const gchar *path, const gchar *type_registration, gboolean resident) { - return (GeditObjectModule *)g_object_new (GEDIT_TYPE_OBJECT_MODULE, + return (PlumaObjectModule *)g_object_new (PLUMA_TYPE_OBJECT_MODULE, "module-name", module_name, "path", @@ -291,7 +291,7 @@ gedit_object_module_new (const gchar *module_name, } GObject * -gedit_object_module_new_object (GeditObjectModule *module, +pluma_object_module_new_object (PlumaObjectModule *module, const gchar *first_property_name, ...) { @@ -300,7 +300,7 @@ gedit_object_module_new_object (GeditObjectModule *module, g_return_val_if_fail (module->priv->type != 0, NULL); - gedit_debug_message (DEBUG_PLUGINS, "Creating object of type %s", + pluma_debug_message (DEBUG_PLUGINS, "Creating object of type %s", g_type_name (module->priv->type)); va_start (var_args, first_property_name); @@ -311,33 +311,33 @@ gedit_object_module_new_object (GeditObjectModule *module, } const gchar * -gedit_object_module_get_path (GeditObjectModule *module) +pluma_object_module_get_path (PlumaObjectModule *module) { - g_return_val_if_fail (GEDIT_IS_OBJECT_MODULE (module), NULL); + g_return_val_if_fail (PLUMA_IS_OBJECT_MODULE (module), NULL); return module->priv->path; } const gchar * -gedit_object_module_get_module_name (GeditObjectModule *module) +pluma_object_module_get_module_name (PlumaObjectModule *module) { - g_return_val_if_fail (GEDIT_IS_OBJECT_MODULE (module), NULL); + g_return_val_if_fail (PLUMA_IS_OBJECT_MODULE (module), NULL); return module->priv->module_name; } const gchar * -gedit_object_module_get_type_registration (GeditObjectModule *module) +pluma_object_module_get_type_registration (PlumaObjectModule *module) { - g_return_val_if_fail (GEDIT_IS_OBJECT_MODULE (module), NULL); + g_return_val_if_fail (PLUMA_IS_OBJECT_MODULE (module), NULL); return module->priv->type_registration; } GType -gedit_object_module_get_object_type (GeditObjectModule *module) +pluma_object_module_get_object_type (PlumaObjectModule *module) { - g_return_val_if_fail (GEDIT_IS_OBJECT_MODULE (module), 0); + g_return_val_if_fail (PLUMA_IS_OBJECT_MODULE (module), 0); return module->priv->type; } diff --git a/pluma/pluma-object-module.h b/pluma/pluma-object-module.h new file mode 100755 index 0000000..d197b00 --- /dev/null +++ b/pluma/pluma-object-module.h @@ -0,0 +1,94 @@ +/* + * pluma-object-module.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* This is a modified version of pluma-module.h from Epiphany source code. + * Here the original copyright assignment: + * + * Copyright (C) 2003 Marco Pesenti Gritti + * Copyright (C) 2003, 2004 Christian Persch + * + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id: pluma-module.h 6263 2008-05-05 10:52:10Z sfre $ + */ + +#ifndef __PLUMA_OBJECT_MODULE_H__ +#define __PLUMA_OBJECT_MODULE_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_OBJECT_MODULE (pluma_object_module_get_type ()) +#define PLUMA_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_OBJECT_MODULE, PlumaObjectModule)) +#define PLUMA_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_OBJECT_MODULE, PlumaObjectModuleClass)) +#define PLUMA_IS_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_OBJECT_MODULE)) +#define PLUMA_IS_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_OBJECT_MODULE)) +#define PLUMA_OBJECT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_OBJECT_MODULE, PlumaObjectModuleClass)) + +typedef struct _PlumaObjectModule PlumaObjectModule; +typedef struct _PlumaObjectModulePrivate PlumaObjectModulePrivate; + +struct _PlumaObjectModule +{ + GTypeModule parent; + + PlumaObjectModulePrivate *priv; +}; + +typedef struct _PlumaObjectModuleClass PlumaObjectModuleClass; + +struct _PlumaObjectModuleClass +{ + GTypeModuleClass parent_class; + + /* Virtual class methods */ + void (* garbage_collect) (); +}; + +GType pluma_object_module_get_type (void) G_GNUC_CONST; + +PlumaObjectModule *pluma_object_module_new (const gchar *module_name, + const gchar *path, + const gchar *type_registration, + gboolean resident); + +GObject *pluma_object_module_new_object (PlumaObjectModule *module, + const gchar *first_property_name, + ...); + +GType pluma_object_module_get_object_type (PlumaObjectModule *module); +const gchar *pluma_object_module_get_path (PlumaObjectModule *module); +const gchar *pluma_object_module_get_module_name (PlumaObjectModule *module); +const gchar *pluma_object_module_get_type_registration (PlumaObjectModule *module); + +G_END_DECLS + +#endif diff --git a/gedit/gedit-panel.c b/pluma/pluma-panel.c similarity index 77% rename from gedit/gedit-panel.c rename to pluma/pluma-panel.c index fb1f967..1e02f6c 100755 --- a/gedit/gedit-panel.c +++ b/pluma/pluma-panel.c @@ -1,6 +1,6 @@ /* - * gedit-panel.c - * This file is part of gedit + * pluma-panel.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,29 +21,29 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#include "gedit-panel.h" +#include "pluma-panel.h" #include #include #include #include -#include "gedit-close-button.h" -#include "gedit-window.h" -#include "gedit-debug.h" +#include "pluma-close-button.h" +#include "pluma-window.h" +#include "pluma-debug.h" -#define PANEL_ITEM_KEY "GeditPanelItemKey" +#define PANEL_ITEM_KEY "PlumaPanelItemKey" -#define GEDIT_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_PANEL, GeditPanelPrivate)) +#define PLUMA_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_PANEL, PlumaPanelPrivate)) -struct _GeditPanelPrivate +struct _PlumaPanelPrivate { GtkOrientation orientation; @@ -55,9 +55,9 @@ struct _GeditPanelPrivate GtkWidget *notebook; }; -typedef struct _GeditPanelItem GeditPanelItem; +typedef struct _PlumaPanelItem PlumaPanelItem; -struct _GeditPanelItem +struct _PlumaPanelItem { gchar *name; GtkWidget *icon; @@ -80,27 +80,27 @@ enum { static guint signals[LAST_SIGNAL]; -static GObject *gedit_panel_constructor (GType type, +static GObject *pluma_panel_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties); -G_DEFINE_TYPE(GeditPanel, gedit_panel, GTK_TYPE_VBOX) +G_DEFINE_TYPE(PlumaPanel, pluma_panel, GTK_TYPE_VBOX) static void -gedit_panel_finalize (GObject *obj) +pluma_panel_finalize (GObject *obj) { - if (G_OBJECT_CLASS (gedit_panel_parent_class)->finalize) - (*G_OBJECT_CLASS (gedit_panel_parent_class)->finalize) (obj); + if (G_OBJECT_CLASS (pluma_panel_parent_class)->finalize) + (*G_OBJECT_CLASS (pluma_panel_parent_class)->finalize) (obj); } static void -gedit_panel_get_property (GObject *object, +pluma_panel_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditPanel *panel = GEDIT_PANEL (object); + PlumaPanel *panel = PLUMA_PANEL (object); switch (prop_id) { @@ -114,12 +114,12 @@ gedit_panel_get_property (GObject *object, } static void -gedit_panel_set_property (GObject *object, +pluma_panel_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditPanel *panel = GEDIT_PANEL (object); + PlumaPanel *panel = PLUMA_PANEL (object); switch (prop_id) { @@ -133,35 +133,35 @@ gedit_panel_set_property (GObject *object, } static void -gedit_panel_close (GeditPanel *panel) +pluma_panel_close (PlumaPanel *panel) { gtk_widget_hide (GTK_WIDGET (panel)); } static void -gedit_panel_focus_document (GeditPanel *panel) +pluma_panel_focus_document (PlumaPanel *panel) { GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (panel)); #if !GTK_CHECK_VERSION (2, 18, 0) - if (GTK_WIDGET_TOPLEVEL (toplevel) && GEDIT_IS_WINDOW (toplevel)) + if (GTK_WIDGET_TOPLEVEL (toplevel) && PLUMA_IS_WINDOW (toplevel)) #else - if (gtk_widget_is_toplevel (toplevel) && GEDIT_IS_WINDOW (toplevel)) + if (gtk_widget_is_toplevel (toplevel) && PLUMA_IS_WINDOW (toplevel)) #endif { - GeditView *view; + PlumaView *view; - view = gedit_window_get_active_view (GEDIT_WINDOW (toplevel)); + view = pluma_window_get_active_view (PLUMA_WINDOW (toplevel)); if (view != NULL) gtk_widget_grab_focus (GTK_WIDGET (view)); } } static void -gedit_panel_grab_focus (GtkWidget *w) +pluma_panel_grab_focus (GtkWidget *w) { gint n; GtkWidget *tab; - GeditPanel *panel = GEDIT_PANEL (w); + PlumaPanel *panel = PLUMA_PANEL (w); n = gtk_notebook_get_current_page (GTK_NOTEBOOK (panel->priv->notebook)); if (n == -1) @@ -175,18 +175,18 @@ gedit_panel_grab_focus (GtkWidget *w) } static void -gedit_panel_class_init (GeditPanelClass *klass) +pluma_panel_class_init (PlumaPanelClass *klass) { GtkBindingSet *binding_set; GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); - g_type_class_add_private (klass, sizeof (GeditPanelPrivate)); + g_type_class_add_private (klass, sizeof (PlumaPanelPrivate)); - object_class->constructor = gedit_panel_constructor; - object_class->finalize = gedit_panel_finalize; - object_class->get_property = gedit_panel_get_property; - object_class->set_property = gedit_panel_set_property; + object_class->constructor = pluma_panel_constructor; + object_class->finalize = pluma_panel_finalize; + object_class->get_property = pluma_panel_get_property; + object_class->set_property = pluma_panel_set_property; g_object_class_install_property (object_class, PROP_ORIENTATION, @@ -200,16 +200,16 @@ gedit_panel_class_init (GeditPanelClass *klass) G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); - widget_class->grab_focus = gedit_panel_grab_focus; + widget_class->grab_focus = pluma_panel_grab_focus; - klass->close = gedit_panel_close; - klass->focus_document = gedit_panel_focus_document; + klass->close = pluma_panel_close; + klass->focus_document = pluma_panel_focus_document; signals[ITEM_ADDED] = g_signal_new ("item_added", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditPanelClass, item_added), + G_STRUCT_OFFSET (PlumaPanelClass, item_added), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, @@ -219,7 +219,7 @@ gedit_panel_class_init (GeditPanelClass *klass) g_signal_new ("item_removed", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeditPanelClass, item_removed), + G_STRUCT_OFFSET (PlumaPanelClass, item_removed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, @@ -231,7 +231,7 @@ gedit_panel_class_init (GeditPanelClass *klass) g_signal_new ("close", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (GeditPanelClass, close), + G_STRUCT_OFFSET (PlumaPanelClass, close), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); @@ -239,7 +239,7 @@ gedit_panel_class_init (GeditPanelClass *klass) g_signal_new ("focus_document", G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (GeditPanelClass, focus_document), + G_STRUCT_OFFSET (PlumaPanelClass, focus_document), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); @@ -260,7 +260,7 @@ gedit_panel_class_init (GeditPanelClass *klass) /* This is ugly, since it supports only known * storage types of GtkImage, otherwise fall back * to the empty icon. - * See http://bugzilla.mate.org/show_bug.cgi?id=317520. + * See http://bugzilla.gnome.org/show_bug.cgi?id=317520. */ static void set_gtk_image_from_gtk_image (GtkImage *image, @@ -340,8 +340,8 @@ set_gtk_image_from_gtk_image (GtkImage *image, } static void -sync_title (GeditPanel *panel, - GeditPanelItem *item) +sync_title (PlumaPanel *panel, + PlumaPanelItem *item) { if (panel->priv->orientation != GTK_ORIENTATION_VERTICAL) return; @@ -369,15 +369,15 @@ static void notebook_page_changed (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, - GeditPanel *panel) + PlumaPanel *panel) { GtkWidget *item; - GeditPanelItem *data; + PlumaPanelItem *data; item = gtk_notebook_get_nth_page (notebook, page_num); g_return_if_fail (item != NULL); - data = (GeditPanelItem *)g_object_get_data (G_OBJECT (item), + data = (PlumaPanelItem *)g_object_get_data (G_OBJECT (item), PANEL_ITEM_KEY); g_return_if_fail (data != NULL); @@ -385,7 +385,7 @@ notebook_page_changed (GtkNotebook *notebook, } static void -panel_show (GeditPanel *panel, +panel_show (PlumaPanel *panel, gpointer user_data) { gint page; @@ -400,9 +400,9 @@ panel_show (GeditPanel *panel, } static void -gedit_panel_init (GeditPanel *panel) +pluma_panel_init (PlumaPanel *panel) { - panel->priv = GEDIT_PANEL_GET_PRIVATE (panel); + panel->priv = PLUMA_PANEL_GET_PRIVATE (panel); } static void @@ -413,11 +413,11 @@ close_button_clicked_cb (GtkWidget *widget, } static GtkWidget * -create_close_button (GeditPanel *panel) +create_close_button (PlumaPanel *panel) { GtkWidget *button; - button = gedit_close_button_new (); + button = pluma_close_button_new (); gtk_widget_set_tooltip_text (button, _("Hide panel")); @@ -430,7 +430,7 @@ create_close_button (GeditPanel *panel) } static void -build_notebook_for_panel (GeditPanel *panel) +build_notebook_for_panel (PlumaPanel *panel) { /* Create the panel notebook */ panel->priv->notebook = gtk_notebook_new (); @@ -450,7 +450,7 @@ build_notebook_for_panel (GeditPanel *panel) } static void -build_horizontal_panel (GeditPanel *panel) +build_horizontal_panel (PlumaPanel *panel) { GtkWidget *box; GtkWidget *sidebar; @@ -492,7 +492,7 @@ build_horizontal_panel (GeditPanel *panel) } static void -build_vertical_panel (GeditPanel *panel) +build_vertical_panel (PlumaPanel *panel) { GtkWidget *close_button; GtkWidget *title_hbox; @@ -557,13 +557,13 @@ build_vertical_panel (GeditPanel *panel) } static GObject * -gedit_panel_constructor (GType type, +pluma_panel_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties) { /* Invoke parent constructor. */ - GeditPanelClass *klass = GEDIT_PANEL_CLASS (g_type_class_peek (GEDIT_TYPE_PANEL)); + PlumaPanelClass *klass = PLUMA_PANEL_CLASS (g_type_class_peek (PLUMA_TYPE_PANEL)); GObjectClass *parent_class = G_OBJECT_CLASS (g_type_class_peek_parent (klass)); GObject *obj = parent_class->constructor (type, n_construct_properties, @@ -571,7 +571,7 @@ gedit_panel_constructor (GType type, /* Build the panel, now that we know the orientation (_init has been called previously) */ - GeditPanel *panel = GEDIT_PANEL (obj); + PlumaPanel *panel = PLUMA_PANEL (obj); build_notebook_for_panel (panel); if (panel->priv->orientation == GTK_ORIENTATION_HORIZONTAL) @@ -588,23 +588,23 @@ gedit_panel_constructor (GType type, } /** - * gedit_panel_new: + * pluma_panel_new: * @orientation: a #GtkOrientation * - * Creates a new #GeditPanel with the given @orientation. You shouldn't create - * a new panel use gedit_window_get_side_panel() or gedit_window_get_bottom_panel() + * Creates a new #PlumaPanel with the given @orientation. You shouldn't create + * a new panel use pluma_window_get_side_panel() or pluma_window_get_bottom_panel() * instead. * - * Returns: a new #GeditPanel object. + * Returns: a new #PlumaPanel object. */ GtkWidget * -gedit_panel_new (GtkOrientation orientation) +pluma_panel_new (GtkOrientation orientation) { - return GTK_WIDGET (g_object_new (GEDIT_TYPE_PANEL, "orientation", orientation, NULL)); + return GTK_WIDGET (g_object_new (PLUMA_TYPE_PANEL, "orientation", orientation, NULL)); } static GtkWidget * -build_tab_label (GeditPanel *panel, +build_tab_label (PlumaPanel *panel, GtkWidget *item, const gchar *name, GtkWidget *icon) @@ -646,8 +646,8 @@ build_tab_label (GeditPanel *panel, } /** - * gedit_panel_add_item: - * @panel: a #GeditPanel + * pluma_panel_add_item: + * @panel: a #PlumaPanel * @item: the #GtkWidget to add to the @panel * @name: the name to be shown in the @panel * @image: the image to be shown in the @panel @@ -655,22 +655,22 @@ build_tab_label (GeditPanel *panel, * Adds a new item to the @panel. */ void -gedit_panel_add_item (GeditPanel *panel, +pluma_panel_add_item (PlumaPanel *panel, GtkWidget *item, const gchar *name, GtkWidget *image) { - GeditPanelItem *data; + PlumaPanelItem *data; GtkWidget *tab_label; GtkWidget *menu_label; gint w, h; - g_return_if_fail (GEDIT_IS_PANEL (panel)); + g_return_if_fail (PLUMA_IS_PANEL (panel)); g_return_if_fail (GTK_IS_WIDGET (item)); g_return_if_fail (name != NULL); g_return_if_fail (image == NULL || GTK_IS_IMAGE (image)); - data = g_new (GeditPanelItem, 1); + data = g_new (PlumaPanelItem, 1); data->name = g_strdup (name); @@ -709,16 +709,16 @@ gedit_panel_add_item (GeditPanel *panel, } /** - * gedit_panel_add_item_with_stock_icon: - * @panel: a #GeditPanel + * pluma_panel_add_item_with_stock_icon: + * @panel: a #PlumaPanel * @item: the #GtkWidget to add to the @panel * @name: the name to be shown in the @panel * @stock_id: a stock id * - * Same as gedit_panel_add_item() but using an image from stock. + * Same as pluma_panel_add_item() but using an image from stock. */ void -gedit_panel_add_item_with_stock_icon (GeditPanel *panel, +pluma_panel_add_item_with_stock_icon (PlumaPanel *panel, GtkWidget *item, const gchar *name, const gchar *stock_id) @@ -731,12 +731,12 @@ gedit_panel_add_item_with_stock_icon (GeditPanel *panel, GTK_ICON_SIZE_MENU); } - gedit_panel_add_item (panel, item, name, icon); + pluma_panel_add_item (panel, item, name, icon); } /** - * gedit_panel_remove_item: - * @panel: a #GeditPanel + * pluma_panel_remove_item: + * @panel: a #PlumaPanel * @item: the item to be removed from the panel * * Removes the widget @item from the panel if it is in the @panel and returns @@ -745,13 +745,13 @@ gedit_panel_add_item_with_stock_icon (GeditPanel *panel, * Returns: TRUE if it was well removed. */ gboolean -gedit_panel_remove_item (GeditPanel *panel, +pluma_panel_remove_item (PlumaPanel *panel, GtkWidget *item) { - GeditPanelItem *data; + PlumaPanelItem *data; gint page_num; - g_return_val_if_fail (GEDIT_IS_PANEL (panel), FALSE); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), FALSE); g_return_val_if_fail (GTK_IS_WIDGET (item), FALSE); page_num = gtk_notebook_page_num (GTK_NOTEBOOK (panel->priv->notebook), @@ -760,7 +760,7 @@ gedit_panel_remove_item (GeditPanel *panel, if (page_num == -1) return FALSE; - data = (GeditPanelItem *)g_object_get_data (G_OBJECT (item), + data = (PlumaPanelItem *)g_object_get_data (G_OBJECT (item), PANEL_ITEM_KEY); g_return_val_if_fail (data != NULL, FALSE); @@ -789,8 +789,8 @@ gedit_panel_remove_item (GeditPanel *panel, } /** - * gedit_panel_activate_item: - * @panel: a #GeditPanel + * pluma_panel_activate_item: + * @panel: a #PlumaPanel * @item: the item to be activated * * Switches to the page that contains @item. @@ -798,12 +798,12 @@ gedit_panel_remove_item (GeditPanel *panel, * Returns: TRUE if it was activated */ gboolean -gedit_panel_activate_item (GeditPanel *panel, +pluma_panel_activate_item (PlumaPanel *panel, GtkWidget *item) { gint page_num; - g_return_val_if_fail (GEDIT_IS_PANEL (panel), FALSE); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), FALSE); g_return_val_if_fail (GTK_IS_WIDGET (item), FALSE); page_num = gtk_notebook_page_num (GTK_NOTEBOOK (panel->priv->notebook), @@ -819,22 +819,22 @@ gedit_panel_activate_item (GeditPanel *panel, } /** - * gedit_panel_item_is_active: - * @panel: a #GeditPanel - * @item: a widget contained in #GeditPanel + * pluma_panel_item_is_active: + * @panel: a #PlumaPanel + * @item: a widget contained in #PlumaPanel * * Wheter @item is the one current active in @panel * * Returns: TRUE if the widget is active */ gboolean -gedit_panel_item_is_active (GeditPanel *panel, +pluma_panel_item_is_active (PlumaPanel *panel, GtkWidget *item) { gint cur_page; gint page_num; - g_return_val_if_fail (GEDIT_IS_PANEL (panel), FALSE); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), FALSE); g_return_val_if_fail (GTK_IS_WIDGET (item), FALSE); page_num = gtk_notebook_page_num (GTK_NOTEBOOK (panel->priv->notebook), @@ -850,45 +850,45 @@ gedit_panel_item_is_active (GeditPanel *panel, } /** - * gedit_panel_get_orientation: - * @panel: a #GeditPanel + * pluma_panel_get_orientation: + * @panel: a #PlumaPanel * * Gets the orientation of the @panel. * - * Returns: the #GtkOrientation of #GeditPanel + * Returns: the #GtkOrientation of #PlumaPanel */ GtkOrientation -gedit_panel_get_orientation (GeditPanel *panel) +pluma_panel_get_orientation (PlumaPanel *panel) { - g_return_val_if_fail (GEDIT_IS_PANEL (panel), GTK_ORIENTATION_VERTICAL); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), GTK_ORIENTATION_VERTICAL); return panel->priv->orientation; } /** - * gedit_panel_get_n_items: - * @panel: a #GeditPanel + * pluma_panel_get_n_items: + * @panel: a #PlumaPanel * * Gets the number of items in a @panel. * - * Returns: the number of items contained in #GeditPanel + * Returns: the number of items contained in #PlumaPanel */ gint -gedit_panel_get_n_items (GeditPanel *panel) +pluma_panel_get_n_items (PlumaPanel *panel) { - g_return_val_if_fail (GEDIT_IS_PANEL (panel), -1); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), -1); return gtk_notebook_get_n_pages (GTK_NOTEBOOK (panel->priv->notebook)); } gint -_gedit_panel_get_active_item_id (GeditPanel *panel) +_pluma_panel_get_active_item_id (PlumaPanel *panel) { gint cur_page; GtkWidget *item; - GeditPanelItem *data; + PlumaPanelItem *data; - g_return_val_if_fail (GEDIT_IS_PANEL (panel), 0); + g_return_val_if_fail (PLUMA_IS_PANEL (panel), 0); cur_page = gtk_notebook_get_current_page ( GTK_NOTEBOOK (panel->priv->notebook)); @@ -906,7 +906,7 @@ _gedit_panel_get_active_item_id (GeditPanel *panel) * ad hoc id argument. */ - data = (GeditPanelItem *)g_object_get_data (G_OBJECT (item), + data = (PlumaPanelItem *)g_object_get_data (G_OBJECT (item), PANEL_ITEM_KEY); g_return_val_if_fail (data != NULL, 0); @@ -914,12 +914,12 @@ _gedit_panel_get_active_item_id (GeditPanel *panel) } void -_gedit_panel_set_active_item_by_id (GeditPanel *panel, +_pluma_panel_set_active_item_by_id (PlumaPanel *panel, gint id) { gint n, i; - g_return_if_fail (GEDIT_IS_PANEL (panel)); + g_return_if_fail (PLUMA_IS_PANEL (panel)); if (id == 0) return; @@ -930,12 +930,12 @@ _gedit_panel_set_active_item_by_id (GeditPanel *panel, for (i = 0; i < n; i++) { GtkWidget *item; - GeditPanelItem *data; + PlumaPanelItem *data; item = gtk_notebook_get_nth_page ( GTK_NOTEBOOK (panel->priv->notebook), i); - data = (GeditPanelItem *)g_object_get_data (G_OBJECT (item), + data = (PlumaPanelItem *)g_object_get_data (G_OBJECT (item), PANEL_ITEM_KEY); g_return_if_fail (data != NULL); diff --git a/pluma/pluma-panel.h b/pluma/pluma-panel.h new file mode 100755 index 0000000..e3e647b --- /dev/null +++ b/pluma/pluma-panel.h @@ -0,0 +1,130 @@ +/* + * pluma-panel.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PANEL_H__ +#define __PLUMA_PANEL_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PANEL (pluma_panel_get_type()) +#define PLUMA_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PANEL, PlumaPanel)) +#define PLUMA_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PANEL, PlumaPanelClass)) +#define PLUMA_IS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PANEL)) +#define PLUMA_IS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PANEL)) +#define PLUMA_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PANEL, PlumaPanelClass)) + +/* Private structure type */ +typedef struct _PlumaPanelPrivate PlumaPanelPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaPanel PlumaPanel; + +struct _PlumaPanel +{ + GtkVBox vbox; + + /*< private > */ + PlumaPanelPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaPanelClass PlumaPanelClass; + +struct _PlumaPanelClass +{ + GtkVBoxClass parent_class; + + void (* item_added) (PlumaPanel *panel, + GtkWidget *item); + void (* item_removed) (PlumaPanel *panel, + GtkWidget *item); + + /* Keybinding signals */ + void (* close) (PlumaPanel *panel); + void (* focus_document) (PlumaPanel *panel); + + /* Padding for future expansion */ + void (*_pluma_reserved1) (void); + void (*_pluma_reserved2) (void); + void (*_pluma_reserved3) (void); + void (*_pluma_reserved4) (void); +}; + +/* + * Public methods + */ +GType pluma_panel_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_panel_new (GtkOrientation orientation); + +void pluma_panel_add_item (PlumaPanel *panel, + GtkWidget *item, + const gchar *name, + GtkWidget *image); + +void pluma_panel_add_item_with_stock_icon (PlumaPanel *panel, + GtkWidget *item, + const gchar *name, + const gchar *stock_id); + +gboolean pluma_panel_remove_item (PlumaPanel *panel, + GtkWidget *item); + +gboolean pluma_panel_activate_item (PlumaPanel *panel, + GtkWidget *item); + +gboolean pluma_panel_item_is_active (PlumaPanel *panel, + GtkWidget *item); + +GtkOrientation pluma_panel_get_orientation (PlumaPanel *panel); + +gint pluma_panel_get_n_items (PlumaPanel *panel); + + +/* + * Non exported functions + */ +gint _pluma_panel_get_active_item_id (PlumaPanel *panel); + +void _pluma_panel_set_active_item_by_id (PlumaPanel *panel, + gint id); + +G_END_DECLS + +#endif /* __PLUMA_PANEL_H__ */ diff --git a/gedit/gedit-plugin-info-priv.h b/pluma/pluma-plugin-info-priv.h similarity index 72% rename from gedit/gedit-plugin-info-priv.h rename to pluma/pluma-plugin-info-priv.h index 247b51c..d46e4f2 100755 --- a/gedit/gedit-plugin-info-priv.h +++ b/pluma/pluma-plugin-info-priv.h @@ -1,6 +1,6 @@ /* - * gedit-plugin-info-priv.h - * This file is part of gedit + * pluma-plugin-info-priv.h + * This file is part of pluma * * Copyright (C) 2002-2005 - Paolo Maggi * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux @@ -22,24 +22,24 @@ */ /* - * Modified by the gedit Team, 2002-2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_PLUGIN_INFO_PRIV_H__ -#define __GEDIT_PLUGIN_INFO_PRIV_H__ +#ifndef __PLUMA_PLUGIN_INFO_PRIV_H__ +#define __PLUMA_PLUGIN_INFO_PRIV_H__ -#include "gedit-plugin-info.h" -#include "gedit-plugin.h" +#include "pluma-plugin-info.h" +#include "pluma-plugin.h" -struct _GeditPluginInfo +struct _PlumaPluginInfo { gint refcount; - GeditPlugin *plugin; + PlumaPlugin *plugin; gchar *file; gchar *module_name; @@ -60,9 +60,9 @@ struct _GeditPluginInfo gint available : 1; }; -GeditPluginInfo *_gedit_plugin_info_new (const gchar *file); -void _gedit_plugin_info_ref (GeditPluginInfo *info); -void _gedit_plugin_info_unref (GeditPluginInfo *info); +PlumaPluginInfo *_pluma_plugin_info_new (const gchar *file); +void _pluma_plugin_info_ref (PlumaPluginInfo *info); +void _pluma_plugin_info_unref (PlumaPluginInfo *info); -#endif /* __GEDIT_PLUGIN_INFO_PRIV_H__ */ +#endif /* __PLUMA_PLUGIN_INFO_PRIV_H__ */ diff --git a/gedit/gedit-plugin-info.c b/pluma/pluma-plugin-info.c similarity index 67% rename from gedit/gedit-plugin-info.c rename to pluma/pluma-plugin-info.c index 31411c4..76daf3b 100755 --- a/gedit/gedit-plugin-info.c +++ b/pluma/pluma-plugin-info.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-info.c - * This file is part of gedit + * pluma-plugin-info.c + * This file is part of pluma * * Copyright (C) 2002-2005 - Paolo Maggi * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002-2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,33 +37,33 @@ #include #include -#include "gedit-plugin-info.h" -#include "gedit-plugin-info-priv.h" -#include "gedit-debug.h" -#include "gedit-plugin.h" +#include "pluma-plugin-info.h" +#include "pluma-plugin-info-priv.h" +#include "pluma-debug.h" +#include "pluma-plugin.h" void -_gedit_plugin_info_ref (GeditPluginInfo *info) +_pluma_plugin_info_ref (PlumaPluginInfo *info) { g_atomic_int_inc (&info->refcount); } -static GeditPluginInfo * -gedit_plugin_info_copy (GeditPluginInfo *info) +static PlumaPluginInfo * +pluma_plugin_info_copy (PlumaPluginInfo *info) { - _gedit_plugin_info_ref (info); + _pluma_plugin_info_ref (info); return info; } void -_gedit_plugin_info_unref (GeditPluginInfo *info) +_pluma_plugin_info_unref (PlumaPluginInfo *info) { if (!g_atomic_int_dec_and_test (&info->refcount)) return; if (info->plugin != NULL) { - gedit_debug_message (DEBUG_PLUGINS, "Unref plugin %s", info->name); + pluma_debug_message (DEBUG_PLUGINS, "Unref plugin %s", info->name); g_object_unref (info->plugin); } @@ -84,47 +84,47 @@ _gedit_plugin_info_unref (GeditPluginInfo *info) } /** - * gedit_plugin_info_get_type: + * pluma_plugin_info_get_type: * - * Retrieves the #GType object which is associated with the #GeditPluginInfo + * Retrieves the #GType object which is associated with the #PlumaPluginInfo * class. * - * Return value: the GType associated with #GeditPluginInfo. + * Return value: the GType associated with #PlumaPluginInfo. **/ GType -gedit_plugin_info_get_type (void) +pluma_plugin_info_get_type (void) { static GType the_type = 0; if (G_UNLIKELY (!the_type)) the_type = g_boxed_type_register_static ( - "GeditPluginInfo", - (GBoxedCopyFunc) gedit_plugin_info_copy, - (GBoxedFreeFunc) _gedit_plugin_info_unref); + "PlumaPluginInfo", + (GBoxedCopyFunc) pluma_plugin_info_copy, + (GBoxedFreeFunc) _pluma_plugin_info_unref); return the_type; } /** - * gedit_plugin_info_new: + * pluma_plugin_info_new: * @filename: the filename where to read the plugin information * - * Creates a new #GeditPluginInfo from a file on the disk. + * Creates a new #PlumaPluginInfo from a file on the disk. * - * Return value: a newly created #GeditPluginInfo. + * Return value: a newly created #PlumaPluginInfo. */ -GeditPluginInfo * -_gedit_plugin_info_new (const gchar *file) +PlumaPluginInfo * +_pluma_plugin_info_new (const gchar *file) { - GeditPluginInfo *info; + PlumaPluginInfo *info; GKeyFile *plugin_file = NULL; gchar *str; g_return_val_if_fail (file != NULL, NULL); - gedit_debug_message (DEBUG_PLUGINS, "Loading plugin: %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Loading plugin: %s", file); - info = g_new0 (GeditPluginInfo, 1); + info = g_new0 (PlumaPluginInfo, 1); info->refcount = 1; info->file = g_strdup (file); @@ -136,29 +136,29 @@ _gedit_plugin_info_new (const gchar *file) } if (!g_key_file_has_key (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "IAge", NULL)) { - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "IAge key does not exist in file: %s", file); goto error; } /* Check IAge=2 */ if (g_key_file_get_integer (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "IAge", NULL) != 2) { - gedit_debug_message (DEBUG_PLUGINS, + pluma_debug_message (DEBUG_PLUGINS, "Wrong IAge in file: %s", file); goto error; } /* Get module name */ str = g_key_file_get_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Module", NULL); @@ -174,19 +174,19 @@ _gedit_plugin_info_new (const gchar *file) /* Get the dependency list */ info->dependencies = g_key_file_get_string_list (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Depends", NULL, NULL); if (info->dependencies == NULL) { - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Depends' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Depends' in %s", file); info->dependencies = g_new0 (gchar *, 1); } /* Get the loader for this plugin */ str = g_key_file_get_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Loader", NULL); @@ -202,7 +202,7 @@ _gedit_plugin_info_new (const gchar *file) /* Get Name */ str = g_key_file_get_locale_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Name", NULL, NULL); if (str) @@ -215,64 +215,64 @@ _gedit_plugin_info_new (const gchar *file) /* Get Description */ str = g_key_file_get_locale_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Description", NULL, NULL); if (str) info->desc = str; else - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Description' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Description' in %s", file); /* Get Icon */ str = g_key_file_get_locale_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Icon", NULL, NULL); if (str) info->icon_name = str; else - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Icon' in %s, using 'gedit-plugin'", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Icon' in %s, using 'pluma-plugin'", file); /* Get Authors */ info->authors = g_key_file_get_string_list (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Authors", NULL, NULL); if (info->authors == NULL) - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Authors' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Authors' in %s", file); /* Get Copyright */ str = g_key_file_get_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Copyright", NULL); if (str) info->copyright = str; else - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Copyright' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Copyright' in %s", file); /* Get Website */ str = g_key_file_get_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Website", NULL); if (str) info->website = str; else - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Website' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Website' in %s", file); /* Get Version */ str = g_key_file_get_string (plugin_file, - "Gedit Plugin", + "Pluma Plugin", "Version", NULL); if (str) info->version = str; else - gedit_debug_message (DEBUG_PLUGINS, "Could not find 'Version' in %s", file); + pluma_debug_message (DEBUG_PLUGINS, "Could not find 'Version' in %s", file); g_key_file_free (plugin_file); @@ -294,7 +294,7 @@ error: } gboolean -gedit_plugin_info_is_active (GeditPluginInfo *info) +pluma_plugin_info_is_active (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, FALSE); @@ -302,7 +302,7 @@ gedit_plugin_info_is_active (GeditPluginInfo *info) } gboolean -gedit_plugin_info_is_available (GeditPluginInfo *info) +pluma_plugin_info_is_available (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, FALSE); @@ -310,20 +310,20 @@ gedit_plugin_info_is_available (GeditPluginInfo *info) } gboolean -gedit_plugin_info_is_configurable (GeditPluginInfo *info) +pluma_plugin_info_is_configurable (PlumaPluginInfo *info) { - gedit_debug_message (DEBUG_PLUGINS, "Is '%s' configurable?", info->name); + pluma_debug_message (DEBUG_PLUGINS, "Is '%s' configurable?", info->name); g_return_val_if_fail (info != NULL, FALSE); if (info->plugin == NULL || !info->available) return FALSE; - return gedit_plugin_is_configurable (info->plugin); + return pluma_plugin_is_configurable (info->plugin); } const gchar * -gedit_plugin_info_get_module_name (GeditPluginInfo *info) +pluma_plugin_info_get_module_name (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); @@ -331,7 +331,7 @@ gedit_plugin_info_get_module_name (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_name (GeditPluginInfo *info) +pluma_plugin_info_get_name (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); @@ -339,7 +339,7 @@ gedit_plugin_info_get_name (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_description (GeditPluginInfo *info) +pluma_plugin_info_get_description (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); @@ -347,22 +347,22 @@ gedit_plugin_info_get_description (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_icon_name (GeditPluginInfo *info) +pluma_plugin_info_get_icon_name (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); - /* use the gedit-plugin icon as a default if the plugin does not + /* use the pluma-plugin icon as a default if the plugin does not have its own */ if (info->icon_name != NULL && gtk_icon_theme_has_icon (gtk_icon_theme_get_default (), info->icon_name)) return info->icon_name; else - return "gedit-plugin"; + return "pluma-plugin"; } const gchar ** -gedit_plugin_info_get_authors (GeditPluginInfo *info) +pluma_plugin_info_get_authors (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, (const gchar **)NULL); @@ -370,7 +370,7 @@ gedit_plugin_info_get_authors (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_website (GeditPluginInfo *info) +pluma_plugin_info_get_website (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); @@ -378,7 +378,7 @@ gedit_plugin_info_get_website (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_copyright (GeditPluginInfo *info) +pluma_plugin_info_get_copyright (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); @@ -386,7 +386,7 @@ gedit_plugin_info_get_copyright (GeditPluginInfo *info) } const gchar * -gedit_plugin_info_get_version (GeditPluginInfo *info) +pluma_plugin_info_get_version (PlumaPluginInfo *info) { g_return_val_if_fail (info != NULL, NULL); diff --git a/pluma/pluma-plugin-info.h b/pluma/pluma-plugin-info.h new file mode 100755 index 0000000..e66861c --- /dev/null +++ b/pluma/pluma-plugin-info.h @@ -0,0 +1,63 @@ +/* + * pluma-plugin-info.h + * This file is part of pluma + * + * Copyright (C) 2002-2005 - Paolo Maggi + * Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002-2007. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PLUGIN_INFO_H__ +#define __PLUMA_PLUGIN_INFO_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_PLUGIN_INFO (pluma_plugin_info_get_type ()) +#define PLUMA_PLUGIN_INFO(obj) ((PlumaPluginInfo *) (obj)) + +typedef struct _PlumaPluginInfo PlumaPluginInfo; + +GType pluma_plugin_info_get_type (void) G_GNUC_CONST; + +gboolean pluma_plugin_info_is_active (PlumaPluginInfo *info); +gboolean pluma_plugin_info_is_available (PlumaPluginInfo *info); +gboolean pluma_plugin_info_is_configurable (PlumaPluginInfo *info); + +const gchar *pluma_plugin_info_get_module_name (PlumaPluginInfo *info); + +const gchar *pluma_plugin_info_get_name (PlumaPluginInfo *info); +const gchar *pluma_plugin_info_get_description (PlumaPluginInfo *info); +const gchar *pluma_plugin_info_get_icon_name (PlumaPluginInfo *info); +const gchar **pluma_plugin_info_get_authors (PlumaPluginInfo *info); +const gchar *pluma_plugin_info_get_website (PlumaPluginInfo *info); +const gchar *pluma_plugin_info_get_copyright (PlumaPluginInfo *info); +const gchar *pluma_plugin_info_get_version (PlumaPluginInfo *info); + +G_END_DECLS + +#endif /* __PLUMA_PLUGIN_INFO_H__ */ + diff --git a/gedit/gedit-plugin-loader.c b/pluma/pluma-plugin-loader.c similarity index 63% rename from gedit/gedit-plugin-loader.c rename to pluma/pluma-plugin-loader.c index 2dccde4..3bf367b 100755 --- a/gedit/gedit-plugin-loader.c +++ b/pluma/pluma-plugin-loader.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-loader.c - * This file is part of gedit + * pluma-plugin-loader.c + * This file is part of pluma * * Copyright (C) 2008 - Jesse van den Kieboom * @@ -20,10 +20,10 @@ * Boston, MA 02111-1307, USA. */ -#include "gedit-plugin-loader.h" +#include "pluma-plugin-loader.h" static void -gedit_plugin_loader_base_init (gpointer g_class) +pluma_plugin_loader_base_init (gpointer g_class) { static gboolean initialized = FALSE; @@ -35,7 +35,7 @@ gedit_plugin_loader_base_init (gpointer g_class) } GType -gedit_plugin_loader_get_type (void) +pluma_plugin_loader_get_type (void) { static GType type = 0; @@ -43,8 +43,8 @@ gedit_plugin_loader_get_type (void) { static const GTypeInfo info = { - sizeof (GeditPluginLoaderInterface), - gedit_plugin_loader_base_init, /* base_init */ + sizeof (PlumaPluginLoaderInterface), + pluma_plugin_loader_base_init, /* base_init */ NULL, /* base_finalize */ NULL, /* class_init */ NULL, /* class_finalize */ @@ -54,17 +54,17 @@ gedit_plugin_loader_get_type (void) NULL /* instance_init */ }; - type = g_type_register_static (G_TYPE_INTERFACE, "GeditPluginLoader", &info, 0); + type = g_type_register_static (G_TYPE_INTERFACE, "PlumaPluginLoader", &info, 0); } return type; } const gchar * -gedit_plugin_loader_type_get_id (GType type) +pluma_plugin_loader_type_get_id (GType type) { GTypeClass *klass; - GeditPluginLoaderInterface *iface; + PlumaPluginLoaderInterface *iface; klass = g_type_class_ref (type); @@ -74,7 +74,7 @@ gedit_plugin_loader_type_get_id (GType type) return NULL; } - iface = g_type_interface_peek (klass, GEDIT_TYPE_PLUGIN_LOADER); + iface = g_type_interface_peek (klass, PLUMA_TYPE_PLUGIN_LOADER); if (iface == NULL) { @@ -88,43 +88,43 @@ gedit_plugin_loader_type_get_id (GType type) return iface->get_id (); } -GeditPlugin * -gedit_plugin_loader_load (GeditPluginLoader *loader, - GeditPluginInfo *info, +PlumaPlugin * +pluma_plugin_loader_load (PlumaPluginLoader *loader, + PlumaPluginInfo *info, const gchar *path) { - GeditPluginLoaderInterface *iface; + PlumaPluginLoaderInterface *iface; - g_return_val_if_fail (GEDIT_IS_PLUGIN_LOADER (loader), NULL); + g_return_val_if_fail (PLUMA_IS_PLUGIN_LOADER (loader), NULL); - iface = GEDIT_PLUGIN_LOADER_GET_INTERFACE (loader); + iface = PLUMA_PLUGIN_LOADER_GET_INTERFACE (loader); g_return_val_if_fail (iface->load != NULL, NULL); return iface->load (loader, info, path); } void -gedit_plugin_loader_unload (GeditPluginLoader *loader, - GeditPluginInfo *info) +pluma_plugin_loader_unload (PlumaPluginLoader *loader, + PlumaPluginInfo *info) { - GeditPluginLoaderInterface *iface; + PlumaPluginLoaderInterface *iface; - g_return_if_fail (GEDIT_IS_PLUGIN_LOADER (loader)); + g_return_if_fail (PLUMA_IS_PLUGIN_LOADER (loader)); - iface = GEDIT_PLUGIN_LOADER_GET_INTERFACE (loader); + iface = PLUMA_PLUGIN_LOADER_GET_INTERFACE (loader); g_return_if_fail (iface->unload != NULL); iface->unload (loader, info); } void -gedit_plugin_loader_garbage_collect (GeditPluginLoader *loader) +pluma_plugin_loader_garbage_collect (PlumaPluginLoader *loader) { - GeditPluginLoaderInterface *iface; + PlumaPluginLoaderInterface *iface; - g_return_if_fail (GEDIT_IS_PLUGIN_LOADER (loader)); + g_return_if_fail (PLUMA_IS_PLUGIN_LOADER (loader)); - iface = GEDIT_PLUGIN_LOADER_GET_INTERFACE (loader); + iface = PLUMA_PLUGIN_LOADER_GET_INTERFACE (loader); if (iface->garbage_collect != NULL) iface->garbage_collect (loader); diff --git a/gedit/gedit-plugin-loader.h b/pluma/pluma-plugin-loader.h similarity index 51% rename from gedit/gedit-plugin-loader.h rename to pluma/pluma-plugin-loader.h index a064e5e..aff7469 100755 --- a/gedit/gedit-plugin-loader.h +++ b/pluma/pluma-plugin-loader.h @@ -1,6 +1,6 @@ /* - * gedit-plugin-loader.h - * This file is part of gedit + * pluma-plugin-loader.h + * This file is part of pluma * * Copyright (C) 2008 - Jesse van den Kieboom * @@ -20,54 +20,54 @@ * Boston, MA 02111-1307, USA. */ -#ifndef __GEDIT_PLUGIN_LOADER_H__ -#define __GEDIT_PLUGIN_LOADER_H__ +#ifndef __PLUMA_PLUGIN_LOADER_H__ +#define __PLUMA_PLUGIN_LOADER_H__ #include -#include -#include +#include +#include G_BEGIN_DECLS -#define GEDIT_TYPE_PLUGIN_LOADER (gedit_plugin_loader_get_type ()) -#define GEDIT_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_PLUGIN_LOADER, GeditPluginLoader)) -#define GEDIT_IS_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_PLUGIN_LOADER)) -#define GEDIT_PLUGIN_LOADER_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GEDIT_TYPE_PLUGIN_LOADER, GeditPluginLoaderInterface)) +#define PLUMA_TYPE_PLUGIN_LOADER (pluma_plugin_loader_get_type ()) +#define PLUMA_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_PLUGIN_LOADER, PlumaPluginLoader)) +#define PLUMA_IS_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_PLUGIN_LOADER)) +#define PLUMA_PLUGIN_LOADER_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), PLUMA_TYPE_PLUGIN_LOADER, PlumaPluginLoaderInterface)) -typedef struct _GeditPluginLoader GeditPluginLoader; /* dummy object */ -typedef struct _GeditPluginLoaderInterface GeditPluginLoaderInterface; +typedef struct _PlumaPluginLoader PlumaPluginLoader; /* dummy object */ +typedef struct _PlumaPluginLoaderInterface PlumaPluginLoaderInterface; -struct _GeditPluginLoaderInterface { +struct _PlumaPluginLoaderInterface { GTypeInterface parent; const gchar *(*get_id) (void); - GeditPlugin *(*load) (GeditPluginLoader *loader, - GeditPluginInfo *info, + PlumaPlugin *(*load) (PlumaPluginLoader *loader, + PlumaPluginInfo *info, const gchar *path); - void (*unload) (GeditPluginLoader *loader, - GeditPluginInfo *info); + void (*unload) (PlumaPluginLoader *loader, + PlumaPluginInfo *info); - void (*garbage_collect) (GeditPluginLoader *loader); + void (*garbage_collect) (PlumaPluginLoader *loader); }; -GType gedit_plugin_loader_get_type (void); +GType pluma_plugin_loader_get_type (void); -const gchar *gedit_plugin_loader_type_get_id (GType type); -GeditPlugin *gedit_plugin_loader_load (GeditPluginLoader *loader, - GeditPluginInfo *info, +const gchar *pluma_plugin_loader_type_get_id (GType type); +PlumaPlugin *pluma_plugin_loader_load (PlumaPluginLoader *loader, + PlumaPluginInfo *info, const gchar *path); -void gedit_plugin_loader_unload (GeditPluginLoader *loader, - GeditPluginInfo *info); -void gedit_plugin_loader_garbage_collect (GeditPluginLoader *loader); +void pluma_plugin_loader_unload (PlumaPluginLoader *loader, + PlumaPluginInfo *info); +void pluma_plugin_loader_garbage_collect (PlumaPluginLoader *loader); /** - * GEDIT_PLUGIN_LOADER_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init): + * PLUMA_PLUGIN_LOADER_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init): * * Utility macro used to register interfaces for gobject types in plugin loaders. */ -#define GEDIT_PLUGIN_LOADER_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) \ +#define PLUMA_PLUGIN_LOADER_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) \ const GInterfaceInfo g_implement_interface_info = \ { \ (GInterfaceInitFunc) iface_init, \ @@ -81,20 +81,20 @@ void gedit_plugin_loader_garbage_collect (GeditPluginLoader *loader); &g_implement_interface_info); /** - * GEDIT_PLUGIN_LOADER_REGISTER_TYPE(PluginLoaderName, plugin_loader_name, PARENT_TYPE, loader_interface_init): + * PLUMA_PLUGIN_LOADER_REGISTER_TYPE(PluginLoaderName, plugin_loader_name, PARENT_TYPE, loader_interface_init): * * Utility macro used to register plugin loaders. */ -#define GEDIT_PLUGIN_LOADER_REGISTER_TYPE(PluginLoaderName, plugin_loader_name, PARENT_TYPE, loader_iface_init) \ +#define PLUMA_PLUGIN_LOADER_REGISTER_TYPE(PluginLoaderName, plugin_loader_name, PARENT_TYPE, loader_iface_init) \ G_DEFINE_DYNAMIC_TYPE_EXTENDED (PluginLoaderName, \ plugin_loader_name, \ PARENT_TYPE, \ 0, \ - GEDIT_PLUGIN_LOADER_IMPLEMENT_INTERFACE(GEDIT_TYPE_PLUGIN_LOADER, loader_iface_init)); \ + PLUMA_PLUGIN_LOADER_IMPLEMENT_INTERFACE(PLUMA_TYPE_PLUGIN_LOADER, loader_iface_init)); \ \ \ G_MODULE_EXPORT GType \ -register_gedit_plugin_loader (GTypeModule *type_module) \ +register_pluma_plugin_loader (GTypeModule *type_module) \ { \ plugin_loader_name##_register_type (type_module); \ \ @@ -103,4 +103,4 @@ register_gedit_plugin_loader (GTypeModule *type_module) \ G_END_DECLS -#endif /* __GEDIT_PLUGIN_LOADER_H__ */ +#endif /* __PLUMA_PLUGIN_LOADER_H__ */ diff --git a/gedit/gedit-plugin-manager.c b/pluma/pluma-plugin-manager.c similarity index 77% rename from gedit/gedit-plugin-manager.c rename to pluma/pluma-plugin-manager.c index b72abad..1f2f538 100755 --- a/gedit/gedit-plugin-manager.c +++ b/pluma/pluma-plugin-manager.c @@ -1,6 +1,6 @@ /* - * gedit-plugin-manager.c - * This file is part of gedit + * pluma-plugin-manager.c + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi and James Willcox * Copyright (C) 2003-2006 Paolo Maggi @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 1998-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -37,11 +37,11 @@ #include -#include "gedit-plugin-manager.h" -#include "gedit-utils.h" -#include "gedit-plugins-engine.h" -#include "gedit-plugin.h" -#include "gedit-debug.h" +#include "pluma-plugin-manager.h" +#include "pluma-utils.h" +#include "pluma-plugins-engine.h" +#include "pluma-plugin.h" +#include "pluma-debug.h" enum { @@ -54,45 +54,45 @@ enum #define PLUGIN_MANAGER_NAME_TITLE _("Plugin") #define PLUGIN_MANAGER_ACTIVE_TITLE _("Enabled") -#define GEDIT_PLUGIN_MANAGER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManagerPrivate)) +#define PLUMA_PLUGIN_MANAGER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_PLUGIN_MANAGER, PlumaPluginManagerPrivate)) -struct _GeditPluginManagerPrivate +struct _PlumaPluginManagerPrivate { GtkWidget *tree; GtkWidget *about_button; GtkWidget *configure_button; - GeditPluginsEngine *engine; + PlumaPluginsEngine *engine; GtkWidget *about; GtkWidget *popup_menu; }; -G_DEFINE_TYPE(GeditPluginManager, gedit_plugin_manager, GTK_TYPE_VBOX) +G_DEFINE_TYPE(PlumaPluginManager, pluma_plugin_manager, GTK_TYPE_VBOX) -static GeditPluginInfo *plugin_manager_get_selected_plugin (GeditPluginManager *pm); -static void plugin_manager_toggle_active (GeditPluginManager *pm, GtkTreeIter *iter, GtkTreeModel *model); -static void gedit_plugin_manager_finalize (GObject *object); +static PlumaPluginInfo *plugin_manager_get_selected_plugin (PlumaPluginManager *pm); +static void plugin_manager_toggle_active (PlumaPluginManager *pm, GtkTreeIter *iter, GtkTreeModel *model); +static void pluma_plugin_manager_finalize (GObject *object); static void -gedit_plugin_manager_class_init (GeditPluginManagerClass *klass) +pluma_plugin_manager_class_init (PlumaPluginManagerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_plugin_manager_finalize; + object_class->finalize = pluma_plugin_manager_finalize; - g_type_class_add_private (object_class, sizeof (GeditPluginManagerPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaPluginManagerPrivate)); } static void about_button_cb (GtkWidget *button, - GeditPluginManager *pm) + PlumaPluginManager *pm) { - GeditPluginInfo *info; + PlumaPluginInfo *info; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); info = plugin_manager_get_selected_plugin (pm); @@ -103,13 +103,13 @@ about_button_cb (GtkWidget *button, gtk_widget_destroy (pm->priv->about); pm->priv->about = g_object_new (GTK_TYPE_ABOUT_DIALOG, - "program-name", gedit_plugin_info_get_name (info), - "copyright", gedit_plugin_info_get_copyright (info), - "authors", gedit_plugin_info_get_authors (info), - "comments", gedit_plugin_info_get_description (info), - "website", gedit_plugin_info_get_website (info), - "logo-icon-name", gedit_plugin_info_get_icon_name (info), - "version", gedit_plugin_info_get_version (info), + "program-name", pluma_plugin_info_get_name (info), + "copyright", pluma_plugin_info_get_copyright (info), + "authors", pluma_plugin_info_get_authors (info), + "comments", pluma_plugin_info_get_description (info), + "website", pluma_plugin_info_get_website (info), + "logo-icon-name", pluma_plugin_info_get_icon_name (info), + "version", pluma_plugin_info_get_version (info), NULL); gtk_window_set_destroy_with_parent (GTK_WINDOW (pm->priv->about), @@ -131,26 +131,26 @@ about_button_cb (GtkWidget *button, static void configure_button_cb (GtkWidget *button, - GeditPluginManager *pm) + PlumaPluginManager *pm) { - GeditPluginInfo *info; + PlumaPluginInfo *info; GtkWindow *toplevel; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); info = plugin_manager_get_selected_plugin (pm); g_return_if_fail (info != NULL); - gedit_debug_message (DEBUG_PLUGINS, "Configuring: %s\n", - gedit_plugin_info_get_name (info)); + pluma_debug_message (DEBUG_PLUGINS, "Configuring: %s\n", + pluma_plugin_info_get_name (info)); toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET(pm))); - gedit_plugins_engine_configure_plugin (pm->priv->engine, + pluma_plugins_engine_configure_plugin (pm->priv->engine, info, toplevel); - gedit_debug_message (DEBUG_PLUGINS, "Done"); + pluma_debug_message (DEBUG_PLUGINS, "Done"); } static void @@ -160,7 +160,7 @@ plugin_manager_view_info_cell_cb (GtkTreeViewColumn *tree_column, GtkTreeIter *iter, gpointer data) { - GeditPluginInfo *info; + PlumaPluginInfo *info; gchar *text; g_return_if_fail (tree_model != NULL); @@ -172,11 +172,11 @@ plugin_manager_view_info_cell_cb (GtkTreeViewColumn *tree_column, return; text = g_markup_printf_escaped ("%s\n%s", - gedit_plugin_info_get_name (info), - gedit_plugin_info_get_description (info)); + pluma_plugin_info_get_name (info), + pluma_plugin_info_get_description (info)); g_object_set (G_OBJECT (cell), "markup", text, - "sensitive", gedit_plugin_info_is_available (info), + "sensitive", pluma_plugin_info_is_available (info), NULL); g_free (text); @@ -189,7 +189,7 @@ plugin_manager_view_icon_cell_cb (GtkTreeViewColumn *tree_column, GtkTreeIter *iter, gpointer data) { - GeditPluginInfo *info; + PlumaPluginInfo *info; g_return_if_fail (tree_model != NULL); g_return_if_fail (tree_column != NULL); @@ -200,8 +200,8 @@ plugin_manager_view_icon_cell_cb (GtkTreeViewColumn *tree_column, return; g_object_set (G_OBJECT (cell), - "icon-name", gedit_plugin_info_get_icon_name (info), - "sensitive", gedit_plugin_info_is_available (info), + "icon-name", pluma_plugin_info_get_icon_name (info), + "sensitive", pluma_plugin_info_is_available (info), NULL); } @@ -209,13 +209,13 @@ plugin_manager_view_icon_cell_cb (GtkTreeViewColumn *tree_column, static void active_toggled_cb (GtkCellRendererToggle *cell, gchar *path_str, - GeditPluginManager *pm) + PlumaPluginManager *pm) { GtkTreeIter iter; GtkTreePath *path; GtkTreeModel *model; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); path = gtk_tree_path_new_from_string (path_str); @@ -234,10 +234,10 @@ static void cursor_changed_cb (GtkTreeView *view, gpointer data) { - GeditPluginManager *pm = data; - GeditPluginInfo *info; + PlumaPluginManager *pm = data; + PlumaPluginInfo *info; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); info = plugin_manager_get_selected_plugin (pm); @@ -245,7 +245,7 @@ cursor_changed_cb (GtkTreeView *view, info != NULL); gtk_widget_set_sensitive (GTK_WIDGET (pm->priv->configure_button), (info != NULL) && - gedit_plugin_info_is_configurable (info)); + pluma_plugin_info_is_configurable (info)); } static void @@ -254,11 +254,11 @@ row_activated_cb (GtkTreeView *tree_view, GtkTreeViewColumn *column, gpointer data) { - GeditPluginManager *pm = data; + PlumaPluginManager *pm = data; GtkTreeIter iter; GtkTreeModel *model; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (GTK_TREE_VIEW (pm->priv->tree)); @@ -272,27 +272,27 @@ row_activated_cb (GtkTreeView *tree_view, } static void -plugin_manager_populate_lists (GeditPluginManager *pm) +plugin_manager_populate_lists (PlumaPluginManager *pm) { const GList *plugins; GtkListStore *model; GtkTreeIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - plugins = gedit_plugins_engine_get_plugin_list (pm->priv->engine); + plugins = pluma_plugins_engine_get_plugin_list (pm->priv->engine); model = GTK_LIST_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (pm->priv->tree))); while (plugins) { - GeditPluginInfo *info; - info = (GeditPluginInfo *)plugins->data; + PlumaPluginInfo *info; + info = (PlumaPluginInfo *)plugins->data; gtk_list_store_append (model, &iter); gtk_list_store_set (model, &iter, - ACTIVE_COLUMN, gedit_plugin_info_is_active (info), - AVAILABLE_COLUMN, gedit_plugin_info_is_available (info), + ACTIVE_COLUMN, pluma_plugin_info_is_active (info), + AVAILABLE_COLUMN, pluma_plugin_info_is_available (info), INFO_COLUMN, info, -1); @@ -302,7 +302,7 @@ plugin_manager_populate_lists (GeditPluginManager *pm) if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (model), &iter)) { GtkTreeSelection *selection; - GeditPluginInfo* info; + PlumaPluginInfo* info; selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (pm->priv->tree)); g_return_if_fail (selection != NULL); @@ -313,20 +313,20 @@ plugin_manager_populate_lists (GeditPluginManager *pm) INFO_COLUMN, &info, -1); gtk_widget_set_sensitive (GTK_WIDGET (pm->priv->configure_button), - gedit_plugin_info_is_configurable (info)); + pluma_plugin_info_is_configurable (info)); } } static gboolean -plugin_manager_set_active (GeditPluginManager *pm, +plugin_manager_set_active (PlumaPluginManager *pm, GtkTreeIter *iter, GtkTreeModel *model, gboolean active) { - GeditPluginInfo *info; + PlumaPluginInfo *info; gboolean res = TRUE; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); gtk_tree_model_get (model, iter, INFO_COLUMN, &info, -1); @@ -335,9 +335,9 @@ plugin_manager_set_active (GeditPluginManager *pm, if (active) { /* activate the plugin */ - if (!gedit_plugins_engine_activate_plugin (pm->priv->engine, info)) { - gedit_debug_message (DEBUG_PLUGINS, "Could not activate %s.\n", - gedit_plugin_info_get_name (info)); + if (!pluma_plugins_engine_activate_plugin (pm->priv->engine, info)) { + pluma_debug_message (DEBUG_PLUGINS, "Could not activate %s.\n", + pluma_plugin_info_get_name (info)); res = FALSE; } @@ -345,9 +345,9 @@ plugin_manager_set_active (GeditPluginManager *pm, else { /* deactivate the plugin */ - if (!gedit_plugins_engine_deactivate_plugin (pm->priv->engine, info)) { - gedit_debug_message (DEBUG_PLUGINS, "Could not deactivate %s.\n", - gedit_plugin_info_get_name (info)); + if (!pluma_plugins_engine_deactivate_plugin (pm->priv->engine, info)) { + pluma_debug_message (DEBUG_PLUGINS, "Could not deactivate %s.\n", + pluma_plugin_info_get_name (info)); res = FALSE; } @@ -357,13 +357,13 @@ plugin_manager_set_active (GeditPluginManager *pm, } static void -plugin_manager_toggle_active (GeditPluginManager *pm, +plugin_manager_toggle_active (PlumaPluginManager *pm, GtkTreeIter *iter, GtkTreeModel *model) { gboolean active; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); gtk_tree_model_get (model, iter, ACTIVE_COLUMN, &active, -1); @@ -372,15 +372,15 @@ plugin_manager_toggle_active (GeditPluginManager *pm, plugin_manager_set_active (pm, iter, model, active); } -static GeditPluginInfo * -plugin_manager_get_selected_plugin (GeditPluginManager *pm) +static PlumaPluginInfo * +plugin_manager_get_selected_plugin (PlumaPluginManager *pm) { - GeditPluginInfo *info = NULL; + PlumaPluginInfo *info = NULL; GtkTreeModel *model; GtkTreeIter iter; GtkTreeSelection *selection; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (GTK_TREE_VIEW (pm->priv->tree)); g_return_val_if_fail (model != NULL, NULL); @@ -397,13 +397,13 @@ plugin_manager_get_selected_plugin (GeditPluginManager *pm) } static void -plugin_manager_set_active_all (GeditPluginManager *pm, +plugin_manager_set_active_all (PlumaPluginManager *pm, gboolean active) { GtkTreeModel *model; GtkTreeIter iter; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_tree_view_get_model (GTK_TREE_VIEW (pm->priv->tree)); @@ -425,7 +425,7 @@ name_search_cb (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) { - GeditPluginInfo *info; + PlumaPluginInfo *info; gchar *normalized_string; gchar *normalized_key; gchar *case_normalized_string; @@ -437,7 +437,7 @@ name_search_cb (GtkTreeModel *model, if (!info) return FALSE; - normalized_string = g_utf8_normalize (gedit_plugin_info_get_name (info), -1, G_NORMALIZE_ALL); + normalized_string = g_utf8_normalize (pluma_plugin_info_get_name (info), -1, G_NORMALIZE_ALL); normalized_key = g_utf8_normalize (key, -1, G_NORMALIZE_ALL); case_normalized_string = g_utf8_casefold (normalized_string, -1); case_normalized_key = g_utf8_casefold (normalized_key, -1); @@ -459,7 +459,7 @@ name_search_cb (GtkTreeModel *model, static void enable_plugin_menu_cb (GtkMenu *menu, - GeditPluginManager *pm) + PlumaPluginManager *pm) { GtkTreeModel *model; GtkTreeIter iter; @@ -477,25 +477,25 @@ enable_plugin_menu_cb (GtkMenu *menu, static void enable_all_menu_cb (GtkMenu *menu, - GeditPluginManager *pm) + PlumaPluginManager *pm) { plugin_manager_set_active_all (pm, TRUE); } static void disable_all_menu_cb (GtkMenu *menu, - GeditPluginManager *pm) + PlumaPluginManager *pm) { plugin_manager_set_active_all (pm, FALSE); } static GtkWidget * -create_tree_popup_menu (GeditPluginManager *pm) +create_tree_popup_menu (PlumaPluginManager *pm) { GtkWidget *menu; GtkWidget *item; GtkWidget *image; - GeditPluginInfo *info; + PlumaPluginInfo *info; info = plugin_manager_get_selected_plugin (pm); @@ -515,13 +515,13 @@ create_tree_popup_menu (GeditPluginManager *pm) gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image); g_signal_connect (item, "activate", G_CALLBACK (configure_button_cb), pm); - gtk_widget_set_sensitive (item, gedit_plugin_info_is_configurable (info)); + gtk_widget_set_sensitive (item, pluma_plugin_info_is_configurable (info)); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); item = gtk_check_menu_item_new_with_mnemonic (_("A_ctivate")); - gtk_widget_set_sensitive (item, gedit_plugin_info_is_available (info)); + gtk_widget_set_sensitive (item, pluma_plugin_info_is_available (info)); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), - gedit_plugin_info_is_active (info)); + pluma_plugin_info_is_active (info)); g_signal_connect (item, "toggled", G_CALLBACK (enable_plugin_menu_cb), pm); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); @@ -545,7 +545,7 @@ create_tree_popup_menu (GeditPluginManager *pm) } static void -tree_popup_menu_detach (GeditPluginManager *pm, +tree_popup_menu_detach (PlumaPluginManager *pm, GtkMenu *menu) { pm->priv->popup_menu = NULL; @@ -553,7 +553,7 @@ tree_popup_menu_detach (GeditPluginManager *pm, static void show_tree_popup_menu (GtkTreeView *tree, - GeditPluginManager *pm, + PlumaPluginManager *pm, GdkEventButton *event) { if (pm->priv->popup_menu) @@ -574,7 +574,7 @@ show_tree_popup_menu (GtkTreeView *tree, else { gtk_menu_popup (GTK_MENU (pm->priv->popup_menu), NULL, NULL, - gedit_utils_menu_position_under_tree_view, tree, + pluma_utils_menu_position_under_tree_view, tree, 0, gtk_get_current_event_time ()); gtk_menu_shell_select_first (GTK_MENU_SHELL (pm->priv->popup_menu), @@ -585,11 +585,11 @@ show_tree_popup_menu (GtkTreeView *tree, static gboolean button_press_event_cb (GtkWidget *tree, GdkEventButton *event, - GeditPluginManager *pm) + PlumaPluginManager *pm) { /* We want the treeview selection to be updated before showing the menu. * This code is evil, thanks to Federico Mena Quintero's black magic. - * See: http://mail.mate.org/archives/gtk-devel-list/2006-February/msg00168.html + * See: http://mail.gnome.org/archives/gtk-devel-list/2006-February/msg00168.html * FIXME: Let's remove it asap. */ @@ -616,7 +616,7 @@ button_press_event_cb (GtkWidget *tree, static gboolean popup_menu_cb (GtkTreeView *tree, - GeditPluginManager *pm) + PlumaPluginManager *pm) { show_tree_popup_menu (tree, pm, NULL); return TRUE; @@ -628,23 +628,23 @@ model_name_sort_func (GtkTreeModel *model, GtkTreeIter *iter2, gpointer user_data) { - GeditPluginInfo *info1, *info2; + PlumaPluginInfo *info1, *info2; gtk_tree_model_get (model, iter1, INFO_COLUMN, &info1, -1); gtk_tree_model_get (model, iter2, INFO_COLUMN, &info2, -1); - return g_utf8_collate (gedit_plugin_info_get_name (info1), - gedit_plugin_info_get_name (info2)); + return g_utf8_collate (pluma_plugin_info_get_name (info1), + pluma_plugin_info_get_name (info2)); } static void -plugin_manager_construct_tree (GeditPluginManager *pm) +plugin_manager_construct_tree (PlumaPluginManager *pm) { GtkTreeViewColumn *column; GtkCellRenderer *cell; GtkListStore *model; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); model = gtk_list_store_new (N_COLUMNS, G_TYPE_BOOLEAN, @@ -737,9 +737,9 @@ plugin_manager_construct_tree (GeditPluginManager *pm) } static void -plugin_toggled_cb (GeditPluginsEngine *engine, - GeditPluginInfo *info, - GeditPluginManager *pm) +plugin_toggled_cb (PlumaPluginsEngine *engine, + PlumaPluginInfo *info, + PlumaPluginManager *pm) { GtkTreeSelection *selection; GtkTreeModel *model; @@ -751,7 +751,7 @@ plugin_toggled_cb (GeditPluginsEngine *engine, if (gtk_tree_selection_get_selected (selection, &model, &iter)) { /* There is an item selected: it's probably the one we want! */ - GeditPluginInfo *tinfo; + PlumaPluginInfo *tinfo; gtk_tree_model_get (model, &iter, INFO_COLUMN, &tinfo, -1); info_found = info == tinfo; } @@ -762,7 +762,7 @@ plugin_toggled_cb (GeditPluginsEngine *engine, do { - GeditPluginInfo *tinfo; + PlumaPluginInfo *tinfo; gtk_tree_model_get (model, &iter, INFO_COLUMN, &tinfo, -1); info_found = info == tinfo; } @@ -771,29 +771,29 @@ plugin_toggled_cb (GeditPluginsEngine *engine, if (!info_found) { - g_warning ("GeditPluginManager: plugin '%s' not found in the tree model", - gedit_plugin_info_get_name (info)); + g_warning ("PlumaPluginManager: plugin '%s' not found in the tree model", + pluma_plugin_info_get_name (info)); return; } - gtk_list_store_set (GTK_LIST_STORE (model), &iter, ACTIVE_COLUMN, gedit_plugin_info_is_active (info), -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, ACTIVE_COLUMN, pluma_plugin_info_is_active (info), -1); } static void -gedit_plugin_manager_init (GeditPluginManager *pm) +pluma_plugin_manager_init (PlumaPluginManager *pm) { GtkWidget *label; GtkWidget *viewport; GtkWidget *hbuttonbox; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - pm->priv = GEDIT_PLUGIN_MANAGER_GET_PRIVATE (pm); + pm->priv = PLUMA_PLUGIN_MANAGER_GET_PRIVATE (pm); /* * Always we create the manager, firstly we rescan the plugins directory */ - gedit_plugins_engine_rescan_plugins (gedit_plugins_engine_get_default ()); + pluma_plugins_engine_rescan_plugins (pluma_plugins_engine_get_default ()); gtk_box_set_spacing (GTK_BOX (pm), 6); @@ -822,11 +822,11 @@ gedit_plugin_manager_init (GeditPluginManager *pm) gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END); gtk_box_set_spacing (GTK_BOX (hbuttonbox), 8); - pm->priv->about_button = gedit_gtk_button_new_with_stock_icon (_("_About Plugin"), + pm->priv->about_button = pluma_gtk_button_new_with_stock_icon (_("_About Plugin"), GTK_STOCK_ABOUT); gtk_container_add (GTK_CONTAINER (hbuttonbox), pm->priv->about_button); - pm->priv->configure_button = gedit_gtk_button_new_with_stock_icon (_("C_onfigure Plugin"), + pm->priv->configure_button = pluma_gtk_button_new_with_stock_icon (_("C_onfigure Plugin"), GTK_STOCK_PREFERENCES); gtk_container_add (GTK_CONTAINER (hbuttonbox), pm->priv->configure_button); @@ -845,7 +845,7 @@ gedit_plugin_manager_init (GeditPluginManager *pm) plugin_manager_construct_tree (pm); /* get the plugin engine and populate the treeview */ - pm->priv->engine = gedit_plugins_engine_get_default (); + pm->priv->engine = pluma_plugins_engine_get_default (); g_signal_connect_after (pm->priv->engine, "activate-plugin", @@ -856,7 +856,7 @@ gedit_plugin_manager_init (GeditPluginManager *pm) G_CALLBACK (plugin_toggled_cb), pm); - if (gedit_plugins_engine_get_plugin_list (pm->priv->engine) != NULL) + if (pluma_plugins_engine_get_plugin_list (pm->priv->engine) != NULL) { plugin_manager_populate_lists (pm); } @@ -868,9 +868,9 @@ gedit_plugin_manager_init (GeditPluginManager *pm) } static void -gedit_plugin_manager_finalize (GObject *object) +pluma_plugin_manager_finalize (GObject *object) { - GeditPluginManager *pm = GEDIT_PLUGIN_MANAGER (object); + PlumaPluginManager *pm = PLUMA_PLUGIN_MANAGER (object); g_signal_handlers_disconnect_by_func (pm->priv->engine, plugin_toggled_cb, @@ -879,11 +879,11 @@ gedit_plugin_manager_finalize (GObject *object) if (pm->priv->popup_menu) gtk_widget_destroy (pm->priv->popup_menu); - G_OBJECT_CLASS (gedit_plugin_manager_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_plugin_manager_parent_class)->finalize (object); } -GtkWidget *gedit_plugin_manager_new (void) +GtkWidget *pluma_plugin_manager_new (void) { - return g_object_new (GEDIT_TYPE_PLUGIN_MANAGER,0); + return g_object_new (PLUMA_TYPE_PLUGIN_MANAGER,0); } diff --git a/pluma/pluma-plugin-manager.h b/pluma/pluma-plugin-manager.h new file mode 100755 index 0000000..e70a525 --- /dev/null +++ b/pluma/pluma-plugin-manager.h @@ -0,0 +1,83 @@ +/* + * pluma-plugin-manager.h + * This file is part of pluma + * + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PLUGIN_MANAGER_H__ +#define __PLUMA_PLUGIN_MANAGER_H__ + +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PLUGIN_MANAGER (pluma_plugin_manager_get_type()) +#define PLUMA_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PLUGIN_MANAGER, PlumaPluginManager)) +#define PLUMA_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PLUGIN_MANAGER, PlumaPluginManagerClass)) +#define PLUMA_IS_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PLUGIN_MANAGER)) +#define PLUMA_IS_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN_MANAGER)) +#define PLUMA_PLUGIN_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PLUGIN_MANAGER, PlumaPluginManagerClass)) + +/* Private structure type */ +typedef struct _PlumaPluginManagerPrivate PlumaPluginManagerPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaPluginManager PlumaPluginManager; + +struct _PlumaPluginManager +{ + GtkVBox vbox; + + /*< private > */ + PlumaPluginManagerPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaPluginManagerClass PlumaPluginManagerClass; + +struct _PlumaPluginManagerClass +{ + GtkVBoxClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_plugin_manager_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_plugin_manager_new (void); + +G_END_DECLS + +#endif /* __PLUMA_PLUGIN_MANAGER_H__ */ diff --git a/gedit/gedit-plugin.c b/pluma/pluma-plugin.c similarity index 56% rename from gedit/gedit-plugin.c rename to pluma/pluma-plugin.c index 2b00e3f..b89ea11 100755 --- a/gedit/gedit-plugin.c +++ b/pluma/pluma-plugin.c @@ -1,6 +1,6 @@ /* - * gedit-plugin.h - * This file is part of gedit + * pluma-plugin.h + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -32,8 +32,8 @@ #include #endif -#include "gedit-plugin.h" -#include "gedit-dirs.h" +#include "pluma-plugin.h" +#include "pluma-dirs.h" /* properties */ enum { @@ -43,39 +43,39 @@ enum { PROP_DATA_DIR }; -typedef struct _GeditPluginPrivate GeditPluginPrivate; +typedef struct _PlumaPluginPrivate PlumaPluginPrivate; -struct _GeditPluginPrivate +struct _PlumaPluginPrivate { gchar *install_dir; gchar *data_dir_name; }; -#define GEDIT_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_PLUGIN, GeditPluginPrivate)) +#define PLUMA_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_PLUGIN, PlumaPluginPrivate)) -G_DEFINE_TYPE(GeditPlugin, gedit_plugin, G_TYPE_OBJECT) +G_DEFINE_TYPE(PlumaPlugin, pluma_plugin, G_TYPE_OBJECT) static void -dummy (GeditPlugin *plugin, GeditWindow *window) +dummy (PlumaPlugin *plugin, PlumaWindow *window) { /* Empty */ } static GtkWidget * -create_configure_dialog (GeditPlugin *plugin) +create_configure_dialog (PlumaPlugin *plugin) { return NULL; } static gboolean -is_configurable (GeditPlugin *plugin) +is_configurable (PlumaPlugin *plugin) { - return (GEDIT_PLUGIN_GET_CLASS (plugin)->create_configure_dialog != + return (PLUMA_PLUGIN_GET_CLASS (plugin)->create_configure_dialog != create_configure_dialog); } static void -gedit_plugin_get_property (GObject *object, +pluma_plugin_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) @@ -83,10 +83,10 @@ gedit_plugin_get_property (GObject *object, switch (prop_id) { case PROP_INSTALL_DIR: - g_value_take_string (value, gedit_plugin_get_install_dir (GEDIT_PLUGIN (object))); + g_value_take_string (value, pluma_plugin_get_install_dir (PLUMA_PLUGIN (object))); break; case PROP_DATA_DIR: - g_value_take_string (value, gedit_plugin_get_data_dir (GEDIT_PLUGIN (object))); + g_value_take_string (value, pluma_plugin_get_data_dir (PLUMA_PLUGIN (object))); break; default: g_return_if_reached (); @@ -94,12 +94,12 @@ gedit_plugin_get_property (GObject *object, } static void -gedit_plugin_set_property (GObject *object, +pluma_plugin_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditPluginPrivate *priv = GEDIT_PLUGIN_GET_PRIVATE (object); + PlumaPluginPrivate *priv = PLUMA_PLUGIN_GET_PRIVATE (object); switch (prop_id) { @@ -115,18 +115,18 @@ gedit_plugin_set_property (GObject *object, } static void -gedit_plugin_finalize (GObject *object) +pluma_plugin_finalize (GObject *object) { - GeditPluginPrivate *priv = GEDIT_PLUGIN_GET_PRIVATE (object); + PlumaPluginPrivate *priv = PLUMA_PLUGIN_GET_PRIVATE (object); g_free (priv->install_dir); g_free (priv->data_dir_name); - G_OBJECT_CLASS (gedit_plugin_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_plugin_parent_class)->finalize (object); } static void -gedit_plugin_class_init (GeditPluginClass *klass) +pluma_plugin_class_init (PlumaPluginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -137,9 +137,9 @@ gedit_plugin_class_init (GeditPluginClass *klass) klass->create_configure_dialog = create_configure_dialog; klass->is_configurable = is_configurable; - object_class->get_property = gedit_plugin_get_property; - object_class->set_property = gedit_plugin_set_property; - object_class->finalize = gedit_plugin_finalize; + object_class->get_property = pluma_plugin_get_property; + object_class->set_property = pluma_plugin_set_property; + object_class->finalize = pluma_plugin_finalize; g_object_class_install_property (object_class, PROP_INSTALL_DIR, @@ -167,18 +167,18 @@ gedit_plugin_class_init (GeditPluginClass *klass) NULL, G_PARAM_READABLE)); - g_type_class_add_private (klass, sizeof (GeditPluginPrivate)); + g_type_class_add_private (klass, sizeof (PlumaPluginPrivate)); } static void -gedit_plugin_init (GeditPlugin *plugin) +pluma_plugin_init (PlumaPlugin *plugin) { /* Empty */ } /** - * gedit_plugin_get_install_dir: - * @plugin: a #GeditPlugin + * pluma_plugin_get_install_dir: + * @plugin: a #PlumaPlugin * * Get the path of the directory where the plugin is installed. * @@ -186,16 +186,16 @@ gedit_plugin_init (GeditPlugin *plugin) * directory where the plugin is installed */ gchar * -gedit_plugin_get_install_dir (GeditPlugin *plugin) +pluma_plugin_get_install_dir (PlumaPlugin *plugin) { - g_return_val_if_fail (GEDIT_IS_PLUGIN (plugin), NULL); + g_return_val_if_fail (PLUMA_IS_PLUGIN (plugin), NULL); - return g_strdup (GEDIT_PLUGIN_GET_PRIVATE (plugin)->install_dir); + return g_strdup (PLUMA_PLUGIN_GET_PRIVATE (plugin)->install_dir); } /** - * gedit_plugin_get_data_dir: - * @plugin: a #GeditPlugin + * pluma_plugin_get_data_dir: + * @plugin: a #PlumaPlugin * * Get the path of the directory where the plugin should look for * its data files. @@ -204,38 +204,38 @@ gedit_plugin_get_install_dir (GeditPlugin *plugin) * directory where the plugin should look for its data files */ gchar * -gedit_plugin_get_data_dir (GeditPlugin *plugin) +pluma_plugin_get_data_dir (PlumaPlugin *plugin) { - GeditPluginPrivate *priv; - gchar *gedit_lib_dir; + PlumaPluginPrivate *priv; + gchar *pluma_lib_dir; gchar *data_dir; - g_return_val_if_fail (GEDIT_IS_PLUGIN (plugin), NULL); + g_return_val_if_fail (PLUMA_IS_PLUGIN (plugin), NULL); - priv = GEDIT_PLUGIN_GET_PRIVATE (plugin); + priv = PLUMA_PLUGIN_GET_PRIVATE (plugin); /* If it's a "user" plugin the data dir is * install_dir/data_dir_name if instead it's a - * "system" plugin the data dir is under gedit_data_dir, - * so it's under $prefix/share/gedit-2/plugins/data_dir_name + * "system" plugin the data dir is under pluma_data_dir, + * so it's under $prefix/share/pluma-2/plugins/data_dir_name * where data_dir_name usually it's the name of the plugin */ - gedit_lib_dir = gedit_dirs_get_gedit_lib_dir (); + pluma_lib_dir = pluma_dirs_get_pluma_lib_dir (); /* CHECK: is checking the prefix enough or should we be more * careful about normalizing paths etc? */ - if (g_str_has_prefix (priv->install_dir, gedit_lib_dir)) + if (g_str_has_prefix (priv->install_dir, pluma_lib_dir)) { - gchar *gedit_data_dir; + gchar *pluma_data_dir; - gedit_data_dir = gedit_dirs_get_gedit_data_dir (); + pluma_data_dir = pluma_dirs_get_pluma_data_dir (); - data_dir = g_build_filename (gedit_data_dir, + data_dir = g_build_filename (pluma_data_dir, "plugins", priv->data_dir_name, NULL); - g_free (gedit_data_dir); + g_free (pluma_data_dir); } else { @@ -244,91 +244,91 @@ gedit_plugin_get_data_dir (GeditPlugin *plugin) NULL); } - g_free (gedit_lib_dir); + g_free (pluma_lib_dir); return data_dir; } /** - * gedit_plugin_activate: - * @plugin: a #GeditPlugin - * @window: a #GeditWindow + * pluma_plugin_activate: + * @plugin: a #PlumaPlugin + * @window: a #PlumaWindow * * Activates the plugin. */ void -gedit_plugin_activate (GeditPlugin *plugin, - GeditWindow *window) +pluma_plugin_activate (PlumaPlugin *plugin, + PlumaWindow *window) { - g_return_if_fail (GEDIT_IS_PLUGIN (plugin)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGIN (plugin)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - GEDIT_PLUGIN_GET_CLASS (plugin)->activate (plugin, window); + PLUMA_PLUGIN_GET_CLASS (plugin)->activate (plugin, window); } /** - * gedit_plugin_deactivate: - * @plugin: a #GeditPlugin - * @window: a #GeditWindow + * pluma_plugin_deactivate: + * @plugin: a #PlumaPlugin + * @window: a #PlumaWindow * * Deactivates the plugin. */ void -gedit_plugin_deactivate (GeditPlugin *plugin, - GeditWindow *window) +pluma_plugin_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { - g_return_if_fail (GEDIT_IS_PLUGIN (plugin)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGIN (plugin)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - GEDIT_PLUGIN_GET_CLASS (plugin)->deactivate (plugin, window); + PLUMA_PLUGIN_GET_CLASS (plugin)->deactivate (plugin, window); } /** - * gedit_plugin_update_ui: - * @plugin: a #GeditPlugin - * @window: a #GeditWindow + * pluma_plugin_update_ui: + * @plugin: a #PlumaPlugin + * @window: a #PlumaWindow * * Triggers an update of the user interface to take into account state changes * caused by the plugin. */ void -gedit_plugin_update_ui (GeditPlugin *plugin, - GeditWindow *window) +pluma_plugin_update_ui (PlumaPlugin *plugin, + PlumaWindow *window) { - g_return_if_fail (GEDIT_IS_PLUGIN (plugin)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGIN (plugin)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); - GEDIT_PLUGIN_GET_CLASS (plugin)->update_ui (plugin, window); + PLUMA_PLUGIN_GET_CLASS (plugin)->update_ui (plugin, window); } /** - * gedit_plugin_is_configurable: - * @plugin: a #GeditPlugin + * pluma_plugin_is_configurable: + * @plugin: a #PlumaPlugin * * Whether the plugin is configurable. * * Returns: TRUE if the plugin is configurable: */ gboolean -gedit_plugin_is_configurable (GeditPlugin *plugin) +pluma_plugin_is_configurable (PlumaPlugin *plugin) { - g_return_val_if_fail (GEDIT_IS_PLUGIN (plugin), FALSE); + g_return_val_if_fail (PLUMA_IS_PLUGIN (plugin), FALSE); - return GEDIT_PLUGIN_GET_CLASS (plugin)->is_configurable (plugin); + return PLUMA_PLUGIN_GET_CLASS (plugin)->is_configurable (plugin); } /** - * gedit_plugin_create_configure_dialog: - * @plugin: a #GeditPlugin + * pluma_plugin_create_configure_dialog: + * @plugin: a #PlumaPlugin * * Creates the configure dialog widget for the plugin. * * Returns: the configure dialog widget for the plugin. */ GtkWidget * -gedit_plugin_create_configure_dialog (GeditPlugin *plugin) +pluma_plugin_create_configure_dialog (PlumaPlugin *plugin) { - g_return_val_if_fail (GEDIT_IS_PLUGIN (plugin), NULL); + g_return_val_if_fail (PLUMA_IS_PLUGIN (plugin), NULL); - return GEDIT_PLUGIN_GET_CLASS (plugin)->create_configure_dialog (plugin); + return PLUMA_PLUGIN_GET_CLASS (plugin)->create_configure_dialog (plugin); } diff --git a/gedit/gedit-plugin.h b/pluma/pluma-plugin.h similarity index 60% rename from gedit/gedit-plugin.h rename to pluma/pluma-plugin.h index 8cf41d8..6d20391 100755 --- a/gedit/gedit-plugin.h +++ b/pluma/pluma-plugin.h @@ -1,6 +1,6 @@ /* - * gedit-plugin.h - * This file is part of gedit + * pluma-plugin.h + * This file is part of pluma * * Copyright (C) 2002-2005 - Paolo Maggi * @@ -21,20 +21,20 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_PLUGIN_H__ -#define __GEDIT_PLUGIN_H__ +#ifndef __PLUMA_PLUGIN_H__ +#define __PLUMA_PLUGIN_H__ #include -#include -#include +#include +#include /* TODO: add a .h file that includes all the .h files normally needed to * develop a plugin */ @@ -44,19 +44,19 @@ G_BEGIN_DECLS /* * Type checking and casting macros */ -#define GEDIT_TYPE_PLUGIN (gedit_plugin_get_type()) -#define GEDIT_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGIN, GeditPlugin)) -#define GEDIT_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGIN, GeditPluginClass)) -#define GEDIT_IS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGIN)) -#define GEDIT_IS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN)) -#define GEDIT_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGIN, GeditPluginClass)) +#define PLUMA_TYPE_PLUGIN (pluma_plugin_get_type()) +#define PLUMA_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PLUGIN, PlumaPlugin)) +#define PLUMA_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PLUGIN, PlumaPluginClass)) +#define PLUMA_IS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PLUGIN)) +#define PLUMA_IS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN)) +#define PLUMA_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PLUGIN, PlumaPluginClass)) /* * Main object structure */ -typedef struct _GeditPlugin GeditPlugin; +typedef struct _PlumaPlugin PlumaPlugin; -struct _GeditPlugin +struct _PlumaPlugin { GObject parent; }; @@ -64,66 +64,66 @@ struct _GeditPlugin /* * Class definition */ -typedef struct _GeditPluginClass GeditPluginClass; +typedef struct _PlumaPluginClass PlumaPluginClass; -struct _GeditPluginClass +struct _PlumaPluginClass { GObjectClass parent_class; /* Virtual public methods */ - void (*activate) (GeditPlugin *plugin, - GeditWindow *window); - void (*deactivate) (GeditPlugin *plugin, - GeditWindow *window); + void (*activate) (PlumaPlugin *plugin, + PlumaWindow *window); + void (*deactivate) (PlumaPlugin *plugin, + PlumaWindow *window); - void (*update_ui) (GeditPlugin *plugin, - GeditWindow *window); + void (*update_ui) (PlumaPlugin *plugin, + PlumaWindow *window); GtkWidget *(*create_configure_dialog) - (GeditPlugin *plugin); + (PlumaPlugin *plugin); /* Plugins should not override this, it's handled automatically by - the GeditPluginClass */ + the PlumaPluginClass */ gboolean (*is_configurable) - (GeditPlugin *plugin); + (PlumaPlugin *plugin); /* Padding for future expansion */ - void (*_gedit_reserved1) (void); - void (*_gedit_reserved2) (void); - void (*_gedit_reserved3) (void); - void (*_gedit_reserved4) (void); + void (*_pluma_reserved1) (void); + void (*_pluma_reserved2) (void); + void (*_pluma_reserved3) (void); + void (*_pluma_reserved4) (void); }; /* * Public methods */ -GType gedit_plugin_get_type (void) G_GNUC_CONST; +GType pluma_plugin_get_type (void) G_GNUC_CONST; -gchar *gedit_plugin_get_install_dir (GeditPlugin *plugin); -gchar *gedit_plugin_get_data_dir (GeditPlugin *plugin); +gchar *pluma_plugin_get_install_dir (PlumaPlugin *plugin); +gchar *pluma_plugin_get_data_dir (PlumaPlugin *plugin); -void gedit_plugin_activate (GeditPlugin *plugin, - GeditWindow *window); -void gedit_plugin_deactivate (GeditPlugin *plugin, - GeditWindow *window); +void pluma_plugin_activate (PlumaPlugin *plugin, + PlumaWindow *window); +void pluma_plugin_deactivate (PlumaPlugin *plugin, + PlumaWindow *window); -void gedit_plugin_update_ui (GeditPlugin *plugin, - GeditWindow *window); +void pluma_plugin_update_ui (PlumaPlugin *plugin, + PlumaWindow *window); -gboolean gedit_plugin_is_configurable (GeditPlugin *plugin); -GtkWidget *gedit_plugin_create_configure_dialog - (GeditPlugin *plugin); +gboolean pluma_plugin_is_configurable (PlumaPlugin *plugin); +GtkWidget *pluma_plugin_create_configure_dialog + (PlumaPlugin *plugin); /** - * GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE): + * PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE): * * Utility macro used to register plugins with additional code. */ -#define GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE) \ +#define PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE) \ G_DEFINE_DYNAMIC_TYPE_EXTENDED (PluginName, \ plugin_name, \ - GEDIT_TYPE_PLUGIN, \ + PLUMA_TYPE_PLUGIN, \ 0, \ GTypeModule *module G_GNUC_UNUSED = type_module; /* back compat */ \ CODE) \ @@ -137,7 +137,7 @@ plugin_name##_class_finalize (PluginName##Class *klass) \ \ \ G_MODULE_EXPORT GType \ -register_gedit_plugin (GTypeModule *type_module) \ +register_pluma_plugin (GTypeModule *type_module) \ { \ plugin_name##_register_type (type_module); \ \ @@ -145,21 +145,21 @@ register_gedit_plugin (GTypeModule *type_module) \ } /** - * GEDIT_PLUGIN_REGISTER_TYPE(PluginName, plugin_name): + * PLUMA_PLUGIN_REGISTER_TYPE(PluginName, plugin_name): * * Utility macro used to register plugins. */ -#define GEDIT_PLUGIN_REGISTER_TYPE(PluginName, plugin_name) \ - GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, ;) +#define PLUMA_PLUGIN_REGISTER_TYPE(PluginName, plugin_name) \ + PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, ;) /** - * GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, CODE): + * PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, CODE): * * Utility macro used to register gobject types in plugins with additional code. * * Deprecated: use G_DEFINE_DYNAMIC_TYPE_EXTENDED instead */ -#define GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, CODE) \ +#define PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, CODE) \ \ static GType g_define_type_id = 0; \ \ @@ -208,21 +208,21 @@ object_name##_register_type (GTypeModule *type_module) \ /** - * GEDIT_PLUGIN_DEFINE_TYPE(ObjectName, object_name, PARENT_TYPE): + * PLUMA_PLUGIN_DEFINE_TYPE(ObjectName, object_name, PARENT_TYPE): * * Utility macro used to register gobject types in plugins. * * Deprecated: use G_DEFINE_DYNAMIC instead */ -#define GEDIT_PLUGIN_DEFINE_TYPE(ObjectName, object_name, PARENT_TYPE) \ - GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, ;) +#define PLUMA_PLUGIN_DEFINE_TYPE(ObjectName, object_name, PARENT_TYPE) \ + PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, ;) /** - * GEDIT_PLUGIN_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init): + * PLUMA_PLUGIN_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init): * * Utility macro used to register interfaces for gobject types in plugins. */ -#define GEDIT_PLUGIN_IMPLEMENT_INTERFACE(object_name, TYPE_IFACE, iface_init) \ +#define PLUMA_PLUGIN_IMPLEMENT_INTERFACE(object_name, TYPE_IFACE, iface_init) \ const GInterfaceInfo object_name##_interface_info = \ { \ (GInterfaceInitFunc) iface_init, \ @@ -237,4 +237,4 @@ object_name##_register_type (GTypeModule *type_module) \ G_END_DECLS -#endif /* __GEDIT_PLUGIN_H__ */ +#endif /* __PLUMA_PLUGIN_H__ */ diff --git a/gedit/gedit-plugins-engine.c b/pluma/pluma-plugins-engine.c similarity index 59% rename from gedit/gedit-plugins-engine.c rename to pluma/pluma-plugins-engine.c index 1a34692..4e27d71 100755 --- a/gedit/gedit-plugins-engine.c +++ b/pluma/pluma-plugins-engine.c @@ -1,6 +1,6 @@ /* - * gedit-plugins-engine.c - * This file is part of gedit + * pluma-plugins-engine.c + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,26 +36,26 @@ #include -#include "gedit-plugins-engine.h" -#include "gedit-plugin-info-priv.h" -#include "gedit-plugin.h" -#include "gedit-debug.h" -#include "gedit-app.h" -#include "gedit-prefs-manager.h" -#include "gedit-plugin-loader.h" -#include "gedit-object-module.h" -#include "gedit-dirs.h" +#include "pluma-plugins-engine.h" +#include "pluma-plugin-info-priv.h" +#include "pluma-plugin.h" +#include "pluma-debug.h" +#include "pluma-app.h" +#include "pluma-prefs-manager.h" +#include "pluma-plugin-loader.h" +#include "pluma-object-module.h" +#include "pluma-dirs.h" -#define GEDIT_PLUGINS_ENGINE_BASE_KEY "/apps/gedit-2/plugins" -#define GEDIT_PLUGINS_ENGINE_KEY GEDIT_PLUGINS_ENGINE_BASE_KEY "/active-plugins" +#define PLUMA_PLUGINS_ENGINE_BASE_KEY "/apps/pluma-2/plugins" +#define PLUMA_PLUGINS_ENGINE_KEY PLUMA_PLUGINS_ENGINE_BASE_KEY "/active-plugins" -#define PLUGIN_EXT ".gedit-plugin" +#define PLUGIN_EXT ".pluma-plugin" #define LOADER_EXT G_MODULE_SUFFIX typedef struct { - GeditPluginLoader *loader; - GeditObjectModule *module; + PlumaPluginLoader *loader; + PlumaObjectModule *module; } LoaderInfo; /* Signals */ @@ -68,9 +68,9 @@ enum static guint signals[LAST_SIGNAL]; -G_DEFINE_TYPE(GeditPluginsEngine, gedit_plugins_engine, G_TYPE_OBJECT) +G_DEFINE_TYPE(PlumaPluginsEngine, pluma_plugins_engine, G_TYPE_OBJECT) -struct _GeditPluginsEnginePrivate +struct _PlumaPluginsEnginePrivate { GList *plugin_list; GHashTable *loaders; @@ -78,17 +78,17 @@ struct _GeditPluginsEnginePrivate gboolean activate_from_prefs; }; -GeditPluginsEngine *default_engine = NULL; +PlumaPluginsEngine *default_engine = NULL; -static void gedit_plugins_engine_activate_plugin_real (GeditPluginsEngine *engine, - GeditPluginInfo *info); -static void gedit_plugins_engine_deactivate_plugin_real (GeditPluginsEngine *engine, - GeditPluginInfo *info); +static void pluma_plugins_engine_activate_plugin_real (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); +static void pluma_plugins_engine_deactivate_plugin_real (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); -typedef gboolean (*LoadDirCallback)(GeditPluginsEngine *engine, const gchar *filename, gpointer userdata); +typedef gboolean (*LoadDirCallback)(PlumaPluginsEngine *engine, const gchar *filename, gpointer userdata); static gboolean -load_dir_real (GeditPluginsEngine *engine, +load_dir_real (PlumaPluginsEngine *engine, const gchar *dir, const gchar *suffix, LoadDirCallback callback, @@ -101,7 +101,7 @@ load_dir_real (GeditPluginsEngine *engine, g_return_val_if_fail (dir != NULL, TRUE); - gedit_debug_message (DEBUG_PLUGINS, "DIR: %s", dir); + pluma_debug_message (DEBUG_PLUGINS, "DIR: %s", dir); d = g_dir_open (dir, 0, &error); if (!d) @@ -133,44 +133,44 @@ load_dir_real (GeditPluginsEngine *engine, } static gboolean -load_plugin_info (GeditPluginsEngine *engine, +load_plugin_info (PlumaPluginsEngine *engine, const gchar *filename, gpointer userdata) { - GeditPluginInfo *info; + PlumaPluginInfo *info; - info = _gedit_plugin_info_new (filename); + info = _pluma_plugin_info_new (filename); if (info == NULL) return TRUE; /* If a plugin with this name has already been loaded * drop this one (user plugins override system plugins) */ - if (gedit_plugins_engine_get_plugin_info (engine, gedit_plugin_info_get_module_name (info)) != NULL) + if (pluma_plugins_engine_get_plugin_info (engine, pluma_plugin_info_get_module_name (info)) != NULL) { - gedit_debug_message (DEBUG_PLUGINS, "Two or more plugins named '%s'. " + pluma_debug_message (DEBUG_PLUGINS, "Two or more plugins named '%s'. " "Only the first will be considered.\n", - gedit_plugin_info_get_module_name (info)); + pluma_plugin_info_get_module_name (info)); - _gedit_plugin_info_unref (info); + _pluma_plugin_info_unref (info); return TRUE; } engine->priv->plugin_list = g_list_prepend (engine->priv->plugin_list, info); - gedit_debug_message (DEBUG_PLUGINS, "Plugin %s loaded", info->name); + pluma_debug_message (DEBUG_PLUGINS, "Plugin %s loaded", info->name); return TRUE; } static void -load_all_plugins (GeditPluginsEngine *engine) +load_all_plugins (PlumaPluginsEngine *engine) { gchar *plugin_dir; const gchar *pdirs_env = NULL; /* load user plugins */ - plugin_dir = gedit_dirs_get_user_plugins_dir (); + plugin_dir = pluma_dirs_get_user_plugins_dir (); if (g_file_test (plugin_dir, G_FILE_TEST_IS_DIR)) { load_dir_real (engine, @@ -183,9 +183,9 @@ load_all_plugins (GeditPluginsEngine *engine) g_free (plugin_dir); /* load system plugins */ - pdirs_env = g_getenv ("GEDIT_PLUGINS_PATH"); + pdirs_env = g_getenv ("PLUMA_PLUGINS_PATH"); - gedit_debug_message (DEBUG_PLUGINS, "GEDIT_PLUGINS_PATH=%s", pdirs_env); + pluma_debug_message (DEBUG_PLUGINS, "PLUMA_PLUGINS_PATH=%s", pdirs_env); if (pdirs_env != NULL) { @@ -210,7 +210,7 @@ load_all_plugins (GeditPluginsEngine *engine) } else { - plugin_dir = gedit_dirs_get_gedit_plugins_dir (); + plugin_dir = pluma_dirs_get_pluma_plugins_dir (); load_dir_real (engine, plugin_dir, @@ -254,9 +254,9 @@ loader_destroy (LoaderInfo *info) } static void -add_loader (GeditPluginsEngine *engine, +add_loader (PlumaPluginsEngine *engine, const gchar *loader_id, - GeditObjectModule *module) + PlumaObjectModule *module) { LoaderInfo *info; @@ -268,19 +268,19 @@ add_loader (GeditPluginsEngine *engine, } static void -gedit_plugins_engine_init (GeditPluginsEngine *engine) +pluma_plugins_engine_init (PlumaPluginsEngine *engine) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); if (!g_module_supported ()) { - g_warning ("gedit is not able to initialize the plugins engine."); + g_warning ("pluma is not able to initialize the plugins engine."); return; } engine->priv = G_TYPE_INSTANCE_GET_PRIVATE (engine, - GEDIT_TYPE_PLUGINS_ENGINE, - GeditPluginsEnginePrivate); + PLUMA_TYPE_PLUGINS_ENGINE, + PlumaPluginsEnginePrivate); load_all_plugins (engine); @@ -299,11 +299,11 @@ static void loader_garbage_collect (const char *id, LoaderInfo *info) { if (info->loader) - gedit_plugin_loader_garbage_collect (info->loader); + pluma_plugin_loader_garbage_collect (info->loader); } void -gedit_plugins_engine_garbage_collect (GeditPluginsEngine *engine) +pluma_plugins_engine_garbage_collect (PlumaPluginsEngine *engine) { g_hash_table_foreach (engine->priv->loaders, (GHFunc) loader_garbage_collect, @@ -311,20 +311,20 @@ gedit_plugins_engine_garbage_collect (GeditPluginsEngine *engine) } static void -gedit_plugins_engine_finalize (GObject *object) +pluma_plugins_engine_finalize (GObject *object) { - GeditPluginsEngine *engine = GEDIT_PLUGINS_ENGINE (object); + PlumaPluginsEngine *engine = PLUMA_PLUGINS_ENGINE (object); GList *item; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); /* Firs deactivate all plugins */ for (item = engine->priv->plugin_list; item; item = item->next) { - GeditPluginInfo *info = GEDIT_PLUGIN_INFO (item->data); + PlumaPluginInfo *info = PLUMA_PLUGIN_INFO (item->data); - if (gedit_plugin_info_is_active (info)) - gedit_plugins_engine_deactivate_plugin_real (engine, info); + if (pluma_plugin_info_is_active (info)) + pluma_plugins_engine_deactivate_plugin_real (engine, info); } /* unref the loaders */ @@ -333,57 +333,57 @@ gedit_plugins_engine_finalize (GObject *object) /* and finally free the infos */ for (item = engine->priv->plugin_list; item; item = item->next) { - GeditPluginInfo *info = GEDIT_PLUGIN_INFO (item->data); + PlumaPluginInfo *info = PLUMA_PLUGIN_INFO (item->data); - _gedit_plugin_info_unref (info); + _pluma_plugin_info_unref (info); } g_list_free (engine->priv->plugin_list); - G_OBJECT_CLASS (gedit_plugins_engine_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_plugins_engine_parent_class)->finalize (object); } static void -gedit_plugins_engine_class_init (GeditPluginsEngineClass *klass) +pluma_plugins_engine_class_init (PlumaPluginsEngineClass *klass) { GType the_type = G_TYPE_FROM_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_plugins_engine_finalize; - klass->activate_plugin = gedit_plugins_engine_activate_plugin_real; - klass->deactivate_plugin = gedit_plugins_engine_deactivate_plugin_real; + object_class->finalize = pluma_plugins_engine_finalize; + klass->activate_plugin = pluma_plugins_engine_activate_plugin_real; + klass->deactivate_plugin = pluma_plugins_engine_deactivate_plugin_real; signals[ACTIVATE_PLUGIN] = g_signal_new ("activate-plugin", the_type, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditPluginsEngineClass, activate_plugin), + G_STRUCT_OFFSET (PlumaPluginsEngineClass, activate_plugin), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, - GEDIT_TYPE_PLUGIN_INFO | G_SIGNAL_TYPE_STATIC_SCOPE); + PLUMA_TYPE_PLUGIN_INFO | G_SIGNAL_TYPE_STATIC_SCOPE); signals[DEACTIVATE_PLUGIN] = g_signal_new ("deactivate-plugin", the_type, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditPluginsEngineClass, deactivate_plugin), + G_STRUCT_OFFSET (PlumaPluginsEngineClass, deactivate_plugin), NULL, NULL, g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, - GEDIT_TYPE_PLUGIN_INFO | G_SIGNAL_TYPE_STATIC_SCOPE); + PLUMA_TYPE_PLUGIN_INFO | G_SIGNAL_TYPE_STATIC_SCOPE); - g_type_class_add_private (klass, sizeof (GeditPluginsEnginePrivate)); + g_type_class_add_private (klass, sizeof (PlumaPluginsEnginePrivate)); } static gboolean -load_loader (GeditPluginsEngine *engine, +load_loader (PlumaPluginsEngine *engine, const gchar *filename, gpointer data) { - GeditObjectModule *module; + PlumaObjectModule *module; gchar *base; gchar *path; const gchar *id; @@ -394,9 +394,9 @@ load_loader (GeditPluginsEngine *engine, base = g_path_get_basename (filename); /* for now they are all resident */ - module = gedit_object_module_new (base, + module = pluma_object_module_new (base, path, - "register_gedit_plugin_loader", + "register_pluma_plugin_loader", TRUE); g_free (base); @@ -413,8 +413,8 @@ load_loader (GeditPluginsEngine *engine, /* get the exported type and check the name as exported by the * loader interface */ - type = gedit_object_module_get_object_type (module); - id = gedit_plugin_loader_type_get_id (type); + type = pluma_object_module_get_object_type (module); + id = pluma_plugin_loader_type_get_id (type); add_loader (engine, id, module); g_type_module_unuse (G_TYPE_MODULE (module)); @@ -428,12 +428,12 @@ ensure_loader (LoaderInfo *info) if (info->loader == NULL && info->module != NULL) { /* create a new loader object */ - GeditPluginLoader *loader; - loader = (GeditPluginLoader *)gedit_object_module_new_object (info->module, NULL); + PlumaPluginLoader *loader; + loader = (PlumaPluginLoader *)pluma_object_module_new_object (info->module, NULL); - if (loader == NULL || !GEDIT_IS_PLUGIN_LOADER (loader)) + if (loader == NULL || !PLUMA_IS_PLUGIN_LOADER (loader)) { - g_warning ("Loader object is not a valid GeditPluginLoader instance"); + g_warning ("Loader object is not a valid PlumaPluginLoader instance"); if (loader != NULL && G_IS_OBJECT (loader)) g_object_unref (loader); @@ -445,8 +445,8 @@ ensure_loader (LoaderInfo *info) } } -static GeditPluginLoader * -get_plugin_loader (GeditPluginsEngine *engine, GeditPluginInfo *info) +static PlumaPluginLoader * +get_plugin_loader (PlumaPluginsEngine *engine, PlumaPluginInfo *info) { const gchar *loader_id; LoaderInfo *loader_info; @@ -461,7 +461,7 @@ get_plugin_loader (GeditPluginsEngine *engine, GeditPluginInfo *info) { gchar *loader_dir; - loader_dir = gedit_dirs_get_gedit_plugin_loaders_dir (); + loader_dir = pluma_dirs_get_pluma_plugin_loaders_dir (); /* loader could not be found in the hash, try to find it by scanning */ @@ -488,77 +488,77 @@ get_plugin_loader (GeditPluginsEngine *engine, GeditPluginInfo *info) return loader_info->loader; } -GeditPluginsEngine * -gedit_plugins_engine_get_default (void) +PlumaPluginsEngine * +pluma_plugins_engine_get_default (void) { if (default_engine != NULL) return default_engine; - default_engine = GEDIT_PLUGINS_ENGINE (g_object_new (GEDIT_TYPE_PLUGINS_ENGINE, NULL)); + default_engine = PLUMA_PLUGINS_ENGINE (g_object_new (PLUMA_TYPE_PLUGINS_ENGINE, NULL)); g_object_add_weak_pointer (G_OBJECT (default_engine), (gpointer) &default_engine); return default_engine; } const GList * -gedit_plugins_engine_get_plugin_list (GeditPluginsEngine *engine) +pluma_plugins_engine_get_plugin_list (PlumaPluginsEngine *engine) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); return engine->priv->plugin_list; } static gint -compare_plugin_info_and_name (GeditPluginInfo *info, +compare_plugin_info_and_name (PlumaPluginInfo *info, const gchar *module_name) { - return strcmp (gedit_plugin_info_get_module_name (info), module_name); + return strcmp (pluma_plugin_info_get_module_name (info), module_name); } -GeditPluginInfo * -gedit_plugins_engine_get_plugin_info (GeditPluginsEngine *engine, +PlumaPluginInfo * +pluma_plugins_engine_get_plugin_info (PlumaPluginsEngine *engine, const gchar *name) { GList *l = g_list_find_custom (engine->priv->plugin_list, name, (GCompareFunc) compare_plugin_info_and_name); - return l == NULL ? NULL : (GeditPluginInfo *) l->data; + return l == NULL ? NULL : (PlumaPluginInfo *) l->data; } static void -save_active_plugin_list (GeditPluginsEngine *engine) +save_active_plugin_list (PlumaPluginsEngine *engine) { GSList *active_plugins = NULL; GList *l; for (l = engine->priv->plugin_list; l != NULL; l = l->next) { - GeditPluginInfo *info = (GeditPluginInfo *) l->data; + PlumaPluginInfo *info = (PlumaPluginInfo *) l->data; - if (gedit_plugin_info_is_active (info)) + if (pluma_plugin_info_is_active (info)) { active_plugins = g_slist_prepend (active_plugins, - (gpointer)gedit_plugin_info_get_module_name (info)); + (gpointer)pluma_plugin_info_get_module_name (info)); } } - gedit_prefs_manager_set_active_plugins (active_plugins); + pluma_prefs_manager_set_active_plugins (active_plugins); g_slist_free (active_plugins); } static gboolean -load_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info) +load_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info) { - GeditPluginLoader *loader; + PlumaPluginLoader *loader; gchar *path; - if (gedit_plugin_info_is_active (info)) + if (pluma_plugin_info_is_active (info)) return TRUE; - if (!gedit_plugin_info_is_available (info)) + if (!pluma_plugin_info_is_available (info)) return FALSE; loader = get_plugin_loader (engine, info); @@ -573,7 +573,7 @@ load_plugin (GeditPluginsEngine *engine, path = g_path_get_dirname (info->file); g_return_val_if_fail (path != NULL, FALSE); - info->plugin = gedit_plugin_loader_load (loader, info, path); + info->plugin = pluma_plugin_loader_load (loader, info, path); g_free (path); @@ -588,73 +588,73 @@ load_plugin (GeditPluginsEngine *engine, } static void -gedit_plugins_engine_activate_plugin_real (GeditPluginsEngine *engine, - GeditPluginInfo *info) +pluma_plugins_engine_activate_plugin_real (PlumaPluginsEngine *engine, + PlumaPluginInfo *info) { const GList *wins; if (!load_plugin (engine, info)) return; - for (wins = gedit_app_get_windows (gedit_app_get_default ()); + for (wins = pluma_app_get_windows (pluma_app_get_default ()); wins != NULL; wins = wins->next) { - gedit_plugin_activate (info->plugin, GEDIT_WINDOW (wins->data)); + pluma_plugin_activate (info->plugin, PLUMA_WINDOW (wins->data)); } } gboolean -gedit_plugins_engine_activate_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info) +pluma_plugins_engine_activate_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (info != NULL, FALSE); - if (!gedit_plugin_info_is_available (info)) + if (!pluma_plugin_info_is_available (info)) return FALSE; - if (gedit_plugin_info_is_active (info)) + if (pluma_plugin_info_is_active (info)) return TRUE; g_signal_emit (engine, signals[ACTIVATE_PLUGIN], 0, info); - if (gedit_plugin_info_is_active (info)) + if (pluma_plugin_info_is_active (info)) save_active_plugin_list (engine); - return gedit_plugin_info_is_active (info); + return pluma_plugin_info_is_active (info); } static void -call_plugin_deactivate (GeditPlugin *plugin, - GeditWindow *window) +call_plugin_deactivate (PlumaPlugin *plugin, + PlumaWindow *window) { - gedit_plugin_deactivate (plugin, window); + pluma_plugin_deactivate (plugin, window); /* ensure update of ui manager, because we suspect it does something with expected static strings in the type module (when unloaded the strings don't exist anymore, and ui manager updates in an idle func) */ - gtk_ui_manager_ensure_update (gedit_window_get_ui_manager (window)); + gtk_ui_manager_ensure_update (pluma_window_get_ui_manager (window)); } static void -gedit_plugins_engine_deactivate_plugin_real (GeditPluginsEngine *engine, - GeditPluginInfo *info) +pluma_plugins_engine_deactivate_plugin_real (PlumaPluginsEngine *engine, + PlumaPluginInfo *info) { const GList *wins; - GeditPluginLoader *loader; + PlumaPluginLoader *loader; - if (!gedit_plugin_info_is_active (info) || - !gedit_plugin_info_is_available (info)) + if (!pluma_plugin_info_is_active (info) || + !pluma_plugin_info_is_available (info)) return; - for (wins = gedit_app_get_windows (gedit_app_get_default ()); + for (wins = pluma_app_get_windows (pluma_app_get_default ()); wins != NULL; wins = wins->next) { - call_plugin_deactivate (info->plugin, GEDIT_WINDOW (wins->data)); + call_plugin_deactivate (info->plugin, PLUMA_WINDOW (wins->data)); } /* first unref the plugin (the loader still has one) */ @@ -663,65 +663,65 @@ gedit_plugins_engine_deactivate_plugin_real (GeditPluginsEngine *engine, /* find the loader and tell it to gc and unload the plugin */ loader = get_plugin_loader (engine, info); - gedit_plugin_loader_garbage_collect (loader); - gedit_plugin_loader_unload (loader, info); + pluma_plugin_loader_garbage_collect (loader); + pluma_plugin_loader_unload (loader, info); info->plugin = NULL; } gboolean -gedit_plugins_engine_deactivate_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info) +pluma_plugins_engine_deactivate_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_val_if_fail (info != NULL, FALSE); - if (!gedit_plugin_info_is_active (info)) + if (!pluma_plugin_info_is_active (info)) return TRUE; g_signal_emit (engine, signals[DEACTIVATE_PLUGIN], 0, info); - if (!gedit_plugin_info_is_active (info)) + if (!pluma_plugin_info_is_active (info)) save_active_plugin_list (engine); - return !gedit_plugin_info_is_active (info); + return !pluma_plugin_info_is_active (info); } void -gedit_plugins_engine_activate_plugins (GeditPluginsEngine *engine, - GeditWindow *window) +pluma_plugins_engine_activate_plugins (PlumaPluginsEngine *engine, + PlumaWindow *window) { GSList *active_plugins = NULL; GList *pl; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - g_return_if_fail (GEDIT_IS_PLUGINS_ENGINE (engine)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGINS_ENGINE (engine)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); /* the first time, we get the 'active' plugins from mateconf */ if (engine->priv->activate_from_prefs) { - active_plugins = gedit_prefs_manager_get_active_plugins (); + active_plugins = pluma_prefs_manager_get_active_plugins (); } for (pl = engine->priv->plugin_list; pl; pl = pl->next) { - GeditPluginInfo *info = (GeditPluginInfo*)pl->data; + PlumaPluginInfo *info = (PlumaPluginInfo*)pl->data; if (engine->priv->activate_from_prefs && g_slist_find_custom (active_plugins, - gedit_plugin_info_get_module_name (info), + pluma_plugin_info_get_module_name (info), (GCompareFunc)strcmp) == NULL) continue; /* If plugin is not active, don't try to activate/load it */ if (!engine->priv->activate_from_prefs && - !gedit_plugin_info_is_active (info)) + !pluma_plugin_info_is_active (info)) continue; if (load_plugin (engine, info)) - gedit_plugin_activate (info->plugin, + pluma_plugin_activate (info->plugin, window); } @@ -732,76 +732,76 @@ gedit_plugins_engine_activate_plugins (GeditPluginsEngine *engine, engine->priv->activate_from_prefs = FALSE; } - gedit_debug_message (DEBUG_PLUGINS, "End"); + pluma_debug_message (DEBUG_PLUGINS, "End"); /* also call update_ui after activation */ - gedit_plugins_engine_update_plugins_ui (engine, window); + pluma_plugins_engine_update_plugins_ui (engine, window); } void -gedit_plugins_engine_deactivate_plugins (GeditPluginsEngine *engine, - GeditWindow *window) +pluma_plugins_engine_deactivate_plugins (PlumaPluginsEngine *engine, + PlumaWindow *window) { GList *pl; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - g_return_if_fail (GEDIT_IS_PLUGINS_ENGINE (engine)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGINS_ENGINE (engine)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); for (pl = engine->priv->plugin_list; pl; pl = pl->next) { - GeditPluginInfo *info = (GeditPluginInfo*)pl->data; + PlumaPluginInfo *info = (PlumaPluginInfo*)pl->data; /* check if the plugin is actually active */ - if (!gedit_plugin_info_is_active (info)) + if (!pluma_plugin_info_is_active (info)) continue; /* call deactivate for the plugin for this window */ - gedit_plugin_deactivate (info->plugin, window); + pluma_plugin_deactivate (info->plugin, window); } - gedit_debug_message (DEBUG_PLUGINS, "End"); + pluma_debug_message (DEBUG_PLUGINS, "End"); } void -gedit_plugins_engine_update_plugins_ui (GeditPluginsEngine *engine, - GeditWindow *window) +pluma_plugins_engine_update_plugins_ui (PlumaPluginsEngine *engine, + PlumaWindow *window) { GList *pl; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - g_return_if_fail (GEDIT_IS_PLUGINS_ENGINE (engine)); - g_return_if_fail (GEDIT_IS_WINDOW (window)); + g_return_if_fail (PLUMA_IS_PLUGINS_ENGINE (engine)); + g_return_if_fail (PLUMA_IS_WINDOW (window)); /* call update_ui for all active plugins */ for (pl = engine->priv->plugin_list; pl; pl = pl->next) { - GeditPluginInfo *info = (GeditPluginInfo*)pl->data; + PlumaPluginInfo *info = (PlumaPluginInfo*)pl->data; - if (!gedit_plugin_info_is_active (info)) + if (!pluma_plugin_info_is_active (info)) continue; - gedit_debug_message (DEBUG_PLUGINS, "Updating UI of %s", info->name); - gedit_plugin_update_ui (info->plugin, window); + pluma_debug_message (DEBUG_PLUGINS, "Updating UI of %s", info->name); + pluma_plugin_update_ui (info->plugin, window); } } void -gedit_plugins_engine_configure_plugin (GeditPluginsEngine *engine, - GeditPluginInfo *info, +pluma_plugins_engine_configure_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info, GtkWindow *parent) { GtkWidget *conf_dlg; GtkWindowGroup *wg; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); g_return_if_fail (info != NULL); - conf_dlg = gedit_plugin_create_configure_dialog (info->plugin); + conf_dlg = pluma_plugin_create_configure_dialog (info->plugin); g_return_if_fail (conf_dlg != NULL); gtk_window_set_transient_for (GTK_WINDOW (conf_dlg), parent); @@ -821,30 +821,30 @@ gedit_plugins_engine_configure_plugin (GeditPluginsEngine *engine, } void -gedit_plugins_engine_active_plugins_changed (GeditPluginsEngine *engine) +pluma_plugins_engine_active_plugins_changed (PlumaPluginsEngine *engine) { gboolean to_activate; GSList *active_plugins; GList *pl; - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); - active_plugins = gedit_prefs_manager_get_active_plugins (); + active_plugins = pluma_prefs_manager_get_active_plugins (); for (pl = engine->priv->plugin_list; pl; pl = pl->next) { - GeditPluginInfo *info = (GeditPluginInfo*)pl->data; + PlumaPluginInfo *info = (PlumaPluginInfo*)pl->data; - if (!gedit_plugin_info_is_available (info)) + if (!pluma_plugin_info_is_available (info)) continue; to_activate = (g_slist_find_custom (active_plugins, - gedit_plugin_info_get_module_name (info), + pluma_plugin_info_get_module_name (info), (GCompareFunc)strcmp) != NULL); - if (!gedit_plugin_info_is_active (info) && to_activate) + if (!pluma_plugin_info_is_active (info) && to_activate) g_signal_emit (engine, signals[ACTIVATE_PLUGIN], 0, info); - else if (gedit_plugin_info_is_active (info) && !to_activate) + else if (pluma_plugin_info_is_active (info) && !to_activate) g_signal_emit (engine, signals[DEACTIVATE_PLUGIN], 0, info); } @@ -853,9 +853,9 @@ gedit_plugins_engine_active_plugins_changed (GeditPluginsEngine *engine) } void -gedit_plugins_engine_rescan_plugins (GeditPluginsEngine *engine) +pluma_plugins_engine_rescan_plugins (PlumaPluginsEngine *engine) { - gedit_debug (DEBUG_PLUGINS); + pluma_debug (DEBUG_PLUGINS); load_all_plugins (engine); } diff --git a/pluma/pluma-plugins-engine.h b/pluma/pluma-plugins-engine.h new file mode 100755 index 0000000..2febf01 --- /dev/null +++ b/pluma/pluma-plugins-engine.h @@ -0,0 +1,107 @@ +/* + * pluma-plugins-engine.h + * This file is part of pluma + * + * Copyright (C) 2002-2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PLUGINS_ENGINE_H__ +#define __PLUMA_PLUGINS_ENGINE_H__ + +#include +#include "pluma-window.h" +#include "pluma-plugin-info.h" +#include "pluma-plugin.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_PLUGINS_ENGINE (pluma_plugins_engine_get_type ()) +#define PLUMA_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PLUGINS_ENGINE, PlumaPluginsEngine)) +#define PLUMA_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PLUGINS_ENGINE, PlumaPluginsEngineClass)) +#define PLUMA_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PLUGINS_ENGINE)) +#define PLUMA_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGINS_ENGINE)) +#define PLUMA_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PLUGINS_ENGINE, PlumaPluginsEngineClass)) + +typedef struct _PlumaPluginsEngine PlumaPluginsEngine; +typedef struct _PlumaPluginsEnginePrivate PlumaPluginsEnginePrivate; + +struct _PlumaPluginsEngine +{ + GObject parent; + PlumaPluginsEnginePrivate *priv; +}; + +typedef struct _PlumaPluginsEngineClass PlumaPluginsEngineClass; + +struct _PlumaPluginsEngineClass +{ + GObjectClass parent_class; + + void (* activate_plugin) (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); + + void (* deactivate_plugin) (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); +}; + +GType pluma_plugins_engine_get_type (void) G_GNUC_CONST; + +PlumaPluginsEngine *pluma_plugins_engine_get_default (void); + +void pluma_plugins_engine_garbage_collect (PlumaPluginsEngine *engine); + +const GList *pluma_plugins_engine_get_plugin_list (PlumaPluginsEngine *engine); + +PlumaPluginInfo *pluma_plugins_engine_get_plugin_info (PlumaPluginsEngine *engine, + const gchar *name); + +/* plugin load and unloading (overall, for all windows) */ +gboolean pluma_plugins_engine_activate_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); +gboolean pluma_plugins_engine_deactivate_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info); + +void pluma_plugins_engine_configure_plugin (PlumaPluginsEngine *engine, + PlumaPluginInfo *info, + GtkWindow *parent); + +/* plugin activation/deactivation per window, private to PlumaWindow */ +void pluma_plugins_engine_activate_plugins (PlumaPluginsEngine *engine, + PlumaWindow *window); +void pluma_plugins_engine_deactivate_plugins (PlumaPluginsEngine *engine, + PlumaWindow *window); +void pluma_plugins_engine_update_plugins_ui (PlumaPluginsEngine *engine, + PlumaWindow *window); + +/* private for mateconf notification */ +void pluma_plugins_engine_active_plugins_changed + (PlumaPluginsEngine *engine); + +void pluma_plugins_engine_rescan_plugins (PlumaPluginsEngine *engine); + +G_END_DECLS + +#endif /* __PLUMA_PLUGINS_ENGINE_H__ */ diff --git a/gedit/gedit-prefs-manager-app.c b/pluma/pluma-prefs-manager-app.c similarity index 65% rename from gedit/gedit-prefs-manager-app.c rename to pluma/pluma-prefs-manager-app.c index ce35db8..091bc9d 100755 --- a/gedit/gedit-prefs-manager-app.c +++ b/pluma/pluma-prefs-manager-app.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-prefs-manager.c - * This file is part of gedit + * pluma-prefs-manager.c + * This file is part of pluma * * Copyright (C) 2002-2005 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002-2003. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2003. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -35,130 +35,130 @@ #include -#include "gedit-prefs-manager.h" -#include "gedit-prefs-manager-private.h" -#include "gedit-prefs-manager-app.h" -#include "gedit-app.h" -#include "gedit-debug.h" -#include "gedit-view.h" -#include "gedit-window.h" -#include "gedit-window-private.h" -#include "gedit-plugins-engine.h" -#include "gedit-style-scheme-manager.h" -#include "gedit-dirs.h" +#include "pluma-prefs-manager.h" +#include "pluma-prefs-manager-private.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-app.h" +#include "pluma-debug.h" +#include "pluma-view.h" +#include "pluma-window.h" +#include "pluma-window-private.h" +#include "pluma-plugins-engine.h" +#include "pluma-style-scheme-manager.h" +#include "pluma-dirs.h" -static void gedit_prefs_manager_editor_font_changed (MateConfClient *client, +static void pluma_prefs_manager_editor_font_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_system_font_changed (MateConfClient *client, +static void pluma_prefs_manager_system_font_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_tabs_size_changed (MateConfClient *client, +static void pluma_prefs_manager_tabs_size_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_wrap_mode_changed (MateConfClient *client, +static void pluma_prefs_manager_wrap_mode_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_line_numbers_changed (MateConfClient *client, +static void pluma_prefs_manager_line_numbers_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_auto_indent_changed (MateConfClient *client, +static void pluma_prefs_manager_auto_indent_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_undo_changed (MateConfClient *client, +static void pluma_prefs_manager_undo_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_right_margin_changed (MateConfClient *client, +static void pluma_prefs_manager_right_margin_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_smart_home_end_changed (MateConfClient *client, +static void pluma_prefs_manager_smart_home_end_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_hl_current_line_changed (MateConfClient *client, +static void pluma_prefs_manager_hl_current_line_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_bracket_matching_changed(MateConfClient *client, +static void pluma_prefs_manager_bracket_matching_changed(MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_syntax_hl_enable_changed(MateConfClient *client, +static void pluma_prefs_manager_syntax_hl_enable_changed(MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_search_hl_enable_changed(MateConfClient *client, +static void pluma_prefs_manager_search_hl_enable_changed(MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_source_style_scheme_changed +static void pluma_prefs_manager_source_style_scheme_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_max_recents_changed (MateConfClient *client, +static void pluma_prefs_manager_max_recents_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_auto_save_changed (MateConfClient *client, +static void pluma_prefs_manager_auto_save_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_active_plugins_changed (MateConfClient *client, +static void pluma_prefs_manager_active_plugins_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); -static void gedit_prefs_manager_lockdown_changed (MateConfClient *client, +static void pluma_prefs_manager_lockdown_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data); /* GUI state is serialized to a .desktop file, not in mateconf */ -#define GEDIT_STATE_DEFAULT_WINDOW_STATE 0 -#define GEDIT_STATE_DEFAULT_WINDOW_WIDTH 650 -#define GEDIT_STATE_DEFAULT_WINDOW_HEIGHT 500 -#define GEDIT_STATE_DEFAULT_SIDE_PANEL_SIZE 200 -#define GEDIT_STATE_DEFAULT_BOTTOM_PANEL_SIZE 140 +#define PLUMA_STATE_DEFAULT_WINDOW_STATE 0 +#define PLUMA_STATE_DEFAULT_WINDOW_WIDTH 650 +#define PLUMA_STATE_DEFAULT_WINDOW_HEIGHT 500 +#define PLUMA_STATE_DEFAULT_SIDE_PANEL_SIZE 200 +#define PLUMA_STATE_DEFAULT_BOTTOM_PANEL_SIZE 140 -#define GEDIT_STATE_FILE_LOCATION "gedit-2" +#define PLUMA_STATE_FILE_LOCATION "pluma-2" -#define GEDIT_STATE_WINDOW_GROUP "window" -#define GEDIT_STATE_WINDOW_STATE "state" -#define GEDIT_STATE_WINDOW_HEIGHT "height" -#define GEDIT_STATE_WINDOW_WIDTH "width" -#define GEDIT_STATE_SIDE_PANEL_SIZE "side_panel_size" -#define GEDIT_STATE_BOTTOM_PANEL_SIZE "bottom_panel_size" -#define GEDIT_STATE_SIDE_PANEL_ACTIVE_PAGE "side_panel_active_page" -#define GEDIT_STATE_BOTTOM_PANEL_ACTIVE_PAGE "bottom_panel_active_page" +#define PLUMA_STATE_WINDOW_GROUP "window" +#define PLUMA_STATE_WINDOW_STATE "state" +#define PLUMA_STATE_WINDOW_HEIGHT "height" +#define PLUMA_STATE_WINDOW_WIDTH "width" +#define PLUMA_STATE_SIDE_PANEL_SIZE "side_panel_size" +#define PLUMA_STATE_BOTTOM_PANEL_SIZE "bottom_panel_size" +#define PLUMA_STATE_SIDE_PANEL_ACTIVE_PAGE "side_panel_active_page" +#define PLUMA_STATE_BOTTOM_PANEL_ACTIVE_PAGE "bottom_panel_active_page" -#define GEDIT_STATE_FILEFILTER_GROUP "filefilter" -#define GEDIT_STATE_FILEFILTER_ID "id" +#define PLUMA_STATE_FILEFILTER_GROUP "filefilter" +#define PLUMA_STATE_FILEFILTER_ID "id" static gint window_state = -1; static gint window_height = -1; @@ -176,12 +176,12 @@ get_state_filename (void) gchar *config_dir; gchar *filename = NULL; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir != NULL) { filename = g_build_filename (config_dir, - GEDIT_STATE_FILE_LOCATION, + PLUMA_STATE_FILE_LOCATION, NULL); g_free (config_dir); } @@ -190,7 +190,7 @@ get_state_filename (void) } static GKeyFile * -get_gedit_state_file (void) +get_pluma_state_file (void) { static GKeyFile *state_file = NULL; @@ -211,7 +211,7 @@ get_gedit_state_file (void) if (err->domain != G_FILE_ERROR || err->code != G_FILE_ERROR_NOENT) { - g_warning ("Could not load gedit state file: %s\n", + g_warning ("Could not load pluma state file: %s\n", err->message); } @@ -225,7 +225,7 @@ get_gedit_state_file (void) } static void -gedit_state_get_int (const gchar *group, +pluma_state_get_int (const gchar *group, const gchar *key, gint defval, gint *result) @@ -234,7 +234,7 @@ gedit_state_get_int (const gchar *group, gint res; GError *err = NULL; - state_file = get_gedit_state_file (); + state_file = get_pluma_state_file (); res = g_key_file_get_integer (state_file, group, key, @@ -262,13 +262,13 @@ gedit_state_get_int (const gchar *group, } static void -gedit_state_set_int (const gchar *group, +pluma_state_set_int (const gchar *group, const gchar *key, gint value) { GKeyFile *state_file; - state_file = get_gedit_state_file (); + state_file = get_pluma_state_file (); g_key_file_set_integer (state_file, group, key, @@ -276,7 +276,7 @@ gedit_state_set_int (const gchar *group, } static gboolean -gedit_state_file_sync (void) +pluma_state_file_sync (void) { GKeyFile *state_file; gchar *config_dir; @@ -287,10 +287,10 @@ gedit_state_file_sync (void) GError *err = NULL; gboolean ret = FALSE; - state_file = get_gedit_state_file (); + state_file = get_pluma_state_file (); g_return_val_if_fail (state_file != NULL, FALSE); - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir == NULL) { g_warning ("Could not get config directory\n"); @@ -323,7 +323,7 @@ gedit_state_file_sync (void) length, &err)) { - g_warning ("Could not write gedit state file: %s\n", + g_warning ("Could not write pluma state file: %s\n", err->message); goto out; } @@ -344,13 +344,13 @@ gedit_state_file_sync (void) /* Window state */ gint -gedit_prefs_manager_get_window_state (void) +pluma_prefs_manager_get_window_state (void) { if (window_state == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_STATE, - GEDIT_STATE_DEFAULT_WINDOW_STATE, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_STATE, + PLUMA_STATE_DEFAULT_WINDOW_STATE, &window_state); } @@ -358,42 +358,42 @@ gedit_prefs_manager_get_window_state (void) } void -gedit_prefs_manager_set_window_state (gint ws) +pluma_prefs_manager_set_window_state (gint ws) { g_return_if_fail (ws > -1); window_state = ws; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_STATE, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_STATE, ws); } gboolean -gedit_prefs_manager_window_state_can_set (void) +pluma_prefs_manager_window_state_can_set (void) { return TRUE; } /* Window size */ void -gedit_prefs_manager_get_window_size (gint *width, gint *height) +pluma_prefs_manager_get_window_size (gint *width, gint *height) { g_return_if_fail (width != NULL && height != NULL); if (window_width == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_WIDTH, - GEDIT_STATE_DEFAULT_WINDOW_WIDTH, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_WIDTH, + PLUMA_STATE_DEFAULT_WINDOW_WIDTH, &window_width); } if (window_height == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_HEIGHT, - GEDIT_STATE_DEFAULT_WINDOW_HEIGHT, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_HEIGHT, + PLUMA_STATE_DEFAULT_WINDOW_HEIGHT, &window_height); } @@ -402,45 +402,45 @@ gedit_prefs_manager_get_window_size (gint *width, gint *height) } void -gedit_prefs_manager_get_default_window_size (gint *width, gint *height) +pluma_prefs_manager_get_default_window_size (gint *width, gint *height) { g_return_if_fail (width != NULL && height != NULL); - *width = GEDIT_STATE_DEFAULT_WINDOW_WIDTH; - *height = GEDIT_STATE_DEFAULT_WINDOW_HEIGHT; + *width = PLUMA_STATE_DEFAULT_WINDOW_WIDTH; + *height = PLUMA_STATE_DEFAULT_WINDOW_HEIGHT; } void -gedit_prefs_manager_set_window_size (gint width, gint height) +pluma_prefs_manager_set_window_size (gint width, gint height) { g_return_if_fail (width > -1 && height > -1); window_width = width; window_height = height; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_WIDTH, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_WIDTH, width); - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_WINDOW_HEIGHT, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_WINDOW_HEIGHT, height); } gboolean -gedit_prefs_manager_window_size_can_set (void) +pluma_prefs_manager_window_size_can_set (void) { return TRUE; } /* Side panel */ gint -gedit_prefs_manager_get_side_panel_size (void) +pluma_prefs_manager_get_side_panel_size (void) { if (side_panel_size == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_SIDE_PANEL_SIZE, - GEDIT_STATE_DEFAULT_SIDE_PANEL_SIZE, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_SIDE_PANEL_SIZE, + PLUMA_STATE_DEFAULT_SIDE_PANEL_SIZE, &side_panel_size); } @@ -448,13 +448,13 @@ gedit_prefs_manager_get_side_panel_size (void) } gint -gedit_prefs_manager_get_default_side_panel_size (void) +pluma_prefs_manager_get_default_side_panel_size (void) { - return GEDIT_STATE_DEFAULT_SIDE_PANEL_SIZE; + return PLUMA_STATE_DEFAULT_SIDE_PANEL_SIZE; } void -gedit_prefs_manager_set_side_panel_size (gint ps) +pluma_prefs_manager_set_side_panel_size (gint ps) { g_return_if_fail (ps > -1); @@ -462,24 +462,24 @@ gedit_prefs_manager_set_side_panel_size (gint ps) return; side_panel_size = ps; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_SIDE_PANEL_SIZE, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_SIDE_PANEL_SIZE, ps); } gboolean -gedit_prefs_manager_side_panel_size_can_set (void) +pluma_prefs_manager_side_panel_size_can_set (void) { return TRUE; } gint -gedit_prefs_manager_get_side_panel_active_page (void) +pluma_prefs_manager_get_side_panel_active_page (void) { if (side_panel_active_page == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_SIDE_PANEL_ACTIVE_PAGE, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_SIDE_PANEL_ACTIVE_PAGE, 0, &side_panel_active_page); } @@ -488,32 +488,32 @@ gedit_prefs_manager_get_side_panel_active_page (void) } void -gedit_prefs_manager_set_side_panel_active_page (gint id) +pluma_prefs_manager_set_side_panel_active_page (gint id) { if (side_panel_active_page == id) return; side_panel_active_page = id; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_SIDE_PANEL_ACTIVE_PAGE, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_SIDE_PANEL_ACTIVE_PAGE, id); } gboolean -gedit_prefs_manager_side_panel_active_page_can_set (void) +pluma_prefs_manager_side_panel_active_page_can_set (void) { return TRUE; } /* Bottom panel */ gint -gedit_prefs_manager_get_bottom_panel_size (void) +pluma_prefs_manager_get_bottom_panel_size (void) { if (bottom_panel_size == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_BOTTOM_PANEL_SIZE, - GEDIT_STATE_DEFAULT_BOTTOM_PANEL_SIZE, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_BOTTOM_PANEL_SIZE, + PLUMA_STATE_DEFAULT_BOTTOM_PANEL_SIZE, &bottom_panel_size); } @@ -521,13 +521,13 @@ gedit_prefs_manager_get_bottom_panel_size (void) } gint -gedit_prefs_manager_get_default_bottom_panel_size (void) +pluma_prefs_manager_get_default_bottom_panel_size (void) { - return GEDIT_STATE_DEFAULT_BOTTOM_PANEL_SIZE; + return PLUMA_STATE_DEFAULT_BOTTOM_PANEL_SIZE; } void -gedit_prefs_manager_set_bottom_panel_size (gint ps) +pluma_prefs_manager_set_bottom_panel_size (gint ps) { g_return_if_fail (ps > -1); @@ -535,24 +535,24 @@ gedit_prefs_manager_set_bottom_panel_size (gint ps) return; bottom_panel_size = ps; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_BOTTOM_PANEL_SIZE, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_BOTTOM_PANEL_SIZE, ps); } gboolean -gedit_prefs_manager_bottom_panel_size_can_set (void) +pluma_prefs_manager_bottom_panel_size_can_set (void) { return TRUE; } gint -gedit_prefs_manager_get_bottom_panel_active_page (void) +pluma_prefs_manager_get_bottom_panel_active_page (void) { if (bottom_panel_active_page == -1) { - gedit_state_get_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_BOTTOM_PANEL_ACTIVE_PAGE, + pluma_state_get_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_BOTTOM_PANEL_ACTIVE_PAGE, 0, &bottom_panel_active_page); } @@ -561,31 +561,31 @@ gedit_prefs_manager_get_bottom_panel_active_page (void) } void -gedit_prefs_manager_set_bottom_panel_active_page (gint id) +pluma_prefs_manager_set_bottom_panel_active_page (gint id) { if (bottom_panel_active_page == id) return; bottom_panel_active_page = id; - gedit_state_set_int (GEDIT_STATE_WINDOW_GROUP, - GEDIT_STATE_BOTTOM_PANEL_ACTIVE_PAGE, + pluma_state_set_int (PLUMA_STATE_WINDOW_GROUP, + PLUMA_STATE_BOTTOM_PANEL_ACTIVE_PAGE, id); } gboolean -gedit_prefs_manager_bottom_panel_active_page_can_set (void) +pluma_prefs_manager_bottom_panel_active_page_can_set (void) { return TRUE; } /* File filter */ gint -gedit_prefs_manager_get_active_file_filter (void) +pluma_prefs_manager_get_active_file_filter (void) { if (active_file_filter == -1) { - gedit_state_get_int (GEDIT_STATE_FILEFILTER_GROUP, - GEDIT_STATE_FILEFILTER_ID, + pluma_state_get_int (PLUMA_STATE_FILEFILTER_GROUP, + PLUMA_STATE_FILEFILTER_ID, 0, &active_file_filter); } @@ -594,7 +594,7 @@ gedit_prefs_manager_get_active_file_filter (void) } void -gedit_prefs_manager_set_active_file_filter (gint id) +pluma_prefs_manager_set_active_file_filter (gint id) { g_return_if_fail (id >= 0); @@ -602,13 +602,13 @@ gedit_prefs_manager_set_active_file_filter (gint id) return; active_file_filter = id; - gedit_state_set_int (GEDIT_STATE_FILEFILTER_GROUP, - GEDIT_STATE_FILEFILTER_ID, + pluma_state_set_int (PLUMA_STATE_FILEFILTER_GROUP, + PLUMA_STATE_FILEFILTER_ID, id); } gboolean -gedit_prefs_manager_active_file_filter_can_set (void) +pluma_prefs_manager_active_file_filter_can_set (void) { return TRUE; } @@ -616,140 +616,140 @@ gedit_prefs_manager_active_file_filter_can_set (void) /* Normal prefs are stored in MateConf */ gboolean -gedit_prefs_manager_app_init (void) +pluma_prefs_manager_app_init (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager == NULL, FALSE); + g_return_val_if_fail (pluma_prefs_manager == NULL, FALSE); - gedit_prefs_manager_init (); + pluma_prefs_manager_init (); - if (gedit_prefs_manager != NULL) + if (pluma_prefs_manager != NULL) { /* TODO: notify, add dirs */ - mateconf_client_add_dir (gedit_prefs_manager->mateconf_client, + mateconf_client_add_dir (pluma_prefs_manager->mateconf_client, GPM_PREFS_DIR, MATECONF_CLIENT_PRELOAD_RECURSIVE, NULL); - mateconf_client_add_dir (gedit_prefs_manager->mateconf_client, + mateconf_client_add_dir (pluma_prefs_manager->mateconf_client, GPM_PLUGINS_DIR, MATECONF_CLIENT_PRELOAD_RECURSIVE, NULL); - mateconf_client_add_dir (gedit_prefs_manager->mateconf_client, + mateconf_client_add_dir (pluma_prefs_manager->mateconf_client, GPM_LOCKDOWN_DIR, MATECONF_CLIENT_PRELOAD_RECURSIVE, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_FONT_DIR, - gedit_prefs_manager_editor_font_changed, + pluma_prefs_manager_editor_font_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SYSTEM_FONT, - gedit_prefs_manager_system_font_changed, + pluma_prefs_manager_system_font_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_TABS_DIR, - gedit_prefs_manager_tabs_size_changed, + pluma_prefs_manager_tabs_size_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_WRAP_MODE_DIR, - gedit_prefs_manager_wrap_mode_changed, + pluma_prefs_manager_wrap_mode_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_LINE_NUMBERS_DIR, - gedit_prefs_manager_line_numbers_changed, + pluma_prefs_manager_line_numbers_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_AUTO_INDENT_DIR, - gedit_prefs_manager_auto_indent_changed, + pluma_prefs_manager_auto_indent_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_UNDO_DIR, - gedit_prefs_manager_undo_changed, + pluma_prefs_manager_undo_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_RIGHT_MARGIN_DIR, - gedit_prefs_manager_right_margin_changed, + pluma_prefs_manager_right_margin_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SMART_HOME_END_DIR, - gedit_prefs_manager_smart_home_end_changed, + pluma_prefs_manager_smart_home_end_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_CURRENT_LINE_DIR, - gedit_prefs_manager_hl_current_line_changed, + pluma_prefs_manager_hl_current_line_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_BRACKET_MATCHING_DIR, - gedit_prefs_manager_bracket_matching_changed, + pluma_prefs_manager_bracket_matching_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SYNTAX_HL_ENABLE, - gedit_prefs_manager_syntax_hl_enable_changed, + pluma_prefs_manager_syntax_hl_enable_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SEARCH_HIGHLIGHTING_ENABLE, - gedit_prefs_manager_search_hl_enable_changed, + pluma_prefs_manager_search_hl_enable_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SOURCE_STYLE_DIR, - gedit_prefs_manager_source_style_scheme_changed, + pluma_prefs_manager_source_style_scheme_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_MAX_RECENTS, - gedit_prefs_manager_max_recents_changed, + pluma_prefs_manager_max_recents_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_SAVE_DIR, - gedit_prefs_manager_auto_save_changed, + pluma_prefs_manager_auto_save_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_ACTIVE_PLUGINS, - gedit_prefs_manager_active_plugins_changed, + pluma_prefs_manager_active_plugins_changed, NULL, NULL, NULL); - mateconf_client_notify_add (gedit_prefs_manager->mateconf_client, + mateconf_client_notify_add (pluma_prefs_manager->mateconf_client, GPM_LOCKDOWN_DIR, - gedit_prefs_manager_lockdown_changed, + pluma_prefs_manager_lockdown_changed, NULL, NULL, NULL); } - return gedit_prefs_manager != NULL; + return pluma_prefs_manager != NULL; } -/* This function must be called before exiting gedit */ +/* This function must be called before exiting pluma */ void -gedit_prefs_manager_app_shutdown (void) +pluma_prefs_manager_app_shutdown (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - gedit_prefs_manager_shutdown (); + pluma_prefs_manager_shutdown (); - gedit_state_file_sync (); + pluma_state_file_sync (); } static void -gedit_prefs_manager_editor_font_changed (MateConfClient *client, +pluma_prefs_manager_editor_font_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) @@ -760,7 +760,7 @@ gedit_prefs_manager_editor_font_changed (MateConfClient *client, gboolean def = TRUE; gint ts; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -773,9 +773,9 @@ gedit_prefs_manager_editor_font_changed (MateConfClient *client, def = GPM_DEFAULT_USE_DEFAULT_FONT; if (def) - font = gedit_prefs_manager_get_system_font (); + font = pluma_prefs_manager_get_system_font (); else - font = gedit_prefs_manager_get_editor_font (); + font = pluma_prefs_manager_get_editor_font (); } else if (strcmp (entry->key, GPM_EDITOR_FONT) == 0) { @@ -784,22 +784,22 @@ gedit_prefs_manager_editor_font_changed (MateConfClient *client, else font = g_strdup (GPM_DEFAULT_EDITOR_FONT); - def = gedit_prefs_manager_get_use_default_font (); + def = pluma_prefs_manager_get_use_default_font (); } else return; g_return_if_fail (font != NULL); - ts = gedit_prefs_manager_get_tabs_size (); + ts = pluma_prefs_manager_get_tabs_size (); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) { - /* Note: we use def=FALSE to avoid GeditView to query mateconf */ - gedit_view_set_font (GEDIT_VIEW (l->data), FALSE, font); + /* Note: we use def=FALSE to avoid PlumaView to query mateconf */ + pluma_view_set_font (PLUMA_VIEW (l->data), FALSE, font); gtk_source_view_set_tab_width (GTK_SOURCE_VIEW (l->data), ts); l = l->next; @@ -810,7 +810,7 @@ gedit_prefs_manager_editor_font_changed (MateConfClient *client, } static void -gedit_prefs_manager_system_font_changed (MateConfClient *client, +pluma_prefs_manager_system_font_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) @@ -820,7 +820,7 @@ gedit_prefs_manager_system_font_changed (MateConfClient *client, gchar *font; gint ts; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -828,7 +828,7 @@ gedit_prefs_manager_system_font_changed (MateConfClient *client, if (strcmp (entry->key, GPM_SYSTEM_FONT) != 0) return; - if (!gedit_prefs_manager_get_use_default_font ()) + if (!pluma_prefs_manager_get_use_default_font ()) return; if (entry->value->type == MATECONF_VALUE_STRING) @@ -836,15 +836,15 @@ gedit_prefs_manager_system_font_changed (MateConfClient *client, else font = g_strdup (GPM_DEFAULT_SYSTEM_FONT); - ts = gedit_prefs_manager_get_tabs_size (); + ts = pluma_prefs_manager_get_tabs_size (); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) { - /* Note: we use def=FALSE to avoid GeditView to query mateconf */ - gedit_view_set_font (GEDIT_VIEW (l->data), FALSE, font); + /* Note: we use def=FALSE to avoid PlumaView to query mateconf */ + pluma_view_set_font (PLUMA_VIEW (l->data), FALSE, font); gtk_source_view_set_tab_width (GTK_SOURCE_VIEW (l->data), ts); l = l->next; @@ -855,12 +855,12 @@ gedit_prefs_manager_system_font_changed (MateConfClient *client, } static void -gedit_prefs_manager_tabs_size_changed (MateConfClient *client, +pluma_prefs_manager_tabs_size_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -878,7 +878,7 @@ gedit_prefs_manager_tabs_size_changed (MateConfClient *client, tab_width = CLAMP (tab_width, 1, 24); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -902,7 +902,7 @@ gedit_prefs_manager_tabs_size_changed (MateConfClient *client, else enable = GPM_DEFAULT_INSERT_SPACES; - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -939,12 +939,12 @@ get_wrap_mode_from_string (const gchar* str) } static void -gedit_prefs_manager_wrap_mode_changed (MateConfClient *client, +pluma_prefs_manager_wrap_mode_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -961,7 +961,7 @@ gedit_prefs_manager_wrap_mode_changed (MateConfClient *client, else wrap_mode = get_wrap_mode_from_string (GPM_DEFAULT_WRAP_MODE); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -977,12 +977,12 @@ gedit_prefs_manager_wrap_mode_changed (MateConfClient *client, } static void -gedit_prefs_manager_line_numbers_changed (MateConfClient *client, +pluma_prefs_manager_line_numbers_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -998,7 +998,7 @@ gedit_prefs_manager_line_numbers_changed (MateConfClient *client, else dln = GPM_DEFAULT_DISPLAY_LINE_NUMBERS; - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1014,12 +1014,12 @@ gedit_prefs_manager_line_numbers_changed (MateConfClient *client, } static void -gedit_prefs_manager_hl_current_line_changed (MateConfClient *client, +pluma_prefs_manager_hl_current_line_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1035,7 +1035,7 @@ gedit_prefs_manager_hl_current_line_changed (MateConfClient *client, else hl = GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE; - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1051,12 +1051,12 @@ gedit_prefs_manager_hl_current_line_changed (MateConfClient *client, } static void -gedit_prefs_manager_bracket_matching_changed (MateConfClient *client, +pluma_prefs_manager_bracket_matching_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1072,7 +1072,7 @@ gedit_prefs_manager_bracket_matching_changed (MateConfClient *client, else enable = GPM_DEFAULT_BRACKET_MATCHING; - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) @@ -1088,12 +1088,12 @@ gedit_prefs_manager_bracket_matching_changed (MateConfClient *client, } static void -gedit_prefs_manager_auto_indent_changed (MateConfClient *client, +pluma_prefs_manager_auto_indent_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1109,7 +1109,7 @@ gedit_prefs_manager_auto_indent_changed (MateConfClient *client, else enable = GPM_DEFAULT_AUTO_INDENT; - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1125,12 +1125,12 @@ gedit_prefs_manager_auto_indent_changed (MateConfClient *client, } static void -gedit_prefs_manager_undo_changed (MateConfClient *client, +pluma_prefs_manager_undo_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1148,7 +1148,7 @@ gedit_prefs_manager_undo_changed (MateConfClient *client, ul = CLAMP (ul, -1, 250); - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) @@ -1164,12 +1164,12 @@ gedit_prefs_manager_undo_changed (MateConfClient *client, } static void -gedit_prefs_manager_right_margin_changed (MateConfClient *client, +pluma_prefs_manager_right_margin_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1187,7 +1187,7 @@ gedit_prefs_manager_right_margin_changed (MateConfClient *client, pos = CLAMP (pos, 1, 160); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1211,7 +1211,7 @@ gedit_prefs_manager_right_margin_changed (MateConfClient *client, else display = GPM_DEFAULT_DISPLAY_RIGHT_MARGIN; - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1246,12 +1246,12 @@ get_smart_home_end_from_string (const gchar *str) } static void -gedit_prefs_manager_smart_home_end_changed (MateConfClient *client, +pluma_prefs_manager_smart_home_end_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1268,7 +1268,7 @@ gedit_prefs_manager_smart_home_end_changed (MateConfClient *client, else smart_he = get_smart_home_end_from_string (GPM_DEFAULT_SMART_HOME_END); - views = gedit_app_get_views (gedit_app_get_default ()); + views = pluma_app_get_views (pluma_app_get_default ()); l = views; while (l != NULL) @@ -1284,12 +1284,12 @@ gedit_prefs_manager_smart_home_end_changed (MateConfClient *client, } static void -gedit_prefs_manager_syntax_hl_enable_changed (MateConfClient *client, +pluma_prefs_manager_syntax_hl_enable_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1306,7 +1306,7 @@ gedit_prefs_manager_syntax_hl_enable_changed (MateConfClient *client, else enable = GPM_DEFAULT_SYNTAX_HL_ENABLE; - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) @@ -1322,13 +1322,13 @@ gedit_prefs_manager_syntax_hl_enable_changed (MateConfClient *client, g_list_free (docs); /* update the sensitivity of the Higlight Mode menu item */ - windows = gedit_app_get_windows (gedit_app_get_default ()); + windows = pluma_app_get_windows (pluma_app_get_default ()); while (windows != NULL) { GtkUIManager *ui; GtkAction *a; - ui = gedit_window_get_ui_manager (GEDIT_WINDOW (windows->data)); + ui = pluma_window_get_ui_manager (PLUMA_WINDOW (windows->data)); a = gtk_ui_manager_get_action (ui, "/MenuBar/ViewMenu/ViewHighlightModeMenu"); @@ -1341,12 +1341,12 @@ gedit_prefs_manager_syntax_hl_enable_changed (MateConfClient *client, } static void -gedit_prefs_manager_search_hl_enable_changed (MateConfClient *client, +pluma_prefs_manager_search_hl_enable_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1362,14 +1362,14 @@ gedit_prefs_manager_search_hl_enable_changed (MateConfClient *client, else enable = GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE; - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) { - g_return_if_fail (GEDIT_IS_DOCUMENT (l->data)); + g_return_if_fail (PLUMA_IS_DOCUMENT (l->data)); - gedit_document_set_enable_search_highlighting (GEDIT_DOCUMENT (l->data), + pluma_document_set_enable_search_highlighting (PLUMA_DOCUMENT (l->data), enable); l = l->next; @@ -1380,12 +1380,12 @@ gedit_prefs_manager_search_hl_enable_changed (MateConfClient *client, } static void -gedit_prefs_manager_source_style_scheme_changed (MateConfClient *client, +pluma_prefs_manager_source_style_scheme_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1410,7 +1410,7 @@ gedit_prefs_manager_source_style_scheme_changed (MateConfClient *client, old_scheme = g_strdup (scheme); style = gtk_source_style_scheme_manager_get_scheme ( - gedit_get_style_scheme_manager (), + pluma_get_style_scheme_manager (), scheme); if (style == NULL) @@ -1418,7 +1418,7 @@ gedit_prefs_manager_source_style_scheme_changed (MateConfClient *client, g_warning ("Default style scheme '%s' not found, falling back to 'classic'", scheme); style = gtk_source_style_scheme_manager_get_scheme ( - gedit_get_style_scheme_manager (), + pluma_get_style_scheme_manager (), "classic"); if (style == NULL) @@ -1428,7 +1428,7 @@ gedit_prefs_manager_source_style_scheme_changed (MateConfClient *client, } } - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); for (l = docs; l != NULL; l = l->next) { g_return_if_fail (GTK_IS_SOURCE_BUFFER (l->data)); @@ -1442,12 +1442,12 @@ gedit_prefs_manager_source_style_scheme_changed (MateConfClient *client, } static void -gedit_prefs_manager_max_recents_changed (MateConfClient *client, +pluma_prefs_manager_max_recents_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1467,10 +1467,10 @@ gedit_prefs_manager_max_recents_changed (MateConfClient *client, else max = GPM_DEFAULT_MAX_RECENTS; - windows = gedit_app_get_windows (gedit_app_get_default ()); + windows = pluma_app_get_windows (pluma_app_get_default ()); while (windows != NULL) { - GeditWindow *w = windows->data; + PlumaWindow *w = windows->data; gtk_recent_chooser_set_limit (GTK_RECENT_CHOOSER (w->priv->toolbar_recent_menu), max); @@ -1484,7 +1484,7 @@ gedit_prefs_manager_max_recents_changed (MateConfClient *client, } static void -gedit_prefs_manager_auto_save_changed (MateConfClient *client, +pluma_prefs_manager_auto_save_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) @@ -1492,7 +1492,7 @@ gedit_prefs_manager_auto_save_changed (MateConfClient *client, GList *docs; GList *l; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1506,15 +1506,15 @@ gedit_prefs_manager_auto_save_changed (MateConfClient *client, else auto_save = GPM_DEFAULT_AUTO_SAVE; - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) { - GeditDocument *doc = GEDIT_DOCUMENT (l->data); - GeditTab *tab = gedit_tab_get_from_document (doc); + PlumaDocument *doc = PLUMA_DOCUMENT (l->data); + PlumaTab *tab = pluma_tab_get_from_document (doc); - gedit_tab_set_auto_save_enabled (tab, auto_save); + pluma_tab_set_auto_save_enabled (tab, auto_save); l = l->next; } @@ -1535,15 +1535,15 @@ gedit_prefs_manager_auto_save_changed (MateConfClient *client, else auto_save_interval = GPM_DEFAULT_AUTO_SAVE_INTERVAL; - docs = gedit_app_get_documents (gedit_app_get_default ()); + docs = pluma_app_get_documents (pluma_app_get_default ()); l = docs; while (l != NULL) { - GeditDocument *doc = GEDIT_DOCUMENT (l->data); - GeditTab *tab = gedit_tab_get_from_document (doc); + PlumaDocument *doc = PLUMA_DOCUMENT (l->data); + PlumaTab *tab = pluma_tab_get_from_document (doc); - gedit_tab_set_auto_save_interval (tab, auto_save_interval); + pluma_tab_set_auto_save_interval (tab, auto_save_interval); l = l->next; } @@ -1553,12 +1553,12 @@ gedit_prefs_manager_auto_save_changed (MateConfClient *client, } static void -gedit_prefs_manager_active_plugins_changed (MateConfClient *client, +pluma_prefs_manager_active_plugins_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1568,25 +1568,25 @@ gedit_prefs_manager_active_plugins_changed (MateConfClient *client, if ((entry->value->type == MATECONF_VALUE_LIST) && (mateconf_value_get_list_type (entry->value) == MATECONF_VALUE_STRING)) { - GeditPluginsEngine *engine; + PlumaPluginsEngine *engine; - engine = gedit_plugins_engine_get_default (); + engine = pluma_plugins_engine_get_default (); - gedit_plugins_engine_active_plugins_changed (engine); + pluma_plugins_engine_active_plugins_changed (engine); } } } static void -gedit_prefs_manager_lockdown_changed (MateConfClient *client, +pluma_prefs_manager_lockdown_changed (MateConfClient *client, guint cnxn_id, MateConfEntry *entry, gpointer user_data) { - GeditApp *app; + PlumaApp *app; gboolean locked; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (entry->key != NULL); g_return_if_fail (entry->value != NULL); @@ -1596,25 +1596,25 @@ gedit_prefs_manager_lockdown_changed (MateConfClient *client, else locked = FALSE; - app = gedit_app_get_default (); + app = pluma_app_get_default (); if (strcmp (entry->key, GPM_LOCKDOWN_COMMAND_LINE) == 0) - _gedit_app_set_lockdown_bit (app, - GEDIT_LOCKDOWN_COMMAND_LINE, + _pluma_app_set_lockdown_bit (app, + PLUMA_LOCKDOWN_COMMAND_LINE, locked); else if (strcmp (entry->key, GPM_LOCKDOWN_PRINTING) == 0) - _gedit_app_set_lockdown_bit (app, - GEDIT_LOCKDOWN_PRINTING, + _pluma_app_set_lockdown_bit (app, + PLUMA_LOCKDOWN_PRINTING, locked); else if (strcmp (entry->key, GPM_LOCKDOWN_PRINT_SETUP) == 0) - _gedit_app_set_lockdown_bit (app, - GEDIT_LOCKDOWN_PRINT_SETUP, + _pluma_app_set_lockdown_bit (app, + PLUMA_LOCKDOWN_PRINT_SETUP, locked); else if (strcmp (entry->key, GPM_LOCKDOWN_SAVE_TO_DISK) == 0) - _gedit_app_set_lockdown_bit (app, - GEDIT_LOCKDOWN_SAVE_TO_DISK, + _pluma_app_set_lockdown_bit (app, + PLUMA_LOCKDOWN_SAVE_TO_DISK, locked); } diff --git a/pluma/pluma-prefs-manager-app.h b/pluma/pluma-prefs-manager-app.h new file mode 100755 index 0000000..059580e --- /dev/null +++ b/pluma/pluma-prefs-manager-app.h @@ -0,0 +1,84 @@ +/* + * pluma-prefs-manager-app.h + * This file is part of pluma + * + * Copyright (C) 2002-2005 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + * + */ + +#ifndef __PLUMA_PREFS_MANAGER_APP_H__ +#define __PLUMA_PREFS_MANAGER_APP_H__ + +#include +#include + +/** LIFE CYCLE MANAGEMENT FUNCTIONS **/ + +gboolean pluma_prefs_manager_app_init (void); + +/* This function must be called before exiting pluma */ +void pluma_prefs_manager_app_shutdown (void); + + +/* Window state */ +gint pluma_prefs_manager_get_window_state (void); +void pluma_prefs_manager_set_window_state (gint ws); +gboolean pluma_prefs_manager_window_state_can_set (void); + +/* Window size */ +void pluma_prefs_manager_get_window_size (gint *width, + gint *height); +void pluma_prefs_manager_get_default_window_size (gint *width, + gint *height); +void pluma_prefs_manager_set_window_size (gint width, + gint height); +gboolean pluma_prefs_manager_window_size_can_set (void); + +/* Side panel */ +gint pluma_prefs_manager_get_side_panel_size (void); +gint pluma_prefs_manager_get_default_side_panel_size(void); +void pluma_prefs_manager_set_side_panel_size (gint ps); +gboolean pluma_prefs_manager_side_panel_size_can_set (void); +gint pluma_prefs_manager_get_side_panel_active_page (void); +void pluma_prefs_manager_set_side_panel_active_page (gint id); +gboolean pluma_prefs_manager_side_panel_active_page_can_set (void); + +/* Bottom panel */ +gint pluma_prefs_manager_get_bottom_panel_size (void); +gint pluma_prefs_manager_get_default_bottom_panel_size(void); +void pluma_prefs_manager_set_bottom_panel_size (gint ps); +gboolean pluma_prefs_manager_bottom_panel_size_can_set (void); +gint pluma_prefs_manager_get_bottom_panel_active_page (void); +void pluma_prefs_manager_set_bottom_panel_active_page (gint id); +gboolean pluma_prefs_manager_bottom_panel_active_page_can_set (void); + +/* File filter */ +gint pluma_prefs_manager_get_active_file_filter (void); +void pluma_prefs_manager_set_active_file_filter (gint id); +gboolean pluma_prefs_manager_active_file_filter_can_set (void); + + +#endif /* __PLUMA_PREFS_MANAGER_APP_H__ */ diff --git a/gedit/gedit-prefs-manager-private.h b/pluma/pluma-prefs-manager-private.h similarity index 69% rename from gedit/gedit-prefs-manager-private.h rename to pluma/pluma-prefs-manager-private.h index 7a8e94a..3b1cd89 100755 --- a/gedit/gedit-prefs-manager-private.h +++ b/pluma/pluma-prefs-manager-private.h @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-prefs-manager-private.h - * This file is part of gedit + * pluma-prefs-manager-private.h + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,24 +22,24 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ -#ifndef __GEDIT_PREFS_MANAGER_PRIVATE_H__ -#define __GEDIT_PREFS_MANAGER_PRIVATE_H__ +#ifndef __PLUMA_PREFS_MANAGER_PRIVATE_H__ +#define __PLUMA_PREFS_MANAGER_PRIVATE_H__ #include -typedef struct _GeditPrefsManager GeditPrefsManager; +typedef struct _PlumaPrefsManager PlumaPrefsManager; -struct _GeditPrefsManager { +struct _PlumaPrefsManager { MateConfClient *mateconf_client; }; -extern GeditPrefsManager *gedit_prefs_manager; +extern PlumaPrefsManager *pluma_prefs_manager; -#endif /* __GEDIT_PREFS_MANAGER_PRIVATE_H__ */ +#endif /* __PLUMA_PREFS_MANAGER_PRIVATE_H__ */ diff --git a/gedit/gedit-prefs-manager.c b/pluma/pluma-prefs-manager.c similarity index 64% rename from gedit/gedit-prefs-manager.c rename to pluma/pluma-prefs-manager.c index c606e74..1f15e3a 100755 --- a/gedit/gedit-prefs-manager.c +++ b/pluma/pluma-prefs-manager.c @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-prefs-manager.c - * This file is part of gedit + * pluma-prefs-manager.c + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,8 +22,8 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -36,96 +36,96 @@ #include #include -#include "gedit-prefs-manager.h" -#include "gedit-prefs-manager-private.h" -#include "gedit-debug.h" -#include "gedit-encodings.h" -#include "gedit-utils.h" +#include "pluma-prefs-manager.h" +#include "pluma-prefs-manager-private.h" +#include "pluma-debug.h" +#include "pluma-encodings.h" +#include "pluma-utils.h" #define DEFINE_BOOL_PREF(name, key, def) gboolean \ -gedit_prefs_manager_get_ ## name (void) \ +pluma_prefs_manager_get_ ## name (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_get_bool (key, \ + return pluma_prefs_manager_get_bool (key, \ (def)); \ } \ \ void \ -gedit_prefs_manager_set_ ## name (gboolean v) \ +pluma_prefs_manager_set_ ## name (gboolean v) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - gedit_prefs_manager_set_bool (key, \ + pluma_prefs_manager_set_bool (key, \ v); \ } \ \ gboolean \ -gedit_prefs_manager_ ## name ## _can_set (void) \ +pluma_prefs_manager_ ## name ## _can_set (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_key_is_writable (key); \ + return pluma_prefs_manager_key_is_writable (key); \ } #define DEFINE_INT_PREF(name, key, def) gint \ -gedit_prefs_manager_get_ ## name (void) \ +pluma_prefs_manager_get_ ## name (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_get_int (key, \ + return pluma_prefs_manager_get_int (key, \ (def)); \ } \ \ void \ -gedit_prefs_manager_set_ ## name (gint v) \ +pluma_prefs_manager_set_ ## name (gint v) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - gedit_prefs_manager_set_int (key, \ + pluma_prefs_manager_set_int (key, \ v); \ } \ \ gboolean \ -gedit_prefs_manager_ ## name ## _can_set (void) \ +pluma_prefs_manager_ ## name ## _can_set (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_key_is_writable (key); \ + return pluma_prefs_manager_key_is_writable (key); \ } #define DEFINE_STRING_PREF(name, key, def) gchar* \ -gedit_prefs_manager_get_ ## name (void) \ +pluma_prefs_manager_get_ ## name (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_get_string (key, \ + return pluma_prefs_manager_get_string (key, \ def); \ } \ \ void \ -gedit_prefs_manager_set_ ## name (const gchar* v) \ +pluma_prefs_manager_set_ ## name (const gchar* v) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - gedit_prefs_manager_set_string (key, \ + pluma_prefs_manager_set_string (key, \ v); \ } \ \ gboolean \ -gedit_prefs_manager_ ## name ## _can_set (void) \ +pluma_prefs_manager_ ## name ## _can_set (void) \ { \ - gedit_debug (DEBUG_PREFS); \ + pluma_debug (DEBUG_PREFS); \ \ - return gedit_prefs_manager_key_is_writable (key); \ + return pluma_prefs_manager_key_is_writable (key); \ } -GeditPrefsManager *gedit_prefs_manager = NULL; +PlumaPrefsManager *pluma_prefs_manager = NULL; static GtkWrapMode get_wrap_mode_from_string (const gchar* str); @@ -145,22 +145,22 @@ static gint mateconf_client_get_int_with_default (MateConfClient* client, gint def, GError** err); -static gboolean gedit_prefs_manager_get_bool (const gchar* key, +static gboolean pluma_prefs_manager_get_bool (const gchar* key, gboolean def); -static gint gedit_prefs_manager_get_int (const gchar* key, +static gint pluma_prefs_manager_get_int (const gchar* key, gint def); -static gchar *gedit_prefs_manager_get_string (const gchar* key, +static gchar *pluma_prefs_manager_get_string (const gchar* key, const gchar* def); gboolean -gedit_prefs_manager_init (void) +pluma_prefs_manager_init (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - if (gedit_prefs_manager == NULL) + if (pluma_prefs_manager == NULL) { MateConfClient *mateconf_client; @@ -171,126 +171,126 @@ gedit_prefs_manager_init (void) return FALSE; } - gedit_prefs_manager = g_new0 (GeditPrefsManager, 1); + pluma_prefs_manager = g_new0 (PlumaPrefsManager, 1); - gedit_prefs_manager->mateconf_client = mateconf_client; + pluma_prefs_manager->mateconf_client = mateconf_client; } - if (gedit_prefs_manager->mateconf_client == NULL) + if (pluma_prefs_manager->mateconf_client == NULL) { - g_free (gedit_prefs_manager); - gedit_prefs_manager = NULL; + g_free (pluma_prefs_manager); + pluma_prefs_manager = NULL; } - return gedit_prefs_manager != NULL; + return pluma_prefs_manager != NULL; } void -gedit_prefs_manager_shutdown (void) +pluma_prefs_manager_shutdown (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_if_fail (gedit_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager != NULL); - g_object_unref (gedit_prefs_manager->mateconf_client); - gedit_prefs_manager->mateconf_client = NULL; + g_object_unref (pluma_prefs_manager->mateconf_client); + pluma_prefs_manager->mateconf_client = NULL; } static gboolean -gedit_prefs_manager_get_bool (const gchar* key, gboolean def) +pluma_prefs_manager_get_bool (const gchar* key, gboolean def) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, def); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, def); + g_return_val_if_fail (pluma_prefs_manager != NULL, def); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, def); - return mateconf_client_get_bool_with_default (gedit_prefs_manager->mateconf_client, + return mateconf_client_get_bool_with_default (pluma_prefs_manager->mateconf_client, key, def, NULL); } static gint -gedit_prefs_manager_get_int (const gchar* key, gint def) +pluma_prefs_manager_get_int (const gchar* key, gint def) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, def); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, def); + g_return_val_if_fail (pluma_prefs_manager != NULL, def); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, def); - return mateconf_client_get_int_with_default (gedit_prefs_manager->mateconf_client, + return mateconf_client_get_int_with_default (pluma_prefs_manager->mateconf_client, key, def, NULL); } static gchar * -gedit_prefs_manager_get_string (const gchar* key, const gchar* def) +pluma_prefs_manager_get_string (const gchar* key, const gchar* def) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, + g_return_val_if_fail (pluma_prefs_manager != NULL, def ? g_strdup (def) : NULL); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, def ? g_strdup (def) : NULL); - return mateconf_client_get_string_with_default (gedit_prefs_manager->mateconf_client, + return mateconf_client_get_string_with_default (pluma_prefs_manager->mateconf_client, key, def, NULL); } static void -gedit_prefs_manager_set_bool (const gchar* key, gboolean value) +pluma_prefs_manager_set_bool (const gchar* key, gboolean value) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_if_fail (gedit_prefs_manager != NULL); - g_return_if_fail (gedit_prefs_manager->mateconf_client != NULL); + g_return_if_fail (pluma_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager->mateconf_client != NULL); g_return_if_fail (mateconf_client_key_is_writable ( - gedit_prefs_manager->mateconf_client, key, NULL)); + pluma_prefs_manager->mateconf_client, key, NULL)); - mateconf_client_set_bool (gedit_prefs_manager->mateconf_client, key, value, NULL); + mateconf_client_set_bool (pluma_prefs_manager->mateconf_client, key, value, NULL); } static void -gedit_prefs_manager_set_int (const gchar* key, gint value) +pluma_prefs_manager_set_int (const gchar* key, gint value) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_if_fail (gedit_prefs_manager != NULL); - g_return_if_fail (gedit_prefs_manager->mateconf_client != NULL); + g_return_if_fail (pluma_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager->mateconf_client != NULL); g_return_if_fail (mateconf_client_key_is_writable ( - gedit_prefs_manager->mateconf_client, key, NULL)); + pluma_prefs_manager->mateconf_client, key, NULL)); - mateconf_client_set_int (gedit_prefs_manager->mateconf_client, key, value, NULL); + mateconf_client_set_int (pluma_prefs_manager->mateconf_client, key, value, NULL); } static void -gedit_prefs_manager_set_string (const gchar* key, const gchar* value) +pluma_prefs_manager_set_string (const gchar* key, const gchar* value) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); g_return_if_fail (value != NULL); - g_return_if_fail (gedit_prefs_manager != NULL); - g_return_if_fail (gedit_prefs_manager->mateconf_client != NULL); + g_return_if_fail (pluma_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager->mateconf_client != NULL); g_return_if_fail (mateconf_client_key_is_writable ( - gedit_prefs_manager->mateconf_client, key, NULL)); + pluma_prefs_manager->mateconf_client, key, NULL)); - mateconf_client_set_string (gedit_prefs_manager->mateconf_client, key, value, NULL); + mateconf_client_set_string (pluma_prefs_manager->mateconf_client, key, value, NULL); } static gboolean -gedit_prefs_manager_key_is_writable (const gchar* key) +pluma_prefs_manager_key_is_writable (const gchar* key) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, FALSE); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, FALSE); + g_return_val_if_fail (pluma_prefs_manager != NULL, FALSE); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, FALSE); - return mateconf_client_key_is_writable (gedit_prefs_manager->mateconf_client, key, NULL); + return mateconf_client_key_is_writable (pluma_prefs_manager->mateconf_client, key, NULL); } /* Use default font */ @@ -305,11 +305,11 @@ DEFINE_STRING_PREF (editor_font, /* System font */ gchar * -gedit_prefs_manager_get_system_font (void) +pluma_prefs_manager_get_system_font (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_get_string (GPM_SYSTEM_FONT, + return pluma_prefs_manager_get_string (GPM_SYSTEM_FONT, GPM_DEFAULT_SYSTEM_FONT); } @@ -356,14 +356,14 @@ get_wrap_mode_from_string (const gchar* str) /* Wrap mode */ GtkWrapMode -gedit_prefs_manager_get_wrap_mode (void) +pluma_prefs_manager_get_wrap_mode (void) { gchar *str; GtkWrapMode res; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - str = gedit_prefs_manager_get_string (GPM_WRAP_MODE, + str = pluma_prefs_manager_get_string (GPM_WRAP_MODE, GPM_DEFAULT_WRAP_MODE); res = get_wrap_mode_from_string (str); @@ -374,11 +374,11 @@ gedit_prefs_manager_get_wrap_mode (void) } void -gedit_prefs_manager_set_wrap_mode (GtkWrapMode wp) +pluma_prefs_manager_set_wrap_mode (GtkWrapMode wp) { const gchar * str; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); switch (wp) { @@ -394,16 +394,16 @@ gedit_prefs_manager_set_wrap_mode (GtkWrapMode wp) str = "GTK_WRAP_WORD"; } - gedit_prefs_manager_set_string (GPM_WRAP_MODE, + pluma_prefs_manager_set_string (GPM_WRAP_MODE, str); } gboolean -gedit_prefs_manager_wrap_mode_can_set (void) +pluma_prefs_manager_wrap_mode_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_WRAP_MODE); + return pluma_prefs_manager_key_is_writable (GPM_WRAP_MODE); } @@ -434,29 +434,29 @@ DEFINE_BOOL_PREF (toolbar_visible, /* Toolbar suttons style */ -GeditToolbarSetting -gedit_prefs_manager_get_toolbar_buttons_style (void) +PlumaToolbarSetting +pluma_prefs_manager_get_toolbar_buttons_style (void) { gchar *str; - GeditToolbarSetting res; + PlumaToolbarSetting res; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - str = gedit_prefs_manager_get_string (GPM_TOOLBAR_BUTTONS_STYLE, + str = pluma_prefs_manager_get_string (GPM_TOOLBAR_BUTTONS_STYLE, GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE); - if (strcmp (str, "GEDIT_TOOLBAR_ICONS") == 0) - res = GEDIT_TOOLBAR_ICONS; + if (strcmp (str, "PLUMA_TOOLBAR_ICONS") == 0) + res = PLUMA_TOOLBAR_ICONS; else { - if (strcmp (str, "GEDIT_TOOLBAR_ICONS_AND_TEXT") == 0) - res = GEDIT_TOOLBAR_ICONS_AND_TEXT; + if (strcmp (str, "PLUMA_TOOLBAR_ICONS_AND_TEXT") == 0) + res = PLUMA_TOOLBAR_ICONS_AND_TEXT; else { - if (strcmp (str, "GEDIT_TOOLBAR_ICONS_BOTH_HORIZ") == 0) - res = GEDIT_TOOLBAR_ICONS_BOTH_HORIZ; + if (strcmp (str, "PLUMA_TOOLBAR_ICONS_BOTH_HORIZ") == 0) + res = PLUMA_TOOLBAR_ICONS_BOTH_HORIZ; else - res = GEDIT_TOOLBAR_SYSTEM; + res = PLUMA_TOOLBAR_SYSTEM; } } @@ -466,40 +466,40 @@ gedit_prefs_manager_get_toolbar_buttons_style (void) } void -gedit_prefs_manager_set_toolbar_buttons_style (GeditToolbarSetting tbs) +pluma_prefs_manager_set_toolbar_buttons_style (PlumaToolbarSetting tbs) { const gchar * str; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); switch (tbs) { - case GEDIT_TOOLBAR_ICONS: - str = "GEDIT_TOOLBAR_ICONS"; + case PLUMA_TOOLBAR_ICONS: + str = "PLUMA_TOOLBAR_ICONS"; break; - case GEDIT_TOOLBAR_ICONS_AND_TEXT: - str = "GEDIT_TOOLBAR_ICONS_AND_TEXT"; + case PLUMA_TOOLBAR_ICONS_AND_TEXT: + str = "PLUMA_TOOLBAR_ICONS_AND_TEXT"; break; - case GEDIT_TOOLBAR_ICONS_BOTH_HORIZ: - str = "GEDIT_TOOLBAR_ICONS_BOTH_HORIZ"; + case PLUMA_TOOLBAR_ICONS_BOTH_HORIZ: + str = "PLUMA_TOOLBAR_ICONS_BOTH_HORIZ"; break; - default: /* GEDIT_TOOLBAR_SYSTEM */ - str = "GEDIT_TOOLBAR_SYSTEM"; + default: /* PLUMA_TOOLBAR_SYSTEM */ + str = "PLUMA_TOOLBAR_SYSTEM"; } - gedit_prefs_manager_set_string (GPM_TOOLBAR_BUTTONS_STYLE, + pluma_prefs_manager_set_string (GPM_TOOLBAR_BUTTONS_STYLE, str); } gboolean -gedit_prefs_manager_toolbar_buttons_style_can_set (void) +pluma_prefs_manager_toolbar_buttons_style_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_TOOLBAR_BUTTONS_STYLE); + return pluma_prefs_manager_key_is_writable (GPM_TOOLBAR_BUTTONS_STYLE); } @@ -531,14 +531,14 @@ DEFINE_BOOL_PREF (print_header, /* Print Wrap mode */ GtkWrapMode -gedit_prefs_manager_get_print_wrap_mode (void) +pluma_prefs_manager_get_print_wrap_mode (void) { gchar *str; GtkWrapMode res; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - str = gedit_prefs_manager_get_string (GPM_PRINT_WRAP_MODE, + str = pluma_prefs_manager_get_string (GPM_PRINT_WRAP_MODE, GPM_DEFAULT_PRINT_WRAP_MODE); if (strcmp (str, "GTK_WRAP_NONE") == 0) @@ -557,11 +557,11 @@ gedit_prefs_manager_get_print_wrap_mode (void) } void -gedit_prefs_manager_set_print_wrap_mode (GtkWrapMode pwp) +pluma_prefs_manager_set_print_wrap_mode (GtkWrapMode pwp) { const gchar *str; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); switch (pwp) { @@ -577,15 +577,15 @@ gedit_prefs_manager_set_print_wrap_mode (GtkWrapMode pwp) str = "GTK_WRAP_CHAR"; } - gedit_prefs_manager_set_string (GPM_PRINT_WRAP_MODE, str); + pluma_prefs_manager_set_string (GPM_PRINT_WRAP_MODE, str); } gboolean -gedit_prefs_manager_print_wrap_mode_can_set (void) +pluma_prefs_manager_print_wrap_mode_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_PRINT_WRAP_MODE); + return pluma_prefs_manager_key_is_writable (GPM_PRINT_WRAP_MODE); } /* Print line numbers */ @@ -599,7 +599,7 @@ DEFINE_STRING_PREF (print_font_body, GPM_DEFAULT_PRINT_FONT_BODY) const gchar * -gedit_prefs_manager_get_default_print_font_body (void) +pluma_prefs_manager_get_default_print_font_body (void) { return GPM_DEFAULT_PRINT_FONT_BODY; } @@ -609,7 +609,7 @@ DEFINE_STRING_PREF (print_font_header, GPM_DEFAULT_PRINT_FONT_HEADER) const gchar * -gedit_prefs_manager_get_default_print_font_header (void) +pluma_prefs_manager_get_default_print_font_header (void) { return GPM_DEFAULT_PRINT_FONT_HEADER; } @@ -619,7 +619,7 @@ DEFINE_STRING_PREF (print_font_numbers, GPM_DEFAULT_PRINT_FONT_NUMBERS) const gchar * -gedit_prefs_manager_get_default_print_font_numbers (void) +pluma_prefs_manager_get_default_print_font_numbers (void) { return GPM_DEFAULT_PRINT_FONT_NUMBERS; } @@ -628,11 +628,11 @@ gedit_prefs_manager_get_default_print_font_numbers (void) * This is configurable only using mateconftool or mateconf-editor */ gint -gedit_prefs_manager_get_max_recents (void) +pluma_prefs_manager_get_max_recents (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_get_int (GPM_MAX_RECENTS, + return pluma_prefs_manager_get_int (GPM_MAX_RECENTS, GPM_DEFAULT_MAX_RECENTS); } @@ -655,17 +655,17 @@ data_exists (GSList *list, } GSList * -gedit_prefs_manager_get_auto_detected_encodings (void) +pluma_prefs_manager_get_auto_detected_encodings (void) { GSList *strings; GSList *res = NULL; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, NULL); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, NULL); - strings = mateconf_client_get_list (gedit_prefs_manager->mateconf_client, + strings = mateconf_client_get_list (pluma_prefs_manager->mateconf_client, GPM_AUTO_DETECTED_ENCODINGS, MATECONF_VALUE_STRING, NULL); @@ -689,7 +689,7 @@ gedit_prefs_manager_get_auto_detected_encodings (void) if (strings != NULL) { GSList *tmp; - const GeditEncoding *enc; + const PlumaEncoding *enc; tmp = strings; @@ -701,7 +701,7 @@ gedit_prefs_manager_get_auto_detected_encodings (void) g_get_charset (&charset); g_return_val_if_fail (charset != NULL, NULL); - enc = gedit_encoding_get_from_charset (charset); + enc = pluma_encoding_get_from_charset (charset); if (enc != NULL) { @@ -719,23 +719,23 @@ gedit_prefs_manager_get_auto_detected_encodings (void) res = g_slist_reverse (res); } - gedit_debug_message (DEBUG_PREFS, "Done"); + pluma_debug_message (DEBUG_PREFS, "Done"); return res; } GSList * -gedit_prefs_manager_get_shown_in_menu_encodings (void) +pluma_prefs_manager_get_shown_in_menu_encodings (void) { GSList *strings; GSList *res = NULL; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, NULL); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, NULL); - strings = mateconf_client_get_list (gedit_prefs_manager->mateconf_client, + strings = mateconf_client_get_list (pluma_prefs_manager->mateconf_client, GPM_SHOWN_IN_MENU_ENCODINGS, MATECONF_VALUE_STRING, NULL); @@ -743,7 +743,7 @@ gedit_prefs_manager_get_shown_in_menu_encodings (void) if (strings != NULL) { GSList *tmp; - const GeditEncoding *enc; + const PlumaEncoding *enc; tmp = strings; @@ -755,7 +755,7 @@ gedit_prefs_manager_get_shown_in_menu_encodings (void) g_get_charset (&charset); g_return_val_if_fail (charset != NULL, NULL); - enc = gedit_encoding_get_from_charset (charset); + enc = pluma_encoding_get_from_charset (charset); if (enc != NULL) { @@ -776,22 +776,22 @@ gedit_prefs_manager_get_shown_in_menu_encodings (void) } void -gedit_prefs_manager_set_shown_in_menu_encodings (const GSList *encs) +pluma_prefs_manager_set_shown_in_menu_encodings (const GSList *encs) { GSList *list = NULL; - g_return_if_fail (gedit_prefs_manager != NULL); - g_return_if_fail (gedit_prefs_manager->mateconf_client != NULL); - g_return_if_fail (gedit_prefs_manager_shown_in_menu_encodings_can_set ()); + g_return_if_fail (pluma_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager->mateconf_client != NULL); + g_return_if_fail (pluma_prefs_manager_shown_in_menu_encodings_can_set ()); while (encs != NULL) { - const GeditEncoding *enc; + const PlumaEncoding *enc; const gchar *charset; - enc = (const GeditEncoding *)encs->data; + enc = (const PlumaEncoding *)encs->data; - charset = gedit_encoding_get_charset (enc); + charset = pluma_encoding_get_charset (enc); g_return_if_fail (charset != NULL); list = g_slist_prepend (list, (gpointer)charset); @@ -801,7 +801,7 @@ gedit_prefs_manager_set_shown_in_menu_encodings (const GSList *encs) list = g_slist_reverse (list); - mateconf_client_set_list (gedit_prefs_manager->mateconf_client, + mateconf_client_set_list (pluma_prefs_manager->mateconf_client, GPM_SHOWN_IN_MENU_ENCODINGS, MATECONF_VALUE_STRING, list, @@ -811,11 +811,11 @@ gedit_prefs_manager_set_shown_in_menu_encodings (const GSList *encs) } gboolean -gedit_prefs_manager_shown_in_menu_encodings_can_set (void) +pluma_prefs_manager_shown_in_menu_encodings_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_SHOWN_IN_MENU_ENCODINGS); + return pluma_prefs_manager_key_is_writable (GPM_SHOWN_IN_MENU_ENCODINGS); } @@ -859,14 +859,14 @@ get_smart_home_end_from_string (const gchar *str) } GtkSourceSmartHomeEndType -gedit_prefs_manager_get_smart_home_end (void) +pluma_prefs_manager_get_smart_home_end (void) { gchar *str; GtkSourceSmartHomeEndType res; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - str = gedit_prefs_manager_get_string (GPM_SMART_HOME_END, + str = pluma_prefs_manager_get_string (GPM_SMART_HOME_END, GPM_DEFAULT_SMART_HOME_END); res = get_smart_home_end_from_string (str); @@ -877,11 +877,11 @@ gedit_prefs_manager_get_smart_home_end (void) } void -gedit_prefs_manager_set_smart_home_end (GtkSourceSmartHomeEndType smart_he) +pluma_prefs_manager_set_smart_home_end (GtkSourceSmartHomeEndType smart_he) { const gchar *str; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); switch (smart_he) { @@ -901,15 +901,15 @@ gedit_prefs_manager_set_smart_home_end (GtkSourceSmartHomeEndType smart_he) str = "AFTER"; } - gedit_prefs_manager_set_string (GPM_WRAP_MODE, str); + pluma_prefs_manager_set_string (GPM_WRAP_MODE, str); } gboolean -gedit_prefs_manager_smart_home_end_can_set (void) +pluma_prefs_manager_smart_home_end_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_SMART_HOME_END); + return pluma_prefs_manager_key_is_writable (GPM_SMART_HOME_END); } /* Enable syntax highlighting */ @@ -928,16 +928,16 @@ DEFINE_STRING_PREF (source_style_scheme, GPM_DEFAULT_SOURCE_STYLE_SCHEME) GSList * -gedit_prefs_manager_get_writable_vfs_schemes (void) +pluma_prefs_manager_get_writable_vfs_schemes (void) { GSList *strings; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, NULL); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, NULL); - strings = mateconf_client_get_list (gedit_prefs_manager->mateconf_client, + strings = mateconf_client_get_list (pluma_prefs_manager->mateconf_client, GPM_WRITABLE_VFS_SCHEMES, MATECONF_VALUE_STRING, NULL); @@ -960,17 +960,17 @@ gedit_prefs_manager_get_writable_vfs_schemes (void) /* The 'file' scheme is writable by default. */ strings = g_slist_prepend (strings, g_strdup ("file")); - gedit_debug_message (DEBUG_PREFS, "Done"); + pluma_debug_message (DEBUG_PREFS, "Done"); return strings; } gboolean -gedit_prefs_manager_get_restore_cursor_position (void) +pluma_prefs_manager_get_restore_cursor_position (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_get_bool (GPM_RESTORE_CURSOR_POSITION, + return pluma_prefs_manager_get_bool (GPM_RESTORE_CURSOR_POSITION, GPM_DEFAULT_RESTORE_CURSOR_POSITION); } @@ -978,16 +978,16 @@ gedit_prefs_manager_get_restore_cursor_position (void) * happen in the plugin engine */ GSList * -gedit_prefs_manager_get_active_plugins (void) +pluma_prefs_manager_get_active_plugins (void) { GSList *plugins; - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - g_return_val_if_fail (gedit_prefs_manager != NULL, NULL); - g_return_val_if_fail (gedit_prefs_manager->mateconf_client != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager != NULL, NULL); + g_return_val_if_fail (pluma_prefs_manager->mateconf_client != NULL, NULL); - plugins = mateconf_client_get_list (gedit_prefs_manager->mateconf_client, + plugins = mateconf_client_get_list (pluma_prefs_manager->mateconf_client, GPM_ACTIVE_PLUGINS, MATECONF_VALUE_STRING, NULL); @@ -996,13 +996,13 @@ gedit_prefs_manager_get_active_plugins (void) } void -gedit_prefs_manager_set_active_plugins (const GSList *plugins) +pluma_prefs_manager_set_active_plugins (const GSList *plugins) { - g_return_if_fail (gedit_prefs_manager != NULL); - g_return_if_fail (gedit_prefs_manager->mateconf_client != NULL); - g_return_if_fail (gedit_prefs_manager_active_plugins_can_set ()); + g_return_if_fail (pluma_prefs_manager != NULL); + g_return_if_fail (pluma_prefs_manager->mateconf_client != NULL); + g_return_if_fail (pluma_prefs_manager_active_plugins_can_set ()); - mateconf_client_set_list (gedit_prefs_manager->mateconf_client, + mateconf_client_set_list (pluma_prefs_manager->mateconf_client, GPM_ACTIVE_PLUGINS, MATECONF_VALUE_STRING, (GSList *) plugins, @@ -1010,31 +1010,31 @@ gedit_prefs_manager_set_active_plugins (const GSList *plugins) } gboolean -gedit_prefs_manager_active_plugins_can_set (void) +pluma_prefs_manager_active_plugins_can_set (void) { - gedit_debug (DEBUG_PREFS); + pluma_debug (DEBUG_PREFS); - return gedit_prefs_manager_key_is_writable (GPM_ACTIVE_PLUGINS); + return pluma_prefs_manager_key_is_writable (GPM_ACTIVE_PLUGINS); } /* Global Lockdown */ -GeditLockdownMask -gedit_prefs_manager_get_lockdown (void) +PlumaLockdownMask +pluma_prefs_manager_get_lockdown (void) { guint lockdown = 0; - if (gedit_prefs_manager_get_bool (GPM_LOCKDOWN_COMMAND_LINE, FALSE)) - lockdown |= GEDIT_LOCKDOWN_COMMAND_LINE; + if (pluma_prefs_manager_get_bool (GPM_LOCKDOWN_COMMAND_LINE, FALSE)) + lockdown |= PLUMA_LOCKDOWN_COMMAND_LINE; - if (gedit_prefs_manager_get_bool (GPM_LOCKDOWN_PRINTING, FALSE)) - lockdown |= GEDIT_LOCKDOWN_PRINTING; + if (pluma_prefs_manager_get_bool (GPM_LOCKDOWN_PRINTING, FALSE)) + lockdown |= PLUMA_LOCKDOWN_PRINTING; - if (gedit_prefs_manager_get_bool (GPM_LOCKDOWN_PRINT_SETUP, FALSE)) - lockdown |= GEDIT_LOCKDOWN_PRINT_SETUP; + if (pluma_prefs_manager_get_bool (GPM_LOCKDOWN_PRINT_SETUP, FALSE)) + lockdown |= PLUMA_LOCKDOWN_PRINT_SETUP; - if (gedit_prefs_manager_get_bool (GPM_LOCKDOWN_SAVE_TO_DISK, FALSE)) - lockdown |= GEDIT_LOCKDOWN_SAVE_TO_DISK; + if (pluma_prefs_manager_get_bool (GPM_LOCKDOWN_SAVE_TO_DISK, FALSE)) + lockdown |= PLUMA_LOCKDOWN_SAVE_TO_DISK; return lockdown; } diff --git a/gedit/gedit-prefs-manager.h b/pluma/pluma-prefs-manager.h similarity index 55% rename from gedit/gedit-prefs-manager.h rename to pluma/pluma-prefs-manager.h index 8204161..f14fa43 100755 --- a/gedit/gedit-prefs-manager.h +++ b/pluma/pluma-prefs-manager.h @@ -1,7 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-prefs-manager.h - * This file is part of gedit + * pluma-prefs-manager.h + * This file is part of pluma * * Copyright (C) 2002 Paolo Maggi * @@ -22,22 +22,22 @@ */ /* - * Modified by the gedit Team, 2002. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ -#ifndef __GEDIT_PREFS_MANAGER_H__ -#define __GEDIT_PREFS_MANAGER_H__ +#ifndef __PLUMA_PREFS_MANAGER_H__ +#define __PLUMA_PREFS_MANAGER_H__ #include #include #include -#include "gedit-app.h" +#include "pluma-app.h" -#define GEDIT_BASE_KEY "/apps/gedit-2" +#define PLUMA_BASE_KEY "/apps/pluma-2" -#define GPM_PREFS_DIR GEDIT_BASE_KEY "/preferences" +#define GPM_PREFS_DIR PLUMA_BASE_KEY "/preferences" /* Editor */ #define GPM_FONT_DIR GPM_PREFS_DIR "/editor/font" @@ -131,7 +131,7 @@ #define GPM_WRITABLE_VFS_SCHEMES GPM_SAVE_DIR "/writable_vfs_schemes" /* Plugins */ -#define GPM_PLUGINS_DIR GEDIT_BASE_KEY "/plugins" +#define GPM_PLUGINS_DIR PLUMA_BASE_KEY "/plugins" #define GPM_ACTIVE_PLUGINS GPM_PLUGINS_DIR "/active-plugins" /* Global Lockdown keys */ @@ -141,7 +141,7 @@ #define GPM_LOCKDOWN_PRINT_SETUP GPM_LOCKDOWN_DIR "/disable_print_setup" #define GPM_LOCKDOWN_SAVE_TO_DISK GPM_LOCKDOWN_DIR "/disable_save_to_disk" -/* Fallback default values. Keep in sync with gedit.schemas */ +/* Fallback default values. Keep in sync with pluma.schemas */ #define GPM_DEFAULT_USE_DEFAULT_FONT 1 /* TRUE */ @@ -172,7 +172,7 @@ #define GPM_DEFAULT_AUTO_DETECTED_ENCODINGS {"UTF-8", "CURRENT", "ISO-8859-15", NULL} #define GPM_DEFAULT_TOOLBAR_VISIBLE 1 /* TRUE */ -#define GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE "GEDIT_TOOLBAR_SYSTEM" +#define GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE "PLUMA_TOOLBAR_SYSTEM" #define GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS 1 /* TRUE */ #define GPM_DEFAULT_STATUSBAR_VISIBLE 1 /* TRUE */ @@ -215,209 +215,209 @@ #define GPM_DEFAULT_SOURCE_STYLE_SCHEME "classic" typedef enum { - GEDIT_TOOLBAR_SYSTEM = 0, - GEDIT_TOOLBAR_ICONS, - GEDIT_TOOLBAR_ICONS_AND_TEXT, - GEDIT_TOOLBAR_ICONS_BOTH_HORIZ -} GeditToolbarSetting; + PLUMA_TOOLBAR_SYSTEM = 0, + PLUMA_TOOLBAR_ICONS, + PLUMA_TOOLBAR_ICONS_AND_TEXT, + PLUMA_TOOLBAR_ICONS_BOTH_HORIZ +} PlumaToolbarSetting; /** LIFE CYCLE MANAGEMENT FUNCTIONS **/ -gboolean gedit_prefs_manager_init (void); +gboolean pluma_prefs_manager_init (void); -/* This function must be called before exiting gedit */ -void gedit_prefs_manager_shutdown (void); +/* This function must be called before exiting pluma */ +void pluma_prefs_manager_shutdown (void); /** PREFS MANAGEMENT FUNCTIONS **/ /* Use default font */ -gboolean gedit_prefs_manager_get_use_default_font (void); -void gedit_prefs_manager_set_use_default_font (gboolean udf); -gboolean gedit_prefs_manager_use_default_font_can_set (void); +gboolean pluma_prefs_manager_get_use_default_font (void); +void pluma_prefs_manager_set_use_default_font (gboolean udf); +gboolean pluma_prefs_manager_use_default_font_can_set (void); /* Editor font */ -gchar *gedit_prefs_manager_get_editor_font (void); -void gedit_prefs_manager_set_editor_font (const gchar *font); -gboolean gedit_prefs_manager_editor_font_can_set (void); +gchar *pluma_prefs_manager_get_editor_font (void); +void pluma_prefs_manager_set_editor_font (const gchar *font); +gboolean pluma_prefs_manager_editor_font_can_set (void); /* System font */ -gchar *gedit_prefs_manager_get_system_font (void); +gchar *pluma_prefs_manager_get_system_font (void); /* Create backup copy */ -gboolean gedit_prefs_manager_get_create_backup_copy (void); -void gedit_prefs_manager_set_create_backup_copy (gboolean cbc); -gboolean gedit_prefs_manager_create_backup_copy_can_set (void); +gboolean pluma_prefs_manager_get_create_backup_copy (void); +void pluma_prefs_manager_set_create_backup_copy (gboolean cbc); +gboolean pluma_prefs_manager_create_backup_copy_can_set (void); /* Auto save */ -gboolean gedit_prefs_manager_get_auto_save (void); -void gedit_prefs_manager_set_auto_save (gboolean as); -gboolean gedit_prefs_manager_auto_save_can_set (void); +gboolean pluma_prefs_manager_get_auto_save (void); +void pluma_prefs_manager_set_auto_save (gboolean as); +gboolean pluma_prefs_manager_auto_save_can_set (void); /* Auto save interval */ -gint gedit_prefs_manager_get_auto_save_interval (void); -void gedit_prefs_manager_set_auto_save_interval (gint asi); -gboolean gedit_prefs_manager_auto_save_interval_can_set (void); +gint pluma_prefs_manager_get_auto_save_interval (void); +void pluma_prefs_manager_set_auto_save_interval (gint asi); +gboolean pluma_prefs_manager_auto_save_interval_can_set (void); /* Undo actions limit: if < 1 then no limits */ -gint gedit_prefs_manager_get_undo_actions_limit (void); -void gedit_prefs_manager_set_undo_actions_limit (gint ual); -gboolean gedit_prefs_manager_undo_actions_limit_can_set (void); +gint pluma_prefs_manager_get_undo_actions_limit (void); +void pluma_prefs_manager_set_undo_actions_limit (gint ual); +gboolean pluma_prefs_manager_undo_actions_limit_can_set (void); /* Wrap mode */ -GtkWrapMode gedit_prefs_manager_get_wrap_mode (void); -void gedit_prefs_manager_set_wrap_mode (GtkWrapMode wp); -gboolean gedit_prefs_manager_wrap_mode_can_set (void); +GtkWrapMode pluma_prefs_manager_get_wrap_mode (void); +void pluma_prefs_manager_set_wrap_mode (GtkWrapMode wp); +gboolean pluma_prefs_manager_wrap_mode_can_set (void); /* Tabs size */ -gint gedit_prefs_manager_get_tabs_size (void); -void gedit_prefs_manager_set_tabs_size (gint ts); -gboolean gedit_prefs_manager_tabs_size_can_set (void); +gint pluma_prefs_manager_get_tabs_size (void); +void pluma_prefs_manager_set_tabs_size (gint ts); +gboolean pluma_prefs_manager_tabs_size_can_set (void); /* Insert spaces */ -gboolean gedit_prefs_manager_get_insert_spaces (void); -void gedit_prefs_manager_set_insert_spaces (gboolean ai); -gboolean gedit_prefs_manager_insert_spaces_can_set (void); +gboolean pluma_prefs_manager_get_insert_spaces (void); +void pluma_prefs_manager_set_insert_spaces (gboolean ai); +gboolean pluma_prefs_manager_insert_spaces_can_set (void); /* Auto indent */ -gboolean gedit_prefs_manager_get_auto_indent (void); -void gedit_prefs_manager_set_auto_indent (gboolean ai); -gboolean gedit_prefs_manager_auto_indent_can_set (void); +gboolean pluma_prefs_manager_get_auto_indent (void); +void pluma_prefs_manager_set_auto_indent (gboolean ai); +gboolean pluma_prefs_manager_auto_indent_can_set (void); /* Display line numbers */ -gboolean gedit_prefs_manager_get_display_line_numbers (void); -void gedit_prefs_manager_set_display_line_numbers (gboolean dln); -gboolean gedit_prefs_manager_display_line_numbers_can_set (void); +gboolean pluma_prefs_manager_get_display_line_numbers (void); +void pluma_prefs_manager_set_display_line_numbers (gboolean dln); +gboolean pluma_prefs_manager_display_line_numbers_can_set (void); /* Toolbar visible */ -gboolean gedit_prefs_manager_get_toolbar_visible (void); -void gedit_prefs_manager_set_toolbar_visible (gboolean tv); -gboolean gedit_prefs_manager_toolbar_visible_can_set (void); +gboolean pluma_prefs_manager_get_toolbar_visible (void); +void pluma_prefs_manager_set_toolbar_visible (gboolean tv); +gboolean pluma_prefs_manager_toolbar_visible_can_set (void); /* Toolbar buttons style */ -GeditToolbarSetting gedit_prefs_manager_get_toolbar_buttons_style (void); -void gedit_prefs_manager_set_toolbar_buttons_style (GeditToolbarSetting tbs); -gboolean gedit_prefs_manager_toolbar_buttons_style_can_set (void); +PlumaToolbarSetting pluma_prefs_manager_get_toolbar_buttons_style (void); +void pluma_prefs_manager_set_toolbar_buttons_style (PlumaToolbarSetting tbs); +gboolean pluma_prefs_manager_toolbar_buttons_style_can_set (void); /* Statusbar visible */ -gboolean gedit_prefs_manager_get_statusbar_visible (void); -void gedit_prefs_manager_set_statusbar_visible (gboolean sv); -gboolean gedit_prefs_manager_statusbar_visible_can_set (void); +gboolean pluma_prefs_manager_get_statusbar_visible (void); +void pluma_prefs_manager_set_statusbar_visible (gboolean sv); +gboolean pluma_prefs_manager_statusbar_visible_can_set (void); /* Side pane visible */ -gboolean gedit_prefs_manager_get_side_pane_visible (void); -void gedit_prefs_manager_set_side_pane_visible (gboolean tv); -gboolean gedit_prefs_manager_side_pane_visible_can_set (void); +gboolean pluma_prefs_manager_get_side_pane_visible (void); +void pluma_prefs_manager_set_side_pane_visible (gboolean tv); +gboolean pluma_prefs_manager_side_pane_visible_can_set (void); /* Bottom panel visible */ -gboolean gedit_prefs_manager_get_bottom_panel_visible (void); -void gedit_prefs_manager_set_bottom_panel_visible (gboolean tv); -gboolean gedit_prefs_manager_bottom_panel_visible_can_set(void); +gboolean pluma_prefs_manager_get_bottom_panel_visible (void); +void pluma_prefs_manager_set_bottom_panel_visible (gboolean tv); +gboolean pluma_prefs_manager_bottom_panel_visible_can_set(void); /* Print syntax highlighting */ -gboolean gedit_prefs_manager_get_print_syntax_hl (void); -void gedit_prefs_manager_set_print_syntax_hl (gboolean ps); -gboolean gedit_prefs_manager_print_syntax_hl_can_set (void); +gboolean pluma_prefs_manager_get_print_syntax_hl (void); +void pluma_prefs_manager_set_print_syntax_hl (gboolean ps); +gboolean pluma_prefs_manager_print_syntax_hl_can_set (void); /* Print header */ -gboolean gedit_prefs_manager_get_print_header (void); -void gedit_prefs_manager_set_print_header (gboolean ph); -gboolean gedit_prefs_manager_print_header_can_set (void); +gboolean pluma_prefs_manager_get_print_header (void); +void pluma_prefs_manager_set_print_header (gboolean ph); +gboolean pluma_prefs_manager_print_header_can_set (void); /* Wrap mode while printing */ -GtkWrapMode gedit_prefs_manager_get_print_wrap_mode (void); -void gedit_prefs_manager_set_print_wrap_mode (GtkWrapMode pwm); -gboolean gedit_prefs_manager_print_wrap_mode_can_set (void); +GtkWrapMode pluma_prefs_manager_get_print_wrap_mode (void); +void pluma_prefs_manager_set_print_wrap_mode (GtkWrapMode pwm); +gboolean pluma_prefs_manager_print_wrap_mode_can_set (void); /* Print line numbers */ -gint gedit_prefs_manager_get_print_line_numbers (void); -void gedit_prefs_manager_set_print_line_numbers (gint pln); -gboolean gedit_prefs_manager_print_line_numbers_can_set (void); +gint pluma_prefs_manager_get_print_line_numbers (void); +void pluma_prefs_manager_set_print_line_numbers (gint pln); +gboolean pluma_prefs_manager_print_line_numbers_can_set (void); /* Font used to print the body of documents */ -gchar *gedit_prefs_manager_get_print_font_body (void); -void gedit_prefs_manager_set_print_font_body (const gchar *font); -gboolean gedit_prefs_manager_print_font_body_can_set (void); -const gchar *gedit_prefs_manager_get_default_print_font_body (void); +gchar *pluma_prefs_manager_get_print_font_body (void); +void pluma_prefs_manager_set_print_font_body (const gchar *font); +gboolean pluma_prefs_manager_print_font_body_can_set (void); +const gchar *pluma_prefs_manager_get_default_print_font_body (void); /* Font used to print headers */ -gchar *gedit_prefs_manager_get_print_font_header (void); -void gedit_prefs_manager_set_print_font_header (const gchar *font); -gboolean gedit_prefs_manager_print_font_header_can_set (void); -const gchar *gedit_prefs_manager_get_default_print_font_header (void); +gchar *pluma_prefs_manager_get_print_font_header (void); +void pluma_prefs_manager_set_print_font_header (const gchar *font); +gboolean pluma_prefs_manager_print_font_header_can_set (void); +const gchar *pluma_prefs_manager_get_default_print_font_header (void); /* Font used to print line numbers */ -gchar *gedit_prefs_manager_get_print_font_numbers (void); -void gedit_prefs_manager_set_print_font_numbers (const gchar *font); -gboolean gedit_prefs_manager_print_font_numbers_can_set (void); -const gchar *gedit_prefs_manager_get_default_print_font_numbers (void); +gchar *pluma_prefs_manager_get_print_font_numbers (void); +void pluma_prefs_manager_set_print_font_numbers (const gchar *font); +gboolean pluma_prefs_manager_print_font_numbers_can_set (void); +const gchar *pluma_prefs_manager_get_default_print_font_numbers (void); /* Max number of files in "Recent Files" menu. * This is configurable only using mateconftool or mateconf-editor */ -gint gedit_prefs_manager_get_max_recents (void); +gint pluma_prefs_manager_get_max_recents (void); /* Encodings */ -GSList *gedit_prefs_manager_get_auto_detected_encodings (void); +GSList *pluma_prefs_manager_get_auto_detected_encodings (void); -GSList *gedit_prefs_manager_get_shown_in_menu_encodings (void); -void gedit_prefs_manager_set_shown_in_menu_encodings (const GSList *encs); -gboolean gedit_prefs_manager_shown_in_menu_encodings_can_set (void); +GSList *pluma_prefs_manager_get_shown_in_menu_encodings (void); +void pluma_prefs_manager_set_shown_in_menu_encodings (const GSList *encs); +gboolean pluma_prefs_manager_shown_in_menu_encodings_can_set (void); /* Highlight current line */ -gboolean gedit_prefs_manager_get_highlight_current_line (void); -void gedit_prefs_manager_set_highlight_current_line (gboolean hl); -gboolean gedit_prefs_manager_highlight_current_line_can_set (void); +gboolean pluma_prefs_manager_get_highlight_current_line (void); +void pluma_prefs_manager_set_highlight_current_line (gboolean hl); +gboolean pluma_prefs_manager_highlight_current_line_can_set (void); /* Highlight matching bracket */ -gboolean gedit_prefs_manager_get_bracket_matching (void); -void gedit_prefs_manager_set_bracket_matching (gboolean bm); -gboolean gedit_prefs_manager_bracket_matching_can_set (void); +gboolean pluma_prefs_manager_get_bracket_matching (void); +void pluma_prefs_manager_set_bracket_matching (gboolean bm); +gboolean pluma_prefs_manager_bracket_matching_can_set (void); /* Display right margin */ -gboolean gedit_prefs_manager_get_display_right_margin (void); -void gedit_prefs_manager_set_display_right_margin (gboolean drm); -gboolean gedit_prefs_manager_display_right_margin_can_set (void); +gboolean pluma_prefs_manager_get_display_right_margin (void); +void pluma_prefs_manager_set_display_right_margin (gboolean drm); +gboolean pluma_prefs_manager_display_right_margin_can_set (void); /* Right margin position */ -gint gedit_prefs_manager_get_right_margin_position (void); -void gedit_prefs_manager_set_right_margin_position (gint rmp); -gboolean gedit_prefs_manager_right_margin_position_can_set (void); +gint pluma_prefs_manager_get_right_margin_position (void); +void pluma_prefs_manager_set_right_margin_position (gint rmp); +gboolean pluma_prefs_manager_right_margin_position_can_set (void); /* Smart home end */ GtkSourceSmartHomeEndType - gedit_prefs_manager_get_smart_home_end (void); -void gedit_prefs_manager_set_smart_home_end (GtkSourceSmartHomeEndType smart_he); -gboolean gedit_prefs_manager_smart_home_end_can_set (void); + pluma_prefs_manager_get_smart_home_end (void); +void pluma_prefs_manager_set_smart_home_end (GtkSourceSmartHomeEndType smart_he); +gboolean pluma_prefs_manager_smart_home_end_can_set (void); /* Enable syntax highlighting */ -gboolean gedit_prefs_manager_get_enable_syntax_highlighting (void); -void gedit_prefs_manager_set_enable_syntax_highlighting (gboolean esh); -gboolean gedit_prefs_manager_enable_syntax_highlighting_can_set (void); +gboolean pluma_prefs_manager_get_enable_syntax_highlighting (void); +void pluma_prefs_manager_set_enable_syntax_highlighting (gboolean esh); +gboolean pluma_prefs_manager_enable_syntax_highlighting_can_set (void); /* Writable VFS schemes */ -GSList *gedit_prefs_manager_get_writable_vfs_schemes (void); +GSList *pluma_prefs_manager_get_writable_vfs_schemes (void); /* Restore cursor position */ -gboolean gedit_prefs_manager_get_restore_cursor_position (void); +gboolean pluma_prefs_manager_get_restore_cursor_position (void); /* Enable search highlighting */ -gboolean gedit_prefs_manager_get_enable_search_highlighting (void); -void gedit_prefs_manager_set_enable_search_highlighting (gboolean esh); -gboolean gedit_prefs_manager_enable_search_highlighting_can_set (void); +gboolean pluma_prefs_manager_get_enable_search_highlighting (void); +void pluma_prefs_manager_set_enable_search_highlighting (gboolean esh); +gboolean pluma_prefs_manager_enable_search_highlighting_can_set (void); /* Style scheme */ -gchar *gedit_prefs_manager_get_source_style_scheme (void); -void gedit_prefs_manager_set_source_style_scheme (const gchar *scheme); -gboolean gedit_prefs_manager_source_style_scheme_can_set(void); +gchar *pluma_prefs_manager_get_source_style_scheme (void); +void pluma_prefs_manager_set_source_style_scheme (const gchar *scheme); +gboolean pluma_prefs_manager_source_style_scheme_can_set(void); /* Plugins */ -GSList *gedit_prefs_manager_get_active_plugins (void); -void gedit_prefs_manager_set_active_plugins (const GSList *plugins); -gboolean gedit_prefs_manager_active_plugins_can_set (void); +GSList *pluma_prefs_manager_get_active_plugins (void); +void pluma_prefs_manager_set_active_plugins (const GSList *plugins); +gboolean pluma_prefs_manager_active_plugins_can_set (void); /* Global lockdown */ -GeditLockdownMask gedit_prefs_manager_get_lockdown (void); +PlumaLockdownMask pluma_prefs_manager_get_lockdown (void); -#endif /* __GEDIT_PREFS_MANAGER_H__ */ +#endif /* __PLUMA_PREFS_MANAGER_H__ */ diff --git a/gedit/gedit-print-job.c b/pluma/pluma-print-job.c similarity index 74% rename from gedit/gedit-print-job.c rename to pluma/pluma-print-job.c index 00acba2..7016a45 100755 --- a/gedit/gedit-print-job.c +++ b/pluma/pluma-print-job.c @@ -1,6 +1,6 @@ /* - * gedit-print.c - * This file is part of gedit + * pluma-print.c + * This file is part of pluma * * Copyright (C) 2000-2001 Chema Celorio, Paolo Maggi * Copyright (C) 2002-2008 Paolo Maggi @@ -22,11 +22,11 @@ */ /* - * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * - * $Id: gedit-print.c 6022 2007-12-09 14:38:57Z pborelli $ + * $Id: pluma-print.c 6022 2007-12-09 14:38:57Z pborelli $ */ #ifdef HAVE_CONFIG_H @@ -36,23 +36,23 @@ #include #include -#include "gedit-print-job.h" -#include "gedit-debug.h" -#include "gedit-prefs-manager.h" -#include "gedit-print-preview.h" -#include "gedit-marshal.h" -#include "gedit-utils.h" -#include "gedit-dirs.h" +#include "pluma-print-job.h" +#include "pluma-debug.h" +#include "pluma-prefs-manager.h" +#include "pluma-print-preview.h" +#include "pluma-marshal.h" +#include "pluma-utils.h" +#include "pluma-dirs.h" -#define GEDIT_PRINT_JOB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ - GEDIT_TYPE_PRINT_JOB, \ - GeditPrintJobPrivate)) +#define PLUMA_PRINT_JOB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ + PLUMA_TYPE_PRINT_JOB, \ + PlumaPrintJobPrivate)) -struct _GeditPrintJobPrivate +struct _PlumaPrintJobPrivate { - GeditView *view; - GeditDocument *doc; + PlumaView *view; + PlumaDocument *doc; GtkPrintOperation *operation; GtkSourcePrintCompositor *compositor; @@ -61,7 +61,7 @@ struct _GeditPrintJobPrivate GtkWidget *preview; - GeditPrintJobStatus status; + PlumaPrintJobStatus status; gchar *status_string; @@ -104,22 +104,22 @@ enum static guint print_job_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GeditPrintJob, gedit_print_job, G_TYPE_OBJECT) +G_DEFINE_TYPE (PlumaPrintJob, pluma_print_job, G_TYPE_OBJECT) static void -set_view (GeditPrintJob *job, GeditView *view) +set_view (PlumaPrintJob *job, PlumaView *view) { job->priv->view = view; - job->priv->doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); + job->priv->doc = PLUMA_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); } static void -gedit_print_job_get_property (GObject *object, +pluma_print_job_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditPrintJob *job = GEDIT_PRINT_JOB (object); + PlumaPrintJob *job = PLUMA_PRINT_JOB (object); switch (prop_id) { @@ -133,12 +133,12 @@ gedit_print_job_get_property (GObject *object, } static void -gedit_print_job_set_property (GObject *object, +pluma_print_job_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditPrintJob *job = GEDIT_PRINT_JOB (object); + PlumaPrintJob *job = PLUMA_PRINT_JOB (object); switch (prop_id) { @@ -152,9 +152,9 @@ gedit_print_job_set_property (GObject *object, } static void -gedit_print_job_finalize (GObject *object) +pluma_print_job_finalize (GObject *object) { - GeditPrintJob *job = GEDIT_PRINT_JOB (object); + PlumaPrintJob *job = PLUMA_PRINT_JOB (object); g_free (job->priv->status_string); @@ -164,26 +164,26 @@ gedit_print_job_finalize (GObject *object) if (job->priv->operation != NULL) g_object_unref (job->priv->operation); - G_OBJECT_CLASS (gedit_print_job_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_print_job_parent_class)->finalize (object); } static void -gedit_print_job_class_init (GeditPrintJobClass *klass) +pluma_print_job_class_init (PlumaPrintJobClass *klass) { GObjectClass *object_class; object_class = G_OBJECT_CLASS (klass); - object_class->get_property = gedit_print_job_get_property; - object_class->set_property = gedit_print_job_set_property; - object_class->finalize = gedit_print_job_finalize; + object_class->get_property = pluma_print_job_get_property; + object_class->set_property = pluma_print_job_set_property; + object_class->finalize = pluma_print_job_finalize; g_object_class_install_property (object_class, PROP_VIEW, g_param_spec_object ("view", - "Gedit View", - "Gedit View to print", - GEDIT_TYPE_VIEW, + "Pluma View", + "Pluma View to print", + PLUMA_TYPE_VIEW, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY)); @@ -192,7 +192,7 @@ gedit_print_job_class_init (GeditPrintJobClass *klass) g_signal_new ("printing", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditPrintJobClass, printing), + G_STRUCT_OFFSET (PlumaPrintJobClass, printing), NULL, NULL, g_cclosure_marshal_VOID__UINT, G_TYPE_NONE, @@ -203,7 +203,7 @@ gedit_print_job_class_init (GeditPrintJobClass *klass) g_signal_new ("show-preview", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditPrintJobClass, show_preview), + G_STRUCT_OFFSET (PlumaPrintJobClass, show_preview), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, @@ -214,25 +214,25 @@ gedit_print_job_class_init (GeditPrintJobClass *klass) g_signal_new ("done", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditPrintJobClass, done), + G_STRUCT_OFFSET (PlumaPrintJobClass, done), NULL, NULL, - gedit_marshal_VOID__UINT_POINTER, + pluma_marshal_VOID__UINT_POINTER, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); - g_type_class_add_private (object_class, sizeof (GeditPrintJobPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaPrintJobPrivate)); } static void line_numbers_checkbutton_toggled (GtkToggleButton *button, - GeditPrintJob *job) + PlumaPrintJob *job) { if (gtk_toggle_button_get_active (button)) { gtk_widget_set_sensitive (job->priv->line_numbers_hbox, - gedit_prefs_manager_print_line_numbers_can_set ()); + pluma_prefs_manager_print_line_numbers_can_set ()); } else { @@ -242,7 +242,7 @@ line_numbers_checkbutton_toggled (GtkToggleButton *button, static void wrap_mode_checkbutton_toggled (GtkToggleButton *button, - GeditPrintJob *job) + PlumaPrintJob *job) { if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->text_wrapping_checkbutton))) { @@ -264,36 +264,36 @@ wrap_mode_checkbutton_toggled (GtkToggleButton *button, static void restore_button_clicked (GtkButton *button, - GeditPrintJob *job) + PlumaPrintJob *job) { - if (gedit_prefs_manager_print_font_body_can_set ()) + if (pluma_prefs_manager_print_font_body_can_set ()) { const gchar *font; - font = gedit_prefs_manager_get_default_print_font_body (); + font = pluma_prefs_manager_get_default_print_font_body (); gtk_font_button_set_font_name ( GTK_FONT_BUTTON (job->priv->body_fontbutton), font); } - if (gedit_prefs_manager_print_font_header_can_set ()) + if (pluma_prefs_manager_print_font_header_can_set ()) { const gchar *font; - font = gedit_prefs_manager_get_default_print_font_header (); + font = pluma_prefs_manager_get_default_print_font_header (); gtk_font_button_set_font_name ( GTK_FONT_BUTTON (job->priv->headers_fontbutton), font); } - if (gedit_prefs_manager_print_font_numbers_can_set ()) + if (pluma_prefs_manager_print_font_numbers_can_set ()) { const gchar *font; - font = gedit_prefs_manager_get_default_print_font_numbers (); + font = pluma_prefs_manager_get_default_print_font_numbers (); gtk_font_button_set_font_name ( GTK_FONT_BUTTON (job->priv->numbers_fontbutton), @@ -303,7 +303,7 @@ restore_button_clicked (GtkButton *button, static GObject * create_custom_widget_cb (GtkPrintOperation *operation, - GeditPrintJob *job) + PlumaPrintJob *job) { gboolean ret; GtkWidget *widget; @@ -319,8 +319,8 @@ create_custom_widget_cb (GtkPrintOperation *operation, NULL }; - file = gedit_dirs_get_ui_file ("gedit-print-preferences.ui"); - ret = gedit_utils_get_ui_objects (file, + file = pluma_dirs_get_ui_file ("pluma-print-preferences.ui"); + ret = pluma_utils_get_ui_objects (file, root_objects, &error_widget, "contents", &widget, @@ -349,19 +349,19 @@ create_custom_widget_cb (GtkPrintOperation *operation, /* Print syntax */ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (job->priv->syntax_checkbutton), - gedit_prefs_manager_get_print_syntax_hl ()); + pluma_prefs_manager_get_print_syntax_hl ()); gtk_widget_set_sensitive (job->priv->syntax_checkbutton, - gedit_prefs_manager_print_syntax_hl_can_set ()); + pluma_prefs_manager_print_syntax_hl_can_set ()); /* Print page headers */ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (job->priv->page_header_checkbutton), - gedit_prefs_manager_get_print_header ()); + pluma_prefs_manager_get_print_header ()); gtk_widget_set_sensitive (job->priv->page_header_checkbutton, - gedit_prefs_manager_print_header_can_set ()); + pluma_prefs_manager_print_header_can_set ()); /* Line numbers */ - line_numbers = gedit_prefs_manager_get_print_line_numbers (); - can_set = gedit_prefs_manager_print_line_numbers_can_set (); + line_numbers = pluma_prefs_manager_get_print_line_numbers (); + can_set = pluma_prefs_manager_print_line_numbers_can_set (); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (job->priv->line_numbers_checkbutton), line_numbers > 0); @@ -381,7 +381,7 @@ create_custom_widget_cb (GtkPrintOperation *operation, } /* Text wrapping */ - wrap_mode = gedit_prefs_manager_get_print_wrap_mode (); + wrap_mode = pluma_prefs_manager_get_print_wrap_mode (); switch (wrap_mode) { @@ -404,37 +404,37 @@ create_custom_widget_cb (GtkPrintOperation *operation, GTK_TOGGLE_BUTTON (job->priv->do_not_split_checkbutton), TRUE); } - can_set = gedit_prefs_manager_print_wrap_mode_can_set (); + can_set = pluma_prefs_manager_print_wrap_mode_can_set (); gtk_widget_set_sensitive (job->priv->text_wrapping_checkbutton, can_set); gtk_widget_set_sensitive (job->priv->do_not_split_checkbutton, can_set && (wrap_mode != GTK_WRAP_NONE)); /* Set initial values */ - font = gedit_prefs_manager_get_print_font_body (); + font = pluma_prefs_manager_get_print_font_body (); gtk_font_button_set_font_name (GTK_FONT_BUTTON (job->priv->body_fontbutton), font); g_free (font); - font = gedit_prefs_manager_get_print_font_header (); + font = pluma_prefs_manager_get_print_font_header (); gtk_font_button_set_font_name (GTK_FONT_BUTTON (job->priv->headers_fontbutton), font); g_free (font); - font = gedit_prefs_manager_get_print_font_numbers (); + font = pluma_prefs_manager_get_print_font_numbers (); gtk_font_button_set_font_name (GTK_FONT_BUTTON (job->priv->numbers_fontbutton), font); g_free (font); - can_set = gedit_prefs_manager_print_font_body_can_set (); + can_set = pluma_prefs_manager_print_font_body_can_set (); gtk_widget_set_sensitive (job->priv->body_fontbutton, can_set); gtk_widget_set_sensitive (job->priv->body_font_label, can_set); - can_set = gedit_prefs_manager_print_font_header_can_set (); + can_set = pluma_prefs_manager_print_font_header_can_set (); gtk_widget_set_sensitive (job->priv->headers_fontbutton, can_set); gtk_widget_set_sensitive (job->priv->headers_font_label, can_set); - can_set = gedit_prefs_manager_print_font_numbers_can_set (); + can_set = pluma_prefs_manager_print_font_numbers_can_set (); gtk_widget_set_sensitive (job->priv->numbers_fontbutton, can_set); gtk_widget_set_sensitive (job->priv->numbers_font_label, can_set); @@ -461,64 +461,64 @@ create_custom_widget_cb (GtkPrintOperation *operation, static void custom_widget_apply_cb (GtkPrintOperation *operation, GtkWidget *widget, - GeditPrintJob *job) + PlumaPrintJob *job) { - gedit_prefs_manager_set_print_syntax_hl (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->syntax_checkbutton))); + pluma_prefs_manager_set_print_syntax_hl (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->syntax_checkbutton))); - gedit_prefs_manager_set_print_header (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->page_header_checkbutton))); + pluma_prefs_manager_set_print_header (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->page_header_checkbutton))); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->line_numbers_checkbutton))) { - gedit_prefs_manager_set_print_line_numbers ( + pluma_prefs_manager_set_print_line_numbers ( MAX (1, gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (job->priv->line_numbers_spinbutton)))); } else { - gedit_prefs_manager_set_print_line_numbers (0); + pluma_prefs_manager_set_print_line_numbers (0); } if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->text_wrapping_checkbutton))) { - gedit_prefs_manager_set_print_wrap_mode (GTK_WRAP_NONE); + pluma_prefs_manager_set_print_wrap_mode (GTK_WRAP_NONE); } else { if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (job->priv->do_not_split_checkbutton))) { - gedit_prefs_manager_set_print_wrap_mode (GTK_WRAP_WORD); + pluma_prefs_manager_set_print_wrap_mode (GTK_WRAP_WORD); } else { - gedit_prefs_manager_set_print_wrap_mode (GTK_WRAP_CHAR); + pluma_prefs_manager_set_print_wrap_mode (GTK_WRAP_CHAR); } } - gedit_prefs_manager_set_print_font_body (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->body_fontbutton))); - gedit_prefs_manager_set_print_font_header (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->headers_fontbutton))); - gedit_prefs_manager_set_print_font_numbers (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->numbers_fontbutton))); + pluma_prefs_manager_set_print_font_body (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->body_fontbutton))); + pluma_prefs_manager_set_print_font_header (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->headers_fontbutton))); + pluma_prefs_manager_set_print_font_numbers (gtk_font_button_get_font_name (GTK_FONT_BUTTON (job->priv->numbers_fontbutton))); } static void -create_compositor (GeditPrintJob *job) +create_compositor (PlumaPrintJob *job) { gchar *print_font_body; gchar *print_font_header; gchar *print_font_numbers; /* Create and initialize print compositor */ - print_font_body = gedit_prefs_manager_get_print_font_body (); - print_font_header = gedit_prefs_manager_get_print_font_header (); - print_font_numbers = gedit_prefs_manager_get_print_font_numbers (); + print_font_body = pluma_prefs_manager_get_print_font_body (); + print_font_header = pluma_prefs_manager_get_print_font_header (); + print_font_numbers = pluma_prefs_manager_get_print_font_numbers (); job->priv->compositor = GTK_SOURCE_PRINT_COMPOSITOR ( g_object_new (GTK_TYPE_SOURCE_PRINT_COMPOSITOR, "buffer", GTK_SOURCE_BUFFER (job->priv->doc), "tab-width", gtk_source_view_get_tab_width (GTK_SOURCE_VIEW (job->priv->view)), "highlight-syntax", gtk_source_buffer_get_highlight_syntax (GTK_SOURCE_BUFFER (job->priv->doc)) && - gedit_prefs_manager_get_print_syntax_hl (), - "wrap-mode", gedit_prefs_manager_get_print_wrap_mode (), - "print-line-numbers", gedit_prefs_manager_get_print_line_numbers (), - "print-header", gedit_prefs_manager_get_print_header (), + pluma_prefs_manager_get_print_syntax_hl (), + "wrap-mode", pluma_prefs_manager_get_print_wrap_mode (), + "print-line-numbers", pluma_prefs_manager_get_print_line_numbers (), + "print-header", pluma_prefs_manager_get_print_header (), "print-footer", FALSE, "body-font-name", print_font_body, "line-numbers-font-name", print_font_numbers, @@ -529,14 +529,14 @@ create_compositor (GeditPrintJob *job) g_free (print_font_header); g_free (print_font_numbers); - if (gedit_prefs_manager_get_print_header ()) + if (pluma_prefs_manager_get_print_header ()) { gchar *doc_name; gchar *name_to_display; gchar *left; - doc_name = gedit_document_get_uri_for_display (job->priv->doc); - name_to_display = gedit_utils_str_middle_truncate (doc_name, 60); + doc_name = pluma_document_get_uri_for_display (job->priv->doc); + name_to_display = pluma_utils_str_middle_truncate (doc_name, 60); left = g_strdup_printf (_("File: %s"), name_to_display); @@ -558,11 +558,11 @@ create_compositor (GeditPrintJob *job) static void begin_print_cb (GtkPrintOperation *operation, GtkPrintContext *context, - GeditPrintJob *job) + PlumaPrintJob *job) { create_compositor (job); - job->priv->status = GEDIT_PRINT_JOB_STATUS_PAGINATING; + job->priv->status = PLUMA_PRINT_JOB_STATUS_PAGINATING; job->priv->progress = 0.0; @@ -572,7 +572,7 @@ begin_print_cb (GtkPrintOperation *operation, static void preview_ready (GtkPrintOperationPreview *gtk_preview, GtkPrintContext *context, - GeditPrintJob *job) + PlumaPrintJob *job) { job->priv->is_preview = TRUE; @@ -591,9 +591,9 @@ preview_cb (GtkPrintOperation *op, GtkPrintOperationPreview *gtk_preview, GtkPrintContext *context, GtkWindow *parent, - GeditPrintJob *job) + PlumaPrintJob *job) { - job->priv->preview = gedit_print_preview_new (op, gtk_preview, context); + job->priv->preview = pluma_print_preview_new (op, gtk_preview, context); g_signal_connect_after (gtk_preview, "ready", @@ -612,11 +612,11 @@ preview_cb (GtkPrintOperation *op, static gboolean paginate_cb (GtkPrintOperation *operation, GtkPrintContext *context, - GeditPrintJob *job) + PlumaPrintJob *job) { gboolean res; - job->priv->status = GEDIT_PRINT_JOB_STATUS_PAGINATING; + job->priv->status = PLUMA_PRINT_JOB_STATUS_PAGINATING; res = gtk_source_print_compositor_paginate (job->priv->compositor, context); @@ -644,7 +644,7 @@ static void draw_page_cb (GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, - GeditPrintJob *job) + PlumaPrintJob *job) { gint n_pages; @@ -656,7 +656,7 @@ draw_page_cb (GtkPrintOperation *operation, n_pages = gtk_source_print_compositor_get_n_pages (job->priv->compositor); - job->priv->status = GEDIT_PRINT_JOB_STATUS_DRAWING; + job->priv->status = PLUMA_PRINT_JOB_STATUS_DRAWING; job->priv->status_string = g_strdup_printf ("Rendering page %d of %d...", page_nr + 1, @@ -673,7 +673,7 @@ draw_page_cb (GtkPrintOperation *operation, static void end_print_cb (GtkPrintOperation *operation, GtkPrintContext *context, - GeditPrintJob *job) + PlumaPrintJob *job) { g_object_unref (job->priv->compositor); job->priv->compositor = NULL; @@ -682,23 +682,23 @@ end_print_cb (GtkPrintOperation *operation, static void done_cb (GtkPrintOperation *operation, GtkPrintOperationResult result, - GeditPrintJob *job) + PlumaPrintJob *job) { GError *error = NULL; - GeditPrintJobResult print_result; + PlumaPrintJobResult print_result; switch (result) { case GTK_PRINT_OPERATION_RESULT_CANCEL: - print_result = GEDIT_PRINT_JOB_RESULT_CANCEL; + print_result = PLUMA_PRINT_JOB_RESULT_CANCEL; break; case GTK_PRINT_OPERATION_RESULT_APPLY: - print_result = GEDIT_PRINT_JOB_RESULT_OK; + print_result = PLUMA_PRINT_JOB_RESULT_OK; break; case GTK_PRINT_OPERATION_RESULT_ERROR: - print_result = GEDIT_PRINT_JOB_RESULT_ERROR; + print_result = PLUMA_PRINT_JOB_RESULT_ERROR; gtk_print_operation_get_error (operation, &error); break; @@ -717,16 +717,16 @@ done_cb (GtkPrintOperation *operation, g_object_unref (job); } -/* Note that gedit_print_job_print can can only be called once on a given GeditPrintJob */ +/* Note that pluma_print_job_print can can only be called once on a given PlumaPrintJob */ GtkPrintOperationResult -gedit_print_job_print (GeditPrintJob *job, +pluma_print_job_print (PlumaPrintJob *job, GtkPrintOperationAction action, GtkPageSetup *page_setup, GtkPrintSettings *settings, GtkWindow *parent, GError **error) { - GeditPrintJobPrivate *priv; + PlumaPrintJobPrivate *priv; gchar *job_name; g_return_val_if_fail (job->priv->compositor == NULL, GTK_PRINT_OPERATION_RESULT_ERROR); @@ -747,7 +747,7 @@ gedit_print_job_print (GeditPrintJob *job, gtk_print_operation_set_default_page_setup (priv->operation, page_setup); - job_name = gedit_document_get_short_name_for_display (priv->doc); + job_name = pluma_document_get_short_name_for_display (priv->doc); gtk_print_operation_set_job_name (priv->operation, job_name); g_free (job_name); @@ -800,23 +800,23 @@ gedit_print_job_print (GeditPrintJob *job, } static void -gedit_print_job_init (GeditPrintJob *job) +pluma_print_job_init (PlumaPrintJob *job) { - job->priv = GEDIT_PRINT_JOB_GET_PRIVATE (job); + job->priv = PLUMA_PRINT_JOB_GET_PRIVATE (job); - job->priv->status = GEDIT_PRINT_JOB_STATUS_INIT; + job->priv->status = PLUMA_PRINT_JOB_STATUS_INIT; job->priv->status_string = g_strdup (_("Preparing...")); } -GeditPrintJob * -gedit_print_job_new (GeditView *view) +PlumaPrintJob * +pluma_print_job_new (PlumaView *view) { - GeditPrintJob *job; + PlumaPrintJob *job; - g_return_val_if_fail (GEDIT_IS_VIEW (view), NULL); + g_return_val_if_fail (PLUMA_IS_VIEW (view), NULL); - job = GEDIT_PRINT_JOB (g_object_new (GEDIT_TYPE_PRINT_JOB, + job = PLUMA_PRINT_JOB (g_object_new (PLUMA_TYPE_PRINT_JOB, "view", view, NULL)); @@ -824,42 +824,42 @@ gedit_print_job_new (GeditView *view) } void -gedit_print_job_cancel (GeditPrintJob *job) +pluma_print_job_cancel (PlumaPrintJob *job) { - g_return_if_fail (GEDIT_IS_PRINT_JOB (job)); + g_return_if_fail (PLUMA_IS_PRINT_JOB (job)); gtk_print_operation_cancel (job->priv->operation); } const gchar * -gedit_print_job_get_status_string (GeditPrintJob *job) +pluma_print_job_get_status_string (PlumaPrintJob *job) { - g_return_val_if_fail (GEDIT_IS_PRINT_JOB (job), NULL); + g_return_val_if_fail (PLUMA_IS_PRINT_JOB (job), NULL); g_return_val_if_fail (job->priv->status_string != NULL, NULL); return job->priv->status_string; } gdouble -gedit_print_job_get_progress (GeditPrintJob *job) +pluma_print_job_get_progress (PlumaPrintJob *job) { - g_return_val_if_fail (GEDIT_IS_PRINT_JOB (job), 0.0); + g_return_val_if_fail (PLUMA_IS_PRINT_JOB (job), 0.0); return job->priv->progress; } GtkPrintSettings * -gedit_print_job_get_print_settings (GeditPrintJob *job) +pluma_print_job_get_print_settings (PlumaPrintJob *job) { - g_return_val_if_fail (GEDIT_IS_PRINT_JOB (job), NULL); + g_return_val_if_fail (PLUMA_IS_PRINT_JOB (job), NULL); return gtk_print_operation_get_print_settings (job->priv->operation); } GtkPageSetup * -gedit_print_job_get_page_setup (GeditPrintJob *job) +pluma_print_job_get_page_setup (PlumaPrintJob *job) { - g_return_val_if_fail (GEDIT_IS_PRINT_JOB (job), NULL); + g_return_val_if_fail (PLUMA_IS_PRINT_JOB (job), NULL); return gtk_print_operation_get_default_page_setup (job->priv->operation); } diff --git a/pluma/pluma-print-job.h b/pluma/pluma-print-job.h new file mode 100755 index 0000000..ebda70c --- /dev/null +++ b/pluma/pluma-print-job.h @@ -0,0 +1,133 @@ +/* + * pluma-print-job.h + * This file is part of pluma + * + * Copyright (C) 2000-2001 Chema Celorio, Paolo Maggi + * Copyright (C) 2002-2008 Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 1998-2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PRINT_JOB_H__ +#define __PLUMA_PRINT_JOB_H__ + +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PRINT_JOB (pluma_print_job_get_type()) +#define PLUMA_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PRINT_JOB, PlumaPrintJob)) +#define PLUMA_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PRINT_JOB, PlumaPrintJobClass)) +#define PLUMA_IS_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PRINT_JOB)) +#define PLUMA_IS_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PRINT_JOB)) +#define PLUMA_PRINT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PRINT_JOB, PlumaPrintJobClass)) + + +typedef enum +{ + PLUMA_PRINT_JOB_STATUS_INIT, + PLUMA_PRINT_JOB_STATUS_PAGINATING, + PLUMA_PRINT_JOB_STATUS_DRAWING, + PLUMA_PRINT_JOB_STATUS_DONE +} PlumaPrintJobStatus; + +typedef enum +{ + PLUMA_PRINT_JOB_RESULT_OK, + PLUMA_PRINT_JOB_RESULT_CANCEL, + PLUMA_PRINT_JOB_RESULT_ERROR +} PlumaPrintJobResult; + +/* Private structure type */ +typedef struct _PlumaPrintJobPrivate PlumaPrintJobPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaPrintJob PlumaPrintJob; + + +struct _PlumaPrintJob +{ + GObject parent; + + /* */ + PlumaPrintJobPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaPrintJobClass PlumaPrintJobClass; + +struct _PlumaPrintJobClass +{ + GObjectClass parent_class; + + /* Signals */ + void (* printing) (PlumaPrintJob *job, + PlumaPrintJobStatus status); + + void (* show_preview) (PlumaPrintJob *job, + GtkWidget *preview); + + void (*done) (PlumaPrintJob *job, + PlumaPrintJobResult result, + const GError *error); +}; + +/* + * Public methods + */ +GType pluma_print_job_get_type (void) G_GNUC_CONST; + +PlumaPrintJob *pluma_print_job_new (PlumaView *view); + +void pluma_print_job_set_export_filename (PlumaPrintJob *job, + const gchar *filename); + +GtkPrintOperationResult pluma_print_job_print (PlumaPrintJob *job, + GtkPrintOperationAction action, + GtkPageSetup *page_setup, + GtkPrintSettings *settings, + GtkWindow *parent, + GError **error); + +void pluma_print_job_cancel (PlumaPrintJob *job); + +const gchar *pluma_print_job_get_status_string (PlumaPrintJob *job); + +gdouble pluma_print_job_get_progress (PlumaPrintJob *job); + +GtkPrintSettings *pluma_print_job_get_print_settings (PlumaPrintJob *job); + +GtkPageSetup *pluma_print_job_get_page_setup (PlumaPrintJob *job); + +G_END_DECLS + +#endif /* __PLUMA_PRINT_JOB_H__ */ diff --git a/gedit/gedit-print-preferences.ui b/pluma/pluma-print-preferences.ui similarity index 100% rename from gedit/gedit-print-preferences.ui rename to pluma/pluma-print-preferences.ui diff --git a/gedit/gedit-print-preview.c b/pluma/pluma-print-preview.c similarity index 89% rename from gedit/gedit-print-preview.c rename to pluma/pluma-print-preview.c index 293a930..d1b8d74 100755 --- a/gedit/gedit-print-preview.c +++ b/pluma/pluma-print-preview.c @@ -1,5 +1,5 @@ /* - * gedit-print-preview.c + * pluma-print-preview.c * * Copyright (C) 2008 Paolo Borelli * @@ -20,11 +20,11 @@ */ /* - * Modified by the gedit Team, 1998-2006. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 1998-2006. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * - * $Id: gedit-commands-search.c 5931 2007-09-25 20:05:40Z pborelli $ + * $Id: pluma-commands-search.c 5931 2007-09-25 20:05:40Z pborelli $ */ #ifdef HAVE_CONFIG_H @@ -39,11 +39,11 @@ #include -#include "gedit-print-preview.h" +#include "pluma-print-preview.h" #define PRINTER_DPI (72.) -struct _GeditPrintPreviewPrivate +struct _PlumaPrintPreviewPrivate { GtkPrintOperation *operation; GtkPrintContext *context; @@ -84,15 +84,15 @@ struct _GeditPrintPreviewPrivate guint cur_page; }; -G_DEFINE_TYPE (GeditPrintPreview, gedit_print_preview, GTK_TYPE_VBOX) +G_DEFINE_TYPE (PlumaPrintPreview, pluma_print_preview, GTK_TYPE_VBOX) static void -gedit_print_preview_get_property (GObject *object, +pluma_print_preview_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - //GeditPrintPreview *preview = GEDIT_PRINT_PREVIEW (object); + //PlumaPrintPreview *preview = PLUMA_PRINT_PREVIEW (object); switch (prop_id) { @@ -103,12 +103,12 @@ gedit_print_preview_get_property (GObject *object, } static void -gedit_print_preview_set_property (GObject *object, +pluma_print_preview_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - //GeditPrintPreview *preview = GEDIT_PRINT_PREVIEW (object); + //PlumaPrintPreview *preview = PLUMA_PRINT_PREVIEW (object); switch (prop_id) { @@ -119,25 +119,25 @@ gedit_print_preview_set_property (GObject *object, } static void -gedit_print_preview_finalize (GObject *object) +pluma_print_preview_finalize (GObject *object) { - //GeditPrintPreview *preview = GEDIT_PRINT_PREVIEW (object); + //PlumaPrintPreview *preview = PLUMA_PRINT_PREVIEW (object); - G_OBJECT_CLASS (gedit_print_preview_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_print_preview_parent_class)->finalize (object); } static void -gedit_print_preview_grab_focus (GtkWidget *widget) +pluma_print_preview_grab_focus (GtkWidget *widget) { - GeditPrintPreview *preview; + PlumaPrintPreview *preview; - preview = GEDIT_PRINT_PREVIEW (widget); + preview = PLUMA_PRINT_PREVIEW (widget); gtk_widget_grab_focus (GTK_WIDGET (preview->priv->layout)); } static void -gedit_print_preview_class_init (GeditPrintPreviewClass *klass) +pluma_print_preview_class_init (PlumaPrintPreviewClass *klass) { GObjectClass *object_class; GtkWidgetClass *widget_class; @@ -145,19 +145,19 @@ gedit_print_preview_class_init (GeditPrintPreviewClass *klass) object_class = G_OBJECT_CLASS (klass); widget_class = GTK_WIDGET_CLASS (klass); - object_class->get_property = gedit_print_preview_get_property; - object_class->set_property = gedit_print_preview_set_property; - object_class->finalize = gedit_print_preview_finalize; + object_class->get_property = pluma_print_preview_get_property; + object_class->set_property = pluma_print_preview_set_property; + object_class->finalize = pluma_print_preview_finalize; - widget_class->grab_focus = gedit_print_preview_grab_focus; + widget_class->grab_focus = pluma_print_preview_grab_focus; - g_type_class_add_private (object_class, sizeof(GeditPrintPreviewPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaPrintPreviewPrivate)); } static void -update_layout_size (GeditPrintPreview *preview) +update_layout_size (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; priv = preview->priv; @@ -170,7 +170,7 @@ update_layout_size (GeditPrintPreview *preview) } static void -set_rows_and_cols (GeditPrintPreview *preview, +set_rows_and_cols (PlumaPrintPreview *preview, gint rows, gint cols) { @@ -185,13 +185,13 @@ set_rows_and_cols (GeditPrintPreview *preview, * after the widget has been mapped and the dpi is known */ static double -get_paper_width (GeditPrintPreview *preview) +get_paper_width (PlumaPrintPreview *preview) { return preview->priv->paper_w * preview->priv->dpi; } static double -get_paper_height (GeditPrintPreview *preview) +get_paper_height (PlumaPrintPreview *preview) { return preview->priv->paper_h * preview->priv->dpi; } @@ -205,9 +205,9 @@ get_paper_height (GeditPrintPreview *preview) /* updates the tile size to the current zoom and page size */ static void -update_tile_size (GeditPrintPreview *preview) +update_tile_size (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; gint w, h; priv = preview->priv; @@ -232,10 +232,10 @@ update_tile_size (GeditPrintPreview *preview) * so that the tile size is properly updated */ static void -set_zoom_factor (GeditPrintPreview *preview, +set_zoom_factor (PlumaPrintPreview *preview, double zoom) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; priv = preview->priv; @@ -246,9 +246,9 @@ set_zoom_factor (GeditPrintPreview *preview, } static void -set_zoom_fit_to_size (GeditPrintPreview *preview) +set_zoom_fit_to_size (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; double width, height; double p_width, p_height; double zoomx, zoomy; @@ -300,21 +300,21 @@ set_zoom_fit_to_size (GeditPrintPreview *preview) #define ZOOM_OUT_FACTOR (1.0 / ZOOM_IN_FACTOR) static void -zoom_in (GeditPrintPreview *preview) +zoom_in (PlumaPrintPreview *preview) { set_zoom_factor (preview, preview->priv->scale * ZOOM_IN_FACTOR); } static void -zoom_out (GeditPrintPreview *preview) +zoom_out (PlumaPrintPreview *preview) { set_zoom_factor (preview, preview->priv->scale * ZOOM_OUT_FACTOR); } static void -goto_page (GeditPrintPreview *preview, gint page) +goto_page (PlumaPrintPreview *preview, gint page) { gchar c[32]; @@ -337,7 +337,7 @@ goto_page (GeditPrintPreview *preview, gint page) static void prev_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { GdkEvent *event; gint page; @@ -356,7 +356,7 @@ prev_button_clicked (GtkWidget *button, static void next_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { GdkEvent *event; gint page; @@ -375,7 +375,7 @@ next_button_clicked (GtkWidget *button, static void page_entry_activated (GtkEntry *entry, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { const gchar *text; gint page; @@ -421,7 +421,7 @@ page_entry_insert_text (GtkEditable *editable, static gboolean page_entry_focus_out (GtkWidget *widget, GdkEventFocus *event, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { const gchar *text; gint page; @@ -443,32 +443,32 @@ page_entry_focus_out (GtkWidget *widget, } static void -on_1x1_clicked (GtkMenuItem *i, GeditPrintPreview *preview) +on_1x1_clicked (GtkMenuItem *i, PlumaPrintPreview *preview) { set_rows_and_cols (preview, 1, 1); } static void -on_1x2_clicked (GtkMenuItem *i, GeditPrintPreview *preview) +on_1x2_clicked (GtkMenuItem *i, PlumaPrintPreview *preview) { set_rows_and_cols (preview, 1, 2); } static void -on_2x1_clicked (GtkMenuItem *i, GeditPrintPreview *preview) +on_2x1_clicked (GtkMenuItem *i, PlumaPrintPreview *preview) { set_rows_and_cols (preview, 2, 1); } static void -on_2x2_clicked (GtkMenuItem *i, GeditPrintPreview *preview) +on_2x2_clicked (GtkMenuItem *i, PlumaPrintPreview *preview) { set_rows_and_cols (preview, 2, 2); } static void multi_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { GtkWidget *m, *i; @@ -506,43 +506,43 @@ multi_button_clicked (GtkWidget *button, static void zoom_one_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { set_zoom_factor (preview, 1); } static void zoom_fit_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { set_zoom_fit_to_size (preview); } static void zoom_in_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { zoom_in (preview); } static void zoom_out_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { zoom_out (preview); } static void close_button_clicked (GtkWidget *button, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { gtk_widget_destroy (GTK_WIDGET (preview)); } static void -create_bar (GeditPrintPreview *preview) +create_bar (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; GtkWidget *toolbar; GtkToolItem *i; AtkObject *atko; @@ -702,9 +702,9 @@ create_bar (GeditPrintPreview *preview) } static gint -get_first_page_displayed (GeditPrintPreview *preview) +get_first_page_displayed (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; priv = preview->priv; @@ -713,11 +713,11 @@ get_first_page_displayed (GeditPrintPreview *preview) /* returns the page number (starting from 0) or -1 if no page */ static gint -get_page_at_coords (GeditPrintPreview *preview, +get_page_at_coords (PlumaPrintPreview *preview, gint x, gint y) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; GtkAdjustment *hadj, *vadj; gint r, c, pg; @@ -755,7 +755,7 @@ preview_layout_query_tooltip (GtkWidget *widget, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { gint pg; gchar *tip; @@ -774,9 +774,9 @@ preview_layout_query_tooltip (GtkWidget *widget, static gint preview_layout_key_press (GtkWidget *widget, GdkEventKey *event, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; GtkAdjustment *hadj, *vadj; double x, y; guint h, w; @@ -937,9 +937,9 @@ preview_layout_key_press (GtkWidget *widget, } static void -create_preview_layout (GeditPrintPreview *preview) +create_preview_layout (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; AtkObject *atko; priv = preview->priv; @@ -984,13 +984,13 @@ create_preview_layout (GeditPrintPreview *preview) } static void -gedit_print_preview_init (GeditPrintPreview *preview) +pluma_print_preview_init (PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; priv = G_TYPE_INSTANCE_GET_PRIVATE (preview, - GEDIT_TYPE_PRINT_PREVIEW, - GeditPrintPreviewPrivate); + PLUMA_TYPE_PRINT_PREVIEW, + PlumaPrintPreviewPrivate); preview->priv = priv; @@ -1014,7 +1014,7 @@ gedit_print_preview_init (GeditPrintPreview *preview) static void draw_page_content (cairo_t *cr, gint page_number, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { /* scale to the desired size */ cairo_scale (cr, preview->priv->scale, preview->priv->scale); @@ -1047,7 +1047,7 @@ draw_page_content (cairo_t *cr, * the orientation */ static void draw_page_frame (cairo_t *cr, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { double w, h; @@ -1090,7 +1090,7 @@ draw_page (cairo_t *cr, double x, double y, gint page_number, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { cairo_save (cr); @@ -1106,9 +1106,9 @@ draw_page (cairo_t *cr, static gboolean preview_expose (GtkWidget *widget, GdkEventExpose *event, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { - GeditPrintPreviewPrivate *priv; + PlumaPrintPreviewPrivate *priv; GdkWindow *bin_window; cairo_t *cr; gint pg; @@ -1156,7 +1156,7 @@ preview_expose (GtkWidget *widget, } static double -get_screen_dpi (GeditPrintPreview *preview) +get_screen_dpi (PlumaPrintPreview *preview) { GdkScreen *screen; double dpi; @@ -1174,7 +1174,7 @@ get_screen_dpi (GeditPrintPreview *preview) } static void -set_n_pages (GeditPrintPreview *preview, +set_n_pages (PlumaPrintPreview *preview, gint n_pages) { gchar *str; @@ -1191,7 +1191,7 @@ set_n_pages (GeditPrintPreview *preview, static void preview_ready (GtkPrintOperationPreview *gtk_preview, GtkPrintContext *context, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { gint n_pages; @@ -1214,7 +1214,7 @@ preview_ready (GtkPrintOperationPreview *gtk_preview, } static void -update_paper_size (GeditPrintPreview *preview, +update_paper_size (PlumaPrintPreview *preview, GtkPageSetup *page_setup) { GtkPaperSize *paper_size; @@ -1231,7 +1231,7 @@ static void preview_got_page_size (GtkPrintOperationPreview *gtk_preview, GtkPrintContext *context, GtkPageSetup *page_setup, - GeditPrintPreview *preview) + PlumaPrintPreview *preview) { update_paper_size (preview, page_setup); } @@ -1267,7 +1267,7 @@ create_preview_surface_platform (GtkPaperSize *paper_size, } static cairo_surface_t * -create_preview_surface (GeditPrintPreview *preview, +create_preview_surface (PlumaPrintPreview *preview, double *dpi_x, double *dpi_y) { @@ -1282,11 +1282,11 @@ create_preview_surface (GeditPrintPreview *preview, } GtkWidget * -gedit_print_preview_new (GtkPrintOperation *op, +pluma_print_preview_new (GtkPrintOperation *op, GtkPrintOperationPreview *gtk_preview, GtkPrintContext *context) { - GeditPrintPreview *preview; + PlumaPrintPreview *preview; GtkPageSetup *page_setup; cairo_surface_t *surface; cairo_t *cr; @@ -1295,7 +1295,7 @@ gedit_print_preview_new (GtkPrintOperation *op, g_return_val_if_fail (GTK_IS_PRINT_OPERATION (op), NULL); g_return_val_if_fail (GTK_IS_PRINT_OPERATION_PREVIEW (gtk_preview), NULL); - preview = g_object_new (GEDIT_TYPE_PRINT_PREVIEW, NULL); + preview = g_object_new (PLUMA_TYPE_PRINT_PREVIEW, NULL); preview->priv->operation = g_object_ref (op); preview->priv->gtk_preview = g_object_ref (gtk_preview); diff --git a/pluma/pluma-print-preview.h b/pluma/pluma-print-preview.h new file mode 100755 index 0000000..80f5286 --- /dev/null +++ b/pluma/pluma-print-preview.h @@ -0,0 +1,71 @@ +/* + * pluma-print-preview.h + * + * Copyright (C) 2008 Paolo Borelli + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 1998-2006. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id: pluma-commands-search.c 5931 2007-09-25 20:05:40Z pborelli $ + */ + + +#ifndef __PLUMA_PRINT_PREVIEW_H__ +#define __PLUMA_PRINT_PREVIEW_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_PRINT_PREVIEW (pluma_print_preview_get_type ()) +#define PLUMA_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PLUMA_TYPE_PRINT_PREVIEW, PlumaPrintPreview)) +#define PLUMA_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_PRINT_PREVIEW, PlumaPrintPreviewClass)) +#define PLUMA_IS_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PLUMA_TYPE_PRINT_PREVIEW)) +#define PLUMA_IS_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PRINT_PREVIEW)) +#define PLUMA_PRINT_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_PRINT_PREVIEW, PlumaPrintPreviewClass)) + +typedef struct _PlumaPrintPreview PlumaPrintPreview; +typedef struct _PlumaPrintPreviewPrivate PlumaPrintPreviewPrivate; +typedef struct _PlumaPrintPreviewClass PlumaPrintPreviewClass; + +struct _PlumaPrintPreview +{ + GtkVBox parent; + PlumaPrintPreviewPrivate *priv; +}; + +struct _PlumaPrintPreviewClass +{ + GtkVBoxClass parent_class; + + void (* close) (PlumaPrintPreview *preview); +}; + + +GType pluma_print_preview_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_print_preview_new (GtkPrintOperation *op, + GtkPrintOperationPreview *gtk_preview, + GtkPrintContext *context); + +G_END_DECLS + +#endif /* __PLUMA_PRINT_PREVIEW_H__ */ diff --git a/gedit/gedit-progress-message-area.c b/pluma/pluma-progress-message-area.c similarity index 67% rename from gedit/gedit-progress-message-area.c rename to pluma/pluma-progress-message-area.c index d408bae..5674c75 100755 --- a/gedit/gedit-progress-message-area.c +++ b/pluma/pluma-progress-message-area.c @@ -1,6 +1,6 @@ /* - * gedit-progress-message-area.c - * This file is part of gedit + * pluma-progress-message-area.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -38,7 +38,7 @@ #include #include -#include "gedit-progress-message-area.h" +#include "pluma-progress-message-area.h" enum { PROP_0, @@ -46,9 +46,9 @@ enum { }; -#define GEDIT_PROGRESS_MESSAGE_AREA_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageAreaPrivate)) +#define PLUMA_PROGRESS_MESSAGE_AREA_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_PROGRESS_MESSAGE_AREA, PlumaProgressMessageAreaPrivate)) -struct _GeditProgressMessageAreaPrivate +struct _PlumaProgressMessageAreaPrivate { GtkWidget *image; GtkWidget *label; @@ -56,18 +56,18 @@ struct _GeditProgressMessageAreaPrivate }; #if !GTK_CHECK_VERSION (2, 17, 1) -G_DEFINE_TYPE(GeditProgressMessageArea, gedit_progress_message_area, GEDIT_TYPE_MESSAGE_AREA) +G_DEFINE_TYPE(PlumaProgressMessageArea, pluma_progress_message_area, PLUMA_TYPE_MESSAGE_AREA) #else -G_DEFINE_TYPE(GeditProgressMessageArea, gedit_progress_message_area, GTK_TYPE_INFO_BAR) +G_DEFINE_TYPE(PlumaProgressMessageArea, pluma_progress_message_area, GTK_TYPE_INFO_BAR) #endif static void -gedit_progress_message_area_set_has_cancel_button (GeditProgressMessageArea *area, +pluma_progress_message_area_set_has_cancel_button (PlumaProgressMessageArea *area, gboolean has_button) { if (has_button) #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_add_button (GEDIT_MESSAGE_AREA (area), + pluma_message_area_add_button (PLUMA_MESSAGE_AREA (area), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); #else @@ -80,19 +80,19 @@ gedit_progress_message_area_set_has_cancel_button (GeditProgressMessageArea *are } static void -gedit_progress_message_area_set_property (GObject *object, +pluma_progress_message_area_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditProgressMessageArea *area; + PlumaProgressMessageArea *area; - area = GEDIT_PROGRESS_MESSAGE_AREA (object); + area = PLUMA_PROGRESS_MESSAGE_AREA (object); switch (prop_id) { case PROP_HAS_CANCEL_BUTTON: - gedit_progress_message_area_set_has_cancel_button (area, + pluma_progress_message_area_set_has_cancel_button (area, g_value_get_boolean (value)); break; default: @@ -102,14 +102,14 @@ gedit_progress_message_area_set_property (GObject *object, } static void -gedit_progress_message_area_get_property (GObject *object, +pluma_progress_message_area_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditProgressMessageArea *area; + PlumaProgressMessageArea *area; - area = GEDIT_PROGRESS_MESSAGE_AREA (object); + area = PLUMA_PROGRESS_MESSAGE_AREA (object); switch (prop_id) { @@ -120,12 +120,12 @@ gedit_progress_message_area_get_property (GObject *object, } static void -gedit_progress_message_area_class_init (GeditProgressMessageAreaClass *klass) +pluma_progress_message_area_class_init (PlumaProgressMessageAreaClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - gobject_class->set_property = gedit_progress_message_area_set_property; - gobject_class->get_property = gedit_progress_message_area_get_property; + gobject_class->set_property = pluma_progress_message_area_set_property; + gobject_class->get_property = pluma_progress_message_area_get_property; g_object_class_install_property (gobject_class, PROP_HAS_CANCEL_BUTTON, @@ -137,16 +137,16 @@ gedit_progress_message_area_class_init (GeditProgressMessageAreaClass *klass) G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (gobject_class, sizeof(GeditProgressMessageAreaPrivate)); + g_type_class_add_private (gobject_class, sizeof(PlumaProgressMessageAreaPrivate)); } static void -gedit_progress_message_area_init (GeditProgressMessageArea *area) +pluma_progress_message_area_init (PlumaProgressMessageArea *area) { GtkWidget *vbox; GtkWidget *hbox; - area->priv = GEDIT_PROGRESS_MESSAGE_AREA_GET_PRIVATE (area); + area->priv = PLUMA_PROGRESS_MESSAGE_AREA_GET_PRIVATE (area); vbox = gtk_vbox_new (FALSE, 6); gtk_widget_show (vbox); @@ -175,7 +175,7 @@ gedit_progress_message_area_init (GeditProgressMessageArea *area) gtk_widget_set_size_request (area->priv->progress, -1, 15); #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_contents (GEDIT_MESSAGE_AREA (area), + pluma_message_area_set_contents (PLUMA_MESSAGE_AREA (area), vbox); #else GtkWidget *content; @@ -186,33 +186,33 @@ gedit_progress_message_area_init (GeditProgressMessageArea *area) } GtkWidget * -gedit_progress_message_area_new (const gchar *stock_id, +pluma_progress_message_area_new (const gchar *stock_id, const gchar *markup, gboolean has_cancel) { - GeditProgressMessageArea *area; + PlumaProgressMessageArea *area; g_return_val_if_fail (stock_id != NULL, NULL); g_return_val_if_fail (markup != NULL, NULL); - area = GEDIT_PROGRESS_MESSAGE_AREA (g_object_new (GEDIT_TYPE_PROGRESS_MESSAGE_AREA, + area = PLUMA_PROGRESS_MESSAGE_AREA (g_object_new (PLUMA_TYPE_PROGRESS_MESSAGE_AREA, "has-cancel-button", has_cancel, NULL)); - gedit_progress_message_area_set_stock_image (area, + pluma_progress_message_area_set_stock_image (area, stock_id); - gedit_progress_message_area_set_markup (area, + pluma_progress_message_area_set_markup (area, markup); return GTK_WIDGET (area); } void -gedit_progress_message_area_set_stock_image (GeditProgressMessageArea *area, +pluma_progress_message_area_set_stock_image (PlumaProgressMessageArea *area, const gchar *stock_id) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (area)); g_return_if_fail (stock_id != NULL); gtk_image_set_from_stock (GTK_IMAGE (area->priv->image), @@ -221,10 +221,10 @@ gedit_progress_message_area_set_stock_image (GeditProgressMessageArea *area, } void -gedit_progress_message_area_set_markup (GeditProgressMessageArea *area, +pluma_progress_message_area_set_markup (PlumaProgressMessageArea *area, const gchar *markup) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (area)); g_return_if_fail (markup != NULL); gtk_label_set_markup (GTK_LABEL (area->priv->label), @@ -232,10 +232,10 @@ gedit_progress_message_area_set_markup (GeditProgressMessageArea *area, } void -gedit_progress_message_area_set_text (GeditProgressMessageArea *area, +pluma_progress_message_area_set_text (PlumaProgressMessageArea *area, const gchar *text) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (area)); g_return_if_fail (text != NULL); gtk_label_set_text (GTK_LABEL (area->priv->label), @@ -243,19 +243,19 @@ gedit_progress_message_area_set_text (GeditProgressMessageArea *area, } void -gedit_progress_message_area_set_fraction (GeditProgressMessageArea *area, +pluma_progress_message_area_set_fraction (PlumaProgressMessageArea *area, gdouble fraction) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (area)); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (area->priv->progress), fraction); } void -gedit_progress_message_area_pulse (GeditProgressMessageArea *area) +pluma_progress_message_area_pulse (PlumaProgressMessageArea *area) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (area)); gtk_progress_bar_pulse (GTK_PROGRESS_BAR (area->priv->progress)); } diff --git a/pluma/pluma-progress-message-area.h b/pluma/pluma-progress-message-area.h new file mode 100755 index 0000000..3e8f651 --- /dev/null +++ b/pluma/pluma-progress-message-area.h @@ -0,0 +1,112 @@ +/* + * pluma-progress-message-area.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_PROGRESS_MESSAGE_AREA_H__ +#define __PLUMA_PROGRESS_MESSAGE_AREA_H__ + +#if !GTK_CHECK_VERSION (2, 17, 1) +#include +#else +#include +#endif + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_PROGRESS_MESSAGE_AREA (pluma_progress_message_area_get_type()) +#define PLUMA_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PROGRESS_MESSAGE_AREA, PlumaProgressMessageArea)) +#define PLUMA_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PROGRESS_MESSAGE_AREA, PlumaProgressMessageAreaClass)) +#define PLUMA_IS_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PROGRESS_MESSAGE_AREA)) +#define PLUMA_IS_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PROGRESS_MESSAGE_AREA)) +#define PLUMA_PROGRESS_MESSAGE_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PROGRESS_MESSAGE_AREA, PlumaProgressMessageAreaClass)) + +/* Private structure type */ +typedef struct _PlumaProgressMessageAreaPrivate PlumaProgressMessageAreaPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaProgressMessageArea PlumaProgressMessageArea; + +struct _PlumaProgressMessageArea +{ +#if !GTK_CHECK_VERSION (2, 17, 1) + PlumaMessageArea parent; +#else + GtkInfoBar parent; +#endif + + /*< private > */ + PlumaProgressMessageAreaPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaProgressMessageAreaClass PlumaProgressMessageAreaClass; + +struct _PlumaProgressMessageAreaClass +{ +#if !GTK_CHECK_VERSION (2, 17, 1) + PlumaMessageAreaClass parent_class; +#else + GtkInfoBarClass parent_class; +#endif +}; + +/* + * Public methods + */ +GType pluma_progress_message_area_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_progress_message_area_new (const gchar *stock_id, + const gchar *markup, + gboolean has_cancel); + +void pluma_progress_message_area_set_stock_image (PlumaProgressMessageArea *area, + const gchar *stock_id); + +void pluma_progress_message_area_set_markup (PlumaProgressMessageArea *area, + const gchar *markup); + +void pluma_progress_message_area_set_text (PlumaProgressMessageArea *area, + const gchar *text); + +void pluma_progress_message_area_set_fraction (PlumaProgressMessageArea *area, + gdouble fraction); + +void pluma_progress_message_area_pulse (PlumaProgressMessageArea *area); + + +G_END_DECLS + +#endif /* __PLUMA_PROGRESS_MESSAGE_AREA_H__ */ diff --git a/gedit/gedit-session.c b/pluma/pluma-session.c similarity index 70% rename from gedit/gedit-session.c rename to pluma/pluma-session.c index 3dc9f12..2a8b40e 100755 --- a/gedit/gedit-session.c +++ b/pluma/pluma-session.c @@ -1,6 +1,6 @@ /* - * gedit-session.c - Basic session management for gedit - * This file is part of gedit + * pluma-session.c - Basic session management for pluma + * This file is part of pluma * * Copyright (C) 2002 Ximian, Inc. * Copyright (C) 2005 - Paolo Maggi @@ -24,8 +24,8 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -42,16 +42,16 @@ #include #include -#include "gedit-session.h" +#include "pluma-session.h" -#include "gedit-debug.h" -#include "gedit-plugins-engine.h" -#include "gedit-prefs-manager-app.h" -#include "gedit-metadata-manager.h" -#include "gedit-window.h" -#include "gedit-app.h" -#include "gedit-commands.h" -#include "dialogs/gedit-close-confirmation-dialog.h" +#include "pluma-debug.h" +#include "pluma-plugins-engine.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-metadata-manager.h" +#include "pluma-window.h" +#include "pluma-app.h" +#include "pluma-commands.h" +#include "dialogs/pluma-close-confirmation-dialog.h" #include "smclient/eggsmclient.h" /* The master client we use for SM */ @@ -62,22 +62,22 @@ static GSList *window_dirty_list; static void ask_next_confirmation (void); -#define GEDIT_SESSION_LIST_OF_DOCS_TO_SAVE "gedit-session-list-of-docs-to-save-key" +#define PLUMA_SESSION_LIST_OF_DOCS_TO_SAVE "pluma-session-list-of-docs-to-save-key" static void save_window_session (GKeyFile *state_file, const gchar *group_name, - GeditWindow *window) + PlumaWindow *window) { const gchar *role; int width, height; - GeditPanel *panel; + PlumaPanel *panel; GList *docs, *l; GPtrArray *doc_array; - GeditDocument *active_document; + PlumaDocument *active_document; gchar *uri; - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); role = gtk_window_get_role (GTK_WINDOW (window)); g_key_file_set_string (state_file, group_name, "role", role); @@ -85,28 +85,28 @@ save_window_session (GKeyFile *state_file, g_key_file_set_integer (state_file, group_name, "width", width); g_key_file_set_integer (state_file, group_name, "height", height); - panel = gedit_window_get_side_panel (window); + panel = pluma_window_get_side_panel (window); g_key_file_set_boolean (state_file, group_name, "side-panel-visible", GTK_WIDGET_VISIBLE (panel)); - panel = gedit_window_get_bottom_panel (window); + panel = pluma_window_get_bottom_panel (window); g_key_file_set_boolean (state_file, group_name, "bottom-panel-visible", GTK_WIDGET_VISIBLE (panel)); - active_document = gedit_window_get_active_document (window); + active_document = pluma_window_get_active_document (window); if (active_document) { - uri = gedit_document_get_uri (active_document); + uri = pluma_document_get_uri (active_document); g_key_file_set_string (state_file, group_name, "active-document", uri); } - docs = gedit_window_get_documents (window); + docs = pluma_window_get_documents (window); doc_array = g_ptr_array_new (); for (l = docs; l != NULL; l = g_list_next (l)) { - uri = gedit_document_get_uri (GEDIT_DOCUMENT (l->data)); + uri = pluma_document_get_uri (PLUMA_DOCUMENT (l->data)); if (uri != NULL) g_ptr_array_add (doc_array, uri); @@ -137,15 +137,15 @@ client_save_state_cb (EggSMClient *client, gchar *group_name; int n; - windows = gedit_app_get_windows (gedit_app_get_default ()); + windows = pluma_app_get_windows (pluma_app_get_default ()); n = 1; while (windows != NULL) { - group_name = g_strdup_printf ("gedit window %d", n); + group_name = g_strdup_printf ("pluma window %d", n); save_window_session (state_file, group_name, - GEDIT_WINDOW (windows->data)); + PLUMA_WINDOW (windows->data)); g_free (group_name); windows = g_list_next (windows); @@ -154,7 +154,7 @@ client_save_state_cb (EggSMClient *client, } static void -window_handled (GeditWindow *window) +window_handled (PlumaWindow *window) { window_dirty_list = g_slist_remove (window_dirty_list, window); @@ -166,26 +166,26 @@ window_handled (GeditWindow *window) } static void -window_state_change (GeditWindow *window, +window_state_change (PlumaWindow *window, GParamSpec *pspec, gpointer data) { - GeditWindowState state; + PlumaWindowState state; GList *unsaved_docs; GList *docs_to_save; GList *l; gboolean done = TRUE; - state = gedit_window_get_state (window); + state = pluma_window_get_state (window); /* we are still saving */ - if (state & GEDIT_WINDOW_STATE_SAVING) + if (state & PLUMA_WINDOW_STATE_SAVING) return; - unsaved_docs = gedit_window_get_unsaved_documents (window); + unsaved_docs = pluma_window_get_unsaved_documents (window); docs_to_save = g_object_get_data (G_OBJECT (window), - GEDIT_SESSION_LIST_OF_DOCS_TO_SAVE); + PLUMA_SESSION_LIST_OF_DOCS_TO_SAVE); for (l = docs_to_save; l != NULL; l = l->next) @@ -202,7 +202,7 @@ window_state_change (GeditWindow *window, g_signal_handlers_disconnect_by_func (window, window_state_change, data); g_list_free (docs_to_save); g_object_set_data (G_OBJECT (window), - GEDIT_SESSION_LIST_OF_DOCS_TO_SAVE, + PLUMA_SESSION_LIST_OF_DOCS_TO_SAVE, NULL); window_handled (window); @@ -212,14 +212,14 @@ window_state_change (GeditWindow *window, } static void -close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, +close_confirmation_dialog_response_handler (PlumaCloseConfirmationDialog *dlg, gint response_id, - GeditWindow *window) + PlumaWindow *window) { GList *selected_documents; GSList *l; - gedit_debug (DEBUG_COMMANDS); + pluma_debug (DEBUG_COMMANDS); switch (response_id) { @@ -231,16 +231,16 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, G_CALLBACK (window_state_change), NULL); - selected_documents = gedit_close_confirmation_dialog_get_selected_documents (dlg); + selected_documents = pluma_close_confirmation_dialog_get_selected_documents (dlg); g_return_if_fail (g_object_get_data (G_OBJECT (window), - GEDIT_SESSION_LIST_OF_DOCS_TO_SAVE) == NULL); + PLUMA_SESSION_LIST_OF_DOCS_TO_SAVE) == NULL); g_object_set_data (G_OBJECT (window), - GEDIT_SESSION_LIST_OF_DOCS_TO_SAVE, + PLUMA_SESSION_LIST_OF_DOCS_TO_SAVE, selected_documents); - _gedit_cmd_file_save_documents_list (window, selected_documents); + _pluma_cmd_file_save_documents_list (window, selected_documents); /* FIXME: also need to lock the window to prevent further changes... */ @@ -269,38 +269,38 @@ close_confirmation_dialog_response_handler (GeditCloseConfirmationDialog *dlg, } static void -show_confirmation_dialog (GeditWindow *window) +show_confirmation_dialog (PlumaWindow *window) { GList *unsaved_docs; GtkWidget *dlg; - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); - unsaved_docs = gedit_window_get_unsaved_documents (window); + unsaved_docs = pluma_window_get_unsaved_documents (window); g_return_if_fail (unsaved_docs != NULL); if (unsaved_docs->next == NULL) { /* There is only one unsaved document */ - GeditTab *tab; - GeditDocument *doc; + PlumaTab *tab; + PlumaDocument *doc; - doc = GEDIT_DOCUMENT (unsaved_docs->data); + doc = PLUMA_DOCUMENT (unsaved_docs->data); - tab = gedit_tab_get_from_document (doc); + tab = pluma_tab_get_from_document (doc); g_return_if_fail (tab != NULL); - gedit_window_set_active_tab (window, tab); + pluma_window_set_active_tab (window, tab); - dlg = gedit_close_confirmation_dialog_new_single ( + dlg = pluma_close_confirmation_dialog_new_single ( GTK_WINDOW (window), doc, TRUE); } else { - dlg = gedit_close_confirmation_dialog_new (GTK_WINDOW (window), + dlg = pluma_close_confirmation_dialog_new (GTK_WINDOW (window), unsaved_docs, TRUE); } @@ -324,19 +324,19 @@ ask_next_confirmation (void) * in the dirty list. The next confirmation is asked once * this one has been handled. */ - show_confirmation_dialog (GEDIT_WINDOW (window_dirty_list->data)); + show_confirmation_dialog (PLUMA_WINDOW (window_dirty_list->data)); } /* quit_requested handler for the master client */ static void client_quit_requested_cb (EggSMClient *client, gpointer data) { - GeditApp *app; + PlumaApp *app; const GList *l; - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); - app = gedit_app_get_default (); + app = pluma_app_get_default (); if (window_dirty_list != NULL) { @@ -344,9 +344,9 @@ client_quit_requested_cb (EggSMClient *client, gpointer data) window_dirty_list = NULL; } - for (l = gedit_app_get_windows (app); l != NULL; l = l->next) + for (l = pluma_app_get_windows (app); l != NULL; l = l->next) { - if (gedit_window_get_unsaved_documents (GEDIT_WINDOW (l->data)) != NULL) + if (pluma_window_get_unsaved_documents (PLUMA_WINDOW (l->data)) != NULL) { window_dirty_list = g_slist_prepend (window_dirty_list, l->data); } @@ -362,7 +362,7 @@ client_quit_requested_cb (EggSMClient *client, gpointer data) ask_next_confirmation (); - gedit_debug_message (DEBUG_SESSION, "END"); + pluma_debug_message (DEBUG_SESSION, "END"); } /* quit handler for the master client */ @@ -370,41 +370,41 @@ static void client_quit_cb (EggSMClient *client, gpointer data) { #if 0 - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); if (!client->save_yourself_emitted) - gedit_file_close_all (); + pluma_file_close_all (); - gedit_debug_message (DEBUG_FILE, "All files closed."); + pluma_debug_message (DEBUG_FILE, "All files closed."); - matecomponent_mdi_destroy (MATECOMPONENT_MDI (gedit_mdi)); + matecomponent_mdi_destroy (MATECOMPONENT_MDI (pluma_mdi)); - gedit_debug_message (DEBUG_FILE, "Unref gedit_mdi."); + pluma_debug_message (DEBUG_FILE, "Unref pluma_mdi."); - g_object_unref (G_OBJECT (gedit_mdi)); + g_object_unref (G_OBJECT (pluma_mdi)); - gedit_debug_message (DEBUG_FILE, "Unref gedit_mdi: DONE"); + pluma_debug_message (DEBUG_FILE, "Unref pluma_mdi: DONE"); - gedit_debug_message (DEBUG_FILE, "Unref gedit_app_server."); + pluma_debug_message (DEBUG_FILE, "Unref pluma_app_server."); - matecomponent_object_unref (gedit_app_server); + matecomponent_object_unref (pluma_app_server); - gedit_debug_message (DEBUG_FILE, "Unref gedit_app_server: DONE"); + pluma_debug_message (DEBUG_FILE, "Unref pluma_app_server: DONE"); #endif gtk_main_quit (); } /** - * gedit_session_init: + * pluma_session_init: * * Initializes session management support. This function should be called near * the beginning of the program. **/ void -gedit_session_init (void) +pluma_session_init (void) { - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); if (master_client) return; @@ -425,27 +425,27 @@ gedit_session_init (void) } /** - * gedit_session_is_restored: + * pluma_session_is_restored: * - * Returns whether this gedit is running from a restarted session. + * Returns whether this pluma is running from a restarted session. * * Return value: TRUE if the session manager restarted us, FALSE otherwise. * This should be used to determine whether to pay attention to command line * arguments in case the session was not restored. **/ gboolean -gedit_session_is_restored (void) +pluma_session_is_restored (void) { gboolean restored; - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); if (!master_client) return FALSE; restored = egg_sm_client_is_resumed (master_client); - gedit_debug_message (DEBUG_SESSION, restored ? "RESTORED" : "NOT RESTORED"); + pluma_debug_message (DEBUG_SESSION, restored ? "RESTORED" : "NOT RESTORED"); return restored; } @@ -453,18 +453,18 @@ gedit_session_is_restored (void) static void parse_window (GKeyFile *state_file, const char *group_name) { - GeditWindow *window; + PlumaWindow *window; gchar *role, *active_document, **documents; int width, height; gboolean visible; - GeditPanel *panel; + PlumaPanel *panel; GError *error = NULL; role = g_key_file_get_string (state_file, group_name, "role", NULL); - gedit_debug_message (DEBUG_SESSION, "Window role: %s", role); + pluma_debug_message (DEBUG_SESSION, "Window role: %s", role); - window = _gedit_app_restore_window (gedit_app_get_default (), (gchar *) role); + window = _pluma_app_restore_window (pluma_app_get_default (), (gchar *) role); g_free (role); if (window == NULL) @@ -498,16 +498,16 @@ parse_window (GKeyFile *state_file, const char *group_name) visible = FALSE; } - panel = gedit_window_get_side_panel (window); + panel = pluma_window_get_side_panel (window); if (visible) { - gedit_debug_message (DEBUG_SESSION, "Side panel visible"); + pluma_debug_message (DEBUG_SESSION, "Side panel visible"); gtk_widget_show (GTK_WIDGET (panel)); } else { - gedit_debug_message (DEBUG_SESSION, "Side panel _NOT_ visible"); + pluma_debug_message (DEBUG_SESSION, "Side panel _NOT_ visible"); gtk_widget_hide (GTK_WIDGET (panel)); } @@ -519,15 +519,15 @@ parse_window (GKeyFile *state_file, const char *group_name) visible = FALSE; } - panel = gedit_window_get_bottom_panel (window); + panel = pluma_window_get_bottom_panel (window); if (visible) { - gedit_debug_message (DEBUG_SESSION, "Bottom panel visible"); + pluma_debug_message (DEBUG_SESSION, "Bottom panel visible"); gtk_widget_show (GTK_WIDGET (panel)); } else { - gedit_debug_message (DEBUG_SESSION, "Bottom panel _NOT_ visible"); + pluma_debug_message (DEBUG_SESSION, "Bottom panel _NOT_ visible"); gtk_widget_hide (GTK_WIDGET (panel)); } @@ -546,11 +546,11 @@ parse_window (GKeyFile *state_file, const char *group_name) jump_to = strcmp (active_document, documents[i]) == 0; - gedit_debug_message (DEBUG_SESSION, + pluma_debug_message (DEBUG_SESSION, "URI: %s (%s)", documents[i], jump_to ? "active" : "not active"); - gedit_window_create_tab_from_uri (window, + pluma_window_create_tab_from_uri (window, documents[i], NULL, 0, @@ -566,7 +566,7 @@ parse_window (GKeyFile *state_file, const char *group_name) } /** - * gedit_session_load: + * pluma_session_load: * * Loads the session by fetching the necessary information from the session * manager and opening files. @@ -574,13 +574,13 @@ parse_window (GKeyFile *state_file, const char *group_name) * Return value: TRUE if the session was loaded successfully, FALSE otherwise. **/ gboolean -gedit_session_load (void) +pluma_session_load (void) { GKeyFile *state_file; gchar **groups; int i; - gedit_debug (DEBUG_SESSION); + pluma_debug (DEBUG_SESSION); state_file = egg_sm_client_get_state_file (master_client); if (state_file == NULL) @@ -590,7 +590,7 @@ gedit_session_load (void) for (i = 0; groups[i] != NULL; i++) { - if (g_str_has_prefix (groups[i], "gedit window ")) + if (g_str_has_prefix (groups[i], "pluma window ")) parse_window (state_file, groups[i]); } diff --git a/gedit/gedit-session.h b/pluma/pluma-session.h similarity index 71% rename from gedit/gedit-session.h rename to pluma/pluma-session.h index ba59c13..4e48f2d 100755 --- a/gedit/gedit-session.h +++ b/pluma/pluma-session.h @@ -1,6 +1,6 @@ /* - * gedit-session.h - Basic session management for gedit - * This file is part of gedit + * pluma-session.h - Basic session management for pluma + * This file is part of pluma * * Copyright (C) 2002 Ximian, Inc. * Copyright (C) 2005 - Paolo Maggi @@ -24,24 +24,24 @@ */ /* - * Modified by the gedit Team, 2002-2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2002-2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id */ -#ifndef __GEDIT_SESSION_H__ -#define __GEDIT_SESSION_H__ +#ifndef __PLUMA_SESSION_H__ +#define __PLUMA_SESSION_H__ #include G_BEGIN_DECLS -void gedit_session_init (void); -gboolean gedit_session_is_restored (void); -gboolean gedit_session_load (void); +void pluma_session_init (void); +gboolean pluma_session_is_restored (void); +gboolean pluma_session_load (void); G_END_DECLS -#endif /* __GEDIT_SESSION_H__ */ +#endif /* __PLUMA_SESSION_H__ */ diff --git a/gedit/gedit-smart-charset-converter.c b/pluma/pluma-smart-charset-converter.c similarity index 68% rename from gedit/gedit-smart-charset-converter.c rename to pluma/pluma-smart-charset-converter.c index e32b0b1..5f3f8fe 100755 --- a/gedit/gedit-smart-charset-converter.c +++ b/pluma/pluma-smart-charset-converter.c @@ -1,35 +1,35 @@ /* - * gedit-smart-charset-converter.c - * This file is part of gedit + * pluma-smart-charset-converter.c + * This file is part of pluma * * Copyright (C) 2009 - Ignacio Casal Quinteiro * - * gedit is free software; you can redistribute it and/or modify + * pluma 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. * - * gedit is distributed in the hope that it will be useful, + * pluma 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 gedit; if not, write to the Free Software + * along with pluma; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ -#include "gedit-smart-charset-converter.h" -#include "gedit-debug.h" -#include "gedit-document.h" +#include "pluma-smart-charset-converter.h" +#include "pluma-debug.h" +#include "pluma-document.h" #include #include -#define GEDIT_SMART_CHARSET_CONVERTER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverterPrivate)) +#define PLUMA_SMART_CHARSET_CONVERTER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_SMART_CHARSET_CONVERTER, PlumaSmartCharsetConverterPrivate)) -struct _GeditSmartCharsetConverterPrivate +struct _PlumaSmartCharsetConverterPrivate { GCharsetConverter *charset_conv; @@ -40,29 +40,29 @@ struct _GeditSmartCharsetConverterPrivate guint use_first : 1; }; -static void gedit_smart_charset_converter_iface_init (GConverterIface *iface); +static void pluma_smart_charset_converter_iface_init (GConverterIface *iface); -G_DEFINE_TYPE_WITH_CODE (GeditSmartCharsetConverter, gedit_smart_charset_converter, +G_DEFINE_TYPE_WITH_CODE (PlumaSmartCharsetConverter, pluma_smart_charset_converter, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (G_TYPE_CONVERTER, - gedit_smart_charset_converter_iface_init)) + pluma_smart_charset_converter_iface_init)) static void -gedit_smart_charset_converter_finalize (GObject *object) +pluma_smart_charset_converter_finalize (GObject *object) { - GeditSmartCharsetConverter *smart = GEDIT_SMART_CHARSET_CONVERTER (object); + PlumaSmartCharsetConverter *smart = PLUMA_SMART_CHARSET_CONVERTER (object); g_slist_free (smart->priv->encodings); - gedit_debug_message (DEBUG_UTILS, "finalizing smart charset converter"); + pluma_debug_message (DEBUG_UTILS, "finalizing smart charset converter"); - G_OBJECT_CLASS (gedit_smart_charset_converter_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_smart_charset_converter_parent_class)->finalize (object); } static void -gedit_smart_charset_converter_dispose (GObject *object) +pluma_smart_charset_converter_dispose (GObject *object) { - GeditSmartCharsetConverter *smart = GEDIT_SMART_CHARSET_CONVERTER (object); + PlumaSmartCharsetConverter *smart = PLUMA_SMART_CHARSET_CONVERTER (object); if (smart->priv->charset_conv != NULL) { @@ -70,26 +70,26 @@ gedit_smart_charset_converter_dispose (GObject *object) smart->priv->charset_conv = NULL; } - gedit_debug_message (DEBUG_UTILS, "disposing smart charset converter"); + pluma_debug_message (DEBUG_UTILS, "disposing smart charset converter"); - G_OBJECT_CLASS (gedit_smart_charset_converter_parent_class)->dispose (object); + G_OBJECT_CLASS (pluma_smart_charset_converter_parent_class)->dispose (object); } static void -gedit_smart_charset_converter_class_init (GeditSmartCharsetConverterClass *klass) +pluma_smart_charset_converter_class_init (PlumaSmartCharsetConverterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_smart_charset_converter_finalize; - object_class->dispose = gedit_smart_charset_converter_dispose; + object_class->finalize = pluma_smart_charset_converter_finalize; + object_class->dispose = pluma_smart_charset_converter_dispose; - g_type_class_add_private (object_class, sizeof (GeditSmartCharsetConverterPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaSmartCharsetConverterPrivate)); } static void -gedit_smart_charset_converter_init (GeditSmartCharsetConverter *smart) +pluma_smart_charset_converter_init (PlumaSmartCharsetConverter *smart) { - smart->priv = GEDIT_SMART_CHARSET_CONVERTER_GET_PRIVATE (smart); + smart->priv = PLUMA_SMART_CHARSET_CONVERTER_GET_PRIVATE (smart); smart->priv->charset_conv = NULL; smart->priv->encodings = NULL; @@ -97,11 +97,11 @@ gedit_smart_charset_converter_init (GeditSmartCharsetConverter *smart) smart->priv->is_utf8 = FALSE; smart->priv->use_first = FALSE; - gedit_debug_message (DEBUG_UTILS, "initializing smart charset converter"); + pluma_debug_message (DEBUG_UTILS, "initializing smart charset converter"); } -static const GeditEncoding * -get_encoding (GeditSmartCharsetConverter *smart) +static const PlumaEncoding * +get_encoding (PlumaSmartCharsetConverter *smart) { if (smart->priv->current_encoding == NULL) { @@ -113,7 +113,7 @@ get_encoding (GeditSmartCharsetConverter *smart) } if (smart->priv->current_encoding != NULL) - return (const GeditEncoding *)smart->priv->current_encoding->data; + return (const PlumaEncoding *)smart->priv->current_encoding->data; #if 0 FIXME: uncomment this when using fallback @@ -121,7 +121,7 @@ get_encoding (GeditSmartCharsetConverter *smart) smart->priv->use_first = TRUE; smart->priv->current_encoding = smart->priv->encodings; - return (const GeditEncoding *)smart->priv->current_encoding->data; + return (const PlumaEncoding *)smart->priv->current_encoding->data; #endif return NULL; } @@ -199,7 +199,7 @@ try_convert (GCharsetConverter *converter, } static GCharsetConverter * -guess_encoding (GeditSmartCharsetConverter *smart, +guess_encoding (PlumaSmartCharsetConverter *smart, const void *inbuf, gsize inbuf_size) { @@ -218,7 +218,7 @@ guess_encoding (GeditSmartCharsetConverter *smart, /* We just check the first block */ while (TRUE) { - const GeditEncoding *enc; + const PlumaEncoding *enc; if (conv != NULL) { @@ -235,10 +235,10 @@ guess_encoding (GeditSmartCharsetConverter *smart, break; } - gedit_debug_message (DEBUG_UTILS, "trying charset: %s", - gedit_encoding_get_charset (smart->priv->current_encoding->data)); + pluma_debug_message (DEBUG_UTILS, "trying charset: %s", + pluma_encoding_get_charset (smart->priv->current_encoding->data)); - if (enc == gedit_encoding_get_utf8 ()) + if (enc == pluma_encoding_get_utf8 ()) { gsize remainder; const gchar *end; @@ -262,7 +262,7 @@ guess_encoding (GeditSmartCharsetConverter *smart, } conv = g_charset_converter_new ("UTF-8", - gedit_encoding_get_charset (enc), + pluma_encoding_get_charset (enc), NULL); /* If we tried all encodings we use the first one */ @@ -290,7 +290,7 @@ guess_encoding (GeditSmartCharsetConverter *smart, } static GConverterResult -gedit_smart_charset_converter_convert (GConverter *converter, +pluma_smart_charset_converter_convert (GConverter *converter, const void *inbuf, gsize inbuf_size, void *outbuf, @@ -300,7 +300,7 @@ gedit_smart_charset_converter_convert (GConverter *converter, gsize *bytes_written, GError **error) { - GeditSmartCharsetConverter *smart = GEDIT_SMART_CHARSET_CONVERTER (converter); + PlumaSmartCharsetConverter *smart = PLUMA_SMART_CHARSET_CONVERTER (converter); /* Guess the encoding if we didn't make it yet */ if (smart->priv->charset_conv == NULL && @@ -313,9 +313,9 @@ gedit_smart_charset_converter_convert (GConverter *converter, if (smart->priv->charset_conv == NULL && !smart->priv->is_utf8) { - /* FIXME: Add a different domain when we kill gedit_convert */ - g_set_error_literal (error, GEDIT_DOCUMENT_ERROR, - GEDIT_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED, + /* FIXME: Add a different domain when we kill pluma_convert */ + g_set_error_literal (error, PLUMA_DOCUMENT_ERROR, + PLUMA_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED, _("It is not possible to detect the encoding automatically")); return G_CONVERTER_ERROR; } @@ -357,9 +357,9 @@ gedit_smart_charset_converter_convert (GConverter *converter, } static void -gedit_smart_charset_converter_reset (GConverter *converter) +pluma_smart_charset_converter_reset (GConverter *converter) { - GeditSmartCharsetConverter *smart = GEDIT_SMART_CHARSET_CONVERTER (converter); + PlumaSmartCharsetConverter *smart = PLUMA_SMART_CHARSET_CONVERTER (converter); smart->priv->current_encoding = NULL; smart->priv->is_utf8 = FALSE; @@ -372,47 +372,47 @@ gedit_smart_charset_converter_reset (GConverter *converter) } static void -gedit_smart_charset_converter_iface_init (GConverterIface *iface) +pluma_smart_charset_converter_iface_init (GConverterIface *iface) { - iface->convert = gedit_smart_charset_converter_convert; - iface->reset = gedit_smart_charset_converter_reset; + iface->convert = pluma_smart_charset_converter_convert; + iface->reset = pluma_smart_charset_converter_reset; } -GeditSmartCharsetConverter * -gedit_smart_charset_converter_new (GSList *candidate_encodings) +PlumaSmartCharsetConverter * +pluma_smart_charset_converter_new (GSList *candidate_encodings) { - GeditSmartCharsetConverter *smart; + PlumaSmartCharsetConverter *smart; g_return_val_if_fail (candidate_encodings != NULL, NULL); - smart = g_object_new (GEDIT_TYPE_SMART_CHARSET_CONVERTER, NULL); + smart = g_object_new (PLUMA_TYPE_SMART_CHARSET_CONVERTER, NULL); smart->priv->encodings = g_slist_copy (candidate_encodings); return smart; } -const GeditEncoding * -gedit_smart_charset_converter_get_guessed (GeditSmartCharsetConverter *smart) +const PlumaEncoding * +pluma_smart_charset_converter_get_guessed (PlumaSmartCharsetConverter *smart) { - g_return_val_if_fail (GEDIT_IS_SMART_CHARSET_CONVERTER (smart), NULL); + g_return_val_if_fail (PLUMA_IS_SMART_CHARSET_CONVERTER (smart), NULL); if (smart->priv->current_encoding != NULL) { - return (const GeditEncoding *)smart->priv->current_encoding->data; + return (const PlumaEncoding *)smart->priv->current_encoding->data; } else if (smart->priv->is_utf8) { - return gedit_encoding_get_utf8 (); + return pluma_encoding_get_utf8 (); } return NULL; } guint -gedit_smart_charset_converter_get_num_fallbacks (GeditSmartCharsetConverter *smart) +pluma_smart_charset_converter_get_num_fallbacks (PlumaSmartCharsetConverter *smart) { - g_return_val_if_fail (GEDIT_IS_SMART_CHARSET_CONVERTER (smart), FALSE); + g_return_val_if_fail (PLUMA_IS_SMART_CHARSET_CONVERTER (smart), FALSE); if (smart->priv->charset_conv == NULL) return FALSE; diff --git a/pluma/pluma-smart-charset-converter.h b/pluma/pluma-smart-charset-converter.h new file mode 100755 index 0000000..3f6e74e --- /dev/null +++ b/pluma/pluma-smart-charset-converter.h @@ -0,0 +1,66 @@ +/* + * pluma-smart-charset-converter.h + * This file is part of pluma + * + * Copyright (C) 2009 - Ignacio Casal Quinteiro + * + * pluma 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. + * + * pluma 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 pluma; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef __PLUMA_SMART_CHARSET_CONVERTER_H__ +#define __PLUMA_SMART_CHARSET_CONVERTER_H__ + +#include + +#include "pluma-encodings.h" + +G_BEGIN_DECLS + +#define PLUMA_TYPE_SMART_CHARSET_CONVERTER (pluma_smart_charset_converter_get_type ()) +#define PLUMA_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_SMART_CHARSET_CONVERTER, PlumaSmartCharsetConverter)) +#define PLUMA_SMART_CHARSET_CONVERTER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_SMART_CHARSET_CONVERTER, PlumaSmartCharsetConverter const)) +#define PLUMA_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_SMART_CHARSET_CONVERTER, PlumaSmartCharsetConverterClass)) +#define PLUMA_IS_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_SMART_CHARSET_CONVERTER)) +#define PLUMA_IS_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_SMART_CHARSET_CONVERTER)) +#define PLUMA_SMART_CHARSET_CONVERTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_SMART_CHARSET_CONVERTER, PlumaSmartCharsetConverterClass)) + +typedef struct _PlumaSmartCharsetConverter PlumaSmartCharsetConverter; +typedef struct _PlumaSmartCharsetConverterClass PlumaSmartCharsetConverterClass; +typedef struct _PlumaSmartCharsetConverterPrivate PlumaSmartCharsetConverterPrivate; + +struct _PlumaSmartCharsetConverter +{ + GObject parent; + + PlumaSmartCharsetConverterPrivate *priv; +}; + +struct _PlumaSmartCharsetConverterClass +{ + GObjectClass parent_class; +}; + +GType pluma_smart_charset_converter_get_type (void) G_GNUC_CONST; + +PlumaSmartCharsetConverter *pluma_smart_charset_converter_new (GSList *candidate_encodings); + +const PlumaEncoding *pluma_smart_charset_converter_get_guessed (PlumaSmartCharsetConverter *smart); + +guint pluma_smart_charset_converter_get_num_fallbacks(PlumaSmartCharsetConverter *smart); + +G_END_DECLS + +#endif /* __PLUMA_SMART_CHARSET_CONVERTER_H__ */ diff --git a/gedit/gedit-spinner.c b/pluma/pluma-spinner.c similarity index 64% rename from gedit/gedit-spinner.c rename to pluma/pluma-spinner.c index 5cb7458..38a6f34 100755 --- a/gedit/gedit-spinner.c +++ b/pluma/pluma-spinner.c @@ -1,6 +1,6 @@ /* - * gedit-spinner.c - * This file is part of gedit + * pluma-spinner.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * Copyright (C) 2002-2004 Marco Pesenti Gritti @@ -28,8 +28,8 @@ * Caja. It was then modified by Marco Pesenti Gritti and Christian Persch * for Epiphany. * - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -39,42 +39,42 @@ #include #endif -#include "gedit-spinner.h" +#include "pluma-spinner.h" #include #include /* Spinner cache implementation */ -#define GEDIT_TYPE_SPINNER_CACHE (gedit_spinner_cache_get_type()) -#define GEDIT_SPINNER_CACHE(object) (G_TYPE_CHECK_INSTANCE_CAST((object), GEDIT_TYPE_SPINNER_CACHE, GeditSpinnerCache)) -#define GEDIT_SPINNER_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_SPINNER_CACHE, GeditSpinnerCacheClass)) -#define GEDIT_IS_SPINNER_CACHE(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), GEDIT_TYPE_SPINNER_CACHE)) -#define GEDIT_IS_SPINNER_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GEDIT_TYPE_SPINNER_CACHE)) -#define GEDIT_SPINNER_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_SPINNER_CACHE, GeditSpinnerCacheClass)) +#define PLUMA_TYPE_SPINNER_CACHE (pluma_spinner_cache_get_type()) +#define PLUMA_SPINNER_CACHE(object) (G_TYPE_CHECK_INSTANCE_CAST((object), PLUMA_TYPE_SPINNER_CACHE, PlumaSpinnerCache)) +#define PLUMA_SPINNER_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_SPINNER_CACHE, PlumaSpinnerCacheClass)) +#define PLUMA_IS_SPINNER_CACHE(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), PLUMA_TYPE_SPINNER_CACHE)) +#define PLUMA_IS_SPINNER_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PLUMA_TYPE_SPINNER_CACHE)) +#define PLUMA_SPINNER_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_SPINNER_CACHE, PlumaSpinnerCacheClass)) -typedef struct _GeditSpinnerCache GeditSpinnerCache; -typedef struct _GeditSpinnerCacheClass GeditSpinnerCacheClass; -typedef struct _GeditSpinnerCachePrivate GeditSpinnerCachePrivate; +typedef struct _PlumaSpinnerCache PlumaSpinnerCache; +typedef struct _PlumaSpinnerCacheClass PlumaSpinnerCacheClass; +typedef struct _PlumaSpinnerCachePrivate PlumaSpinnerCachePrivate; -struct _GeditSpinnerCacheClass +struct _PlumaSpinnerCacheClass { GObjectClass parent_class; }; -struct _GeditSpinnerCache +struct _PlumaSpinnerCache { GObject parent_object; /*< private >*/ - GeditSpinnerCachePrivate *priv; + PlumaSpinnerCachePrivate *priv; }; -#define GEDIT_SPINNER_CACHE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_SPINNER_CACHE, GeditSpinnerCachePrivate)) +#define PLUMA_SPINNER_CACHE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_SPINNER_CACHE, PlumaSpinnerCachePrivate)) -struct _GeditSpinnerCachePrivate +struct _PlumaSpinnerCachePrivate { - /* Hash table of GdkScreen -> GeditSpinnerCacheData */ + /* Hash table of GdkScreen -> PlumaSpinnerCacheData */ GHashTable *hash; }; @@ -86,27 +86,27 @@ typedef struct gint height; GdkPixbuf **animation_pixbufs; guint n_animation_pixbufs; -} GeditSpinnerImages; +} PlumaSpinnerImages; #define LAST_ICON_SIZE GTK_ICON_SIZE_DIALOG + 1 #define SPINNER_ICON_NAME "process-working" #define SPINNER_FALLBACK_ICON_NAME "mate-spinner" -#define GEDIT_SPINNER_IMAGES_INVALID ((GeditSpinnerImages *) 0x1) +#define PLUMA_SPINNER_IMAGES_INVALID ((PlumaSpinnerImages *) 0x1) typedef struct { GdkScreen *screen; GtkIconTheme *icon_theme; - GeditSpinnerImages *images[LAST_ICON_SIZE]; -} GeditSpinnerCacheData; + PlumaSpinnerImages *images[LAST_ICON_SIZE]; +} PlumaSpinnerCacheData; -static void gedit_spinner_cache_class_init (GeditSpinnerCacheClass *klass); -static void gedit_spinner_cache_init (GeditSpinnerCache *cache); +static void pluma_spinner_cache_class_init (PlumaSpinnerCacheClass *klass); +static void pluma_spinner_cache_init (PlumaSpinnerCache *cache); -static GObjectClass *gedit_spinner_cache_parent_class; +static GObjectClass *pluma_spinner_cache_parent_class; static GType -gedit_spinner_cache_get_type (void) +pluma_spinner_cache_get_type (void) { static GType type = 0; @@ -114,27 +114,27 @@ gedit_spinner_cache_get_type (void) { const GTypeInfo our_info = { - sizeof (GeditSpinnerCacheClass), + sizeof (PlumaSpinnerCacheClass), NULL, NULL, - (GClassInitFunc) gedit_spinner_cache_class_init, + (GClassInitFunc) pluma_spinner_cache_class_init, NULL, NULL, - sizeof (GeditSpinnerCache), + sizeof (PlumaSpinnerCache), 0, - (GInstanceInitFunc) gedit_spinner_cache_init + (GInstanceInitFunc) pluma_spinner_cache_init }; type = g_type_register_static (G_TYPE_OBJECT, - "GeditSpinnerCache", + "PlumaSpinnerCache", &our_info, 0); } return type; } -static GeditSpinnerImages * -gedit_spinner_images_ref (GeditSpinnerImages *images) +static PlumaSpinnerImages * +pluma_spinner_images_ref (PlumaSpinnerImages *images) { g_return_val_if_fail (images != NULL, NULL); @@ -144,7 +144,7 @@ gedit_spinner_images_ref (GeditSpinnerImages *images) } static void -gedit_spinner_images_unref (GeditSpinnerImages *images) +pluma_spinner_images_unref (PlumaSpinnerImages *images) { g_return_if_fail (images != NULL); @@ -166,23 +166,23 @@ gedit_spinner_images_unref (GeditSpinnerImages *images) } static void -gedit_spinner_cache_data_unload (GeditSpinnerCacheData *data) +pluma_spinner_cache_data_unload (PlumaSpinnerCacheData *data) { GtkIconSize size; - GeditSpinnerImages *images; + PlumaSpinnerImages *images; g_return_if_fail (data != NULL); - /* LOG ("GeditSpinnerDataCache unload for screen %p", data->screen); */ + /* LOG ("PlumaSpinnerDataCache unload for screen %p", data->screen); */ for (size = GTK_ICON_SIZE_INVALID; size < LAST_ICON_SIZE; ++size) { images = data->images[size]; data->images[size] = NULL; - if (images != NULL && images != GEDIT_SPINNER_IMAGES_INVALID) + if (images != NULL && images != PLUMA_SPINNER_IMAGES_INVALID) { - gedit_spinner_images_unref (images); + pluma_spinner_images_unref (images); } } } @@ -233,19 +233,19 @@ scale_to_size (GdkPixbuf *pixbuf, return pixbuf; } -static GeditSpinnerImages * -gedit_spinner_images_load (GdkScreen *screen, +static PlumaSpinnerImages * +pluma_spinner_images_load (GdkScreen *screen, GtkIconTheme *icon_theme, GtkIconSize icon_size) { - GeditSpinnerImages *images; + PlumaSpinnerImages *images; GdkPixbuf *icon_pixbuf, *pixbuf; GtkIconInfo *icon_info = NULL; int grid_width, grid_height, x, y, requested_size, size, isw, ish, n; const char *icon; GSList *list = NULL, *l; - /* LOG ("GeditSpinnerCacheData loading for screen %p at size %d", screen, icon_size); */ + /* LOG ("PlumaSpinnerCacheData loading for screen %p at size %d", screen, icon_size); */ /* START_PROFILER ("loading spinner animation") */ @@ -330,7 +330,7 @@ gedit_spinner_images_load (GdkScreen *screen, } /* Now we've successfully got all the data */ - images = g_new (GeditSpinnerImages, 1); + images = g_new (PlumaSpinnerImages, 1); images->ref_count = 1; images->size = icon_size; @@ -364,46 +364,46 @@ loser: return NULL; } -static GeditSpinnerCacheData * -gedit_spinner_cache_data_new (GdkScreen *screen) +static PlumaSpinnerCacheData * +pluma_spinner_cache_data_new (GdkScreen *screen) { - GeditSpinnerCacheData *data; + PlumaSpinnerCacheData *data; - data = g_new0 (GeditSpinnerCacheData, 1); + data = g_new0 (PlumaSpinnerCacheData, 1); data->screen = screen; data->icon_theme = gtk_icon_theme_get_for_screen (screen); g_signal_connect_swapped (data->icon_theme, "changed", - G_CALLBACK (gedit_spinner_cache_data_unload), + G_CALLBACK (pluma_spinner_cache_data_unload), data); return data; } static void -gedit_spinner_cache_data_free (GeditSpinnerCacheData *data) +pluma_spinner_cache_data_free (PlumaSpinnerCacheData *data) { g_return_if_fail (data != NULL); g_return_if_fail (data->icon_theme != NULL); g_signal_handlers_disconnect_by_func (data->icon_theme, - G_CALLBACK (gedit_spinner_cache_data_unload), + G_CALLBACK (pluma_spinner_cache_data_unload), data); - gedit_spinner_cache_data_unload (data); + pluma_spinner_cache_data_unload (data); g_free (data); } -static GeditSpinnerImages * -gedit_spinner_cache_get_images (GeditSpinnerCache *cache, +static PlumaSpinnerImages * +pluma_spinner_cache_get_images (PlumaSpinnerCache *cache, GdkScreen *screen, GtkIconSize icon_size) { - GeditSpinnerCachePrivate *priv = cache->priv; - GeditSpinnerCacheData *data; - GeditSpinnerImages *images; + PlumaSpinnerCachePrivate *priv = cache->priv; + PlumaSpinnerCacheData *data; + PlumaSpinnerImages *images; /* LOG ("Getting animation images for screen %p at size %d", screen, icon_size); */ @@ -418,13 +418,13 @@ gedit_spinner_cache_get_images (GeditSpinnerCache *cache, data = g_hash_table_lookup (priv->hash, screen); if (data == NULL) { - data = gedit_spinner_cache_data_new (screen); + data = pluma_spinner_cache_data_new (screen); /* FIXME: think about what happens when the screen's display is closed later on */ g_hash_table_insert (priv->hash, screen, data); } images = data->images[icon_size]; - if (images == GEDIT_SPINNER_IMAGES_INVALID) + if (images == PLUMA_SPINNER_IMAGES_INVALID) { /* Load failed, but don't try endlessly again! */ return NULL; @@ -433,74 +433,74 @@ gedit_spinner_cache_get_images (GeditSpinnerCache *cache, if (images != NULL) { /* Return cached data */ - return gedit_spinner_images_ref (images); + return pluma_spinner_images_ref (images); } - images = gedit_spinner_images_load (screen, data->icon_theme, icon_size); + images = pluma_spinner_images_load (screen, data->icon_theme, icon_size); if (images == NULL) { /* Mark as failed-to-load */ - data->images[icon_size] = GEDIT_SPINNER_IMAGES_INVALID; + data->images[icon_size] = PLUMA_SPINNER_IMAGES_INVALID; return NULL; } data->images[icon_size] = images; - return gedit_spinner_images_ref (images); + return pluma_spinner_images_ref (images); } static void -gedit_spinner_cache_init (GeditSpinnerCache *cache) +pluma_spinner_cache_init (PlumaSpinnerCache *cache) { - GeditSpinnerCachePrivate *priv; + PlumaSpinnerCachePrivate *priv; - priv = cache->priv = GEDIT_SPINNER_CACHE_GET_PRIVATE (cache); + priv = cache->priv = PLUMA_SPINNER_CACHE_GET_PRIVATE (cache); - /* LOG ("GeditSpinnerCache initialising"); */ + /* LOG ("PlumaSpinnerCache initialising"); */ priv->hash = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, - (GDestroyNotify) gedit_spinner_cache_data_free); + (GDestroyNotify) pluma_spinner_cache_data_free); } static void -gedit_spinner_cache_finalize (GObject *object) +pluma_spinner_cache_finalize (GObject *object) { - GeditSpinnerCache *cache = GEDIT_SPINNER_CACHE (object); - GeditSpinnerCachePrivate *priv = cache->priv; + PlumaSpinnerCache *cache = PLUMA_SPINNER_CACHE (object); + PlumaSpinnerCachePrivate *priv = cache->priv; g_hash_table_destroy (priv->hash); - /* LOG ("GeditSpinnerCache finalised"); */ + /* LOG ("PlumaSpinnerCache finalised"); */ - G_OBJECT_CLASS (gedit_spinner_cache_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_spinner_cache_parent_class)->finalize (object); } static void -gedit_spinner_cache_class_init (GeditSpinnerCacheClass *klass) +pluma_spinner_cache_class_init (PlumaSpinnerCacheClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - gedit_spinner_cache_parent_class = g_type_class_peek_parent (klass); + pluma_spinner_cache_parent_class = g_type_class_peek_parent (klass); - object_class->finalize = gedit_spinner_cache_finalize; + object_class->finalize = pluma_spinner_cache_finalize; - g_type_class_add_private (object_class, sizeof (GeditSpinnerCachePrivate)); + g_type_class_add_private (object_class, sizeof (PlumaSpinnerCachePrivate)); } -static GeditSpinnerCache *spinner_cache = NULL; +static PlumaSpinnerCache *spinner_cache = NULL; -static GeditSpinnerCache * -gedit_spinner_cache_ref (void) +static PlumaSpinnerCache * +pluma_spinner_cache_ref (void) { if (spinner_cache == NULL) { - GeditSpinnerCache **cache_ptr; + PlumaSpinnerCache **cache_ptr; - spinner_cache = g_object_new (GEDIT_TYPE_SPINNER_CACHE, NULL); + spinner_cache = g_object_new (PLUMA_TYPE_SPINNER_CACHE, NULL); cache_ptr = &spinner_cache; g_object_add_weak_pointer (G_OBJECT (spinner_cache), (gpointer *) cache_ptr); @@ -515,14 +515,14 @@ gedit_spinner_cache_ref (void) #define SPINNER_TIMEOUT 125 /* ms */ -#define GEDIT_SPINNER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_SPINNER, GeditSpinnerPrivate)) +#define PLUMA_SPINNER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_SPINNER, PlumaSpinnerPrivate)) -struct _GeditSpinnerPrivate +struct _PlumaSpinnerPrivate { GtkIconTheme *icon_theme; - GeditSpinnerCache *cache; + PlumaSpinnerCache *cache; GtkIconSize size; - GeditSpinnerImages *images; + PlumaSpinnerImages *images; guint current_image; guint timeout; guint timer_task; @@ -530,13 +530,13 @@ struct _GeditSpinnerPrivate guint need_load : 1; }; -static void gedit_spinner_class_init (GeditSpinnerClass *class); -static void gedit_spinner_init (GeditSpinner *spinner); +static void pluma_spinner_class_init (PlumaSpinnerClass *class); +static void pluma_spinner_init (PlumaSpinner *spinner); static GObjectClass *parent_class; GType -gedit_spinner_get_type (void) +pluma_spinner_get_type (void) { static GType type = 0; @@ -544,19 +544,19 @@ gedit_spinner_get_type (void) { const GTypeInfo our_info = { - sizeof (GeditSpinnerClass), + sizeof (PlumaSpinnerClass), NULL, /* base_init */ NULL, /* base_finalize */ - (GClassInitFunc) gedit_spinner_class_init, + (GClassInitFunc) pluma_spinner_class_init, NULL, NULL, /* class_data */ - sizeof (GeditSpinner), + sizeof (PlumaSpinner), 0, /* n_preallocs */ - (GInstanceInitFunc) gedit_spinner_init + (GInstanceInitFunc) pluma_spinner_init }; type = g_type_register_static (GTK_TYPE_WIDGET, - "GeditSpinner", + "PlumaSpinner", &our_info, 0); } @@ -564,20 +564,20 @@ gedit_spinner_get_type (void) } static gboolean -gedit_spinner_load_images (GeditSpinner *spinner) +pluma_spinner_load_images (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; if (priv->need_load) { - /* START_PROFILER ("gedit_spinner_load_images") */ + /* START_PROFILER ("pluma_spinner_load_images") */ priv->images = - gedit_spinner_cache_get_images (priv->cache, + pluma_spinner_cache_get_images (priv->cache, gtk_widget_get_screen (GTK_WIDGET (spinner)), priv->size); - /* STOP_PROFILER ("gedit_spinner_load_images") */ + /* STOP_PROFILER ("pluma_spinner_load_images") */ priv->current_image = 0; /* 'rest' icon */ priv->need_load = FALSE; @@ -587,13 +587,13 @@ gedit_spinner_load_images (GeditSpinner *spinner) } static void -gedit_spinner_unload_images (GeditSpinner *spinner) +pluma_spinner_unload_images (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; if (priv->images != NULL) { - gedit_spinner_images_unref (priv->images); + pluma_spinner_images_unref (priv->images); priv->images = NULL; } @@ -603,22 +603,22 @@ gedit_spinner_unload_images (GeditSpinner *spinner) static void icon_theme_changed_cb (GtkIconTheme *icon_theme, - GeditSpinner *spinner) + PlumaSpinner *spinner) { - gedit_spinner_unload_images (spinner); + pluma_spinner_unload_images (spinner); gtk_widget_queue_resize (GTK_WIDGET (spinner)); } static void -gedit_spinner_init (GeditSpinner *spinner) +pluma_spinner_init (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv; + PlumaSpinnerPrivate *priv; - priv = spinner->priv = GEDIT_SPINNER_GET_PRIVATE (spinner); + priv = spinner->priv = PLUMA_SPINNER_GET_PRIVATE (spinner); GTK_WIDGET_SET_FLAGS (GTK_WIDGET (spinner), GTK_NO_WINDOW); - priv->cache = gedit_spinner_cache_ref (); + priv->cache = pluma_spinner_cache_ref (); priv->size = GTK_ICON_SIZE_DIALOG; priv->spinning = FALSE; priv->timeout = SPINNER_TIMEOUT; @@ -626,12 +626,12 @@ gedit_spinner_init (GeditSpinner *spinner) } static int -gedit_spinner_expose (GtkWidget *widget, +pluma_spinner_expose (GtkWidget *widget, GdkEventExpose *event) { - GeditSpinner *spinner = GEDIT_SPINNER (widget); - GeditSpinnerPrivate *priv = spinner->priv; - GeditSpinnerImages *images; + PlumaSpinner *spinner = PLUMA_SPINNER (widget); + PlumaSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerImages *images; GdkPixbuf *pixbuf; GdkGC *gc; int x_offset, y_offset, width, height; @@ -643,7 +643,7 @@ gedit_spinner_expose (GtkWidget *widget, } if (priv->need_load && - !gedit_spinner_load_images (spinner)) + !pluma_spinner_load_images (spinner)) { return FALSE; } @@ -694,9 +694,9 @@ gedit_spinner_expose (GtkWidget *widget, } static gboolean -bump_spinner_frame_cb (GeditSpinner *spinner) +bump_spinner_frame_cb (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; /* This can happen when we've unloaded the images on a theme * change, but haven't been in the queued size request yet. @@ -719,21 +719,21 @@ bump_spinner_frame_cb (GeditSpinner *spinner) } /** - * gedit_spinner_start: - * @spinner: a #GeditSpinner + * pluma_spinner_start: + * @spinner: a #PlumaSpinner * * Start the spinner animation. **/ void -gedit_spinner_start (GeditSpinner *spinner) +pluma_spinner_start (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; priv->spinning = TRUE; if (GTK_WIDGET_MAPPED (GTK_WIDGET (spinner)) && priv->timer_task == 0 && - gedit_spinner_load_images (spinner)) + pluma_spinner_load_images (spinner)) { /* the 0th frame is the 'rest' icon */ priv->current_image = MIN (1, priv->images->n_animation_pixbufs); @@ -747,9 +747,9 @@ gedit_spinner_start (GeditSpinner *spinner) } static void -gedit_spinner_remove_update_callback (GeditSpinner *spinner) +pluma_spinner_remove_update_callback (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; if (priv->timer_task != 0) { @@ -759,22 +759,22 @@ gedit_spinner_remove_update_callback (GeditSpinner *spinner) } /** - * gedit_spinner_stop: - * @spinner: a #GeditSpinner + * pluma_spinner_stop: + * @spinner: a #PlumaSpinner * * Stop the spinner animation. **/ void -gedit_spinner_stop (GeditSpinner *spinner) +pluma_spinner_stop (PlumaSpinner *spinner) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; priv->spinning = FALSE; priv->current_image = 0; if (priv->timer_task != 0) { - gedit_spinner_remove_update_callback (spinner); + pluma_spinner_remove_update_callback (spinner); if (GTK_WIDGET_MAPPED (GTK_WIDGET (spinner))) gtk_widget_queue_draw (GTK_WIDGET (spinner)); @@ -782,14 +782,14 @@ gedit_spinner_stop (GeditSpinner *spinner) } /* - * gedit_spinner_set_size: - * @spinner: a #GeditSpinner + * pluma_spinner_set_size: + * @spinner: a #PlumaSpinner * @size: the size of type %GtkIconSize * * Set the size of the spinner. **/ void -gedit_spinner_set_size (GeditSpinner *spinner, +pluma_spinner_set_size (PlumaSpinner *spinner, GtkIconSize size) { if (size == GTK_ICON_SIZE_INVALID) @@ -799,7 +799,7 @@ gedit_spinner_set_size (GeditSpinner *spinner, if (size != spinner->priv->size) { - gedit_spinner_unload_images (spinner); + pluma_spinner_unload_images (spinner); spinner->priv->size = size; @@ -809,41 +809,41 @@ gedit_spinner_set_size (GeditSpinner *spinner, #if 0 /* -* gedit_spinner_set_timeout: -* @spinner: a #GeditSpinner +* pluma_spinner_set_timeout: +* @spinner: a #PlumaSpinner * @timeout: time delay between updates to the spinner. * * Sets the timeout delay for spinner updates. **/ void -gedit_spinner_set_timeout (GeditSpinner *spinner, +pluma_spinner_set_timeout (PlumaSpinner *spinner, guint timeout) { - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinnerPrivate *priv = spinner->priv; if (timeout != priv->timeout) { - gedit_spinner_stop (spinner); + pluma_spinner_stop (spinner); priv->timeout = timeout; if (priv->spinning) { - gedit_spinner_start (spinner); + pluma_spinner_start (spinner); } } } #endif static void -gedit_spinner_size_request (GtkWidget *widget, +pluma_spinner_size_request (GtkWidget *widget, GtkRequisition *requisition) { - GeditSpinner *spinner = GEDIT_SPINNER (widget); - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinner *spinner = PLUMA_SPINNER (widget); + PlumaSpinnerPrivate *priv = spinner->priv; if ((priv->need_load && - !gedit_spinner_load_images (spinner)) || + !pluma_spinner_load_images (spinner)) || priv->images == NULL) { requisition->width = requisition->height = 0; @@ -867,33 +867,33 @@ gedit_spinner_size_request (GtkWidget *widget, } static void -gedit_spinner_map (GtkWidget *widget) +pluma_spinner_map (GtkWidget *widget) { - GeditSpinner *spinner = GEDIT_SPINNER (widget); - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinner *spinner = PLUMA_SPINNER (widget); + PlumaSpinnerPrivate *priv = spinner->priv; GTK_WIDGET_CLASS (parent_class)->map (widget); if (priv->spinning) { - gedit_spinner_start (spinner); + pluma_spinner_start (spinner); } } static void -gedit_spinner_unmap (GtkWidget *widget) +pluma_spinner_unmap (GtkWidget *widget) { - GeditSpinner *spinner = GEDIT_SPINNER (widget); + PlumaSpinner *spinner = PLUMA_SPINNER (widget); - gedit_spinner_remove_update_callback (spinner); + pluma_spinner_remove_update_callback (spinner); GTK_WIDGET_CLASS (parent_class)->unmap (widget); } static void -gedit_spinner_dispose (GObject *object) +pluma_spinner_dispose (GObject *object) { - GeditSpinner *spinner = GEDIT_SPINNER (object); + PlumaSpinner *spinner = PLUMA_SPINNER (object); g_signal_handlers_disconnect_by_func (spinner->priv->icon_theme, @@ -903,12 +903,12 @@ gedit_spinner_dispose (GObject *object) } static void -gedit_spinner_finalize (GObject *object) +pluma_spinner_finalize (GObject *object) { - GeditSpinner *spinner = GEDIT_SPINNER (object); + PlumaSpinner *spinner = PLUMA_SPINNER (object); - gedit_spinner_remove_update_callback (spinner); - gedit_spinner_unload_images (spinner); + pluma_spinner_remove_update_callback (spinner); + pluma_spinner_unload_images (spinner); g_object_unref (spinner->priv->cache); @@ -916,11 +916,11 @@ gedit_spinner_finalize (GObject *object) } static void -gedit_spinner_screen_changed (GtkWidget *widget, +pluma_spinner_screen_changed (GtkWidget *widget, GdkScreen *old_screen) { - GeditSpinner *spinner = GEDIT_SPINNER (widget); - GeditSpinnerPrivate *priv = spinner->priv; + PlumaSpinner *spinner = PLUMA_SPINNER (widget); + PlumaSpinnerPrivate *priv = spinner->priv; GdkScreen *screen; if (GTK_WIDGET_CLASS (parent_class)->screen_changed) @@ -937,9 +937,9 @@ gedit_spinner_screen_changed (GtkWidget *widget, /* We'll get mapped again on the new screen, but not unmapped from * the old screen, so remove timeout here. */ - gedit_spinner_remove_update_callback (spinner); + pluma_spinner_remove_update_callback (spinner); - gedit_spinner_unload_images (spinner); + pluma_spinner_unload_images (spinner); if (old_screen != NULL) { @@ -954,36 +954,36 @@ gedit_spinner_screen_changed (GtkWidget *widget, } static void -gedit_spinner_class_init (GeditSpinnerClass *class) +pluma_spinner_class_init (PlumaSpinnerClass *class) { GObjectClass *object_class = G_OBJECT_CLASS (class); GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class); parent_class = g_type_class_peek_parent (class); - object_class->dispose = gedit_spinner_dispose; - object_class->finalize = gedit_spinner_finalize; + object_class->dispose = pluma_spinner_dispose; + object_class->finalize = pluma_spinner_finalize; - widget_class->expose_event = gedit_spinner_expose; - widget_class->size_request = gedit_spinner_size_request; - widget_class->map = gedit_spinner_map; - widget_class->unmap = gedit_spinner_unmap; - widget_class->screen_changed = gedit_spinner_screen_changed; + widget_class->expose_event = pluma_spinner_expose; + widget_class->size_request = pluma_spinner_size_request; + widget_class->map = pluma_spinner_map; + widget_class->unmap = pluma_spinner_unmap; + widget_class->screen_changed = pluma_spinner_screen_changed; - g_type_class_add_private (object_class, sizeof (GeditSpinnerPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaSpinnerPrivate)); } /* - * gedit_spinner_new: + * pluma_spinner_new: * - * Create a new #GeditSpinner. The spinner is a widget + * Create a new #PlumaSpinner. The spinner is a widget * that gives the user feedback about network status with * an animated image. * * Return Value: the spinner #GtkWidget **/ GtkWidget * -gedit_spinner_new (void) +pluma_spinner_new (void) { - return GTK_WIDGET (g_object_new (GEDIT_TYPE_SPINNER, NULL)); + return GTK_WIDGET (g_object_new (PLUMA_TYPE_SPINNER, NULL)); } diff --git a/gedit/gedit-spinner.h b/pluma/pluma-spinner.h similarity index 50% rename from gedit/gedit-spinner.h rename to pluma/pluma-spinner.h index 807ba7c..0461bea 100755 --- a/gedit/gedit-spinner.h +++ b/pluma/pluma-spinner.h @@ -1,6 +1,6 @@ /* - * gedit-spinner.h - * This file is part of gedit + * pluma-spinner.h + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * Copyright (C) 2000 - Eazel, Inc. @@ -25,15 +25,15 @@ * This widget was originally written by Andy Hertzfeld for * Caja. * - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_SPINNER_H__ -#define __GEDIT_SPINNER_H__ +#ifndef __PLUMA_SPINNER_H__ +#define __PLUMA_SPINNER_H__ #include @@ -42,36 +42,36 @@ G_BEGIN_DECLS /* * Type checking and casting macros */ -#define GEDIT_TYPE_SPINNER (gedit_spinner_get_type ()) -#define GEDIT_SPINNER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_SPINNER, GeditSpinner)) -#define GEDIT_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_SPINNER, GeditSpinnerClass)) -#define GEDIT_IS_SPINNER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_SPINNER)) -#define GEDIT_IS_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_SPINNER)) -#define GEDIT_SPINNER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_SPINNER, GeditSpinnerClass)) +#define PLUMA_TYPE_SPINNER (pluma_spinner_get_type ()) +#define PLUMA_SPINNER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_SPINNER, PlumaSpinner)) +#define PLUMA_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_SPINNER, PlumaSpinnerClass)) +#define PLUMA_IS_SPINNER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_SPINNER)) +#define PLUMA_IS_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_SPINNER)) +#define PLUMA_SPINNER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_SPINNER, PlumaSpinnerClass)) /* Private structure type */ -typedef struct _GeditSpinnerPrivate GeditSpinnerPrivate; +typedef struct _PlumaSpinnerPrivate PlumaSpinnerPrivate; /* * Main object structure */ -typedef struct _GeditSpinner GeditSpinner; +typedef struct _PlumaSpinner PlumaSpinner; -struct _GeditSpinner +struct _PlumaSpinner { GtkWidget parent; /*< private >*/ - GeditSpinnerPrivate *priv; + PlumaSpinnerPrivate *priv; }; /* * Class definition */ -typedef struct _GeditSpinnerClass GeditSpinnerClass; +typedef struct _PlumaSpinnerClass PlumaSpinnerClass; -struct _GeditSpinnerClass +struct _PlumaSpinnerClass { GtkWidgetClass parent_class; }; @@ -79,17 +79,17 @@ struct _GeditSpinnerClass /* * Public methods */ -GType gedit_spinner_get_type (void) G_GNUC_CONST; +GType pluma_spinner_get_type (void) G_GNUC_CONST; -GtkWidget *gedit_spinner_new (void); +GtkWidget *pluma_spinner_new (void); -void gedit_spinner_start (GeditSpinner *throbber); +void pluma_spinner_start (PlumaSpinner *throbber); -void gedit_spinner_stop (GeditSpinner *throbber); +void pluma_spinner_stop (PlumaSpinner *throbber); -void gedit_spinner_set_size (GeditSpinner *spinner, +void pluma_spinner_set_size (PlumaSpinner *spinner, GtkIconSize size); G_END_DECLS -#endif /* __GEDIT_SPINNER_H__ */ +#endif /* __PLUMA_SPINNER_H__ */ diff --git a/gedit/gedit-status-combo-box.c b/pluma/pluma-status-combo-box.c similarity index 72% rename from gedit/gedit-status-combo-box.c rename to pluma/pluma-status-combo-box.c index 71ea8c9..df8808d 100755 --- a/gedit/gedit-status-combo-box.c +++ b/pluma/pluma-status-combo-box.c @@ -1,6 +1,6 @@ /* - * gedit-status-combo-box.c - * This file is part of gedit + * pluma-status-combo-box.c + * This file is part of pluma * * Copyright (C) 2008 - Jesse van den Kieboom * @@ -20,13 +20,13 @@ * Boston, MA 02111-1307, USA. */ -#include "gedit-status-combo-box.h" +#include "pluma-status-combo-box.h" -#define COMBO_BOX_TEXT_DATA "GeditStatusComboBoxTextData" +#define COMBO_BOX_TEXT_DATA "PlumaStatusComboBoxTextData" -#define GEDIT_STATUS_COMBO_BOX_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBoxPrivate)) +#define PLUMA_STATUS_COMBO_BOX_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBoxPrivate)) -struct _GeditStatusComboBoxPrivate +struct _PlumaStatusComboBoxPrivate { GtkWidget *frame; GtkWidget *button; @@ -56,26 +56,26 @@ enum static guint signals[NUM_SIGNALS] = { 0 }; -G_DEFINE_TYPE(GeditStatusComboBox, gedit_status_combo_box, GTK_TYPE_EVENT_BOX) +G_DEFINE_TYPE(PlumaStatusComboBox, pluma_status_combo_box, GTK_TYPE_EVENT_BOX) static void -gedit_status_combo_box_finalize (GObject *object) +pluma_status_combo_box_finalize (GObject *object) { - G_OBJECT_CLASS (gedit_status_combo_box_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_status_combo_box_parent_class)->finalize (object); } static void -gedit_status_combo_box_get_property (GObject *object, +pluma_status_combo_box_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditStatusComboBox *obj = GEDIT_STATUS_COMBO_BOX (object); + PlumaStatusComboBox *obj = PLUMA_STATUS_COMBO_BOX (object); switch (prop_id) { case PROP_LABEL: - g_value_set_string (value, gedit_status_combo_box_get_label (obj)); + g_value_set_string (value, pluma_status_combo_box_get_label (obj)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -84,17 +84,17 @@ gedit_status_combo_box_get_property (GObject *object, } static void -gedit_status_combo_box_set_property (GObject *object, +pluma_status_combo_box_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditStatusComboBox *obj = GEDIT_STATUS_COMBO_BOX (object); + PlumaStatusComboBox *obj = PLUMA_STATUS_COMBO_BOX (object); switch (prop_id) { case PROP_LABEL: - gedit_status_combo_box_set_label (obj, g_value_get_string (value)); + pluma_status_combo_box_set_label (obj, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -103,7 +103,7 @@ gedit_status_combo_box_set_property (GObject *object, } static void -gedit_status_combo_box_changed (GeditStatusComboBox *combo, +pluma_status_combo_box_changed (PlumaStatusComboBox *combo, GtkMenuItem *item) { const gchar *text; @@ -118,21 +118,21 @@ gedit_status_combo_box_changed (GeditStatusComboBox *combo, } static void -gedit_status_combo_box_class_init (GeditStatusComboBoxClass *klass) +pluma_status_combo_box_class_init (PlumaStatusComboBoxClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_status_combo_box_finalize; - object_class->get_property = gedit_status_combo_box_get_property; - object_class->set_property = gedit_status_combo_box_set_property; + object_class->finalize = pluma_status_combo_box_finalize; + object_class->get_property = pluma_status_combo_box_get_property; + object_class->set_property = pluma_status_combo_box_set_property; - klass->changed = gedit_status_combo_box_changed; + klass->changed = pluma_status_combo_box_changed; signals[CHANGED] = g_signal_new ("changed", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditStatusComboBoxClass, + G_STRUCT_OFFSET (PlumaStatusComboBoxClass, changed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_MENU_ITEM); @@ -146,21 +146,21 @@ gedit_status_combo_box_class_init (GeditStatusComboBoxClass *klass) /* Set up a style for the button to decrease spacing. */ gtk_rc_parse_string ( - "style \"gedit-status-combo-button-style\"\n" + "style \"pluma-status-combo-button-style\"\n" "{\n" " GtkWidget::focus-padding = 0\n" " GtkWidget::focus-line-width = 0\n" " xthickness = 0\n" " ythickness = 0\n" "}\n" - "widget \"*.gedit-status-combo-button\" style \"gedit-status-combo-button-style\""); + "widget \"*.pluma-status-combo-button\" style \"pluma-status-combo-button-style\""); - g_type_class_add_private (object_class, sizeof(GeditStatusComboBoxPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaStatusComboBoxPrivate)); } static void menu_deactivate (GtkMenu *menu, - GeditStatusComboBox *combo) + PlumaStatusComboBox *combo) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (combo->priv->button), FALSE); } @@ -170,7 +170,7 @@ menu_position_func (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, - GeditStatusComboBox *combo) + PlumaStatusComboBox *combo) { GtkRequisition request; @@ -194,7 +194,7 @@ menu_position_func (GtkMenu *menu, static void button_press_event (GtkWidget *widget, GdkEventButton *event, - GeditStatusComboBox *combo) + PlumaStatusComboBox *combo) { GtkRequisition request; gint max_height; @@ -228,7 +228,7 @@ button_press_event (GtkWidget *widget, } static void -set_shadow_type (GeditStatusComboBox *combo) +set_shadow_type (PlumaStatusComboBox *combo) { GtkShadowType shadow_type; GtkWidget *statusbar; @@ -244,9 +244,9 @@ set_shadow_type (GeditStatusComboBox *combo) } static void -gedit_status_combo_box_init (GeditStatusComboBox *self) +pluma_status_combo_box_init (PlumaStatusComboBox *self) { - self->priv = GEDIT_STATUS_COMBO_BOX_GET_PRIVATE (self); + self->priv = PLUMA_STATUS_COMBO_BOX_GET_PRIVATE (self); gtk_event_box_set_visible_window (GTK_EVENT_BOX (self), TRUE); @@ -254,7 +254,7 @@ gedit_status_combo_box_init (GeditStatusComboBox *self) gtk_widget_show (self->priv->frame); self->priv->button = gtk_toggle_button_new (); - gtk_widget_set_name (self->priv->button, "gedit-status-combo-button"); + gtk_widget_set_name (self->priv->button, "pluma-status-combo-button"); gtk_button_set_relief (GTK_BUTTON (self->priv->button), GTK_RELIEF_NONE); gtk_widget_show (self->priv->button); @@ -304,18 +304,18 @@ gedit_status_combo_box_init (GeditStatusComboBox *self) /* public functions */ GtkWidget * -gedit_status_combo_box_new (const gchar *label) +pluma_status_combo_box_new (const gchar *label) { - return g_object_new (GEDIT_TYPE_STATUS_COMBO_BOX, "label", label, NULL); + return g_object_new (PLUMA_TYPE_STATUS_COMBO_BOX, "label", label, NULL); } void -gedit_status_combo_box_set_label (GeditStatusComboBox *combo, +pluma_status_combo_box_set_label (PlumaStatusComboBox *combo, const gchar *label) { gchar *text; - g_return_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo)); + g_return_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo)); text = g_strconcat (" ", label, ": ", NULL); gtk_label_set_markup (GTK_LABEL (combo->priv->label), text); @@ -323,39 +323,39 @@ gedit_status_combo_box_set_label (GeditStatusComboBox *combo, } const gchar * -gedit_status_combo_box_get_label (GeditStatusComboBox *combo) +pluma_status_combo_box_get_label (PlumaStatusComboBox *combo) { - g_return_val_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo), NULL); + g_return_val_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo), NULL); return gtk_label_get_label (GTK_LABEL (combo->priv->label)); } static void item_activated (GtkMenuItem *item, - GeditStatusComboBox *combo) + PlumaStatusComboBox *combo) { - gedit_status_combo_box_set_item (combo, item); + pluma_status_combo_box_set_item (combo, item); } void -gedit_status_combo_box_add_item (GeditStatusComboBox *combo, +pluma_status_combo_box_add_item (PlumaStatusComboBox *combo, GtkMenuItem *item, const gchar *text) { - g_return_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo)); + g_return_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo)); g_return_if_fail (GTK_IS_MENU_ITEM (item)); gtk_menu_shell_append (GTK_MENU_SHELL (combo->priv->menu), GTK_WIDGET (item)); - gedit_status_combo_box_set_item_text (combo, item, text); + pluma_status_combo_box_set_item_text (combo, item, text); g_signal_connect (item, "activate", G_CALLBACK (item_activated), combo); } void -gedit_status_combo_box_remove_item (GeditStatusComboBox *combo, +pluma_status_combo_box_remove_item (PlumaStatusComboBox *combo, GtkMenuItem *item) { - g_return_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo)); + g_return_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo)); g_return_if_fail (GTK_IS_MENU_ITEM (item)); gtk_container_remove (GTK_CONTAINER (combo->priv->menu), @@ -363,20 +363,20 @@ gedit_status_combo_box_remove_item (GeditStatusComboBox *combo, } GList * -gedit_status_combo_box_get_items (GeditStatusComboBox *combo) +pluma_status_combo_box_get_items (PlumaStatusComboBox *combo) { - g_return_val_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo), NULL); + g_return_val_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo), NULL); return gtk_container_get_children (GTK_CONTAINER (combo->priv->menu)); } const gchar * -gedit_status_combo_box_get_item_text (GeditStatusComboBox *combo, +pluma_status_combo_box_get_item_text (PlumaStatusComboBox *combo, GtkMenuItem *item) { const gchar *ret = NULL; - g_return_val_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo), NULL); + g_return_val_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo), NULL); g_return_val_if_fail (GTK_IS_MENU_ITEM (item), NULL); ret = g_object_get_data (G_OBJECT (item), COMBO_BOX_TEXT_DATA); @@ -385,11 +385,11 @@ gedit_status_combo_box_get_item_text (GeditStatusComboBox *combo, } void -gedit_status_combo_box_set_item_text (GeditStatusComboBox *combo, +pluma_status_combo_box_set_item_text (PlumaStatusComboBox *combo, GtkMenuItem *item, const gchar *text) { - g_return_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo)); + g_return_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo)); g_return_if_fail (GTK_IS_MENU_ITEM (item)); g_object_set_data_full (G_OBJECT (item), @@ -399,19 +399,19 @@ gedit_status_combo_box_set_item_text (GeditStatusComboBox *combo, } void -gedit_status_combo_box_set_item (GeditStatusComboBox *combo, +pluma_status_combo_box_set_item (PlumaStatusComboBox *combo, GtkMenuItem *item) { - g_return_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo)); + g_return_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo)); g_return_if_fail (GTK_IS_MENU_ITEM (item)); g_signal_emit (combo, signals[CHANGED], 0, item, NULL); } GtkLabel * -gedit_status_combo_box_get_item_label (GeditStatusComboBox *combo) +pluma_status_combo_box_get_item_label (PlumaStatusComboBox *combo) { - g_return_val_if_fail (GEDIT_IS_STATUS_COMBO_BOX (combo), NULL); + g_return_val_if_fail (PLUMA_IS_STATUS_COMBO_BOX (combo), NULL); return GTK_LABEL (combo->priv->item); } diff --git a/pluma/pluma-status-combo-box.h b/pluma/pluma-status-combo-box.h new file mode 100755 index 0000000..f95f8f4 --- /dev/null +++ b/pluma/pluma-status-combo-box.h @@ -0,0 +1,82 @@ +/* + * pluma-status-combo-box.h + * This file is part of pluma + * + * Copyright (C) 2008 - Jesse van den Kieboom + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_STATUS_COMBO_BOX_H__ +#define __PLUMA_STATUS_COMBO_BOX_H__ + +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_STATUS_COMBO_BOX (pluma_status_combo_box_get_type ()) +#define PLUMA_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBox)) +#define PLUMA_STATUS_COMBO_BOX_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBox const)) +#define PLUMA_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBoxClass)) +#define PLUMA_IS_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_STATUS_COMBO_BOX)) +#define PLUMA_IS_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_STATUS_COMBO_BOX)) +#define PLUMA_STATUS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBoxClass)) + +typedef struct _PlumaStatusComboBox PlumaStatusComboBox; +typedef struct _PlumaStatusComboBoxClass PlumaStatusComboBoxClass; +typedef struct _PlumaStatusComboBoxPrivate PlumaStatusComboBoxPrivate; + +struct _PlumaStatusComboBox { + GtkEventBox parent; + + PlumaStatusComboBoxPrivate *priv; +}; + +struct _PlumaStatusComboBoxClass { + GtkEventBoxClass parent_class; + + void (*changed) (PlumaStatusComboBox *combo, + GtkMenuItem *item); +}; + +GType pluma_status_combo_box_get_type (void) G_GNUC_CONST; +GtkWidget *pluma_status_combo_box_new (const gchar *label); + +const gchar *pluma_status_combo_box_get_label (PlumaStatusComboBox *combo); +void pluma_status_combo_box_set_label (PlumaStatusComboBox *combo, + const gchar *label); + +void pluma_status_combo_box_add_item (PlumaStatusComboBox *combo, + GtkMenuItem *item, + const gchar *text); +void pluma_status_combo_box_remove_item (PlumaStatusComboBox *combo, + GtkMenuItem *item); + +GList *pluma_status_combo_box_get_items (PlumaStatusComboBox *combo); +const gchar *pluma_status_combo_box_get_item_text (PlumaStatusComboBox *combo, + GtkMenuItem *item); +void pluma_status_combo_box_set_item_text (PlumaStatusComboBox *combo, + GtkMenuItem *item, + const gchar *text); + +void pluma_status_combo_box_set_item (PlumaStatusComboBox *combo, + GtkMenuItem *item); + +GtkLabel *pluma_status_combo_box_get_item_label (PlumaStatusComboBox *combo); + +G_END_DECLS + +#endif /* __PLUMA_STATUS_COMBO_BOX_H__ */ diff --git a/gedit/gedit-statusbar.c b/pluma/pluma-statusbar.c similarity index 80% rename from gedit/gedit-statusbar.c rename to pluma/pluma-statusbar.c index 178147c..bf0f3dd 100755 --- a/gedit/gedit-statusbar.c +++ b/pluma/pluma-statusbar.c @@ -1,6 +1,6 @@ /* - * gedit-statusbar.c - * This file is part of gedit + * pluma-statusbar.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Borelli * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -36,13 +36,13 @@ #include #include -#include "gedit-statusbar.h" +#include "pluma-statusbar.h" -#define GEDIT_STATUSBAR_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object),\ - GEDIT_TYPE_STATUSBAR,\ - GeditStatusbarPrivate)) +#define PLUMA_STATUSBAR_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object),\ + PLUMA_TYPE_STATUSBAR,\ + PlumaStatusbarPrivate)) -struct _GeditStatusbarPrivate +struct _PlumaStatusbarPrivate { GtkWidget *overwrite_mode_statusbar; GtkWidget *cursor_position_statusbar; @@ -61,7 +61,7 @@ struct _GeditStatusbarPrivate guint flash_message_id; }; -G_DEFINE_TYPE(GeditStatusbar, gedit_statusbar, GTK_TYPE_STATUSBAR) +G_DEFINE_TYPE(PlumaStatusbar, pluma_statusbar, GTK_TYPE_STATUSBAR) static gchar * @@ -77,11 +77,11 @@ get_overwrite_mode_length (void) } static void -gedit_statusbar_notify (GObject *object, +pluma_statusbar_notify (GObject *object, GParamSpec *pspec) { /* don't allow gtk_statusbar_set_has_resize_grip to mess with us. - * See _gedit_statusbar_set_has_resize_grip for an explanation. + * See _pluma_statusbar_set_has_resize_grip for an explanation. */ if (strcmp (g_param_spec_get_name (pspec), "has-resize-grip") == 0) { @@ -89,30 +89,30 @@ gedit_statusbar_notify (GObject *object, return; } - if (G_OBJECT_CLASS (gedit_statusbar_parent_class)->notify) - G_OBJECT_CLASS (gedit_statusbar_parent_class)->notify (object, pspec); + if (G_OBJECT_CLASS (pluma_statusbar_parent_class)->notify) + G_OBJECT_CLASS (pluma_statusbar_parent_class)->notify (object, pspec); } static void -gedit_statusbar_finalize (GObject *object) +pluma_statusbar_finalize (GObject *object) { - GeditStatusbar *statusbar = GEDIT_STATUSBAR (object); + PlumaStatusbar *statusbar = PLUMA_STATUSBAR (object); if (statusbar->priv->flash_timeout > 0) g_source_remove (statusbar->priv->flash_timeout); - G_OBJECT_CLASS (gedit_statusbar_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_statusbar_parent_class)->finalize (object); } static void -gedit_statusbar_class_init (GeditStatusbarClass *klass) +pluma_statusbar_class_init (PlumaStatusbarClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->notify = gedit_statusbar_notify; - object_class->finalize = gedit_statusbar_finalize; + object_class->notify = pluma_statusbar_notify; + object_class->finalize = pluma_statusbar_finalize; - g_type_class_add_private (object_class, sizeof (GeditStatusbarPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaStatusbarPrivate)); } #define RESIZE_GRIP_EXTRA_WIDTH 30 @@ -150,12 +150,12 @@ set_statusbar_width_chars (GtkWidget *statusbar, } static void -gedit_statusbar_init (GeditStatusbar *statusbar) +pluma_statusbar_init (PlumaStatusbar *statusbar) { GtkWidget *hbox; GtkWidget *error_image; - statusbar->priv = GEDIT_STATUSBAR_GET_PRIVATE (statusbar); + statusbar->priv = PLUMA_STATUSBAR_GET_PRIVATE (statusbar); gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar), FALSE); @@ -232,21 +232,21 @@ gedit_statusbar_init (GeditStatusbar *statusbar) } /** - * gedit_statusbar_new: + * pluma_statusbar_new: * - * Creates a new #GeditStatusbar. + * Creates a new #PlumaStatusbar. * - * Return value: the new #GeditStatusbar object + * Return value: the new #PlumaStatusbar object **/ GtkWidget * -gedit_statusbar_new (void) +pluma_statusbar_new (void) { - return GTK_WIDGET (g_object_new (GEDIT_TYPE_STATUSBAR, NULL)); + return GTK_WIDGET (g_object_new (PLUMA_TYPE_STATUSBAR, NULL)); } /** - * gedit_set_has_resize_grip: - * @statusbar: a #GeditStatusbar + * pluma_set_has_resize_grip: + * @statusbar: a #PlumaStatusbar * @show: if the resize grip is shown * * Sets if a resize grip showld be shown. @@ -264,29 +264,29 @@ gedit_statusbar_new (void) * a property. */ void -_gedit_statusbar_set_has_resize_grip (GeditStatusbar *bar, +_pluma_statusbar_set_has_resize_grip (PlumaStatusbar *bar, gboolean show) { - g_return_if_fail (GEDIT_IS_STATUSBAR (bar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (bar)); gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (bar->priv->overwrite_mode_statusbar), show); } /** - * gedit_statusbar_set_overwrite: - * @statusbar: a #GeditStatusbar + * pluma_statusbar_set_overwrite: + * @statusbar: a #PlumaStatusbar * @overwrite: if the overwrite mode is set * * Sets the overwrite mode on the statusbar. **/ void -gedit_statusbar_set_overwrite (GeditStatusbar *statusbar, +pluma_statusbar_set_overwrite (PlumaStatusbar *statusbar, gboolean overwrite) { gchar *msg; - g_return_if_fail (GEDIT_IS_STATUSBAR (statusbar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (statusbar)); gtk_statusbar_pop (GTK_STATUSBAR (statusbar->priv->overwrite_mode_statusbar), 0); @@ -298,29 +298,29 @@ gedit_statusbar_set_overwrite (GeditStatusbar *statusbar, } void -gedit_statusbar_clear_overwrite (GeditStatusbar *statusbar) +pluma_statusbar_clear_overwrite (PlumaStatusbar *statusbar) { - g_return_if_fail (GEDIT_IS_STATUSBAR (statusbar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (statusbar)); gtk_statusbar_pop (GTK_STATUSBAR (statusbar->priv->overwrite_mode_statusbar), 0); } /** - * gedit_statusbar_cursor_position: - * @statusbar: an #GeditStatusbar + * pluma_statusbar_cursor_position: + * @statusbar: an #PlumaStatusbar * @line: line position * @col: column position * * Sets the cursor position on the statusbar. **/ void -gedit_statusbar_set_cursor_position (GeditStatusbar *statusbar, +pluma_statusbar_set_cursor_position (PlumaStatusbar *statusbar, gint line, gint col) { gchar *msg; - g_return_if_fail (GEDIT_IS_STATUSBAR (statusbar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (statusbar)); gtk_statusbar_pop (GTK_STATUSBAR (statusbar->priv->cursor_position_statusbar), 0); @@ -337,7 +337,7 @@ gedit_statusbar_set_cursor_position (GeditStatusbar *statusbar, } static gboolean -remove_message_timeout (GeditStatusbar *statusbar) +remove_message_timeout (PlumaStatusbar *statusbar) { gtk_statusbar_remove (GTK_STATUSBAR (statusbar), statusbar->priv->flash_context_id, @@ -349,15 +349,15 @@ remove_message_timeout (GeditStatusbar *statusbar) } /** - * gedit_statusbar_flash_message: - * @statusbar: a #GeditStatusbar + * pluma_statusbar_flash_message: + * @statusbar: a #PlumaStatusbar * @context_id: message context_id * @format: message to flash on the statusbar * * Flash a temporary message on the statusbar. */ void -gedit_statusbar_flash_message (GeditStatusbar *statusbar, +pluma_statusbar_flash_message (PlumaStatusbar *statusbar, guint context_id, const gchar *format, ...) { @@ -365,7 +365,7 @@ gedit_statusbar_flash_message (GeditStatusbar *statusbar, va_list args; gchar *msg; - g_return_if_fail (GEDIT_IS_STATUSBAR (statusbar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (statusbar)); g_return_if_fail (format != NULL); va_start (args, format); @@ -396,35 +396,35 @@ gedit_statusbar_flash_message (GeditStatusbar *statusbar, } void -gedit_statusbar_set_window_state (GeditStatusbar *statusbar, - GeditWindowState state, +pluma_statusbar_set_window_state (PlumaStatusbar *statusbar, + PlumaWindowState state, gint num_of_errors) { - g_return_if_fail (GEDIT_IS_STATUSBAR (statusbar)); + g_return_if_fail (PLUMA_IS_STATUSBAR (statusbar)); gtk_widget_hide (statusbar->priv->state_frame); gtk_widget_hide (statusbar->priv->save_image); gtk_widget_hide (statusbar->priv->load_image); gtk_widget_hide (statusbar->priv->print_image); - if (state & GEDIT_WINDOW_STATE_SAVING) + if (state & PLUMA_WINDOW_STATE_SAVING) { gtk_widget_show (statusbar->priv->state_frame); gtk_widget_show (statusbar->priv->save_image); } - if (state & GEDIT_WINDOW_STATE_LOADING) + if (state & PLUMA_WINDOW_STATE_LOADING) { gtk_widget_show (statusbar->priv->state_frame); gtk_widget_show (statusbar->priv->load_image); } - if (state & GEDIT_WINDOW_STATE_PRINTING) + if (state & PLUMA_WINDOW_STATE_PRINTING) { gtk_widget_show (statusbar->priv->state_frame); gtk_widget_show (statusbar->priv->print_image); } - if (state & GEDIT_WINDOW_STATE_ERROR) + if (state & PLUMA_WINDOW_STATE_ERROR) { gchar *tip; diff --git a/pluma/pluma-statusbar.h b/pluma/pluma-statusbar.h new file mode 100755 index 0000000..740c1d5 --- /dev/null +++ b/pluma/pluma-statusbar.h @@ -0,0 +1,99 @@ +/* + * pluma-statusbar.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Borelli + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + */ + +#ifndef PLUMA_STATUSBAR_H +#define PLUMA_STATUSBAR_H + +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_STATUSBAR (pluma_statusbar_get_type ()) +#define PLUMA_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_STATUSBAR, PlumaStatusbar)) +#define PLUMA_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_STATUSBAR, PlumaStatusbarClass)) +#define PLUMA_IS_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_STATUSBAR)) +#define PLUMA_IS_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_STATUSBAR)) +#define PLUMA_STATUSBAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_STATUSBAR, PlumaStatusbarClass)) + +typedef struct _PlumaStatusbar PlumaStatusbar; +typedef struct _PlumaStatusbarPrivate PlumaStatusbarPrivate; +typedef struct _PlumaStatusbarClass PlumaStatusbarClass; + +struct _PlumaStatusbar +{ + GtkStatusbar parent; + + /* */ + PlumaStatusbarPrivate *priv; +}; + +struct _PlumaStatusbarClass +{ + GtkStatusbarClass parent_class; +}; + +GType pluma_statusbar_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_statusbar_new (void); + +/* FIXME: status is not defined in any .h */ +#define PlumaStatus gint +void pluma_statusbar_set_window_state (PlumaStatusbar *statusbar, + PlumaWindowState state, + gint num_of_errors); + +void pluma_statusbar_set_overwrite (PlumaStatusbar *statusbar, + gboolean overwrite); + +void pluma_statusbar_set_cursor_position (PlumaStatusbar *statusbar, + gint line, + gint col); + +void pluma_statusbar_clear_overwrite (PlumaStatusbar *statusbar); + +void pluma_statusbar_flash_message (PlumaStatusbar *statusbar, + guint context_id, + const gchar *format, + ...) G_GNUC_PRINTF(3, 4); +/* FIXME: these would be nice for plugins... +void pluma_statusbar_add_widget (PlumaStatusbar *statusbar, + GtkWidget *widget); +void pluma_statusbar_remove_widget (PlumaStatusbar *statusbar, + GtkWidget *widget); +*/ + +/* + * Non exported functions + */ +void _pluma_statusbar_set_has_resize_grip (PlumaStatusbar *statusbar, + gboolean show); + +G_END_DECLS + +#endif diff --git a/gedit/gedit-style-scheme-manager.c b/pluma/pluma-style-scheme-manager.c similarity index 88% rename from gedit/gedit-style-scheme-manager.c rename to pluma/pluma-style-scheme-manager.c index a65fedd..8bb91a6 100755 --- a/gedit/gedit-style-scheme-manager.c +++ b/pluma/pluma-style-scheme-manager.c @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-source-style-manager.c + * pluma-source-style-manager.c * * Copyright (C) 2007 - Paolo Borelli and Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2007. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2007. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ @@ -34,19 +34,19 @@ #include #include -#include "gedit-style-scheme-manager.h" -#include "gedit-prefs-manager.h" -#include "gedit-dirs.h" +#include "pluma-style-scheme-manager.h" +#include "pluma-prefs-manager.h" +#include "pluma-dirs.h" static GtkSourceStyleSchemeManager *style_scheme_manager = NULL; static gchar * -get_gedit_styles_path (void) +get_pluma_styles_path (void) { gchar *config_dir; gchar *dir = NULL; - config_dir = gedit_dirs_get_user_config_dir (); + config_dir = pluma_dirs_get_user_config_dir (); if (config_dir != NULL) { @@ -60,11 +60,11 @@ get_gedit_styles_path (void) } static void -add_gedit_styles_path (GtkSourceStyleSchemeManager *mgr) +add_pluma_styles_path (GtkSourceStyleSchemeManager *mgr) { gchar *dir; - dir = get_gedit_styles_path(); + dir = get_pluma_styles_path(); if (dir != NULL) { @@ -74,12 +74,12 @@ add_gedit_styles_path (GtkSourceStyleSchemeManager *mgr) } GtkSourceStyleSchemeManager * -gedit_get_style_scheme_manager (void) +pluma_get_style_scheme_manager (void) { if (style_scheme_manager == NULL) { style_scheme_manager = gtk_source_style_scheme_manager_new (); - add_gedit_styles_path (style_scheme_manager); + add_pluma_styles_path (style_scheme_manager); } return style_scheme_manager; @@ -98,7 +98,7 @@ schemes_compare (gconstpointer a, gconstpointer b) } GSList * -gedit_style_scheme_manager_list_schemes_sorted (GtkSourceStyleSchemeManager *manager) +pluma_style_scheme_manager_list_schemes_sorted (GtkSourceStyleSchemeManager *manager) { const gchar * const * scheme_ids; GSList *schemes = NULL; @@ -126,7 +126,7 @@ gedit_style_scheme_manager_list_schemes_sorted (GtkSourceStyleSchemeManager *man } gboolean -_gedit_style_scheme_manager_scheme_is_gedit_user_scheme (GtkSourceStyleSchemeManager *manager, +_pluma_style_scheme_manager_scheme_is_pluma_user_scheme (GtkSourceStyleSchemeManager *manager, const gchar *scheme_id) { GtkSourceStyleScheme *scheme; @@ -142,7 +142,7 @@ _gedit_style_scheme_manager_scheme_is_gedit_user_scheme (GtkSourceStyleSchemeMan if (filename == NULL) return FALSE; - dir = get_gedit_styles_path (); + dir = get_pluma_styles_path (); res = g_str_has_prefix (filename, dir); @@ -228,12 +228,12 @@ file_copy (const gchar *name, } /** - * _gedit_style_scheme_manager_install_scheme: + * _pluma_style_scheme_manager_install_scheme: * @manager: a #GtkSourceStyleSchemeManager * @fname: the file name of the style scheme to be installed * * Install a new user scheme. - * This function copies @fname in #GEDIT_STYLES_DIR and ask the style manager to + * This function copies @fname in #PLUMA_STYLES_DIR and ask the style manager to * recompute the list of available style schemes. It then checks if a style * scheme with the right file name exists. * @@ -243,7 +243,7 @@ file_copy (const gchar *name, * Return value: the id of the installed scheme, %NULL otherwise. */ const gchar * -_gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager, +_pluma_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager, const gchar *fname) { gchar *new_file_name = NULL; @@ -258,7 +258,7 @@ _gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager g_return_val_if_fail (fname != NULL, NULL); dirname = g_path_get_dirname (fname); - styles_dir = get_gedit_styles_path(); + styles_dir = get_pluma_styles_path(); if (strcmp (dirname, styles_dir) != 0) { @@ -268,7 +268,7 @@ _gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager new_file_name = g_build_filename (styles_dir, basename, NULL); g_free (basename); - /* Copy the style scheme file into GEDIT_STYLES_DIR */ + /* Copy the style scheme file into PLUMA_STYLES_DIR */ if (!file_copy (fname, new_file_name, &error)) { g_free (new_file_name); @@ -301,7 +301,7 @@ _gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager const gchar *filename; scheme = gtk_source_style_scheme_manager_get_scheme ( - gedit_get_style_scheme_manager (), *ids); + pluma_get_style_scheme_manager (), *ids); filename = gtk_source_style_scheme_get_filename (scheme); @@ -325,7 +325,7 @@ _gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager } /** - * _gedit_style_scheme_manager_uninstall_scheme: + * _pluma_style_scheme_manager_uninstall_scheme: * @manager: a #GtkSourceStyleSchemeManager * @id: the id of the style scheme to be uninstalled * @@ -337,7 +337,7 @@ _gedit_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager * Return value: %TRUE on success, %FALSE otherwise. */ gboolean -_gedit_style_scheme_manager_uninstall_scheme (GtkSourceStyleSchemeManager *manager, +_pluma_style_scheme_manager_uninstall_scheme (GtkSourceStyleSchemeManager *manager, const gchar *id) { GtkSourceStyleScheme *scheme; diff --git a/gedit/gedit-style-scheme-manager.h b/pluma/pluma-style-scheme-manager.h similarity index 73% rename from gedit/gedit-style-scheme-manager.h rename to pluma/pluma-style-scheme-manager.h index 406719a..1730935 100755 --- a/gedit/gedit-style-scheme-manager.h +++ b/pluma/pluma-style-scheme-manager.h @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * gedit-style-scheme-manager.h + * pluma-style-scheme-manager.h * * Copyright (C) 2007 - Paolo Borelli * @@ -19,38 +19,38 @@ * Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * - * $Id: gedit-source-style-manager.h 5598 2007-04-15 13:16:24Z pborelli $ + * $Id: pluma-source-style-manager.h 5598 2007-04-15 13:16:24Z pborelli $ */ -#ifndef __GEDIT_STYLE_SCHEME_MANAGER_H__ -#define __GEDIT_STYLE_SCHEME_MANAGER_H__ +#ifndef __PLUMA_STYLE_SCHEME_MANAGER_H__ +#define __PLUMA_STYLE_SCHEME_MANAGER_H__ #include G_BEGIN_DECLS GtkSourceStyleSchemeManager * - gedit_get_style_scheme_manager (void); + pluma_get_style_scheme_manager (void); /* Returns a sorted list of style schemes */ -GSList *gedit_style_scheme_manager_list_schemes_sorted +GSList *pluma_style_scheme_manager_list_schemes_sorted (GtkSourceStyleSchemeManager *manager); /* * Non exported functions */ -gboolean _gedit_style_scheme_manager_scheme_is_gedit_user_scheme +gboolean _pluma_style_scheme_manager_scheme_is_pluma_user_scheme (GtkSourceStyleSchemeManager *manager, const gchar *scheme_id); -const gchar *_gedit_style_scheme_manager_install_scheme +const gchar *_pluma_style_scheme_manager_install_scheme (GtkSourceStyleSchemeManager *manager, const gchar *fname); -gboolean _gedit_style_scheme_manager_uninstall_scheme +gboolean _pluma_style_scheme_manager_uninstall_scheme (GtkSourceStyleSchemeManager *manager, const gchar *id); G_END_DECLS -#endif /* __GEDIT_STYLE_SCHEME_MANAGER_H__ */ +#endif /* __PLUMA_STYLE_SCHEME_MANAGER_H__ */ diff --git a/gedit/gedit-tab-label.c b/pluma/pluma-tab-label.c similarity index 66% rename from gedit/gedit-tab-label.c rename to pluma/pluma-tab-label.c index a358ae9..6947c1b 100755 --- a/gedit/gedit-tab-label.c +++ b/pluma/pluma-tab-label.c @@ -1,6 +1,6 @@ /* - * gedit-tab-label.c - * This file is part of gedit + * pluma-tab-label.c + * This file is part of pluma * * Copyright (C) 2010 - Paolo Borelli * @@ -26,14 +26,14 @@ #include #include -#include "gedit-tab-label.h" -#include "gedit-close-button.h" +#include "pluma-tab-label.h" +#include "pluma-close-button.h" #ifdef BUILD_SPINNER -#include "gedit-spinner.h" +#include "pluma-spinner.h" #endif -#define GEDIT_TAB_LABEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GEDIT_TYPE_TAB_LABEL, GeditTabLabelPrivate)) +#define PLUMA_TAB_LABEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_TAB_LABEL, PlumaTabLabelPrivate)) /* Signals */ enum @@ -48,9 +48,9 @@ enum PROP_TAB }; -struct _GeditTabLabelPrivate +struct _PlumaTabLabelPrivate { - GeditTab *tab; + PlumaTab *tab; GtkWidget *ebox; GtkWidget *close_button; @@ -63,26 +63,26 @@ struct _GeditTabLabelPrivate static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GeditTabLabel, gedit_tab_label, GTK_TYPE_HBOX) +G_DEFINE_TYPE (PlumaTabLabel, pluma_tab_label, GTK_TYPE_HBOX) static void -gedit_tab_label_finalize (GObject *object) +pluma_tab_label_finalize (GObject *object) { - G_OBJECT_CLASS (gedit_tab_label_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_tab_label_parent_class)->finalize (object); } static void -gedit_tab_label_set_property (GObject *object, +pluma_tab_label_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditTabLabel *tab_label = GEDIT_TAB_LABEL (object); + PlumaTabLabel *tab_label = PLUMA_TAB_LABEL (object); switch (prop_id) { case PROP_TAB: - tab_label->priv->tab = GEDIT_TAB (g_value_get_object (value)); + tab_label->priv->tab = PLUMA_TAB (g_value_get_object (value)); break; default: @@ -92,12 +92,12 @@ gedit_tab_label_set_property (GObject *object, } static void -gedit_tab_label_get_property (GObject *object, +pluma_tab_label_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditTabLabel *tab_label = GEDIT_TAB_LABEL (object); + PlumaTabLabel *tab_label = PLUMA_TAB_LABEL (object); switch (prop_id) { @@ -113,17 +113,17 @@ gedit_tab_label_get_property (GObject *object, static void close_button_clicked_cb (GtkWidget *widget, - GeditTabLabel *tab_label) + PlumaTabLabel *tab_label) { g_signal_emit (tab_label, signals[CLOSE_CLICKED], 0, NULL); } static void -sync_tip (GeditTab *tab, GeditTabLabel *tab_label) +sync_tip (PlumaTab *tab, PlumaTabLabel *tab_label) { gchar *str; - str = _gedit_tab_get_tooltips (tab); + str = _pluma_tab_get_tooltips (tab); g_return_if_fail (str != NULL); gtk_widget_set_tooltip_markup (tab_label->priv->ebox, str); @@ -131,13 +131,13 @@ sync_tip (GeditTab *tab, GeditTabLabel *tab_label) } static void -sync_name (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) +sync_name (PlumaTab *tab, GParamSpec *pspec, PlumaTabLabel *tab_label) { gchar *str; g_return_if_fail (tab == tab_label->priv->tab); - str = _gedit_tab_get_name (tab); + str = _pluma_tab_get_name (tab); g_return_if_fail (str != NULL); gtk_label_set_text (GTK_LABEL (tab_label->priv->label), str); @@ -147,30 +147,30 @@ sync_name (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) } static void -sync_state (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) +sync_state (PlumaTab *tab, GParamSpec *pspec, PlumaTabLabel *tab_label) { - GeditTabState state; + PlumaTabState state; g_return_if_fail (tab == tab_label->priv->tab); - state = gedit_tab_get_state (tab); + state = pluma_tab_get_state (tab); gtk_widget_set_sensitive (tab_label->priv->close_button, tab_label->priv->close_button_sensitive && - (state != GEDIT_TAB_STATE_CLOSING) && - (state != GEDIT_TAB_STATE_SAVING) && - (state != GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) && - (state != GEDIT_TAB_STATE_SAVING_ERROR)); + (state != PLUMA_TAB_STATE_CLOSING) && + (state != PLUMA_TAB_STATE_SAVING) && + (state != PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) && + (state != PLUMA_TAB_STATE_SAVING_ERROR)); - if ((state == GEDIT_TAB_STATE_LOADING) || - (state == GEDIT_TAB_STATE_SAVING) || - (state == GEDIT_TAB_STATE_REVERTING)) + if ((state == PLUMA_TAB_STATE_LOADING) || + (state == PLUMA_TAB_STATE_SAVING) || + (state == PLUMA_TAB_STATE_REVERTING)) { gtk_widget_hide (tab_label->priv->icon); gtk_widget_show (tab_label->priv->spinner); #ifdef BUILD_SPINNER - gedit_spinner_start (GEDIT_SPINNER (tab_label->priv->spinner)); + pluma_spinner_start (PLUMA_SPINNER (tab_label->priv->spinner)); #else gtk_spinner_start (GTK_SPINNER (tab_label->priv->spinner)); #endif @@ -179,7 +179,7 @@ sync_state (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) { GdkPixbuf *pixbuf; - pixbuf = _gedit_tab_get_icon (tab); + pixbuf = _pluma_tab_get_icon (tab); gtk_image_set_from_pixbuf (GTK_IMAGE (tab_label->priv->icon), pixbuf); if (pixbuf != NULL) @@ -189,7 +189,7 @@ sync_state (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) gtk_widget_hide (tab_label->priv->spinner); #ifdef BUILD_SPINNER - gedit_spinner_stop (GEDIT_SPINNER (tab_label->priv->spinner)); + pluma_spinner_stop (PLUMA_SPINNER (tab_label->priv->spinner)); #else gtk_spinner_stop (GTK_SPINNER (tab_label->priv->spinner)); #endif @@ -200,9 +200,9 @@ sync_state (GeditTab *tab, GParamSpec *pspec, GeditTabLabel *tab_label) } static void -gedit_tab_label_constructed (GObject *object) +pluma_tab_label_constructed (GObject *object) { - GeditTabLabel *tab_label = GEDIT_TAB_LABEL (object); + PlumaTabLabel *tab_label = PLUMA_TAB_LABEL (object); if (!tab_label->priv->tab) { @@ -227,20 +227,20 @@ gedit_tab_label_constructed (GObject *object) } static void -gedit_tab_label_class_init (GeditTabLabelClass *klass) +pluma_tab_label_class_init (PlumaTabLabelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_tab_label_finalize; - object_class->set_property = gedit_tab_label_set_property; - object_class->get_property = gedit_tab_label_get_property; - object_class->constructed = gedit_tab_label_constructed; + object_class->finalize = pluma_tab_label_finalize; + object_class->set_property = pluma_tab_label_set_property; + object_class->get_property = pluma_tab_label_get_property; + object_class->constructed = pluma_tab_label_constructed; signals[CLOSE_CLICKED] = g_signal_new ("close-clicked", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GeditTabLabelClass, close_clicked), + G_STRUCT_OFFSET (PlumaTabLabelClass, close_clicked), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, @@ -250,16 +250,16 @@ gedit_tab_label_class_init (GeditTabLabelClass *klass) PROP_TAB, g_param_spec_object ("tab", "Tab", - "The GeditTab", - GEDIT_TYPE_TAB, + "The PlumaTab", + PLUMA_TYPE_TAB, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); - g_type_class_add_private (object_class, sizeof(GeditTabLabelPrivate)); + g_type_class_add_private (object_class, sizeof(PlumaTabLabelPrivate)); } static void -gedit_tab_label_init (GeditTabLabel *tab_label) +pluma_tab_label_init (PlumaTabLabel *tab_label) { GtkWidget *ebox; GtkWidget *hbox; @@ -269,7 +269,7 @@ gedit_tab_label_init (GeditTabLabel *tab_label) GtkWidget *label; GtkWidget *dummy_label; - tab_label->priv = GEDIT_TAB_LABEL_GET_PRIVATE (tab_label); + tab_label->priv = PLUMA_TAB_LABEL_GET_PRIVATE (tab_label); tab_label->priv->close_button_sensitive = TRUE; @@ -281,7 +281,7 @@ gedit_tab_label_init (GeditTabLabel *tab_label) hbox = gtk_hbox_new (FALSE, 4); gtk_container_add (GTK_CONTAINER (ebox), hbox); - close_button = gedit_close_button_new (); + close_button = pluma_close_button_new (); gtk_widget_set_tooltip_text (close_button, _("Close document")); gtk_box_pack_start (GTK_BOX (tab_label), close_button, FALSE, FALSE, 0); tab_label->priv->close_button = close_button; @@ -292,8 +292,8 @@ gedit_tab_label_init (GeditTabLabel *tab_label) tab_label); #ifdef BUILD_SPINNER - spinner = gedit_spinner_new (); - gedit_spinner_set_size (GEDIT_SPINNER (spinner), GTK_ICON_SIZE_MENU); + spinner = pluma_spinner_new (); + pluma_spinner_set_size (PLUMA_SPINNER (spinner), GTK_ICON_SIZE_MENU); #else spinner = gtk_spinner_new (); #endif @@ -323,12 +323,12 @@ gedit_tab_label_init (GeditTabLabel *tab_label) } void -gedit_tab_label_set_close_button_sensitive (GeditTabLabel *tab_label, +pluma_tab_label_set_close_button_sensitive (PlumaTabLabel *tab_label, gboolean sensitive) { - GeditTabState state; + PlumaTabState state; - g_return_if_fail (GEDIT_IS_TAB_LABEL (tab_label)); + g_return_if_fail (PLUMA_IS_TAB_LABEL (tab_label)); sensitive = (sensitive != FALSE); @@ -337,32 +337,32 @@ gedit_tab_label_set_close_button_sensitive (GeditTabLabel *tab_label, tab_label->priv->close_button_sensitive = sensitive; - state = gedit_tab_get_state (tab_label->priv->tab); + state = pluma_tab_get_state (tab_label->priv->tab); gtk_widget_set_sensitive (tab_label->priv->close_button, tab_label->priv->close_button_sensitive && - (state != GEDIT_TAB_STATE_CLOSING) && - (state != GEDIT_TAB_STATE_SAVING) && - (state != GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) && - (state != GEDIT_TAB_STATE_PRINTING) && - (state != GEDIT_TAB_STATE_PRINT_PREVIEWING) && - (state != GEDIT_TAB_STATE_SAVING_ERROR)); + (state != PLUMA_TAB_STATE_CLOSING) && + (state != PLUMA_TAB_STATE_SAVING) && + (state != PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) && + (state != PLUMA_TAB_STATE_PRINTING) && + (state != PLUMA_TAB_STATE_PRINT_PREVIEWING) && + (state != PLUMA_TAB_STATE_SAVING_ERROR)); } -GeditTab * -gedit_tab_label_get_tab (GeditTabLabel *tab_label) +PlumaTab * +pluma_tab_label_get_tab (PlumaTabLabel *tab_label) { - g_return_val_if_fail (GEDIT_IS_TAB_LABEL (tab_label), NULL); + g_return_val_if_fail (PLUMA_IS_TAB_LABEL (tab_label), NULL); return tab_label->priv->tab; } GtkWidget * -gedit_tab_label_new (GeditTab *tab) +pluma_tab_label_new (PlumaTab *tab) { - GeditTabLabel *tab_label; + PlumaTabLabel *tab_label; - tab_label = g_object_new (GEDIT_TYPE_TAB_LABEL, + tab_label = g_object_new (PLUMA_TYPE_TAB_LABEL, "homogeneous", FALSE, "tab", tab, NULL); diff --git a/pluma/pluma-tab-label.h b/pluma/pluma-tab-label.h new file mode 100755 index 0000000..ab74582 --- /dev/null +++ b/pluma/pluma-tab-label.h @@ -0,0 +1,66 @@ +/* + * pluma-tab-label.h + * This file is part of pluma + * + * Copyright (C) 2010 - Paolo Borelli + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PLUMA_TAB_LABEL_H__ +#define __PLUMA_TAB_LABEL_H__ + +#include +#include + +G_BEGIN_DECLS + +#define PLUMA_TYPE_TAB_LABEL (pluma_tab_label_get_type ()) +#define PLUMA_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_TAB_LABEL, PlumaTabLabel)) +#define PLUMA_TAB_LABEL_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUMA_TYPE_TAB_LABEL, PlumaTabLabel const)) +#define PLUMA_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUMA_TYPE_TAB_LABEL, PlumaTabLabelClass)) +#define PLUMA_IS_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUMA_TYPE_TAB_LABEL)) +#define PLUMA_IS_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_TAB_LABEL)) +#define PLUMA_TAB_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUMA_TYPE_TAB_LABEL, PlumaTabLabelClass)) + +typedef struct _PlumaTabLabel PlumaTabLabel; +typedef struct _PlumaTabLabelClass PlumaTabLabelClass; +typedef struct _PlumaTabLabelPrivate PlumaTabLabelPrivate; + +struct _PlumaTabLabel { + GtkHBox parent; + + PlumaTabLabelPrivate *priv; +}; + +struct _PlumaTabLabelClass { + GtkHBoxClass parent_class; + + void (* close_clicked) (PlumaTabLabel *tab_label); +}; + +GType pluma_tab_label_get_type (void) G_GNUC_CONST; + +GtkWidget *pluma_tab_label_new (PlumaTab *tab); + +PlumaTab *pluma_tab_label_get_tab (PlumaTabLabel *tab_label); + +void pluma_tab_label_set_close_button_sensitive (PlumaTabLabel *tab_label, + gboolean sensitive); + +G_END_DECLS + +#endif /* __PLUMA_TAB_LABEL_H__ */ diff --git a/gedit/gedit-tab.c b/pluma/pluma-tab.c similarity index 62% rename from gedit/gedit-tab.c rename to pluma/pluma-tab.c index 9f26c69..6d5ab97 100755 --- a/gedit/gedit-tab.c +++ b/pluma/pluma-tab.c @@ -1,6 +1,6 @@ /* - * gedit-tab.c - * This file is part of gedit + * pluma-tab.c + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,8 +21,8 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. */ @@ -33,29 +33,29 @@ #include #include -#include "gedit-app.h" -#include "gedit-notebook.h" -#include "gedit-tab.h" -#include "gedit-utils.h" -#include "gedit-io-error-message-area.h" -#include "gedit-print-job.h" -#include "gedit-print-preview.h" -#include "gedit-progress-message-area.h" -#include "gedit-debug.h" -#include "gedit-prefs-manager-app.h" -#include "gedit-enum-types.h" +#include "pluma-app.h" +#include "pluma-notebook.h" +#include "pluma-tab.h" +#include "pluma-utils.h" +#include "pluma-io-error-message-area.h" +#include "pluma-print-job.h" +#include "pluma-print-preview.h" +#include "pluma-progress-message-area.h" +#include "pluma-debug.h" +#include "pluma-prefs-manager-app.h" +#include "pluma-enum-types.h" #if !GTK_CHECK_VERSION (2, 17, 1) -#include "gedit-message-area.h" +#include "pluma-message-area.h" #endif -#define GEDIT_TAB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GEDIT_TYPE_TAB, GeditTabPrivate)) +#define PLUMA_TAB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_TAB, PlumaTabPrivate)) -#define GEDIT_TAB_KEY "GEDIT_TAB_KEY" +#define PLUMA_TAB_KEY "PLUMA_TAB_KEY" -struct _GeditTabPrivate +struct _PlumaTabPrivate { - GeditTabState state; + PlumaTabState state; GtkWidget *view; GtkWidget *view_scrolled_window; @@ -63,19 +63,19 @@ struct _GeditTabPrivate GtkWidget *message_area; GtkWidget *print_preview; - GeditPrintJob *print_job; + PlumaPrintJob *print_job; /* tmp data for saving */ gchar *tmp_save_uri; /* tmp data for loading */ gint tmp_line_pos; - const GeditEncoding *tmp_encoding; + const PlumaEncoding *tmp_encoding; GTimer *timer; guint times_called; - GeditDocumentSaveFlags save_flags; + PlumaDocumentSaveFlags save_flags; gint auto_save_interval; guint auto_save_timeout; @@ -86,7 +86,7 @@ struct _GeditTabPrivate gint ask_if_externally_modified : 1; }; -G_DEFINE_TYPE(GeditTab, gedit_tab, GTK_TYPE_VBOX) +G_DEFINE_TYPE(PlumaTab, pluma_tab, GTK_TYPE_VBOX) enum { @@ -97,55 +97,55 @@ enum PROP_AUTO_SAVE_INTERVAL }; -static gboolean gedit_tab_auto_save (GeditTab *tab); +static gboolean pluma_tab_auto_save (PlumaTab *tab); static void -install_auto_save_timeout (GeditTab *tab) +install_auto_save_timeout (PlumaTab *tab) { gint timeout; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); g_return_if_fail (tab->priv->auto_save_timeout <= 0); g_return_if_fail (tab->priv->auto_save); g_return_if_fail (tab->priv->auto_save_interval > 0); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_LOADING); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_SAVING); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_REVERTING); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_LOADING_ERROR); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_SAVING_ERROR); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_SAVING_ERROR); - g_return_if_fail (tab->priv->state != GEDIT_TAB_STATE_REVERTING_ERROR); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_LOADING); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_SAVING); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_REVERTING); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_LOADING_ERROR); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_SAVING_ERROR); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_SAVING_ERROR); + g_return_if_fail (tab->priv->state != PLUMA_TAB_STATE_REVERTING_ERROR); /* Add a new timeout */ timeout = g_timeout_add_seconds (tab->priv->auto_save_interval * 60, - (GSourceFunc) gedit_tab_auto_save, + (GSourceFunc) pluma_tab_auto_save, tab); tab->priv->auto_save_timeout = timeout; } static gboolean -install_auto_save_timeout_if_needed (GeditTab *tab) +install_auto_save_timeout_if_needed (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); g_return_val_if_fail (tab->priv->auto_save_timeout <= 0, FALSE); - g_return_val_if_fail ((tab->priv->state == GEDIT_TAB_STATE_NORMAL) || - (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) || - (tab->priv->state == GEDIT_TAB_STATE_CLOSING), FALSE); + g_return_val_if_fail ((tab->priv->state == PLUMA_TAB_STATE_NORMAL) || + (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) || + (tab->priv->state == PLUMA_TAB_STATE_CLOSING), FALSE); - if (tab->priv->state == GEDIT_TAB_STATE_CLOSING) + if (tab->priv->state == PLUMA_TAB_STATE_CLOSING) return FALSE; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); if (tab->priv->auto_save && - !gedit_document_is_untitled (doc) && - !gedit_document_get_readonly (doc)) + !pluma_document_is_untitled (doc) && + !pluma_document_get_readonly (doc)) { install_auto_save_timeout (tab); @@ -156,9 +156,9 @@ install_auto_save_timeout_if_needed (GeditTab *tab) } static void -remove_auto_save_timeout (GeditTab *tab) +remove_auto_save_timeout (PlumaTab *tab) { - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); /* FIXME: check sugli stati */ @@ -169,30 +169,30 @@ remove_auto_save_timeout (GeditTab *tab) } static void -gedit_tab_get_property (GObject *object, +pluma_tab_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { - GeditTab *tab = GEDIT_TAB (object); + PlumaTab *tab = PLUMA_TAB (object); switch (prop_id) { case PROP_NAME: g_value_take_string (value, - _gedit_tab_get_name (tab)); + _pluma_tab_get_name (tab)); break; case PROP_STATE: g_value_set_enum (value, - gedit_tab_get_state (tab)); + pluma_tab_get_state (tab)); break; case PROP_AUTO_SAVE: g_value_set_boolean (value, - gedit_tab_get_auto_save_enabled (tab)); + pluma_tab_get_auto_save_enabled (tab)); break; case PROP_AUTO_SAVE_INTERVAL: g_value_set_int (value, - gedit_tab_get_auto_save_interval (tab)); + pluma_tab_get_auto_save_interval (tab)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -201,21 +201,21 @@ gedit_tab_get_property (GObject *object, } static void -gedit_tab_set_property (GObject *object, +pluma_tab_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { - GeditTab *tab = GEDIT_TAB (object); + PlumaTab *tab = PLUMA_TAB (object); switch (prop_id) { case PROP_AUTO_SAVE: - gedit_tab_set_auto_save_enabled (tab, + pluma_tab_set_auto_save_enabled (tab, g_value_get_boolean (value)); break; case PROP_AUTO_SAVE_INTERVAL: - gedit_tab_set_auto_save_interval (tab, + pluma_tab_set_auto_save_interval (tab, g_value_get_int (value)); break; default: @@ -225,9 +225,9 @@ gedit_tab_set_property (GObject *object, } static void -gedit_tab_finalize (GObject *object) +pluma_tab_finalize (GObject *object) { - GeditTab *tab = GEDIT_TAB (object); + PlumaTab *tab = PLUMA_TAB (object); if (tab->priv->timer != NULL) g_timer_destroy (tab->priv->timer); @@ -237,17 +237,17 @@ gedit_tab_finalize (GObject *object) if (tab->priv->auto_save_timeout > 0) remove_auto_save_timeout (tab); - G_OBJECT_CLASS (gedit_tab_parent_class)->finalize (object); + G_OBJECT_CLASS (pluma_tab_parent_class)->finalize (object); } static void -gedit_tab_class_init (GeditTabClass *klass) +pluma_tab_class_init (PlumaTabClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->finalize = gedit_tab_finalize; - object_class->get_property = gedit_tab_get_property; - object_class->set_property = gedit_tab_set_property; + object_class->finalize = pluma_tab_finalize; + object_class->get_property = pluma_tab_get_property; + object_class->set_property = pluma_tab_set_property; g_object_class_install_property (object_class, PROP_NAME, @@ -263,8 +263,8 @@ gedit_tab_class_init (GeditTabClass *klass) g_param_spec_enum ("state", "State", "The tab's state", - GEDIT_TYPE_TAB_STATE, - GEDIT_TAB_STATE_NORMAL, + PLUMA_TYPE_TAB_STATE, + PLUMA_TAB_STATE_NORMAL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -288,28 +288,28 @@ gedit_tab_class_init (GeditTabClass *klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - g_type_class_add_private (object_class, sizeof (GeditTabPrivate)); + g_type_class_add_private (object_class, sizeof (PlumaTabPrivate)); } /** - * gedit_tab_get_state: - * @tab: a #GeditTab + * pluma_tab_get_state: + * @tab: a #PlumaTab * - * Gets the #GeditTabState of @tab. + * Gets the #PlumaTabState of @tab. * - * Returns: the #GeditTabState of @tab + * Returns: the #PlumaTabState of @tab */ -GeditTabState -gedit_tab_get_state (GeditTab *tab) +PlumaTabState +pluma_tab_get_state (PlumaTab *tab) { - g_return_val_if_fail (GEDIT_IS_TAB (tab), GEDIT_TAB_STATE_NORMAL); + g_return_val_if_fail (PLUMA_IS_TAB (tab), PLUMA_TAB_STATE_NORMAL); return tab->priv->state; } static void set_cursor_according_to_state (GtkTextView *view, - GeditTabState state) + PlumaTabState state) { GdkCursor *cursor; GdkWindow *text_window; @@ -318,12 +318,12 @@ set_cursor_according_to_state (GtkTextView *view, text_window = gtk_text_view_get_window (view, GTK_TEXT_WINDOW_TEXT); left_window = gtk_text_view_get_window (view, GTK_TEXT_WINDOW_LEFT); - if ((state == GEDIT_TAB_STATE_LOADING) || - (state == GEDIT_TAB_STATE_REVERTING) || - (state == GEDIT_TAB_STATE_SAVING) || - (state == GEDIT_TAB_STATE_PRINTING) || - (state == GEDIT_TAB_STATE_PRINT_PREVIEWING) || - (state == GEDIT_TAB_STATE_CLOSING)) + if ((state == PLUMA_TAB_STATE_LOADING) || + (state == PLUMA_TAB_STATE_REVERTING) || + (state == PLUMA_TAB_STATE_SAVING) || + (state == PLUMA_TAB_STATE_PRINTING) || + (state == PLUMA_TAB_STATE_PRINT_PREVIEWING) || + (state == PLUMA_TAB_STATE_CLOSING)) { cursor = gdk_cursor_new_for_display ( gtk_widget_get_display (GTK_WIDGET (view)), @@ -353,38 +353,38 @@ set_cursor_according_to_state (GtkTextView *view, static void view_realized (GtkTextView *view, - GeditTab *tab) + PlumaTab *tab) { set_cursor_according_to_state (view, tab->priv->state); } static void -set_view_properties_according_to_state (GeditTab *tab, - GeditTabState state) +set_view_properties_according_to_state (PlumaTab *tab, + PlumaTabState state) { gboolean val; - val = ((state == GEDIT_TAB_STATE_NORMAL) && + val = ((state == PLUMA_TAB_STATE_NORMAL) && (tab->priv->print_preview == NULL) && !tab->priv->not_editable); gtk_text_view_set_editable (GTK_TEXT_VIEW (tab->priv->view), val); - val = ((state != GEDIT_TAB_STATE_LOADING) && - (state != GEDIT_TAB_STATE_CLOSING)); + val = ((state != PLUMA_TAB_STATE_LOADING) && + (state != PLUMA_TAB_STATE_CLOSING)); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (tab->priv->view), val); - val = ((state != GEDIT_TAB_STATE_LOADING) && - (state != GEDIT_TAB_STATE_CLOSING) && - (gedit_prefs_manager_get_highlight_current_line ())); + val = ((state != PLUMA_TAB_STATE_LOADING) && + (state != PLUMA_TAB_STATE_CLOSING) && + (pluma_prefs_manager_get_highlight_current_line ())); gtk_source_view_set_highlight_current_line (GTK_SOURCE_VIEW (tab->priv->view), val); } static void -gedit_tab_set_state (GeditTab *tab, - GeditTabState state) +pluma_tab_set_state (PlumaTab *tab, + PlumaTabState state) { - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail ((state >= 0) && (state < GEDIT_TAB_NUM_OF_STATES)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail ((state >= 0) && (state < PLUMA_TAB_NUM_OF_STATES)); if (tab->priv->state == state) return; @@ -393,8 +393,8 @@ gedit_tab_set_state (GeditTab *tab, set_view_properties_according_to_state (tab, state); - if ((state == GEDIT_TAB_STATE_LOADING_ERROR) || /* FIXME: add other states if needed */ - (state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW)) + if ((state == PLUMA_TAB_STATE_LOADING_ERROR) || /* FIXME: add other states if needed */ + (state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW)) { gtk_widget_hide (tab->priv->view_scrolled_window); } @@ -411,22 +411,22 @@ gedit_tab_set_state (GeditTab *tab, } static void -document_uri_notify_handler (GeditDocument *document, +document_uri_notify_handler (PlumaDocument *document, GParamSpec *pspec, - GeditTab *tab) + PlumaTab *tab) { - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); /* Notify the change in the URI */ g_object_notify (G_OBJECT (tab), "name"); } static void -document_shortname_notify_handler (GeditDocument *document, +document_shortname_notify_handler (PlumaDocument *document, GParamSpec *pspec, - GeditTab *tab) + PlumaTab *tab) { - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); /* Notify the change in the shortname */ g_object_notify (G_OBJECT (tab), "name"); @@ -434,13 +434,13 @@ document_shortname_notify_handler (GeditDocument *document, static void document_modified_changed (GtkTextBuffer *document, - GeditTab *tab) + PlumaTab *tab) { g_object_notify (G_OBJECT (tab), "name"); } static void -set_message_area (GeditTab *tab, +set_message_area (PlumaTab *tab, GtkWidget *message_area) { if (tab->priv->message_area == message_area) @@ -465,38 +465,38 @@ set_message_area (GeditTab *tab, } static void -remove_tab (GeditTab *tab) +remove_tab (PlumaTab *tab) { - GeditNotebook *notebook; + PlumaNotebook *notebook; - notebook = GEDIT_NOTEBOOK (gtk_widget_get_parent (GTK_WIDGET (tab))); + notebook = PLUMA_NOTEBOOK (gtk_widget_get_parent (GTK_WIDGET (tab))); - gedit_notebook_remove_tab (notebook, tab); + pluma_notebook_remove_tab (notebook, tab); } static void io_loading_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditDocument *doc; - GeditView *view; + PlumaDocument *doc; + PlumaView *view; gchar *uri; - const GeditEncoding *encoding; + const PlumaEncoding *encoding; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); - view = gedit_tab_get_view (tab); - g_return_if_fail (GEDIT_IS_VIEW (view)); + view = pluma_tab_get_view (tab); + g_return_if_fail (PLUMA_IS_VIEW (view)); - uri = gedit_document_get_uri (doc); + uri = pluma_document_get_uri (doc); g_return_if_fail (uri != NULL); switch (response_id) { case GTK_RESPONSE_OK: - encoding = gedit_conversion_error_message_area_get_encoding ( + encoding = pluma_conversion_error_message_area_get_encoding ( GTK_WIDGET (message_area)); if (encoding != NULL) @@ -505,11 +505,11 @@ io_loading_error_message_area_response (GtkWidget *message_area, } set_message_area (tab, NULL); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_LOADING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_LOADING); g_return_if_fail (tab->priv->auto_save_timeout <= 0); - gedit_document_load (doc, + pluma_document_load (doc, uri, tab->priv->tmp_encoding, tab->priv->tmp_line_pos, @@ -518,14 +518,14 @@ io_loading_error_message_area_response (GtkWidget *message_area, case GTK_RESPONSE_YES: /* This means that we want to edit the document anyway */ set_message_area (tab, NULL); - _gedit_document_set_readonly (doc, FALSE); + _pluma_document_set_readonly (doc, FALSE); break; case GTK_RESPONSE_NO: /* We don't want to edit the document just show it */ set_message_area (tab, NULL); break; default: - _gedit_recent_remove (GEDIT_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), uri); + _pluma_recent_remove (PLUMA_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), uri); remove_tab (tab); break; @@ -537,11 +537,11 @@ io_loading_error_message_area_response (GtkWidget *message_area, static void file_already_open_warning_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditView *view; + PlumaView *view; - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); if (response_id == GTK_RESPONSE_YES) { @@ -559,28 +559,28 @@ file_already_open_warning_message_area_response (GtkWidget *message_area, static void load_cancelled (GtkWidget *area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); g_object_ref (tab); - gedit_document_load_cancel (gedit_tab_get_document (tab)); + pluma_document_load_cancel (pluma_tab_get_document (tab)); g_object_unref (tab); } static void unrecoverable_reverting_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditView *view; + PlumaView *view; - gedit_tab_set_state (tab, - GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, + PLUMA_TAB_STATE_NORMAL); set_message_area (tab, NULL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); gtk_widget_grab_focus (GTK_WIDGET (view)); @@ -590,10 +590,10 @@ unrecoverable_reverting_error_message_area_response (GtkWidget *message_a #define MAX_MSG_LENGTH 100 static void -show_loading_message_area (GeditTab *tab) +show_loading_message_area (PlumaTab *tab) { GtkWidget *area; - GeditDocument *doc = NULL; + PlumaDocument *doc = NULL; gchar *name; gchar *dirname = NULL; gchar *msg = NULL; @@ -604,12 +604,12 @@ show_loading_message_area (GeditTab *tab) if (tab->priv->message_area != NULL) return; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); g_return_if_fail (doc != NULL); - name = gedit_document_get_short_name_for_display (doc); + name = pluma_document_get_short_name_for_display (doc); len = g_utf8_strlen (name, -1); /* if the name is awfully long, truncate it and be done with it, @@ -619,7 +619,7 @@ show_loading_message_area (GeditTab *tab) { gchar *str; - str = gedit_utils_str_middle_truncate (name, MAX_MSG_LENGTH); + str = pluma_utils_str_middle_truncate (name, MAX_MSG_LENGTH); g_free (name); name = str; } @@ -627,12 +627,12 @@ show_loading_message_area (GeditTab *tab) { GFile *file; - file = gedit_document_get_location (doc); + file = pluma_document_get_location (doc); if (file != NULL) { gchar *str; - str = gedit_utils_location_get_dirname_for_display (file); + str = pluma_utils_location_get_dirname_for_display (file); g_object_unref (file); /* use the remaining space for the dir, but use a min of 20 chars @@ -641,7 +641,7 @@ show_loading_message_area (GeditTab *tab) * we have a title long 99 + 20, but I think it's a rare enough * case to be acceptable. It's justa darn title afterall :) */ - dirname = gedit_utils_str_middle_truncate (str, + dirname = pluma_utils_str_middle_truncate (str, MAX (20, MAX_MSG_LENGTH - len)); g_free (str); } @@ -649,14 +649,14 @@ show_loading_message_area (GeditTab *tab) name_markup = g_markup_printf_escaped ("%s", name); - if (tab->priv->state == GEDIT_TAB_STATE_REVERTING) + if (tab->priv->state == PLUMA_TAB_STATE_REVERTING) { if (dirname != NULL) { dirname_markup = g_markup_printf_escaped ("%s", dirname); /* Translators: the first %s is a file name (e.g. test.txt) the second one - is a directory (e.g. ssh://master.mate.org/home/users/paolo) */ + is a directory (e.g. ssh://master.gnome.org/home/users/paolo) */ msg = g_strdup_printf (_("Reverting %s from %s"), name_markup, dirname_markup); @@ -668,7 +668,7 @@ show_loading_message_area (GeditTab *tab) name_markup); } - area = gedit_progress_message_area_new (GTK_STOCK_REVERT_TO_SAVED, + area = pluma_progress_message_area_new (GTK_STOCK_REVERT_TO_SAVED, msg, TRUE); } @@ -679,7 +679,7 @@ show_loading_message_area (GeditTab *tab) dirname_markup = g_markup_printf_escaped ("%s", dirname); /* Translators: the first %s is a file name (e.g. test.txt) the second one - is a directory (e.g. ssh://master.mate.org/home/users/paolo) */ + is a directory (e.g. ssh://master.gnome.org/home/users/paolo) */ msg = g_strdup_printf (_("Loading %s from %s"), name_markup, dirname_markup); @@ -691,7 +691,7 @@ show_loading_message_area (GeditTab *tab) name_markup); } - area = gedit_progress_message_area_new (GTK_STOCK_OPEN, + area = pluma_progress_message_area_new (GTK_STOCK_OPEN, msg, TRUE); } @@ -712,10 +712,10 @@ show_loading_message_area (GeditTab *tab) } static void -show_saving_message_area (GeditTab *tab) +show_saving_message_area (PlumaTab *tab) { GtkWidget *area; - GeditDocument *doc = NULL; + PlumaDocument *doc = NULL; gchar *short_name; gchar *from; gchar *to = NULL; @@ -729,12 +729,12 @@ show_saving_message_area (GeditTab *tab) if (tab->priv->message_area != NULL) return; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); g_return_if_fail (doc != NULL); - short_name = gedit_document_get_short_name_for_display (doc); + short_name = pluma_document_get_short_name_for_display (doc); len = g_utf8_strlen (short_name, -1); @@ -743,7 +743,7 @@ show_saving_message_area (GeditTab *tab) */ if (len > MAX_MSG_LENGTH) { - from = gedit_utils_str_middle_truncate (short_name, + from = pluma_utils_str_middle_truncate (short_name, MAX_MSG_LENGTH); g_free (short_name); } @@ -753,9 +753,9 @@ show_saving_message_area (GeditTab *tab) from = short_name; - to = gedit_utils_uri_for_display (tab->priv->tmp_save_uri); + to = pluma_utils_uri_for_display (tab->priv->tmp_save_uri); - str = gedit_utils_str_middle_truncate (to, + str = pluma_utils_str_middle_truncate (to, MAX (20, MAX_MSG_LENGTH - len)); g_free (to); @@ -769,7 +769,7 @@ show_saving_message_area (GeditTab *tab) to_markup = g_markup_printf_escaped ("%s", to); /* Translators: the first %s is a file name (e.g. test.txt) the second one - is a directory (e.g. ssh://master.mate.org/home/users/paolo) */ + is a directory (e.g. ssh://master.gnome.org/home/users/paolo) */ msg = g_strdup_printf (_("Saving %s to %s"), from_markup, to_markup); @@ -780,7 +780,7 @@ show_saving_message_area (GeditTab *tab) msg = g_strdup_printf (_("Saving %s"), from_markup); } - area = gedit_progress_message_area_new (GTK_STOCK_SAVE, + area = pluma_progress_message_area_new (GTK_STOCK_SAVE, msg, FALSE); @@ -795,25 +795,25 @@ show_saving_message_area (GeditTab *tab) } static void -message_area_set_progress (GeditTab *tab, +message_area_set_progress (PlumaTab *tab, goffset size, goffset total_size) { if (tab->priv->message_area == NULL) return; - gedit_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); + pluma_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); if (total_size == 0) { if (size != 0) - gedit_progress_message_area_pulse ( - GEDIT_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + pluma_progress_message_area_pulse ( + PLUMA_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); else - gedit_progress_message_area_set_fraction ( - GEDIT_PROGRESS_MESSAGE_AREA (tab->priv->message_area), + pluma_progress_message_area_set_fraction ( + PLUMA_PROGRESS_MESSAGE_AREA (tab->priv->message_area), 0); } else @@ -822,25 +822,25 @@ message_area_set_progress (GeditTab *tab, frac = (gdouble)size / (gdouble)total_size; - gedit_progress_message_area_set_fraction ( - GEDIT_PROGRESS_MESSAGE_AREA (tab->priv->message_area), + pluma_progress_message_area_set_fraction ( + PLUMA_PROGRESS_MESSAGE_AREA (tab->priv->message_area), frac); } } static void -document_loading (GeditDocument *document, +document_loading (PlumaDocument *document, goffset size, goffset total_size, - GeditTab *tab) + PlumaTab *tab) { gdouble et; gdouble total_time; - g_return_if_fail ((tab->priv->state == GEDIT_TAB_STATE_LOADING) || - (tab->priv->state == GEDIT_TAB_STATE_REVERTING)); + g_return_if_fail ((tab->priv->state == PLUMA_TAB_STATE_LOADING) || + (tab->priv->state == PLUMA_TAB_STATE_REVERTING)); - gedit_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); + pluma_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); if (tab->priv->timer == NULL) { @@ -862,7 +862,7 @@ document_loading (GeditDocument *document, } static gboolean -remove_tab_idle (GeditTab *tab) +remove_tab_idle (PlumaTab *tab) { remove_tab (tab); @@ -870,17 +870,17 @@ remove_tab_idle (GeditTab *tab) } static void -document_loaded (GeditDocument *document, +document_loaded (PlumaDocument *document, const GError *error, - GeditTab *tab) + PlumaTab *tab) { GtkWidget *emsg; GFile *location; gchar *uri; - const GeditEncoding *encoding; + const PlumaEncoding *encoding; - g_return_if_fail ((tab->priv->state == GEDIT_TAB_STATE_LOADING) || - (tab->priv->state == GEDIT_TAB_STATE_REVERTING)); + g_return_if_fail ((tab->priv->state == PLUMA_TAB_STATE_LOADING) || + (tab->priv->state == PLUMA_TAB_STATE_REVERTING)); g_return_if_fail (tab->priv->auto_save_timeout <= 0); if (tab->priv->timer != NULL) @@ -892,19 +892,19 @@ document_loaded (GeditDocument *document, set_message_area (tab, NULL); - location = gedit_document_get_location (document); - uri = gedit_document_get_uri (document); + location = pluma_document_get_location (document); + uri = pluma_document_get_uri (document); /* if the error is CONVERSION FALLBACK don't treat it as a normal error */ if (error != NULL && - (error->domain != GEDIT_DOCUMENT_ERROR || error->code != GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK)) + (error->domain != PLUMA_DOCUMENT_ERROR || error->code != PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK)) { - if (tab->priv->state == GEDIT_TAB_STATE_LOADING) - gedit_tab_set_state (tab, GEDIT_TAB_STATE_LOADING_ERROR); + if (tab->priv->state == PLUMA_TAB_STATE_LOADING) + pluma_tab_set_state (tab, PLUMA_TAB_STATE_LOADING_ERROR); else - gedit_tab_set_state (tab, GEDIT_TAB_STATE_REVERTING_ERROR); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_REVERTING_ERROR); - encoding = gedit_document_get_encoding (document); + encoding = pluma_document_get_encoding (document); if (error->domain == G_IO_ERROR && error->code == G_IO_ERROR_CANCELLED) @@ -919,11 +919,11 @@ document_loaded (GeditDocument *document, } else { - _gedit_recent_remove (GEDIT_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), uri); + _pluma_recent_remove (PLUMA_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), uri); - if (tab->priv->state == GEDIT_TAB_STATE_LOADING_ERROR) + if (tab->priv->state == PLUMA_TAB_STATE_LOADING_ERROR) { - emsg = gedit_io_loading_error_message_area_new (uri, + emsg = pluma_io_loading_error_message_area_new (uri, tab->priv->tmp_encoding, error); g_signal_connect (emsg, @@ -933,9 +933,9 @@ document_loaded (GeditDocument *document, } else { - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_REVERTING_ERROR); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_REVERTING_ERROR); - emsg = gedit_unrecoverable_reverting_error_message_area_new (uri, + emsg = pluma_unrecoverable_reverting_error_message_area_new (uri, error); g_signal_connect (emsg, @@ -948,7 +948,7 @@ document_loaded (GeditDocument *document, } #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_default_response (GEDIT_MESSAGE_AREA (emsg), + pluma_message_area_set_default_response (PLUMA_MESSAGE_AREA (emsg), GTK_RESPONSE_CANCEL); #else gtk_info_bar_set_default_response (GTK_INFO_BAR (emsg), @@ -970,21 +970,21 @@ document_loaded (GeditDocument *document, g_return_if_fail (uri != NULL); - mime = gedit_document_get_mime_type (document); - _gedit_recent_add (GEDIT_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), + mime = pluma_document_get_mime_type (document); + _pluma_recent_add (PLUMA_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), uri, mime); g_free (mime); if (error && - error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK) + error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_CONVERSION_FALLBACK) { GtkWidget *emsg; - _gedit_document_set_readonly (document, TRUE); + _pluma_document_set_readonly (document, TRUE); - emsg = gedit_io_loading_error_message_area_new (uri, + emsg = pluma_io_loading_error_message_area_new (uri, tab->priv->tmp_encoding, error); @@ -996,7 +996,7 @@ document_loaded (GeditDocument *document, tab); #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_default_response (GEDIT_MESSAGE_AREA (emsg), + pluma_message_area_set_default_response (PLUMA_MESSAGE_AREA (emsg), GTK_RESPONSE_CANCEL); #else gtk_info_bar_set_default_response (GTK_INFO_BAR (emsg), @@ -1007,36 +1007,36 @@ document_loaded (GeditDocument *document, } /* Scroll to the cursor when the document is loaded */ - gedit_view_scroll_to_cursor (GEDIT_VIEW (tab->priv->view)); + pluma_view_scroll_to_cursor (PLUMA_VIEW (tab->priv->view)); - all_documents = gedit_app_get_documents (gedit_app_get_default ()); + all_documents = pluma_app_get_documents (pluma_app_get_default ()); for (l = all_documents; l != NULL; l = g_list_next (l)) { - GeditDocument *d = GEDIT_DOCUMENT (l->data); + PlumaDocument *d = PLUMA_DOCUMENT (l->data); if (d != document) { GFile *loc; - loc = gedit_document_get_location (d); + loc = pluma_document_get_location (d); if ((loc != NULL) && g_file_equal (location, loc)) { GtkWidget *w; - GeditView *view; + PlumaView *view; - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); tab->priv->not_editable = TRUE; - w = gedit_file_already_open_warning_message_area_new (uri); + w = pluma_file_already_open_warning_message_area_new (uri); set_message_area (tab, w); #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_default_response (GEDIT_MESSAGE_AREA (w), + pluma_message_area_set_default_response (PLUMA_MESSAGE_AREA (w), GTK_RESPONSE_CANCEL); #else gtk_info_bar_set_default_response (GTK_INFO_BAR (w), @@ -1061,7 +1061,7 @@ document_loaded (GeditDocument *document, g_list_free (all_documents); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); install_auto_save_timeout_if_needed (tab); @@ -1077,17 +1077,17 @@ document_loaded (GeditDocument *document, } static void -document_saving (GeditDocument *document, +document_saving (PlumaDocument *document, goffset size, goffset total_size, - GeditTab *tab) + PlumaTab *tab) { gdouble et; gdouble total_time; - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_SAVING); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_SAVING); - gedit_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); + pluma_debug_message (DEBUG_TAB, "%" G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT, size, total_size); if (tab->priv->timer == NULL) @@ -1112,7 +1112,7 @@ document_saving (GeditDocument *document, } static void -end_saving (GeditTab *tab) +end_saving (PlumaTab *tab) { /* Reset tmp data for saving */ g_free (tab->priv->tmp_save_uri); @@ -1125,20 +1125,20 @@ end_saving (GeditTab *tab) static void unrecoverable_saving_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditView *view; + PlumaView *view; if (tab->priv->print_preview != NULL) - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW); else - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); end_saving (tab); set_message_area (tab, NULL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); gtk_widget_grab_focus (GTK_WIDGET (view)); } @@ -1146,29 +1146,29 @@ unrecoverable_saving_error_message_area_response (GtkWidget *message_area static void no_backup_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { if (response_id == GTK_RESPONSE_YES) { - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); set_message_area (tab, NULL); g_return_if_fail (tab->priv->tmp_save_uri != NULL); g_return_if_fail (tab->priv->tmp_encoding != NULL); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); /* don't bug the user again with this... */ - tab->priv->save_flags |= GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP; + tab->priv->save_flags |= PLUMA_DOCUMENT_SAVE_IGNORE_BACKUP; g_return_if_fail (tab->priv->auto_save_timeout <= 0); /* Force saving */ - gedit_document_save (doc, tab->priv->save_flags); + pluma_document_save (doc, tab->priv->save_flags); } else { @@ -1181,28 +1181,28 @@ no_backup_error_message_area_response (GtkWidget *message_area, static void externally_modified_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { if (response_id == GTK_RESPONSE_YES) { - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); set_message_area (tab, NULL); g_return_if_fail (tab->priv->tmp_save_uri != NULL); g_return_if_fail (tab->priv->tmp_encoding != NULL); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); g_return_if_fail (tab->priv->auto_save_timeout <= 0); /* ignore mtime should not be persisted in save flags across saves */ /* Force saving */ - gedit_document_save (doc, tab->priv->save_flags | GEDIT_DOCUMENT_SAVE_IGNORE_MTIME); + pluma_document_save (doc, tab->priv->save_flags | PLUMA_DOCUMENT_SAVE_IGNORE_MTIME); } else { @@ -1215,18 +1215,18 @@ externally_modified_error_message_area_response (GtkWidget *message_area, static void recoverable_saving_error_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); if (response_id == GTK_RESPONSE_OK) { - const GeditEncoding *encoding; + const PlumaEncoding *encoding; - encoding = gedit_conversion_error_message_area_get_encoding ( + encoding = pluma_conversion_error_message_area_get_encoding ( GTK_WIDGET (message_area)); g_return_if_fail (encoding != NULL); @@ -1235,15 +1235,15 @@ recoverable_saving_error_message_area_response (GtkWidget *message_area, g_return_if_fail (tab->priv->tmp_save_uri != NULL); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); tab->priv->tmp_encoding = encoding; - gedit_debug_message (DEBUG_TAB, "Force saving with URI '%s'", tab->priv->tmp_save_uri); + pluma_debug_message (DEBUG_TAB, "Force saving with URI '%s'", tab->priv->tmp_save_uri); g_return_if_fail (tab->priv->auto_save_timeout <= 0); - gedit_document_save_as (doc, + pluma_document_save_as (doc, tab->priv->tmp_save_uri, tab->priv->tmp_encoding, tab->priv->save_flags); @@ -1257,13 +1257,13 @@ recoverable_saving_error_message_area_response (GtkWidget *message_area, } static void -document_saved (GeditDocument *document, +document_saved (PlumaDocument *document, const GError *error, - GeditTab *tab) + PlumaTab *tab) { GtkWidget *emsg; - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_SAVING); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_SAVING); g_return_if_fail (tab->priv->tmp_save_uri != NULL); g_return_if_fail (tab->priv->tmp_encoding != NULL); @@ -1277,13 +1277,13 @@ document_saved (GeditDocument *document, if (error != NULL) { - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING_ERROR); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING_ERROR); - if (error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED) + if (error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_EXTERNALLY_MODIFIED) { /* This error is recoverable */ - emsg = gedit_externally_modified_saving_error_message_area_new ( + emsg = pluma_externally_modified_saving_error_message_area_new ( tab->priv->tmp_save_uri, error); g_return_if_fail (emsg != NULL); @@ -1295,13 +1295,13 @@ document_saved (GeditDocument *document, G_CALLBACK (externally_modified_error_message_area_response), tab); } - else if ((error->domain == GEDIT_DOCUMENT_ERROR && - error->code == GEDIT_DOCUMENT_ERROR_CANT_CREATE_BACKUP) || + else if ((error->domain == PLUMA_DOCUMENT_ERROR && + error->code == PLUMA_DOCUMENT_ERROR_CANT_CREATE_BACKUP) || (error->domain == G_IO_ERROR && error->code == G_IO_ERROR_CANT_CREATE_BACKUP)) { /* This error is recoverable */ - emsg = gedit_no_backup_saving_error_message_area_new ( + emsg = pluma_no_backup_saving_error_message_area_new ( tab->priv->tmp_save_uri, error); g_return_if_fail (emsg != NULL); @@ -1313,16 +1313,16 @@ document_saved (GeditDocument *document, G_CALLBACK (no_backup_error_message_area_response), tab); } - else if (error->domain == GEDIT_DOCUMENT_ERROR || + else if (error->domain == PLUMA_DOCUMENT_ERROR || (error->domain == G_IO_ERROR && error->code != G_IO_ERROR_INVALID_DATA && error->code != G_IO_ERROR_PARTIAL_INPUT)) { /* These errors are _NOT_ recoverable */ - _gedit_recent_remove (GEDIT_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), + _pluma_recent_remove (PLUMA_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), tab->priv->tmp_save_uri); - emsg = gedit_unrecoverable_saving_error_message_area_new (tab->priv->tmp_save_uri, + emsg = pluma_unrecoverable_saving_error_message_area_new (tab->priv->tmp_save_uri, error); g_return_if_fail (emsg != NULL); @@ -1339,7 +1339,7 @@ document_saved (GeditDocument *document, g_return_if_fail (error->domain == G_CONVERT_ERROR || error->domain == G_IO_ERROR); - emsg = gedit_conversion_error_while_saving_message_area_new ( + emsg = pluma_conversion_error_while_saving_message_area_new ( tab->priv->tmp_save_uri, tab->priv->tmp_encoding, error); @@ -1353,7 +1353,7 @@ document_saved (GeditDocument *document, } #if !GTK_CHECK_VERSION (2, 17, 1) - gedit_message_area_set_default_response (GEDIT_MESSAGE_AREA (emsg), + pluma_message_area_set_default_response (PLUMA_MESSAGE_AREA (emsg), GTK_RESPONSE_CANCEL); #else gtk_info_bar_set_default_response (GTK_INFO_BAR (emsg), @@ -1364,17 +1364,17 @@ document_saved (GeditDocument *document, } else { - gchar *mime = gedit_document_get_mime_type (document); + gchar *mime = pluma_document_get_mime_type (document); - _gedit_recent_add (GEDIT_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), + _pluma_recent_add (PLUMA_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab))), tab->priv->tmp_save_uri, mime); g_free (mime); if (tab->priv->print_preview != NULL) - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW); else - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); tab->priv->ask_if_externally_modified = TRUE; @@ -1385,46 +1385,46 @@ document_saved (GeditDocument *document, static void externally_modified_notification_message_area_response (GtkWidget *message_area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - GeditView *view; + PlumaView *view; set_message_area (tab, NULL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); if (response_id == GTK_RESPONSE_OK) { - _gedit_tab_revert (tab); + _pluma_tab_revert (tab); } else { tab->priv->ask_if_externally_modified = FALSE; /* go back to normal state */ - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); } gtk_widget_grab_focus (GTK_WIDGET (view)); } static void -display_externally_modified_notification (GeditTab *tab) +display_externally_modified_notification (PlumaTab *tab) { GtkWidget *message_area; - GeditDocument *doc; + PlumaDocument *doc; gchar *uri; gboolean document_modified; - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); /* uri cannot be NULL, we're here because * the file we're editing changed on disk */ - uri = gedit_document_get_uri (doc); + uri = pluma_document_get_uri (doc); g_return_if_fail (uri != NULL); document_modified = gtk_text_buffer_get_modified (GTK_TEXT_BUFFER(doc)); - message_area = gedit_externally_modified_message_area_new (uri, document_modified); + message_area = pluma_externally_modified_message_area_new (uri, document_modified); g_free (uri); tab->priv->message_area = NULL; @@ -1440,14 +1440,14 @@ display_externally_modified_notification (GeditTab *tab) static gboolean view_focused_in (GtkWidget *widget, GdkEventFocus *event, - GeditTab *tab) + PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; - g_return_val_if_fail (GEDIT_IS_TAB (tab), FALSE); + g_return_val_if_fail (PLUMA_IS_TAB (tab), FALSE); /* we try to detect file changes only in the normal state */ - if (tab->priv->state != GEDIT_TAB_STATE_NORMAL) + if (tab->priv->state != PLUMA_TAB_STATE_NORMAL) { return FALSE; } @@ -1458,17 +1458,17 @@ view_focused_in (GtkWidget *widget, return FALSE; } - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); /* If file was never saved or is remote we do not check */ - if (!gedit_document_is_local (doc)) + if (!pluma_document_is_local (doc)) { return FALSE; } - if (_gedit_document_check_externally_modified (doc)) + if (_pluma_document_check_externally_modified (doc)) { - gedit_tab_set_state (tab, GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION); display_externally_modified_notification (tab); @@ -1479,10 +1479,10 @@ view_focused_in (GtkWidget *widget, } static GMountOperation * -tab_mount_operation_factory (GeditDocument *doc, +tab_mount_operation_factory (PlumaDocument *doc, gpointer userdata) { - GeditTab *tab = GEDIT_TAB (userdata); + PlumaTab *tab = PLUMA_TAB (userdata); GtkWidget *window; window = gtk_widget_get_toplevel (GTK_WIDGET (tab)); @@ -1490,15 +1490,15 @@ tab_mount_operation_factory (GeditDocument *doc, } static void -gedit_tab_init (GeditTab *tab) +pluma_tab_init (PlumaTab *tab) { GtkWidget *sw; - GeditDocument *doc; - GeditLockdownMask lockdown; + PlumaDocument *doc; + PlumaLockdownMask lockdown; - tab->priv = GEDIT_TAB_GET_PRIVATE (tab); + tab->priv = PLUMA_TAB_GET_PRIVATE (tab); - tab->priv->state = GEDIT_TAB_STATE_NORMAL; + tab->priv->state = PLUMA_TAB_STATE_NORMAL; tab->priv->not_editable = FALSE; @@ -1515,27 +1515,27 @@ gedit_tab_init (GeditTab *tab) GTK_POLICY_AUTOMATIC); /* Manage auto save data */ - lockdown = gedit_app_get_lockdown (gedit_app_get_default ()); - tab->priv->auto_save = gedit_prefs_manager_get_auto_save () && - !(lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK); + lockdown = pluma_app_get_lockdown (pluma_app_get_default ()); + tab->priv->auto_save = pluma_prefs_manager_get_auto_save () && + !(lockdown & PLUMA_LOCKDOWN_SAVE_TO_DISK); tab->priv->auto_save = (tab->priv->auto_save != FALSE); - tab->priv->auto_save_interval = gedit_prefs_manager_get_auto_save_interval (); + tab->priv->auto_save_interval = pluma_prefs_manager_get_auto_save_interval (); if (tab->priv->auto_save_interval <= 0) tab->priv->auto_save_interval = GPM_DEFAULT_AUTO_SAVE_INTERVAL; /* Create the view */ - doc = gedit_document_new (); - g_object_set_data (G_OBJECT (doc), GEDIT_TAB_KEY, tab); + doc = pluma_document_new (); + g_object_set_data (G_OBJECT (doc), PLUMA_TAB_KEY, tab); - _gedit_document_set_mount_operation_factory (doc, + _pluma_document_set_mount_operation_factory (doc, tab_mount_operation_factory, tab); - tab->priv->view = gedit_view_new (doc); + tab->priv->view = pluma_view_new (doc); g_object_unref (doc); gtk_widget_show (tab->priv->view); - g_object_set_data (G_OBJECT (tab->priv->view), GEDIT_TAB_KEY, tab); + g_object_set_data (G_OBJECT (tab->priv->view), PLUMA_TAB_KEY, tab); gtk_box_pack_end (GTK_BOX (tab), sw, TRUE, TRUE, 0); gtk_container_add (GTK_CONTAINER (sw), tab->priv->view); @@ -1584,26 +1584,26 @@ gedit_tab_init (GeditTab *tab) } GtkWidget * -_gedit_tab_new (void) +_pluma_tab_new (void) { - return GTK_WIDGET (g_object_new (GEDIT_TYPE_TAB, NULL)); + return GTK_WIDGET (g_object_new (PLUMA_TYPE_TAB, NULL)); } /* Whether create is TRUE, creates a new empty document if location does not refer to an existing file */ GtkWidget * -_gedit_tab_new_from_uri (const gchar *uri, - const GeditEncoding *encoding, +_pluma_tab_new_from_uri (const gchar *uri, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { - GeditTab *tab; + PlumaTab *tab; g_return_val_if_fail (uri != NULL, NULL); - tab = GEDIT_TAB (_gedit_tab_new ()); + tab = PLUMA_TAB (_pluma_tab_new ()); - _gedit_tab_load (tab, + _pluma_tab_load (tab, uri, encoding, line_pos, @@ -1613,52 +1613,52 @@ _gedit_tab_new_from_uri (const gchar *uri, } /** - * gedit_tab_get_view: - * @tab: a #GeditTab + * pluma_tab_get_view: + * @tab: a #PlumaTab * - * Gets the #GeditView inside @tab. + * Gets the #PlumaView inside @tab. * - * Returns: the #GeditView inside @tab + * Returns: the #PlumaView inside @tab */ -GeditView * -gedit_tab_get_view (GeditTab *tab) +PlumaView * +pluma_tab_get_view (PlumaTab *tab) { - return GEDIT_VIEW (tab->priv->view); + return PLUMA_VIEW (tab->priv->view); } /** - * gedit_tab_get_document: - * @tab: a #GeditTab + * pluma_tab_get_document: + * @tab: a #PlumaTab * - * Gets the #GeditDocument associated to @tab. + * Gets the #PlumaDocument associated to @tab. * - * Returns: the #GeditDocument associated to @tab + * Returns: the #PlumaDocument associated to @tab */ -GeditDocument * -gedit_tab_get_document (GeditTab *tab) +PlumaDocument * +pluma_tab_get_document (PlumaTab *tab) { - return GEDIT_DOCUMENT (gtk_text_view_get_buffer ( + return PLUMA_DOCUMENT (gtk_text_view_get_buffer ( GTK_TEXT_VIEW (tab->priv->view))); } #define MAX_DOC_NAME_LENGTH 40 gchar * -_gedit_tab_get_name (GeditTab *tab) +_pluma_tab_get_name (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; gchar *name; gchar *docname; gchar *tab_name; - g_return_val_if_fail (GEDIT_IS_TAB (tab), NULL); + g_return_val_if_fail (PLUMA_IS_TAB (tab), NULL); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - name = gedit_document_get_short_name_for_display (doc); + name = pluma_document_get_short_name_for_display (doc); /* Truncate the name so it doesn't get insanely wide. */ - docname = gedit_utils_str_middle_truncate (name, MAX_DOC_NAME_LENGTH); + docname = pluma_utils_str_middle_truncate (name, MAX_DOC_NAME_LENGTH); if (gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc))) { @@ -1667,7 +1667,7 @@ _gedit_tab_get_name (GeditTab *tab) else { #if 0 - if (gedit_document_get_readonly (doc)) + if (pluma_document_get_readonly (doc)) { tab_name = g_strdup_printf ("%s [%s]", docname, /*Read only*/ _("RO")); @@ -1687,22 +1687,22 @@ _gedit_tab_get_name (GeditTab *tab) } gchar * -_gedit_tab_get_tooltips (GeditTab *tab) +_pluma_tab_get_tooltips (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; gchar *tip; gchar *uri; gchar *ruri; gchar *ruri_markup; - g_return_val_if_fail (GEDIT_IS_TAB (tab), NULL); + g_return_val_if_fail (PLUMA_IS_TAB (tab), NULL); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - uri = gedit_document_get_uri_for_display (doc); + uri = pluma_document_get_uri_for_display (doc); g_return_val_if_fail (uri != NULL, NULL); - ruri = gedit_utils_replace_home_dir_with_tilde (uri); + ruri = pluma_utils_replace_home_dir_with_tilde (uri); g_free (uri); ruri_markup = g_markup_printf_escaped ("%s", ruri); @@ -1714,25 +1714,25 @@ _gedit_tab_get_tooltips (GeditTab *tab) gchar *content_description; gchar *content_full_description; gchar *encoding; - const GeditEncoding *enc; + const PlumaEncoding *enc; - case GEDIT_TAB_STATE_LOADING_ERROR: + case PLUMA_TAB_STATE_LOADING_ERROR: tip = g_strdup_printf (_("Error opening file %s"), ruri_markup); break; - case GEDIT_TAB_STATE_REVERTING_ERROR: + case PLUMA_TAB_STATE_REVERTING_ERROR: tip = g_strdup_printf (_("Error reverting file %s"), ruri_markup); break; - case GEDIT_TAB_STATE_SAVING_ERROR: + case PLUMA_TAB_STATE_SAVING_ERROR: tip = g_strdup_printf (_("Error saving file %s"), ruri_markup); break; default: - content_type = gedit_document_get_content_type (doc); - mime_type = gedit_document_get_mime_type (doc); + content_type = pluma_document_get_content_type (doc); + mime_type = pluma_document_get_mime_type (doc); content_description = g_content_type_get_description (content_type); if (content_description == NULL) @@ -1745,12 +1745,12 @@ _gedit_tab_get_tooltips (GeditTab *tab) g_free (mime_type); g_free (content_description); - enc = gedit_document_get_encoding (doc); + enc = pluma_document_get_encoding (doc); if (enc == NULL) encoding = g_strdup (_("Unicode (UTF-8)")); else - encoding = gedit_encoding_to_string (enc); + encoding = pluma_encoding_to_string (enc); tip = g_markup_printf_escaped ("%s %s\n\n" "%s %s\n" @@ -1869,14 +1869,14 @@ get_icon (GtkIconTheme *theme, /* FIXME: add support for theme changed. I think it should be as easy as call g_object_notify (tab, "name") when the icon theme changes */ GdkPixbuf * -_gedit_tab_get_icon (GeditTab *tab) +_pluma_tab_get_icon (PlumaTab *tab) { GdkPixbuf *pixbuf; GtkIconTheme *theme; GdkScreen *screen; gint icon_size; - g_return_val_if_fail (GEDIT_IS_TAB (tab), NULL); + g_return_val_if_fail (PLUMA_IS_TAB (tab), NULL); screen = gtk_widget_get_screen (GTK_WIDGET (tab)); @@ -1890,47 +1890,47 @@ _gedit_tab_get_icon (GeditTab *tab) switch (tab->priv->state) { - case GEDIT_TAB_STATE_LOADING: + case PLUMA_TAB_STATE_LOADING: pixbuf = get_stock_icon (theme, GTK_STOCK_OPEN, icon_size); break; - case GEDIT_TAB_STATE_REVERTING: + case PLUMA_TAB_STATE_REVERTING: pixbuf = get_stock_icon (theme, GTK_STOCK_REVERT_TO_SAVED, icon_size); break; - case GEDIT_TAB_STATE_SAVING: + case PLUMA_TAB_STATE_SAVING: pixbuf = get_stock_icon (theme, GTK_STOCK_SAVE, icon_size); break; - case GEDIT_TAB_STATE_PRINTING: + case PLUMA_TAB_STATE_PRINTING: pixbuf = get_stock_icon (theme, GTK_STOCK_PRINT, icon_size); break; - case GEDIT_TAB_STATE_PRINT_PREVIEWING: - case GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW: + case PLUMA_TAB_STATE_PRINT_PREVIEWING: + case PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW: pixbuf = get_stock_icon (theme, GTK_STOCK_PRINT_PREVIEW, icon_size); break; - case GEDIT_TAB_STATE_LOADING_ERROR: - case GEDIT_TAB_STATE_REVERTING_ERROR: - case GEDIT_TAB_STATE_SAVING_ERROR: - case GEDIT_TAB_STATE_GENERIC_ERROR: + case PLUMA_TAB_STATE_LOADING_ERROR: + case PLUMA_TAB_STATE_REVERTING_ERROR: + case PLUMA_TAB_STATE_SAVING_ERROR: + case PLUMA_TAB_STATE_GENERIC_ERROR: pixbuf = get_stock_icon (theme, GTK_STOCK_DIALOG_ERROR, icon_size); break; - case GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION: + case PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION: pixbuf = get_stock_icon (theme, GTK_STOCK_DIALOG_WARNING, icon_size); @@ -1939,11 +1939,11 @@ _gedit_tab_get_icon (GeditTab *tab) default: { GFile *location; - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - location = gedit_document_get_location (doc); + location = pluma_document_get_location (doc); pixbuf = get_icon (theme, location, icon_size); if (location) @@ -1955,41 +1955,41 @@ _gedit_tab_get_icon (GeditTab *tab) } /** - * gedit_tab_get_from_document: - * @doc: a #GeditDocument + * pluma_tab_get_from_document: + * @doc: a #PlumaDocument * - * Gets the #GeditTab associated with @doc. + * Gets the #PlumaTab associated with @doc. * - * Returns: the #GeditTab associated with @doc + * Returns: the #PlumaTab associated with @doc */ -GeditTab * -gedit_tab_get_from_document (GeditDocument *doc) +PlumaTab * +pluma_tab_get_from_document (PlumaDocument *doc) { gpointer res; - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL); + g_return_val_if_fail (PLUMA_IS_DOCUMENT (doc), NULL); - res = g_object_get_data (G_OBJECT (doc), GEDIT_TAB_KEY); + res = g_object_get_data (G_OBJECT (doc), PLUMA_TAB_KEY); - return (res != NULL) ? GEDIT_TAB (res) : NULL; + return (res != NULL) ? PLUMA_TAB (res) : NULL; } void -_gedit_tab_load (GeditTab *tab, +_pluma_tab_load (PlumaTab *tab, const gchar *uri, - const GeditEncoding *encoding, + const PlumaEncoding *encoding, gint line_pos, gboolean create) { - GeditDocument *doc; + PlumaDocument *doc; - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_NORMAL); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_NORMAL); - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_LOADING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_LOADING); tab->priv->tmp_line_pos = line_pos; tab->priv->tmp_encoding = encoding; @@ -1997,7 +1997,7 @@ _gedit_tab_load (GeditTab *tab, if (tab->priv->auto_save_timeout > 0) remove_auto_save_timeout (tab); - gedit_document_load (doc, + pluma_document_load (doc, uri, encoding, line_pos, @@ -2005,35 +2005,35 @@ _gedit_tab_load (GeditTab *tab, } void -_gedit_tab_revert (GeditTab *tab) +_pluma_tab_revert (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; gchar *uri; - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail ((tab->priv->state == GEDIT_TAB_STATE_NORMAL) || - (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail ((tab->priv->state == PLUMA_TAB_STATE_NORMAL) || + (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION)); - if (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) + if (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) { set_message_area (tab, NULL); } - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_REVERTING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_REVERTING); - uri = gedit_document_get_uri (doc); + uri = pluma_document_get_uri (doc); g_return_if_fail (uri != NULL); tab->priv->tmp_line_pos = 0; - tab->priv->tmp_encoding = gedit_document_get_encoding (doc); + tab->priv->tmp_encoding = pluma_document_get_encoding (doc); if (tab->priv->auto_save_timeout > 0) remove_auto_save_timeout (tab); - gedit_document_load (doc, + pluma_document_load (doc, uri, tab->priv->tmp_encoding, 0, @@ -2043,23 +2043,23 @@ _gedit_tab_revert (GeditTab *tab) } void -_gedit_tab_save (GeditTab *tab) +_pluma_tab_save (PlumaTab *tab) { - GeditDocument *doc; - GeditDocumentSaveFlags save_flags; + PlumaDocument *doc; + PlumaDocumentSaveFlags save_flags; - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail ((tab->priv->state == GEDIT_TAB_STATE_NORMAL) || - (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) || - (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail ((tab->priv->state == PLUMA_TAB_STATE_NORMAL) || + (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) || + (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW)); g_return_if_fail (tab->priv->tmp_save_uri == NULL); g_return_if_fail (tab->priv->tmp_encoding == NULL); - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); - g_return_if_fail (!gedit_document_is_untitled (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); + g_return_if_fail (!pluma_document_is_untitled (doc)); - if (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) + if (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) { /* We already told the user about the external * modification: hide the message area and set @@ -2067,39 +2067,39 @@ _gedit_tab_save (GeditTab *tab) */ set_message_area (tab, NULL); - save_flags = tab->priv->save_flags | GEDIT_DOCUMENT_SAVE_IGNORE_MTIME; + save_flags = tab->priv->save_flags | PLUMA_DOCUMENT_SAVE_IGNORE_MTIME; } else { save_flags = tab->priv->save_flags; } - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); /* uri used in error messages, will be freed in document_saved */ - tab->priv->tmp_save_uri = gedit_document_get_uri (doc); - tab->priv->tmp_encoding = gedit_document_get_encoding (doc); + tab->priv->tmp_save_uri = pluma_document_get_uri (doc); + tab->priv->tmp_encoding = pluma_document_get_encoding (doc); if (tab->priv->auto_save_timeout > 0) remove_auto_save_timeout (tab); - gedit_document_save (doc, save_flags); + pluma_document_save (doc, save_flags); } static gboolean -gedit_tab_auto_save (GeditTab *tab) +pluma_tab_auto_save (PlumaTab *tab) { - GeditDocument *doc; + PlumaDocument *doc; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); g_return_val_if_fail (tab->priv->tmp_save_uri == NULL, FALSE); g_return_val_if_fail (tab->priv->tmp_encoding == NULL, FALSE); - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - g_return_val_if_fail (!gedit_document_is_untitled (doc), FALSE); - g_return_val_if_fail (!gedit_document_get_readonly (doc), FALSE); + g_return_val_if_fail (!pluma_document_is_untitled (doc), FALSE); + g_return_val_if_fail (!pluma_document_get_readonly (doc), FALSE); g_return_val_if_fail (tab->priv->auto_save_timeout > 0, FALSE); g_return_val_if_fail (tab->priv->auto_save, FALSE); @@ -2107,22 +2107,22 @@ gedit_tab_auto_save (GeditTab *tab) if (!gtk_text_buffer_get_modified (GTK_TEXT_BUFFER(doc))) { - gedit_debug_message (DEBUG_TAB, "Document not modified"); + pluma_debug_message (DEBUG_TAB, "Document not modified"); return TRUE; } - if ((tab->priv->state != GEDIT_TAB_STATE_NORMAL) && - (tab->priv->state != GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW)) + if ((tab->priv->state != PLUMA_TAB_STATE_NORMAL) && + (tab->priv->state != PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW)) { /* Retry after 30 seconds */ guint timeout; - gedit_debug_message (DEBUG_TAB, "Retry after 30 seconds"); + pluma_debug_message (DEBUG_TAB, "Retry after 30 seconds"); /* Add a new timeout */ timeout = g_timeout_add_seconds (30, - (GSourceFunc) gedit_tab_auto_save, + (GSourceFunc) pluma_tab_auto_save, tab); tab->priv->auto_save_timeout = timeout; @@ -2131,11 +2131,11 @@ gedit_tab_auto_save (GeditTab *tab) return FALSE; } - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); /* uri used in error messages, will be freed in document_saved */ - tab->priv->tmp_save_uri = gedit_document_get_uri (doc); - tab->priv->tmp_encoding = gedit_document_get_encoding (doc); + tab->priv->tmp_save_uri = pluma_document_get_uri (doc); + tab->priv->tmp_encoding = pluma_document_get_encoding (doc); /* Set auto_save_timeout to 0 since the timeout is going to be destroyed */ tab->priv->auto_save_timeout = 0; @@ -2144,39 +2144,39 @@ gedit_tab_auto_save (GeditTab *tab) the last time the user "manually" saved the file. In the case a recoverable error happens while saving, the last backup is not preserved since the user expressed his willing of saving the file */ - gedit_document_save (doc, tab->priv->save_flags | GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP); + pluma_document_save (doc, tab->priv->save_flags | PLUMA_DOCUMENT_SAVE_PRESERVE_BACKUP); - gedit_debug_message (DEBUG_TAB, "Done"); + pluma_debug_message (DEBUG_TAB, "Done"); /* Returns FALSE so the old timeout is "destroyed" */ return FALSE; } void -_gedit_tab_save_as (GeditTab *tab, +_pluma_tab_save_as (PlumaTab *tab, const gchar *uri, - const GeditEncoding *encoding, - GeditDocumentNewlineType newline_type) + const PlumaEncoding *encoding, + PlumaDocumentNewlineType newline_type) { - GeditDocument *doc; - GeditDocumentSaveFlags save_flags; + PlumaDocument *doc; + PlumaDocumentSaveFlags save_flags; - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail ((tab->priv->state == GEDIT_TAB_STATE_NORMAL) || - (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) || - (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW)); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail ((tab->priv->state == PLUMA_TAB_STATE_NORMAL) || + (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) || + (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW)); g_return_if_fail (encoding != NULL); g_return_if_fail (tab->priv->tmp_save_uri == NULL); g_return_if_fail (tab->priv->tmp_encoding == NULL); - doc = gedit_tab_get_document (tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + doc = pluma_tab_get_document (tab); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); /* reset the save flags, when saving as */ tab->priv->save_flags = 0; - if (tab->priv->state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) + if (tab->priv->state == PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) { /* We already told the user about the external * modification: hide the message area and set @@ -2184,14 +2184,14 @@ _gedit_tab_save_as (GeditTab *tab, */ set_message_area (tab, NULL); - save_flags = tab->priv->save_flags | GEDIT_DOCUMENT_SAVE_IGNORE_MTIME; + save_flags = tab->priv->save_flags | PLUMA_DOCUMENT_SAVE_IGNORE_MTIME; } else { save_flags = tab->priv->save_flags; } - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SAVING); /* uri used in error messages... strdup because errors are async * and the string can go away, will be freed in document_saved */ @@ -2205,27 +2205,27 @@ _gedit_tab_save_as (GeditTab *tab, makes it persistent (if save fails, it's remembered). It's not a very big deal, but would be nice to have them follow the same pattern. This can be changed once we break API for 3.0 */ - gedit_document_set_newline_type (doc, newline_type); - gedit_document_save_as (doc, uri, encoding, tab->priv->save_flags); + pluma_document_set_newline_type (doc, newline_type); + pluma_document_save_as (doc, uri, encoding, tab->priv->save_flags); } -#define GEDIT_PAGE_SETUP_KEY "gedit-page-setup-key" -#define GEDIT_PRINT_SETTINGS_KEY "gedit-print-settings-key" +#define PLUMA_PAGE_SETUP_KEY "pluma-page-setup-key" +#define PLUMA_PRINT_SETTINGS_KEY "pluma-print-settings-key" static GtkPageSetup * -get_page_setup (GeditTab *tab) +get_page_setup (PlumaTab *tab) { gpointer data; - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); data = g_object_get_data (G_OBJECT (doc), - GEDIT_PAGE_SETUP_KEY); + PLUMA_PAGE_SETUP_KEY); if (data == NULL) { - return _gedit_app_get_default_page_setup (gedit_app_get_default()); + return _pluma_app_get_default_page_setup (pluma_app_get_default()); } else { @@ -2234,19 +2234,19 @@ get_page_setup (GeditTab *tab) } static GtkPrintSettings * -get_print_settings (GeditTab *tab) +get_print_settings (PlumaTab *tab) { gpointer data; - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); data = g_object_get_data (G_OBJECT (doc), - GEDIT_PRINT_SETTINGS_KEY); + PLUMA_PRINT_SETTINGS_KEY); if (data == NULL) { - return _gedit_app_get_default_print_settings (gedit_app_get_default()); + return _pluma_app_get_default_print_settings (pluma_app_get_default()); } else { @@ -2256,32 +2256,32 @@ get_print_settings (GeditTab *tab) /* FIXME: show the message area only if the operation will be "long" */ static void -printing_cb (GeditPrintJob *job, - GeditPrintJobStatus status, - GeditTab *tab) +printing_cb (PlumaPrintJob *job, + PlumaPrintJobStatus status, + PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); gtk_widget_show (tab->priv->message_area); - gedit_progress_message_area_set_text (GEDIT_PROGRESS_MESSAGE_AREA (tab->priv->message_area), - gedit_print_job_get_status_string (job)); + pluma_progress_message_area_set_text (PLUMA_PROGRESS_MESSAGE_AREA (tab->priv->message_area), + pluma_print_job_get_status_string (job)); - gedit_progress_message_area_set_fraction (GEDIT_PROGRESS_MESSAGE_AREA (tab->priv->message_area), - gedit_print_job_get_progress (job)); + pluma_progress_message_area_set_fraction (PLUMA_PROGRESS_MESSAGE_AREA (tab->priv->message_area), + pluma_print_job_get_progress (job)); } static void -store_print_settings (GeditTab *tab, - GeditPrintJob *job) +store_print_settings (PlumaTab *tab, + PlumaPrintJob *job) { - GeditDocument *doc; + PlumaDocument *doc; GtkPrintSettings *settings; GtkPageSetup *page_setup; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); - settings = gedit_print_job_get_print_settings (job); + settings = pluma_print_job_get_print_settings (job); /* clear n-copies settings since we do not want to * persist that one */ @@ -2290,54 +2290,54 @@ store_print_settings (GeditTab *tab, /* remember settings for this document */ g_object_set_data_full (G_OBJECT (doc), - GEDIT_PRINT_SETTINGS_KEY, + PLUMA_PRINT_SETTINGS_KEY, g_object_ref (settings), (GDestroyNotify)g_object_unref); /* make them the default */ - _gedit_app_set_default_print_settings (gedit_app_get_default (), + _pluma_app_set_default_print_settings (pluma_app_get_default (), settings); - page_setup = gedit_print_job_get_page_setup (job); + page_setup = pluma_print_job_get_page_setup (job); /* remember page setup for this document */ g_object_set_data_full (G_OBJECT (doc), - GEDIT_PAGE_SETUP_KEY, + PLUMA_PAGE_SETUP_KEY, g_object_ref (page_setup), (GDestroyNotify)g_object_unref); /* make it the default */ - _gedit_app_set_default_page_setup (gedit_app_get_default (), + _pluma_app_set_default_page_setup (pluma_app_get_default (), page_setup); } static void -done_printing_cb (GeditPrintJob *job, - GeditPrintJobResult result, +done_printing_cb (PlumaPrintJob *job, + PlumaPrintJobResult result, const GError *error, - GeditTab *tab) + PlumaTab *tab) { - GeditView *view; + PlumaView *view; - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_PRINT_PREVIEWING || - tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW || - tab->priv->state == GEDIT_TAB_STATE_PRINTING); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_PRINT_PREVIEWING || + tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW || + tab->priv->state == PLUMA_TAB_STATE_PRINTING); - if (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) + if (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) { /* print preview has been destroyed... */ tab->priv->print_preview = NULL; } else { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); set_message_area (tab, NULL); /* destroy the message area */ } // TODO: check status and error - if (result == GEDIT_PRINT_JOB_RESULT_OK) + if (result == PLUMA_PRINT_JOB_RESULT_OK) { store_print_settings (tab, job); } @@ -2348,13 +2348,13 @@ done_printing_cb (GeditPrintJob *job, /* If we were printing while showing the print preview, see bug #352658 */ gtk_widget_destroy (tab->priv->print_preview); - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_PRINTING); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_PRINTING); } #endif - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); gtk_widget_grab_focus (GTK_WIDGET (view)); g_object_unref (tab->priv->print_job); @@ -2364,17 +2364,17 @@ done_printing_cb (GeditPrintJob *job, #if 0 static void print_preview_destroyed (GtkWidget *preview, - GeditTab *tab) + PlumaTab *tab) { tab->priv->print_preview = NULL; - if (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) + if (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) { - GeditView *view; + PlumaView *view; - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); gtk_widget_grab_focus (GTK_WIDGET (view)); } else @@ -2384,17 +2384,17 @@ print_preview_destroyed (GtkWidget *preview, * the state and show the document. See bug #352658 */ gtk_widget_show (tab->priv->view_scrolled_window); - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_PRINTING); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_PRINTING); } } #endif static void -show_preview_cb (GeditPrintJob *job, - GeditPrintPreview *preview, - GeditTab *tab) +show_preview_cb (PlumaPrintJob *job, + PlumaPrintPreview *preview, + PlumaTab *tab) { -// g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_PRINT_PREVIEWING); +// g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_PRINT_PREVIEWING); g_return_if_fail (tab->priv->print_preview == NULL); set_message_area (tab, NULL); /* destroy the message area */ @@ -2414,13 +2414,13 @@ show_preview_cb (GeditPrintJob *job, G_CALLBACK (print_preview_destroyed), tab); */ - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW); } #if 0 static void -set_print_preview (GeditTab *tab, +set_print_preview (PlumaTab *tab, GtkWidget *print_preview) { if (tab->priv->print_preview == print_preview) @@ -2446,17 +2446,17 @@ set_print_preview (GeditTab *tab, } static void -preview_finished_cb (GtkSourcePrintJob *pjob, GeditTab *tab) +preview_finished_cb (GtkSourcePrintJob *pjob, PlumaTab *tab) { MatePrintJob *gjob; GtkWidget *preview = NULL; - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); set_message_area (tab, NULL); /* destroy the message area */ gjob = gtk_source_print_job_get_print_job (pjob); - preview = gedit_print_job_preview_new (gjob); + preview = pluma_print_job_preview_new (gjob); g_object_unref (gjob); set_print_preview (tab, preview); @@ -2464,7 +2464,7 @@ preview_finished_cb (GtkSourcePrintJob *pjob, GeditTab *tab) gtk_widget_show (preview); g_object_unref (pjob); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW); } @@ -2473,26 +2473,26 @@ preview_finished_cb (GtkSourcePrintJob *pjob, GeditTab *tab) static void print_cancelled (GtkWidget *area, gint response_id, - GeditTab *tab) + PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); + g_return_if_fail (PLUMA_IS_PROGRESS_MESSAGE_AREA (tab->priv->message_area)); - gedit_print_job_cancel (tab->priv->print_job); + pluma_print_job_cancel (tab->priv->print_job); g_debug ("print_cancelled"); } static void -show_printing_message_area (GeditTab *tab, gboolean preview) +show_printing_message_area (PlumaTab *tab, gboolean preview) { GtkWidget *area; if (preview) - area = gedit_progress_message_area_new (GTK_STOCK_PRINT_PREVIEW, + area = pluma_progress_message_area_new (GTK_STOCK_PRINT_PREVIEW, "", TRUE); else - area = gedit_progress_message_area_new (GTK_STOCK_PRINT, + area = pluma_progress_message_area_new (GTK_STOCK_PRINT, "", TRUE); @@ -2508,33 +2508,33 @@ show_printing_message_area (GeditTab *tab, gboolean preview) static void page_setup_done_cb (GtkPageSetup *setup, - GeditTab *tab) + PlumaTab *tab) { if (setup != NULL) { - GeditDocument *doc; + PlumaDocument *doc; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); /* remember it for this document */ g_object_set_data_full (G_OBJECT (doc), - GEDIT_PAGE_SETUP_KEY, + PLUMA_PAGE_SETUP_KEY, g_object_ref (setup), (GDestroyNotify)g_object_unref); /* make it the default */ - _gedit_app_set_default_page_setup (gedit_app_get_default(), + _pluma_app_set_default_page_setup (pluma_app_get_default(), setup); } } void -_gedit_tab_page_setup (GeditTab *tab) +_pluma_tab_page_setup (PlumaTab *tab) { GtkPageSetup *setup; GtkPrintSettings *settings; - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); setup = get_page_setup (tab); settings = get_print_settings (tab); @@ -2551,10 +2551,10 @@ _gedit_tab_page_setup (GeditTab *tab) #endif static void -gedit_tab_print_or_print_preview (GeditTab *tab, +pluma_tab_print_or_print_preview (PlumaTab *tab, GtkPrintOperationAction print_action) { - GeditView *view; + PlumaView *view; gboolean is_preview; GtkPageSetup *setup; GtkPrintSettings *settings; @@ -2562,13 +2562,13 @@ gedit_tab_print_or_print_preview (GeditTab *tab, GError *error = NULL; g_return_if_fail (tab->priv->print_job == NULL); - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_NORMAL); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_NORMAL); - view = gedit_tab_get_view (tab); + view = pluma_tab_get_view (tab); is_preview = (print_action == GTK_PRINT_OPERATION_ACTION_PREVIEW); - tab->priv->print_job = gedit_print_job_new (view); + tab->priv->print_job = pluma_print_job_new (view); g_object_add_weak_pointer (G_OBJECT (tab->priv->print_job), (gpointer *) &tab->priv->print_job); @@ -2588,14 +2588,14 @@ gedit_tab_print_or_print_preview (GeditTab *tab, tab); if (is_preview) - gedit_tab_set_state (tab, GEDIT_TAB_STATE_PRINT_PREVIEWING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_PRINT_PREVIEWING); else - gedit_tab_set_state (tab, GEDIT_TAB_STATE_PRINTING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_PRINTING); setup = get_page_setup (tab); settings = get_print_settings (tab); - res = gedit_print_job_print (tab->priv->print_job, + res = pluma_print_job_print (tab->priv->print_job, print_action, setup, settings, @@ -2606,7 +2606,7 @@ gedit_tab_print_or_print_preview (GeditTab *tab, if (res == GTK_PRINT_OPERATION_RESULT_ERROR) { /* FIXME: go in error state */ - gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_NORMAL); g_warning ("Async print preview failed (%s)", error->message); g_object_unref (tab->priv->print_job); g_error_free (error); @@ -2614,113 +2614,113 @@ gedit_tab_print_or_print_preview (GeditTab *tab, } void -_gedit_tab_print (GeditTab *tab) +_pluma_tab_print (PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); /* FIXME: currently we can have just one printoperation going on * at a given time, so before starting the print we close the preview. * Would be nice to handle it properly though */ - if (tab->priv->state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) + if (tab->priv->state == PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW) { gtk_widget_destroy (tab->priv->print_preview); } - gedit_tab_print_or_print_preview (tab, + pluma_tab_print_or_print_preview (tab, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG); } void -_gedit_tab_print_preview (GeditTab *tab) +_pluma_tab_print_preview (PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); - gedit_tab_print_or_print_preview (tab, + pluma_tab_print_or_print_preview (tab, GTK_PRINT_OPERATION_ACTION_PREVIEW); } void -_gedit_tab_mark_for_closing (GeditTab *tab) +_pluma_tab_mark_for_closing (PlumaTab *tab) { - g_return_if_fail (GEDIT_IS_TAB (tab)); - g_return_if_fail (tab->priv->state == GEDIT_TAB_STATE_NORMAL); + g_return_if_fail (PLUMA_IS_TAB (tab)); + g_return_if_fail (tab->priv->state == PLUMA_TAB_STATE_NORMAL); - gedit_tab_set_state (tab, GEDIT_TAB_STATE_CLOSING); + pluma_tab_set_state (tab, PLUMA_TAB_STATE_CLOSING); } gboolean -_gedit_tab_can_close (GeditTab *tab) +_pluma_tab_can_close (PlumaTab *tab) { - GeditDocument *doc; - GeditTabState ts; + PlumaDocument *doc; + PlumaTabState ts; - g_return_val_if_fail (GEDIT_IS_TAB (tab), FALSE); + g_return_val_if_fail (PLUMA_IS_TAB (tab), FALSE); - ts = gedit_tab_get_state (tab); + ts = pluma_tab_get_state (tab); /* if we are loading or reverting, the tab can be closed */ - if ((ts == GEDIT_TAB_STATE_LOADING) || - (ts == GEDIT_TAB_STATE_LOADING_ERROR) || - (ts == GEDIT_TAB_STATE_REVERTING) || - (ts == GEDIT_TAB_STATE_REVERTING_ERROR)) /* CHECK: I'm not sure this is the right behavior for REVERTING ERROR */ + if ((ts == PLUMA_TAB_STATE_LOADING) || + (ts == PLUMA_TAB_STATE_LOADING_ERROR) || + (ts == PLUMA_TAB_STATE_REVERTING) || + (ts == PLUMA_TAB_STATE_REVERTING_ERROR)) /* CHECK: I'm not sure this is the right behavior for REVERTING ERROR */ return TRUE; /* Do not close tab with saving errors */ - if (ts == GEDIT_TAB_STATE_SAVING_ERROR) + if (ts == PLUMA_TAB_STATE_SAVING_ERROR) return FALSE; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); /* TODO: we need to save the file also if it has been externally modified - Paolo (Oct 10, 2005) */ return (!gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc)) && - !gedit_document_get_deleted (doc)); + !pluma_document_get_deleted (doc)); } /** - * gedit_tab_get_auto_save_enabled: - * @tab: a #GeditTab + * pluma_tab_get_auto_save_enabled: + * @tab: a #PlumaTab * * Gets the current state for the autosave feature * * Return value: %TRUE if the autosave is enabled, else %FALSE **/ gboolean -gedit_tab_get_auto_save_enabled (GeditTab *tab) +pluma_tab_get_auto_save_enabled (PlumaTab *tab) { - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - g_return_val_if_fail (GEDIT_IS_TAB (tab), FALSE); + g_return_val_if_fail (PLUMA_IS_TAB (tab), FALSE); return tab->priv->auto_save; } /** - * gedit_tab_set_auto_save_enabled: - * @tab: a #GeditTab + * pluma_tab_set_auto_save_enabled: + * @tab: a #PlumaTab * @enable: enable (%TRUE) or disable (%FALSE) auto save * * Enables or disables the autosave feature. It does not install an * autosave timeout if the document is new or is read-only **/ void -gedit_tab_set_auto_save_enabled (GeditTab *tab, +pluma_tab_set_auto_save_enabled (PlumaTab *tab, gboolean enable) { - GeditDocument *doc = NULL; - GeditLockdownMask lockdown; + PlumaDocument *doc = NULL; + PlumaLockdownMask lockdown; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); /* Force disabling when lockdown is active */ - lockdown = gedit_app_get_lockdown (gedit_app_get_default()); - if (lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK) + lockdown = pluma_app_get_lockdown (pluma_app_get_default()); + if (lockdown & PLUMA_LOCKDOWN_SAVE_TO_DISK) enable = FALSE; - doc = gedit_tab_get_document (tab); + doc = pluma_tab_get_document (tab); if (tab->priv->auto_save == enable) return; @@ -2729,15 +2729,15 @@ gedit_tab_set_auto_save_enabled (GeditTab *tab, if (enable && (tab->priv->auto_save_timeout <=0) && - !gedit_document_is_untitled (doc) && - !gedit_document_get_readonly (doc)) + !pluma_document_is_untitled (doc) && + !pluma_document_get_readonly (doc)) { - if ((tab->priv->state != GEDIT_TAB_STATE_LOADING) && - (tab->priv->state != GEDIT_TAB_STATE_SAVING) && - (tab->priv->state != GEDIT_TAB_STATE_REVERTING) && - (tab->priv->state != GEDIT_TAB_STATE_LOADING_ERROR) && - (tab->priv->state != GEDIT_TAB_STATE_SAVING_ERROR) && - (tab->priv->state != GEDIT_TAB_STATE_REVERTING_ERROR)) + if ((tab->priv->state != PLUMA_TAB_STATE_LOADING) && + (tab->priv->state != PLUMA_TAB_STATE_SAVING) && + (tab->priv->state != PLUMA_TAB_STATE_REVERTING) && + (tab->priv->state != PLUMA_TAB_STATE_LOADING_ERROR) && + (tab->priv->state != PLUMA_TAB_STATE_SAVING_ERROR) && + (tab->priv->state != PLUMA_TAB_STATE_REVERTING_ERROR)) { install_auto_save_timeout (tab); } @@ -2755,30 +2755,30 @@ gedit_tab_set_auto_save_enabled (GeditTab *tab, } g_return_if_fail ((!enable && (tab->priv->auto_save_timeout <= 0)) || - gedit_document_is_untitled (doc) || gedit_document_get_readonly (doc)); + pluma_document_is_untitled (doc) || pluma_document_get_readonly (doc)); } /** - * gedit_tab_get_auto_save_interval: - * @tab: a #GeditTab + * pluma_tab_get_auto_save_interval: + * @tab: a #PlumaTab * * Gets the current interval for the autosaves * * Return value: the value of the autosave **/ gint -gedit_tab_get_auto_save_interval (GeditTab *tab) +pluma_tab_get_auto_save_interval (PlumaTab *tab) { - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - g_return_val_if_fail (GEDIT_IS_TAB (tab), 0); + g_return_val_if_fail (PLUMA_IS_TAB (tab), 0); return tab->priv->auto_save_interval; } /** - * gedit_tab_set_auto_save_interval: - * @tab: a #GeditTab + * pluma_tab_set_auto_save_interval: + * @tab: a #PlumaTab * @interval: the new interval * * Sets the interval for the autosave feature. It does nothing if the @@ -2787,18 +2787,18 @@ gedit_tab_get_auto_save_interval (GeditTab *tab) * argument. **/ void -gedit_tab_set_auto_save_interval (GeditTab *tab, +pluma_tab_set_auto_save_interval (PlumaTab *tab, gint interval) { - GeditDocument *doc = NULL; + PlumaDocument *doc = NULL; - gedit_debug (DEBUG_TAB); + pluma_debug (DEBUG_TAB); - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); - doc = gedit_tab_get_document(tab); + doc = pluma_tab_get_document(tab); - g_return_if_fail (GEDIT_IS_DOCUMENT (doc)); + g_return_if_fail (PLUMA_IS_DOCUMENT (doc)); g_return_if_fail (interval > 0); if (tab->priv->auto_save_interval == interval) @@ -2811,8 +2811,8 @@ gedit_tab_set_auto_save_interval (GeditTab *tab, if (tab->priv->auto_save_timeout > 0) { - g_return_if_fail (!gedit_document_is_untitled (doc)); - g_return_if_fail (!gedit_document_get_readonly (doc)); + g_return_if_fail (!pluma_document_is_untitled (doc)); + g_return_if_fail (!pluma_document_get_readonly (doc)); remove_auto_save_timeout (tab); @@ -2821,10 +2821,10 @@ gedit_tab_set_auto_save_interval (GeditTab *tab, } void -gedit_tab_set_info_bar (GeditTab *tab, +pluma_tab_set_info_bar (PlumaTab *tab, GtkWidget *info_bar) { - g_return_if_fail (GEDIT_IS_TAB (tab)); + g_return_if_fail (PLUMA_IS_TAB (tab)); g_return_if_fail (info_bar == NULL || GTK_IS_WIDGET (info_bar)); /* FIXME: this can cause problems with the tab state machine */ diff --git a/pluma/pluma-tab.h b/pluma/pluma-tab.h new file mode 100755 index 0000000..28b5f5f --- /dev/null +++ b/pluma/pluma-tab.h @@ -0,0 +1,165 @@ +/* + * pluma-tab.h + * This file is part of pluma + * + * Copyright (C) 2005 - Paolo Maggi + * + * 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., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. + * See the ChangeLog files for a list of changes. + * + * $Id$ + */ + +#ifndef __PLUMA_TAB_H__ +#define __PLUMA_TAB_H__ + +#include + +#include +#include + +G_BEGIN_DECLS + +typedef enum +{ + PLUMA_TAB_STATE_NORMAL = 0, + PLUMA_TAB_STATE_LOADING, + PLUMA_TAB_STATE_REVERTING, + PLUMA_TAB_STATE_SAVING, + PLUMA_TAB_STATE_PRINTING, + PLUMA_TAB_STATE_PRINT_PREVIEWING, + PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW, + PLUMA_TAB_STATE_GENERIC_NOT_EDITABLE, + PLUMA_TAB_STATE_LOADING_ERROR, + PLUMA_TAB_STATE_REVERTING_ERROR, + PLUMA_TAB_STATE_SAVING_ERROR, + PLUMA_TAB_STATE_GENERIC_ERROR, + PLUMA_TAB_STATE_CLOSING, + PLUMA_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION, + PLUMA_TAB_NUM_OF_STATES /* This is not a valid state */ +} PlumaTabState; + +/* + * Type checking and casting macros + */ +#define PLUMA_TYPE_TAB (pluma_tab_get_type()) +#define PLUMA_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_TAB, PlumaTab)) +#define PLUMA_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_TAB, PlumaTabClass)) +#define PLUMA_IS_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_TAB)) +#define PLUMA_IS_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_TAB)) +#define PLUMA_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_TAB, PlumaTabClass)) + +/* Private structure type */ +typedef struct _PlumaTabPrivate PlumaTabPrivate; + +/* + * Main object structure + */ +typedef struct _PlumaTab PlumaTab; + +struct _PlumaTab +{ + GtkVBox vbox; + + /*< private > */ + PlumaTabPrivate *priv; +}; + +/* + * Class definition + */ +typedef struct _PlumaTabClass PlumaTabClass; + +struct _PlumaTabClass +{ + GtkVBoxClass parent_class; +}; + +/* + * Public methods + */ +GType pluma_tab_get_type (void) G_GNUC_CONST; + +PlumaView *pluma_tab_get_view (PlumaTab *tab); + +/* This is only an helper function */ +PlumaDocument *pluma_tab_get_document (PlumaTab *tab); + +PlumaTab *pluma_tab_get_from_document (PlumaDocument *doc); + +PlumaTabState pluma_tab_get_state (PlumaTab *tab); + +gboolean pluma_tab_get_auto_save_enabled + (PlumaTab *tab); + +void pluma_tab_set_auto_save_enabled + (PlumaTab *tab, + gboolean enable); + +gint pluma_tab_get_auto_save_interval + (PlumaTab *tab); + +void pluma_tab_set_auto_save_interval + (PlumaTab *tab, + gint interval); + +void pluma_tab_set_info_bar (PlumaTab *tab, + GtkWidget *info_bar); +/* + * Non exported methods + */ +GtkWidget *_pluma_tab_new (void); + +/* Whether create is TRUE, creates a new empty document if location does + not refer to an existing file */ +GtkWidget *_pluma_tab_new_from_uri (const gchar *uri, + const PlumaEncoding *encoding, + gint line_pos, + gboolean create); +gchar *_pluma_tab_get_name (PlumaTab *tab); +gchar *_pluma_tab_get_tooltips (PlumaTab *tab); +GdkPixbuf *_pluma_tab_get_icon (PlumaTab *tab); +void _pluma_tab_load (PlumaTab *tab, + const gchar *uri, + const PlumaEncoding *encoding, + gint line_pos, + gboolean create); +void _pluma_tab_revert (PlumaTab *tab); +void _pluma_tab_save (PlumaTab *tab); +void _pluma_tab_save_as (PlumaTab *tab, + const gchar *uri, + const PlumaEncoding *encoding, + PlumaDocumentNewlineType newline_type); + +void _pluma_tab_print (PlumaTab *tab); +void _pluma_tab_print_preview (PlumaTab *tab); + +void _pluma_tab_mark_for_closing (PlumaTab *tab); + +gboolean _pluma_tab_can_close (PlumaTab *tab); + +#if !GTK_CHECK_VERSION (2, 17, 4) +void _pluma_tab_page_setup (PlumaTab *tab); +#endif + +G_END_DECLS + +#endif /* __PLUMA_TAB_H__ */ diff --git a/gedit/gedit-ui.h b/pluma/pluma-ui.h similarity index 62% rename from gedit/gedit-ui.h rename to pluma/pluma-ui.h index 8a53625..560e794 100755 --- a/gedit/gedit-ui.h +++ b/pluma/pluma-ui.h @@ -1,6 +1,6 @@ /* - * gedit-ui.h - * This file is part of gedit + * pluma-ui.h + * This file is part of pluma * * Copyright (C) 2005 - Paolo Maggi * @@ -21,15 +21,15 @@ */ /* - * Modified by the gedit Team, 2005. See the AUTHORS file for a - * list of people on the gedit Team. + * Modified by the pluma Team, 2005. See the AUTHORS file for a + * list of people on the pluma Team. * See the ChangeLog files for a list of changes. * * $Id$ */ -#ifndef __GEDIT_UI_H__ -#define __GEDIT_UI_H__ +#ifndef __PLUMA_UI_H__ +#define __PLUMA_UI_H__ #ifdef HAVE_CONFIG_H #include @@ -37,11 +37,11 @@ #include -#include "gedit-commands.h" +#include "pluma-commands.h" G_BEGIN_DECLS -static const GtkActionEntry gedit_always_sensitive_menu_entries[] = +static const GtkActionEntry pluma_always_sensitive_menu_entries[] = { /* Toplevel */ { "File", NULL, N_("_File") }, @@ -54,135 +54,135 @@ static const GtkActionEntry gedit_always_sensitive_menu_entries[] = /* File menu */ { "FileNew", GTK_STOCK_NEW, NULL, "N", - N_("Create a new document"), G_CALLBACK (_gedit_cmd_file_new) }, + N_("Create a new document"), G_CALLBACK (_pluma_cmd_file_new) }, { "FileOpen", GTK_STOCK_OPEN, N_("_Open..."), "O", - N_("Open a file"), G_CALLBACK (_gedit_cmd_file_open) }, + N_("Open a file"), G_CALLBACK (_pluma_cmd_file_open) }, /* Edit menu */ { "EditPreferences", GTK_STOCK_PREFERENCES, N_("Pr_eferences"), NULL, - N_("Configure the application"), G_CALLBACK (_gedit_cmd_edit_preferences) }, + N_("Configure the application"), G_CALLBACK (_pluma_cmd_edit_preferences) }, /* Help menu */ {"HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1", - N_("Open the gedit manual"), G_CALLBACK (_gedit_cmd_help_contents) }, + N_("Open the pluma manual"), G_CALLBACK (_pluma_cmd_help_contents) }, { "HelpAbout", GTK_STOCK_ABOUT, NULL, NULL, - N_("About this application"), G_CALLBACK (_gedit_cmd_help_about) }, + N_("About this application"), G_CALLBACK (_pluma_cmd_help_about) }, /* Fullscreen toolbar */ { "LeaveFullscreen", GTK_STOCK_LEAVE_FULLSCREEN, NULL, NULL, N_("Leave fullscreen mode"), - G_CALLBACK (_gedit_cmd_view_leave_fullscreen_mode) } + G_CALLBACK (_pluma_cmd_view_leave_fullscreen_mode) } }; -static const GtkActionEntry gedit_menu_entries[] = +static const GtkActionEntry pluma_menu_entries[] = { /* File menu */ { "FileSave", GTK_STOCK_SAVE, NULL, "S", - N_("Save the current file"), G_CALLBACK (_gedit_cmd_file_save) }, + N_("Save the current file"), G_CALLBACK (_pluma_cmd_file_save) }, { "FileSaveAs", GTK_STOCK_SAVE_AS, N_("Save _As..."), "S", - N_("Save the current file with a different name"), G_CALLBACK (_gedit_cmd_file_save_as) }, + N_("Save the current file with a different name"), G_CALLBACK (_pluma_cmd_file_save_as) }, { "FileRevert", GTK_STOCK_REVERT_TO_SAVED, NULL, NULL, - N_("Revert to a saved version of the file"), G_CALLBACK (_gedit_cmd_file_revert) }, + N_("Revert to a saved version of the file"), G_CALLBACK (_pluma_cmd_file_revert) }, #if !GTK_CHECK_VERSION (2, 17, 4) { "FilePageSetup", GTK_STOCK_PAGE_SETUP, N_("Page Set_up..."), NULL, - N_("Set up the page settings"), G_CALLBACK (_gedit_cmd_file_page_setup) }, + N_("Set up the page settings"), G_CALLBACK (_pluma_cmd_file_page_setup) }, #endif { "FilePrintPreview", GTK_STOCK_PRINT_PREVIEW, N_("Print Previe_w"),"P", - N_("Print preview"), G_CALLBACK (_gedit_cmd_file_print_preview) }, + N_("Print preview"), G_CALLBACK (_pluma_cmd_file_print_preview) }, { "FilePrint", GTK_STOCK_PRINT, N_("_Print..."), "P", - N_("Print the current page"), G_CALLBACK (_gedit_cmd_file_print) }, + N_("Print the current page"), G_CALLBACK (_pluma_cmd_file_print) }, /* Edit menu */ { "EditUndo", GTK_STOCK_UNDO, NULL, "Z", - N_("Undo the last action"), G_CALLBACK (_gedit_cmd_edit_undo) }, + N_("Undo the last action"), G_CALLBACK (_pluma_cmd_edit_undo) }, { "EditRedo", GTK_STOCK_REDO, NULL, "Z", - N_("Redo the last undone action"), G_CALLBACK (_gedit_cmd_edit_redo) }, + N_("Redo the last undone action"), G_CALLBACK (_pluma_cmd_edit_redo) }, { "EditCut", GTK_STOCK_CUT, NULL, "X", - N_("Cut the selection"), G_CALLBACK (_gedit_cmd_edit_cut) }, + N_("Cut the selection"), G_CALLBACK (_pluma_cmd_edit_cut) }, { "EditCopy", GTK_STOCK_COPY, NULL, "C", - N_("Copy the selection"), G_CALLBACK (_gedit_cmd_edit_copy) }, + N_("Copy the selection"), G_CALLBACK (_pluma_cmd_edit_copy) }, { "EditPaste", GTK_STOCK_PASTE, NULL, "V", - N_("Paste the clipboard"), G_CALLBACK (_gedit_cmd_edit_paste) }, + N_("Paste the clipboard"), G_CALLBACK (_pluma_cmd_edit_paste) }, { "EditDelete", GTK_STOCK_DELETE, NULL, NULL, - N_("Delete the selected text"), G_CALLBACK (_gedit_cmd_edit_delete) }, + N_("Delete the selected text"), G_CALLBACK (_pluma_cmd_edit_delete) }, { "EditSelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "A", - N_("Select the entire document"), G_CALLBACK (_gedit_cmd_edit_select_all) }, + N_("Select the entire document"), G_CALLBACK (_pluma_cmd_edit_select_all) }, /* View menu */ { "ViewHighlightMode", NULL, N_("_Highlight Mode") }, /* Search menu */ { "SearchFind", GTK_STOCK_FIND, N_("_Find..."), "F", - N_("Search for text"), G_CALLBACK (_gedit_cmd_search_find) }, + N_("Search for text"), G_CALLBACK (_pluma_cmd_search_find) }, { "SearchFindNext", NULL, N_("Find Ne_xt"), "G", - N_("Search forwards for the same text"), G_CALLBACK (_gedit_cmd_search_find_next) }, + N_("Search forwards for the same text"), G_CALLBACK (_pluma_cmd_search_find_next) }, { "SearchFindPrevious", NULL, N_("Find Pre_vious"), "G", - N_("Search backwards for the same text"), G_CALLBACK (_gedit_cmd_search_find_prev) }, + N_("Search backwards for the same text"), G_CALLBACK (_pluma_cmd_search_find_prev) }, #ifndef OS_OSX { "SearchReplace", GTK_STOCK_FIND_AND_REPLACE, N_("_Replace..."), "H", - N_("Search for and replace text"), G_CALLBACK (_gedit_cmd_search_replace) }, + N_("Search for and replace text"), G_CALLBACK (_pluma_cmd_search_replace) }, #else { "SearchReplace", GTK_STOCK_FIND_AND_REPLACE, N_("_Replace..."), "F", - N_("Search for and replace text"), G_CALLBACK (_gedit_cmd_search_replace) }, + N_("Search for and replace text"), G_CALLBACK (_pluma_cmd_search_replace) }, #endif { "SearchClearHighlight", NULL, N_("_Clear Highlight"), "K", - N_("Clear highlighting of search matches"), G_CALLBACK (_gedit_cmd_search_clear_highlight) }, + N_("Clear highlighting of search matches"), G_CALLBACK (_pluma_cmd_search_clear_highlight) }, { "SearchGoToLine", GTK_STOCK_JUMP_TO, N_("Go to _Line..."), "I", - N_("Go to a specific line"), G_CALLBACK (_gedit_cmd_search_goto_line) }, + N_("Go to a specific line"), G_CALLBACK (_pluma_cmd_search_goto_line) }, { "SearchIncrementalSearch", GTK_STOCK_FIND, N_("_Incremental Search..."), "K", - N_("Incrementally search for text"), G_CALLBACK (_gedit_cmd_search_incremental_search) }, + N_("Incrementally search for text"), G_CALLBACK (_pluma_cmd_search_incremental_search) }, /* Documents menu */ { "FileSaveAll", GTK_STOCK_SAVE, N_("_Save All"), "L", - N_("Save all open files"), G_CALLBACK (_gedit_cmd_file_save_all) }, + N_("Save all open files"), G_CALLBACK (_pluma_cmd_file_save_all) }, { "FileCloseAll", GTK_STOCK_CLOSE, N_("_Close All"), "W", - N_("Close all open files"), G_CALLBACK (_gedit_cmd_file_close_all) }, + N_("Close all open files"), G_CALLBACK (_pluma_cmd_file_close_all) }, { "DocumentsPreviousDocument", NULL, N_("_Previous Document"), "Page_Up", - N_("Activate previous document"), G_CALLBACK (_gedit_cmd_documents_previous_document) }, + N_("Activate previous document"), G_CALLBACK (_pluma_cmd_documents_previous_document) }, { "DocumentsNextDocument", NULL, N_("_Next Document"), "Page_Down", - N_("Activate next document"), G_CALLBACK (_gedit_cmd_documents_next_document) }, + N_("Activate next document"), G_CALLBACK (_pluma_cmd_documents_next_document) }, { "DocumentsMoveToNewWindow", NULL, N_("_Move to New Window"), NULL, - N_("Move the current document to a new window"), G_CALLBACK (_gedit_cmd_documents_move_to_new_window) } + N_("Move the current document to a new window"), G_CALLBACK (_pluma_cmd_documents_move_to_new_window) } }; /* separate group, needs to be sensitive on OS X even when there are no tabs */ -static const GtkActionEntry gedit_close_menu_entries[] = +static const GtkActionEntry pluma_close_menu_entries[] = { { "FileClose", GTK_STOCK_CLOSE, NULL, "W", - N_("Close the current file"), G_CALLBACK (_gedit_cmd_file_close) } + N_("Close the current file"), G_CALLBACK (_pluma_cmd_file_close) } }; /* separate group, should be sensitive even when there are no tabs */ -static const GtkActionEntry gedit_quit_menu_entries[] = +static const GtkActionEntry pluma_quit_menu_entries[] = { { "FileQuit", GTK_STOCK_QUIT, NULL, "Q", - N_("Quit the program"), G_CALLBACK (_gedit_cmd_file_quit) } + N_("Quit the program"), G_CALLBACK (_pluma_cmd_file_quit) } }; -static const GtkToggleActionEntry gedit_always_sensitive_toggle_menu_entries[] = +static const GtkToggleActionEntry pluma_always_sensitive_toggle_menu_entries[] = { { "ViewToolbar", NULL, N_("_Toolbar"), NULL, N_("Show or hide the toolbar in the current window"), - G_CALLBACK (_gedit_cmd_view_show_toolbar), TRUE }, + G_CALLBACK (_pluma_cmd_view_show_toolbar), TRUE }, { "ViewStatusbar", NULL, N_("_Statusbar"), NULL, N_("Show or hide the statusbar in the current window"), - G_CALLBACK (_gedit_cmd_view_show_statusbar), TRUE }, + G_CALLBACK (_pluma_cmd_view_show_statusbar), TRUE }, { "ViewFullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11", N_("Edit text in fullscreen"), - G_CALLBACK (_gedit_cmd_view_toggle_fullscreen_mode), FALSE } + G_CALLBACK (_pluma_cmd_view_toggle_fullscreen_mode), FALSE } }; /* separate group, should be always sensitive except when there are no panes */ -static const GtkToggleActionEntry gedit_panes_toggle_menu_entries[] = +static const GtkToggleActionEntry pluma_panes_toggle_menu_entries[] = { { "ViewSidePane", NULL, N_("Side _Pane"), "F9", N_("Show or hide the side pane in the current window"), - G_CALLBACK (_gedit_cmd_view_show_side_pane), FALSE }, + G_CALLBACK (_pluma_cmd_view_show_side_pane), FALSE }, { "ViewBottomPane", NULL, N_("_Bottom Pane"), "F9", N_("Show or hide the bottom pane in the current window"), - G_CALLBACK (_gedit_cmd_view_show_bottom_pane), FALSE } + G_CALLBACK (_pluma_cmd_view_show_bottom_pane), FALSE } }; G_END_DECLS -#endif /* __GEDIT_UI_H__ */ +#endif /* __PLUMA_UI_H__ */ diff --git a/gedit/gedit-ui.xml b/pluma/pluma-ui.xml similarity index 97% rename from gedit/gedit-ui.xml rename to pluma/pluma-ui.xml index 21c31a7..471ea5f 100755 --- a/gedit/gedit-ui.xml +++ b/pluma/pluma-ui.xml @@ -1,6 +1,6 @@