Commit Graph

240 Commits (4335a60b97a0ee0ca6be3e1aec14482e9aaaee8f)

Author SHA1 Message Date
Dries Buytaert ceaf8a0c74 - Patch #74645 by drewish, Robin Monks, tayknight: clean up file_scan_directory API to use regex. 2008-11-08 21:49:47 +00:00
Dries Buytaert df2cf40d2c - Patch #266358 by Rob Loach, mfer: use array in drupal_add_css(). 2008-10-26 18:06:39 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron f841d1a764 #142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :) 2008-10-09 00:02:29 +00:00
Dries Buytaert 0d84b91849 - Patch #296197 by Gabor: made the language order use drag-n-drop instead of weight drop-down menus. 2008-09-27 20:23:30 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Angie Byron 89b4c55989 #64967 follow-up by drewish: Replace ereg with preg in file_scan_directory(). 2008-09-20 03:49:24 +00:00
Dries Buytaert 88c75b8772 - Patch #308713 by fletchgqc: incorrect max length of language domain string in locale form. 2008-09-19 07:41:02 +00:00
Angie Byron fb57759604 #228761 by zsanmartin and roborn: Fix language code regex and correct Portugal's language code. 2008-09-17 19:32:53 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 5ba4c53379 - Patch #305920 by Gabor: invlidate JavaScript language cache when a string is edited. 2008-09-09 13:43:40 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 5ebbdd0c36 - Patch #280628 by pwolanin et al: fixed locale module confirm form and broken locale module tests. 2008-08-05 18:11:44 +00:00
Dries Buytaert 0a73613db6 - Patch #226874 by hswong3i: made SQL ANSI compliant. 2008-07-22 20:03:41 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert c529e4afbe - Patch #101543 by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Gábor Hojtsy 28a75046b5 #207982 by domasj: Lithuanian native language name was incorrect 2008-01-09 21:36:13 +00:00
Gábor Hojtsy 18d46e4733 #205334 follow up by myself: options were improperly counted in language list (minor) 2008-01-02 22:49:43 +00:00
Gábor Hojtsy e58c6c36a7 #204872 report by hass, patch by myself: Mode radio button in locale import had bad default value 2008-01-02 13:27:26 +00:00
Gábor Hojtsy f96a1c7690 #205334 by hass: if more then 5 languages are available, use a dropdown not a radio button list (usability) 2008-01-02 12:04:17 +00:00
Gábor Hojtsy 4441334133 Reported at http://groups.drupal.org/node/7843 : language direction was not translated in the overview (it is in the form, so no new string for translators) 2007-12-27 14:13:13 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy 4c990fb7cc #189880 by keith.smith based on initial suggestions from O Govinda: much better help texts and descriptions for locale module, actually explaining its extended feature set in Drupal 6. 2007-12-18 16:27:44 +00:00
Gábor Hojtsy d83289f857 #196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Gábor Hojtsy b82738fa3f #195540 by hass: fix XHTML validity with disabled checkbox in locales form 2007-11-26 23:33:03 +00:00
Gábor Hojtsy efbd1db550 #193320 by JirkaRybka: _locale_rebuild_js() was invoked on every page view, now optimized 2007-11-26 22:34:09 +00:00
Dries Buytaert 9a96837b89 - Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues. 2007-11-26 16:36:44 +00:00
Dries Buytaert 2f0657bc3d - Removing excessive whitespace. 2007-11-23 13:34:55 +00:00
Gábor Hojtsy 63e91b0ad8 #192406 follow up by JirkaRybka: fix missing textgroup by using the default text group for PO imports when otherwise not instructed 2007-11-22 23:58:34 +00:00
Gábor Hojtsy 5ed3db7c8b #192406 by myself: imported locale files were not put into the right textgroup selected on the interface 2007-11-21 22:04:37 +00:00
Gábor Hojtsy 8e73e4600b #173858 by myself: skip UTF-8 BOM when importing locale files 2007-11-21 18:24:37 +00:00
Dries Buytaert ece869b0b2 - Patch #192242 by catch, quicksketch, webchick, keith et all: usability improvements for the vocabulary/term forms. 2007-11-20 13:24:54 +00:00
Gábor Hojtsy 04ca1b4676 #190283 by JirkaRybka and myself: fix installer localization and form handling
- use a two pass localization process so localization is ready for the configure form and profile tasks
 - fix awkward form API workarounds which were introduced before we used a full bootstrap anyway
 - allow for more usable localized profiles by letting them skip language selection
 - lots of documentation improvements to profiles and the installer functions
