Feed Advanced Search

Jul 29 2018

aacid added a comment to D14177: Fix drag'n'drop behavior within the Target area.

I would feel more safe if you initialized m_cursorSelectionStart and m_cursorSelectionEnd to 0 in the constructor

Jul 29 2018, 9:36 PM · Localization
aacid accepted D14311: Add a project configuration menu entry for the Word Wrap feature.
Jul 29 2018, 9:31 PM · Localization

Jul 27 2018

sdepiets added a comment to D14177: Fix drag'n'drop behavior within the Target area.

I'll push this next week if there is no additional comments

Jul 27 2018, 2:14 AM · Localization
sdepiets added a comment to D14311: Add a project configuration menu entry for the Word Wrap feature.

I'll push this next week if there is no additional comments

Jul 27 2018, 2:14 AM · Localization
sdepiets closed D14219: Add a feature to hide translated files on the Project tab.
Jul 27 2018, 2:14 AM · Localization

Jul 26 2018

aacid accepted D14219: Add a feature to hide translated files on the Project tab.

Should the state of the action be remembered between runs?

I didn't plan that, the quick search project field isn't saved between runs.
Performance wise it would not change anything to launch the program with the filter on.

Jul 26 2018, 5:21 PM · Localization

Jul 25 2018

sdepiets added a comment to D14321: Allow lokalize to build on Windows with craft.

Yes I'm working on having the craft blueprint integrated. https://phabricator.kde.org/D14322
Once it's done I'll get in touch with the binary team to have it in the CI tools.

Jul 25 2018, 7:57 AM · Localization
sdepiets added a comment to D14219: Add a feature to hide translated files on the Project tab.

Should the state of the action be remembered between runs?

Jul 25 2018, 6:18 AM · Localization
sdepiets added a comment to D14321: Allow lokalize to build on Windows with craft.

Yes I'm working on having the craft blueprint integrated. https://phabricator.kde.org/D14322
Once it's done I'll get in touch with the binary team to have it in the CI tools.

Jul 25 2018, 4:08 AM · Localization
sdepiets closed D14321: Allow lokalize to build on Windows with craft.
Jul 25 2018, 2:23 AM · Localization

Jul 24 2018

aacid added a comment to D14219: Add a feature to hide translated files on the Project tab.

Should the state of the action be remembered between runs?

Jul 24 2018, 10:21 PM · Localization
aacid accepted D14321: Allow lokalize to build on Windows with craft.

If it works, sure let's go for it.

Jul 24 2018, 7:24 PM · Localization
sdepiets added a project to D14321: Allow lokalize to build on Windows with craft: Localization.
Jul 24 2018, 2:51 PM · Localization
sdepiets added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 24 2018, 6:19 AM · Localization
sdepiets updated the diff for D14219: Add a feature to hide translated files on the Project tab.

Change of tooltip/menuitem text

Jul 24 2018, 6:18 AM · Localization
adrianchavesfernandez added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 24 2018, 5:46 AM · Localization
sdepiets added a project to D14311: Add a project configuration menu entry for the Word Wrap feature: Localization.
Jul 24 2018, 3:27 AM · Localization
sdepiets added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 24 2018, 1:37 AM · Localization
sdepiets updated the diff for D14219: Add a feature to hide translated files on the Project tab.

Add tooltip and move menu item to settings

Jul 24 2018, 1:34 AM · Localization

Jul 23 2018

aacid added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 23 2018, 6:29 PM · Localization
sdepiets added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 23 2018, 2:00 PM · Localization
sdepiets added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 23 2018, 2:00 PM · Localization
aacid added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 23 2018, 1:58 PM · Localization
schwarzer added a comment to D14219: Add a feature to hide translated files on the Project tab.

Thanks indeed. Very useful! :)

Jul 23 2018, 12:33 PM · Localization
huftis accepted D14219: Add a feature to hide translated files on the Project tab.

I have done some testing, and the patch seems to work fine. Thanks for adding this very useful feature!

Jul 23 2018, 11:24 AM · Localization
sdepiets updated the diff for D14219: Add a feature to hide translated files on the Project tab.

Add an icon for the menu entry

Jul 23 2018, 2:20 AM · Localization
sdepiets updated the summary of D14219: Add a feature to hide translated files on the Project tab.
Jul 23 2018, 1:09 AM · Localization

Jul 22 2018

huftis added a comment to D14219: Add a feature to hide translated files on the Project tab.

Also make sure to mention bug #224179 in the revision summary, so that it will automatically be closed when you commit the revision. See https://community.kde.org/Infrastructure/Phabricator#Add_special_keywords for instructions.

Jul 22 2018, 8:42 AM · Localization
huftis requested changes to D14219: Add a feature to hide translated files on the Project tab.

The patch adds a toolbar item, but it’s missing an icon. Could you add one? I think the one named hide_table_row will work well.

Jul 22 2018, 8:28 AM · Localization

Jul 21 2018

sdepiets closed D14151: Allow Ctrl+Wheel to zoom in/out on the target text.
Jul 21 2018, 11:25 PM · Localization
sdepiets updated the diff for D14219: Add a feature to hide translated files on the Project tab.

Style and invalidateFilter call fix

Jul 21 2018, 11:22 PM · Localization
aacid accepted D14151: Allow Ctrl+Wheel to zoom in/out on the target text.

I think this is fine, if we let people zoom on the top area, we should let people zoom on the zoom one, but i agree with Safa this is not the actual fix for bug 375251

Jul 21 2018, 7:11 PM · Localization
aacid added inline comments to D14219: Add a feature to hide translated files on the Project tab.
Jul 21 2018, 4:31 PM · Localization

Jul 19 2018

sdepiets updated the diff for D14219: Add a feature to hide translated files on the Project tab.

Changes based on inline comments

Jul 19 2018, 6:04 AM · Localization
mlaurent requested changes to D14219: Add a feature to hide translated files on the Project tab.
Jul 19 2018, 5:48 AM · Localization
sdepiets added a project to D14219: Add a feature to hide translated files on the Project tab: Localization.
Jul 19 2018, 2:21 AM · Localization

Jul 18 2018

aacid updated subscribers of D13219: Locale-aware formatting of numbers on status bar.

Adding @kossebau since he had at some point of history a patch for fixing this at the ki18n level. Friedrich can you comment on it?

Jul 18 2018, 10:52 PM · Localization

Jul 17 2018

huftis updated the summary of D13219: Locale-aware formatting of numbers on status bar.
Jul 17 2018, 8:24 AM · Localization
huftis updated the diff for D13219: Locale-aware formatting of numbers on status bar.

Rebasing on Applications/18.08

Jul 17 2018, 8:23 AM · Localization
sdepiets added a project to D14177: Fix drag'n'drop behavior within the Target area: Localization.
Jul 17 2018, 6:15 AM · Localization
sdepiets added a member for Localization: sdepiets.
Jul 17 2018, 3:11 AM
sdepiets added a comment to D14151: Allow Ctrl+Wheel to zoom in/out on the target text.

I agree this is suboptimal but it doesn't require the font selection (it's only the zoom).
I can find some use cases, especially with oriental languages, where you might prefer having different sizes for your English source and your local contents so it can still help.

Jul 17 2018, 1:01 AM · Localization

Jul 16 2018

huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.
Jul 16 2018, 7:58 PM · Localization
safaalfulaij added a comment to D14151: Allow Ctrl+Wheel to zoom in/out on the target text.

Thank you!
I see the problem you are solving, but this is a less optimal solution.
This way the user must change the size with every launch of the app, and this is if he knows how to :) (no to mention he should change the size of both the boxes to match, or it will be ugly looking)
A solution that is used in Linux version is much better (a font setting)

Jul 16 2018, 8:50 AM · Localization
sdepiets updated the diff for D14151: Allow Ctrl+Wheel to zoom in/out on the target text.

Fix tab and replace by spaces

Jul 16 2018, 7:35 AM · Localization
sdepiets added a project to D14151: Allow Ctrl+Wheel to zoom in/out on the target text: Localization.
Jul 16 2018, 7:32 AM · Localization

Jul 14 2018

safaalfulaij added a comment to T8984: Enclosing placeholders by isolation characters.

Do you mean that those markers are needed anytime there is a mixed string with a translated part (which could be LTR or RTL) and a fixed part which has always the same direction?

Jul 14 2018, 1:57 PM · Localization
ltoscano added a comment to T8984: Enclosing placeholders by isolation characters.

First, sorry for any language mistakes.

FWIW, I’m not sure I understand all the implications, but I think this sounds like a good idea. But I have two questions:

  • Will these characters also be needed for LTR languages?

In some cases, yes they will be needed. Take this PR as an example, the same issue is with Dolphin:

Jul 14 2018, 1:20 PM · Localization
safaalfulaij added a comment to T8984: Enclosing placeholders by isolation characters.

First, sorry for any language mistakes.

Jul 14 2018, 1:10 PM · Localization

Jul 13 2018

huftis added a comment to T8984: Enclosing placeholders by isolation characters.

Well, I said the same way we'll do it for the formatting, so if we'll go with “all placeholders are locale-formatted”, then we'll go with “all placeholders are enclosed with isolation characters” :)
I'm with you that it's better to not let translators struggle with it, and make it the “by default” thing.

Jul 13 2018, 5:55 PM · Localization
sdepiets added a watcher for Localization: sdepiets.
Jul 13 2018, 5:46 AM

Jul 12 2018

huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.

In https://git.reviewboard.kde.org/r/127800/, @ilic wrote:

Jul 12 2018, 2:18 PM · Localization

Jul 3 2018

michaldybczak added a watcher for Localization: michaldybczak.
Jul 3 2018, 4:56 PM

Jun 19 2018

aacid added a comment to D10009: Improvements for Gettext entries wordwrapping.

This is a change that would greatly benefit from an auto test, sadly we don't have to have any in lokalize.

Jun 19 2018, 9:46 PM

Jun 15 2018

huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.
Jun 15 2018, 6:32 PM · Localization
ltoscano added a comment to D13219: Locale-aware formatting of numbers on status bar.

I’m actually not sure how KDE’s i18n stuff is actually supposed to work now. The official(?) tutorial at https://techbase.kde.org/Development/Tutorials/Localization/i18n seems severely outdated (e.g., it talks a lot about KLocale stuff).

Jun 15 2018, 5:56 PM · Localization
huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.

I'm not too thrilled about this to be honest, seems that this is something i18n should be doing by default, pinging @ilic to see what he would think about fixing/expanding ki18n to do "the right thing" by default

Jun 15 2018, 5:17 PM · Localization

Jun 13 2018

safaalfulaij added a comment to T8984: Enclosing placeholders by isolation characters.
In T8984#147453, @aacid wrote:

I already disagreed that method is the correct solution, so no it's not "the same way"

Jun 13 2018, 10:20 PM · Localization
aacid added a comment to T8984: Enclosing placeholders by isolation characters.

I already disagreed that method is the correct solution, so no it's not "the same way"

Jun 13 2018, 10:01 PM · Localization
safaalfulaij added a comment to T8984: Enclosing placeholders by isolation characters.
In T8984#147444, @aacid wrote:

You mean changing every single i18n() call that uses a placeholder? or something else?

Jun 13 2018, 9:32 PM · Localization
aacid added a comment to T8984: Enclosing placeholders by isolation characters.

I would like to discuss if we should enclose every placeholder used in KI18n with the two isolation characters

Jun 13 2018, 9:10 PM · Localization
meskobalazs added a comment to D10009: Improvements for Gettext entries wordwrapping.

I'm going to add a Needs changes here to remind myself to review this, given that meskobalazs is not a kde/lokalize developer i don't think it was a good idea of him marking this as accepted.

Jun 13 2018, 1:53 PM

Jun 11 2018

huftis closed D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.

Closed by https://commits.kde.org/lokalize/c1fd23b55999974e50cfda299c55753796f81f31. (I don’t know why arc land didn’t close this automatically.)

Jun 11 2018, 6:25 PM · Localization

Jun 9 2018

safaalfulaij created T8984: Enclosing placeholders by isolation characters.
Jun 9 2018, 4:56 PM · Localization

Jun 8 2018

huftis added a comment to D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.

Maybe give it a few days before pushing in case someone objects or finds a better name for Incomplete.

Jun 8 2018, 6:40 PM · Localization
aacid accepted D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.

I'm not convinced "Incomplete" is the best name, but people will understand what it means quickly so i think this can go in.

Jun 8 2018, 6:22 PM · Localization
adrianchavesfernandez added a comment to D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.
Jun 8 2018, 5:15 AM · Localization
huftis updated the diff for D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.

I’ve now (hopefully) changed this to land on master
instead of stable.

Jun 8 2018, 5:03 AM · Localization

Jun 7 2018

aacid added a comment to D13411: Show number of incomplete (fuzzy + untranslated) strings in project view.

You can't add new features to a stable branch

Jun 7 2018, 9:27 PM · Localization
huftis updated subscribers of D13219: Locale-aware formatting of numbers on status bar.
Jun 7 2018, 5:49 PM · Localization
huftis added a project to D13411: Show number of incomplete (fuzzy + untranslated) strings in project view: Localization.
Jun 7 2018, 5:39 PM · Localization

Jun 5 2018

safaalfulaij added a comment to D13219: Locale-aware formatting of numbers on status bar.
Jun 5 2018, 2:17 PM · Localization

Jun 3 2018

aacid added a comment to D13219: Locale-aware formatting of numbers on status bar.
Jun 3 2018, 9:07 PM · Localization
safaalfulaij added a comment to D13219: Locale-aware formatting of numbers on status bar.

Just saying... :)

Jun 3 2018, 5:13 PM · Localization
aacid added a comment to D13219: Locale-aware formatting of numbers on status bar.

But 2018 is not a number, it's a year ;)

Jun 3 2018, 4:59 PM · Localization

May 31 2018

safaalfulaij added a comment to D13098: Right-align all translation count columns in Project Overview.

Thank you. lokalize --reverse works for me. I’ve now modified the behaviour so that the numeric columns are right-aligned for *both* RTL and LTR languages: https://cgit.kde.org/lokalize.git/commit/?id=83590be3996e2c2013f69ce8a850f508c4db9d53

May 31 2018, 4:53 PM · Localization
huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.

I'm not too thrilled about this to be honest, seems that this is something i18n should be doing by default […]

May 31 2018, 5:22 AM · Localization

May 30 2018

aacid updated subscribers of D13219: Locale-aware formatting of numbers on status bar.

I'm not too thrilled about this to be honest, seems that this is something i18n should be doing by default, pinging @ilic to see what he would think about fixing/expanding ki18n to do "the right thing" by default

May 30 2018, 10:30 PM · Localization
huftis updated the test plan for D13219: Locale-aware formatting of numbers on status bar.
May 30 2018, 5:32 PM · Localization
huftis added a comment to D13219: Locale-aware formatting of numbers on status bar.

Note that I’ve tried making a similar change for the numeric columns in the table in the project view, but this broke sorting (and I don’t know how to fix it), so it’s not included in this patch.

May 30 2018, 5:14 PM · Localization
huftis added a project to D13219: Locale-aware formatting of numbers on status bar: Localization.
May 30 2018, 5:11 PM · Localization
huftis added a comment to D13098: Right-align all translation count columns in Project Overview.

I get some Arabic-looking digits in the four translation count columns, but they are left-aligned (before the patch). But they should be right-aligned?

I'm not entirely sure how this works for English base system.
Normally you would do lokalize --reverse and check the RTL layout. This should keep everything in English but simulate a RTL language being used.

May 30 2018, 3:53 PM · Localization
safaalfulaij added a comment to D13098: Right-align all translation count columns in Project Overview.

Hm, I’m trying to test this, but I’m not sure how I can get a RTL layout. If I run

LC_ALL=ar_en.UTF-8 lokalize

I get some Arabic-looking digits in the four translation count columns, but they are left-aligned (before the patch). But they should be right-aligned?

May 30 2018, 6:13 AM · Localization

May 29 2018

huftis added a comment to D13098: Right-align all translation count columns in Project Overview.

Sorry for reaching late.
This is a nice imporovment, it just needs one bit to work with RTL layouts as well :)
Right now, and before this patch, it's being displayed correctly (aligned to right).

May 29 2018, 7:17 PM · Localization
safaalfulaij added a comment to D13098: Right-align all translation count columns in Project Overview.

Sorry for reaching late.
This is a nice imporovment, it just needs one bit to work with RTL layouts as well :)
Right now, and before this patch, it's being displayed correctly (aligned to right).

May 29 2018, 7:04 AM · Localization

May 28 2018

huftis closed D13098: Right-align all translation count columns in Project Overview.
May 28 2018, 8:16 PM · Localization

May 27 2018

aacid accepted D13098: Right-align all translation count columns in Project Overview.
May 27 2018, 3:36 PM · Localization
huftis added a reviewer for D13098: Right-align all translation count columns in Project Overview: Localization.
May 27 2018, 12:52 PM · Localization
huftis updated the diff for D13098: Right-align all translation count columns in Project Overview.

I’ve used @aacid’s suggestion, and now ProjectModel::data() calls ProjectModel::headerData(), to ensure that the column alignment is consistent between column headers and column data.

May 27 2018, 12:37 PM · Localization

May 24 2018

aacid added a comment to D13098: Right-align all translation count columns in Project Overview.

Looks good to me, if you want to make sure header and data alignment is the same maybe you can find a way to only have one switch instead of two (i.e. make data call headerData or viceversa or make them both call a new function) that way we enforce they're the same.

May 24 2018, 8:04 PM · Localization
huftis added a reviewer for D13098: Right-align all translation count columns in Project Overview: aacid.
May 24 2018, 6:52 PM · Localization
ngraham added a comment to D13098: Right-align all translation count columns in Project Overview.

Oh haha! Sounds like you're the alignment expert. UI looks good to me.

May 24 2018, 6:42 PM · Localization
huftis added a comment to D13098: Right-align all translation count columns in Project Overview.

Column data itself looks much improved!

However, this makes the headers themselves inconsistently aligned, which will lead to bug reports of another sort (see for example https://bugs.kde.org/show_bug.cgi?id=394467). Perhaps we should also center-align all the header titles, as with the fix for that bug?

May 24 2018, 6:39 PM · Localization
ngraham added a comment to D13098: Right-align all translation count columns in Project Overview.

Column data itself looks much improved!

May 24 2018, 6:29 PM · Localization
sharvey added reviewers for D13098: Right-align all translation count columns in Project Overview: sharvey, ngraham.
May 24 2018, 6:19 PM · Localization
huftis added a comment to D13098: Right-align all translation count columns in Project Overview.

Screenshot of the UI before the patch:

May 24 2018, 5:51 PM · Localization
huftis requested review of D13098: Right-align all translation count columns in Project Overview.
May 24 2018, 5:48 PM · Localization

May 20 2018

aacid requested changes to D10009: Improvements for Gettext entries wordwrapping.

I'm going to add a Needs changes here to remind myself to review this, given that meskobalazs is not a kde/lokalize developer i don't think it was a good idea of him marking this as accepted.

May 20 2018, 9:45 PM

Apr 20 2018

kossebau closed D12137: Use consistent spacing and units for suffixes in spinboxes.
Apr 20 2018, 6:21 PM · Localization, Plasma
aacid added a comment to D12137: Use consistent spacing and units for suffixes in spinboxes.

yeah i think that's easier to understand

Apr 20 2018, 5:35 PM · Localization, Plasma