#
d110ee8c |
|
16-Jul-2023 |
Joachim Mairböck <j.mairboeck@gmail.com> |
Icon-O-Matic: properly pluralize command names using BStringFormat There are languages which have different plural forms than singular for one and plural for everything else, and even if the number is not shown, having the correct form looks nicer. For NudgePointsCommand a helper function was introduced because there the name is given as a constructor parameter. Change-Id: I19a4984cf83af6612f2eafbf0920c9ad947d52ce Reviewed-on: https://review.haiku-os.org/c/haiku/+/6703 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
64279352 |
|
22-Jun-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Generalize some classes * Turns PathContainer, ShapeContainer, StyleContainer into Container. * Makes Shape use Container for storing Tansformers instead of reinventing the wheel yet again. * Moves common logic from AddPathsCommand, AddStylesCommand, AddShapesCommand, and AddTransformersCommand to AddCommand. * Factors out common logic from two more commands similar to above. This adds the MoveCommand and RemoveCommand classes. * Cleans up some code style. Change-Id: I59eca94a1c45eac608514f269f6e5f8628f93fab Reviewed-on: https://review.haiku-os.org/c/haiku/+/6640 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|