2007-11-19 13:56:14 +00:00
Gábor Hojtsy 702c0a2bcd #190283 by myself and JirkaRbyka: use get_t() in pre-database setup code, add missing javascript key to language objects (kills notices) and document st() better 2007-11-11 16:14:45 +00:00
Gábor Hojtsy 3a8f208b7a #183056 by JirkaRybka: improve locale cache handling performance
- always prune the whole cache as string additions affect all languages
 - rebuild the language caches as needed, distributing this load among page requests
2007-10-15 19:51:06 +00:00
Gábor Hojtsy 1e8ddda9b7 #169079 by yched: improve consistency of menu API and batch API by allowing batch definition in non .module files, which opens the possibility of better performing batches (which are likely to reside in .admin.inc files generally)
- apply this change in locale.module
 - improve batch API code documentation
2007-10-15 15:18:39 +00:00
Dries Buytaert 2db2c039fb - Patch #172950 by webernet: code style fixes. 2007-09-04 21:10:45 +00:00
Gábor Hojtsy 0fd16236ef #171562 by JirkaRybka: fix several issues with locales
- make searches work again, better worded
 - do not cache English stuff
 - fix strike through on string seek page
 - fix exports for translations
2007-09-01 12:50:47 +00:00
Gábor Hojtsy 580faf849d #162324 by mooffie: keep previously default language enabled and only increment enabled language count, if we are in fact adding an enabled language 2007-08-20 07:54:46 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Gábor Hojtsy 22a37e6fb2 #165668 by John Morahan: fix wrong parameter passing in custom langauge addition validation 2007-08-09 10:12:14 +00:00
Gábor Hojtsy 086385c2a8 #164209 by mooffie: native language names were not shown in the predefined language dropdown for RTL languages 2007-08-04 13:08:17 +00:00
Dries Buytaert 99a8f0753d - Patch #160620 by kkaefer: E_NOTICE fix. 2007-07-21 09:26:07 +00:00
Gábor Hojtsy 6993ea05b7 #159463 by hass (with phpdoc addition from myself): file_scan_directory() should not have a trailing slash in the dir parameter 2007-07-15 19:14:19 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Dries Buytaert e59852d336 - Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API.  We all support the
  features this patch added, yet not its actual design and implementation.
  After some talk, we decided that it would be better for Drupal -- in the
  long term -- not to go with a solution that isn't 100%. We also recognize
  that in the short term, this patch would have been useful addition. So
  let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Dries Buytaert 2bf7c1c0e3 - Patch #147662 by Gordon et al: add new #pre_render callback to drupal_render(). 2007-06-28 07:48:41 +00:00
