| 1 |
[formats] |
| 2 |
# <name> = <example> [example...] |
| 3 |
|
| 4 |
awk = %d |
| 5 |
# https://www.gnu.org/software/gawk/manual/html_node/Printf.html |
| 6 |
|
| 7 |
boost = %d |
| 8 |
# https://www.boost.org/doc/libs/1_68_0/libs/format/doc/format.html |
| 9 |
|
| 10 |
c = %d |
| 11 |
# https://man7.org/linux/man-pages/man3/printf.3.html |
| 12 |
|
| 13 |
csharp = {0} |
| 14 |
# https://learn.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting |
| 15 |
|
| 16 |
elisp = %d |
| 17 |
# https://www.gnu.org/software/emacs/manual/html_node/elisp/Formatting-Strings.html |
| 18 |
|
| 19 |
gcc-internal = %d |
| 20 |
# https://www.gnu.org/software/gettext/manual/html_node/gcc_002dinternal_002dformat.html |
| 21 |
|
| 22 |
gfc-internal = %d |
| 23 |
# https://www.gnu.org/software/gettext/manual/html_node/gfc_002dinternal_002dformat.html |
| 24 |
|
| 25 |
java = {0} |
| 26 |
# https://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html |
| 27 |
# https://ssl.icu-project.org/apiref/icu4j/com/ibm/icu/text/MessageFormat.html |
| 28 |
|
| 29 |
javascript = %d |
| 30 |
# https://www.gnu.org/software/gettext/manual/html_node/javascript_002dformat.html |
| 31 |
# https://nodejs.org/api/util.html#util_util_format_format |
| 32 |
|
| 33 |
kde = %1 |
| 34 |
# https://techbase.kde.org/Development/Tutorials/Localization/i18n |
| 35 |
|
| 36 |
kde-kuit = %1 |
| 37 |
# https://api.kde.org/frameworks/ki18n/html/prg_guide.html |
| 38 |
|
| 39 |
librep = %d |
| 40 |
# https://librep.sourceforge.net/librep-manual.html#Formatted%20Output |
| 41 |
|
| 42 |
lisp = ~A |
| 43 |
# https://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm |
| 44 |
|
| 45 |
lua = %d |
| 46 |
# https://www.lua.org/manual/5.2/manual.html#pdf-string.format |
| 47 |
|
| 48 |
objc = %d |
| 49 |
# https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html |
| 50 |
|
| 51 |
object-pascal = %d |
| 52 |
# https://www.freepascal.org/docs-html/rtl/sysutils/format.html |
| 53 |
|
| 54 |
perl = %d |
| 55 |
# https://perldoc.perl.org/functions/sprintf |
| 56 |
|
| 57 |
perl-brace = {var} |
| 58 |
# https://metacpan.org/pod/Locale::TextDomain |
| 59 |
|
| 60 |
php = %d |
| 61 |
# https://www.php.net/manual/en/function.sprintf.php |
| 62 |
|
| 63 |
python = %d |
| 64 |
# https://docs.python.org/2/library/stdtypes.html#string-formatting-operations |
| 65 |
# https://docs.python.org/3/library/stdtypes.html#old-string-formatting |
| 66 |
|
| 67 |
python-brace = {0} {var} |
| 68 |
# https://docs.python.org/2/library/string.html#formatstrings |
| 69 |
# https://docs.python.org/3/library/string.html#formatstrings |
| 70 |
|
| 71 |
qt = %1 |
| 72 |
# https://doc.qt.io/qt-6/qstring.html#arg |
| 73 |
|
| 74 |
qt-plural = %n |
| 75 |
# https://doc.qt.io/qt-6/i18n-source-translation.html#handle-plural-forms |
| 76 |
|
| 77 |
scheme = ~A |
| 78 |
# https://people.csail.mit.edu/jaffer/slib/Format-Specification.html |
| 79 |
|
| 80 |
sh = $var |
| 81 |
# https://www.gnu.org/software/gettext/manual/html_node/sh_002dformat.html |
| 82 |
|
| 83 |
smalltalk = %1 |
| 84 |
# https://www.gnu.org/software/smalltalk/manual-base/html_node/CharacterArray_002dstring-processing.html |
| 85 |
|
| 86 |
tcl = %d |
| 87 |
# https://www.tcl-lang.org/man/tcl8.6/TclCmd/format.htm |
| 88 |
|
| 89 |
ycp = %1 |
| 90 |
# https://doc.opensuse.org/projects/YaST/SLES11/tdg/sformat.html |
| 91 |
|
| 92 |
# vim:ft=dosini |