cleaning up the git

This commit is contained in:
Raziel K. Crowe 2022-04-02 18:24:21 +05:00
parent bddd2b82f7
commit 2a76020689
25876 changed files with 9410372 additions and 0 deletions

561
.clang-format Normal file
View File

@ -0,0 +1,561 @@
# SPDX-License-Identifier: GPL-2.0
#
# clang-format configuration file. Intended for clang-format >= 4.
#
# For more information, see:
#
# Documentation/process/clang-format.rst
# https://clang.llvm.org/docs/ClangFormat.html
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
#
---
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
#AlignEscapedNewlines: Left # Unknown to clang-format-4.0
AlignOperands: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
#AfterExternBlock: false # Unknown to clang-format-5.0
BeforeCatch: false
BeforeElse: false
IndentBraces: false
#SplitEmptyFunction: true # Unknown to clang-format-4.0
#SplitEmptyRecord: true # Unknown to clang-format-4.0
#SplitEmptyNamespace: true # Unknown to clang-format-4.0
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
#BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
#CompactNamespaces: false # Unknown to clang-format-4.0
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
#FixNamespaceComments: false # Unknown to clang-format-4.0
# Taken from:
# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ \
# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \
# | sort | uniq
ForEachMacros:
- 'apei_estatus_for_each_section'
- 'ata_for_each_dev'
- 'ata_for_each_link'
- '__ata_qc_for_each'
- 'ata_qc_for_each'
- 'ata_qc_for_each_raw'
- 'ata_qc_for_each_with_internal'
- 'ax25_for_each'
- 'ax25_uid_for_each'
- '__bio_for_each_bvec'
- 'bio_for_each_bvec'
- 'bio_for_each_bvec_all'
- 'bio_for_each_integrity_vec'
- '__bio_for_each_segment'
- 'bio_for_each_segment'
- 'bio_for_each_segment_all'
- 'bio_list_for_each'
- 'bip_for_each_vec'
- 'bitmap_for_each_clear_region'
- 'bitmap_for_each_set_region'
- 'blkg_for_each_descendant_post'
- 'blkg_for_each_descendant_pre'
- 'blk_queue_for_each_rl'
- 'bond_for_each_slave'
- 'bond_for_each_slave_rcu'
- 'bpf_for_each_spilled_reg'
- 'btree_for_each_safe128'
- 'btree_for_each_safe32'
- 'btree_for_each_safe64'
- 'btree_for_each_safel'
- 'card_for_each_dev'
- 'cgroup_taskset_for_each'
- 'cgroup_taskset_for_each_leader'
- 'cpufreq_for_each_entry'
- 'cpufreq_for_each_entry_idx'
- 'cpufreq_for_each_valid_entry'
- 'cpufreq_for_each_valid_entry_idx'
- 'css_for_each_child'
- 'css_for_each_descendant_post'
- 'css_for_each_descendant_pre'
- 'device_for_each_child_node'
- 'displayid_iter_for_each'
- 'dma_fence_chain_for_each'
- 'do_for_each_ftrace_op'
- 'drm_atomic_crtc_for_each_plane'
- 'drm_atomic_crtc_state_for_each_plane'
- 'drm_atomic_crtc_state_for_each_plane_state'
- 'drm_atomic_for_each_plane_damage'
- 'drm_client_for_each_connector_iter'
- 'drm_client_for_each_modeset'
- 'drm_connector_for_each_possible_encoder'
- 'drm_for_each_bridge_in_chain'
- 'drm_for_each_connector_iter'
- 'drm_for_each_crtc'
- 'drm_for_each_crtc_reverse'
- 'drm_for_each_encoder'
- 'drm_for_each_encoder_mask'
- 'drm_for_each_fb'
- 'drm_for_each_legacy_plane'
- 'drm_for_each_plane'
- 'drm_for_each_plane_mask'
- 'drm_for_each_privobj'
- 'drm_mm_for_each_hole'
- 'drm_mm_for_each_node'
- 'drm_mm_for_each_node_in_range'
- 'drm_mm_for_each_node_safe'
- 'flow_action_for_each'
- 'for_each_acpi_dev_match'
- 'for_each_active_dev_scope'
- 'for_each_active_drhd_unit'
- 'for_each_active_iommu'
- 'for_each_aggr_pgid'
- 'for_each_available_child_of_node'
- 'for_each_bio'
- 'for_each_board_func_rsrc'
- 'for_each_bvec'
- 'for_each_card_auxs'
- 'for_each_card_auxs_safe'
- 'for_each_card_components'
- 'for_each_card_dapms'
- 'for_each_card_pre_auxs'
- 'for_each_card_prelinks'
- 'for_each_card_rtds'
- 'for_each_card_rtds_safe'
- 'for_each_card_widgets'
- 'for_each_card_widgets_safe'
- 'for_each_cgroup_storage_type'
- 'for_each_child_of_node'
- 'for_each_clear_bit'
- 'for_each_clear_bit_from'
- 'for_each_cmsghdr'
- 'for_each_compatible_node'
- 'for_each_component_dais'
- 'for_each_component_dais_safe'
- 'for_each_comp_order'
- 'for_each_console'
- 'for_each_cpu'
- 'for_each_cpu_and'
- 'for_each_cpu_not'
- 'for_each_cpu_wrap'
- 'for_each_dapm_widgets'
- 'for_each_dev_addr'
- 'for_each_dev_scope'
- 'for_each_dma_cap_mask'
- 'for_each_dpcm_be'
- 'for_each_dpcm_be_rollback'
- 'for_each_dpcm_be_safe'
- 'for_each_dpcm_fe'
- 'for_each_drhd_unit'
- 'for_each_dss_dev'
- 'for_each_dtpm_table'
- 'for_each_efi_memory_desc'
- 'for_each_efi_memory_desc_in_map'
- 'for_each_element'
- 'for_each_element_extid'
- 'for_each_element_id'
- 'for_each_endpoint_of_node'
- 'for_each_evictable_lru'
- 'for_each_fib6_node_rt_rcu'
- 'for_each_fib6_walker_rt'
- 'for_each_free_mem_pfn_range_in_zone'
- 'for_each_free_mem_pfn_range_in_zone_from'
- 'for_each_free_mem_range'
- 'for_each_free_mem_range_reverse'
- 'for_each_func_rsrc'
- 'for_each_hstate'
- 'for_each_if'
- 'for_each_iommu'
- 'for_each_ip_tunnel_rcu'
- 'for_each_irq_nr'
- 'for_each_link_codecs'
- 'for_each_link_cpus'
- 'for_each_link_platforms'
- 'for_each_lru'
- 'for_each_matching_node'
- 'for_each_matching_node_and_match'
- 'for_each_member'
- 'for_each_memcg_cache_index'
- 'for_each_mem_pfn_range'
- '__for_each_mem_range'
- 'for_each_mem_range'
- '__for_each_mem_range_rev'
- 'for_each_mem_range_rev'
- 'for_each_mem_region'
- 'for_each_migratetype_order'
- 'for_each_msi_entry'
- 'for_each_msi_entry_safe'
- 'for_each_msi_vector'
- 'for_each_net'
- 'for_each_net_continue_reverse'
- 'for_each_netdev'
- 'for_each_netdev_continue'
- 'for_each_netdev_continue_rcu'
- 'for_each_netdev_continue_reverse'
- 'for_each_netdev_feature'
- 'for_each_netdev_in_bond_rcu'
- 'for_each_netdev_rcu'
- 'for_each_netdev_reverse'
- 'for_each_netdev_safe'
- 'for_each_net_rcu'
- 'for_each_new_connector_in_state'
- 'for_each_new_crtc_in_state'
- 'for_each_new_mst_mgr_in_state'
- 'for_each_new_plane_in_state'
- 'for_each_new_private_obj_in_state'
- 'for_each_node'
- 'for_each_node_by_name'
- 'for_each_node_by_type'
- 'for_each_node_mask'
- 'for_each_node_state'
- 'for_each_node_with_cpus'
- 'for_each_node_with_property'
- 'for_each_nonreserved_multicast_dest_pgid'
- 'for_each_of_allnodes'
- 'for_each_of_allnodes_from'
- 'for_each_of_cpu_node'
- 'for_each_of_pci_range'
- 'for_each_old_connector_in_state'
- 'for_each_old_crtc_in_state'
- 'for_each_old_mst_mgr_in_state'
- 'for_each_oldnew_connector_in_state'
- 'for_each_oldnew_crtc_in_state'
- 'for_each_oldnew_mst_mgr_in_state'
- 'for_each_oldnew_plane_in_state'
- 'for_each_oldnew_plane_in_state_reverse'
- 'for_each_oldnew_private_obj_in_state'
- 'for_each_old_plane_in_state'
- 'for_each_old_private_obj_in_state'
- 'for_each_online_cpu'
- 'for_each_online_node'
- 'for_each_online_pgdat'
- 'for_each_pci_bridge'
- 'for_each_pci_dev'
- 'for_each_pci_msi_entry'
- 'for_each_pcm_streams'
- 'for_each_physmem_range'
- 'for_each_populated_zone'
- 'for_each_possible_cpu'
- 'for_each_present_cpu'
- 'for_each_prime_number'
- 'for_each_prime_number_from'
- 'for_each_process'
- 'for_each_process_thread'
- 'for_each_prop_codec_conf'
- 'for_each_prop_dai_codec'
- 'for_each_prop_dai_cpu'
- 'for_each_prop_dlc_codecs'
- 'for_each_prop_dlc_cpus'
- 'for_each_prop_dlc_platforms'
- 'for_each_property_of_node'
- 'for_each_registered_fb'
- 'for_each_requested_gpio'
- 'for_each_requested_gpio_in_range'
- 'for_each_reserved_mem_range'
- 'for_each_reserved_mem_region'
- 'for_each_rtd_codec_dais'
- 'for_each_rtd_components'
- 'for_each_rtd_cpu_dais'
- 'for_each_rtd_dais'
- 'for_each_set_bit'
- 'for_each_set_bit_from'
- 'for_each_set_clump8'
- 'for_each_sg'
- 'for_each_sg_dma_page'
- 'for_each_sg_page'
- 'for_each_sgtable_dma_page'
- 'for_each_sgtable_dma_sg'
- 'for_each_sgtable_page'
- 'for_each_sgtable_sg'
- 'for_each_sibling_event'
- 'for_each_subelement'
- 'for_each_subelement_extid'
- 'for_each_subelement_id'
- '__for_each_thread'
- 'for_each_thread'
- 'for_each_unicast_dest_pgid'
- 'for_each_vsi'
- 'for_each_wakeup_source'
- 'for_each_zone'
- 'for_each_zone_zonelist'
- 'for_each_zone_zonelist_nodemask'
- 'fwnode_for_each_available_child_node'
- 'fwnode_for_each_child_node'
- 'fwnode_graph_for_each_endpoint'
- 'gadget_for_each_ep'
- 'genradix_for_each'
- 'genradix_for_each_from'
- 'hash_for_each'
- 'hash_for_each_possible'
- 'hash_for_each_possible_rcu'
- 'hash_for_each_possible_rcu_notrace'
- 'hash_for_each_possible_safe'
- 'hash_for_each_rcu'
- 'hash_for_each_safe'
- 'hctx_for_each_ctx'
- 'hlist_bl_for_each_entry'
- 'hlist_bl_for_each_entry_rcu'
- 'hlist_bl_for_each_entry_safe'
- 'hlist_for_each'
- 'hlist_for_each_entry'
- 'hlist_for_each_entry_continue'
- 'hlist_for_each_entry_continue_rcu'
- 'hlist_for_each_entry_continue_rcu_bh'
- 'hlist_for_each_entry_from'
- 'hlist_for_each_entry_from_rcu'
- 'hlist_for_each_entry_rcu'
- 'hlist_for_each_entry_rcu_bh'
- 'hlist_for_each_entry_rcu_notrace'
- 'hlist_for_each_entry_safe'
- 'hlist_for_each_entry_srcu'
- '__hlist_for_each_rcu'
- 'hlist_for_each_safe'
- 'hlist_nulls_for_each_entry'
- 'hlist_nulls_for_each_entry_from'
- 'hlist_nulls_for_each_entry_rcu'
- 'hlist_nulls_for_each_entry_safe'
- 'i3c_bus_for_each_i2cdev'
- 'i3c_bus_for_each_i3cdev'
- 'ide_host_for_each_port'
- 'ide_port_for_each_dev'
- 'ide_port_for_each_present_dev'
- 'idr_for_each_entry'
- 'idr_for_each_entry_continue'
- 'idr_for_each_entry_continue_ul'
- 'idr_for_each_entry_ul'
- 'in_dev_for_each_ifa_rcu'
- 'in_dev_for_each_ifa_rtnl'
- 'inet_bind_bucket_for_each'
- 'inet_lhash2_for_each_icsk_rcu'
- 'key_for_each'
- 'key_for_each_safe'
- 'klp_for_each_func'
- 'klp_for_each_func_safe'
- 'klp_for_each_func_static'
- 'klp_for_each_object'
- 'klp_for_each_object_safe'
- 'klp_for_each_object_static'
- 'kunit_suite_for_each_test_case'
- 'kvm_for_each_memslot'
- 'kvm_for_each_vcpu'
- 'list_for_each'
- 'list_for_each_codec'
- 'list_for_each_codec_safe'
- 'list_for_each_continue'
- 'list_for_each_entry'
- 'list_for_each_entry_continue'
- 'list_for_each_entry_continue_rcu'
- 'list_for_each_entry_continue_reverse'
- 'list_for_each_entry_from'
- 'list_for_each_entry_from_rcu'
- 'list_for_each_entry_from_reverse'
- 'list_for_each_entry_lockless'
- 'list_for_each_entry_rcu'
- 'list_for_each_entry_reverse'
- 'list_for_each_entry_safe'
- 'list_for_each_entry_safe_continue'
- 'list_for_each_entry_safe_from'
- 'list_for_each_entry_safe_reverse'
- 'list_for_each_entry_srcu'
- 'list_for_each_prev'
- 'list_for_each_prev_safe'
- 'list_for_each_safe'
- 'llist_for_each'
- 'llist_for_each_entry'
- 'llist_for_each_entry_safe'
- 'llist_for_each_safe'
- 'mci_for_each_dimm'
- 'media_device_for_each_entity'
- 'media_device_for_each_intf'
- 'media_device_for_each_link'
- 'media_device_for_each_pad'
- 'nanddev_io_for_each_page'
- 'netdev_for_each_lower_dev'
- 'netdev_for_each_lower_private'
- 'netdev_for_each_lower_private_rcu'
- 'netdev_for_each_mc_addr'
- 'netdev_for_each_uc_addr'
- 'netdev_for_each_upper_dev_rcu'
- 'netdev_hw_addr_list_for_each'
- 'nft_rule_for_each_expr'
- 'nla_for_each_attr'
- 'nla_for_each_nested'
- 'nlmsg_for_each_attr'
- 'nlmsg_for_each_msg'
- 'nr_neigh_for_each'
- 'nr_neigh_for_each_safe'
- 'nr_node_for_each'
- 'nr_node_for_each_safe'
- 'of_for_each_phandle'
- 'of_property_for_each_string'
- 'of_property_for_each_u32'
- 'pci_bus_for_each_resource'
- 'pcl_for_each_chunk'
- 'pcl_for_each_segment'
- 'pcm_for_each_format'
- 'ping_portaddr_for_each_entry'
- 'plist_for_each'
- 'plist_for_each_continue'
- 'plist_for_each_entry'
- 'plist_for_each_entry_continue'
- 'plist_for_each_entry_safe'
- 'plist_for_each_safe'
- 'pnp_for_each_card'
- 'pnp_for_each_dev'
- 'protocol_for_each_card'
- 'protocol_for_each_dev'
- 'queue_for_each_hw_ctx'
- 'radix_tree_for_each_slot'
- 'radix_tree_for_each_tagged'
- 'rb_for_each'
- 'rbtree_postorder_for_each_entry_safe'
- 'rdma_for_each_block'
- 'rdma_for_each_port'
- 'rdma_umem_for_each_dma_block'
- 'resource_list_for_each_entry'
- 'resource_list_for_each_entry_safe'
- 'rhl_for_each_entry_rcu'
- 'rhl_for_each_rcu'
- 'rht_for_each'
- 'rht_for_each_entry'
- 'rht_for_each_entry_from'
- 'rht_for_each_entry_rcu'
- 'rht_for_each_entry_rcu_from'
- 'rht_for_each_entry_safe'
- 'rht_for_each_from'
- 'rht_for_each_rcu'
- 'rht_for_each_rcu_from'
- '__rq_for_each_bio'
- 'rq_for_each_bvec'
- 'rq_for_each_segment'
- 'scsi_for_each_prot_sg'
- 'scsi_for_each_sg'
- 'sctp_for_each_hentry'
- 'sctp_skb_for_each'
- 'shdma_for_each_chan'
- '__shost_for_each_device'
- 'shost_for_each_device'
- 'sk_for_each'
- 'sk_for_each_bound'
- 'sk_for_each_entry_offset_rcu'
- 'sk_for_each_from'
- 'sk_for_each_rcu'
- 'sk_for_each_safe'
- 'sk_nulls_for_each'
- 'sk_nulls_for_each_from'
- 'sk_nulls_for_each_rcu'
- 'snd_array_for_each'
- 'snd_pcm_group_for_each_entry'
- 'snd_soc_dapm_widget_for_each_path'
- 'snd_soc_dapm_widget_for_each_path_safe'
- 'snd_soc_dapm_widget_for_each_sink_path'
- 'snd_soc_dapm_widget_for_each_source_path'
- 'tb_property_for_each'
- 'tcf_exts_for_each_action'
- 'udp_portaddr_for_each_entry'
- 'udp_portaddr_for_each_entry_rcu'
- 'usb_hub_for_each_child'
- 'v4l2_device_for_each_subdev'
- 'v4l2_m2m_for_each_dst_buf'
- 'v4l2_m2m_for_each_dst_buf_safe'
- 'v4l2_m2m_for_each_src_buf'
- 'v4l2_m2m_for_each_src_buf_safe'
- 'virtio_device_for_each_vq'
- 'while_for_each_ftrace_op'
- 'xa_for_each'
- 'xa_for_each_marked'
- 'xa_for_each_range'
- 'xa_for_each_start'
- 'xas_for_each'
- 'xas_for_each_conflict'
- 'xas_for_each_marked'
- 'xbc_array_for_each_value'
- 'xbc_for_each_key_value'
- 'xbc_node_for_each_array_value'
- 'xbc_node_for_each_child'
- 'xbc_node_for_each_key_value'
- 'zorro_for_each_dev'
#IncludeBlocks: Preserve # Unknown to clang-format-5.0
IncludeCategories:
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
#IndentPPDirectives: None # Unknown to clang-format-5.0
IndentWidth: 8
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0
ObjCBlockIndentWidth: 8
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
# Taken from git's rules
#PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0
PenaltyBreakBeforeFirstCallParameter: 30
PenaltyBreakComment: 10
PenaltyBreakFirstLessLess: 0
PenaltyBreakString: 10
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: false
SortIncludes: false
#SortUsingDeclarations: false # Unknown to clang-format-4.0
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
#SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0
#SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0
SpaceBeforeParens: ControlStatements
#SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp03
TabWidth: 8
UseTab: Always
...

3
.cocciconfig Normal file
View File

@ -0,0 +1,3 @@
[spatch]
options = --timeout 200
options = --use-gitgrep

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

20
COPYING.txt Normal file
View File

@ -0,0 +1,20 @@
The Linux Kernel is provided under:
SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
Being under the terms of the GNU General Public License version 2 only,
according with:
LICENSES/preferred/GPL-2.0
With an explicit syscall exception, as stated at:
LICENSES/exceptions/Linux-syscall-note
In addition, other licenses may also apply. Please see:
Documentation/process/license-rules.rst
for more details.
All contributions to the Linux Kernel are subject to this COPYING file.

4256
CREDITS.txt Normal file

File diff suppressed because it is too large Load Diff

101
Changes.txt Normal file
View File

@ -0,0 +1,101 @@
Enhancements
So you want to see Titan enhancements? Guess what, i dont have fucking time to please all of you fucks espeically that mother fucker T3Q.
Parallell crypto engine enhancements
Qortal Crypto Function Library enabled during boot
Sequentual Number Generator
Polyhash Crypto API added
RIPMD Now integrated
HDMI HD enabled at boot
VideoCore5 vc666 DTBO
TPM SLB9690 DTBO
Arch Dynamic Switcher
Qortal Core Process Accounting Daemon
Kernel Security Updates
New SecureFS added
seucrityfs enabled
Copies between kernel memory and userspace are not semi restricted
Common str/mem against buffer overflows extended
Second level integrity subsystem created again
EVM activated
Auto purge kernel heap mem and free by writing zeroes as default
Security Iusses Resolved
CVE-2021-38205
CVE-2021-41073
CVE-2021-42252
CVE-2021-33034
CVE-2021-3178
CVE-2020-36158
CVE-2021-20194
CVE-2021-3347
CVE-2021-20239
CVE-2020-29569
CVE-2021-33033
CVE-2021-32606
CVE-2021-31440
Changes
Makefile | 2
arch/arm/kernel/asm-offsets.c | 3
arch/arm/kernel/smccc-call.S | 11 +
arch/arm/kernel/suspend.c | 19 ++
arch/riscv/include/asm/ftrace.h | 14 +
arch/riscv/kernel/mcount.S | 10 -
arch/riscv/kernel/vdso/Makefile | 12 -
arch/um/Kconfig.debug | 1
arch/um/kernel/Makefile | 1
arch/um/kernel/dyn.lds.S | 6
arch/um/kernel/gmon_syms.c | 16 --
arch/um/kernel/uml.lds.S | 6
arch/x86/lib/msr-smp.c | 4
drivers/bus/mhi/core/boot.c | 51 +++---
drivers/bus/mhi/core/internal.h | 1
drivers/bus/mhi/core/pm.c | 2
drivers/dma/dw-edma/dw-edma-core.c | 11 -
drivers/gpio/gpiolib-acpi.c | 14 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 51 ++++++
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 5
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4
drivers/gpu/drm/i915/display/intel_dp.c | 13 +
drivers/input/touchscreen/elants_i2c.c | 44 +++++-
drivers/input/touchscreen/silead.c | 44 +++++-
drivers/misc/kgdbts.c | 26 +--
drivers/net/ethernet/chelsio/cxgb4/sge.c | 16 +-
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 7
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 14 -
drivers/net/wireless/cisco/airo.c | 117 ++++++++--------
drivers/nvme/target/admin-cmd.c | 6
drivers/pci/controller/dwc/pcie-tegra194.c | 2
drivers/pci/controller/pci-thunder-ecam.c | 2
drivers/pci/controller/pci-thunder-pem.c | 13 -
drivers/pci/hotplug/acpiphp_glue.c | 1
drivers/pci/pci.h | 6
drivers/platform/chrome/cros_ec_typec.c | 5
drivers/scsi/lpfc/lpfc_sli.c | 11 +
drivers/target/target_core_user.c | 4
drivers/usb/host/sl811-hcd.c | 9 -
fs/block_dev.c | 20 ++
fs/ceph/caps.c | 1
fs/ceph/export.c | 8 +
fs/ceph/inode.c | 13 +
fs/ceph/mds_client.c | 7
fs/ceph/super.h | 24 +++
fs/f2fs/segment.c | 5
fs/nfs/inode.c | 7
lib/stackdepot.c | 6
net/bridge/br_netlink.c | 5
net/hsr/hsr_forward.c | 4
net/ipv6/ip6_gre.c | 7
net/ipv6/ip6_tunnel.c | 3
net/ipv6/ip6_vti.c | 1
net/ipv6/sit.c | 5
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 8 -
scripts/recordmcount.pl | 2
sound/pci/hda/hda_generic.c | 16 +-
57 files changed, 499 insertions(+), 227 deletions(-)

59
Kbuild Normal file
View File

@ -0,0 +1,59 @@
# SPDX-License-Identifier: GPL-2.0
#
# Kbuild for top-level directory of the kernel
#####
# Generate bounds.h
bounds-file := include/generated/bounds.h
always-y := $(bounds-file)
targets := kernel/bounds.s
$(bounds-file): kernel/bounds.s FORCE
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
# Generate timeconst.h
timeconst-file := include/generated/timeconst.h
filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $<
$(timeconst-file): kernel/time/timeconst.bc FORCE
$(call filechk,gentimeconst)
#####
# Generate asm-offsets.h
offsets-file := include/generated/asm-offsets.h
always-y += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
# Check for missing system calls
always-y += missing-syscalls
quiet_cmd_syscalls = CALL $<
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
$(call cmd,syscalls)
#####
# Check atomic headers are up-to-date
always-y += old-atomics
quiet_cmd_atomics = CALL $<
cmd_atomics = $(CONFIG_SHELL) $<
old-atomics: scripts/atomic/check-atomics.sh FORCE
$(call cmd,atomics)

59
Kbuild.txt Normal file
View File

@ -0,0 +1,59 @@
# SPDX-License-Identifier: GPL-2.0
#
# Kbuild for top-level directory of the kernel
#####
# Generate bounds.h
bounds-file := include/generated/bounds.h
always-y := $(bounds-file)
targets := kernel/bounds.s
$(bounds-file): kernel/bounds.s FORCE
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
# Generate timeconst.h
timeconst-file := include/generated/timeconst.h
filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $<
$(timeconst-file): kernel/time/timeconst.bc FORCE
$(call filechk,gentimeconst)
#####
# Generate asm-offsets.h
offsets-file := include/generated/asm-offsets.h
always-y += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
# Check for missing system calls
always-y += missing-syscalls
quiet_cmd_syscalls = CALL $<
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
$(call cmd,syscalls)
#####
# Check atomic headers are up-to-date
always-y += old-atomics
quiet_cmd_atomics = CALL $<
cmd_atomics = $(CONFIG_SHELL) $<
old-atomics: scripts/atomic/check-atomics.sh FORCE
$(call cmd,atomics)

34
Kconfig Normal file
View File

@ -0,0 +1,34 @@
# SPDX-License-Identifier: GPL-2.1
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.rst.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
source "scripts/Kconfig.include"
source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "fs/Kconfig.binfmt"
source "mm/Kconfig"
source "net/Kconfig"
source "drivers/Kconfig"
source "fs/Kconfig"
source "security/Kconfig"
source "crypto/Kconfig"
source "lib/Kconfig"
source "lib/Kconfig.debug"
source "Documentation/Kconfig"
source "kernel/power/Kconfig"

32
Kconfig.txt Normal file
View File

@ -0,0 +1,32 @@
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.rst.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
source "scripts/Kconfig.include"
source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "fs/Kconfig.binfmt"
source "mm/Kconfig"
source "net/Kconfig"
source "drivers/Kconfig"
source "fs/Kconfig"
source "security/Kconfig"
source "crypto/Kconfig"
source "lib/Kconfig"
source "lib/Kconfig.debug"
source "Documentation/Kconfig"

674
LICENSE Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View File

@ -0,0 +1,377 @@
Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only
Valid-License-Identifier: GFDL-1.1-no-invariants-or-later
Valid-License-Identifier: GFDL-1.1-no-invariants-only
SPDX-URL: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html
Usage-Guide:
The GNU Free Documentation License should only be used without
Invariant Sections, Front-Cover Texts or Back-Cover Texts.
It should not be used for new documents, except when they are
part of sections that are already using it (notably, the
userspace-api media documentation).
To use the license in source code, put the following SPDX tag/value pair
into a comment according to the placement guidelines in the licensing
rules documentation:
SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
or
SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only
or
SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
or
SPDX-License-Identifier: GFDL-1.1-no-invariants-only
License-Text:
GNU Free Documentation License
Version 1.1, March 2000
Copyright (C) 2000 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
written document "free" in the sense of freedom: to assure everyone
the effective freedom to copy and redistribute it, with or without
modifying it, either commercially or noncommercially. Secondarily,
this License preserves for the author and publisher a way to get
credit for their work, while not being considered responsible for
modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work that contains a
notice placed by the copyright holder saying it can be distributed
under the terms of this License. The "Document", below, refers to any
such manual or work. Any member of the public is a licensee, and is
addressed as "you".
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (For example, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, whose contents can be viewed and edited directly and
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup has been designed to thwart or discourage
subsequent modification by readers is not Transparent. A copy that is
not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML designed for human modification. Opaque formats include
PostScript, PDF, proprietary formats that can be read and edited only
by proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML produced by some word processors for output
purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies of the Document numbering more than 100,
and the Document's license notice requires Cover Texts, you must enclose
the copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a publicly-accessible computer-network location containing a complete
Transparent copy of the Document, free of added material, which the
general network-using public has access to download anonymously at no
charge using public-standard network protocols. If you use the latter
option, you must take reasonably prudent steps, when you begin
distribution of Opaque copies in quantity, to ensure that this
Transparent copy will remain thus accessible at the stated location
until at least one year after the last time you distribute an Opaque
copy (directly or through your agents or retailers) of that edition to
the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has less than five).
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section entitled "History", and its title, and add to
it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. In any section entitled "Acknowledgements" or "Dedications",
preserve the section's title, and preserve in the section all the
substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section as "Endorsements"
or to conflict in title with any Invariant Section.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections entitled "History"
in the various original documents, forming one section entitled
"History"; likewise combine any sections entitled "Acknowledgements",
and any sections entitled "Dedications". You must delete all sections
entitled "Endorsements."
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, does not as a whole count as a Modified Version
of the Document, provided no compilation copyright is claimed for the
compilation. Such a compilation is called an "aggregate", and this
License does not apply to the other self-contained works thus compiled
with the Document, on account of their being thus compiled, if they
are not themselves derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one quarter
of the entire aggregate, the Document's Cover Texts may be placed on
covers that surround only the Document within the aggregate.
Otherwise they must appear on covers around the whole aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License provided that you also include the
original English version of this License. In case of a disagreement
between the translation and the original English version of this
License, the original English version will prevail.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
https://www.gnu.org/licenses/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation;
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have no Invariant Sections, write "with no Invariant Sections"
instead of saying which ones are invariant. If you have no
Front-Cover Texts, write "no Front-Cover Texts" instead of
"Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

View File

@ -0,0 +1,417 @@
Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later
Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-only
Valid-License-Identifier: GFDL-1.2-no-invariants-or-later
Valid-License-Identifier: GFDL-1.2-no-invariants-only
SPDX-URL: https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html
Usage-Guide:
The GNU Free Documentation License should only be used without
Invariant Sections, Front-Cover Texts or Back-Cover Texts.
It should not be used for new documents.
To use the license in source code, put the following SPDX tag/value pair
into a comment according to the placement guidelines in the licensing
rules documentation:
SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later
or
SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only
or
SPDX-License-Identifier: GFDL-1.2-no-invariants-or-later
or
SPDX-License-Identifier: GFDL-1.2-no-invariants-only
License-Text:
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
https://www.gnu.org/licenses/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

260
LICENSES/deprecated/GPL-1.0 Normal file
View File

@ -0,0 +1,260 @@
Valid-License-Identifier: GPL-1.0+
SPDX-URL: https://spdx.org/licenses/GPL-1.0.html
Usage-Guide:
The GNU General Public License (GPL) version 1 should not be used in new
code. For existing kernel code the 'or any later version' option is
required to be compatible with the general license of the project: GPLv2.
To use the license in source code, put the following SPDX tag/value pair
into a comment according to the placement guidelines in the licensing
rules documentation:
SPDX-License-Identifier: GPL-1.0+
License-Text:
GNU GENERAL PUBLIC LICENSE
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. The
General Public License applies to the Free Software Foundation's
software and to any other program whose authors commit to using it.
You can use it for your programs, too.
When we speak of free software, we are referring to freedom, not
price. Specifically, the General Public License is designed to make
sure that you have the freedom to give away or sell copies of free
software, that you receive source code or can get it if you want it,
that you can change the software or use pieces of it in new free
programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of a such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must tell them their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
distributed under the terms of this General Public License. The
"Program", below, refers to any such program or work, and a "work based
on the Program" means either the Program or any work containing the
Program or a portion of it, either verbatim or with modifications. Each
licensee is addressed as "you".
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this
General Public License and to the absence of any warranty; and give any
other recipients of the Program a copy of this General Public License
along with the Program. You may charge a fee for the physical act of
transferring a copy.
2. You may modify your copy or copies of the Program or any portion of
it, and copy and distribute such modifications under the terms of Paragraph
1 above, provided that you also do the following:
a) cause the modified files to carry prominent notices stating that
you changed the files and the date of any change; and
b) cause the whole of any work that you distribute or publish, that
in whole or in part contains the Program or any part thereof, either
with or without modifications, to be licensed at no charge to all
third parties under the terms of this General Public License (except
that you may choose to grant warranty protection to some or all
third parties, at your option).
c) If the modified program normally reads commands interactively when
run, you must cause it, when started running for such interactive use
in the simplest and most usual way, to print or display an
announcement including an appropriate copyright notice and a notice
that there is no warranty (or else, saying that you provide a
warranty) and that users may redistribute the program under these
conditions, and telling the user how to view a copy of this General
Public License.
d) You may charge a fee for the physical act of transferring a
copy, and you may at your option offer warranty protection in
exchange for a fee.
Mere aggregation of another independent work with the Program (or its
derivative) on a volume of a storage or distribution medium does not bring
the other work under the scope of these terms.
3. You may copy and distribute the Program (or a portion or derivative of
it, under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:
a) accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of
Paragraphs 1 and 2 above; or,
b) accompany it with a written offer, valid for at least three
years, to give any third party free (except for a nominal charge
for the cost of distribution) a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of
Paragraphs 1 and 2 above; or,
c) accompany it with the information you received as to where the
corresponding source code may be obtained. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form alone.)
Source code for a work means the preferred form of the work for making
modifications to it. For an executable file, complete source code means
all the source code for all modules it contains; but, as a special
exception, it need not include source code for modules which are standard
libraries that accompany the operating system on which the executable
file runs, or for standard header files or definitions files that
accompany that operating system.
4. You may not copy, modify, sublicense, distribute or transfer the
Program except as expressly provided under this General Public License.
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
the Program is void, and will automatically terminate your rights to use
the Program under this License. However, parties who have received
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.
5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these
terms and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein.
7. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of the license which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
the license, you may choose any version ever published by the Free Software
Foundation.
8. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
program `Gnomovision' (a program to direct compilers to make passes
at assemblers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
That's all there is to it!

24
LICENSES/deprecated/ISC Normal file
View File

@ -0,0 +1,24 @@
Valid-License-Identifier: ISC
SPDX-URL: https://spdx.org/licenses/ISC.html
Usage-Guide:
To use the ISC License put the following SPDX tag/value pair into a
comment according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: ISC
License-Text:
ISC License
Copyright (c) <year> <copyright holders>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@ -0,0 +1,26 @@
Valid-License-Identifier: Linux-OpenIB
SPDX-URL: https://spdx.org/licenses/Linux-OpenIB.html
Usage-Guide:
To use the Linux Kernel Variant of OpenIB.org license put the following
SPDX tag/value pair into a comment according to the placement guidelines
in the licensing rules documentation:
SPDX-License-Identifier: Linux-OpenIB
License-Text:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

37
LICENSES/deprecated/X11 Normal file
View File

@ -0,0 +1,37 @@
Valid-License-Identifier: X11
SPDX-URL: https://spdx.org/licenses/X11.html
Usage-Guide:
To use the X11 put the following SPDX tag/value pair into a comment
according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: X11
License-Text:
X11 License
Copyright (C) 1996 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from the X
Consortium.
X Window System is a trademark of X Consortium, Inc.

27
LICENSES/deprecated/Zlib Normal file
View File

@ -0,0 +1,27 @@
Valid-License-Identifier: Zlib
SPDX-URL: https://spdx.org/licenses/Zlib.html
Usage-Guide:
To use the Zlib License put the following SPDX tag/value pair into a
comment according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: Zlib
License-Text:
zlib License
Copyright (c) <year> <copyright holders>
This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use
of this software.
Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to alter it and redistribute it freely, subject
to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be appreciated
but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

187
LICENSES/dual/Apache-2.0 Normal file
View File

@ -0,0 +1,187 @@
Valid-License-Identifier: Apache-2.0
SPDX-URL: https://spdx.org/licenses/Apache-2.0.html
Usage-Guide:
Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used
for dual-licensed files where the other license is GPL2 compatible.
If you end up using this it MUST be used together with a GPL2 compatible
license using "OR".
To use the Apache License version 2.0 put the following SPDX tag/value
pair into a comment according to the placement guidelines in the
licensing rules documentation:
SPDX-License-Identifier: Apache-2.0
License-Text:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the
copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other
entities that control, are controlled by, or are under common control with
that entity. For the purposes of this definition, "control" means (i) the
power, direct or indirect, to cause the direction or management of such
entity, whether by contract or otherwise, or (ii) ownership of fifty
percent (50%) or more of the outstanding shares, or (iii) beneficial
ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source,
and configuration files.
"Object" form shall mean any form resulting from mechanical transformation
or translation of a Source form, including but not limited to compiled
object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form,
made available under the License, as indicated by a copyright notice that
is included in or attached to the work (an example is provided in the
Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form,
that is based on (or derived from) the Work and for which the editorial
revisions, annotations, elaborations, or other modifications represent, as
a whole, an original work of authorship. For the purposes of this License,
Derivative Works shall not include works that remain separable from, or
merely link (or bind by name) to the interfaces of, the Work and Derivative
Works thereof.
"Contribution" shall mean any work of authorship, including the original
version of the Work and any modifications or additions to that Work or
Derivative Works thereof, that is intentionally submitted to Licensor for
inclusion in the Work by the copyright owner or by an individual or Legal
Entity authorized to submit on behalf of the copyright owner. For the
purposes of this definition, "submitted" means any form of electronic,
verbal, or written communication sent to the Licensor or its
representatives, including but not limited to communication on electronic
mailing lists, source code control systems, and issue tracking systems that
are managed by, or on behalf of, the Licensor for the purpose of discussing
and improving the Work, but excluding communication that is conspicuously
marked or otherwise designated in writing by the copyright owner as "Not a
Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on
behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this
License, each Contributor hereby grants to You a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
reproduce, prepare Derivative Works of, publicly display, publicly
perform, sublicense, and distribute the Work and such Derivative Works
in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this
License, each Contributor hereby grants to You a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
this section) patent license to make, have made, use, offer to sell,
sell, import, and otherwise transfer the Work, where such license
applies only to those patent claims licensable by such Contributor that
are necessarily infringed by their Contribution(s) alone or by
combination of their Contribution(s) with the Work to which such
Contribution(s) was submitted. If You institute patent litigation
against any entity (including a cross-claim or counterclaim in a
lawsuit) alleging that the Work or a Contribution incorporated within
the Work constitutes direct or contributory patent infringement, then
any patent licenses granted to You under this License for that Work
shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or
Derivative Works thereof in any medium, with or without modifications,
and in Source or Object form, provided that You meet the following
conditions:
a. You must give any other recipients of the Work or Derivative Works a
copy of this License; and
b. You must cause any modified files to carry prominent notices stating
that You changed the files; and
c. You must retain, in the Source form of any Derivative Works that You
distribute, all copyright, patent, trademark, and attribution notices
from the Source form of the Work, excluding those notices that do not
pertain to any part of the Derivative Works; and
d. If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained within
such NOTICE file, excluding those notices that do not pertain to any
part of the Derivative Works, in at least one of the following
places: within a NOTICE text file distributed as part of the
Derivative Works; within the Source form or documentation, if
provided along with the Derivative Works; or, within a display
generated by the Derivative Works, if and wherever such third-party
notices normally appear. The contents of the NOTICE file are for
informational purposes only and do not modify the License. You may
add Your own attribution notices within Derivative Works that You
distribute, alongside or as an addendum to the NOTICE text from the
Work, provided that such additional attribution notices cannot be
construed as modifying the License.
You may add Your own copyright statement to Your modifications and may
provide additional or different license terms and conditions for use,
reproduction, or distribution of Your modifications, or for any such
Derivative Works as a whole, provided Your use, reproduction, and
distribution of the Work otherwise complies with the conditions stated
in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any
Contribution intentionally submitted for inclusion in the Work by You to
the Licensor shall be under the terms and conditions of this License,
without any additional terms or conditions. Notwithstanding the above,
nothing herein shall supersede or modify the terms of any separate
license agreement you may have executed with Licensor regarding such
Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to
in writing, Licensor provides the Work (and each Contributor provides
its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied, including, without limitation,
any warranties or conditions of TITLE, NON-INFRINGEMENT,
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your
exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether
in tort (including negligence), contract, or otherwise, unless required
by applicable law (such as deliberate and grossly negligent acts) or
agreed to in writing, shall any Contributor be liable to You for
damages, including any direct, indirect, special, incidental, or
consequential damages of any character arising as a result of this
License or out of the use or inability to use the Work (including but
not limited to damages for loss of goodwill, work stoppage, computer
failure or malfunction, or any and all other commercial damages or
losses), even if such Contributor has been advised of the possibility of
such damages.
9. Accepting Warranty or Additional Liability. While redistributing the
Work or Derivative Works thereof, You may choose to offer, and charge a
fee for, acceptance of support, warranty, indemnity, or other liability
obligations and/or rights consistent with this License. However, in
accepting such obligations, You may act only on Your own behalf and on
Your sole responsibility, not on behalf of any other Contributor, and
only if You agree to indemnify, defend, and hold each Contributor
harmless for any liability incurred by, or claims asserted against, such
Contributor by reason of your accepting any such warranty or additional
liability.
END OF TERMS AND CONDITIONS

410
LICENSES/dual/CC-BY-4.0 Normal file
View File

@ -0,0 +1,410 @@
Valid-License-Identifier: CC-BY-4.0
SPDX-URL: https://spdx.org/licenses/CC-BY-4.0
Usage-Guide:
Do NOT use this license for code, but it's acceptable for content like artwork
or documentation. When using it for the latter, it's best to use it together
with a GPL2 compatible license using "OR", as CC-BY-4.0 texts processed by
the kernel's build system might combine it with content taken from more
restrictive licenses.
To use the Creative Commons Attribution 4.0 International license put
the following SPDX tag/value pair into a comment according to the
placement guidelines in the licensing rules documentation:
SPDX-License-Identifier: CC-BY-4.0
License-Text:
Creative Commons Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the "Licensor." The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

368
LICENSES/dual/CDDL-1.0 Normal file
View File

@ -0,0 +1,368 @@
Valid-License-Identifier: CDDL-1.0
SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html
Usage-Guide:
Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for
dual-licensed files where the other license is GPL2 compatible.
If you end up using this it MUST be used together with a GPL2 compatible
license using "OR".
To use the Common Development and Distribution License 1.0 put the
following SPDX tag/value pair into a comment according to the placement
guidelines in the licensing rules documentation:
SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0)
License-Text:
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
Version 1.0
1. Definitions.
1.1. "Contributor" means each individual or entity that creates or
contributes to the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Software, prior Modifications used by a Contributor (if any),
and the Modifications made by that particular Contributor.
1.3. "Covered Software" means (a) the Original Software, or (b)
Modifications, or (c) the combination of files containing
Original Software with files containing Modifications, in each
case including portions thereof.
1.4. "Executable" means the Covered Software in any form other than
Source Code.
1.5. "Initial Developer" means the individual or entity that first
makes Original Software available under this License.
1.6. "Larger Work" means a work which combines Covered Software or
portions thereof with code not governed by the terms of this
License.
1.7. "License" means this document.
1.8. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means the Source Code and Executable form of
any of the following:
A. Any file that results from an addition to, deletion from or
modification of the contents of a file containing Original
Software or previous Modifications;
B. Any new file that contains any part of the Original Software
or previous Modification; or
C. Any new file that is contributed or otherwise made available
under the terms of this License.
1.10. "Original Software" means the Source Code and Executable form
of computer software code that is originally released under
this License.
1.11. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method,
process, and apparatus claims, in any patent Licensable by
grantor.
1.12. "Source Code" means (a) the common form of computer software
code in which modifications are made and (b) associated
documentation included in or with such code.
1.13. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms
of, this License. For legal entities, "You" includes any
entity which controls, is controlled by, or is under common
control with You. For purposes of this definition, "control"
means (a) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract
or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of
such entity.
2. License Grants.
2.1. The Initial Developer Grant.
Conditioned upon Your compliance with Section 3.1 below and subject
to third party intellectual property claims, the Initial Developer
hereby grants You a world-wide, royalty-free, non-exclusive
license:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer, to use,
reproduce, modify, display, perform, sublicense and
distribute the Original Software (or portions thereof),
with or without Modifications, and/or as part of a Larger
Work; and
(b) under Patent Claims infringed by the making, using or
selling of Original Software, to make, have made, use,
practice, sell, and offer for sale, and/or otherwise
dispose of the Original Software (or portions thereof).
(c) The licenses granted in Sections 2.1(a) and (b) are
effective on the date Initial Developer first distributes
or otherwise makes the Original Software available to a
third party under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: (1) for code that You delete from the Original
Software, or (2) for infringements caused by: (i) the
modification of the Original Software, or (ii) the
combination of the Original Software with other software or
devices.
2.2. Contributor Grant.
Conditioned upon Your compliance with Section 3.1 below and subject
to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive
license:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor to use, reproduce,
modify, display, perform, sublicense and distribute the
Modifications created by such Contributor (or portions
thereof), either on an unmodified basis, with other
Modifications, as Covered Software and/or as part of a
Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either
alone and/or in combination with its Contributor Version
(or portions of such combination), to make, use, sell,
offer for sale, have made, and/or otherwise dispose of: (1)
Modifications made by that Contributor (or portions
thereof); and (2) the combination of Modifications made by
that Contributor with its Contributor Version (or portions
of such combination).
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first distributes or
otherwise makes the Modifications available to a third
party.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: (1) for any code that Contributor has deleted from
the Contributor Version; (2) for infringements caused by:
(i) third party modifications of Contributor Version, or
(ii) the combination of Modifications made by that
Contributor with other software (except as part of the
Contributor Version) or other devices; or (3) under Patent
Claims infringed by Covered Software in the absence of
Modifications made by that Contributor.
3. Distribution Obligations.
3.1. Availability of Source Code.
Any Covered Software that You distribute or otherwise make
available in Executable form must also be made available in Source
Code form and that Source Code form must be distributed only under
the terms of this License. You must include a copy of this License
with every copy of the Source Code form of the Covered Software You
distribute or otherwise make available. You must inform recipients
of any such Covered Software in Executable form as to how they can
obtain such Covered Software in Source Code form in a reasonable
manner on or through a medium customarily used for software
exchange.
3.2. Modifications.
The Modifications that You create or to which You contribute are
governed by the terms of this License. You represent that You
believe Your Modifications are Your original creation(s) and/or You
have sufficient rights to grant the rights conveyed by this
License.
3.3. Required Notices.
You must include a notice in each of Your Modifications that
identifies You as the Contributor of the Modification. You may not
remove or alter any copyright, patent or trademark notices
contained within the Covered Software, or any notices of licensing
or any descriptive text giving attribution to any Contributor or
the Initial Developer.
3.4. Application of Additional Terms.
You may not offer or impose any terms on any Covered Software in
Source Code form that alters or restricts the applicable version of
this License or the recipients' rights hereunder. You may choose to
offer, and to charge a fee for, warranty, support, indemnity or
liability obligations to one or more recipients of Covered
Software. However, you may do so only on Your own behalf, and not
on behalf of the Initial Developer or any Contributor. You must
make it absolutely clear that any such warranty, support, indemnity
or liability obligation is offered by You alone, and You hereby
agree to indemnify the Initial Developer and every Contributor for
any liability incurred by the Initial Developer or such Contributor
as a result of warranty, support, indemnity or liability terms You
offer.
3.5. Distribution of Executable Versions.
You may distribute the Executable form of the Covered Software
under the terms of this License or under the terms of a license of
Your choice, which may contain terms different from this License,
provided that You are in compliance with the terms of this License
and that the license for the Executable form does not attempt to
limit or alter the recipient's rights in the Source Code form from
the rights set forth in this License. If You distribute the Covered
Software in Executable form under a different license, You must
make it absolutely clear that any terms which differ from this
License are offered by You alone, not by the Initial Developer or
Contributor. You hereby agree to indemnify the Initial Developer
and every Contributor for any liability incurred by the Initial
Developer or such Contributor as a result of any such terms You
offer.
3.6. Larger Works.
You may create a Larger Work by combining Covered Software with
other code not governed by the terms of this License and distribute
the Larger Work as a single product. In such a case, You must make
sure the requirements of this License are fulfilled for the Covered
Software.
4. Versions of the License.
4.1. New Versions.
Sun Microsystems, Inc. is the initial license steward and may
publish revised and/or new versions of this License from time to
time. Each version will be given a distinguishing version
number. Except as provided in Section 4.3, no one other than the
license steward has the right to modify this License.
4.2. Effect of New Versions.
You may always continue to use, distribute or otherwise make the
Covered Software available under the terms of the version of the
License under which You originally received the Covered
Software. If the Initial Developer includes a notice in the
Original Software prohibiting it from being distributed or
otherwise made available under any subsequent version of the
License, You must distribute and make the Covered Software
available under the terms of the version of the License under which
You originally received the Covered Software. Otherwise, You may
also choose to use, distribute or otherwise make the Covered
Software available under the terms of any subsequent version of the
License published by the license steward.
4.3. Modified Versions.
When You are an Initial Developer and You want to create a new
license for Your Original Software, You may create and use a
modified version of this License if You: (a) rename the license and
remove any references to the name of the license steward (except to
note that the license differs from this License); and (b) otherwise
make it clear that the license contains terms which differ from
this License.
5. DISCLAIMER OF WARRANTY.
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR
CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART
OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER
EXCEPT UNDER THIS DISCLAIMER.
6. TERMINATION.
6.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to
cure such breach within 30 days of becoming aware of the
breach. Provisions which, by their nature, must remain in effect
beyond the termination of this License shall survive.
6.2. If You assert a patent infringement claim (excluding
declaratory judgment actions) against Initial Developer or a
Contributor (the Initial Developer or Contributor against whom You
assert such claim is referred to as "Participant") alleging that
the Participant Software (meaning the Contributor Version where the
Participant is a Contributor or the Original Software where the
Participant is the Initial Developer) directly or indirectly
infringes any patent, then any and all rights granted directly or
indirectly to You by such Participant, the Initial Developer (if
the Initial Developer is not the Participant) and all Contributors
under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
notice from Participant terminate prospectively and automatically
at the expiration of such 60 day notice period, unless if within
such 60 day period You withdraw Your claim with respect to the
Participant Software against such Participant either unilaterally
or pursuant to a written agreement with Participant.
6.3. In the event of termination under Sections 6.1 or 6.2 above,
all end user licenses that have been validly granted by You or any
distributor hereunder prior to termination (excluding licenses
granted to You by any distributor) shall survive termination.
7. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED
SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY
PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST
PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF
SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH
DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR
DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE
EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL
DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
8. U.S. GOVERNMENT END USERS.
The Covered Software is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" (as that term is defined at 48 C.F.R. $ 252.227-7014(a)(1))
and "commercial computer software documentation" as such terms are used
in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
U.S. Government End Users acquire Covered Software with only those
rights set forth herein. This U.S. Government Rights clause is in lieu
of, and supersedes, any other FAR, DFAR, or other clause or provision
that addresses Government rights in computer software under this
License.
9. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by the
law of the jurisdiction specified in a notice contained within the
Original Software (except to the extent applicable law, if any,
provides otherwise), excluding such jurisdiction's conflict-of-law
provisions. Any litigation relating to this License shall be subject to
the jurisdiction of the courts located in the jurisdiction and venue
specified in a notice contained within the Original Software, with the
losing party responsible for costs, including, without limitation,
court costs and reasonable attorneys' fees and expenses. The
application of the United Nations Convention on Contracts for the
International Sale of Goods is expressly excluded. Any law or
regulation which provides that the language of a contract shall be
construed against the drafter shall not apply to this License. You
agree that You alone are responsible for compliance with the United
States export administration regulations (and the export control laws
and regulation of any other countries) when You use, distribute or
otherwise make available any Covered Software.
10. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly, out
of its utilization of rights under this License and You agree to work
with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.

482
LICENSES/dual/MPL-1.1 Normal file
View File

@ -0,0 +1,482 @@
Valid-License-Identifier: MPL-1.1
SPDX-URL: https://spdx.org/licenses/MPL-1.1.html
Usage-Guide:
Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
dual-licensed files where the other license is GPL2 compatible.
If you end up using this it MUST be used together with a GPL2 compatible
license using "OR".
To use the Mozilla Public License version 1.1 put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: MPL-1.1
License-Text:
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. "Executable" means Covered Code in any form other than Source
Code.
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. "License" means this document.
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
12. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
13. MULTIPLE-LICENSED CODE.
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the MPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
EXHIBIT A -Mozilla Public License.
``The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
https://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
The Original Code is ______________________________________.
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]

View File

@ -0,0 +1,18 @@
SPDX-Exception-Identifier: GCC-exception-2.0
SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-2.0-only, GPL-2.0-or-later
Usage-Guide:
This exception is used together with one of the above SPDX-Licenses to
allow linking the compiled version of code to non GPL compliant code.
To use this exception add it with the keyword WITH to one of the
identifiers in the SPDX-Licenses tag:
SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
License-Text:
In addition to the permissions in the GNU Library General Public License,
the Free Software Foundation gives you unlimited permission to link the
compiled version of this file into combinations with other programs, and to
distribute those programs without any restriction coming from the use of
this file. (The General Public License restrictions do apply in other
respects; for example, they cover modification of the file, and
distribution when not linked into another program.)

View File

@ -0,0 +1,25 @@
SPDX-Exception-Identifier: Linux-syscall-note
SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later
Usage-Guide:
This exception is used together with one of the above SPDX-Licenses
to mark user space API (uapi) header files so they can be included
into non GPL compliant user space application code.
To use this exception add it with the keyword WITH to one of the
identifiers in the SPDX-Licenses tag:
SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
License-Text:
NOTE! This copyright does *not* cover user programs that use kernel
services by normal system calls - this is merely considered normal use
of the kernel, and does *not* fall under the heading of "derived work".
Also note that the GPL below is copyrighted by the Free Software
Foundation, but the instance of code that it refers to (the Linux
kernel) is copyrighted by me and others who actually wrote it.
Also note that the only valid version of the GPL as far as the kernel
is concerned is _this_ particular version of the license (ie v2, not
v2.2 or v3.x or whatever), unless explicitly otherwise stated.
Linus Torvalds

View File

@ -0,0 +1,32 @@
Valid-License-Identifier: BSD-2-Clause
SPDX-URL: https://spdx.org/licenses/BSD-2-Clause.html
Usage-Guide:
To use the BSD 2-clause "Simplified" License put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: BSD-2-Clause
License-Text:
Copyright (c) <year> <owner> . All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,36 @@
Valid-License-Identifier: BSD-3-Clause
SPDX-URL: https://spdx.org/licenses/BSD-3-Clause.html
Usage-Guide:
To use the BSD 3-clause "New" or "Revised" License put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: BSD-3-Clause
License-Text:
Copyright (c) <year> <owner> . All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,41 @@
Valid-License-Identifier: BSD-3-Clause-Clear
SPDX-URL: https://spdx.org/licenses/BSD-3-Clause-Clear.html
Usage-Guide:
To use the BSD 3-clause "Clear" License put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: BSD-3-Clause-Clear
License-Text:
The Clear BSD License
Copyright (c) [xxxx]-[xxxx] [Owner Organization]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the disclaimer
below) provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of [Owner Organization] nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

359
LICENSES/preferred/GPL-2.0 Normal file
View File

@ -0,0 +1,359 @@
Valid-License-Identifier: GPL-2.0
Valid-License-Identifier: GPL-2.0-only
Valid-License-Identifier: GPL-2.0+
Valid-License-Identifier: GPL-2.0-or-later
SPDX-URL: https://spdx.org/licenses/GPL-2.0.html
Usage-Guide:
To use this license in source code, put one of the following SPDX
tag/value pairs into a comment according to the placement
guidelines in the licensing rules documentation.
For 'GNU General Public License (GPL) version 2 only' use:
SPDX-License-Identifier: GPL-2.0
or
SPDX-License-Identifier: GPL-2.0-only
For 'GNU General Public License (GPL) version 2 or any later version' use:
SPDX-License-Identifier: GPL-2.0+
or
SPDX-License-Identifier: GPL-2.0-or-later
License-Text:
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

487
LICENSES/preferred/LGPL-2.0 Normal file
View File

@ -0,0 +1,487 @@
Valid-License-Identifier: LGPL-2.0
Valid-License-Identifier: LGPL-2.0+
SPDX-URL: https://spdx.org/licenses/LGPL-2.0.html
Usage-Guide:
To use this license in source code, put one of the following SPDX
tag/value pairs into a comment according to the placement
guidelines in the licensing rules documentation.
For 'GNU Library General Public License (LGPL) version 2.0 only' use:
SPDX-License-Identifier: LGPL-2.0
For 'GNU Library General Public License (LGPL) version 2.0 or any later
version' use:
SPDX-License-Identifier: LGPL-2.0+
License-Text:
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is numbered 2
because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public Licenses are
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users.
This license, the Library General Public License, applies to some specially
designated Free Software Foundation software, and to any other libraries
whose authors decide to use it. You can use it for your libraries, too.
When we speak of free software, we are referring to freedom, not price. Our
General Public Licenses are designed to make sure that you have the freedom
to distribute copies of free software (and charge for this service if you
wish), that you receive source code or can get it if you want it, that you
can change the software or use pieces of it in new free programs; and that
you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to
deny you these rights or to ask you to surrender the rights. These
restrictions translate to certain responsibilities for you if you
distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis or for
a fee, you must give the recipients all the rights that we gave you. You
must make sure that they, too, receive or can get the source code. If you
link a program with the library, you must provide complete object files to
the recipients so that they can relink them with the library, after making
changes to the library and recompiling it. And you must show them these
terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright the
library, and (2) offer you this license which gives you legal permission to
copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain that
everyone understands that there is no warranty for this free library. If
the library is modified by someone else and passed on, we want its
recipients to know that what they have is not the original version, so that
any problems introduced by others will not reflect on the original authors'
reputations.
Finally, any free program is threatened constantly by software patents. We
wish to avoid the danger that companies distributing free software will
individually obtain patent licenses, thus in effect transforming the
program into proprietary software. To prevent this, we have made it clear
that any patent must be licensed for everyone's free use or not licensed at
all.
Most GNU software, including some libraries, is covered by the ordinary GNU
General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General Public
License for libraries did not effectively promote software sharing, because
most developers did not use the libraries. We concluded that weaker
conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the users
of those programs of all benefit from the free status of the libraries
themselves. This Library General Public License is intended to permit
developers of non-free programs to use free libraries, while preserving
your freedom as a user of such programs to change the free libraries that
are incorporated in them. (We have not seen how to achieve this as regards
changes in header files, but we have achieved it as regards changes in the
actual functions of the Library.) The hope is that this will lead to faster
development of free libraries.
The precise terms and conditions for copying, distribution and modification
follow. Pay close attention to the difference between a "work based on the
library" and a "work that uses the library". The former contains code
derived from the library, while the latter only works together with the
library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which contains a
notice placed by the copyright holder or other authorized party saying
it may be distributed under the terms of this Library General Public
License (also called "this License"). Each licensee is addressed as
"you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work which
has been distributed under these terms. A "work based on the Library"
means either the Library or any derivative work under copyright law:
that is to say, a work containing the Library or a portion of it, either
verbatim or with modifications and/or translated straightforwardly into
another language. (Hereinafter, translation is included without
limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for making
modifications to it. For a library, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and
installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of running
a program using the Library is not restricted, and output from such a
program is covered only if its contents constitute a work based on the
Library (independent of the use of the Library in a tool for writing
it). Whether that is true depends on what the Library does and what the
program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's complete
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the notices
that refer to this License and to the absence of any warranty; and
distribute a copy of this License along with the Library.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Library or any portion of it,
thus forming a work based on the Library, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that
you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices stating
that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no charge to
all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a table
of data to be supplied by an application program that uses the
facility, other than as an argument passed when the facility is
invoked, then you must make a good faith effort to ensure that, in
the event an application does not supply such function or table, the
facility still operates, and performs whatever part of its purpose
remains meaningful.
(For example, a function in a library to compute square roots has a
purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must be
optional: if the application does not supply it, the square root
function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library, and
can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based on
the Library, the distribution of the whole must be on the terms of this
License, whose permissions for other licensees extend to the entire
whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of a
storage or distribution medium does not bring the other work under the
scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so that
they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in these
notices.
Once this change is made in a given copy, it is irreversible for that
copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of the
Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or derivative of
it, under Section 2) in object code or executable form under the terms
of Sections 1 and 2 above provided that you accompany it with the
complete corresponding machine-readable source code, which must be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange.
If distribution of object code is made by offering access to copy from a
designated place, then offering equivalent access to copy the source
code from the same place satisfies the requirement to distribute the
source code, even though third parties are not compelled to copy the
source along with the object code.
5. A program that contains no derivative of any portion of the Library, but
is designed to work with the Library by being compiled or linked with
it, is called a "work that uses the Library". Such a work, in isolation,
is not a derivative work of the Library, and therefore falls outside the
scope of this License.
However, linking a "work that uses the Library" with the Library creates
an executable that is a derivative of the Library (because it contains
portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License. Section 6
states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is
not. Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data structure
layouts and accessors, and small macros and small inline functions (ten
lines or less in length), then the use of the object file is
unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section
6. Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or link a
"work that uses the Library" with the Library to produce a work
containing portions of the Library, and distribute that work under terms
of your choice, provided that the terms permit modification of the work
for the customer's own use and reverse engineering for debugging such
modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work during
execution displays copyright notices, you must include the copyright
notice for the Library among them, as well as a reference directing the
user to the copy of this License. Also, you must do one of these things:
a) Accompany the work with the complete corresponding machine-readable
source code for the Library including whatever changes were used in
the work (which must be distributed under Sections 1 and 2 above);
and, if the work is an executable linked with the Library, with the
complete machine-readable "work that uses the Library", as object
code and/or source code, so that the user can modify the Library and
then relink to produce a modified executable containing the modified
Library. (It is understood that the user who changes the contents of
definitions files in the Library will not necessarily be able to
recompile the application to use the modified definitions.)
b) Accompany the work with a written offer, valid for at least three
years, to give the same user the materials specified in Subsection
6a, above, for a charge no more than the cost of performing this
distribution.
c) If distribution of the work is made by offering access to copy from a
designated place, offer equivalent access to copy the above specified
materials from the same place.
d) Verify that the user has already received a copy of these materials
or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the Library"
must include any data and utility programs needed for reproducing the
executable from it. However, as a special exception, the source code
distributed need not include anything that is normally distributed (in
either source or binary form) with the major components (compiler,
kernel, and so on) of the operating system on which the executable runs,
unless that component itself accompanies the executable.
It may happen that this requirement contradicts the license restrictions
of other proprietary libraries that do not normally accompany the
operating system. Such a contradiction means you cannot use both them
and the Library together in an executable that you distribute.
7. You may place library facilities that are a work based on the Library
side-by-side in a single library together with other library facilities
not covered by this License, and distribute such a combined library,
provided that the separate distribution of the work based on the Library
and of the other library facilities is otherwise permitted, and provided
that you do these two things:
a) Accompany the combined library with a copy of the same work based on
the Library, uncombined with any other library facilities. This must
be distributed under the terms of the Sections above.
b) Give prominent notice with the combined library of the fact that part
of it is a work based on the Library, and explaining where to find
the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute the
Library except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense, link with, or distribute the
Library is void, and will automatically terminate your rights under this
License. However, parties who have received copies, or rights, from you
under this License will not have their licenses terminated so long as
such parties remain in full compliance.
9. You are not required to accept this License, since you have not signed
it. However, nothing else grants you permission to modify or distribute
the Library or its derivative works. These actions are prohibited by law
if you do not accept this License. Therefore, by modifying or
distributing the Library (or any work based on the Library), you
indicate your acceptance of this License to do so, and all its terms and
conditions for copying, distributing or modifying the Library or works
based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted
herein. You are not responsible for enforcing compliance by third
parties to this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent license
would not permit royalty-free redistribution of the Library by all
those who receive copies directly or indirectly through you, then the
only way you could satisfy both it and this License would be to refrain
entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is implemented
by public license practices. Many people have made generous
contributions to the wide range of software distributed through that
system in reliance on consistent application of that system; it is up
to the author/donor to decide if he or she is willing to distribute
software through any other system and a licensee cannot impose that
choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Library under this License may add an
explicit geographical distribution limitation excluding those
countries, so that distribution is permitted only in or among countries
not thus excluded. In such case, this License incorporates the
limitation as if written in the body of this License.
13. The Free Software Foundation may publish revised and/or new versions of
the Library General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in
detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a license
version number, you may choose any version ever published by the Free
Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free Software
Foundation; we sometimes make exceptions for this. Our decision will be
guided by the two goals of preserving the free status of all
derivatives of our free software and of promoting the sharing and reuse
of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH
YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR
OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
one line to give the library's name and an idea of what it does.
Copyright (C) year name of author
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in
the library `Frob' (a library for tweaking knobs) written
by James Random Hacker.
signature of Ty Coon, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

