diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-29 01:22:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-29 01:23:07 +0200 |
commit | c5efda5f4ef983c74068ab39f2eb47292cd7b4e9 (patch) | |
tree | f387bc42f8aac4b77a386aff2439ce8645dd3a28 /doc/translations/sv.po | |
parent | a7a3ff694031d56957274f3a40b7055a0723caf1 (diff) |
i18n: Sync classref translations with Weblate
(cherry picked from commit 37f6fff7ae7b8b5be2dd23f0e7a730e24490c3a7)
Diffstat (limited to 'doc/translations/sv.po')
-rw-r--r-- | doc/translations/sv.po | 202 |
1 files changed, 136 insertions, 66 deletions
diff --git a/doc/translations/sv.po b/doc/translations/sv.po index f6e68b0231..fb7be00495 100644 --- a/doc/translations/sv.po +++ b/doc/translations/sv.po @@ -3324,8 +3324,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5237,8 +5241,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -10357,8 +10364,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12506,14 +12520,15 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12627,9 +12642,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -19591,9 +19611,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -22383,12 +22402,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -28972,9 +28992,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28984,9 +29004,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29119,9 +29139,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29133,9 +29153,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29144,9 +29164,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29496,18 +29516,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29516,9 +29536,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29530,9 +29550,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29563,9 +29583,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30095,9 +30115,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33933,6 +33953,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36385,12 +36438,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37097,7 +37150,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37693,7 +37754,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -42937,7 +43004,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -55861,8 +55931,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" |