aboutsummaryrefslogtreecommitdiffstats
path: root/FindRagel.cmake
blob: a058b7fb1936f433988aa9d834f213117a88968d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# - Find Ragel executable and provides macros to generate custom build rules
# The module defines the following variables:
#
#  RAGEL_EXECUTABLE - path to the ragel program
#  RAGEL_VERSION - version of ragel
#  RAGEL_FOUND - true if the program was found
#
# If ragel is found, the module defines the macros:
#
#  RAGEL_TARGET(<Name> INPUTS <inputs> OUTPUT <output>
#              [COMPILE_FLAGS <string>] [DEPENDS <depends>])
#
# which will create  a custom rule to generate a state machine. <RagelInp> is
# the path to a Ragel file. <CodeOutput> is the name of the source file
# generated by ragel. If  COMPILE_FLAGS option is specified, the next
# parameter is  added in the ragel  command line.
#
# The macro defines a set of variables:
#  RAGEL_${Name}_DEFINED       - true is the macro ran successfully
#  RAGEL_${Name}_INPUT         - The input source file, an alias for <RagelInp>
#  RAGEL_${Name}_OUTPUT_SOURCE - The source file generated by ragel
#  RAGEL_${Name}_OUTPUT_HEADER - The header file generated by ragel
#  RAGEL_${Name}_OUTPUTS       - The sources files generated by ragel
#  RAGEL_${Name}_COMPILE_FLAGS - Options used in the ragel command line
#
#  ====================================================================
#  Example:
#
#   find_package(RAGEL) # or e.g.: find_package(RAGEL 6.6 REQUIRED)
#   RAGEL_TARGET(MyMachine machine.rl ${CMAKE_CURRENT_BINARY_DIR}/machine.cc)
#   add_executable(Foo main.cc ${RAGEL_MyMachine_OUTPUTS})
#  ====================================================================

# 2014-02-09, Georg Sauthoff <mail@georg.so>
#
# I don't think that these few lines are even copyrightable material,
# but I am fine with using the BSD/MIT/GPL license on it ...
#
# I've used following references:
# http://www.cmake.org/cmake/help/v2.8.12/cmake.html
# /usr/share/cmake/Modules/FindFLEX.cmake
# /usr/share/cmake/Modules/FindBISON.cmake

# uses some features which are not available in 2.6
cmake_minimum_required(VERSION 2.8)

find_program(RAGEL_EXECUTABLE NAMES ragel DOC "path to the ragel executable")
mark_as_advanced(RAGEL_EXECUTABLE)

