Login or Register

RSS IconRecent posts in this topic

avatar
motzel on Nov 15. 2006. 4:37 am
I've just finished a Polish translation (pl_PL) for version 0.7RC2.

I couldn't find an email I could send it to, what is a correct email?

I have to change a few lines of PHP code:

* application/helpers/form.php

Country select hasn't been properly sorted, new select_country_widget function:

function select_country_widget($name, $value, $attributes = null) {
$country_codes = array_keys(CountryCodes::getAll());

foreach($country_codes as $code) {
$option_attributes = $code == $value ? array('selected' => true) : null;
$foo=lang("country $code");
$country_options[$foo] = option_tag($foo, $code, $option_attributes);
} // foreach

ksort($country_options);
$country_options=array_merge(array(option_tag(lang('none'), '')), $country_options);

return select_box($name, $country_options, $attributes);
} // select_country_widget

* views/company/update_permissions.php

line 15 has been changed to: <div class="header"><?php echo lang('hint') ?></div>
and in language/pl_pl/general.php a 'hint' index has been added

avatar Staff
Ilija Studen on Nov 15. 2006. 5:03 am
Send the files to ilija.studen@gmail.com and I'll upload the translation during the day.
activeCollab Team Member | Experiment: activeCollab on Twitter
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic