Bug 339246 - Add translation and hide some widget properties
Summary: Add translation and hide some widget properties
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.9 Alpha
Platform: Other Linux
: NOR normal
Target Milestone: 2.9
Assignee: Michal Poteralski
URL: https://community.kde.org/Kexi/Junior...
Keywords: junior-jobs, usability
Depends on:
Blocks:
 
Reported: 2014-09-20 19:14 UTC by Michal Poteralski
Modified: 2014-11-07 22:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Poteralski 2014-09-20 19:14:28 UTC
It's a junior job described in details here:
https://community.kde.org/Kexi/Junior_Jobs/Add_translation_and_hide_some_widget_properties

Reproducible: Always

Steps to Reproduce:
1. Create a new Form
2. Put insie TextBox and TextEditor element. 

Actual Results:  
In Properties for TextBox are names:
cursorMoveStyle 
paletteBackgroundColor
paletteForegroundColor
placeholderText

Expected Results:  
Should be:
cursorMoveStyle  -- hidden
paletteBackgroundColor -> "Background"
paletteForegroundColor -> "Foreground"
placeholderText -> "Placeholder"
Comment 1 Jarosław Staniek 2014-09-20 19:37:21 UTC
I would propose more strict "Background Color" and "Foreground Color" names. 
(one day we can have pixmap background/foreground and then extra property would be needed)
Comment 2 Jarosław Staniek 2014-09-20 20:36:08 UTC
More info: "Background Color" and "Foreground Color" are consistent with similar report properties.
Comment 3 Michal Poteralski 2014-09-28 19:28:19 UTC
Git commit 3741ff19c048779f9b4bf02835f0013ad295727f by Michal Poteralski.
Committed on 28/09/2014 at 19:20.
Pushed by michalpoteralski into branch 'master'.

Improve widget properties translation and hide appropriate properties.

There are a few issues with translation for widget properties for Forms.
This patch fixes untranslated widget properties and hide properties
which should NOT be visible for a user.
REVIEW:120310

M  +10   -3    kexi/formeditor/form.cpp
M  +1    -0    kexi/formeditor/form.h
M  +5    -0    kexi/formeditor/widgetlibrary.cpp
M  +5    -0    kexi/plugins/forms/kexidbfactory.cpp

http://commits.kde.org/calligra/3741ff19c048779f9b4bf02835f0013ad295727f
Comment 4 Michal Poteralski 2014-09-28 19:46:03 UTC
Git commit 3741ff19c048779f9b4bf02835f0013ad295727f by Michal Poteralski.
Committed on 28/09/2014 at 19:20.
Pushed by michalpoteralski into branch 'master'.

Improve widget properties translation and hide appropriate properties.

There are a few issues with translation for widget properties for Forms.
This patch fixes untranslated widget properties and hide properties
which should NOT be visible for a user.
REVIEW:120310

M  +10   -3    kexi/formeditor/form.cpp
M  +1    -0    kexi/formeditor/form.h
M  +5    -0    kexi/formeditor/widgetlibrary.cpp
M  +5    -0    kexi/plugins/forms/kexidbfactory.cpp

http://commits.kde.org/calligra/3741ff19c048779f9b4bf02835f0013ad295727f
Comment 5 Jarosław Staniek 2014-11-07 22:04:53 UTC
Git commit cd111ef055061a95ba5960ec37ec76d1dd38c706 by Jaroslaw Staniek, on behalf of Michał Poteralski.
Committed on 07/11/2014 at 21:01.
Pushed by staniek into branch 'calligra/2.8'.

Hide some properties appropriate properties that should NOT be visible

backport from calligra 2.9

M  +10   -3    kexi/formeditor/form.cpp
M  +1    -0    kexi/formeditor/form.h
M  +5    -0    kexi/formeditor/widgetlibrary.cpp

http://commits.kde.org/calligra/cd111ef055061a95ba5960ec37ec76d1dd38c706