505
LICENSES/preferred/LGPL-2.1 Normal file
View File

@ -0,0 +1,505 @@
Valid-License-Identifier: LGPL-2.1
Valid-License-Identifier: LGPL-2.1-only
Valid-License-Identifier: LGPL-2.1+
Valid-License-Identifier: LGPL-2.1-or-later
SPDX-URL: https://spdx.org/licenses/LGPL-2.1.html
Usage-Guide:
To use this license in source code, put one of the following SPDX
tag/value pairs into a comment according to the placement
guidelines in the licensing rules documentation.
For 'GNU Lesser General Public License (LGPL) version 2.1 only' use:
SPDX-License-Identifier: LGPL-2.1
For 'GNU Lesser General Public License (LGPL) version 2.1 or any later
version' use:
SPDX-License-Identifier: LGPL-2.1+
License-Text:
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts as
the successor of the GNU Library Public License, version 2, hence the
version number 2.1.]
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public Licenses are
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some specially
designated software packages--typically libraries--of the Free Software
Foundation and other authors who decide to use it. You can use it too, but
we suggest you first think carefully about whether this license or the
ordinary General Public License is the better strategy to use in any
particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use, not
price. Our General Public Licenses are designed to make sure that you have
the freedom to distribute copies of free software (and charge for this
service if you wish); that you receive source code or can get it if you
want it; that you can change the software and use pieces of it in new free
programs; and that you are informed that you can do these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for you if
you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis or for
a fee, you must give the recipients all the rights that we gave you. You
must make sure that they, too, receive or can get the source code. If you
link other code with the library, you must provide complete object files to
the recipients, so that they can relink them with the library after making
changes to the library and recompiling it. And you must show them these
terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that there is no
warranty for the free library. Also, if the library is modified by someone
else and passed on, the recipients should know that what they have is not
the original version, so that the original author's reputation will not be
affected by problems that might be introduced by others.
Finally, software patents pose a constant threat to the existence of any
free program. We wish to make sure that a company cannot effectively
restrict the users of a free program by obtaining a restrictive license
from a patent holder. Therefore, we insist that any patent license obtained
for a version of the library must be consistent with the full freedom of
use specified in this license.
Most GNU software, including some libraries, is covered by the ordinary GNU
General Public License. This license, the GNU Lesser General Public
License, applies to certain designated libraries, and is quite different
from the ordinary General Public License. We use this license for certain
libraries in order to permit linking those libraries into non-free
programs.
When a program is linked with a library, whether statically or using a
shared library, the combination of the two is legally speaking a combined
work, a derivative of the original library. The ordinary General Public
License therefore permits such linking only if the entire combination fits
its criteria of freedom. The Lesser General Public License permits more lax
criteria for linking other code with the library.
We call this license the "Lesser" General Public License because it does
Less to protect the user's freedom than the ordinary General Public
License. It also provides other free software developers Less of an
advantage over competing non-free programs. These disadvantages are the
reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to encourage
the widest possible use of a certain library, so that it becomes a de-facto
standard. To achieve this, non-free programs must be allowed to use the
library. A more frequent case is that a free library does the same job as
widely used non-free libraries. In this case, there is little to gain by
limiting the free library to free software only, so we use the Lesser
General Public License.
In other cases, permission to use a particular library in non-free programs
enables a greater number of people to use a large body of free
software. For example, permission to use the GNU C Library in non-free
programs enables many more people to use the whole GNU operating system, as
well as its variant, the GNU/Linux operating system.
Although the Lesser General Public License is Less protective of the users'
freedom, it does ensure that the user of a program that is linked with the
Library has the freedom and the wherewithal to run that program using a
modified version of the Library.
The precise terms and conditions for copying, distribution and modification
follow. Pay close attention to the difference between a "work based on the
library" and a "work that uses the library". The former contains code
derived from the library, whereas the latter must be combined with the
library in order to run.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other program
which contains a notice placed by the copyright holder or other
authorized party saying it may be distributed under the terms of this
Lesser General Public License (also called "this License"). Each
licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work which
has been distributed under these terms. A "work based on the Library"
means either the Library or any derivative work under copyright law:
that is to say, a work containing the Library or a portion of it, either
verbatim or with modifications and/or translated straightforwardly into
another language. (Hereinafter, translation is included without
limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for making
modifications to it. For a library, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and
installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of running
a program using the Library is not restricted, and output from such a
program is covered only if its contents constitute a work based on the
Library (independent of the use of the Library in a tool for writing
it). Whether that is true depends on what the Library does and what the
program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's complete
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the notices
that refer to this License and to the absence of any warranty; and
distribute a copy of this License along with the Library.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Library or any portion of it,
thus forming a work based on the Library, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that
you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices stating
that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no charge to
all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a table
of data to be supplied by an application program that uses the
facility, other than as an argument passed when the facility is
invoked, then you must make a good faith effort to ensure that, in
the event an application does not supply such function or table, the
facility still operates, and performs whatever part of its purpose
remains meaningful.
(For example, a function in a library to compute square roots has a
purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must be
optional: if the application does not supply it, the square root
function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library, and
can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based on
the Library, the distribution of the whole must be on the terms of this
License, whose permissions for other licensees extend to the entire
whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of a
storage or distribution medium does not bring the other work under the
scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so that
they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in these
notices.
Once this change is made in a given copy, it is irreversible for that
copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of the
Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or derivative of
it, under Section 2) in object code or executable form under the terms
of Sections 1 and 2 above provided that you accompany it with the
complete corresponding machine-readable source code, which must be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange.
If distribution of object code is made by offering access to copy from a
designated place, then offering equivalent access to copy the source
code from the same place satisfies the requirement to distribute the
source code, even though third parties are not compelled to copy the
source along with the object code.
5. A program that contains no derivative of any portion of the Library, but
is designed to work with the Library by being compiled or linked with
it, is called a "work that uses the Library". Such a work, in isolation,
is not a derivative work of the Library, and therefore falls outside the
scope of this License.
However, linking a "work that uses the Library" with the Library creates
an executable that is a derivative of the Library (because it contains
portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License. Section 6
states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is
not. Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data structure
layouts and accessors, and small macros and small inline functions (ten
lines or less in length), then the use of the object file is
unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section
6. Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or link a
"work that uses the Library" with the Library to produce a work
containing portions of the Library, and distribute that work under terms
of your choice, provided that the terms permit modification of the work
for the customer's own use and reverse engineering for debugging such
modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work during
execution displays copyright notices, you must include the copyright
notice for the Library among them, as well as a reference directing the
user to the copy of this License. Also, you must do one of these things:
a) Accompany the work with the complete corresponding machine-readable
source code for the Library including whatever changes were used in
the work (which must be distributed under Sections 1 and 2 above);
and, if the work is an executable linked with the Library, with the
complete machine-readable "work that uses the Library", as object
code and/or source code, so that the user can modify the Library and
then relink to produce a modified executable containing the modified
Library. (It is understood that the user who changes the contents of
definitions files in the Library will not necessarily be able to
recompile the application to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a copy
of the library already present on the user's computer system, rather
than copying library functions into the executable, and (2) will
operate properly with a modified version of the library, if the user
installs one, as long as the modified version is interface-compatible
with the version that the work was made with.
c) Accompany the work with a written offer, valid for at least three
years, to give the same user the materials specified in Subsection
6a, above, for a charge no more than the cost of performing this
distribution.
d) If distribution of the work is made by offering access to copy from a
designated place, offer equivalent access to copy the above specified
materials from the same place.
e) Verify that the user has already received a copy of these materials
or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the Library"
must include any data and utility programs needed for reproducing the
executable from it. However, as a special exception, the materials to be
distributed need not include anything that is normally distributed (in
either source or binary form) with the major components (compiler,
kernel, and so on) of the operating system on which the executable runs,
unless that component itself accompanies the executable.
It may happen that this requirement contradicts the license restrictions
of other proprietary libraries that do not normally accompany the
operating system. Such a contradiction means you cannot use both them
and the Library together in an executable that you distribute.
7. You may place library facilities that are a work based on the Library
side-by-side in a single library together with other library facilities
not covered by this License, and distribute such a combined library,
provided that the separate distribution of the work based on the Library
and of the other library facilities is otherwise permitted, and provided
that you do these two things:
a) Accompany the combined library with a copy of the same work based on
the Library, uncombined with any other library facilities. This must
be distributed under the terms of the Sections above.
b) Give prominent notice with the combined library of the fact that part
of it is a work based on the Library, and explaining where to find
the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute the
Library except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense, link with, or distribute the
Library is void, and will automatically terminate your rights under this
License. However, parties who have received copies, or rights, from you
under this License will not have their licenses terminated so long as
such parties remain in full compliance.
9. You are not required to accept this License, since you have not signed
it. However, nothing else grants you permission to modify or distribute
the Library or its derivative works. These actions are prohibited by law
if you do not accept this License. Therefore, by modifying or
distributing the Library (or any work based on the Library), you
indicate your acceptance of this License to do so, and all its terms and
conditions for copying, distributing or modifying the Library or works
based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted
herein. You are not responsible for enforcing compliance by third
parties with this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent license
would not permit royalty-free redistribution of the Library by all
those who receive copies directly or indirectly through you, then the
only way you could satisfy both it and this License would be to refrain
entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is implemented
by public license practices. Many people have made generous
contributions to the wide range of software distributed through that
system in reliance on consistent application of that system; it is up
to the author/donor to decide if he or she is willing to distribute
software through any other system and a licensee cannot impose that
choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Library under this License may add an
explicit geographical distribution limitation excluding those
countries, so that distribution is permitted only in or among countries
not thus excluded. In such case, this License incorporates the
limitation as if written in the body of this License.
13. The Free Software Foundation may publish revised and/or new versions of
the Lesser General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in
detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a license
version number, you may choose any version ever published by the Free
Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free Software
Foundation; we sometimes make exceptions for this. Our decision will be
guided by the two goals of preserving the free status of all
derivatives of our free software and of promoting the sharing and reuse
of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH
YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR
OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
one line to give the library's name and an idea of what it does.
Copyright (C) year name of author
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add
information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in
the library `Frob' (a library for tweaking knobs) written
by James Random Hacker.
signature of Ty Coon, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

30
LICENSES/preferred/MIT Normal file
View File

@ -0,0 +1,30 @@
Valid-License-Identifier: MIT
SPDX-URL: https://spdx.org/licenses/MIT.html
Usage-Guide:
To use the MIT License put the following SPDX tag/value pair into a
comment according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: MIT
License-Text:
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,49 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
# CMakeLists.txt file even before calling the project() command.
# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)
# command to specify that the current project code is written for the given range of CMake
# versions.
project(lxqt-powermanagement)
include(GNUInstallDirs)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
set(KF5_MINIMUM_VERSION "5.36.0")
set(LXQT_MINIMUM_VERSION "1.0.0")
set(QT_MINIMUM_VERSION "5.15.0")
find_package(Qt5DBus ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5LinguistTools ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5Svg ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED)
find_package(KF5IdleTime ${KF5_MINIMUM_VERSION} REQUIRED)
find_package(KF5Solid ${KF5_MINIMUM_VERSION} REQUIRED)
find_package(lxqt ${LXQT_MINIMUM_VERSION} REQUIRED)
find_package(lxqt-globalkeys-ui ${LXQT_GLOBALKEYS_MINIMUM_VERSION} REQUIRED)
message(STATUS "Building with Qt${Qt5Core_VERSION}")
# Patch Version
set(LXQT_POWERMANAGEMENT_PATCH_VERSION 0)
set(LXQT_POWERMANAGEMENT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_POWERMANAGEMENT_PATCH_VERSION})
add_definitions(
"-DLXQT_POWERMANAGEMENT_VERSION=\"${LXQT_POWERMANAGEMENT_VERSION}\""
)
include(LXQtPreventInSourceBuilds)
include(LXQtCompilerSettings NO_POLICY_SCOPE)
# Translations **********************************
include(LXQtTranslate)
add_subdirectory(config)
add_subdirectory(src)
add_subdirectory(autostart)

View File

@ -0,0 +1,16 @@
file(GLOB DESKTOP_FILES_IN *.desktop.in)
# Translations **********************************
lxqt_translate_desktop(DESKTOP_FILES
SOURCES
${DESKTOP_FILES_IN}
USE_YAML
)
add_custom_target(lxqt_powermanagement_autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES})
#************************************************
install(FILES
${DESKTOP_FILES}
DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
COMPONENT Runtime
)

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.1
TryExec=lxqt-powermanagement
Exec=lxqt-powermanagement
OnlyShowIn=LXQt;
X-LXQt-Need-Tray=true
X-LXQt-Module=true
#TRANSLATIONS_DIR=translations

View File

@ -0,0 +1,73 @@
project(lxqt-config-powermanagement)
set(QTX_LIBRARIES Qt5::Widgets Qt5::DBus Qt5::Svg)
set(SOURCES
main.cpp
mainwindow.cpp
lidwatchersettings.cpp
batterywatchersettings.cpp
idlenesswatchersettings.cpp
powermanagementsettings.cpp
powerkeyssettings.cpp
helpers.cpp
../src/iconproducer.cpp
)
set(UI_FILES
lidwatchersettings.ui
batterywatchersettings.ui
idlenesswatchersettings.ui
powerkeyssettings.ui
)
set(ICON_FILES
icons/laptop-lid.svg
)
set(DESKTOP_FILES_IN
lxqt-config-powermanagement.desktop.in
)
# Translations **********************************
lxqt_translate_ts(QM_FILES
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
SOURCES
${SOURCES}
${UI_FILES}
INSTALL_DIR
${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
)
lxqt_app_translation_loader(config-powermanagement_QM_LOADER ${PROJECT_NAME})
lxqt_translate_desktop(DESKTOP_FILES SOURCES ${DESKTOP_FILES_IN} USE_YAML)
add_executable(${PROJECT_NAME}
${SOURCES}
${DESKTOP_FILES}
${QM_FILES}
${config-powermanagement_QM_LOADER}
)
target_link_libraries(lxqt-config-powermanagement
lxqt
${QTX_LIBRARIES}
KF5::Solid
)
install(TARGETS
${PROJECT_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT Runtime
)
install(FILES
${DESKTOP_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications"
COMPONENT Runtime
)
install(FILES
${ICON_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/devices"
COMPONENT Runtime
)

View File

@ -0,0 +1,111 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <LXQt/Settings>
#include <QDebug>
#include <QLabel>
#include <QGroupBox>
#include <Solid/Battery>
#include "batterywatchersettings.h"
#include "ui_batterywatchersettings.h"
#include "powermanagementsettings.h"
BatteryWatcherSettings::BatteryWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::BatteryWatcherSettings),
mChargingIconProducer(),
mDischargingIconProducer()
{
mUi->setupUi(this);
fillComboBox(mUi->actionComboBox);
mUi->chargeLevelSlider->setValue(53);
mChargingIconProducer.updateState(Solid::Battery::Charging);
mDischargingIconProducer.updateState(Solid::Battery::Discharging);
connect(mUi->groupBox, &QGroupBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->actionComboBox, QOverload<int>::of(&QComboBox::activated), this, &BatteryWatcherSettings::saveSettings);
connect(mUi->warningSpinBox, &QSpinBox::editingFinished, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->levelSpinBox, &QSpinBox::editingFinished, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->showIconCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->showIconCheckBox, &QCheckBox::clicked, mUi->previewBox, &QGroupBox::setEnabled);
connect(mUi->useThemeIconsCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->useThemeIconsCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::updatePreview);
connect(mUi->chargeLevelSlider, &QSlider::valueChanged, this, &BatteryWatcherSettings::updatePreview);
connect(&mChargingIconProducer, &IconProducer::iconChanged, this, &BatteryWatcherSettings::onChargeIconChanged);
connect(&mDischargingIconProducer, &IconProducer::iconChanged, this, &BatteryWatcherSettings::onDischargeIconChanged);
updatePreview();
}
BatteryWatcherSettings::~BatteryWatcherSettings()
{
delete mUi;
}
void BatteryWatcherSettings::loadSettings()
{
mUi->groupBox->setChecked(mSettings.isBatteryWatcherEnabled());
setComboBoxToValue(mUi->actionComboBox, mSettings.getPowerLowAction());
mUi->warningSpinBox->setValue(mSettings.getPowerLowWarningTime());
mUi->levelSpinBox->setValue(mSettings.getPowerLowLevel());
mUi->showIconCheckBox->setChecked(mSettings.isShowIcon());
mUi->useThemeIconsCheckBox->setChecked(mSettings.isUseThemeIcons());
}
void BatteryWatcherSettings::saveSettings()
{
mSettings.setBatteryWatcherEnabled(mUi->groupBox->isChecked());
mSettings.setPowerLowAction(currentValue(mUi->actionComboBox));
mSettings.setPowerLowWarningTime(mUi->warningSpinBox->value());
mSettings.setPowerLowLevel(mUi->levelSpinBox->value());
mSettings.setShowIcon(mUi->showIconCheckBox->isChecked());
mSettings.setUseThemeIcons(mUi->useThemeIconsCheckBox->isChecked());
}
void BatteryWatcherSettings::updatePreview()
{
mUi->previewBox->setTitle(tr("Preview") + QString::fromLatin1(" (%1)").arg(mSettings.isUseThemeIcons() ? QIcon::themeName() : tr("built in")));
int chargePercent = mUi->chargeLevelSlider->value();
mChargingIconProducer.updateChargePercent(chargePercent);
mDischargingIconProducer.updateChargePercent(chargePercent);
mUi->chargeLevelLabel->setText(tr("Level: %1%").arg(chargePercent));
}
void BatteryWatcherSettings::onChargeIconChanged()
{
mUi->chargingIcon->setPixmap(mChargingIconProducer.mIcon.pixmap(mUi->chargingIcon->size()));
mUi->chargingLabel->setText(mChargingIconProducer.mIconName);
}
void BatteryWatcherSettings::onDischargeIconChanged()
{
mUi->dischargingIcon->setPixmap(mDischargingIconProducer.mIcon.pixmap(mUi->dischargingIcon->size()));
mUi->dischargingLabel->setText(mDischargingIconProducer.mIconName);
}

View File

@ -0,0 +1,66 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef POWERLOWSETTINGS_H
#define POWERLOWSETTINGS_H
#include <QWidget>
#include <LXQt/Settings>
#include "../config/powermanagementsettings.h"
#include "../src/iconproducer.h"
#include "helpers.h"
namespace Ui {
class BatteryWatcherSettings;
}
class BatteryWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit BatteryWatcherSettings(QWidget *parent = nullptr);
~BatteryWatcherSettings() override;
public slots:
void loadSettings();
private slots:
void saveSettings();
void updatePreview();
void onChargeIconChanged();
void onDischargeIconChanged();
private:
PowerManagementSettings mSettings;
Ui::BatteryWatcherSettings *mUi;
IconProducer mChargingIconProducer;
IconProducer mDischargingIconProducer;
};
#endif // POWERLOWSETTINGS_H

View File

@ -0,0 +1,249 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BatteryWatcherSettings</class>
<widget class="QWidget" name="BatteryWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>428</width>
<height>414</height>
</rect>
</property>
<property name="windowTitle">
<string>Battery Watcher Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>E&amp;nable Battery Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="actionLabel">
<property name="text">
<string>When power is low then:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="actionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="warningLabel">
<property name="text">
<string>Warning:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="warningSpinBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> seconds</string>
</property>
<property name="maximum">
<number>500</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="levelLabel">
<property name="text">
<string>Level is low at:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="levelSpinBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> %</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="showIconLabel">
<property name="text">
<string>Show icon:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="showIconCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="useThemeIconsLabel">
<property name="text">
<string>Use icons from theme:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="useThemeIconsCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QGroupBox" name="previewBox">
<property name="title">
<string>Preview</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0" colspan="2">
<widget class="QSlider" name="chargeLevelSlider">
<property name="maximum">
<number>100</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="chargingIcon">
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="chargingLabel">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Charging</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="dischargingIcon">
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="chargeLevelLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="dischargingLabel">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Discharging</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>15</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>25</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,62 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
*
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <LXQt/Power>
#include "helpers.h"
void fillComboBox(QComboBox* comboBox)
{
comboBox->clear();
comboBox->addItem(QObject::tr("Nothing"), -1);
comboBox->addItem(QObject::tr("Ask"), LXQt::Power::PowerShowLeaveDialog);
comboBox->addItem(QObject::tr("Lock screen"), -2); // FIXME
comboBox->addItem(QObject::tr("Suspend"), LXQt::Power::PowerSuspend);
comboBox->addItem(QObject::tr("Hibernate"), LXQt::Power::PowerHibernate);
comboBox->addItem(QObject::tr("Shutdown"), LXQt::Power::PowerShutdown);
comboBox->addItem(QObject::tr("Turn Off monitor(s)"), LXQt::Power::PowerMonitorOff);
}
void setComboBoxToValue(QComboBox* comboBox, int value)
{
for (int index = 0; index < comboBox->count(); index++)
{
if (value == comboBox->itemData(index).toInt())
{
comboBox->setCurrentIndex(index);
return;
}
}
comboBox->setCurrentIndex(0);
}
int currentValue(QComboBox *comboBox)
{
return comboBox->itemData(comboBox->currentIndex()).toInt();
}

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2014 Christian Surlykke
*
* This file is part of the LXQt project. <https://lxqt.org>
* It is distributed under the LGPL 2.1 or later license.
* Please refer to the LICENSE file for a copy of the license.
*/
#ifndef POWER_MANAGEMENT_SETTINGS_H
#define POWER_MANAGEMENT_SETTINGS_H
#include <QComboBox>
void fillComboBox(QComboBox* comboBox);
void setComboBoxToValue(QComboBox* comboBox, int value);
int currentValue(QComboBox *comboBox);
#endif // POWER_MANAGEMENT_SETTINGS_H

View File

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="400"
height="250"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="lid.svg">
<defs
id="defs4">
<filter
inkscape:collect="always"
id="filter3831"
x="-0.66894451"
width="2.337889"
y="-0.63549728"
height="2.2709946">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="15.130887"
id="feGaussianBlur3833" />
</filter>
<filter
inkscape:collect="always"
id="filter3835"
x="-0.058792319"
width="1.1175846"
y="-0.14165475"
height="1.2833095">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="8.3204747"
id="feGaussianBlur3837" />
</filter>
<filter
inkscape:collect="always"
id="filter3839"
x="-0.054746114"
width="1.1094922"
y="-6.9892057"
height="14.978411">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="8.3204747"
id="feGaussianBlur3841" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.59105127"
inkscape:cx="-415.65465"
inkscape:cy="283.12685"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1440"
inkscape:window-height="849"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-79.26997,-572.39138)">
<path
style="fill:none;stroke:#000000;stroke-width:18.77737617000000014;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter3839)"
d="m 114,806.07647 364.75903,2.85714"
id="path2994"
inkscape:connector-curvature="0"
transform="matrix(0.92840961,0,0,1,6.016738,0)" />
<path
style="fill:none;stroke:#000000;stroke-width:20.75679016000000132;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:none;filter:url(#filter3835)"
d="M 107.31506,789.13315 446.97064,648.16266"
id="path2994-7"
inkscape:connector-curvature="0"
transform="matrix(0.92840961,0,0,1,6.016738,0)" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03783953000000007px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter3831)"
id="path3793"
sodipodi:cx="118.57143"
sodipodi:cy="798.07648"
sodipodi:rx="27.142857"
sodipodi:ry="28.571428"
d="m 145.71428,798.07648 c 0,15.77956 -12.15227,28.57143 -27.14285,28.57143 -14.99059,0 -27.14286,-12.79187 -27.14286,-28.57143 0,-15.77957 12.15227,-28.57143 27.14286,-28.57143 14.99058,0 27.14285,12.79186 27.14285,28.57143 z"
transform="matrix(0.52079989,0,0,0.53905881,36.427947,370.56763)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,156 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <QDebug>
#include "idlenesswatchersettings.h"
#include "ui_idlenesswatchersettings.h"
#include "helpers.h"
#define MINIMUM_SECONDS 30
IdlenessWatcherSettings::IdlenessWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::IdlenessWatcherSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->idleACActionComboBox);
fillComboBox(mUi->idleBatteryActionComboBox);
mUi->idleACTimeEdit->setMinimumTime( QTime(0,0,MINIMUM_SECONDS) );
mUi->idleBatteryTimeEdit->setMinimumTime( QTime(0,0,MINIMUM_SECONDS) );
mBacklight = new LXQt::Backlight(this);
// If if no backlight support then disable backlight control:
if(! mBacklight->isBacklightAvailable()) {
mUi->idlenessBacklightWatcherGroupBox->setEnabled(false);
mUi->idlenessBacklightWatcherGroupBox->setChecked(false);
} else {
mBacklightActualValue = mBacklight->getBacklight();
}
mConnectSignals();
}
void IdlenessWatcherSettings::mConnectSignals()
{
connect(mUi->idlenessWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleACActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleACTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleBatteryTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->checkBacklightButton, &QPushButton::pressed, this, &IdlenessWatcherSettings::backlightCheckButtonPressed);
connect(mUi->checkBacklightButton, &QPushButton::released, this, &IdlenessWatcherSettings::backlightCheckButtonReleased);
connect(mUi->idlenessBacklightWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->backlightSlider, &QSlider::valueChanged, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleTimeBacklightTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->onBatteryDischargingCheckBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->disableIdlenessFullscreenBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
}
void IdlenessWatcherSettings::mDisconnectSignals()
{
disconnect(mUi->idlenessWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleACActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleACTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleBatteryTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->checkBacklightButton, &QPushButton::pressed, this, &IdlenessWatcherSettings::backlightCheckButtonPressed);
disconnect(mUi->checkBacklightButton, &QPushButton::released, this, &IdlenessWatcherSettings::backlightCheckButtonReleased);
disconnect(mUi->idlenessBacklightWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->backlightSlider, &QSlider::valueChanged, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleTimeBacklightTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->onBatteryDischargingCheckBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->disableIdlenessFullscreenBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
}
IdlenessWatcherSettings::~IdlenessWatcherSettings()
{
delete mUi;
}
void IdlenessWatcherSettings::loadSettings()
{
mDisconnectSignals();
mUi->idlenessWatcherGroupBox->setChecked(mSettings.isIdlenessWatcherEnabled());
setComboBoxToValue(mUi->idleACActionComboBox, mSettings.getIdlenessACAction());
mUi->idleACTimeEdit->setTime(mSettings.getIdlenessACTime());
setComboBoxToValue(mUi->idleBatteryActionComboBox, mSettings.getIdlenessBatteryAction());
mUi->idleBatteryTimeEdit->setTime(mSettings.getIdlenessBatteryTime());
if(mBacklight->isBacklightAvailable()) {
mUi->idlenessBacklightWatcherGroupBox->setChecked(mSettings.isIdlenessBacklightWatcherEnabled());
mUi->idleTimeBacklightTimeEdit->setTime(mSettings.getIdlenessBacklightTime());
mUi->backlightSlider->setValue(mSettings.getBacklight());
mUi->onBatteryDischargingCheckBox->setChecked(mSettings.isIdlenessBacklightOnBatteryDischargingEnabled());
}
mUi->disableIdlenessFullscreenBox->setChecked(mSettings.isDisableIdlenessWhenFullscreenEnabled());
mConnectSignals();
}
void IdlenessWatcherSettings::saveSettings()
{
mSettings.setIdlenessWatcherEnabled(mUi->idlenessWatcherGroupBox->isChecked());
mSettings.setIdlenessACAction(currentValue(mUi->idleACActionComboBox));
mSettings.setIdlenessACTime(mUi->idleACTimeEdit->time());
mSettings.setIdlenessBatteryAction(currentValue(mUi->idleBatteryActionComboBox));
mSettings.setIdlenessBatteryTime(mUi->idleBatteryTimeEdit->time());
mSettings.setIdlenessBacklightWatcherEnabled(mBacklight->isBacklightAvailable() ? mUi->idlenessBacklightWatcherGroupBox->isChecked() : false);
mSettings.setIdlenessBacklightTime(mUi->idleTimeBacklightTimeEdit->time());
mSettings.setBacklight(mUi->backlightSlider->value());
mSettings.setIdlenessBacklightOnBatteryDischargingEnabled(mUi->onBatteryDischargingCheckBox->isChecked());
mSettings.setDisableIdlenessWhenFullscreen(mUi->disableIdlenessFullscreenBox->isChecked());
}
void IdlenessWatcherSettings::backlightCheckButtonPressed()
{
if(mBacklight->isBacklightAvailable()) {
mBacklightActualValue = mBacklight->getBacklight();
mBacklight->setBacklight((float)mBacklightActualValue * (float)(mUi->backlightSlider->value())/100.0f);
}
}
void IdlenessWatcherSettings::backlightCheckButtonReleased()
{
if(mBacklight->isBacklightAvailable()) {
mBacklight->setBacklight(mBacklightActualValue);
}
}

View File

@ -0,0 +1,66 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef IDLE_SETTINGS_H
#define IDLE_SETTINGS_H
#include <QGroupBox>
#include <LXQt/Settings>
#include <LXQt/lxqtbacklight.h>
#include "powermanagementsettings.h"
namespace Ui {
class IdlenessWatcherSettings;
}
class IdlenessWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit IdlenessWatcherSettings(QWidget *parent = nullptr);
~IdlenessWatcherSettings() override;
public Q_SLOTS:
void loadSettings();
private Q_SLOTS:
void saveSettings();
void backlightCheckButtonPressed();
void backlightCheckButtonReleased();
private:
PowerManagementSettings mSettings;
Ui::IdlenessWatcherSettings *mUi;
LXQt::Backlight *mBacklight;
int mBacklightActualValue;
void mConnectSignals();
void mDisconnectSignals();
};
#endif // IDLE_SETTINGS_H

View File

@ -0,0 +1,216 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>IdlenessWatcherSettings</class>
<widget class="QWidget" name="IdlenessWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>452</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="idlenessWatcherGroupBox">
<property name="title">
<string>Enab&amp;le Idleness Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="idleTimeACLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>When idle on AC:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="idleACActionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="idleACActionLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>AC Idle time:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QTimeEdit" name="idleACTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds (min: 01:30)</string>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>1</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="idleTimeBatteryLabel">
<property name="text">
<string>When idle on Battery:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="idleBatteryActionLabel">
<property name="text">
<string>Battery Idle time:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QTimeEdit" name="idleBatteryTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds (min: 01:30)</string>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>1</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="idleBatteryActionComboBox"/>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="idlenessBacklightWatcherGroupBox">
<property name="title">
<string>Enable Backlight Change</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="backlightLabel">
<property name="text">
<string>Backlight (%):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSlider" name="backlightSlider">
<property name="maximum">
<number>100</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="idleTimeBacklightLabel">
<property name="text">
<string>Idle time:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QTimeEdit" name="idleTimeBacklightTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds</string>
</property>
<property name="maximumTime">
<time>
<hour>22</hour>
<minute>59</minute>
<second>59</second>
</time>
</property>
<property name="minimumTime">
<time>
<hour>0</hour>
<minute>0</minute>
<second>1</second>
</time>
</property>
<property name="currentSection">
<enum>QDateTimeEdit::MinuteSection</enum>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="checkBacklightButton">
<property name="text">
<string>Check backlight</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="onBatteryDischargingCheckBox">
<property name="text">
<string>On battery discharging </string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="disableIdlenessFullscreenBox">
<property name="text">
<string>Disable idleness checks when fullscreen</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,83 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <QDebug>
#include "lidwatchersettings.h"
#include "ui_lidwatchersettings.h"
#include "helpers.h"
LidWatcherSettings::LidWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::LidWatcherSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->onBatteryActionComboBox);
fillComboBox(mUi->onAcActionComboBox);
fillComboBox(mUi->extMonOnBatteryActionComboBox);
fillComboBox(mUi->extMonOnAcActionComboBox);
connect(mUi->lidWatcherSettingsGroupBox, &QGroupBox::clicked, this, &LidWatcherSettings::saveSettings);
connect(mUi->onBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->onAcActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonOnBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonOnAcActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonGroupBox, &QGroupBox::clicked, this, &LidWatcherSettings::saveSettings);
}
LidWatcherSettings::~LidWatcherSettings()
{
delete mUi;
}
void LidWatcherSettings::loadSettings()
{
mUi->lidWatcherSettingsGroupBox->setChecked(mSettings.isLidWatcherEnabled());
setComboBoxToValue(mUi->onBatteryActionComboBox, mSettings.getLidClosedAction());
setComboBoxToValue(mUi->onAcActionComboBox, mSettings.getLidClosedAcAction());
mUi->extMonGroupBox->setChecked(mSettings.isEnableExtMonLidClosedActions());
setComboBoxToValue(mUi->extMonOnBatteryActionComboBox, mSettings.getLidClosedExtMonAction());
setComboBoxToValue(mUi->extMonOnAcActionComboBox, mSettings.getLidClosedExtMonAcAction());
}
void LidWatcherSettings::saveSettings()
{
mSettings.setLidWatcherEnabled(mUi->lidWatcherSettingsGroupBox->isChecked());
mSettings.setLidClosedAction(currentValue(mUi->onBatteryActionComboBox));
mSettings.setLidClosedAcAction(currentValue(mUi->onAcActionComboBox));
mSettings.setEnableExtMonLidClosedActions(mUi->extMonGroupBox->isChecked());
mSettings.setLidClosedExtMonAction(currentValue(mUi->extMonOnBatteryActionComboBox));
mSettings.setLidClosedExtMonAcAction(currentValue(mUi->extMonOnAcActionComboBox));
}

View File

@ -0,0 +1,58 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef LIDSETTINGS_H
#define LIDSETTINGS_H
#include <QWidget>
#include <LXQt/Settings>
#include "powermanagementsettings.h"
namespace Ui {
class LidWatcherSettings;
}
class LidWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit LidWatcherSettings(QWidget *parent = nullptr);
~LidWatcherSettings() override;
public slots:
void loadSettings();
private slots:
void saveSettings();
private:
PowerManagementSettings mSettings;
Ui::LidWatcherSettings *mUi;
};
#endif // LIDSETTINGS_H

View File

@ -0,0 +1,149 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LidWatcherSettings</class>
<widget class="QWidget" name="LidWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>276</width>
<height>289</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox QGroupBox {
border: none;
padding-top: 30px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="lidWatcherSettingsGroupBox">
<property name="title">
<string>Enable &amp;Lid Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Action when lid is closed:</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="onBatteryActionLabel">
<property name="text">
<string>On Battery:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="onBatteryActionComboBox">
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate</string>
</property>
</item>
<item>
<property name="text">
<string>Shut down</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="onAcActionLabel">
<property name="text">
<string>On AC:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="onAcActionComboBox"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="extMonGroupBox">
<property name="title">
<string>When &amp;using external monitor</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="1" column="0">
<widget class="QLabel" name="extMonOnBatteryActionLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>On Battery:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="extMonOnBatteryActionComboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="extMonOnAcActionLabel">
<property name="text">
<string>On AC:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="extMonOnAcActionComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Exec=lxqt-config-powermanagement
Icon=preferences-system-power-management
Categories=Settings;DesktopSettings;Qt;LXQt;
OnlyShowIn=LXQt;
#TRANSLATIONS_DIR=translations

View File

@ -0,0 +1,56 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <LXQt/Globals>
#include <LXQt/SingleApplication>
#include <QCommandLineParser>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
LXQt::SingleApplication a(argc, argv);
a.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCommandLineParser parser;
parser.setApplicationDescription(QStringLiteral("LXQt Config Powermanagement"));
const QString VERINFO = QStringLiteral(LXQT_POWERMANAGEMENT_VERSION
"\nliblxqt " LXQT_VERSION
"\nQt " QT_VERSION_STR);
a.setApplicationVersion(VERINFO);
parser.addVersionOption();
parser.addHelpOption();
parser.process(a);
MainWindow mainWindow;
mainWindow.setWindowIcon(QIcon::fromTheme(QSL("preferences-system-power-management")));
mainWindow.show();
a.setActivationWindow(&mainWindow);
return a.exec();
}

View File

@ -0,0 +1,56 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include "mainwindow.h"
#include "lidwatchersettings.h"
#include "batterywatchersettings.h"
#include "idlenesswatchersettings.h"
#include "powerkeyssettings.h"
#include <LXQt/Globals>
MainWindow::MainWindow(QWidget *parent) :
LXQt::ConfigDialog(tr("Power Management Settings"), new PowerManagementSettings(parent))
{
BatteryWatcherSettings* batteryWatcherSettings = new BatteryWatcherSettings(this);
addPage(batteryWatcherSettings, tr("Battery"), QSL("battery"));
connect(this, &MainWindow::reset, batteryWatcherSettings, &BatteryWatcherSettings::loadSettings);
LidWatcherSettings *lidwatcherSettings = new LidWatcherSettings(this);
addPage(lidwatcherSettings, tr("Lid"), QSL("laptop-lid"));
connect(this, &MainWindow::reset, lidwatcherSettings, &LidWatcherSettings::loadSettings);
IdlenessWatcherSettings* idlenessWatcherSettings = new IdlenessWatcherSettings(this);
addPage(idlenessWatcherSettings, tr("Idle"), (QStringList() << QSL("user-idle") << QSL("user-away")));
connect(this, &MainWindow::reset, idlenessWatcherSettings, &IdlenessWatcherSettings::loadSettings);
PowerKeysSettings* powerKeysSettings = new PowerKeysSettings(this);
addPage(powerKeysSettings, tr("Power keys"), QSL("system-shutdown"));
connect(this, &MainWindow::reset, powerKeysSettings, &PowerKeysSettings::loadSettings);
emit reset();
}

View File

@ -0,0 +1,40 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <LXQt/ConfigDialog>
class MainWindow : public LXQt::ConfigDialog
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
};
#endif // MAINWINDOW_H

View File

@ -0,0 +1,63 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2020 LXQt team
* Authors:
* Pedro L. Lucas <selairi@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include "powerkeyssettings.h"
#include "ui_powerkeyssettings.h"
#include "helpers.h"
PowerKeysSettings::PowerKeysSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::PowerKeysSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->powerKeyActionComboBox);
fillComboBox(mUi->suspendKeyActionComboBox);
fillComboBox(mUi->hibernateKeyActionComboBox);
connect(mUi->powerKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
connect(mUi->suspendKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
connect(mUi->hibernateKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
}
PowerKeysSettings::~PowerKeysSettings()
{
}
void PowerKeysSettings::loadSettings()
{
setComboBoxToValue(mUi->powerKeyActionComboBox, mSettings.getPowerKeyAction());
setComboBoxToValue(mUi->suspendKeyActionComboBox, mSettings.getSuspendKeyAction());
setComboBoxToValue(mUi->hibernateKeyActionComboBox, mSettings.getHibernateKeyAction());
}
void PowerKeysSettings::saveSettings()
{
mSettings.setPowerKeyAction(currentValue(mUi->powerKeyActionComboBox));
mSettings.setSuspendKeyAction(currentValue(mUi->suspendKeyActionComboBox));
mSettings.setHibernateKeyAction(currentValue(mUi->hibernateKeyActionComboBox));
}

View File

@ -0,0 +1,59 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2020 LXQt team
* Authors:
* Pedro L. Lucas <selairi@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef POWER_KEYS_SETTINGS_H
#define POWER_KEYS_SETTINGS_H
#include <QGroupBox>
#include <LXQt/Settings>
#include "powermanagementsettings.h"
namespace Ui {
class PowerKeysSettings;
}
class PowerKeysSettings : public QWidget
{
Q_OBJECT
public:
explicit PowerKeysSettings(QWidget *parent = nullptr);
~PowerKeysSettings() override;
public Q_SLOTS:
void loadSettings();
private Q_SLOTS:
void saveSettings();
private:
PowerManagementSettings mSettings;
Ui::PowerKeysSettings *mUi;
};
#endif // POWER_KEYS_SETTINGS_H

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PowerKeysSettings</class>
<widget class="QWidget" name="PowerKeysSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Handle Power Keys</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="powerKeyLabel">
<property name="text">
<string>Power Key Action:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="powerKeyActionComboBox"/>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="suspendKeyActionComboBox"/>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="hibernateKeyActionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="suspendKeyLabel">
<property name="text">
<string>Suspend Key Action:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="hibernateKeyLabel">
<property name="text">
<string>Hibernate Key Action:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,361 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
*
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QDebug>
#include <LXQt/Power>
#include "powermanagementsettings.h"
// the pause state is only for the tray icon and is not saved
bool PowerManagementSettings::mIdlenessWatcherPaused = false;
namespace PowerManagementSettingsConstants
{
const QString RUN_CHECK_LEVEL { QSL("runCheckLevel") };
const QString ENABLE_BATTERY_WATCHER_KEY { QSL("enableBatteryWatcher") };
const QString ENABLE_LID_WATCHER_KEY { QSL("enableLidWatcher") };
const QString ENABLE_IDLENESS_WATCHER_KEY { QL1S("enableIdlenessWatcher") };
const QString ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY { QL1S("enableIdlenessBacklightWatcher") };
const QString LID_CLOSED_ACTION_KEY { QL1S("lidClosedAction") };
const QString LID_CLOSED_AC_ACTION_KEY { QL1S("lidClosedAcAction") };
const QString LID_CLOSED_EXT_MON_ACTION_KEY { QL1S("lidClosedExtMonAction") };
const QString LID_CLOSED_EXT_MON_AC_ACTION_KEY { QL1S("lidClosedExtMonAcAction") };
const QString ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY { QL1S("enableExtMonLidClosedActions") };
const QString POWER_LOW_ACTION_KEY { QL1S("powerLowAction") };
const QString POWER_LOW_WARNING_KEY { QL1S("powerLowWarning") };
const QString POWER_LOW_LEVEL_KEY { QL1S("powerLowLevel") };
const QString SHOW_ICON_KEY { QL1S("showIcon") };
const QString USE_THEME_ICONS_KEY { QL1S("useThemeIcons") };
const QString IDLENESS_AC_ACTION_KEY { QL1S("idlenessACAction") };
const QString IDLENESS_AC_TIME { QL1S("idlenessACTime") };
const QString IDLENESS_BATTERY_ACTION_KEY { QL1S("idlenessBatteryAction") };
const QString IDLENESS_BATTERY_TIME { QL1S("idlenessBatteryTime") };
const QString IDLENESS_BACKLIGHT_TIME { QL1S("idlenessTime") };
const QString IDLENESS_BACKLIGHT { QL1S("backlightIdleness") };
const QString IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING { QL1S("backlightIdlenessOnBatteryDischarging") };
const QString DISABLE_IDLENESS_WHEN_FULLSCREEN { QL1S("disableIdlenessWhenFullscreen") };
const QString POWER_KEY_ACTION { QL1S("powerKeyAction") };
const QString SUSPEND_KEY_ACTION { QL1S("suspendKeyAction") };
const QString HIBERNATE_KEY_ACTION { QL1S("hibernateKeyAction") };
}
using namespace PowerManagementSettingsConstants;
PowerManagementSettings::PowerManagementSettings(QObject* parent) : LXQt::Settings(QSL("lxqt-powermanagement"), parent)
{
}
PowerManagementSettings::~PowerManagementSettings()
{
}
int PowerManagementSettings::getRunCheckLevel()
{
return value(RUN_CHECK_LEVEL, 0).toInt();
}
void PowerManagementSettings::setRunCheckLevel(int newLevel)
{
setValue(RUN_CHECK_LEVEL, newLevel);
}
bool PowerManagementSettings::isBatteryWatcherEnabled()
{
return value(ENABLE_BATTERY_WATCHER_KEY, true).toBool();
}
void PowerManagementSettings::setBatteryWatcherEnabled(bool batteryWatcherEnabled)
{
setValue(ENABLE_BATTERY_WATCHER_KEY, batteryWatcherEnabled);
}
int PowerManagementSettings::getPowerLowAction()
{
return value(POWER_LOW_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setPowerLowAction(int powerLowAction)
{
setValue(POWER_LOW_ACTION_KEY, powerLowAction);
}
int PowerManagementSettings::getPowerLowLevel()
{
return value(POWER_LOW_LEVEL_KEY, 5).toInt();
}
void PowerManagementSettings::setPowerLowLevel(int powerLowLevel)
{
setValue(POWER_LOW_LEVEL_KEY, powerLowLevel);
}
int PowerManagementSettings::getPowerLowWarningTime()
{
return value(POWER_LOW_WARNING_KEY, 30).toInt();
}
void PowerManagementSettings::setPowerLowWarningTime(int powerLowWarningTime)
{
setValue(POWER_LOW_WARNING_KEY, powerLowWarningTime);
}
bool PowerManagementSettings::isShowIcon()
{
return value(SHOW_ICON_KEY, true).toBool();
}
void PowerManagementSettings::setShowIcon(bool showIcon)
{
setValue(SHOW_ICON_KEY, showIcon);
}
bool PowerManagementSettings::isUseThemeIcons()
{
return value(USE_THEME_ICONS_KEY, false).toBool();
}
void PowerManagementSettings::setUseThemeIcons(bool useThemeIcons)
{
setValue(USE_THEME_ICONS_KEY, useThemeIcons);
}
bool PowerManagementSettings::isLidWatcherEnabled()
{
return value(ENABLE_LID_WATCHER_KEY, true).toBool();
}
void PowerManagementSettings::setLidWatcherEnabled(bool lidWatcherEnabled)
{
setValue(ENABLE_LID_WATCHER_KEY, lidWatcherEnabled);
}
int PowerManagementSettings::getLidClosedAcAction()
{
return value(LID_CLOSED_AC_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedAcAction(int lidClosedAcAction)
{
setValue(LID_CLOSED_AC_ACTION_KEY, lidClosedAcAction);
}
int PowerManagementSettings::getLidClosedAction()
{
return value(LID_CLOSED_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedAction(int lidClosedAction)
{
setValue(LID_CLOSED_ACTION_KEY, lidClosedAction);
}
int PowerManagementSettings::getLidClosedExtMonAcAction()
{
return value(LID_CLOSED_EXT_MON_AC_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedExtMonAcAction(int lidClosedExtMonAcAction)
{
setValue(LID_CLOSED_EXT_MON_AC_ACTION_KEY, lidClosedExtMonAcAction);
}
int PowerManagementSettings::getLidClosedExtMonAction()
{
return value(LID_CLOSED_EXT_MON_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedExtMonAction(int lidClosedExtMonAction)
{
setValue(LID_CLOSED_EXT_MON_ACTION_KEY, lidClosedExtMonAction);
}
bool PowerManagementSettings::isEnableExtMonLidClosedActions()
{
return value(ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY, 0).toBool();
}
void PowerManagementSettings::setEnableExtMonLidClosedActions(bool enableExtMonLidClosedActions)
{
setValue(ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY, enableExtMonLidClosedActions);
}
bool PowerManagementSettings::isIdlenessWatcherEnabled()
{
return value(ENABLE_IDLENESS_WATCHER_KEY, false).toBool();
}
void PowerManagementSettings::setIdlenessWatcherEnabled(bool idlenessWatcherEnabled)
{
setValue(ENABLE_IDLENESS_WATCHER_KEY, idlenessWatcherEnabled);
}
int PowerManagementSettings::getIdlenessACAction()
{
// defaults to nothing (-1) and eventually load legacy value
int oldValue = value(QL1S("idlenessAction"), -1).toInt();
return value(IDLENESS_AC_ACTION_KEY, oldValue).toInt();
}
void PowerManagementSettings::setIdlenessACAction(int idlenessAction)
{
setValue(IDLENESS_AC_ACTION_KEY, idlenessAction);
}
QTime PowerManagementSettings::getIdlenessACTime()
{
// 1. The default value is 15 minutes (the legacy key is also read);
// 2. Intervals greater than or equal to one hour aren't supported; and
// 3. Intervals smaller than one minute are prevented.
int oldValue = qBound(60, value(QL1S("idlenessTimeSecs"), 900).toInt(), 3599);
int m = oldValue / 60;
int s = oldValue - m * 60;
return value(IDLENESS_AC_TIME, QTime(0, m, s)).toTime();
}
void PowerManagementSettings::setIdlenessACTime(QTime idlenessTime)
{
setValue(IDLENESS_AC_TIME, idlenessTime);
}
int PowerManagementSettings::getIdlenessBatteryAction()
{
// defaults to nothing (-1) and eventually load legacy value
int oldValue = value(QL1S("idlenessAction"), -1).toInt();
return value(IDLENESS_BATTERY_ACTION_KEY, oldValue).toInt();
}
void PowerManagementSettings::setIdlenessBatteryAction(int idlenessAction)
{
setValue(IDLENESS_BATTERY_ACTION_KEY, idlenessAction);
}
QTime PowerManagementSettings::getIdlenessBatteryTime()
{
// 1. The default value is 15 minutes (the legacy key is also read);
// 2. Intervals greater than or equal to one hour aren't supported; and
// 3. Intervals smaller than one minute are prevented.
int oldValue = qBound(60, value(QL1S("idlenessTimeSecs"), 900).toInt(), 3599);
int m = oldValue / 60;
int s = oldValue - m * 60;
return value(IDLENESS_BATTERY_TIME, QTime(0, m, s)).toTime();
}
void PowerManagementSettings::setIdlenessBatteryTime(QTime idlenessTime)
{
setValue(IDLENESS_BATTERY_TIME, idlenessTime);
}
bool PowerManagementSettings::isIdlenessBacklightWatcherEnabled()
{
return value(ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY, false).toBool();
}
void PowerManagementSettings::setIdlenessBacklightWatcherEnabled(bool idlenessBacklightWatcherEnabled)
{
setValue(ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY, idlenessBacklightWatcherEnabled);
}
QTime PowerManagementSettings::getIdlenessBacklightTime()
{
// default to 1 minute
return value(IDLENESS_BACKLIGHT_TIME, QTime(0, 1)).toTime();
}
void PowerManagementSettings::setIdlenessBacklightTime(QTime idlenessBacklightTime)
{
setValue(IDLENESS_BACKLIGHT_TIME, idlenessBacklightTime);
}
int PowerManagementSettings::getBacklight()
{
return value(IDLENESS_BACKLIGHT, 50).toInt();
}
void PowerManagementSettings::setBacklight(int backlight)
{
setValue(IDLENESS_BACKLIGHT, backlight);
}
bool PowerManagementSettings::isIdlenessBacklightOnBatteryDischargingEnabled()
{
return value(IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING, true).toBool();
}
void PowerManagementSettings::setIdlenessBacklightOnBatteryDischargingEnabled(bool enabled)
{
setValue(IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING, enabled);
}
bool PowerManagementSettings::isDisableIdlenessWhenFullscreenEnabled()
{
return value(DISABLE_IDLENESS_WHEN_FULLSCREEN, false).toBool();
}
void PowerManagementSettings::setDisableIdlenessWhenFullscreen(bool enabled)
{
setValue(DISABLE_IDLENESS_WHEN_FULLSCREEN, enabled);
}
int PowerManagementSettings::getPowerKeyAction()
{
return value(POWER_KEY_ACTION, LXQt::Power::Action::PowerShutdown).toInt();
}
void PowerManagementSettings::setPowerKeyAction(int action)
{
setValue(POWER_KEY_ACTION, action);
}
int PowerManagementSettings::getSuspendKeyAction()
{
return value(SUSPEND_KEY_ACTION, LXQt::Power::Action::PowerSuspend).toInt();
}
void PowerManagementSettings::setSuspendKeyAction(int action)
{
setValue(SUSPEND_KEY_ACTION, action);
}
int PowerManagementSettings::getHibernateKeyAction()
{
return value(HIBERNATE_KEY_ACTION, LXQt::Power::Action::PowerHibernate).toInt();
}
void PowerManagementSettings::setHibernateKeyAction(int action)
{
setValue(HIBERNATE_KEY_ACTION, action);
}
bool PowerManagementSettings::isIdlenessWatcherPaused() const
{
return mIdlenessWatcherPaused;
}
void PowerManagementSettings::setIdlenessWatcherPaused(bool idlenessWatcherPaused) {
mIdlenessWatcherPaused = idlenessWatcherPaused;
}

View File

@ -0,0 +1,133 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef COMMON_H
#define COMMON_H
#include <QComboBox>
#include <QString>
#include <QTime>
#include <LXQt/Settings>
class PowerManagementSettings : public LXQt::Settings
{
Q_OBJECT
public:
PowerManagementSettings(QObject* parent = nullptr);
~PowerManagementSettings() override;
int getRunCheckLevel();
void setRunCheckLevel(int newLevel);
bool isBatteryWatcherEnabled();
void setBatteryWatcherEnabled(bool batteryWatcherEnabled);
int getPowerLowAction();
void setPowerLowAction(int powerLowAction);
int getPowerLowLevel();
void setPowerLowLevel(int powerLowLevel);
int getPowerLowWarningTime();
void setPowerLowWarningTime(int powerLowWarningTime);
bool isShowIcon();
void setShowIcon(bool showIcon);
bool isUseThemeIcons();
void setUseThemeIcons(bool useThemeIcons);
bool isLidWatcherEnabled();
void setLidWatcherEnabled(bool lidWatcherEnabled);
int getLidClosedAcAction();
void setLidClosedAcAction(int lidClosedAcAction);
int getLidClosedAction();
void setLidClosedAction(int lidClosedAction);
int getLidClosedExtMonAcAction();
void setLidClosedExtMonAcAction(int lidClosedExtMonAcAction);
int getLidClosedExtMonAction();
void setLidClosedExtMonAction(int lidClosedExtMonAction);
bool isEnableExtMonLidClosedActions();
void setEnableExtMonLidClosedActions(bool enableExtMonLidClosedActions);
bool isIdlenessWatcherEnabled();
void setIdlenessWatcherEnabled(bool idlenessWatcherEnabled);
int getIdlenessACAction();
void setIdlenessACAction(int idlenessAction);
QTime getIdlenessACTime();
void setIdlenessACTime(QTime idlenessTime);
int getIdlenessBatteryAction();
void setIdlenessBatteryAction(int idlenessAction);
QTime getIdlenessBatteryTime();
void setIdlenessBatteryTime(QTime idlenessTime);
bool isIdlenessBacklightWatcherEnabled();
void setIdlenessBacklightWatcherEnabled(bool idlenessBacklightWatcherEnabled);
QTime getIdlenessBacklightTime();
void setIdlenessBacklightTime(QTime idlenessBacklightTime);
int getBacklight();
void setBacklight(int backlight);
bool isIdlenessBacklightOnBatteryDischargingEnabled();
void setIdlenessBacklightOnBatteryDischargingEnabled(bool enabled);
bool isDisableIdlenessWhenFullscreenEnabled();
void setDisableIdlenessWhenFullscreen(bool enabled);
int getPowerKeyAction();
void setPowerKeyAction(int action);
int getSuspendKeyAction();
void setSuspendKeyAction(int action);
int getHibernateKeyAction();
void setHibernateKeyAction(int action);
bool isIdlenessWatcherPaused() const;
void setIdlenessWatcherPaused(bool idlenessWatcherPaused);
private:
static bool mIdlenessWatcherPaused;
};
#endif // COMMON_H

View File

@ -0,0 +1,3 @@
project(lxqt-config-powermanagement)
build_component("." "")

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Power Management"
Desktop Entry/GenericName: "Power Management Settings"
Desktop Entry/Comment: "Various settings regarding Power Management like battery or idleness watcher"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "إدارة الطّاقة"
Desktop Entry/GenericName: "إعدادات إدارة الطّاقة"
Desktop Entry/Comment: "عدّة إعدادات لإدارة الطّاقة مثل مراقبات البطّاريّة أو الخمول"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>إعدادات مراقب البطارية</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>ف&amp;عّل مراقب البطارية</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>التحذير:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> ثا</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>المستوى منخفض عند:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> ٪</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>استخدم الأيقونات من السمة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>معاينة</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>الشحن</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>تفريغ الشحن</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>عندما تكون البطارية منخفضة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>اعرض الأيقونة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>مضمّنة</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>المستوى: %1٪</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>ف&amp;عّل مراقب الخمول</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>وقت الخمول:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>ف&amp;عّل مراقب الغطاء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>:الإجراء عند إطباق الغطاء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>:على البطارية</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>لا شيء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>علّق</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>أسبِت</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>أطفِئ</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>:على محوّل الطاقة</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>عند استخدام شاشة &amp;خارجية</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>إعدادات إدارة الطاقة</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>البطارية</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>الغطاء</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>الخمول</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>لا شيء</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>اقفل الشاشة</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>علّق</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>أسبِت</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>أطفِئ</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>أطفِئ الشاشة/الشاشات</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="arn">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,212 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ast">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Axustes del supervidor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Ac&amp;tivar el supervisor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Alvertir:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivel ye baxu al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usar los iconos del estilu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Previsualización</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cuando&apos;l nivel de batería seya baxu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Amosar l&apos;iconu</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Activar el supervisor d&apos;inactividá</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="38"/>
<source>When idle then:</source>
<translation>Al haber inactividá:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="57"/>
<source>Idle time:</source>
<translation>Tiempu d&apos;inactividá:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="70"/>
<source> minutes</source>
<translation> minutos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>L&apos;aición al baxar la tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Cola batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Ivernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Col cargador:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Al &amp;usar una pantalla esterna</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="36"/>
<source>Power Management Settings</source>
<translation>Axustes de la xestión d&apos;enerxía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="39"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Idle</source>
<translation>Inactividá</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Lock screen</source>
<translation>Bloquiar la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Ivernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar pantalles</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Управление на захранването"
Desktop Entry/GenericName: "Настройки на управление на захранването"
Desktop Entry/Comment: "Настройки на поведение при бездействие, натиснат бутон за изключване, ниво на батерия и други"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bg">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Настройки на монитор на батерията</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Активиране на монитор на батерията</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Продължителност на предупреждение:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> секунди</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Предупреждение при ниво на батерията:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Използване на иконата от системния стил:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Предварителен преглед</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Зареждане</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Разреждане</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Действие при ниско ниво на батерията:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Показване на икона в панела:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>вградена</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Заредена: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Активиране на монитор за бездействие</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Продължителност на бездействие:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Позволяване променяне на осветеност на екрана</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Осветеност (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Минути:Секунди</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Проверка на осветеност</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>При разреждане на батерията </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Активиране на монитор за състоянието на екрана</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Действие при затваряне на екрана:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>На батерия:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Нищо</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Приспиване</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Хибернация</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Изключване</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>В захранване:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;При използване на външен монитор</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Настройки на управление на захранването</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Батерия</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Екран</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Бездействие</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Бутони на захранването</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Управление на бутони на захранването</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Бутон за включване:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Бутон приспиване:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Бутон хибернация:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Нищо</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Запитване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Заключване на екрана</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Приспиване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Хибернация</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Изключване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Изключване на монитор</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestió de l'energia"
Desktop Entry/GenericName: "Ajusts de la gestió de l'energia"
Desktop Entry/Comment: "Diversos ajusts pel que fa a la gestió de l'energia com la bateria o l'observador de l'ociositat"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ca">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Ajusts de l&apos;observador de la bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Habilita l&apos;observador de la bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Advertència:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segons</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivell és baix al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utilitza les icones del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista prèvia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Càrrega</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descàrrega</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quan l&apos;energia sigui baixa aleshores:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostra la icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrada</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivell: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Habi&amp;lita l&apos;observador de l&apos;ociositat</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Temps d&apos;inactivitat:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Habi&amp;lita l&apos;observador de la tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acció quan la tapa és tancada:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Amb bateria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Res</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspèn</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hiberna</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apaga</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Amb CA:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Quan s&apos;&amp;utilitzi un monitor extern</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Ajusts de la gestió de l&apos;energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactiu</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Res</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloqueja la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspèn</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hiberna</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apaga</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apaga els monitors</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Správa napájení"
Desktop Entry/GenericName: "Nastavení správy napájení"
Desktop Entry/Comment: "Různá nastavení ohledně správy napájení, jako je stav akumulátoru a přechod do úsporného režimu při nečinnosti"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="cs">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Nastavení sledování akumulátoru</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Sledovat stav akumulátoru</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Varování:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekund</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Téměř vybito je při:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Použít ikony z motivu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Náhled</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Nabíjí se</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Vybíjí se</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Při téměř vybitém akumulátoru:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Zobrazovat ikonu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>vestavěno</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nabití: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>S&amp;ledovat nečinnost (chod naprázdno)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Doba trvání nečinnosti:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Povolit změnu podsvícení</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Při nečinnosti na baterii:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Doba nečinnosti baterie:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Podsvícení (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuty:Sekundy</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Při nečinnosti při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Doba nečinnosti při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuty:Sekundy (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Zkontrolovat podsvícení</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Při vybíjení baterie </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Zakázat kontroly nečinnosti při zobrazení na celou obrazovku</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>S&amp;ledovat víko obrazovky</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Akce při zavření víka:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Při napájení z akumulátoru:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nic</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Uspat do paměti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Uspat na disk</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Vypnout</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Při po&amp;užívání externí obrazovky</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Nastavení správy napájení</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akumulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Víko</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Nečinný</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Klávesy napájení</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulář</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Zacházení s vypínacími klávesami</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Akce při stisknutí klávesy napájení:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Akce při stisknutí klávesy pro uspání:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Akce při stisknutí klávesy pro uspání na disk:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nic</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Zeptat se</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Uzamknout obrazovku</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Uspat do paměti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Uspat na disk</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Vypnout</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Vypnout monitor(y)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="cy">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Strømstyring"
Desktop Entry/GenericName: "Indstillinger for strømstyring"
Desktop Entry/Comment: "Diverse indstillinger omhandlende strømstyring, såsom batteri- eller tomgangsovervågning"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="da">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Indstillinger for overvågning af batteri</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktivér overvågning af batteri</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Advarsel:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekunder</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Niveau er lavt ved:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Brug ikoner fra tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Forhåndsvisning</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Oplader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Aflader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Når strøm er lavt:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Vis ikon:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>indbygget</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Niveau: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Aktivér overvågning af inaktivitet</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Inaktivitetstid:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktivér ændring af baggrundsbelysning</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Når inaktiv batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Inaktivitetstid for batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Baggrundsbelysning (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutter:Sekunder</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Når inaktiv strømforsyning:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Inaktivitetstid for strømforsyning:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>minutter:sekunder (minimum: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tjek baggrundsbelysning</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Når batteriet aflades </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Deaktivér tjek af inaktivetet når i fuldskærm</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Aktivér overvågning af låg</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Handling når låget lukkes:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation> batteri:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Intet</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Luk ned</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation> strømforsyning:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Når der bruges ekstern skærm</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Indstillinger for strømstyring</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batteri</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Låg</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inaktivitet</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Strømtaster</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Håndter strømtaster</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Handling for strømtast:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Handling for suspendertast:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Handling for dvaletast:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Intet</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Spørg</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lås skærm</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Luk ned</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Sluk skærm(e)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Energieverwaltung"
Desktop Entry/GenericName: "Einstellungen der Energieverwaltung"
Desktop Entry/Comment: "Verschiedene Einstellungen zur Energieverwaltung wie Batterie- oder Leerlaufüberwachung"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Einstellungen zur Batterieüberwachung</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktiviere Batterieüberwachung</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Warnung:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> Sekunden</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Niedriger Ladezustand bei:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Nutze Symbole des Themas:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vorschau</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Aufladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Entladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Bei niedrigem Ladestand:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Symbol anzeigen:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>eingebaut</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Ladezustand: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Leerlaufüberwachung aktivieren</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Leerlaufzeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Änderung der Hintergrundbeleuchtung aktivieren</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>im Akku-Betrieb:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Akkuentladezeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Bildschirmhelligkeit (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuten:Sekunden</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Im Netzbetrieb:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Netzlaufzeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuten:Sekunden (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Hintergrundbeleuchtung prüfen</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Beim Entladen der Batterie </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Ladezustandskontrolle ausschalten im Vollbildmodus</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Aktiviere Deckelüberwachung</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Aktion bei geschlossenem Deckel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Batteriebetrieb:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nichts</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Bereitschaftszustand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Ruhezustand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Herunterfahren</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Am Netz:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Bei &amp;Verwendung eines externen Bildschirms</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Einstellungen der Energieverwaltung</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batterie</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Deckel</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Leerlauf</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Ein/Aus-Tasten</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Bearbeite Schalter</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Schalteraktion:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Bereitschaftszustand-Tastenaktion:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ruhezustand-Tastenaktion:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nichts</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Nachfragen</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Sperre Bildschirm</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Bereitschaft</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Ruhezustand</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Herunterfahren</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Bildschirm(e) ausschalten</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Διαχείριση ενέργειας"
Desktop Entry/GenericName: "Ρυθμίσεις της διαχείρισης ενέργειας"
Desktop Entry/Comment: "Διάφορες ρυθμίσεις σχετικά με την διαχείριση ενέργειας όπως ο επόπτης μπαταρίας ή αδράνειας"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Ρυθμίσεις του επόπτη συσσωρευτή</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Ενεργοποίηση του επόπτη του συσσωρευτή</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Προειδοποίηση:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> δευτερόλεπτα</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Το επίπεδο είναι χαμηλό στο:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Χρήση των εικονιδίων από το θέμα:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Προεπισκόπηση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Φόρτιση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Αποφόρτιση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Όταν η φόρτιση είναι χαμηλή:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Εμφάνιση του εικονιδίου:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>ενσωματωμένο</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Επίπεδο: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ενεργοποίηση του επόπτη α&amp;δράνειας</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Χρόνος αδράνειας:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Ενεργοποίηση της αλλαγής του οπισθοφωτός</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Κατά την αδράνεια σε λειτουργία συσσωρευτή:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Χρόνος αδράνειας σε συσσωρευτή:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Οπισθόφως (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Λεπτά:Δευτερόλεπτα</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>λλ:δδ</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Κατά την αδράνεια σε λειτουργία τροφοδοτικού AC:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Χρόνος αδράνειας σε AC:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Λεπτά:Δευτερόλεπτα (λεπ: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Έλεγχος οπισθοφωτός</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Κατά την αποφόρτιση του συσσωρευτή </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Απενεργοποίηση των ελέγχων αδράνειας σε λειτουργία πλήρους οθόνης</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ενεργοποίηση του επόπτη &amp;καλύμματος</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Ενέργεια κατά το κλείσιμο του καλύμματος:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Σε συσσωρευτή:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Τίποτα</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Τερματισμός</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Σε τροφοδοτικό AC:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Όταν χρησιμοποιείται εξωτερική ο&amp;θόνη</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Ρυθμίσεις της διαχείρισης ενέργειας</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Συσσωρευτής</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Κάλυμμα φορητού</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Αδρανής</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Πλήκτρα τροφοδοσίας</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Φόρμα</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Διαχείριση των πλήκτρων τροφοδοσίας</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Ενέργεια του πλήκτρου τροφοδοσίας:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Ενέργεια του πλήκτρου αναστολής:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ενέργεια του πλήκτρου νάρκωσης:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Τίποτα</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Ερώτηση</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Κλείδωμα οθόνης</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Τερματισμός</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Απενεργοποίηση των οθονών</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestión de energía"
Desktop Entry/GenericName: "Configuración de la gestión de energía"
Desktop Entry/Comment: "Configuraciones varias relacionadas con la gestión de energía, como la batería o el monitor de inactividad"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Configuración del monitor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Activar el mo&amp;nitor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivel es bajo al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utilizar iconos del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista previa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Cargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cuando la carga sea baja:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostrar icono:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrado</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1&#xa0;%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Habi&amp;litar el monitor de inactividad</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tiempo para inactividad:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Activar cambio de retroiluminación</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>En caso de inactividad, con batería:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Retroiluminación (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutos:Segundos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>En caso de inactividad, con CA:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutos:Segundos (mínimo: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Comprobar retroiluminación</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Al descargarse la batería </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Deshabilitar las comprobaciones de inactividad en pantalla completa</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Habi&amp;litar el monitor de la tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acción al cerrar la tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>En batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Enchufado:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Al &amp;usar un monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Configuración de la gestión de energía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactividad</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Teclas de apagado</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulario</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Administrar teclas de apagado</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Acción de tecla de apagado:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Acción de tecla de suspensión:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Acción de tecla de hibernación:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Preguntar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar el monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Toitehaldus"
Desktop Entry/GenericName: "Toitehalduse seadistused"
Desktop Entry/Comment: "Erinevad seadistused, mis seostuvad toitehaldusega, aku kasutusega ja arvuti ooteajaga"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="et">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akuoleku jälgija seadistused</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Võta &amp;kasutusele akuoleku jälgija</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Hoiatus:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekundit</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Madal aku laetuse tase on:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Kasuta ikoone sellest teemast:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Eelvaade</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Laen akut</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Aku tühjeneb</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Madala akutaseme puhul:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Näita ikooni:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>sisseehitatud</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Tase: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Kasuta &amp;jõudeoleku jälgijat</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Jõudeaeg on:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Kasuta taustavalguse muutmist</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Jõudeolek akutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Jõudeoleku aeg akutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Taustavalgus (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutit:sekundit</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Jõudeolek võrgutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Jõudeoleku aeg võrgutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutit:sekundit (vähemalt 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Kontrolli taustavalgust</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Kui aku on tühjenemas </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Kui mõni rakendus on täisekraanivaates, siis ära kasuta jõudeoleku seadistusi</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Kasuta &amp;kaane jälgijat</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Tegevus kaane sulgemisel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akutoitel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ära tee midagi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Vaju unne</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Vaju sügavasse unne</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Seiska</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Võrgutoitel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kui kasutad &amp;täiendavat monitori</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Toitehalduse seadistused</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Aku</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kaas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Ootel</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Toitenupud</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Vorm</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Tegevused toitenupu vajutamisel</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Toitenupp:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Uinakunupu vajutamisel:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Sügava uinaku nupu vajutamisel:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ära tee midagi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Küsi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lukusta ekraan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Vaju unne</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Vaju sügavasse unne</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Seiska</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Lülita monitor(id) välja</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fi">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akunvalvonnan asetukset</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Ota käyttöön akun valvonta</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Varoitus:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekuntia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Latauksen alhainen taso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Käytä teeman kuvakkeita:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Esikatselu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Lataa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Purkaantuu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Kun virta on alhainen:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Näytä kuvake:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>sisäänrakennettu</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Taso: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ota käyttöön joutilaan ajan valvonta</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Joutilaana olo aika:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Ota käyttöön taustavalon muutos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Taustavalo (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuuttia:sekuntia</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tarkista taustavalo</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Kun akku purkaantuu </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ota käyttöön kannen valvonta</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Toiminto kun kansi suljetaan:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akkuvirralla:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ei mitään</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Lepotila</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Horrostila</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Sammuta</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Verkkovirralla:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kun ulkoisia näyttöjä on käytössä</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Virranhallinnan asetukset</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akku</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kansi</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Joutilas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Virtanäppäimet</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Käsittele virtanäppäimet</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>VIrtanäppäimen toiminto:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Lepotila-näppäimen toiminto:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Horrostilanäppäimen toiminto:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ei mitään</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Kysy</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lukitse näyttö</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Siirry lepotilaan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Siirry horrostilaan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Sammuta</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Sammuta näyttö/näytöt</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestion de l'énergie"
Desktop Entry/GenericName: "Paramétrage de la gestion de l'énergie"
Desktop Entry/Comment: "Divers paramétrages de la gestion de l'énergie, tels que batteries ou contrôle de l'activité"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Paramétrage de la surveillance de la batterie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Activer la surveillance de la batterie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quand la batterie est faible :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Avertissement :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> secondes</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Le niveau est faible pour :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Afficher l&apos;icône :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utiliser les icônes du thème :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Aperçu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>En cours de charge</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Décharge</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>intégré(e)</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Niveau : %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Configurer le comportement en cas d&apos;&amp;inactivité</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Temps d&apos;inactivité :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Activer le changement de rétroéclairage</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>En cas d&apos;inactivité sur batterie&#x202f;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Temps d&apos;inactivité sur batterie&#x202f;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Rétroéclairage (%) :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutes:Secondes</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>En cas d&apos;inactivité branché&#xa0;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Temps d&apos;inactivité branché&#xa0;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutes:Secondes (min&#xa0;: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Vérifier le rétroéclairage</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Lorsque la batterie se décharge </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Désactiver les contrôles d&apos;inactivité en plein écran</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Activer la &amp;surveillance du capot</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Action lorsque le capot est fermé :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Sur batterie :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspendre</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hiberner</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Arrêter</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Branché :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Utilisation d&apos;un moniteur externe</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Paramètres de gestion de l&apos;alimentation</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batterie</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Capot</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactivité</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Boutons d&apos;alimentation</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Forme</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Gérer les touches d&apos;alimentation</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Action des touches d&apos;alimentation :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Action de la touche suspendre :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Action de la touche hiberner :</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Demander</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Verrouiller l&apos;écran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspendre</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hiberner</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Arrêter</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Éteindre le(s) moniteur(s)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="gl">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Axustes da supervisión da batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Activar o supervisor da &amp;batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>O nivel está baixo ao:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usar as iconas do tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista previa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Cargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cando a carga sexa baixa:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Amosar a icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrada</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Activar o supervisor de &amp;inactividade</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo inactivo:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Activar o supervisor da &amp;tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acción ao pechar a tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Coa batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Non facer ren</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Con corrente:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Cando se &amp;utilice un monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Axustes da xestión de enerxía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactividade</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Non facer ren</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear a pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar o(s) monitor(es)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "ניהול צריכת חשמל"
Desktop Entry/GenericName: "הגדרות ניהול צריכת חשמל"
Desktop Entry/Comment: "הגדרות שונות בתחום צריכת החשמל כגון סוללה או מעקב אחר פעילות"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="he">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>הגדרות עוקב סוללה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>ה&amp;פעלת עוקב סוללה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>אזהרה:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> שניות</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>העצמה נמוכה בערך:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>שימוש בסמלים מערכת העיצוב:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>תצוגה מקדימה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>בטעינה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>בפריקה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>כאשר עצמת המתח יורדת מתחת ל־:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>הצגת סמל:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>מובנית</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>רמה: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>הפ&amp;עלת עוקב השהיה</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>זמן השהיה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>הפעלת שינוי תאורה אחורית</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>כשאין פעילות עם סוללה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>זמן חוסר פעילות על סוללה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>תאורה אחורית (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>שניות:דקות</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>כשאין פעילות בעת חיבור לחשמל:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>זמן חוסר פעילות בעת חיבור לחשמל:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>דקות:שניות (01:30 לכל הפחות)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>בדיקת התאורה האחורית</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>כאשר בפריקת הסוללה </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>להשבית בדיקות חוסר פעילות כשבמסך מלא</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>הפעלת עוקב &amp;כיסוי</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>פעולה כשהכיסוי נסגר:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>על סוללה:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>כלום</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>השהיה</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>תרדמת</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>כיבוי</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>עם חיבור לחשמל:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>בעת &amp;שימוש במסך חיצוני</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>הגדרות ניהול צריכת חשמל</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>סוללה</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>כיסוי</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>השהיה</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>מקשי הפעלה</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>טופס</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>טיפול במקשי ההפעלה</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>פעולת מקש הכיבוי:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>פעולת מקש ההשהיה:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>פעולת מקש התרדמת:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>כלום</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>לשאול</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>לנעול מסך</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>להשהות</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>תרדמת</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>לכבות</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>לכבות צגים</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Upravljanje energijom"
Desktop Entry/GenericName: "Upravljanje energijom Postavke"
Desktop Entry/Comment: "Razne postavke za upravljanje energijom, kao što su praćenja stanja baterije i stanja mirovanja"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hr">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Praćenje stanja baterije Postavke</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktiviraj praćenje stanja baterije</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Upozorenje:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> s</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Razina je niska pri:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Koristi ikone teme:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pregled</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Punjenje</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Pražnjenje</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Kad je razina niska, onda:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Prikaži ikonu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>ugrađeno</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Razina: %1 %</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Aktiviraj praćenje stanja mirovanja</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Vrijeme mirovanja:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktiviraj mijenjanje pozadinskog osvjetljenja</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Pozadinsko osvjetljenje (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minute:Sekunde</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Provjeri pozadinsko osvjetljenje</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pri pražnjenju baterije </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Aktiviraj &amp;praćenje stanja poklopca</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Radnja kad je poklopac zatvoren:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Napajanje baterijom:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ništa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Pripravno stanje</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Stanje mirovanja</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Isključi računalo</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Napajanje strujom:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kad se &amp;koristi vanjski monitor</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Upravljanje energijom Postavke</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterija</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Poklopac</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Mirovanje</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Gumbovi za stanja računala</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Obrazac</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Postavke gumbova za stanja računala</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Gumb za gašenje računala:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Gumb za pripravno stanje:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Gumb za stanje mirovanja:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ništa</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Pitaj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Zaključaj ekran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Pripravno stanje</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Stanje mirovanja</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Isključi računalo</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Ugasi monitore</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Energiakezelés"
Desktop Entry/GenericName: "Energiakezelés beállítások"
Desktop Entry/Comment: "Az energiagazdálkodással kapcsolatos különféle beállítások, például akkumulátor- vagy tétlenség-figyelő"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akkumulátorfigyelő beállítások</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Akkumulátor figyelő e&amp;ngedélyezése</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Figyelmeztetés:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> másodperc</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Alacsony energiaszint:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Ikonok használata a témából:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Előnézet</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Töltés</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Kisütés</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Alacsony energiaszintnél:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Ikon megjelenítése:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>beépített</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Szint: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Tétle&amp;nségi felügyelet engedélyezése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Háttérvilágítás-változtatás engedélyezése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished">Amikor nincs töltőn és tétlen:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Akkumulátor tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Háttérvilágítás (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Perc:másodperc</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Amikor külső tápon tétlen:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Külső táp tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Perc:másodperc (minimum: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Háttérvilágítás ellenőrzése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Az akkumulátor lemerüléséről </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Tétlenségi ellenőrzés kikapcsolás teljes képernyős alkalmazás esetén</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Fedé&amp;lfelügyelet engedélyezése</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Teendő lecsukáskor:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akkumulátor:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Semmi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernálás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Leállítás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Külső táp:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Külső monitor használatakor</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Energiakezelés beállítások</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akkumulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Fedél</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Tétlenség</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Bekapcsológombok</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Űrlap</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Bekapcsológombok kezelése</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Bekapcsológomb művelet:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Felfüggesztés gomb művelet:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Hibernálás gomb művelet:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Semmi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Kérdezze meg</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Zárolás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernálás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Leállítás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Monitor(ok) kikapcsolása</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="id">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Pengaturan Pemantau Baterai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Aktifkan Pemantau Baterai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Peringatan:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> detik</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Level rendah di:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Gunakan ikon dari tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pratayang</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Mengisi daya</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Pengosongan</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Saat daya rendah maka:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Tampilkan ikon:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>bawaan</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Level: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Aktifkan Pemantau Siaga</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Waktu siaga:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktifkan Perubahan Lampu Latar</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Lampur latar (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Menit:Detik</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished">mm:dd</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Memerika Lampu latar</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pada pengurasan batery </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Aktifkan Pemantau &amp;Lid</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Tindakan saat lid ditutup:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Pada Baterai:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Tidak ada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspensi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernasi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Matikan</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Pada AC:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Ketika mengunakan monitor eksternal</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Pengaturan Manajemen Daya</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterai</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Lid</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Siaga</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Borang</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Aksi Kunci Power:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Aksi Kunci Hibernasi:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Tidak ada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Kunci layar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspensi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernasi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Matikan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Matikan monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestore energia"
Desktop Entry/GenericName: "Impostazioni del risparmio energetico"
Desktop Entry/Comment: "Diverse impostazioni per il risparmio energetico "

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Impostazioni monitor batteria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Attiva il monitor della batteria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Tempo di attesa:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> secondi</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Livello basso :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usa icone del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Anteprima</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>In carica</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Scaricando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quando il livello è basso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostra icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>icone integrate</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Livello: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Attiva monitor attività sistema</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo di inattività:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Abilita cambiamento luminosità</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Se inattivo a batteria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Tempo di inattività a batteria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Luminosità (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuti:Secondi</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Se inattivo alimentato da rete:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Tempo di inattività alimentato da rete:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuti:Secondi (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Prova luminosità</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Con batteria in scaricamento </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Disattiva controlli di inattività quando a schermo intero</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Attiva monitor coperchio</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Azione a chiusura:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Alimentazione a batteria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Niente</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Spegni</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Alimentazione di rete:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Quando è in uso un monitor &amp;esterno</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Impostazioni gestore energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batteria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Coperchio</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inattività</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Tasti di alimentazione</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Gestisci tasti di alimentazione</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Azione tasto di accensione:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Azione tasto di sospensione:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Azione tasto di ibernazione:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nessuna azione</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Chiedi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Blocca schermo</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Spegni</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Spegni (tutti) monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "電源管理"
Desktop Entry/GenericName: "電源管理"
Desktop Entry/Comment: "LXQt 電源管理(バッテリー、ふた、アイドル状態など)を設定します"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>使:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation> (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>: (最小: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>使(&amp;U)</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>[]:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>[]:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>[]:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "전원 관리"
Desktop Entry/GenericName: "전원 관리 설정"
Desktop Entry/Comment: "배터리 또는 유휴 감시자와 같은 전원 관리와 관련된 다양한 설정"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation> (&amp;N)</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation> (&amp;L)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>(%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>AC에서 :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>: (: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation> </translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation> (&amp;L)</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation> :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation> :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>AC로 :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation> (&amp;U)</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation> </translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation> </translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation> :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation> :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation> :</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation> </translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Maitinimo valdymas"
Desktop Entry/GenericName: "Maitinimo valdymo nustatymai"
Desktop Entry/Comment: "Įvairūs su maitinimo valdymu susiję nustatymai"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lt">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Baterijos stebėtojo nustatymai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Į&amp;jungti baterijos stebėtoją</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Įspėjimas:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekundžių</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Žemas lygis yra ties:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Naudoti piktogramas apipavidalinimo:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Peržiūra</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Įkraunama</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Išsikrauna</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Esant žemam energijos lygiui:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Rodyti piktogramą:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>įtaisyta</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Lygis: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Į&amp;jungti neveiklumo stebėtoją</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Įjungti foninio apšvietimo pakeitimus</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Esant neveiklumui naudojant bateriją:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Baterijos neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Foninis apšvietimas (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutės:Sekundės</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Esant neveiklumui naudojant el. maitinimą:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>El. maitinimo neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutės:Sekundės (min.: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tikrinti foninį apšvietimą</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Baterijai išsikraunant </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Išjungti neveiklumo patikrinimus, kai rodoma visame ekrane</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Įj&amp;ungti dangčio stebėtoją</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Veiksmas, užveriant dangtį:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Naudojant bateriją:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nieko</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Pristabdyti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Užmigdyti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Išjungti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Naudojant. el. maitinimą:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Naudojant išori&amp; monitorių</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Maitinimo tvarkytuvės nustatymai</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterija</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Dangtis</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Neveiklumas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Maitinimo klavišai</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Forma</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Apdoroti maitinimo klavišus</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Maitinimo klavišo veiksmas:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Pristabdymo klavišo veiksmas:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Užmigdymo klavišo veiksmas:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nieko</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Klausti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Užrakinti ekraną</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Pristabdyti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Užmigdyti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Išjungti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Išjungti monitorių(-ius)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Strømstyring"
Desktop Entry/GenericName: "Strømstyringsinnstillinger"
Desktop Entry/Comment: "Forskjellige innstillinger for strømstyring, som f.eks, batteri- eller lediggangsoppsyn"

Some files were not shown because too many files have changed in this diff Show More