History log of /haiku/src/preferences/shortcuts/ShortcutsSpec.cpp
Revision Date Author Comments
# 387609c3 10-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

shortcuts: Remove #if __INTEL__.

This isn't true on x86_64 (so we were displaying the wrong key names there).
The actual names of the keys should probably be fetched from the selected
keyboard.


# bc622f6b 15-Oct-2018 Humdinger <humdingerb@gmail.com>

Fix missing localization

This addresses some of what's reported in ticket #14637.

* Keymap preferences: Localize key labels. Translators have
to be careful not too use too long words here...

* Media preferences: Fix typo "SoundFonts" -> "SoundFont"
The two popup menus, Video input/output, both use "<none>",
which when the catkeys are collected is reduced to one item.
Apparently, Italian likes to have different tranlsations for
them. I hope to fix that by using B_TRANSLATE_COMMENT with
differing comments. Not sure if that'll work...

* Network preferences: Localize "on/off" and "Enable/Disable"
in the Services.

* Repositories preferences:
Add RepoRow.cpp to DoCatalogs.

* Shortcuts preferences: Localize "Left/Right/Both/Either/None"

* Bluetooth replicant: Localize menu items and alerts.

* DeskCalc: Localize button names.

* HaikuDepot:
- Use BStringFormat and variables to replace for the WorkStatusView.
- Put package name in single quotes; nicer if you have package names
with spaces.
- Avoid leading and trailing spaces in translatable strings. Those
can be overlooked b the translator.
- Use B_UTF8_ELLIPSIS instead of "...".

Change-Id: Ia32908f9faad5188aa87c918c31229277decbda9
Reviewed-on: https://review.haiku-os.org/631
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 617096a4 12-Feb-2015 Josef Gajdusek <atx@atalax.net>

Shortcuts: don't store the contents of the columns in the settings file.

Fixes #11820 and #11849.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 149ce46d 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Update Shortcuts to use standard ColumnListView

Patch by atalax (GCI2014)

There are some useability changes because our CLV isn't as flexible as
the Santa's Gift Bag one.

Fixes #11007.


# b42302c5 20-Jan-2014 John Scipione <jscipione@gmail.com>

Shortcuts: Big style refactor

Update the style of this preference app to match Haiku’s coding guidelines.
Since this app used a completely different style this is a big commit, but,
there should be no behavioral changes.

Style changes include but are not limited to:
* private member variables use fMemberVariable style
* local variables and public member variables use camelCase style
* compare pointers to NULL explicitly
* compare integers against 0 explicitly
* always flank binary operators with spaces such as + - , / *
* pointer goes with type, not value or flanked by spaces
* lots of variable renaming especially for abbreviations
* comments start with a leading space, prefer lowercase unless full sentence
* space after keywords such as if and for and { and } on same line
* multi-line if statement style fixes
* remove trailing spaces
* 80 char fixes
* ... and many more, and I'm sure I missed some.

Add/update copyright headers giving credit where due, obviously this code
can’t be copyright Haiku, Inc. from 1999 since Haiku, Inc. didn’t exist
so this change attributes copyright to Jeremy Friesner from 1999-2009 and
Haiku, Inc. from 2009 onwards matching the long description of the rdef file.

Added myself to the authors section of the files in the clv directory.


# 0bbc331f 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

ShorcutsPreferences: fixes 64 bit warnings


# 76f3378c 20-Jan-2013 Humdinger <humdingerb@gmail.com>