Gábor Hojtsy 358a4dc079 #154941 by hunmonk: fix faulty variable initialization in locale JS parsing 2007-06-27 08:40:58 +00:00
Gábor Hojtsy bedf78d558 #152670 by myself: refactor PO generation to decouple data collection, file generation and HTTP download; fix a bug with plural exports along the way 2007-06-23 20:45:36 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Gábor Hojtsy 25b01f6c2e Remove leftover t() from watchdog messages 2007-06-18 09:41:30 +00:00
Gábor Hojtsy 64707c09e9 #150521 by myself: streamline locale runtime performance and clean up code by not storing empty translations 2007-06-17 17:41:40 +00:00
Gábor Hojtsy 9350f5e6cf the language column is in locales_target, noted on IRC by wwwebernet 2007-06-17 17:34:12 +00:00
Gábor Hojtsy 1e666c34cc #150554 suggested by kkaefer, patch by me: rename 'po' folders to the more user friendly 'translations' name 2007-06-13 19:39:04 +00:00
Dries Buytaert 53420729ea - Patch #101927 by cooferat: fixed problem with post information. 2007-06-11 15:21:14 +00:00
Gábor Hojtsy 1f1ad0e2f1 #150335 by myself: clean up editing form, allow for powerful form altering 2007-06-09 09:44:28 +00:00
Gábor Hojtsy 57c9a13e1f #118026 by kkaefer with fixes from myself: JavaScript translation support and script.js as a default theme JS file to use, if found 2007-06-08 12:51:59 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Dries Buytaert 4fd54aabc5 - Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews. 2007-05-30 08:08:59 +00:00
Gábor Hojtsy 36e87e190c #147640 by Jose A Reyero with further cleanup by myself: add language code to localization functions
This makes it possible to call these functions with a given language code when sending emails to multiple users with different languages in a request for example.
2007-05-29 14:37:49 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Dries Buytaert 0047e35d91 - Patch #145671 by Gabor: import translation files when adding a new language. 2007-05-22 07:42:37 +00:00
Gábor Hojtsy 760a181c97 #145748 by meba, after coding style fixes: disable the checkbox on the default language, so it cannot be disabled (the submit handler already disallows disabling it) 2007-05-21 20:21:39 +00:00
Gábor Hojtsy 112aa20768 #144496 by myself: import translations for newly installed modules and enabled themes;
as a side effect, improve usability of the module screen by performing module
changes all at once
2007-05-21 10:56:05 +00:00
Gábor Hojtsy 8cc8f87896 #139970 follow up fix by riccardoR: LTR is the default behavior 2007-05-17 08:34:43 +00:00
Dries Buytaert a243145d3f - Patch #137767 by chx and pwolanin: multiple menu support. 2007-05-16 13:45:17 +00:00
Dries Buytaert adab4ab83b - Patch #142869 by Gabor: import interface translation files at install time. 2007-05-15 15:29:49 +00:00
Dries Buytaert ac65ff9074 - Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :) 2007-05-14 13:43:38 +00:00
Gábor Hojtsy 32e8534d93 #142074 by erdemkose: Bug and E_ALL: undefined variable 2007-05-08 09:48:14 +00:00
Gábor Hojtsy a6084a5a36 simple phpdoc formatting fix in locale.inc 2007-05-08 09:46:24 +00:00
Gábor Hojtsy 644657c56b #141482 by Heine: collapse custom language addition form by default, because it is an advanced form, not required most of the time, so can make people confused 2007-05-05 08:55:15 +00:00
Dries Buytaert fff45d1f4b - Patch #139970 by Gabor: locale cleanup. 2007-05-03 09:51:08 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert 78305a9e2d - Patch #135846 by Gabor: killed two E_NOTICES 2007-04-13 08:03:21 +00:00
Dries Buytaert ded653fbbd - Patch #128866 by Gabor and erdemkose: make it impossible to delete the default language or the English language. 2007-04-09 14:46:55 +00:00
Dries Buytaert a871b96a48 - Patch #72564 by Gabor: locale bugfix: undefined variable. 2007-04-06 14:15:43 +00:00
Dries Buytaert bb9f9a33e4 - Patch #133216 by meba: trying to get property of non-object on line 982. 2007-04-04 20:47:41 +00:00
Dries Buytaert b20618aa12 - Patch #128866 by Gabor et al: new language subsystem fixes. 2007-03-28 14:08:23 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert eb0caa354e - Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem. 2007-03-26 01:32:22 +00:00
Steven Wittens bb49dd5af5 #124366: Change the default language codes for Norwegian Nynorsk and Norwegian Bokmål 2007-03-24 19:07:34 +00:00
Dries Buytaert 4b635f6d0a - Patch #128081 by Eaton: remove #base, paving the path for a simpler form API. 2007-03-17 18:30:14 +00:00
Dries Buytaert 5ed8046fe7 - Patch #117826 by kkaefer: move the localization menu to site building. 2007-02-11 08:44:32 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Steven Wittens 365439ffdf #107015: Code consistency, capitalization of class names. 2007-01-05 05:32:23 +00:00
Neil Drumm dfd86399c0 #106232 by chx. Add spaces for code style. 2007-01-02 05:05:38 +00:00
Steven Wittens 95539f5e08 #105889: fix parse error in locale.inc 2006-12-30 08:43:14 +00:00
Steven Wittens c231ce312d #97640: Do not xss filter locale strings on import or edit. 2006-12-29 08:35:04 +00:00
Steven Wittens b86f45b1e6 #100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads. 2006-12-10 09:54:35 +00:00
Dries Buytaert 45363904d5 - Patch #27906 by mikeryan: added Brazilian-Portugese support. 2006-12-07 17:10:29 +00:00
Dries Buytaert 38f3050777 - Patch #101236 by Uwe Herman: fixed typos in the documentation. 2006-12-05 05:47:37 +00:00
Steven Wittens 0ea4e1c5f6 #100563: Conditional loading of (some) module.css files 2006-12-01 22:47:53 +00:00
Neil Drumm 3477fb5f6e #97640 by imagine. Don't encode & in translated strings. 2006-11-27 01:17:01 +00:00
Dries Buytaert 827f064deb - Patch # #98366 by webchick and ac: simplified strings for translators. 2006-11-24 10:18:24 +00:00
Dries Buytaert 6b2dd3f75e - Patch #90823 by Gabor: remove author fields. 2006-10-23 15:52:35 +00:00
Dries Buytaert 669fc40be0 - Patch #85584 by erdemkose: bugfix: pass to the form. 2006-10-02 11:49:50 +00:00
Dries Buytaert 35c33e3cf5 - Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch. 2006-09-09 08:25:24 +00:00
Dries Buytaert 7617a16f85 - Patch #73487 by zorac: msgid_prulals are lost in exported .po file. 2006-09-05 11:40:44 +00:00