On Fri, Mar 21, 2014 at 6:05 PM, Caolán McNamara <caolanm@redhat.com> wrote:
On Thu, 2014-03-20 at 21:43 +0100, Andras Timar wrote:
Hi Caolan,
In sd/uiconfig/simpress/ui/slidetransitionspanel.ui I found a new
property type: <property name="format">sec</property>. On UI it shows
as 0.00sec. I wonder, if it is translatable, and if not, how can we
make it translatable. I'm asking, because a few lines earlier there
was <object class="GtkSpinButton" id="auto_after_value:0sec">, which
suggests that "sec" is hardcoded.
How about now after 3b1cca8c547ce53b2af29b3edecc22c7694a0621 ?
The "format" attribute was an idea I was playing around with at the
start of widget layout but abandoned in favor of the :unit hack, but its
use crept back in with 78ff9d90f2a74792c437087ede11559c111c5c98. AFAICS
that is the only .ui that used the format attribute so I've removed
support for the attribute now.
The unit hack (unlike format) detects :sec and set FUNIT_SECOND and that
should go through the correct "get seconds translation" route already.
Sounds great, thanks!
Andras
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.