if(RAGEL_EXECUTABLE)

  execute_process(COMMAND ${RAGEL_EXECUTABLE} --version
    OUTPUT_VARIABLE RAGEL_version_output
    ERROR_VARIABLE  RAGEL_version_error
    RESULT_VARIABLE RAGEL_version_result
    OUTPUT_STRIP_TRAILING_WHITESPACE)

  if(${RAGEL_version_result} EQUAL 0)
    string(REGEX REPLACE "^Ragel State Machine Compiler version ([^ ]+) .*$"
                         "\\1"
                         RAGEL_VERSION "${RAGEL_version_output}")
  else()
    message(SEND_ERROR
            "Command \"${RAGEL_EXECUTABLE} --version\" failed with output:
${RAGEL_version_error}")
  endif()

  #============================================================
  # RAGEL_TARGET (public macro)
  #============================================================
  #
  macro(RAGEL_TARGET Name)
    CMAKE_PARSE_ARGUMENTS(RAGEL "" "OUTPUT"
		"INPUTS;DEPENDS;COMPILE_FLAGS" ${ARGN})
    add_custom_command(OUTPUT ${RAGEL_OUTPUT}
      COMMAND ${RAGEL_EXECUTABLE}
      ARGS    ${RAGEL_COMPILE_FLAGS} -o${RAGEL_OUTPUT} ${RAGEL_INPUTS}
      DEPENDS ${RAGEL_INPUTS} ${RAGEL_DEPENDS}
      COMMENT
          "[RAGEL][${Name}] Compiling state machine with Ragel ${RAGEL_VERSION}"
      WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

    set(RAGEL_${Name}_DEFINED       TRUE)
    set(RAGEL_${Name}_OUTPUTS       ${RAGEL_OUTPUT})
    set(RAGEL_${Name}_INPUT         ${RAGEL_INPUTS})
    set(RAGEL_${Name}_COMPILE_FLAGS ${RAGEL_COMPILE_FLAGS})
  endmacro()

endif()

# use this include when module file is located under /usr/share/cmake/Modules
#include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
# use this include when module file is located in build tree
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(RAGEL REQUIRED_VARS  RAGEL_EXECUTABLE
                                        VERSION_VAR    RAGEL_VERSION)
stable30 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/settings/l10n/sk_SK.php
blob: 8309c0f12c71ab424246b9c115c7bf622d1278c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php $TRANSLATIONS = array(
"Unable to load list from App Store" => "Nie je možné nahrať zoznam z App Store",
"Group already exists" => "Skupina už existuje",
"Unable to add group" => "Nie je možné pridať skupinu",
"Could not enable app. " => "Nie je možné zapnúť aplikáciu.",
"Email saved" => "Email uložený",
"Invalid email" => "Neplatný email",
"OpenID Changed" => "OpenID zmenené",
"Invalid request" => "Neplatná požiadavka",
"Unable to delete group" => "Nie je možné odstrániť skupinu",
"Authentication error" => "Chyba pri autentifikácii",
"Unable to delete user" => "Nie je možné odstrániť používateľa",
"Language changed" => "Jazyk zmenený",
"Unable to add user to group %s" => "Nie je možné pridať užívateľa do skupiny %s",
"Unable to remove user from group %s" => "Nie je možné odstrániť používateľa zo skupiny %s",
"Disable" => "Zakázať",
"Enable" => "Povoliť",
"Saving..." => "Ukladám...",
"__language_name__" => "Slovensky",
"Security Warning" => "Bezpečnostné varovanie",
"Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root." => "Váš priečinok s dátami a vaše súbory sú pravdepodobne dostupné z internetu. .htaccess súbor dodávaný s inštaláciou ownCloud nespĺňa úlohu. Dôrazne vám doporučujeme nakonfigurovať webserver takým spôsobom, aby dáta v priečinku neboli verejné, alebo presuňte dáta mimo štruktúry priečinkov webservera.",
"Cron" => "Cron",
"Execute one task with each page loaded" => "Vykonať jednu úlohu každým nahraním stránky",
"cron.php is registered at a webcron service. Call the cron.php page in the owncloud root once a minute over http." => "cron.php je zaregistrovaný v službe webcron. Tá zavolá stránku cron.php v koreňovom adresári owncloud každú minútu cez http.",
"Use systems cron service. Call the cron.php file in the owncloud folder via a system cronjob once a minute." => "Používať systémovú službu cron. Každú minútu bude spustený súbor cron.php v priečinku owncloud pomocou systémového programu cronjob.",
"Sharing" => "Zdieľanie",
"Enable Share API" => "Zapnúť API zdieľania",
"Allow apps to use the Share API" => "Povoliť aplikáciam používať API pre zdieľanie",
"Allow links" => "Povoliť odkazy",
"Allow users to share items to the public with links" => "Povoliť používateľom zdieľať obsah pomocou verejných odkazov",
"Allow resharing" => "Povoliť opakované zdieľanie",
"Allow users to share items shared with them again" => "Povoliť zdieľanie zdielaného obsahu iného užívateľa",
"Allow users to share with anyone" => "Povoliť používateľom zdieľať s každým",
"Allow users to only share with users in their groups" => "Povoliť používateľom zdieľanie iba s používateľmi ich vlastnej skupiny",
"Log" => "Záznam",
"More" => "Viac",
"Developed by the <a href=\"http://ownCloud.org/contact\" target=\"_blank\">ownCloud community</a>, the <a href=\"https://github.com/owncloud\" target=\"_blank\">source code</a> is licensed under the <a href=\"http://www.gnu.org/licenses/agpl-3.0.html\" target=\"_blank\"><abbr title=\"Affero General Public License\">AGPL</abbr></a>." => "Vyvinuté <a href=\"http://ownCloud.org/contact\" target=\"_blank\">komunitou ownCloud</a>,<a href=\"https://github.com/owncloud\" target=\"_blank\">zdrojový kód</a> je licencovaný pod <a href=\"http://www.gnu.org/licenses/agpl-3.0.html\" target=\"_blank\"><abbr title=\"Affero General Public License\">AGPL</abbr></a>.",
"Add your App" => "Pridať vašu aplikáciu",
"More Apps" => "Viac aplikácií",
"Select an App" => "Vyberte aplikáciu",
"See application page at apps.owncloud.com" => "Pozrite si stránku aplikácií na apps.owncloud.com",
"<span class=\"licence\"></span>-licensed by <span class=\"author\"></span>" => "<span class=\"licence\"></span>-licencované <span class=\"author\"></span>",
"Documentation" => "Dokumentácia",
"Managing Big Files" => "Správa veľkých súborov",
"Ask a question" => "Opýtať sa otázku",
"Problems connecting to help database." => "Problémy s pripojením na databázu pomocníka.",
"Go there manually." => "Prejsť tam ručne.",
"Answer" => "Odpoveď",
"You have used <strong>%s</strong> of the available <strong>%s<strong>" => "Použili ste <strong>%s</strong> dostupného <strong>%s<strong>",
"Desktop and Mobile Syncing Clients" => "Klienti pre synchronizáciu",
"Download" => "Stiahnúť",
"Your password was changed" => "Heslo bolo zmenené",
"Unable to change your password" => "Nie je možné zmeniť vaše heslo",
"Current password" => "Aktuálne heslo",
"New password" => "Nové heslo",
"show" => "zobraziť",
"Change password" => "Zmeniť heslo",
"Email" => "Email",
"Your email address" => "Vaša emailová adresa",
"Fill in an email address to enable password recovery" => "Vyplňte emailovú adresu pre aktivovanie obnovy hesla",
"Language" => "Jazyk",
"Help translate" => "Pomôcť s prekladom",
"use this address to connect to your ownCloud in your file manager" => "použite túto adresu pre spojenie s vaším ownCloud v správcovi súborov",
"Name" => "Meno",
"Password" => "Heslo",
"Groups" => "Skupiny",
"Create" => "Vytvoriť",
"Default Quota" => "Predvolená kvóta",
"Other" => "Iné",
"Group Admin" => "Správca skupiny",
"Quota" => "Kvóta",
"Delete" => "Odstrániť"
);