Text inside images breaks translations

Bug #812147 reported by Dominique-Alain JAN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Medium
Unassigned

Bug Description

It seems to me that the two buttons, "Add" and "Remove" (a column), which appears when editing a Page, are hard coded and can't be translated in different languages.

Agree or dissagree?

Mahara 1.4 and above

Tags: translations
Revision history for this message
Hugh Davenport (hugh-davenport) wrote : Re: [Mahara-core] [Bug 812147] [NEW] Add and Remove button can't be translated

Hi Dominique,

Where abouts do you see the Add and Remove buttons, what page?

What theme are you using?

I have tried on edit.php, layout.php and blocks.php but can't seem to
find the buttons you are talking about.

Cheers,

Hugh

On 18/07/11 19:18, Dominique-Alain JAN wrote:
> Public bug reported:
>
> It seems to me that the two buttons, "Add" and "Remove" (a column),
> which appears when editing a Page, are hard coded and can't be
> translated in different languages.
>
> Agree or dissagree?
>
> Mahara 1.4 and above
>
> ** Affects: mahara
> Importance: Undecided
> Status: New
>

--
Hugh Davenport
803 2258
Developer
Catalyst Ltd.

Revision history for this message
Dominique-Alain JAN (dajan) wrote : Re: Add and Remove button can't be translated

Hello,

You may first activate the option in:

Settings->Show controls to add and remove columns when editing a page

Then when you edit a page you can Add or Remove a column directly in clicking on buttons. These buttons' title doesn't come from the en.utf8 langugage file, so they can't be translated.

The buttons are in

     theme/raw/static/images/btn_removecolumn.png
     theme/raw/static/images/btn_addcolumn_left.png
     theme/raw/static/images/btn_addcolumn_right.png

HTH

Cheers,
-dajan

Revision history for this message
Hugh Davenport (hugh-davenport) wrote : Re: [Mahara-core] [Bug 812147] Re: Add and Remove button can't be translated

Ah I see, you are correct, doesn't seem to be translatable, as it is an
image, not a language string.

Cheers,

Hugh
 status verified

On 19/07/11 10:25, Dominique-Alain JAN wrote:
> Hello,
>
> You may first activate the option in:
>
> Settings->Show controls to add and remove columns when editing a page
>
> Then when you edit a page you can Add or Remove a column directly in
> clicking on buttons. These buttons' title doesn't come from the en.utf8
> langugage file, so they can't be translated.
>
> The buttons are in
>
> theme/raw/static/images/btn_removecolumn.png
> theme/raw/static/images/btn_addcolumn_left.png
> theme/raw/static/images/btn_addcolumn_right.png
>
> HTH
>
> Cheers,
> -dajan
>

--
Hugh Davenport
803 2258
Developer
Catalyst Ltd.

Revision history for this message
Hugh Davenport (hugh-davenport) wrote : Re: Add and Remove button can't be translated

 status confirmed

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

 importance triaged

Changed in mahara:
status: New → Confirmed
Revision history for this message
Dominique-Alain JAN (dajan) wrote : Re: Add and Remove button can't be translated

Is this your final answer?

Because, it is the only one thing in Mahara which is english-hard-coded. Could you maybe find another way of doing it, in future releases?

Changed in mahara:
importance: Undecided → Low
tags: added: translations
summary: - Add and Remove button can't be translated
+ Text inside images breaks translations
Changed in mahara:
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.