Lines Matching +refs:po +refs:string +refs:buffer
75 * po-mode.el (po-mode-version-string): Bump to 2.02.
118 * po-mode.el (po-team-name-to-code): Add support for Old English,
138 * po-mode.el (po-validate): Require the 'compile' module before
172 * start-po-el: New file.
211 * gettextize.in: When a po/POTFILES.in does not exist, create an
309 * gettextize.in: Add po to SUBDIRS if it was created in this run.
310 Tell the user to create po/POTFILES.in if it is not yet there.
417 * gettextize.in: Create po/Makevars.template from installed
418 po/Makevars.template, not from po/Makevars.
423 * po-compat.el: Add testing instructions.
424 (po-find-file-coding-system-guts) [XEMACS]: Make it work again,
425 after (car (nth i po-content-type-charset-alist)) changed from symbol
426 to string.
454 * po-compat.el (po-find-file-coding-system-guts): Provide the old
459 * po-compat.el: Remove call of codepage-setup of all support codepages.
460 (po-find-file-coding-system-guts): Avoid code duplication.
464 * po-compat.el (po-content-type-charset-alist): Convert the
465 car of each association to a string. From emacs CVS
466 (lisp/textmodes/po.el); provided by Eli Zaretskii.
467 (po-find-file-coding-system-guts): If the charset matches a name
471 * po-compat.el: Line up comment etc. with lisp/textmodes/po.el.
472 (po-find-charset): Search for the Charset= header even if we've read
473 less than 4KB. From emacs CVS (lisp/textmodes/po.el); provided by
539 * po-mode.el (po-mode-version-string): Bump to 2.01.
543 * po-mode.el (po-mode-line-entry...): Try harder to find a good place
544 for adding po-mode-line-entry into mode-line-format.
549 * po-compat.el: Add ISO-8859-14, KOI8-T, GEORGIAN-PS to the list of
579 * gettextize.in: Avoid the remarks about po/Makevars and config.guess
591 * po-mode.el (po-mode-menu-layout): Don't try to display tooltips
593 (po-subedit-mode-menu-layout): Likewise.
601 * po-mode.el (po-mode-menu-layout): Add tooltips.
602 (po-subedit-mode-menu-layout): Likewise.
604 * po-mode.el (po-mode-menu-layout): Adopt terminology for editing
613 * Makefile.am (lisp_LISP): Add po-compat.el.
618 * po-compat.el: New file, extracted from po-mode.el.
619 * po-mode.el (po-content-type-charset-alist, po-find-charset,
620 po-find-file-coding-system-guts, po-find-file-coding-system): Move to
621 po-compat.el.
625 * po-mode.el (po-team-name-to-code): Add Ido and Walloon. Change
636 * po-mode.el (po-team-name-to-code): Add es_AR, zh_CN, and zh_TW.
644 * po-mode.el (po-find-file-coding-system-guts): Checking
651 * po-mode.el (po-find-file-coding-system-guts): Don't try to
653 (po-compute-counters): Search for "^msgid" not 'po-next-entry' if
658 * po-mode.el (po-mode): Provide it.
667 * po-mode.el (po-subedit-ediff): When variants are equal don't call
668 'po-ediff-buffers-exit-recursive'.
672 * po-mode.el (po-send-mail): Set coding-system-for-read and
673 coding-system-for-write to the coding system of the po buffer;
675 system is different from the po buffer and thus the following
681 * po-mode.el (po-translation-project-address): Convert it to a
683 (po-translation-project-mail-label): New variable.
684 (po-send-mail): Use it.
688 * po-mode.el (po-mode-version-string): New variable.
689 (po-mode-version): Use it instead of RCS/CVS Revision tag.
703 Remove old-style "sed ... > po/Makefile" statement from configure.in.
726 * gettextize.in: Handle po/Makevars specially, don't overwrite the
735 * po-mode.el (po-content-type-charset-alist): Add Emacs20/21 codepages.
739 * po-mode.el (po-ediff-buffers-exit-recursive): Kill ediff buffers
748 * po-mode.el (po-eval-requoted): Add \r to avoid additional quoting
763 * po-mode.el (po-guess-archive-name): Verify that versions provided by
774 * po-mode.el (po-ediff-quit): New function.
775 (ediff-keymap-setup-hook): Assign key binding for 'po-ediff-quit'.
776 (po-ediff-buffers-exit-recursive): New function, in part derived
777 from 'po-subedit-ediff'.
778 (po-subedit-ediff): Use it.
780 * po-mode.el (po-subedit-ediff): Use meaningful buffer names,
786 * po-mode.el (po-mode-map): Enable key binding for
787 'po-edit-comment-and-ediff' ('C-c C-c' and 'C-c C-#').
791 * po-mode.el (po-help-display-string): Adjust it.
795 * po-mode.el (po-team-name-to-code): Fix syntax for the last entry
800 * po-mode.el (po-subedit-ediff): New function.
801 (po-edit-comment-and-ediff): New function.
802 (po-edit-msgstr-and-ediff): New function.
803 (po-subedit-mode-menu-layout): Add 'po-subedit-ediff'.
804 (po-subedit-mode-map): Add key binding for 'po-subedit-ediff'.
805 (po-mode-menu-layout): Add 'po-edit-comment-and-ediff' and
806 'po-edit-msgstr-and-ediff'.
807 (po-mode-map): Add key binding for 'po-edit-msgstr-and-ediff'.
811 * po-mode.el (po-subedit-mode-syntax-table): New variable.
812 (po-subedit-mode-map): Re-write according to po-mode-map and move
817 * po-mode.el (po-find-file-coding-system-guts): Use
818 'po-with-temp-buffer' instead of 'with-temp-buffer'.
819 (po-msgfmt-version-check): Likewise.
824 * po-mode.el: Doc fixes.
825 (po-mode-map): Put all in defvar.
829 * po-mode.el (po-mode-map): Assign new Key bindings to avoid
831 'po-previous-fuzzy-entry' = 'F',
832 'po-previous-obsolete-entry' = 'O',
833 'po-previous-translated-entry' = 'T',
834 'po-previous-untranslated' = 'U',
835 'po-undo' = '_',
836 'po-other-window' = '0',
837 'po-select-auxiliary' = '\C-c\C-a'.
838 (po-help-display-string): Likewise.
842 * po-mode.el (po-next-translated-entry): Actually search for
847 * po-mode.el (po-msgfmt-version-check): Also accept pre-release
856 * po-mode.el (po-team-name-to-code): Extend the list using items from
866 * gettextize.in: Copy only ABOUT-NLS, intl/, po/.
879 * po-mode.el (po-compute-counters): First save `current'
880 po-start-of-msgstr; use it to set `position' while looping over all
885 * po-mode.el (po-mode): Add newlines to fix layout problem calling
890 * po-mode.el (po-ensure-source-references): Use 'string-to-number'
891 instead of 'string-to-int'.
892 (po-msgfmt-version-check): Likewise.
896 * po-mode.el (po-edit-string): Set indent-line-function to
901 * po-mode.el (po-find-charset): Drop 'interactive'. Use
907 * po-mode.el (po-subedit-mode-menu-layout): New definition.
908 (po-edit-string): Use it to provide a menu for po-subedit-mode.
912 * po-mode.el (po-find-awk-string, po-mark-awk-string,
913 po-find-bash-string, po-mark-bash-string): New functions.
914 (po-preset-string-functions): Add awk and bash support.
918 * po-mode.el (po-find-file-coding-system-guts): Use ascii instead of
920 (po-compute-counters): Don't start counting if there is not even a
929 * po-mode.el: Optimize testing for XEmacs.
930 (po-auto-replace-revision-date): Do not quote t, as it evals to
932 (po-validate): Use the mode name instead of the constant PO to build
933 the validation buffer name.
934 (po-font-lock-keywords, po-find-charset,
935 po-find-file-coding-system-guts, po-find-file-coding-system): Adjust
937 (po-compute-counters): Use string-equal instead of string=, to be
939 (po-find-charset): Avoid infinite loop on empty file.
943 * po-mode.el (po-create-overlay, po-highlight, po-rehighlight,
944 po-dehighlight): Use XEmacs extent primitives.
957 * po-mode.el (po-mode-abbrev-table): New variable.
958 (po-edit-string): Use it.
962 * po-mode.el (po-fade-out-entry): Replace yes-or-no-p by y-or-n-p;
967 * po-mode.el (po-ensure-source-references): Correctly imply the file
972 * po-mode.el (po-subedit-abort): Change variable names.
973 (po-seek-equivalent-translation): Call set-buffer instead of
974 select-buffer.
975 (po-subedit-cycle-auxiliary): Adapt to multiple edits.
979 * po-mode.el (po-find-charset, po-compute-counters,
980 po-check-file-header, po-set-msgstr): Emacs 19 portability matters.
984 * po-mode.el (po-check-file-header): Add a new line after default
989 * po-mode.el (po-send-mail): Clarify some prompts.
994 * po-mode.el (po-team-name-to-code): New variable.
995 (po-guess-archive-name): Use it.
999 * po-mode.el (po-guess-archive-name, po-guess-team-address): Accept
1004 * po-mode.el (po-guess-archive-name): Allow Free as well as GNU
1009 * po-mode.el (po-any-msgid-regexp, po-any-msgstr-regexp,
1010 po-msgstr-idx-keyword-regexp, po-obsolete-msgstr-regexp,
1011 po-set-msgstr, po-obsolete-comment-regexp, po-get-comment): Enforce
1016 * po-mode.el (po-after-entry-regexp): Check if at end of line, rather
1023 * po-mode.el (po-validate): Check for 'null-device; if not available
1029 * po-mode.el (po-preset-string-functions): New function.
1030 (po-find-unknown-string, po-mark-unknown-string): New functions.
1031 (po-find-c-string): Return a 3-element list.
1032 (po-find-emacs-lisp-string): Likewise.
1033 (po-mark-found-string): Simplify consequently.
1034 (po-tags-loop-scan): Use po-preset-string-functions.
1036 * po-mode.el (po-mark-c-string, po-mark-emacs-lisp-string): Have
1037 marking functions to leave cursor after marked string. Do not return
1040 * po-mode.el (po-mark-found-string, po-mark-translatable,
1041 po-select-mark-and-mark): Other changes.
1045 * po-mode.el (po-tags-search): Better use the Emacs tags interface,
1047 (po-tags-loop-scan, po-tags-loop-operate): New functions.
1048 (po-string-contents, po-string-buffer): New buffer local variables.
1049 (po-next-file-list): Deleted. All usages adjusted.
1053 * po-mode.el (po-extract-part-unquoted): New function.
1054 (po-extract-unquoted, po-skip-over-python-string): Use it.
1056 * po-mode.el (po-skip-over-python-string): Missing parentheses.
1059 * po-mode.el (po-find-python-string, po-mark-python-string,
1060 po-skip-over-python-string): New functions.
1061 (po-tags-search, po-mark-found-string): Use them in Python mode.
1065 * po-mode.el (po-mode): Issue message after running hooks rather than
1070 * po-mode.el (po-match-string): New function.
1071 (po-set-msgid): Use it.
1072 (po-set-msgstr): Likewise.
1073 (po-set-comment): Likewise.
1074 (po-ensure-source-references): Likewise.
1075 (po-guess-archive-name): Likewise.
1076 (po-guess-team-address): Likewise.
1080 * po-mode.el: Move blocks of code around in view of later patches.
1081 Do minor cosmetic changes. Correct name-buffer into buffer-name
1087 * po-mode.el: Split portability matters in two. A minimum for
1093 * po-mode.el: To avoid compilation diagnostics, move customisation
1098 * po-mode.el: Merge make-local-variable within set whenever possible.
1102 * po-mode.el (po-msgfmt-version-check): Check for version strings with
1107 * po-mode.el: Don't recommend to use po-mode for POT files.
1108 (po-find-charset): New function.
1109 (po-find-file-coding-system-guts): Use it to get rid of the 4096 limit.
1114 * po-mode.el (po-compute-counters): Don't count the header entry.
1119 * po-mode.el (po-validate): Use private 'compile-command' and buffer
1124 * po-mode.el (po-mode): Use add-hook to call po-replace-revision-date
1125 saving the buffer.
1126 (po-quit): Don't call po-replace-revision-date.
1127 (po-validate): Likewise.
1130 (po-auto-replace-revision-date): Change default to 't'; otherwise the
1135 * po-mode.el (po-edit-string): Set 'buffer-file-coding-system'
1140 * po-mode.el (po-msgfmt-version-check): New. Check for GNU gettext
1142 (po-validate): Use 'po-msgfmt-version-check'.
1143 (po-validate): Use 'null-device' instead of literal "/dev/null".
1161 * po-mode.el (po-default-file-header): Replace 8-bit with 8bit.
1165 * po-mode.el (po-content-type-charset-alist): Add entries for
1170 * po-mode.el (po-find-file-coding-system): Make it work in XEmacs 20
1197 * po-mode.el (po-replace-revision-date): For the timezone, use RFC 822
1215 * po-mode.el (po-default-file-header): Replace ENCODING with 8-bit.
1224 po/ChangeLog entry more intelligent.
1228 * po-mode.el (po-font-lock-keywords): Respect entry types
1231 (po-font-lock-keywords): Fix regexp; '[]' part is optional.
1232 (po-any-msgstr-regexp): Also match msgstr[] fields.
1233 (po-msgstr-idx-keyword-regexp): New variable.
1234 (po-set-msgstr): Respect indexed msgstr entries; use
1235 `po-msgstr-idx-keyword-regexp'.
1240 po/ChangeLog and tell the user about the m4 macros. Don't attempt to
1245 * po-mode.el (po-subedit-exit): Run po-subedit-exit-hook before
1246 leaving the edit buffer.
1258 * po-mode.el: Call autoload with 4 arguments.
1259 (po-content-type-charset-alist): Change cars to uppercase.
1260 (po-find-file-coding-system): Uppercase charset for lookup in
1261 po-content-type-charset-alist.
1301 * po-mode.el: A few more changes by François Pinard.
1305 * po-mode.el (po-create-overlay) [po-XEMACS]: No argument.
1310 * po-mode.el (po-tags-search, po-mark-found-string): C++ as C.
1311 (po-find-c-string): Skip C++ comments as well.
1315 * po-mode.el (po-mode) [po-XEMACS]: Explicitely add menus.
1318 * po-mode.el (po-mode-menu-layout): Give real access to auxiliary
1331 * po-mode.el (po-tags-search, po-mark-translatable,
1332 po-select-mark-and-mark): Call interactive after the doc string,
1338 * po-mode.el: Update from most recent version.
1344 * po-mode.el: Rename po-middle-of-entry to po-start-of-msgstr, add
1345 variable po-start-of-msgid. Use it whenever appropriate.
1347 * po-mode.el (po-find-file-coding-system): New function.
1350 * po-mode.el: Normalise string= to string-equal.
1352 * po-mode.el (po-send-mail): Allow for mailing to the team.
1353 (po-guess-team-address): New function.
1357 * po-mode.el (po-set-comment): Unused variable buffer.
1358 (po-edit-string): Unused variables start, middle, end and obsolete.
1359 (po-tags-search): Unused variable find-string.
1361 * po-mode.el (po-check-lock): Create the work buffer as required, to
1362 avoid diagnostics about selecting a deleted buffer, after a user
1363 explicitly killed the work buffer instead of exiting it normally.
1366 * po-mode.el: New variable po-mode-menu-layout.
1367 (po-mode): Establish a bar mode menu if possible.
1370 * po-mode.el: Decide set-translation-domain before using it.
1373 * po-mode.el (po-set-comment): Rearrange wrong conditional flow.
1379 * po-mode.el (po-highlight, po-dehighlight): New functions.
1380 New globals: po-highlight-p, po-highlight-face and po-overlay.
1381 (po-edit-msgstr): Highlight the msgid string while editing.
1382 (po-tags-search): Highlight found string.
1383 (po-mark-found-string): Unhilight string before replacing it.
1386 * po-mode.el (po-set-field): Tells if buffer was modified.
1387 (po-edit-msgstr): Never make fuzzy an entry which is unmodified.
1389 * po-mode.el: Add M command, and variables po-compose-mail-function,
1390 po-translation-project-address and po-gzip-uuencode-command.
1391 (po-guess-archive-name, po-send-mail): New functions.
1396 * po-mode.el (po-replace-revision-date): Enforce ISO 8601 zones.
1400 * po-mode.el (po-edit-string): Expand tabs while editing
1403 * po-mode.el: Accept C-c C-k to abort recursive edits.
1408 * po-mode.el (po-find-c-string, po-extract-unquoted): Process ANSI
1409 string concatenation and K&R escaped newlines.
1413 * po-mode.el (po-help): To continue, also accept things like a
1418 * po-mode.el: Alter po-font-lock-keywords to properly highlight C
1421 * po-mode.el: If available, prefer force-mode-line-update builtin.
1423 * po-mode.el: Use our own buffer-substring, defining it as
1424 buffer-substring-no-properties if available. Because of text
1425 properties, buffer-substring does not always return a string.
1427 * po-mode.el (po-consider-source-path): Ensure a trailing slash.
1431 * po-mode.el (po-eval-requoted, po-extract-unquoted): Correct
1440 * po-mode.el: Customize.
1473 * po-mode.el (po-font-lock-keywords): Correct highlighting of
1478 * po-mode.el: Restructured to avoid all byte-compilation warnings.
1484 * po-mode.el: po-mode.el (po-kill-msgstr): Ensure po-entry-type is
1495 * po-mode.el: Added ELisp support. Patch by François Pinard.
1537 * po-mode.el: Apply François' patch for new default values of
1546 * po-mode.el: * Let po-show-source-context update
1547 po-reference-cursor itself, and display to the minibuffer the
1561 * po-mode.el: * Small corrections to the help page. Reported by
1564 * Change po-edit-mode-map to po-subedit-mode-map and
1565 po-mode-edit-hook to po-subedit-mode-hook. The previous names
1569 regexp bug in Emacs(?). See the FIXME in po-extract-unquoted.
1588 * po-mode.el: * Correct documentation mistakes in short help.
1598 * po-mode.el: Some last minute changes by François Pinard.
1602 * po-mode.el (po-confirm-and-quit): Recognize both #, and #! but
1610 * Implement po-default-file-header.
1613 * Rename po-auto-select to po-auto-select-entry.
1622 * Correct the message count updating in po-kill-msgstr and
1623 po-yank-msgstr.
1625 * Allow for po-auto-edit-with-msgid to work, when
1626 po-edit-msgstr was called on an untranslated immediately after
1629 * po-quit may select all kind of not fully processed entries,
1633 * TAB moves to LFD for po-msgid-to-msgstr.
1634 * z moves to DEL for po-fade-out-entry.
1637 * TAB is po-unfuzzy.
1638 * SPC is po-auto-select.
1639 * t is po-next-translated entry.
1640 * M-t is po-previous-translated-entry.
1641 * E is po-edit-out-full.
1644 * DEL (po-fade-out-entry) makes the entry fuzzy as first step,
1646 * LFD (po-msgid-to-msgstr) requests confirmation if entry was
1648 * v (po-validate): Pass the -v flag to msgfmt.
1649 * q (po-confirm-and-quit): Use milder confirmation.
1650 * Implemented variables po-auto-edit-with-msgid,
1651 po-auto-fuzzy-on-edit, po-auto-select-on-unfuzzy, and
1652 po-auto-replace-revision-date.
1663 * po-obsolete-flag replaced by more general po-entry-type.
1664 * po-appropriate-counter, po-increase-appropriate-counter and
1665 po-decrease-appropriate-counter are replaced by po-type-counter,
1666 po-decrease-type-counter and po-increase-type-counter.
1672 * po-add-attribute, po-delete-attribute: New functions.
1673 * po-offer-validation disappears, as (buffer-modified-p) may
1678 * po-mode.el: Inexact entries are now called fuzzy. Change
1683 * po-mode.el: Rename po-mode-hooks to po-mode-edit-hooks.
1685 * po-mode.el: Suggest accepting .pot and embedded .po. as triggers
1686 for PO editing mode, besides .po and .pox.
1697 (po-undo, po-validate, po-other-window and po-quit).
1698 . Command v replaces old command V (po-mode-version).
1699 . u and SPC replace e (po-next-untranslated-entry).
1700 M-u replaces M-e (po-previous-untranslated-entry).
1701 . o replaces M-n and M-SPC (po-next-obsolete-entry).
1702 M-o replaces M-p and M-DEL (po-previous-obsolete-entry).
1703 . SPC, DEL, and M-RET are no more po-next-entry,
1704 po-previous-entry and po-edit-comment.
1705 . r replaces l (po-pop-location).
1706 . s (po-cycle-source-reference) replaces c (po-cycle-reference).
1707 M-s (po-select-source-reference) replaces M-c (po-select-reference).
1708 S (po-consider-source-path) replaces d (po-add-path).
1709 M-S (po-ignore-source-path) replaces M-d (po-delete-path).
1710 . K, W and Y replace M-k, M-w and M-y (po-kill-comment,
1711 po-kill-ring-save-comment and po-yank-comment).
1712 * New command q (po-confirm-and-quit).
1716 * po-mode.el (po-edit-string): run hook `po-edit-hooks'.
1720 * po-mode.el (po-keywords): Add N_.
1752 * po-mode.el (po-quit): Always clear the message area after y-or-n-p.
1756 * po-mode.el: Implement searching of inexact entries.
1758 * po-mode.el: Implement po-version.
1762 * po-mode.el:
1765 * po-mode.el: Add support for XEmacs' font-lock.el.
1767 * po-mode.el:
1773 * po-mode.el: msgfmt behaves now well again. Return to use
1793 * po-mode.el (po-msgfmt-program):
1795 (po-validate): Use above variable.
1804 * po-mode.el (po-validate):
1818 * po-mode.el (po-eval-requoted): Add space in description.
1831 * po-mode.el: Apply latest patch by François.
1842 Try to remove files in root and po/ dir before linking. If this is
1871 * po-mode.el (po-search-path): Extend by "../".
1898 * gettextize.in: Remove target file for root- and po- file first.
1955 * po-mode.el: Fixes to run on DEMACS.
1987 * po-mode.el: Latest version by François. This version allows
1989 construction of the .po file. The string matching heuristic is
1996 * po-mode.el, makelinks, combine-sh: Moved to here from ../intl/.