• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/misc/

Lines Matching defs:edit

37 ;;             "Major mode for translators to edit PO files" t)
53 ;; - When in edit mode, currently it highlights (in green) the msgid;
58 ;; msgstr[1] line, so that the translator just needs to press RET to edit
114 (defcustom po-auto-edit-with-msgid nil
119 (defcustom po-auto-fuzzy-on-edit nil
716 ;; temporary Emacs buffer used to edit the string. OVERLAY-INFO, when not
718 ;; markers) for this msgid string which became highlighted for the edit.
788 M-s Select reference C-c C-a Select file *M-l Add/edit translation
864 ["Edit msgstr" po-edit-msgstr
867 ["Ediff and merge msgstr" po-edit-msgstr-and-ediff
881 ["Edit comment" po-edit-comment
884 ["Ediff and merge comment" po-edit-comment-and-ediff
930 ;; ["Add/edit translation" po-edit-lexicon-entry nil]
953 ["Edit out full" po-edit-out-full
955 '(:help "Leave PO mode to edit translation file using fundamental mode"))]
972 ["Abort edit" po-subedit-abort
975 ["Exit edit" po-subedit-exit
977 '(:help "Use this text as the translation and close current edit buffer"))]))
980 (_"Type 'C-c C-c' once done, or 'C-c C-k' to abort edit")
981 "Message to post in the minibuffer when an edit buffer is displayed.")
1082 (define-key po-mode-map "\C-m" 'po-edit-msgstr)
1085 (define-key po-mode-map "#" 'po-edit-comment)
1111 (define-key po-mode-map "E" 'po-edit-out-full)
1130 (define-key po-mode-map "\C-c\C-e" 'po-edit-msgstr-and-ediff)
1131 (define-key po-mode-map [?\C-c?\C-#] 'po-edit-comment-and-ediff)
1132 (define-key po-mode-map "\C-c\C-C" 'po-edit-comment-and-ediff)
1136 ;;;; (define-key po-mode-map "\M-l" 'po-edit-lexicon-entry)
1145 "Major mode for translators when they edit PO files.
1678 "Use another window to edit msgstr reinitialized with msgid."
2014 (po-check-for-pending-edit po-start-of-msgid)
2015 (po-check-for-pending-edit po-start-of-msgstr-block))
2108 ;; In a string edit buffer, BACK-POINTER points to one of the slots of the
2115 "From EDITED-FIELDS, clean out any edit having a killed edit buffer."
2127 "Resume any pending edit. Return nil if some remains."
2138 (defun po-check-for-pending-edit (position)
2139 "Resume any pending edit at POSITION. Return nil if such edit exists."
2153 (defun po-edit-out-full ()
2165 "Quit ediff and exit `recursive-edit'."
2168 (exit-recursive-edit))
2183 (recursive-edit)
2192 `po-subedit-ediff' calls `po-ediff-buffers-exit-recursive' to edit translation
2202 When done with the `ediff' session press \\[exit-recursive-edit] exit to
2203 `recursive-edit', or call \\[po-ediff-quit] (`Q') in the ediff control panel."
2251 (let* ((edit-buffer (current-buffer))
2262 (kill-buffer edit-buffer)
2282 po-auto-fuzzy-on-edit
2291 (defun po-edit-string (string type expand-tabs)
2298 (if (po-check-for-pending-edit marker)
2299 (let ((edit-buffer (generate-new-buffer
2301 (edit-coding buffer-file-coding-system)
2316 (setq slot (list marker edit-buffer overlay)
2318 (pop-to-buffer edit-buffer)
2322 (setq buffer-file-coding-system edit-coding)
2338 (defun po-edit-comment ()
2339 "Use another window to edit the current translator comment."
2342 (po-edit-string (po-get-comment nil) 'comment nil))
2344 (defun po-edit-comment-and-ediff ()
2345 "Use `ediff' to edit the current translator comment.
2346 This function calls `po-edit-msgstr' and `po-subedit-ediff'; for more info
2349 (po-edit-comment)
2352 (defun po-edit-msgstr ()
2353 "Use another window to edit the current msgstr."
2356 (po-edit-string (if (and po-auto-edit-with-msgid
2363 (defun po-edit-msgstr-and-ediff ()
2364 "Use `ediff' to edit the current msgstr.
2365 This function calls `po-edit-msgstr' and `po-subedit-ediff'; for more info
2368 (po-edit-msgstr)
2533 "Cycle auxiliary file, but from the translation edit buffer."