summaryrefslogtreecommitdiff
path: root/check-strings-patterns
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-02-28 21:34:38 +0000
committerDarin Adler <darin@src.gnome.org>2001-02-28 21:34:38 +0000
commit91b66e65de6923d08a4003946ff99d71e7729343 (patch)
tree013503b6819f97372234a18b3b91fcc284eb8c6d /check-strings-patterns
parente4abb4d117c35c85c721579e615127063f986231 (diff)
downloadnautilus-91b66e65de6923d08a4003946ff99d71e7729343.tar.gz
reviewed by: John Sullivan <sullivan@eazel.com>
* check-strings.pl: * check-strings-functions: * check-strings-patterns: New script and correspoinding config files to help us find untranslated strings. It's going to take some effort to make this an easy-to-use tool. * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_initialize): Fixed string that would not get translated properly since it was using N_ and nothing was going to use _() on it. (nautilus_rpm_view_update_from_uri): Marked strings for translation as requested in bug report 7149. (nautilus_rpm_view_verify_files): Format tweak. (nautilus_rpm_view_drag_data_received): Remove old dead code. * libnautilus-extensions/nautilus-tabs.c: (draw_tab_piece_aa): Change to use C-style comments, not C++. * src/nautilus-application.c: (check_required_directories): Mark strings for translation that we had missed before. * src/nautilus-first-time-druid.c: Fix port string define so it doesn't have to be repeated twice (and doesn't show up as an "untranslated string"). * src/nautilus-about.c: Formatting tweak. * src/nautilus-location-bar.c: Fix typo.
Diffstat (limited to 'check-strings-patterns')
-rw-r--r--check-strings-patterns66
1 files changed, 66 insertions, 0 deletions
diff --git a/check-strings-patterns b/check-strings-patterns
new file mode 100644
index 000000000..474ff3faa
--- /dev/null
+++ b/check-strings-patterns
@@ -0,0 +1,66 @@
+%s %s # common simple printf format
+. ||| -skels # CORBA-generated
+. ||| -stubs # CORBA-generated
+\\n # common simple string
+^Ali Abdin$
+^Andy Hertzfeld$
+^Arlo Rose$
+^C$ # extern "C"
+^Darin Adler$
+^Eli Goldberg$
+^Elliot Lee$
+^Eskil Heyn Olsen$
+^Ettore Perazzoli$
+^Gene Z. Ragan$
+^George Lebl$
+^Ian McKellar$
+^J Shane Culpepper$
+^John Harper$
+^John Sullivan$
+^Josh Barrow$
+^Maciej Stachowiak$
+^Mathieu Lacage$
+^Mike Engber$
+^Mike Fleming$
+OAFIID # strings with oaf IIDs
+^Pavel Císler$
+^Ramiro Estrugo$
+^Raph Levien$
+^Rebecca Schulman$
+^Robey Pointer$
+^Robin \* Slomkowski$
+^Seth Nickell$
+^Susan Kare$
+^\/ # paths
+^[-\w/]+\.(png|xml) # recognizable file names
+^bookmark$ ||| nautilus-bookmark-list
+^http:
+^rgb: # color specs
+^Nautilus first time druid read file handle$
+^\w+\.eazel\.com$
+^[-\w]+\/[-\w\*]*$ # mime type
+^Tab$ ||| druid
+^\.\.?$ # self and parent in file system
+network\.proxy
+^_NETSCAPE_URL
+^Switch to \w+ Level$ ||| nautilus-window-menus
+. ||| -common\.c
+^[a-z-]*help: # help URLs
+^cdda: # cdda URLs
+. ||| gdb3html
+^0123456789ABCDEF$
+^\?+$
+^eazel-services: # eazel-services URLs
+^command: # command URLs
+^trash: # trash URLs
+. ||| \/test # test programs
+^[\d:]+$ # all numbers and colons
+. ||| \/intl\/ # things in intl directory
+. ||| \/po\/ # things in po directory
+^\.[a-zA-Z][a-zA-Z][a-zA-Z]$ # common file extensions
+^i-[-a-z]+$ # icon names
+. ||| nautilus-metadata\.h # metadata keys
+^\s+$ # white space only
+^_SAWFISH # keys for WM
+^TRUE$
+^FALSE$