Commit Graph

272 Commits (30d6b830cfc7b0acca3917208ca0662452678893)

Author SHA1 Message Date
Dries Buytaert 735e532bee - Patch #508458 by catch, Gábor Hojtsy, yoroy: created 'Configuration and modules' section so we can start moving over configuration items. Let's see how this goes ... 2009-08-11 11:52:46 +00:00
Angie Byron 691693304b #193383 by TheRec, JirkaRybka, and Bart Jansens: Centralize calls to set_time_limit() and prevent warnings/errors. 2009-08-05 15:58:35 +00:00
Dries Buytaert cee4af4b43 - Patch #522176 by espie, mikey_p: improved the error message that one gets when importing a translation file fails. 2009-07-30 08:40:22 +00:00
Dries Buytaert c59a44e29b - Patch #334283 by Gábor Hojtsy: fixed context bug. 2009-07-20 17:09:36 +00:00
Dries Buytaert 28b2f098be - Patch #334283 by Damien Tournoud, andypost, Freso et al: add context to t() to help deal with ambigious strings (and improved the locale APIs a bit). Example: May is both a short month name as a long month name in English, but not necessarily in other languages. 2009-06-08 05:00:12 +00:00
Dries Buytaert e474fbbd6c - Patch #477944 by Damien Tournoud: fix and streamline page cache and session handling. 2009-06-02 06:58:17 +00:00
Dries Buytaert edeea95f5e - Patch #137932 by grendzy, Alan D, lilou et al: automatic enctype on adding a file field. 2009-05-25 18:22:31 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert 847304a293 - Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms. 2009-05-12 08:37:45 +00:00
Angie Byron fc7283235b #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. 2009-04-27 20:19:38 +00:00
Dries Buytaert 7a6f73f49d - Patch #330748 by stBorchert: remove from theme_pager*. 2009-04-26 19:44:40 +00:00
Angie Byron 9ba5163eda #368064 follow-up by c960657: Fix typo preventing edit and delete links on translation page from working. 2009-04-22 16:07:03 +00:00
Dries Buytaert 2704385be8 - Patch #422364 by JamesAn: converted locale.inc to use new static caching API. 2009-04-08 02:55:52 +00:00
Dries Buytaert 3a35e28f92 - Patch #254491 by chx, catch, justinrandell, pwolanin, David_Rothstein, et al: centralized static caching to improve testability of the Drupal code, and to remove $reset-parameters. Thanks for taking the time to convince me, catch! 2009-04-02 20:39:45 +00:00
Angie Byron 7e98216936 #368064 by catch: Provide a top-level 'International' menu item for localization and translation-related items. 2009-03-31 02:02:23 +00:00
Angie Byron 780169772d #353883 follow-up by Damien Tournoud: Fix typo causing fatal errors when running tests. 2009-03-25 13:38:09 +00:00
Dries Buytaert 5f1f857b24 - Patch #353883 by Damien Tournoud, killes, et al: converted queries to the new database abstraction layer. 2009-03-19 10:48:51 +00:00
Dries Buytaert 0184860b58 - Patch #333156 by stella: add ability to configure the default country. 2009-03-17 15:26:29 +00:00
Dries Buytaert 5d658d0848 - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). 2009-02-22 17:55:30 +00:00
Angie Byron c03b4c5408 #255551 by drewish and c960657: Array-itize file_scan_directory()'s parameters (DX improvement). 2009-02-18 15:07:27 +00:00
Angie Byron 2da17d8010 #347288 by plach: Fix Locale uninstall (with tests). 2009-02-13 00:45:18 +00:00
Angie Byron c6dd7bec5e #52990 by Roger López: Vastly improve translation string search and editing interface. 2009-02-05 00:32:47 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Angie Byron 096309b327 #352121 by valthebald and Damien Tournoud: Allow importing of invalid tags in .po files into non-default text groups. 2009-01-22 03:29:01 +00:00
Dries Buytaert 4f35ae01a2 - Patch #352803 by chx: convert query to new database layer. 2009-01-06 13:20:17 +00:00
Dries Buytaert ec4eba68d7 - Patch #323528 by jhedstrom: fixed alias usage in queries for PostgreSQL. 2008-12-19 03:55:23 +00:00
Dries Buytaert 90276160cb - Patch #347228 by kajetan: missing return statement. 2008-12-16 21:04:08 +00:00
Dries Buytaert 8802e0d3af - Patch #276111 by pwolanin, Gabor et al: validate translation strings on import. 2008-12-09 19:53:36 +00:00
Dries Buytaert dc65b62ace - Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up). 2008-11-16 19:41:14 +00:00
Dries Buytaert a80672230f - Patch #332623 by Damien Tournoud: fixed importing translations and added a test. 2008-11-11 20:22:17 +00:00
Dries Buytaert bd108c7f10 - Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up. 2008-11-11 16:49:38 +00:00
Dries Buytaert 50b3072f55 - Rollback of patch #74645 -- breaks installer. 2008-11-08 22:04:03 +00:00
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