Renamed "Windows" to "Option" in Shortcuts GUI (#9391)

Correctly named it "Option" key as everwhere else in Haiku.
Thanks mks for pointing it out.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# ce59b51c 02-Jul-2011 Rene Gollent <anevilyak@gmail.com>

Applied patch by Brian Luft to clean up the shortcuts GUI and bring it more
into HIG compliance. Resolves part of #5420. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42363 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5788aadf 16-Feb-2011 Jérôme Duval <korli@users.berlios.de>

* Patch from diver: use vector icons in ColumnListView
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 529fd9af 17-Aug-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fixed all warnings in Shortcuts preflet and enabled -Werror for it

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38186 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3672a07e 16-May-2010 Stephan Aßmus <superstippi@gmx.de>

Localization of Shortcuts based on a patch by Jorma Karvonen (ticket #5857),
thanks! I've tested the application, and it works (as bad) as before. To note
would be the possibility that custom actions may stop working when switching
the system to another language after configuring them. Don't know if I
concluded this potential problem from the code correctly, or if translated
strings are actually not stored with a KeySet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36840 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa1ee6d4 15-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Clean-up

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34059 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c333678 30-Oct-2009 Fredrik Modeen <fredrik@modeen.se>

So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This are the app, I havn't change the file in clv those are from Santa gift bag

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 617096a4974fcaf1ac8b3448d03ae3f3059827fe 12-Feb-2015 Josef Gajdusek <atx@atalax.net>

Shortcuts: don't store the contents of the columns in the settings file.

Fixes #11820 and #11849.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 149ce46d14fb60917b78e8f02343112f0ba96978 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Update Shortcuts to use standard ColumnListView

Patch by atalax (GCI2014)

There are some useability changes because our CLV isn't as flexible as
the Santa's Gift Bag one.

Fixes #11007.


# b42302c5d343ffce4d7ed87bed26e7ffcabce1ae 20-Jan-2014 John Scipione <jscipione@gmail.com>

Shortcuts: Big style refactor

Update the style of this preference app to match Haiku’s coding guidelines.
Since this app used a completely different style this is a big commit, but,
there should be no behavioral changes.

Style changes include but are not limited to:
* private member variables use fMemberVariable style
* local variables and public member variables use camelCase style
* compare pointers to NULL explicitly
* compare integers against 0 explicitly
* always flank binary operators with spaces such as + - , / *
* pointer goes with type, not value or flanked by spaces
* lots of variable renaming especially for abbreviations
* comments start with a leading space, prefer lowercase unless full sentence
* space after keywords such as if and for and { and } on same line
* multi-line if statement style fixes
* remove trailing spaces
* 80 char fixes
* ... and many more, and I'm sure I missed some.

Add/update copyright headers giving credit where due, obviously this code
can’t be copyright Haiku, Inc. from 1999 since Haiku, Inc. didn’t exist
so this change attributes copyright to Jeremy Friesner from 1999-2009 and
Haiku, Inc. from 2009 onwards matching the long description of the rdef file.

Added myself to the authors section of the files in the clv directory.


# 0bbc331f6b5a56c98243fcf9c1f2dadff4450b9f 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

ShorcutsPreferences: fixes 64 bit warnings


# 76f3378cd07390fcaaa15346c24405fab16f74ea 20-Jan-2013 Humdinger <humdingerb@gmail.com>

Renamed "Windows" to "Option" in Shortcuts GUI (#9391)

Correctly named it "Option" key as everwhere else in Haiku.
Thanks mks for pointing it out.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# ce59b51ce35154b2c06759bfb1a43beffc68a100 02-Jul-2011 Rene Gollent <anevilyak@gmail.com>

Applied patch by Brian Luft to clean up the shortcuts GUI and bring it more
into HIG compliance. Resolves part of #5420. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42363 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5788aadfe3b7a2fb2d97a77158ca3104991274c3 16-Feb-2011 Jérôme Duval <korli@users.berlios.de>

* Patch from diver: use vector icons in ColumnListView
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 529fd9af5da4e9a664a34db1b60c5e816c4e4799 17-Aug-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fixed all warnings in Shortcuts preflet and enabled -Werror for it

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38186 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3672a07ec16784e41fe56eeaa558095bc2befc02 16-May-2010 Stephan Aßmus <superstippi@gmx.de>

Localization of Shortcuts based on a patch by Jorma Karvonen (ticket #5857),
thanks! I've tested the application, and it works (as bad) as before. To note
would be the possibility that custom actions may stop working when switching
the system to another language after configuring them. Don't know if I
concluded this potential problem from the code correctly, or if translated
strings are actually not stored with a KeySet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36840 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa1ee6d4d1c15a655d7d5877f88f7e397be16bb7 15-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Clean-up

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34059 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c3336782537a5618a4234cfb56e3b17dfee0f72 30-Oct-2009 Fredrik Modeen <fredrik@modeen.se>

So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This are the app, I havn't change the file in clv those are from Santa gift bag

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33848 a95241bf-73f2-0310-859d-f6bbb57e9c96