https://bugs.kde.org/show_bug.cgi?id=439257
Bug ID: 439257 Summary: Probably strings that need fixing Product: SeExpr Version: unspecified Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: Translations Assignee: krita-bugs-n...@kde.org Reporter: al...@alvinhc.com Target Milestone: --- - KSeExpr/ExprBuiltins.cpp:30 float deg(float angle)\n radians to degrees - KSeExpr/ExprBuiltins.cpp:31 float deg(float angle)\n degrees to radians > One of these two are wrong - KSeExpr/ExprBuiltins.cpp:68 float pow(float x)\n x to the y power, also available as ^ > missing y in args - KSeExpr/ExprBuiltins.cpp:124 float contrast(float x,float x)\n Adjust the contrast. For c from 0 to 0.5, the contrast is decreased. For c > 0.5, the contrast is increased. > duplicated args, missing c - KSeExpr/ExprBuiltins.cpp:143 float linearstep(float x,float a,float b)\n if x < a then 0, if x > b then 1, and\n x transitions linearly when < x < b > "when < x < b" => "when a < x < b" - KSeExpr/ExprBuiltins.cpp:820 float fbm4(vector v,float time,int octaves=6,float lacunarity=2,float gain=.5)\n fbm (Fractal Brownian Motion) is a multi-frequency noise function. \n The base frequency is the same as the "noise" function. The total \n number of frequencies is controlled by octaves. The lacunarity is the \n spacing between the frequencies - a value of 2 means each octave is \n twice the previous frequency. The gain< controls how much each \n frequency is scaled relative to the previous frequency. > Extra `<`? "The gain< controls" - KSeExpr/ExprBuiltins.cpp:1487 float wchoose(float index,float choice1, float weight1, float choice2, float weight2, [...] )\n Chooses one of the supplied choices based on the index (assumed to be in range[0..1]).\n The values will be distributed according to the supplied weights. > missing space in "range[0..1]" - KSeExpr/ExprBuiltins.cpp:1509 float spline(float param,float y1,float y2,float y3,float y4,[...])\n \n Interpolates a set of values to the parameter specified where y1, ..., yn are\n distributed evenly from [0...1] > extra dot in range - KSeExpr/ExprBuiltins.cpp:1577 float curve(float param,float pos0,float val0,int interp0,float pos1,float val1,int interp1,[...])\n \n Interpolates a 1D ramp defined by control points at 'param'. Control points are specified \n by triples of parameters pos_i, val_i, and interp_i. Interpolation codes are \n 0 - none, 1 - linear, 2 - smooth, 3 - spline, \n 4-monotone (non oscillating spline) > missing spaces in "4-monotone" -- You are receiving this mail because: You are watching all bug changes.