summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-22 23:58:34 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-22 23:58:34 +0000
commit63e91b0ad8434a36f477cc45a4adc00a719b2d1e (patch)
tree74d86d052df14bb617fd0806b3327046671121fc /includes/locale.inc
parent59312988a1119448fa007f4645779601e6804915 (diff)
downloadbrdo-63e91b0ad8434a36f477cc45a4adc00a719b2d1e.tar.gz
brdo-63e91b0ad8434a36f477cc45a4adc00a719b2d1e.tar.bz2
#192406 follow up by JirkaRybka: fix missing textgroup by using the default text group for PO imports when otherwise not instructed
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 8b5da5fff..5b6410049 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -1000,7 +1000,7 @@ function _locale_import_po($file, $langcode, $mode, $group = NULL) {
* @param $group
* Text group to import PO file into (eg. 'default' for interface translations)
*/
-function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL, $group = NULL) {
+function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL, $group = 'default') {
$fd = fopen($file->filepath, "rb"); // File will get closed by PHP on return
if (!$fd) {